diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..6e32ade9a --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,34 @@ +* @temporalio/sdk + +# SDK & Nexus own the README, pyproject.toml, and uv.lock +/README.md @temporalio/sdk @temporalio/nexus +/pyproject.toml @temporalio/sdk @temporalio/nexus +/uv.lock @temporalio/sdk @temporalio/nexus + +# The Nexus team owns any folder whose name starts or ends with "nexus", +# both at the repo root and under tests/ +/nexus*/ @temporalio/nexus +/*nexus/ @temporalio/nexus +/tests/nexus*/ @temporalio/nexus +/tests/*nexus/ @temporalio/nexus + +# The AI SDK team owns the AI integration samples and their tests. We add +# @temporalio/sdk too, so the SDK team can continue to manage repo-wide concerns. +/deepagents_plugin/ @temporalio/sdk @temporalio/ai-sdk +/google_adk_agents/ @temporalio/sdk @temporalio/ai-sdk +/google_genai/ @temporalio/sdk @temporalio/ai-sdk +/langfuse_tracing/ @temporalio/sdk @temporalio/ai-sdk +/langgraph_plugin/ @temporalio/sdk @temporalio/ai-sdk +/langsmith_tracing/ @temporalio/sdk @temporalio/ai-sdk +/litellm_activity/ @temporalio/sdk @temporalio/ai-sdk +/openai_agents/ @temporalio/sdk @temporalio/ai-sdk +/strands_plugin/ @temporalio/sdk @temporalio/ai-sdk +/tests/deepagents_plugin/ @temporalio/sdk @temporalio/ai-sdk +/tests/google_adk_agents/ @temporalio/sdk @temporalio/ai-sdk +/tests/google_genai/ @temporalio/sdk @temporalio/ai-sdk +/tests/langfuse_tracing/ @temporalio/sdk @temporalio/ai-sdk +/tests/langgraph_plugin/ @temporalio/sdk @temporalio/ai-sdk +/tests/langsmith_tracing/ @temporalio/sdk @temporalio/ai-sdk +/tests/litellm_activity/ @temporalio/sdk @temporalio/ai-sdk +/tests/openai_agents/ @temporalio/sdk @temporalio/ai-sdk +/tests/strands_plugin/ @temporalio/sdk @temporalio/ai-sdk diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff07e2afa..e85fbe40d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,7 @@ name: Continuous Integration +permissions: + contents: read + actions: write on: # rebuild any PRs and main branch changes pull_request: push: @@ -12,31 +15,58 @@ jobs: strategy: fail-fast: true matrix: - python: ["3.8", "3.12"] - os: [ubuntu-latest, macos-latest, windows-latest] - runs-on: ${{ matrix.os }} + python: ["3.10", "3.14"] + os: [ubuntu-latest, macos-intel, macos-arm, windows-latest] + include: + - os: macos-intel + runsOn: macos-15-intel + - os: macos-arm + runsOn: macos-latest + runs-on: ${{ matrix.runsOn || matrix.os }} steps: + - uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8 - name: Print build information run: "echo head_ref: ${{ github.head_ref }}, ref: ${{ github.ref }}, os: ${{ matrix.os }}, python: ${{ matrix.python }}" - - uses: actions/checkout@v2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: submodules: recursive - - uses: actions/setup-python@v1 + - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 with: python-version: ${{ matrix.python }} - # Using fixed Poetry version until - # https://github.com/python-poetry/poetry/pull/7694 is fixed - - run: python -m pip install --upgrade wheel "poetry==1.4.0" poethepoet - - run: poetry install --with pydantic --with dsl + # protoc is needed whenever uv builds temporalio from a git source + # (e.g. when [tool.uv.sources] pins a branch while a feature is in + # development). Kept on by default so we don't have to add and remove + # this step every time we iterate on a new plugin. + - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3 + with: + version: "23.x" + repo-token: ${{ secrets.GITHUB_TOKEN }} + - run: uv tool install poethepoet + - run: uv sync --group=dsl --group=encryption --group=trio-async - run: poe lint - - run: poe test -s -o log_cli_level=DEBUG - - run: poe test -s -o log_cli_level=DEBUG --workflow-environment time-skipping + - run: mkdir junit-xml + - run: poe test -s --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml + - run: poe test -s --workflow-environment time-skipping --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}--time-skipping.xml + # This must remain the last step since it downgrades pydantic + - name: Uninstall pydantic + shell: bash + run: | + echo y | uv run pip uninstall pydantic + echo y | uv run pip uninstall pydantic-core + uv run pip install pydantic==1.10 + poe test -s --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}--pydantic-v1.xml tests/pydantic_converter_v1/workflow_test.py # On latest, run gevent test - name: Gevent test if: ${{ matrix.python == '3.12' }} run: | - poetry install --with gevent - poetry run python gevent_async/test/run_combined.py - + uv sync --group gevent + uv run gevent_async/test/run_combined.py + - name: Upload junit-xml artifacts + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 + if: always() + with: + name: junit-xml--${{github.run_id}}--${{github.run_attempt}}--${{ matrix.python }}--${{ matrix.os }} + path: junit-xml + retention-days: 14 diff --git a/.gitignore b/.gitignore index 033df5fb6..6f9d58c21 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,11 @@ .venv +.idea __pycache__ +.vscode +.DS_Store +.claude +.mypy_cache/ +**/client.key +**/client.pem +*.egg-info/ +.env diff --git a/README.md b/README.md index df72efc7b..164263995 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,28 @@ # Temporal Python SDK Samples -This is the set of Python samples for the [Python SDK](https://github.com/temporalio/sdk-python). +This is a collection of samples showing how to use the [Python SDK](https://github.com/temporalio/sdk-python). ## Usage Prerequisites: -* Python >= 3.8 -* [Poetry](https://python-poetry.org) -* [Local Temporal server running](https://docs.temporal.io/application-development/foundations#run-a-development-cluster) +* [uv](https://docs.astral.sh/uv/) +* [Temporal CLI](https://docs.temporal.io/cli) with a local dev server running: + ``` + temporal server start-dev + ``` + +The SDK requires Python >= 3.10. You can install Python using uv. For example, + + uv python install 3.13 With this repository cloned, run the following at the root of the directory: - poetry install + uv sync -That loads all required dependencies. Then to run a sample, usually you just run it in Python. For example: +That loads all required dependencies. Then to run a sample, usually you just run it under uv. For example: - poetry run python hello/hello_activity.py + uv run hello/hello_activity.py Some examples require extra dependencies. See each sample's directory for specific instructions. @@ -37,6 +43,7 @@ Some examples require extra dependencies. See each sample's directory for specif * [hello_async_activity_completion](hello/hello_async_activity_completion.py) - Complete an activity outside of the function that was called. * [hello_cancellation](hello/hello_cancellation.py) - Manually react to cancellation inside workflows and activities. + * [hello_change_log_level](hello/hello_change_log_level.py) - Change the level of workflow task failure from WARN to ERROR. * [hello_child_workflow](hello/hello_child_workflow.py) - Execute a child workflow from a workflow. * [hello_continue_as_new](hello/hello_continue_as_new.py) - Use continue as new to restart a workflow. * [hello_cron](hello/hello_cron.py) - Execute a workflow once a minute. @@ -50,30 +57,66 @@ Some examples require extra dependencies. See each sample's directory for specif * [hello_search_attributes](hello/hello_search_attributes.py) - Start workflow with search attributes then change while running. * [hello_signal](hello/hello_signal.py) - Send signals to a workflow. + * [hello update](hello/hello_update.py) - Send a request to and a response from a client to a workflow execution. * [activity_worker](activity_worker) - Use Python activities from a workflow in another language. +* [batch_sliding_window](batch_sliding_window) - Batch processing with a sliding window of child workflows. +* [bedrock](bedrock) - Orchestrate a chatbot with Amazon Bedrock. +* [cloud_export_to_parquet](cloud_export_to_parquet) - Set up schedule workflow to process exported files on an hourly basis +* [context_propagation](context_propagation) - Context propagation through workflows/activities via interceptor. * [custom_converter](custom_converter) - Use a custom payload converter to handle custom types. * [custom_decorator](custom_decorator) - Custom decorator to auto-heartbeat a long-running activity. +* [custom_metric](custom_metric) - Custom metric to record the workflow type in the activity schedule to start latency. +* [deepagents_plugin](deepagents_plugin) - Make LangChain Deep Agents durable: each LLM/tool/backend call becomes a Temporal Activity while the agent loop replays in the Workflow. * [dsl](dsl) - DSL workflow that executes steps defined in a YAML file. +* [eager_wf_start](eager_wf_start) - Run a workflow using Eager Workflow Start * [encryption](encryption) - Apply end-to-end encryption for all input/output. +* [env_config](env_config) - Load client configuration from TOML files with programmatic overrides. +* [external_storage](external_storage) - Offload large payloads to S3-compatible object storage, plus a codec server for the Web UI and CLI. +* [external_storage_redis](external_storage_redis) - Redis driver for external storage * [gevent_async](gevent_async) - Combine gevent and Temporal. +* [google_adk_agents](google_adk_agents) - Run Google ADK agents as durable Temporal workflows (model calls, tools, multi-agent, MCP, streaming). +* [google_genai](google_genai) - Run the Google Gemini SDK inside durable Temporal workflows. +* [hello_nexus](hello_nexus) - Define a Nexus service, implement operation handlers, and call them from a workflow. +* [hello_standalone_nexus](hello_standalone_nexus) - Use Nexus Operations without using a workflow. +* [hello_standalone_activity](hello_standalone_activity) - Use activities without using a workflow. +* [lambda_worker](lambda_worker) - Run a Temporal Worker inside an AWS Lambda function. +* [langfuse_tracing](langfuse_tracing) - Trace Temporal workflows in Langfuse with the OpenTelemetry plugin and OTLP export. +* [langgraph_plugin](langgraph_plugin) - Run LangGraph workflows as durable Temporal workflows (Graph API and Functional API). +* [langsmith_tracing](langsmith_tracing) - Trace Temporal workflows with LangSmith via the LangSmith plugin. +* [litellm_activity](litellm_activity) - Call LLM providers through LiteLLM from a Temporal Activity. +* [message_passing/introduction](message_passing/introduction/) - Introduction to queries, signals, and updates. +* [message_passing/safe_message_handlers](message_passing/safe_message_handlers/) - Safely handling updates and signals. +* [message_passing/update_with_start/lazy_initialization](message_passing/update_with_start/lazy_initialization/) - Use update-with-start to update a Shopping Cart, starting it if it does not exist. +* [nexus_cancel](nexus_cancel) - Fan out concurrent Nexus operations, take the first result, and cancel the rest. +* [Nexus Messaging](nexus_messaging): Demonstrates how send signal, update and query messages through Nexus. + This contains two samples, one sending messages to an existing workflow and a second that creates a workflow through Nexus + and sends messages to it. +* [nexus_multiple_args](nexus_multiple_args) - Map a Nexus operation to a handler workflow that takes multiple arguments. +* [nexus_standalone_operations](nexus_standalone_operations) - Execute Nexus operations directly from client code, +without wrapping them in a workflow. * [open_telemetry](open_telemetry) - Trace workflows with OpenTelemetry. +* [openai_agents](openai_agents) - Run OpenAI Agents SDK agents as durable Temporal workflows. * [patching](patching) - Alter workflows safely with `patch` and `deprecate_patch`. * [polling](polling) - Recommended implementation of an activity that needs to periodically poll an external resource waiting its successful completion. * [prometheus](prometheus) - Configure Prometheus metrics on clients/workers. * [pydantic_converter](pydantic_converter) - Data converter for using Pydantic models. +* [pydantic_converter_v1](pydantic_converter_v1) - Data converter for Pydantic v1 models (prefer pydantic_converter for v2). +* [replay](replay) - Verify that workflow code changes are compatible with existing histories. +* [resource_pool](resource_pool) - Allocate a pool of shared resources across workflows. * [schedules](schedules) - Demonstrates a Workflow Execution that occurs according to a schedule. * [sentry](sentry) - Report errors to Sentry. +* [sleep_for_days](sleep_for_days) - A workflow that runs forever, sending an email every 30 days. +* [strands_plugin](strands_plugin) - Run Strands Agents as durable Temporal workflows (model calls, tools, MCP, HITL). +* [trio_async](trio_async) - Use asyncio Temporal in Trio-based environments. +* [updatable_timer](updatable_timer) - A timer that can be updated while sleeping. +* [worker_multiprocessing](worker_multiprocessing) - Leverage Python multiprocessing to parallelize workflow tasks and other CPU bound operations by running multiple workers. * [worker_specific_task_queues](worker_specific_task_queues) - Use unique task queues to ensure activities run on specific workers. * [worker_versioning](worker_versioning) - Use the Worker Versioning feature to more easily version your workflows & other code. - +* [workflow_streams](workflow_streams) - Workflow-hosted durable event stream via `temporalio.contrib.workflow_streams`. **Experimental** ## Test -Running the tests requires `poe` to be installed. - - python -m pip install poethepoet - -Once you have `poe` installed you can run: +To run the tests: - poe test + uv run poe test diff --git a/activity_worker/README.md b/activity_worker/README.md index 8b8212819..068d7e990 100644 --- a/activity_worker/README.md +++ b/activity_worker/README.md @@ -6,8 +6,8 @@ First run the Go workflow worker by running this in the `go_workflow` directory go run . -Then in another terminal, run the sample from this directory: +Then in another terminal, run the sample from the root directory: - poetry run python activity_worker.py + uv run activity_worker/activity_worker.py The Python code will invoke the Go workflow which will execute the Python activity and return. \ No newline at end of file diff --git a/activity_worker/activity_worker.py b/activity_worker/activity_worker.py index 3e613169a..986b0ae94 100644 --- a/activity_worker/activity_worker.py +++ b/activity_worker/activity_worker.py @@ -4,6 +4,7 @@ from temporalio import activity from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker task_queue = "say-hello-task-queue" @@ -18,7 +19,9 @@ async def say_hello_activity(name: str) -> str: async def main(): # Create client to localhost on default namespace - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run activity worker async with Worker(client, task_queue=task_queue, activities=[say_hello_activity]): diff --git a/batch_sliding_window/README.md b/batch_sliding_window/README.md new file mode 100644 index 000000000..8d573ca33 --- /dev/null +++ b/batch_sliding_window/README.md @@ -0,0 +1,21 @@ +# Batch Sliding Window + +This sample demonstrates a batch processing workflow that maintains a sliding window of record processing workflows. + +A `SlidingWindowWorkflow` starts a configured number (sliding window size) of `RecordProcessorWorkflow` children in parallel. Each child processes a single record. When a child completes, a new child is started. + +The `SlidingWindowWorkflow` calls continue-as-new after starting a preconfigured number of children to keep its history size bounded. A `RecordProcessorWorkflow` reports its completion through a signal to its parent, which allows notification of a parent that called continue-as-new. + +A single instance of `SlidingWindowWorkflow` has limited window size and throughput. To support larger window size and overall throughput, multiple instances of `SlidingWindowWorkflow` run in parallel. + +### Running This Sample + +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from root directory to start the worker: + + uv run batch_sliding_window/worker.py + +This will start the worker. Then, in another terminal, run the following to execute the workflow: + + uv run batch_sliding_window/starter.py + +The workflow will process 90 records using a sliding window of 10 parallel workers across 3 partitions, with a page size of 5 records per continue-as-new iteration. diff --git a/batch_sliding_window/__init__.py b/batch_sliding_window/__init__.py new file mode 100644 index 000000000..959ab031e --- /dev/null +++ b/batch_sliding_window/__init__.py @@ -0,0 +1,40 @@ +"""Sliding Window Batch Processing Sample. + +This sample demonstrates a batch processing workflow that maintains a sliding window +of record processing workflows. It includes: + +- ProcessBatchWorkflow: Main workflow that partitions work across multiple sliding windows +- SlidingWindowWorkflow: Implements the sliding window pattern with continue-as-new +- RecordProcessorWorkflow: Processes individual records +- RecordLoader: Activity for loading records from external sources +""" + +from batch_sliding_window.batch_workflow import ( + ProcessBatchWorkflow, + ProcessBatchWorkflowInput, +) +from batch_sliding_window.record_loader_activity import ( + GetRecordsInput, + GetRecordsOutput, + RecordLoader, + SingleRecord, +) +from batch_sliding_window.record_processor_workflow import RecordProcessorWorkflow +from batch_sliding_window.sliding_window_workflow import ( + SlidingWindowState, + SlidingWindowWorkflow, + SlidingWindowWorkflowInput, +) + +__all__ = [ + "ProcessBatchWorkflow", + "ProcessBatchWorkflowInput", + "SlidingWindowWorkflow", + "SlidingWindowWorkflowInput", + "SlidingWindowState", + "RecordProcessorWorkflow", + "RecordLoader", + "GetRecordsInput", + "GetRecordsOutput", + "SingleRecord", +] diff --git a/batch_sliding_window/batch_workflow.py b/batch_sliding_window/batch_workflow.py new file mode 100644 index 000000000..a8d1d4882 --- /dev/null +++ b/batch_sliding_window/batch_workflow.py @@ -0,0 +1,110 @@ +import asyncio +from dataclasses import dataclass +from datetime import timedelta +from typing import List + +from temporalio import workflow +from temporalio.common import WorkflowIDReusePolicy +from temporalio.exceptions import ApplicationError + +from batch_sliding_window.record_loader_activity import RecordLoader +from batch_sliding_window.sliding_window_workflow import ( + SlidingWindowWorkflow, + SlidingWindowWorkflowInput, +) + + +@dataclass +class ProcessBatchWorkflowInput: + """Input for the ProcessBatchWorkflow. + + A single input structure is preferred to multiple workflow arguments + to simplify backward compatible API changes. + """ + + page_size: int # Number of children started by a single sliding window workflow run + sliding_window_size: int # Maximum number of children to run in parallel + partitions: int # How many sliding windows to run in parallel + + +@workflow.defn +class ProcessBatchWorkflow: + """Sample workflow that partitions the data set into continuous ranges. + + A real application can choose any other way to divide the records + into multiple collections. + """ + + @workflow.run + async def run(self, input: ProcessBatchWorkflowInput) -> int: + # Get total record count + record_count: int = await workflow.execute_activity_method( + RecordLoader.get_record_count, + start_to_close_timeout=timedelta(seconds=5), + ) + + if input.sliding_window_size < input.partitions: + raise ApplicationError( + "SlidingWindowSize cannot be less than number of partitions" + ) + + partitions = self._divide_into_partitions(record_count, input.partitions) + window_sizes = self._divide_into_partitions( + input.sliding_window_size, input.partitions + ) + + workflow.logger.info( + f"ProcessBatchWorkflow started", + extra={ + "input": input, + "record_count": record_count, + "partitions": partitions, + "window_sizes": window_sizes, + }, + ) + + # Start child workflows for each partition + tasks = [] + offset = 0 + + for i in range(input.partitions): + # Make child id more user-friendly + child_id = f"{workflow.info().workflow_id}/{i}" + + # Define partition boundaries + maximum_partition_offset = offset + partitions[i] + if maximum_partition_offset > record_count: + maximum_partition_offset = record_count + + child_input = SlidingWindowWorkflowInput( + page_size=input.page_size, + sliding_window_size=window_sizes[i], + offset=offset, # inclusive + maximum_offset=maximum_partition_offset, # exclusive + progress=0, + current_records=None, + ) + + task = workflow.execute_child_workflow( + SlidingWindowWorkflow.run, + child_input, + id=child_id, + id_reuse_policy=WorkflowIDReusePolicy.ALLOW_DUPLICATE, + ) + tasks.append(task) + offset += partitions[i] + + # Wait for all child workflows to complete + results = await asyncio.gather(*tasks) + return sum(results) + + def _divide_into_partitions(self, number: int, n: int) -> List[int]: + """Divide a number into n partitions as evenly as possible.""" + base = number // n + remainder = number % n + partitions = [base] * n + + for i in range(remainder): + partitions[i] += 1 + + return partitions diff --git a/batch_sliding_window/record_loader_activity.py b/batch_sliding_window/record_loader_activity.py new file mode 100644 index 000000000..26ae14b1e --- /dev/null +++ b/batch_sliding_window/record_loader_activity.py @@ -0,0 +1,59 @@ +from dataclasses import dataclass +from typing import List + +from temporalio import activity + + +@dataclass +class GetRecordsInput: + """Input for the GetRecords activity.""" + + page_size: int + offset: int + max_offset: int + + +@dataclass +class SingleRecord: + """Represents a single record to be processed.""" + + id: int + + +@dataclass +class GetRecordsOutput: + """Output from the GetRecords activity.""" + + records: List[SingleRecord] + + +class RecordLoader: + """Activities for loading records from an external data source.""" + + def __init__(self, record_count: int): + self.record_count = record_count + + @activity.defn + async def get_record_count(self) -> int: + """Get the total record count. + + Used to partition processing across parallel sliding windows. + The sample implementation just returns a fake value passed during worker initialization. + """ + return self.record_count + + @activity.defn + async def get_records(self, input: GetRecordsInput) -> GetRecordsOutput: + """Get records loaded from an external data source. + + The sample returns fake records. + """ + if input.max_offset > self.record_count: + raise ValueError( + f"max_offset({input.max_offset}) > record_count({self.record_count})" + ) + + limit = min(input.offset + input.page_size, input.max_offset) + records = [SingleRecord(id=i) for i in range(input.offset, limit)] + + return GetRecordsOutput(records=records) diff --git a/batch_sliding_window/record_processor_workflow.py b/batch_sliding_window/record_processor_workflow.py new file mode 100644 index 000000000..8921a808d --- /dev/null +++ b/batch_sliding_window/record_processor_workflow.py @@ -0,0 +1,33 @@ +import asyncio +import random + +from temporalio import workflow + +from batch_sliding_window.record_loader_activity import SingleRecord + + +@workflow.defn +class RecordProcessorWorkflow: + """Workflow that implements processing of a single record.""" + + @workflow.run + async def run(self, record: SingleRecord) -> None: + await self._process_record(record) + + # Notify parent about completion via signal + parent = workflow.info().parent + + # This workflow is always expected to have a parent. + # But for unit testing it might be useful to skip the notification if there is none. + if parent: + # Don't specify run_id as parent calls continue-as-new + handle = workflow.get_external_workflow_handle(parent.workflow_id) + await handle.signal("report_completion", record.id) + + async def _process_record(self, record: SingleRecord) -> None: + """Simulate application specific record processing.""" + # Use workflow.random() to get a random number to ensure workflow determinism + sleep_duration = workflow.random().randint(1, 10) + await workflow.sleep(sleep_duration) + + workflow.logger.info(f"Processed record {record}") diff --git a/batch_sliding_window/sliding_window_workflow.py b/batch_sliding_window/sliding_window_workflow.py new file mode 100644 index 000000000..a416fb995 --- /dev/null +++ b/batch_sliding_window/sliding_window_workflow.py @@ -0,0 +1,167 @@ +import asyncio +from dataclasses import dataclass +from datetime import timedelta +from typing import Dict, List, Optional, Set + +from temporalio import workflow +from temporalio.common import WorkflowIDReusePolicy + +from batch_sliding_window.record_loader_activity import ( + GetRecordsInput, + GetRecordsOutput, + RecordLoader, + SingleRecord, +) +from batch_sliding_window.record_processor_workflow import RecordProcessorWorkflow + + +@dataclass +class SlidingWindowWorkflowInput: + """Contains SlidingWindowWorkflow arguments.""" + + page_size: int + sliding_window_size: int + offset: int # inclusive + maximum_offset: int # exclusive + progress: int = 0 + # The set of record ids currently being processed + current_records: Optional[Set[int]] = None + + +@dataclass +class SlidingWindowState: + """Used as a 'state' query result.""" + + current_records: List[int] # record ids currently being processed + children_started_by_this_run: int + offset: int + progress: int + + +@workflow.defn +class SlidingWindowWorkflow: + """Workflow processes a range of records using a requested number of child workflows. + + As soon as a child workflow completes a new one is started. + """ + + def __init__(self): + self.current_records: Set[int] = set() + self.children_started_by_this_run = [] + self.offset = 0 + self.progress = 0 + self._completion_signals_received = 0 + + @workflow.run + async def run(self, input: SlidingWindowWorkflowInput) -> int: + workflow.logger.info( + f"SlidingWindowWorkflow started", + extra={ + "sliding_window_size": input.sliding_window_size, + "page_size": input.page_size, + "offset": input.offset, + "maximum_offset": input.maximum_offset, + "progress": input.progress, + }, + ) + + # Initialize state from input + self.current_records = input.current_records or set() + self.offset = input.offset + self.progress = input.progress + + # Set up query handler + workflow.set_query_handler("state", self._handle_state_query) + + # Set up signal handler for completion notifications + workflow.set_signal_handler("report_completion", self._handle_completion_signal) + + return await self._execute(input) + + async def _execute(self, input: SlidingWindowWorkflowInput) -> int: + """Main execution logic.""" + # Get records for this page if we haven't reached the end + records = [] + if self.offset < input.maximum_offset: + get_records_input = GetRecordsInput( + page_size=input.page_size, + offset=self.offset, + max_offset=input.maximum_offset, + ) + get_records_output: GetRecordsOutput = ( + await workflow.execute_activity_method( + RecordLoader.get_records, + get_records_input, + start_to_close_timeout=timedelta(seconds=5), + ) + ) + records = get_records_output.records + + workflow_id = workflow.info().workflow_id + + # Process records + for record in records: + # Wait until we have capacity in the sliding window + await workflow.wait_condition( + lambda: len(self.current_records) < input.sliding_window_size + ) + + # Start child workflow for this record + child_id = f"{workflow_id}/{record.id}" + self.current_records.add(record.id) + child_handle = await workflow.start_child_workflow( + RecordProcessorWorkflow.run, + record, + id=child_id, + id_reuse_policy=WorkflowIDReusePolicy.ALLOW_DUPLICATE, + parent_close_policy=workflow.ParentClosePolicy.ABANDON, + ) + + self.children_started_by_this_run.append(child_handle) + + return await self._continue_as_new_or_complete(input) + + async def _continue_as_new_or_complete( + self, input: SlidingWindowWorkflowInput + ) -> int: + """Continue-as-new after starting page_size children or complete if done.""" + # Update offset based on children started in this run + new_offset = input.offset + len(self.children_started_by_this_run) + + if new_offset < input.maximum_offset: + # In Python, await start_child_workflow() already waits until + # the start has been accepted by the server, so no additional wait needed + + # Continue-as-new with updated state + new_input = SlidingWindowWorkflowInput( + page_size=input.page_size, + sliding_window_size=input.sliding_window_size, + offset=new_offset, + maximum_offset=input.maximum_offset, + progress=self.progress, + current_records=self.current_records, + ) + + workflow.continue_as_new(new_input) + + # Last run in the continue-as-new chain + # Wait for all children to complete + await workflow.wait_condition(lambda: len(self.current_records) == 0) + return self.progress + + def _handle_completion_signal(self, record_id: int) -> None: + """Handle completion signal from child workflow.""" + # Check for duplicate signals + if record_id in self.current_records: + self.current_records.remove(record_id) + self.progress += 1 + + def _handle_state_query(self) -> SlidingWindowState: + """Handle state query for monitoring.""" + current_record_ids = sorted(list(self.current_records)) + return SlidingWindowState( + current_records=current_record_ids, + children_started_by_this_run=len(self.children_started_by_this_run), + offset=self.offset, + progress=self.progress, + ) diff --git a/batch_sliding_window/starter.py b/batch_sliding_window/starter.py new file mode 100644 index 000000000..7e3b1fb30 --- /dev/null +++ b/batch_sliding_window/starter.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python3 +"""Starter for the batch sliding window sample.""" + +import asyncio +import datetime +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from batch_sliding_window.batch_workflow import ( + ProcessBatchWorkflow, + ProcessBatchWorkflowInput, +) + + +async def main(): + """Start the ProcessBatchWorkflow.""" + # Set up logging + logging.basicConfig(level=logging.INFO) + + # Create client + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Create unique workflow ID with timestamp + timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S") + workflow_id = f"batch_sliding_window_example_{timestamp}" + + # Define workflow input + workflow_input = ProcessBatchWorkflowInput( + page_size=5, + sliding_window_size=10, + partitions=3, + ) + + print(f"Starting workflow with ID: {workflow_id}") + print(f"Input: {workflow_input}") + + # Start workflow + handle = await client.start_workflow( + ProcessBatchWorkflow.run, + workflow_input, + id=workflow_id, + task_queue="batch_sliding_window_task_queue", + ) + + print(f"Workflow started with ID: {handle.id}") + print(f"Waiting for workflow to complete...") + + # Wait for result + try: + result = await handle.result() + print(f"Workflow completed successfully!") + print(f"Total records processed: {result}") + except Exception as e: + print(f"Workflow failed with error: {e}") + raise + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/batch_sliding_window/worker.py b/batch_sliding_window/worker.py new file mode 100644 index 000000000..a72ed96c9 --- /dev/null +++ b/batch_sliding_window/worker.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python3 +"""Worker for the batch sliding window sample.""" + +import asyncio +import logging + +from temporalio import worker +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from batch_sliding_window.batch_workflow import ProcessBatchWorkflow +from batch_sliding_window.record_loader_activity import RecordLoader +from batch_sliding_window.record_processor_workflow import RecordProcessorWorkflow +from batch_sliding_window.sliding_window_workflow import SlidingWindowWorkflow + + +async def main(): + """Run the worker that registers all workflows and activities.""" + # Set up logging + logging.basicConfig(level=logging.INFO) + + # Create client + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Create RecordLoader activity with sample data + record_loader = RecordLoader(record_count=90) + + # Create worker + temporal_worker = worker.Worker( + client, + task_queue="batch_sliding_window_task_queue", + workflows=[ + ProcessBatchWorkflow, + SlidingWindowWorkflow, + RecordProcessorWorkflow, + ], + activities=[ + record_loader.get_record_count, + record_loader.get_records, + ], + ) + + print("Starting worker...") + # Run the worker + await temporal_worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/bedrock/README.md b/bedrock/README.md new file mode 100644 index 000000000..5b294d64e --- /dev/null +++ b/bedrock/README.md @@ -0,0 +1,29 @@ +# AI Chatbot example using Amazon Bedrock + +Demonstrates how Temporal and Amazon Bedrock can be used to quickly build bulletproof AI applications. + +## Samples + +* [basic](basic) - A basic Bedrock workflow to process a single prompt. +* [signals_and_queries](signals_and_queries) - Extension to the basic workflow to allow multiple prompts through signals & queries. +* [entity](entity) - Full multi-Turn chat using an entity workflow.. + +## Pre-requisites + +1. An AWS account with Bedrock enabled. +2. A machine that has access to Bedrock. +3. A local Temporal server running on the same machine, started with the [Temporal CLI](https://docs.temporal.io/cli): + + ``` + temporal server start-dev + ``` + +These examples use Amazon's Python SDK (Boto3). To configure Boto3 to use your AWS credentials, follow the instructions in [the Boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html). + +## Running the samples + +For these sample, the optional `bedrock` dependency group must be included. To include, run: + + uv sync --group bedrock + +There are 3 Bedrock samples, see the README.md in each sub-directory for instructions on running each. \ No newline at end of file diff --git a/bedrock/__init__.py b/bedrock/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/bedrock/basic/README.md b/bedrock/basic/README.md new file mode 100644 index 000000000..4f3f7430e --- /dev/null +++ b/bedrock/basic/README.md @@ -0,0 +1,10 @@ +# Basic Amazon Bedrock workflow + +A basic Bedrock workflow. Starts a workflow with a prompt, generates a response and ends the workflow. + +To run, first see `samples-python` [README.md](../../README.md), and `bedrock` [README.md](../README.md) for prerequisites specific to this sample. Once set up, run the following from the root directory: + +1. Run the worker: `uv run bedrock/basic/run_worker.py` +2. In another terminal run the client with a prompt: + + e.g. `uv run bedrock/basic/send_message.py 'What animals are marsupials?'` \ No newline at end of file diff --git a/bedrock/basic/__init__.py b/bedrock/basic/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/bedrock/basic/run_worker.py b/bedrock/basic/run_worker.py new file mode 100644 index 000000000..085b695c3 --- /dev/null +++ b/bedrock/basic/run_worker.py @@ -0,0 +1,39 @@ +import asyncio +import concurrent.futures +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker +from workflows import BasicBedrockWorkflow + +from bedrock.shared.activities import BedrockActivities + + +async def main(): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + activities = BedrockActivities() + + # Run the worker + with concurrent.futures.ThreadPoolExecutor(max_workers=100) as activity_executor: + worker = Worker( + client, + task_queue="bedrock-task-queue", + workflows=[BasicBedrockWorkflow], + activities=[activities.prompt_bedrock], + activity_executor=activity_executor, + ) + await worker.run() + + +if __name__ == "__main__": + print("Starting worker") + print("Then run 'python send_message.py \"\"'") + + logging.basicConfig(level=logging.INFO) + + asyncio.run(main()) diff --git a/bedrock/basic/send_message.py b/bedrock/basic/send_message.py new file mode 100644 index 000000000..692a4927a --- /dev/null +++ b/bedrock/basic/send_message.py @@ -0,0 +1,32 @@ +import asyncio +import sys + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from workflows import BasicBedrockWorkflow + + +async def main(prompt: str) -> str: + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Start the workflow + workflow_id = "basic-bedrock-workflow" + handle = await client.start_workflow( + BasicBedrockWorkflow.run, + prompt, # Initial prompt + id=workflow_id, + task_queue="bedrock-task-queue", + ) + return await handle.result() + + +if __name__ == "__main__": + if len(sys.argv) != 2: + print("Usage: python send_message.py ''") + print("Example: python send_message.py 'What animals are marsupials?'") + else: + result = asyncio.run(main(sys.argv[1])) + print(result) diff --git a/bedrock/basic/workflows.py b/bedrock/basic/workflows.py new file mode 100644 index 000000000..0ebf02160 --- /dev/null +++ b/bedrock/basic/workflows.py @@ -0,0 +1,23 @@ +from datetime import timedelta + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from bedrock.shared.activities import BedrockActivities + + +@workflow.defn +class BasicBedrockWorkflow: + @workflow.run + async def run(self, prompt: str) -> str: + workflow.logger.info("Prompt: %s" % prompt) + + response = await workflow.execute_activity_method( + BedrockActivities.prompt_bedrock, + prompt, + schedule_to_close_timeout=timedelta(seconds=20), + ) + + workflow.logger.info("Response: %s" % response) + + return response diff --git a/bedrock/entity/README.md b/bedrock/entity/README.md new file mode 100644 index 000000000..3f8e90dab --- /dev/null +++ b/bedrock/entity/README.md @@ -0,0 +1,19 @@ +# Multi-turn chat with Amazon Bedrock Entity Workflow + +Multi-Turn Chat using an Entity Workflow. The workflow runs forever unless explicitly ended. The workflow continues as new after a configurable number of chat turns to keep the prompt size small and the Temporal event history small. Each continued-as-new workflow receives a summary of the conversation history so far for context. + +To run, first see `samples-python` [README.md](../../README.md), and `bedrock` [README.md](../README.md) for prerequisites specific to this sample. Once set up, run the following from the root directory: + +1. Run the worker: `uv run bedrock/entity/run_worker.py` +2. In another terminal run the client with a prompt. + + Example: `uv run bedrock/entity/send_message.py 'What animals are marsupials?'` + +3. View the worker's output for the response. +4. Give followup prompts by signaling the workflow. + + Example: `uv run bedrock/entity/send_message.py 'Do they lay eggs?'` +5. Get the conversation history summary by querying the workflow. + + Example: `uv run bedrock/entity/get_history.py` +6. To end the chat session, run `uv run bedrock/entity/end_chat.py` diff --git a/bedrock/entity/__init__.py b/bedrock/entity/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/bedrock/entity/end_chat.py b/bedrock/entity/end_chat.py new file mode 100644 index 000000000..199842028 --- /dev/null +++ b/bedrock/entity/end_chat.py @@ -0,0 +1,25 @@ +import asyncio +import sys + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from workflows import EntityBedrockWorkflow + + +async def main(): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + workflow_id = "entity-bedrock-workflow" + + handle = client.get_workflow_handle_for(EntityBedrockWorkflow.run, workflow_id) + + # Sends a signal to the workflow + await handle.signal(EntityBedrockWorkflow.end_chat) + + +if __name__ == "__main__": + print("Sending signal to end chat.") + asyncio.run(main()) diff --git a/bedrock/entity/get_history.py b/bedrock/entity/get_history.py new file mode 100644 index 000000000..ffcfa31e4 --- /dev/null +++ b/bedrock/entity/get_history.py @@ -0,0 +1,35 @@ +import asyncio + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from workflows import EntityBedrockWorkflow + + +async def main(): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + workflow_id = "entity-bedrock-workflow" + + handle = client.get_workflow_handle(workflow_id) + + # Queries the workflow for the conversation history + history = await handle.query(EntityBedrockWorkflow.get_conversation_history) + + print("Conversation History") + print( + *(f"{speaker.title()}: {message}\n" for speaker, message in history), sep="\n" + ) + + # Queries the workflow for the conversation summary + summary = await handle.query(EntityBedrockWorkflow.get_summary_from_history) + + if summary is not None: + print("Conversation Summary:") + print(summary) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/bedrock/entity/run_worker.py b/bedrock/entity/run_worker.py new file mode 100644 index 000000000..ecc76c52f --- /dev/null +++ b/bedrock/entity/run_worker.py @@ -0,0 +1,39 @@ +import asyncio +import concurrent.futures +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker +from workflows import EntityBedrockWorkflow + +from bedrock.shared.activities import BedrockActivities + + +async def main(): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + activities = BedrockActivities() + + # Run the worker + with concurrent.futures.ThreadPoolExecutor(max_workers=100) as activity_executor: + worker = Worker( + client, + task_queue="bedrock-task-queue", + workflows=[EntityBedrockWorkflow], + activities=[activities.prompt_bedrock], + activity_executor=activity_executor, + ) + await worker.run() + + +if __name__ == "__main__": + print("Starting worker") + print("Then run 'python send_message.py \"\"'") + + logging.basicConfig(level=logging.INFO) + + asyncio.run(main()) diff --git a/bedrock/entity/send_message.py b/bedrock/entity/send_message.py new file mode 100644 index 000000000..be7897f0f --- /dev/null +++ b/bedrock/entity/send_message.py @@ -0,0 +1,33 @@ +import asyncio +import sys + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from workflows import BedrockParams, EntityBedrockWorkflow + + +async def main(prompt): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + workflow_id = "entity-bedrock-workflow" + + # Sends a signal to the workflow (and starts it if needed) + await client.start_workflow( + EntityBedrockWorkflow.run, + BedrockParams(None, None), + id=workflow_id, + task_queue="bedrock-task-queue", + start_signal="user_prompt", + start_signal_args=[prompt], + ) + + +if __name__ == "__main__": + if len(sys.argv) != 2: + print("Usage: python send_message.py ''") + print("Example: python send_message.py 'What animals are marsupials?'") + else: + asyncio.run(main(sys.argv[1])) diff --git a/bedrock/entity/workflows.py b/bedrock/entity/workflows.py new file mode 100644 index 000000000..710f09160 --- /dev/null +++ b/bedrock/entity/workflows.py @@ -0,0 +1,164 @@ +import asyncio +from collections import deque +from dataclasses import dataclass +from datetime import timedelta +from typing import Deque, List, Optional, Tuple + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from bedrock.shared.activities import BedrockActivities + + +@dataclass +class BedrockParams: + conversation_summary: Optional[str] = None + prompt_queue: Optional[Deque[str]] = None + + +@workflow.defn +class EntityBedrockWorkflow: + def __init__(self) -> None: + # List to store prompt history + self.conversation_history: List[Tuple[str, str]] = [] + self.prompt_queue: Deque[str] = deque() + self.conversation_summary: Optional[str] = None + self.continue_as_new_per_turns: int = 6 + self.chat_ended: bool = False + + @workflow.run + async def run( + self, + params: BedrockParams, + ) -> str: + if params and params.conversation_summary: + self.conversation_history.append( + ("conversation_summary", params.conversation_summary) + ) + + self.conversation_summary = params.conversation_summary + + if params and params.prompt_queue: + self.prompt_queue.extend(params.prompt_queue) + + while True: + workflow.logger.info("Waiting for prompts...") + + # Wait for a chat message (signal) or timeout + await workflow.wait_condition( + lambda: bool(self.prompt_queue) or self.chat_ended + ) + + if self.prompt_queue: + # Fetch next user prompt and add to conversation history + prompt = self.prompt_queue.popleft() + self.conversation_history.append(("user", prompt)) + + workflow.logger.info("Prompt: " + prompt) + + # Send prompt to Amazon Bedrock + response = await workflow.execute_activity_method( + BedrockActivities.prompt_bedrock, + self.prompt_with_history(prompt), + schedule_to_close_timeout=timedelta(seconds=20), + ) + + workflow.logger.info(f"{response}") + + # Append the response to the conversation history + self.conversation_history.append(("response", response)) + + # Continue as new every x conversational turns to avoid event + # history size getting too large. This is also to avoid the + # prompt (with conversational history) getting too large for + # AWS Bedrock. + + # We summarize the chat to date and use that as input to the + # new workflow + if len(self.conversation_history) >= self.continue_as_new_per_turns: + # Summarize the conversation to date using Amazon Bedrock + self.conversation_summary = await workflow.start_activity_method( + BedrockActivities.prompt_bedrock, + self.prompt_summary_from_history(), + schedule_to_close_timeout=timedelta(seconds=20), + ) + + workflow.logger.info( + "Continuing as new due to %i conversational turns." + % self.continue_as_new_per_turns, + ) + + workflow.continue_as_new( + args=[ + BedrockParams( + self.conversation_summary, + self.prompt_queue, + ) + ] + ) + + continue + + # If end chat signal was sent + if self.chat_ended: + # The workflow might be continued as new without any + # chat to summarize, so only call Bedrock if there + # is more than the previous summary in the history. + if len(self.conversation_history) > 1: + # Summarize the conversation to date using Amazon Bedrock + self.conversation_summary = await workflow.start_activity_method( + BedrockActivities.prompt_bedrock, + self.prompt_summary_from_history(), + schedule_to_close_timeout=timedelta(seconds=20), + ) + + workflow.logger.info( + "Chat ended. Conversation summary:\n" + + f"{self.conversation_summary}" + ) + + return f"{self.conversation_history}" + + @workflow.signal + async def user_prompt(self, prompt: str) -> None: + # Chat ended but the workflow is waiting for a chat summary to be generated + if self.chat_ended: + workflow.logger.warn(f"Message dropped due to chat closed: {prompt}") + return + + self.prompt_queue.append(prompt) + + @workflow.signal + async def end_chat(self) -> None: + self.chat_ended = True + + @workflow.query + def get_conversation_history(self) -> List[Tuple[str, str]]: + return self.conversation_history + + @workflow.query + def get_summary_from_history(self) -> Optional[str]: + return self.conversation_summary + + # Helper method used in prompts to Amazon Bedrock + def format_history(self) -> str: + return " ".join(f"{text}" for _, text in self.conversation_history) + + # Create the prompt given to Amazon Bedrock for each conversational turn + def prompt_with_history(self, prompt: str) -> str: + history_string = self.format_history() + return ( + f"Here is the conversation history: {history_string} Please add " + + "a few sentence response to the prompt in plain text sentences. " + + "Don't editorialize or add metadata like response. Keep the " + + f"text a plain explanation based on the history. Prompt: {prompt}" + ) + + # Create the prompt to Amazon Bedrock to summarize the conversation history + def prompt_summary_from_history(self) -> str: + history_string = self.format_history() + return ( + "Here is the conversation history between a user and a chatbot: " + + f"{history_string} -- Please produce a two sentence summary of " + + "this conversation." + ) diff --git a/bedrock/shared/__init__.py b/bedrock/shared/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/bedrock/shared/activities.py b/bedrock/shared/activities.py new file mode 100644 index 000000000..98c8d055a --- /dev/null +++ b/bedrock/shared/activities.py @@ -0,0 +1,39 @@ +import json + +import boto3 +from botocore.config import Config +from temporalio import activity + +config = Config(region_name="us-west-2") + + +class BedrockActivities: + def __init__(self) -> None: + self.bedrock = boto3.client(service_name="bedrock-runtime", config=config) + + @activity.defn + def prompt_bedrock(self, prompt: str) -> str: + # Model params + modelId = "meta.llama2-70b-chat-v1" + accept = "application/json" + contentType = "application/json" + max_gen_len = 512 + temperature = 0.1 + top_p = 0.2 + + body = json.dumps( + { + "prompt": prompt, + "max_gen_len": max_gen_len, + "temperature": temperature, + "top_p": top_p, + } + ) + + response = self.bedrock.invoke_model( + body=body, modelId=modelId, accept=accept, contentType=contentType + ) + + response_body = json.loads(response.get("body").read()) + + return response_body.get("generation") diff --git a/bedrock/signals_and_queries/README.md b/bedrock/signals_and_queries/README.md new file mode 100644 index 000000000..9eb5df8d0 --- /dev/null +++ b/bedrock/signals_and_queries/README.md @@ -0,0 +1,19 @@ +# Amazon Bedrock workflow using Signals and Queries + +Adding signals & queries to the [basic Bedrock sample](../1_basic). Starts a workflow with a prompt, allows follow-up prompts to be given using Temporal signals, and allows the conversation history to be queried using Temporal queries. + +To run, first see `samples-python` [README.md](../../README.md), and `bedrock` [README.md](../README.md) for prerequisites specific to this sample. Once set up, run the following from the root directory: + +1. Run the worker: `uv run bedrock/signals_and_queries/run_worker.py` +2. In another terminal run the client with a prompt. + + Example: `uv run bedrock/signals_and_queries/send_message.py 'What animals are marsupials?'` + +3. View the worker's output for the response. +4. Give followup prompts by signaling the workflow. + + Example: `uv run bedrock/signals_and_queries/send_message.py 'Do they lay eggs?'` +5. Get the conversation history by querying the workflow. + + Example: `uv run bedrock/signals_and_queries/get_history.py` +6. The workflow will timeout after inactivity. diff --git a/bedrock/signals_and_queries/__init__.py b/bedrock/signals_and_queries/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/bedrock/signals_and_queries/get_history.py b/bedrock/signals_and_queries/get_history.py new file mode 100644 index 000000000..2bd6049f9 --- /dev/null +++ b/bedrock/signals_and_queries/get_history.py @@ -0,0 +1,35 @@ +import asyncio + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from workflows import SignalQueryBedrockWorkflow + + +async def main(): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + workflow_id = "bedrock-workflow-with-signals" + + handle = client.get_workflow_handle(workflow_id) + + # Queries the workflow for the conversation history + history = await handle.query(SignalQueryBedrockWorkflow.get_conversation_history) + + print("Conversation History") + print( + *(f"{speaker.title()}: {message}\n" for speaker, message in history), sep="\n" + ) + + # Queries the workflow for the conversation summary + summary = await handle.query(SignalQueryBedrockWorkflow.get_summary_from_history) + + if summary is not None: + print("Conversation Summary:") + print(summary) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/bedrock/signals_and_queries/run_worker.py b/bedrock/signals_and_queries/run_worker.py new file mode 100644 index 000000000..9d611588d --- /dev/null +++ b/bedrock/signals_and_queries/run_worker.py @@ -0,0 +1,39 @@ +import asyncio +import concurrent.futures +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker +from workflows import SignalQueryBedrockWorkflow + +from bedrock.shared.activities import BedrockActivities + + +async def main(): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + activities = BedrockActivities() + + # Run the worker + with concurrent.futures.ThreadPoolExecutor(max_workers=100) as activity_executor: + worker = Worker( + client, + task_queue="bedrock-task-queue", + workflows=[SignalQueryBedrockWorkflow], + activities=[activities.prompt_bedrock], + activity_executor=activity_executor, + ) + await worker.run() + + +if __name__ == "__main__": + print("Starting worker") + print("Then run 'python send_message.py \"\"'") + + logging.basicConfig(level=logging.INFO) + + asyncio.run(main()) diff --git a/bedrock/signals_and_queries/send_message.py b/bedrock/signals_and_queries/send_message.py new file mode 100644 index 000000000..35a9df1cf --- /dev/null +++ b/bedrock/signals_and_queries/send_message.py @@ -0,0 +1,34 @@ +import asyncio +import sys + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from workflows import SignalQueryBedrockWorkflow + + +async def main(prompt): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + workflow_id = "bedrock-workflow-with-signals" + inactivity_timeout_minutes = 1 + + # Sends a signal to the workflow (and starts it if needed) + await client.start_workflow( + SignalQueryBedrockWorkflow.run, + inactivity_timeout_minutes, + id=workflow_id, + task_queue="bedrock-task-queue", + start_signal="user_prompt", + start_signal_args=[prompt], + ) + + +if __name__ == "__main__": + if len(sys.argv) != 2: + print("Usage: python send_message.py ''") + print("Example: python send_message.py 'What animals are marsupials?'") + else: + asyncio.run(main(sys.argv[1])) diff --git a/bedrock/signals_and_queries/workflows.py b/bedrock/signals_and_queries/workflows.py new file mode 100644 index 000000000..0c9147d79 --- /dev/null +++ b/bedrock/signals_and_queries/workflows.py @@ -0,0 +1,110 @@ +import asyncio +from collections import deque +from datetime import timedelta +from typing import Deque, List, Optional, Tuple + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from bedrock.shared.activities import BedrockActivities + + +@workflow.defn +class SignalQueryBedrockWorkflow: + def __init__(self) -> None: + # List to store prompt history + self.conversation_history: List[Tuple[str, str]] = [] + self.prompt_queue: Deque[str] = deque() + self.conversation_summary = "" + self.chat_timeout: bool = False + + @workflow.run + async def run(self, inactivity_timeout_minutes: int) -> str: + while True: + workflow.logger.info( + "Waiting for prompts... or closing chat after " + + f"{inactivity_timeout_minutes} minute(s)" + ) + + # Wait for a chat message (signal) or timeout + try: + await workflow.wait_condition( + lambda: bool(self.prompt_queue), + timeout=timedelta(minutes=inactivity_timeout_minutes), + ) + # If timeout was reached + except asyncio.TimeoutError: + self.chat_timeout = True + workflow.logger.info("Chat closed due to inactivity") + # End the workflow + break + + while self.prompt_queue: + # Fetch next user prompt and add to conversation history + prompt = self.prompt_queue.popleft() + self.conversation_history.append(("user", prompt)) + + workflow.logger.info(f"Prompt: {prompt}") + + # Send the prompt to Amazon Bedrock + response = await workflow.execute_activity_method( + BedrockActivities.prompt_bedrock, + self.prompt_with_history(prompt), + schedule_to_close_timeout=timedelta(seconds=20), + ) + + workflow.logger.info(f"{response}") + + # Append the response to the conversation history + self.conversation_history.append(("response", response)) + + # Generate a summary before ending the workflow + self.conversation_summary = await workflow.start_activity_method( + BedrockActivities.prompt_bedrock, + self.prompt_summary_from_history(), + schedule_to_close_timeout=timedelta(seconds=20), + ) + + workflow.logger.info(f"Conversation summary:\n{self.conversation_summary}") + + return f"{self.conversation_history}" + + @workflow.signal + async def user_prompt(self, prompt: str) -> None: + # Chat timed out but the workflow is waiting for a chat summary to be generated + if self.chat_timeout: + workflow.logger.warn(f"Message dropped due to chat closed: {prompt}") + return + + self.prompt_queue.append(prompt) + + @workflow.query + def get_conversation_history(self) -> List[Tuple[str, str]]: + return self.conversation_history + + @workflow.query + def get_summary_from_history(self) -> str: + return self.conversation_summary + + # Helper method used in prompts to Amazon Bedrock + def format_history(self) -> str: + return " ".join(f"{text}" for _, text in self.conversation_history) + + # Create the prompt given to Amazon Bedrock for each conversational turn + def prompt_with_history(self, prompt: str) -> str: + history_string = self.format_history() + return ( + f"Here is the conversation history: {history_string} Please add " + + "a few sentence response to the prompt in plain text sentences. " + + "Don't editorialize or add metadata like response. Keep the " + + f"text a plain explanation based on the history. Prompt: {prompt}" + ) + + # Create the prompt to Amazon Bedrock to summarize the conversation history + def prompt_summary_from_history(self) -> str: + history_string = self.format_history() + return ( + "Here is the conversation history between a user and a chatbot: " + + f"{history_string} -- Please produce a two sentence summary of " + + "this conversation." + ) diff --git a/cloud_export_to_parquet/README.md b/cloud_export_to_parquet/README.md new file mode 100644 index 000000000..3079c9f14 --- /dev/null +++ b/cloud_export_to_parquet/README.md @@ -0,0 +1,23 @@ +# Cloud Export to parquet sample + +This is an example workflow to convert exported file from proto to parquet file. The workflow is an hourly schedule. + +Please make sure your python version is 3.10 or above. For this sample, run: + + uv sync --group=cloud-export-to-parquet + +Before you start, please modify workflow input in `create_schedule.py` with your s3 bucket and namespace. Also make sure you've the right AWS permission set up in your environment to allow this workflow read and write to your s3 bucket. + +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the worker: + +```bash +uv run cloud_export_to_parquet/run_worker.py +``` + +This will start the worker. Then, in another terminal, run the following to execute the schedule: + +```bash +uv run cloud_export_to_parquet/create_schedule.py +``` + +The workflow should convert exported file in your input s3 bucket to parquet in your specified location. diff --git a/cloud_export_to_parquet/__init__.py b/cloud_export_to_parquet/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/cloud_export_to_parquet/create_schedule.py b/cloud_export_to_parquet/create_schedule.py new file mode 100644 index 000000000..1f40a3ed4 --- /dev/null +++ b/cloud_export_to_parquet/create_schedule.py @@ -0,0 +1,68 @@ +import asyncio +import traceback +from datetime import datetime, timedelta + +from temporalio.client import ( + Client, + Schedule, + ScheduleActionStartWorkflow, + ScheduleIntervalSpec, + ScheduleSpec, + WorkflowFailureError, +) +from temporalio.envconfig import ClientConfig + +from cloud_export_to_parquet.workflows import ( + ProtoToParquet, + ProtoToParquetWorkflowInput, +) + + +async def main() -> None: + """Main function to run temporal workflow.""" + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # TODO: update s3_bucket and namespace to the actual usecase + wf_input = ProtoToParquetWorkflowInput( + num_delay_hour=2, + export_s3_bucket="test-input-bucket", + namespace="test.namespace", + output_s3_bucket="test-output-bucket", + ) + + # Run the workflow + # try: + # await client.start_workflow( + # ProtoToParquet.run, + # wf_input, + # id = f"proto-to-parquet-{datetime.now()}", + # task_queue="DATA_TRANSFORMATION_TASK_QUEUE", + # ) + # except WorkflowFailureError: + # print("Got exception: ", traceback.format_exc()) + + # Create the schedule + try: + await client.create_schedule( + "hourly-proto-to-parquet-wf-schedule", + Schedule( + action=ScheduleActionStartWorkflow( + ProtoToParquet.run, + wf_input, + id=f"proto-to-parquet-{datetime.now()}", + task_queue="DATA_TRANSFORMATION_TASK_QUEUE", + ), + spec=ScheduleSpec( + intervals=[ScheduleIntervalSpec(every=timedelta(hours=1))] + ), + ), + ) + except WorkflowFailureError: + print("Got exception: ", traceback.format_exc()) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/cloud_export_to_parquet/data_trans_activities.py b/cloud_export_to_parquet/data_trans_activities.py new file mode 100644 index 000000000..b91f6b1a3 --- /dev/null +++ b/cloud_export_to_parquet/data_trans_activities.py @@ -0,0 +1,123 @@ +import json +import uuid +from dataclasses import dataclass +from typing import List + +import boto3 +import pandas as pd +import temporalio.api.export.v1 as export +from google.protobuf.json_format import MessageToJson +from temporalio import activity + + +@dataclass +class GetObjectKeysActivityInput: + bucket: str + path: str + + +@dataclass +class DataTransAndLandActivityInput: + export_s3_bucket: str + object_key: str + output_s3_bucket: str + write_path: str + + +@activity.defn +def get_object_keys(activity_input: GetObjectKeysActivityInput) -> List[str]: + """Function that list objects by key.""" + object_keys = [] + s3 = boto3.client("s3") + response = s3.list_objects_v2( + Bucket=activity_input.bucket, Prefix=activity_input.path + ) + for obj in response.get("Contents", []): + object_keys.append(obj["Key"]) + if len(object_keys) == 0: + raise FileNotFoundError( + f"No files found in {activity_input.bucket}/{activity_input.path}" + ) + + return object_keys + + +@activity.defn +def data_trans_and_land(activity_input: DataTransAndLandActivityInput) -> str: + """Function that convert proto to parquet and save to S3.""" + key = activity_input.object_key + data = get_data_from_object_key(activity_input.export_s3_bucket, key) + activity.logger.info("Convert proto to parquet for file: %s", key) + parquet_data = convert_proto_to_parquet_flatten(data) + activity.logger.info("Finish transformation for file: %s", key) + return save_to_sink( + parquet_data, activity_input.output_s3_bucket, activity_input.write_path + ) + + +def get_data_from_object_key( + bucket_name: str, object_key: str +) -> export.WorkflowExecutions: + """Function that get object by key.""" + v = export.WorkflowExecutions() + + s3 = boto3.client("s3") + try: + data = s3.get_object(Bucket=bucket_name, Key=object_key)["Body"].read() + except Exception as e: + activity.logger.error(f"Error reading object: {e}") + raise e + v.ParseFromString(data) + return v + + +def convert_proto_to_parquet_flatten(wfs: export.WorkflowExecutions) -> pd.DataFrame: + """Function that convert flatten proto data to parquet.""" + dfs = [] + for wf in wfs.items: + start_attributes = wf.history.events[ + 0 + ].workflow_execution_started_event_attributes + histories = wf.history + json_str = MessageToJson(histories) + row = { + "WorkflowID": start_attributes.workflow_id, + "RunID": start_attributes.original_execution_run_id, + "Histories": json.loads(json_str), + } + dfs.append(pd.DataFrame([row])) + df = pd.concat(dfs, ignore_index=True) + rows_flatten = [] + for _, row in df.iterrows(): + wf_histories_raw = row["Histories"]["events"] + worfkow_id = row["WorkflowID"] + run_id = row["RunID"] + for history_event in wf_histories_raw: + row_flatten = pd.json_normalize(history_event, sep="_") + skip_name = ["payloads", "."] + columns_to_drop = [ + col for col in row_flatten.columns for skip in skip_name if skip in col + ] + row_flatten.drop(columns_to_drop, axis=1, inplace=True) + row_flatten.insert(0, "WorkflowId", worfkow_id) + row_flatten.insert(1, "RunId", run_id) + rows_flatten.append(row_flatten) + df_flatten = pd.concat(rows_flatten, ignore_index=True) + return df_flatten + + +def save_to_sink(data: pd.DataFrame, s3_bucket: str, write_path: str) -> str: + """Function that save object to s3 bucket.""" + write_bytes = data.to_parquet(None, compression="snappy", index=False) + uuid_name = uuid.uuid1() + file_name = f"{uuid_name}.parquet" + activity.logger.info("Writing to S3 bucket: %s", file_name) + + s3 = boto3.client("s3") + try: + key = f"{write_path}/{file_name}" + s3.put_object(Bucket=s3_bucket, Key=key, Body=write_bytes) + return key + except Exception as e: + activity.logger.error(f"Error saving to sink: {e}") + raise e diff --git a/cloud_export_to_parquet/run_worker.py b/cloud_export_to_parquet/run_worker.py new file mode 100644 index 000000000..6062abcd6 --- /dev/null +++ b/cloud_export_to_parquet/run_worker.py @@ -0,0 +1,41 @@ +import asyncio +from concurrent.futures import ThreadPoolExecutor + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker +from temporalio.worker.workflow_sandbox import ( + SandboxedWorkflowRunner, + SandboxRestrictions, +) + +from cloud_export_to_parquet.data_trans_activities import ( + data_trans_and_land, + get_object_keys, +) +from cloud_export_to_parquet.workflows import ProtoToParquet + + +async def main() -> None: + """Main worker function.""" + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Run the worker + worker: Worker = Worker( + client, + task_queue="DATA_TRANSFORMATION_TASK_QUEUE", + workflows=[ProtoToParquet], + activities=[get_object_keys, data_trans_and_land], + workflow_runner=SandboxedWorkflowRunner( + restrictions=SandboxRestrictions.default.with_passthrough_modules("boto3") + ), + activity_executor=ThreadPoolExecutor(100), + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/cloud_export_to_parquet/workflows.py b/cloud_export_to_parquet/workflows.py new file mode 100644 index 000000000..3c9fe2702 --- /dev/null +++ b/cloud_export_to_parquet/workflows.py @@ -0,0 +1,74 @@ +from datetime import timedelta + +from temporalio import workflow +from temporalio.common import RetryPolicy +from temporalio.exceptions import ActivityError + +with workflow.unsafe.imports_passed_through(): + from cloud_export_to_parquet.data_trans_activities import ( + DataTransAndLandActivityInput, + GetObjectKeysActivityInput, + data_trans_and_land, + get_object_keys, + ) +from dataclasses import dataclass + + +@dataclass +class ProtoToParquetWorkflowInput: + num_delay_hour: int + export_s3_bucket: str + namespace: str + output_s3_bucket: str + + +@workflow.defn +class ProtoToParquet: + """Proto to parquet workflow.""" + + @workflow.run + async def run(self, workflow_input: ProtoToParquetWorkflowInput) -> str: + """Run proto to parquet workflow.""" + retry_policy = RetryPolicy( + maximum_attempts=10, maximum_interval=timedelta(seconds=5) + ) + + # Read from export S3 bucket and given at least 2 hour delay to ensure the file has been uploaded + read_time = workflow.now() - timedelta(hours=workflow_input.num_delay_hour) + common_path = f"{workflow_input.namespace}/{read_time.year}/{read_time.month:02}/{read_time.day:02}/{read_time.hour:02}/00" + path = f"temporal-workflow-history/export/{common_path}" + get_object_keys_input = GetObjectKeysActivityInput( + workflow_input.export_s3_bucket, path + ) + + # Read Input File + object_keys_output = await workflow.execute_activity( + get_object_keys, + get_object_keys_input, + start_to_close_timeout=timedelta(minutes=5), + retry_policy=retry_policy, + ) + + write_path = f"temporal-workflow-history/parquet/{common_path}" + + try: + # Could create a list of corountine objects to process files in parallel + for key in object_keys_output: + data_trans_and_land_input = DataTransAndLandActivityInput( + workflow_input.export_s3_bucket, + key, + workflow_input.output_s3_bucket, + write_path, + ) + # Convert proto to parquet and save to S3 + await workflow.execute_activity( + data_trans_and_land, + data_trans_and_land_input, + start_to_close_timeout=timedelta(minutes=15), + retry_policy=retry_policy, + ) + except ActivityError as output_err: + workflow.logger.error(f"Data transformation failed: {output_err}") + raise output_err + + return write_path diff --git a/context_propagation/README.md b/context_propagation/README.md new file mode 100644 index 000000000..fc79f80b6 --- /dev/null +++ b/context_propagation/README.md @@ -0,0 +1,16 @@ +# Context Propagation Interceptor Sample + +This sample shows how to use an interceptor to propagate contextual information through workflows and activities. For +this example, [contextvars](https://docs.python.org/3/library/contextvars.html) holds the contextual information. + +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the +worker: + + uv run context_propagation/worker.py + +This will start the worker. Then, in another terminal, run the following to execute the workflow: + + uv run context_propagation/starter.py + +The starter terminal should complete with the hello result and the worker terminal should show the logs with the +propagated user ID contextual information flowing through the workflows/activities. \ No newline at end of file diff --git a/context_propagation/__init__.py b/context_propagation/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/context_propagation/activities.py b/context_propagation/activities.py new file mode 100644 index 000000000..77cde0159 --- /dev/null +++ b/context_propagation/activities.py @@ -0,0 +1,9 @@ +from temporalio import activity + +from context_propagation import shared + + +@activity.defn +async def say_hello_activity(name: str) -> str: + activity.logger.info(f"Activity called by user {shared.user_id.get()}") + return f"Hello, {name}" diff --git a/context_propagation/interceptor.py b/context_propagation/interceptor.py new file mode 100644 index 000000000..b90585484 --- /dev/null +++ b/context_propagation/interceptor.py @@ -0,0 +1,193 @@ +from __future__ import annotations + +from contextlib import contextmanager +from typing import Any, Mapping, Protocol, Type + +import temporalio.activity +import temporalio.api.common.v1 +import temporalio.client +import temporalio.converter +import temporalio.worker +import temporalio.workflow + +with temporalio.workflow.unsafe.imports_passed_through(): + from context_propagation.shared import HEADER_KEY, user_id + + +class _InputWithHeaders(Protocol): + headers: Mapping[str, temporalio.api.common.v1.Payload] + + +def set_header_from_context( + input: _InputWithHeaders, payload_converter: temporalio.converter.PayloadConverter +) -> None: + user_id_val = user_id.get() + if user_id_val: + input.headers = { + **input.headers, + HEADER_KEY: payload_converter.to_payload(user_id_val), + } + + +@contextmanager +def context_from_header( + input: _InputWithHeaders, payload_converter: temporalio.converter.PayloadConverter +): + payload = input.headers.get(HEADER_KEY) + token = ( + user_id.set(payload_converter.from_payload(payload, str)) if payload else None + ) + try: + yield + finally: + if token: + user_id.reset(token) + + +class ContextPropagationInterceptor( + temporalio.client.Interceptor, temporalio.worker.Interceptor +): + """Interceptor that propagates a value through client, workflow and activity calls. + + This interceptor implements methods `temporalio.client.Interceptor` and `temporalio.worker.Interceptor` so that + + (1) a user ID key is taken from context by the client code and sent in a header field with outbound requests + (2) workflows take this value from their task input, set it in context, and propagate it into the header field of + their outbound calls + (3) activities similarly take the value from their task input and set it in context so that it's available for their + outbound calls + """ + + def __init__( + self, + payload_converter: temporalio.converter.PayloadConverter = temporalio.converter.default().payload_converter, + ) -> None: + self._payload_converter = payload_converter + + def intercept_client( + self, next: temporalio.client.OutboundInterceptor + ) -> temporalio.client.OutboundInterceptor: + return _ContextPropagationClientOutboundInterceptor( + next, self._payload_converter + ) + + def intercept_activity( + self, next: temporalio.worker.ActivityInboundInterceptor + ) -> temporalio.worker.ActivityInboundInterceptor: + return _ContextPropagationActivityInboundInterceptor(next) + + def workflow_interceptor_class( + self, input: temporalio.worker.WorkflowInterceptorClassInput + ) -> Type[_ContextPropagationWorkflowInboundInterceptor]: + return _ContextPropagationWorkflowInboundInterceptor + + +class _ContextPropagationClientOutboundInterceptor( + temporalio.client.OutboundInterceptor +): + def __init__( + self, + next: temporalio.client.OutboundInterceptor, + payload_converter: temporalio.converter.PayloadConverter, + ) -> None: + super().__init__(next) + self._payload_converter = payload_converter + + async def start_workflow( + self, input: temporalio.client.StartWorkflowInput + ) -> temporalio.client.WorkflowHandle[Any, Any]: + set_header_from_context(input, self._payload_converter) + return await super().start_workflow(input) + + async def query_workflow(self, input: temporalio.client.QueryWorkflowInput) -> Any: + set_header_from_context(input, self._payload_converter) + return await super().query_workflow(input) + + async def signal_workflow( + self, input: temporalio.client.SignalWorkflowInput + ) -> None: + set_header_from_context(input, self._payload_converter) + await super().signal_workflow(input) + + async def start_workflow_update( + self, input: temporalio.client.StartWorkflowUpdateInput + ) -> temporalio.client.WorkflowUpdateHandle[Any]: + set_header_from_context(input, self._payload_converter) + return await self.next.start_workflow_update(input) + + +class _ContextPropagationActivityInboundInterceptor( + temporalio.worker.ActivityInboundInterceptor +): + async def execute_activity( + self, input: temporalio.worker.ExecuteActivityInput + ) -> Any: + with context_from_header(input, temporalio.activity.payload_converter()): + return await self.next.execute_activity(input) + + +class _ContextPropagationWorkflowInboundInterceptor( + temporalio.worker.WorkflowInboundInterceptor +): + def init(self, outbound: temporalio.worker.WorkflowOutboundInterceptor) -> None: + self.next.init(_ContextPropagationWorkflowOutboundInterceptor(outbound)) + + async def execute_workflow( + self, input: temporalio.worker.ExecuteWorkflowInput + ) -> Any: + with context_from_header(input, temporalio.workflow.payload_converter()): + return await self.next.execute_workflow(input) + + async def handle_signal(self, input: temporalio.worker.HandleSignalInput) -> None: + with context_from_header(input, temporalio.workflow.payload_converter()): + return await self.next.handle_signal(input) + + async def handle_query(self, input: temporalio.worker.HandleQueryInput) -> Any: + with context_from_header(input, temporalio.workflow.payload_converter()): + return await self.next.handle_query(input) + + def handle_update_validator( + self, input: temporalio.worker.HandleUpdateInput + ) -> None: + with context_from_header(input, temporalio.workflow.payload_converter()): + self.next.handle_update_validator(input) + + async def handle_update_handler( + self, input: temporalio.worker.HandleUpdateInput + ) -> Any: + with context_from_header(input, temporalio.workflow.payload_converter()): + return await self.next.handle_update_handler(input) + + +class _ContextPropagationWorkflowOutboundInterceptor( + temporalio.worker.WorkflowOutboundInterceptor +): + async def signal_child_workflow( + self, input: temporalio.worker.SignalChildWorkflowInput + ) -> None: + set_header_from_context(input, temporalio.workflow.payload_converter()) + return await self.next.signal_child_workflow(input) + + async def signal_external_workflow( + self, input: temporalio.worker.SignalExternalWorkflowInput + ) -> None: + set_header_from_context(input, temporalio.workflow.payload_converter()) + return await self.next.signal_external_workflow(input) + + def start_activity( + self, input: temporalio.worker.StartActivityInput + ) -> temporalio.workflow.ActivityHandle: + set_header_from_context(input, temporalio.workflow.payload_converter()) + return self.next.start_activity(input) + + async def start_child_workflow( + self, input: temporalio.worker.StartChildWorkflowInput + ) -> temporalio.workflow.ChildWorkflowHandle: + set_header_from_context(input, temporalio.workflow.payload_converter()) + return await self.next.start_child_workflow(input) + + def start_local_activity( + self, input: temporalio.worker.StartLocalActivityInput + ) -> temporalio.workflow.ActivityHandle: + set_header_from_context(input, temporalio.workflow.payload_converter()) + return self.next.start_local_activity(input) diff --git a/context_propagation/shared.py b/context_propagation/shared.py new file mode 100644 index 000000000..faae59d81 --- /dev/null +++ b/context_propagation/shared.py @@ -0,0 +1,6 @@ +from contextvars import ContextVar +from typing import Optional + +HEADER_KEY = "__my_user_id" + +user_id: ContextVar[Optional[str]] = ContextVar("user_id", default=None) diff --git a/context_propagation/starter.py b/context_propagation/starter.py new file mode 100644 index 000000000..4d141dc0f --- /dev/null +++ b/context_propagation/starter.py @@ -0,0 +1,39 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from context_propagation import interceptor, shared, workflows + + +async def main(): + logging.basicConfig(level=logging.INFO) + + # Set the user ID + shared.user_id.set("some-user") + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + # Connect client + client = await Client.connect( + **config, + # Use our interceptor + interceptors=[interceptor.ContextPropagationInterceptor()], + ) + + # Start workflow, send signal, wait for completion, issue query + handle = await client.start_workflow( + workflows.SayHelloWorkflow.run, + "Temporal", + id=f"context-propagation-workflow-id", + task_queue="context-propagation-task-queue", + ) + await handle.signal(workflows.SayHelloWorkflow.signal_complete) + result = await handle.result() + logging.info(f"Workflow result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/context_propagation/worker.py b/context_propagation/worker.py new file mode 100644 index 000000000..70ffa3689 --- /dev/null +++ b/context_propagation/worker.py @@ -0,0 +1,45 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from context_propagation import activities, interceptor, workflows + +interrupt_event = asyncio.Event() + + +async def main(): + logging.basicConfig(level=logging.INFO) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + # Connect client + client = await Client.connect( + **config, + # Use our interceptor + interceptors=[interceptor.ContextPropagationInterceptor()], + ) + + # Run a worker for the workflow + async with Worker( + client, + task_queue="context-propagation-task-queue", + activities=[activities.say_hello_activity], + workflows=[workflows.SayHelloWorkflow], + ): + # Wait until interrupted + logging.info("Worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/context_propagation/workflows.py b/context_propagation/workflows.py new file mode 100644 index 000000000..e9c120b37 --- /dev/null +++ b/context_propagation/workflows.py @@ -0,0 +1,28 @@ +from datetime import timedelta + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from context_propagation.activities import say_hello_activity + from context_propagation.shared import user_id + + +@workflow.defn +class SayHelloWorkflow: + def __init__(self) -> None: + self._complete = False + + @workflow.run + async def run(self, name: str) -> str: + workflow.logger.info(f"Workflow called by user {user_id.get()}") + + # Wait for signal then run activity + await workflow.wait_condition(lambda: self._complete) + return await workflow.execute_activity( + say_hello_activity, name, start_to_close_timeout=timedelta(minutes=5) + ) + + @workflow.signal + async def signal_complete(self) -> None: + workflow.logger.info(f"Signal called by user {user_id.get()}") + self._complete = True diff --git a/custom_converter/README.md b/custom_converter/README.md index d4c9f5886..4ded41985 100644 --- a/custom_converter/README.md +++ b/custom_converter/README.md @@ -2,14 +2,14 @@ This sample shows how to make a custom payload converter for a type not natively supported by Temporal. -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory to start the +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the worker: - poetry run python worker.py + uv run custom_converter/worker.py This will start the worker. Then, in another terminal, run the following to execute the workflow: - poetry run python starter.py + uv run custom_converter/starter.py The workflow should complete with the hello result. If the custom converter was not set for the custom input and output classes, we would get an error on the client side and on the worker side. \ No newline at end of file diff --git a/custom_converter/shared.py b/custom_converter/shared.py index 7ac454951..2aa71f169 100644 --- a/custom_converter/shared.py +++ b/custom_converter/shared.py @@ -54,8 +54,7 @@ def __init__(self) -> None: # Just add ours as first before the defaults super().__init__( GreetingEncodingPayloadConverter(), - # TODO(cretz): Make this list available without instantiation - https://github.com/temporalio/sdk-python/issues/139 - *DefaultPayloadConverter().converters.values(), + *DefaultPayloadConverter.default_encoding_payload_converters, ) diff --git a/custom_converter/starter.py b/custom_converter/starter.py index 54fdf1624..cc500ae48 100644 --- a/custom_converter/starter.py +++ b/custom_converter/starter.py @@ -1,6 +1,7 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig from custom_converter.shared import ( GreetingInput, @@ -11,9 +12,12 @@ async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Connect client client = await Client.connect( - "localhost:7233", + **config, # Without this we get: # TypeError: Object of type GreetingInput is not JSON serializable data_converter=greeting_data_converter, diff --git a/custom_converter/worker.py b/custom_converter/worker.py index 96214cdd6..17186aee4 100644 --- a/custom_converter/worker.py +++ b/custom_converter/worker.py @@ -1,6 +1,7 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker from custom_converter.shared import greeting_data_converter @@ -10,9 +11,12 @@ async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Connect client client = await Client.connect( - "localhost:7233", + **config, # Without this, when trying to run a workflow, we get: # KeyError: 'Unknown payload encoding my-greeting-encoding data_converter=greeting_data_converter, diff --git a/custom_decorator/README.md b/custom_decorator/README.md index 65f594824..24cd516de 100644 --- a/custom_decorator/README.md +++ b/custom_decorator/README.md @@ -3,14 +3,14 @@ This sample shows a custom decorator can help with Temporal code reuse. Specifically, this makes a `@auto_heartbeater` decorator that automatically configures an activity to heartbeat twice as frequently as the heartbeat timeout is set to. -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory to start the +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the worker: - poetry run python worker.py + uv run custom_decorator/worker.py This will start the worker. Then, in another terminal, run the following to execute the workflow: - poetry run python starter.py + uv run custom_decorator/starter.py The workflow will be started, and then after 5 seconds will be sent a signal to cancel its forever-running activity. The activity has a heartbeat timeout set to 2s, so since it has the `@auto_heartbeater` decorator set, it will heartbeat diff --git a/custom_decorator/starter.py b/custom_decorator/starter.py index 98bf542fa..aff675da9 100644 --- a/custom_decorator/starter.py +++ b/custom_decorator/starter.py @@ -1,13 +1,16 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig from custom_decorator.worker import WaitForCancelWorkflow async def main(): # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Start the workflow handle = await client.start_workflow( diff --git a/custom_decorator/worker.py b/custom_decorator/worker.py index 7d0d25ca1..0d25145bb 100644 --- a/custom_decorator/worker.py +++ b/custom_decorator/worker.py @@ -4,6 +4,7 @@ from temporalio import activity, workflow from temporalio.client import Client from temporalio.common import RetryPolicy +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker from custom_decorator.activity_utils import auto_heartbeater @@ -51,7 +52,9 @@ def cancel_activity(self) -> None: async def main(): # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( diff --git a/custom_metric/README.md b/custom_metric/README.md new file mode 100644 index 000000000..de1d51d5d --- /dev/null +++ b/custom_metric/README.md @@ -0,0 +1,36 @@ +# Custom Metric + +This sample deminstrates two things: (1) how to make a custom metric, and (2) how to use an interceptor. +The custom metric in this sample is an activity schedule-to-start-latency with a workflow type tag. + +Please see the top-level [README](../README.md) for prerequisites such as Python, uv, starting the local temporal development server, etc. + +1. Run the worker with `uv run custom_metric/worker.py` +2. Request execution of the workflow with `uv run custom_metric/starter.py` +3. Go to `http://127.0.0.1:9090/metrics` in your browser + +You'll get something like the following: + +```txt +custom_activity_schedule_to_start_latency_bucket{activity_type="print_and_sleep",namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",workflow_type="StartTwoActivitiesWorkflow",le="100"} 1 +custom_activity_schedule_to_start_latency_bucket{activity_type="print_and_sleep",namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",workflow_type="StartTwoActivitiesWorkflow",le="500"} 1 +custom_activity_schedule_to_start_latency_bucket{activity_type="print_and_sleep",namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",workflow_type="StartTwoActivitiesWorkflow",le="1000"} 1 +custom_activity_schedule_to_start_latency_bucket{activity_type="print_and_sleep",namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",workflow_type="StartTwoActivitiesWorkflow",le="5000"} 2 +custom_activity_schedule_to_start_latency_bucket{activity_type="print_and_sleep",namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",workflow_type="StartTwoActivitiesWorkflow",le="10000"} 2 +custom_activity_schedule_to_start_latency_bucket{activity_type="print_and_sleep",namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",workflow_type="StartTwoActivitiesWorkflow",le="100000"} 2 +custom_activity_schedule_to_start_latency_bucket{activity_type="print_and_sleep",namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",workflow_type="StartTwoActivitiesWorkflow",le="1000000"} 2 +custom_activity_schedule_to_start_latency_bucket{activity_type="print_and_sleep",namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",workflow_type="StartTwoActivitiesWorkflow",le="+Inf"} 2 +custom_activity_schedule_to_start_latency_sum{activity_type="print_and_sleep",namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",workflow_type="StartTwoActivitiesWorkflow"} 1010 +custom_activity_schedule_to_start_latency_count{activity_type="print_and_sleep",namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",workflow_type="StartTwoActivitiesWorkflow"} 2 +... +temporal_activity_schedule_to_start_latency_bucket{namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",le="100"} 1 +temporal_activity_schedule_to_start_latency_bucket{namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",le="500"} 1 +temporal_activity_schedule_to_start_latency_bucket{namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",le="1000"} 1 +temporal_activity_schedule_to_start_latency_bucket{namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",le="5000"} 2 +temporal_activity_schedule_to_start_latency_bucket{namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",le="10000"} 2 +temporal_activity_schedule_to_start_latency_bucket{namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",le="100000"} 2 +temporal_activity_schedule_to_start_latency_bucket{namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",le="1000000"} 2 +temporal_activity_schedule_to_start_latency_bucket{namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue",le="+Inf"} 2 +temporal_activity_schedule_to_start_latency_sum{namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue"} 1010 +temporal_activity_schedule_to_start_latency_count{namespace="default",service_name="temporal-core-sdk",task_queue="custom-metric-task-queue"} 2 +``` diff --git a/custom_metric/__init__.py b/custom_metric/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/custom_metric/activity.py b/custom_metric/activity.py new file mode 100644 index 000000000..7f2ee1163 --- /dev/null +++ b/custom_metric/activity.py @@ -0,0 +1,9 @@ +import time + +from temporalio import activity + + +@activity.defn +def print_and_sleep(): + print("In the activity.") + time.sleep(1) diff --git a/custom_metric/starter.py b/custom_metric/starter.py new file mode 100644 index 000000000..aeb6d2b73 --- /dev/null +++ b/custom_metric/starter.py @@ -0,0 +1,23 @@ +import asyncio +import uuid + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from custom_metric.workflow import StartTwoActivitiesWorkflow + + +async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + await client.start_workflow( + StartTwoActivitiesWorkflow.run, + id="execute-activity-workflow-" + str(uuid.uuid4()), + task_queue="custom-metric-task-queue", + ) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/custom_metric/worker.py b/custom_metric/worker.py new file mode 100644 index 000000000..21dd9c93a --- /dev/null +++ b/custom_metric/worker.py @@ -0,0 +1,73 @@ +import asyncio +from concurrent.futures import ThreadPoolExecutor + +from temporalio import activity +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.runtime import PrometheusConfig, Runtime, TelemetryConfig +from temporalio.worker import ( + ActivityInboundInterceptor, + ExecuteActivityInput, + Interceptor, + Worker, +) + +from custom_metric.activity import print_and_sleep +from custom_metric.workflow import StartTwoActivitiesWorkflow + + +class SimpleWorkerInterceptor(Interceptor): + def intercept_activity( + self, next: ActivityInboundInterceptor + ) -> ActivityInboundInterceptor: + return CustomScheduleToStartInterceptor(next) + + +class CustomScheduleToStartInterceptor(ActivityInboundInterceptor): + async def execute_activity(self, input: ExecuteActivityInput): + schedule_to_start = ( + activity.info().started_time + - activity.info().current_attempt_scheduled_time + ) + # Could do the original schedule time instead of current attempt + # schedule_to_start_second_option = activity.info().started_time - activity.info().scheduled_time + + meter = activity.metric_meter() + histogram = meter.create_histogram_timedelta( + "custom_activity_schedule_to_start_latency", + description="Time between activity scheduling and start", + unit="duration", + ) + histogram.record( + schedule_to_start, {"workflow_type": activity.info().workflow_type or ""} + ) + return await self.next.execute_activity(input) + + +async def main(): + runtime = Runtime( + telemetry=TelemetryConfig(metrics=PrometheusConfig(bind_address="0.0.0.0:9090")) + ) + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + runtime=runtime, + ) + worker = Worker( + client, + task_queue="custom-metric-task-queue", + interceptors=[SimpleWorkerInterceptor()], + workflows=[StartTwoActivitiesWorkflow], + activities=[print_and_sleep], + # only one activity executor with two concurrently scheduled activities + # to force a nontrivial schedule to start times + activity_executor=ThreadPoolExecutor(1), + max_concurrent_activities=1, + ) + + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/custom_metric/workflow.py b/custom_metric/workflow.py new file mode 100644 index 000000000..cf37823bd --- /dev/null +++ b/custom_metric/workflow.py @@ -0,0 +1,25 @@ +import asyncio +from datetime import timedelta + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from custom_metric.activity import print_and_sleep + + +@workflow.defn +class StartTwoActivitiesWorkflow: + @workflow.run + async def run(self): + # Request two concurrent activities with only one task slot so + # we can see nontrivial schedule to start times. + activity1 = workflow.execute_activity( + print_and_sleep, + start_to_close_timeout=timedelta(seconds=5), + ) + activity2 = workflow.execute_activity( + print_and_sleep, + start_to_close_timeout=timedelta(seconds=5), + ) + await asyncio.gather(activity1, activity2) + return None diff --git a/deepagents_plugin/README.md b/deepagents_plugin/README.md new file mode 100644 index 000000000..885384a20 --- /dev/null +++ b/deepagents_plugin/README.md @@ -0,0 +1,134 @@ +# Deep Agents Samples + +These samples demonstrate the [Temporal Deep Agents plugin](https://github.com/temporalio/sdk-python/tree/main/temporalio/contrib/deepagents), +which makes [LangChain Deep Agents](https://github.com/langchain-ai/deepagents) +durable. Build your agent with `create_deep_agent(...)` inside a +`@workflow.defn` and add `DeepAgentsPlugin()` to your client — each LLM call and +each I/O tool/backend operation becomes a Temporal Activity, while the agent's +control loop runs (and deterministically replays) inside the Workflow. + +> **Experimental.** The `temporalio.contrib.deepagents` plugin is experimental +> and its API may change. + +`DeepAgentsPlugin` is a **client-level** plugin: add it to `Client.connect(...)` +and the SDK propagates it to any Worker built from that client. Add it on exactly +one side. + +## Samples + +| Sample | Description | +|--------|-------------| +| [hello_world](hello_world) | Minimal single-shot Deep Agent; a bare `model=` string auto-routed through the model activity. Start here. | +| [react_agent](react_agent) | Tool-calling loop showing the explicit per-tool choice: `activity_as_tool` for an existing activity, `tool_as_activity` for an I/O tool, plus per-agent `activity_options` via `create_temporal_deep_agent`. | +| [human_in_the_loop](human_in_the_loop) | Pause on `interrupt_on` and resume via the native LangGraph protocol, mapped to a Temporal Query + Update. | +| [continue_as_new](continue_as_new) | Long-running agent that carries messages and the model/tool result cache across continue-as-new via `run_deep_agent`. | +| [filesystem_backend](filesystem_backend) | Durable real filesystem I/O by wrapping a `FilesystemBackend` in `TemporalBackend`. | +| [subagents](subagents) | Durability propagates across the agent tree — sub-agent model calls become activities with no per-sub-agent wiring. | +| [streaming](streaming) | Stream model chunks to external subscribers via `streaming_topic` + `WorkflowStream`, keeping the durable result identical. | +| [langsmith_tracing](langsmith_tracing) | Compose `DeepAgentsPlugin` with `LangSmithPlugin` for durable execution + LLM tracing. | + +## Prerequisites + +> **Python ≥ 3.11 required.** `deepagents` (and therefore the plugin) does not +> support older interpreters. On Python 3.10 the `deepagents` dependency group +> resolves to nothing, so `uv sync` silently installs none of the dependencies +> below. + +1. Install dependencies: + + ```bash + uv sync --group deepagents + ``` + + > The Deep Agents plugin ships as the `temporalio[deepagents]` extra. It + > is merged to `sdk-python` `main` but the current PyPI release (1.31.0) + > predates the merge and does not carry the extra, so the `deepagents` + > group above does not include it yet. Until a release ships the extra + > (> 1.31.0), install it from main: + > + > ```bash + > uv pip install "temporalio[deepagents] @ git+https://github.com/temporalio/sdk-python.git" + > ``` + > + > This builds the SDK from source (including its Rust core), so expect a + > few minutes on first install. Once a release with the extra is on PyPI + > this step goes away: `temporalio[deepagents]` joins the `deepagents` + > group and a plain `uv sync --group deepagents` is all you need. + +2. Configure a model provider. The samples use + `anthropic:claude-sonnet-4-5`, which needs an Anthropic API key: + + ```bash + export ANTHROPIC_API_KEY=... + ``` + + To use a different provider, change the `model=` string in the sample's + `workflow.py` and set that provider's credentials (the plugin resolves the + model worker-side via LangChain's `init_chat_model`). + +3. Start a [Temporal dev server](https://docs.temporal.io/cli#start-dev-server): + + ```bash + temporal server start-dev + ``` + +## Running a Sample + +> **Use `uv run --no-sync`.** Because the plugin is installed out-of-band +> from sdk-python main (see Prerequisites) and is not yet in any dependency +> group, a bare `uv run` or `uv sync` re-syncs the environment to the lockfile +> first and uninstalls it. `--no-sync` runs against the environment as-is. +> (Once a released `temporalio[deepagents]` joins the `deepagents` group, the +> flag becomes unnecessary.) + +Most samples have two scripts. Start the Worker first, then the Workflow starter +in a separate terminal: + +```bash +# Terminal 1: start the Worker +uv run --no-sync deepagents_plugin//run_worker.py + +# Terminal 2: start the Workflow +uv run --no-sync deepagents_plugin//run_workflow.py +``` + +For example, to run the hello world sample: + +```bash +# Terminal 1 +uv run --no-sync deepagents_plugin/hello_world/run_worker.py + +# Terminal 2 +uv run --no-sync deepagents_plugin/hello_world/run_workflow.py +``` + +The `langsmith_tracing` sample instead bundles the worker and starter into a +single driver: + +```bash +uv run --no-sync deepagents_plugin/langsmith_tracing/main.py +``` + +## Key Features Demonstrated + +- **Durable model invocation** — every LLM call runs in an `invoke_model` + activity with configurable timeouts and retries; a bare `model=` string is + auto-routed, or use `create_temporal_deep_agent(..., activity_options=...)` + to scope model-call options per agent (recommended). +- **Explicit Workflow-vs-Activity tool choice** — `activity_as_tool`, + `tool_as_activity`, and `TemporalBackend` move I/O out of workflow code. +- **Human-in-the-loop** — the native LangGraph `interrupt_on` return value + mapped to a Temporal Query and Update. +- **Long-lived agents** — `run_deep_agent(...)` carries messages and the result + cache across server-suggested (or explicitly thresholded) continue-as-new. +- **Sub-agent durability** — sub-agents inherit the durable model object with no + extra wiring. +- **Streaming** — forward model chunks to external subscribers while keeping the + durable result unchanged. +- **Observability** — compose with `LangSmithPlugin` for tracing. + +## Related + +- [Temporal Deep Agents plugin](https://github.com/temporalio/sdk-python/tree/main/temporalio/contrib/deepagents) +- [LangChain Deep Agents](https://github.com/langchain-ai/deepagents) +- [langgraph_plugin](../langgraph_plugin) — for agents built directly as LangGraph graphs diff --git a/deepagents_plugin/__init__.py b/deepagents_plugin/__init__.py new file mode 100644 index 000000000..99ad713af --- /dev/null +++ b/deepagents_plugin/__init__.py @@ -0,0 +1 @@ +"""Temporal Deep Agents plugin samples.""" diff --git a/deepagents_plugin/continue_as_new/README.md b/deepagents_plugin/continue_as_new/README.md new file mode 100644 index 000000000..7fb5eb380 --- /dev/null +++ b/deepagents_plugin/continue_as_new/README.md @@ -0,0 +1,53 @@ +# Continue as New + +A long-running research agent whose conversation could outgrow Temporal's +workflow-history limit. `run_deep_agent(agent, input, state_snapshot=...)` keeps +the run bounded: once a turn ends with pending todos and the server recommends +continuing (`workflow.info().is_continue_as_new_suggested()` — the default and +recommended mode, which accounts for both history length and size), it snapshots +the accumulated messages **and** the model/tool result cache and continues into +a fresh run. Completed model/tool calls are reused from the carried cache rather +than re-run. To trigger on a fixed history-event count instead, pass an explicit +`continue_as_new_after=N`. + +The `@workflow.run` signature is `run(self, input, state_snapshot=None)`, where +`input` is the messages mapping and `state_snapshot` is how `run_deep_agent` +threads carried state into the continued run. On a continue-as-new the workflow +is re-invoked with `args=[input, snapshot]`, so `input` must be passed straight +into `run_deep_agent` — re-wrapping it would nest a dict where a message is +expected and corrupt the carried conversation. Durability rides on the default +in-workflow `InMemorySaver` (rehydrated by replay); a database-backed +checkpointer would do I/O from workflow code and is not replay-safe. + +## What This Sample Demonstrates + +- `run_deep_agent(agent, input, state_snapshot=...)` in the default + server-suggested mode (with `continue_as_new_after=N` as the explicit override) +- The `run(self, input, state_snapshot=None)` continue-as-new contract +- Carrying both messages and the result cache across continue-as-new + +## Running the Sample + +Prerequisites: Python >= 3.11 with the [suite setup](../README.md#prerequisites) +applied (interim plugin install), an `ANTHROPIC_API_KEY` in your +environment, and a running Temporal dev server (`temporal server start-dev`). + +> The experimental plugin is not in the `deepagents` group — install it as shown +> in the [suite README](../README.md#prerequisites) and run with `--no-sync`, or +> a bare `uv run`/`uv sync` re-syncs the environment and uninstalls it. + +```bash +# Terminal 1 +uv run --no-sync deepagents_plugin/continue_as_new/run_worker.py + +# Terminal 2 +uv run --no-sync deepagents_plugin/continue_as_new/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `LongResearchAgent` driven by `run_deep_agent` | +| `run_worker.py` | Adds `DeepAgentsPlugin`, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/deepagents_plugin/continue_as_new/__init__.py b/deepagents_plugin/continue_as_new/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/deepagents_plugin/continue_as_new/run_worker.py b/deepagents_plugin/continue_as_new/run_worker.py new file mode 100644 index 000000000..c9a7e8747 --- /dev/null +++ b/deepagents_plugin/continue_as_new/run_worker.py @@ -0,0 +1,29 @@ +"""Worker for the continue-as-new sample.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.worker import Worker + +from deepagents_plugin.continue_as_new.workflow import LongResearchAgent + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[DeepAgentsPlugin()], + ) + + worker = Worker( + client, + task_queue="deepagents-continue-as-new", + workflows=[LongResearchAgent], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/continue_as_new/run_workflow.py b/deepagents_plugin/continue_as_new/run_workflow.py new file mode 100644 index 000000000..9eb1acc90 --- /dev/null +++ b/deepagents_plugin/continue_as_new/run_workflow.py @@ -0,0 +1,37 @@ +"""Start the long-running research agent workflow.""" + +import asyncio +import os + +from temporalio.client import Client + +from deepagents_plugin.continue_as_new.workflow import LongResearchAgent + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + LongResearchAgent.run, + # The workflow's first arg is the messages mapping (run_deep_agent's + # continue-as-new contract), not a bare question string. + { + "messages": [ + { + "role": "user", + "content": ( + "Research the tradeoffs between Raft and Paxos and " + "summarize them." + ), + } + ] + }, + id="deepagents-continue-as-new", + task_queue="deepagents-continue-as-new", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/continue_as_new/workflow.py b/deepagents_plugin/continue_as_new/workflow.py new file mode 100644 index 000000000..d56aa6578 --- /dev/null +++ b/deepagents_plugin/continue_as_new/workflow.py @@ -0,0 +1,59 @@ +"""Long-running research agent that carries state across continue-as-new. + +A long conversation would bloat workflow history until it hits Temporal's limit. +``run_deep_agent(agent, input, state_snapshot=...)`` solves this: once a turn +finishes with pending work and the server recommends continuing +(``workflow.info().is_continue_as_new_suggested()`` — the default and +recommended mode, accounting for both history length and size), it snapshots the +accumulated messages **and** the model/tool result cache and continues into a +fresh run — so completed model/tool calls are reused, not re-run, after the +continue-as-new. Pass ``continue_as_new_after=N`` instead to trigger on a fixed +history-event count. + +The contract ``run_deep_agent`` requires is that the ``@workflow.run`` method +accepts the carried state, i.e. its signature is +``run(self, input, state_snapshot=None)`` where ``input`` is the messages +mapping. On a continue-as-new, ``run_deep_agent`` re-invokes the workflow with +``args=[input, snapshot]``, so ``input`` must be passed straight through — not +re-wrapped — or the carried conversation is corrupted. Only an in-workflow +``InMemorySaver`` (the default) is replay-safe; a durable checkpointer would do +I/O from workflow code. +""" + +# @@@SNIPSTART python-deepagents-continue-as-new-workflow +from typing import Any + +from deepagents import create_deep_agent +from temporalio import workflow +from temporalio.contrib.deepagents import run_deep_agent + + +@workflow.defn +class LongResearchAgent: + @workflow.run + async def run( + self, input: dict[str, Any], state_snapshot: dict | None = None + ) -> str: + agent = create_deep_agent( + model="anthropic:claude-sonnet-4-5", + system_prompt=( + "You are a research agent. Break large tasks into todos and work " + "through them until the research is complete." + ), + ) + result = await run_deep_agent( + agent, + # ``input`` is the messages mapping. Pass it through unchanged: on a + # continue-as-new, run_deep_agent re-invokes this method with the + # carried input as its first arg, so re-wrapping it here would nest a + # dict where a message is expected and corrupt the conversation. + input, + # No threshold: continue-as-new fires when the agent still has + # pending todos and the server suggests continuing — the recommended + # mode. Pass continue_as_new_after=N to use a fixed event count. + state_snapshot=state_snapshot, + ) + return result["messages"][-1].content + + +# @@@SNIPEND diff --git a/deepagents_plugin/filesystem_backend/README.md b/deepagents_plugin/filesystem_backend/README.md new file mode 100644 index 000000000..a8e3198f4 --- /dev/null +++ b/deepagents_plugin/filesystem_backend/README.md @@ -0,0 +1,50 @@ +# Filesystem Backend + +Give a Deep Agent durable, real filesystem access. The agent's built-in file +tools (`write_file`, `read_file`, `ls`, …) delegate to a *backend*. Wrapping a +`FilesystemBackend` with `TemporalBackend(inner, activity_options=...)` routes +each file operation through a `deepagents.backend_op` activity, so real disk I/O +happens in an activity worker instead of in workflow code. + +Contrast this with the default `StateBackend`, whose "files" live in agent state +— that is pure workflow state and correctly stays in the workflow with no +wrapping. `TemporalBackend` is only for backends that do real I/O. + +The scratch directory (`root_dir`) is chosen client-side and passed in as a +workflow argument, so the workflow never reads the environment or the disk +directly. + +## What This Sample Demonstrates + +- `TemporalBackend` wrapping a real-I/O `FilesystemBackend` +- The agent's built-in file tools running their I/O as `backend_op` activities +- Keeping the workflow deterministic by passing `root_dir` in as an argument + +## Running the Sample + +Prerequisites: Python >= 3.11 with the [suite setup](../README.md#prerequisites) +applied (interim plugin install), an `ANTHROPIC_API_KEY` in your +environment, and a running Temporal dev server (`temporal server start-dev`). + +> The experimental plugin is not in the `deepagents` group — install it as shown +> in the [suite README](../README.md#prerequisites) and run with `--no-sync`, or +> a bare `uv run`/`uv sync` re-syncs the environment and uninstalls it. + +```bash +# Terminal 1 +uv run --no-sync deepagents_plugin/filesystem_backend/run_worker.py + +# Terminal 2 +uv run --no-sync deepagents_plugin/filesystem_backend/run_workflow.py +``` + +By default the starter creates a temporary scratch directory; set +`DEEPAGENTS_WORKDIR` to point the agent at a directory of your choice. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `FilesystemAgent` wrapping a `FilesystemBackend` in `TemporalBackend` | +| `run_worker.py` | Adds `DeepAgentsPlugin`, starts the worker | +| `run_workflow.py` | Chooses a scratch dir, executes the workflow, prints the result | diff --git a/deepagents_plugin/filesystem_backend/__init__.py b/deepagents_plugin/filesystem_backend/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/deepagents_plugin/filesystem_backend/run_worker.py b/deepagents_plugin/filesystem_backend/run_worker.py new file mode 100644 index 000000000..722fc1584 --- /dev/null +++ b/deepagents_plugin/filesystem_backend/run_worker.py @@ -0,0 +1,29 @@ +"""Worker for the filesystem backend sample.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.worker import Worker + +from deepagents_plugin.filesystem_backend.workflow import FilesystemAgent + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[DeepAgentsPlugin()], + ) + + worker = Worker( + client, + task_queue="deepagents-filesystem-backend", + workflows=[FilesystemAgent], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/filesystem_backend/run_workflow.py b/deepagents_plugin/filesystem_backend/run_workflow.py new file mode 100644 index 000000000..2f1c1361c --- /dev/null +++ b/deepagents_plugin/filesystem_backend/run_workflow.py @@ -0,0 +1,43 @@ +"""Start the filesystem backend workflow against a scratch directory. + +The workflow's agent writes a file and reads it back; each file operation runs +as a ``deepagents.backend_op`` activity, so the real disk write happens in an +activity worker, not in workflow code. +""" + +import asyncio +import os +import tempfile + +from temporalio.client import Client + +from deepagents_plugin.filesystem_backend.workflow import FilesystemAgent + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + # Choose the scratch directory here (client side), then pass it in — the + # workflow itself never reads the environment or the filesystem. + root_dir = os.environ.get("DEEPAGENTS_WORKDIR") or tempfile.mkdtemp( + prefix="deepagents-fs-" + ) + print(f"Agent working directory: {root_dir}") + + result = await client.execute_workflow( + FilesystemAgent.run, + args=[ + root_dir, + "Write a short haiku about durability to notes.txt, then read it " + "back and tell me what it says.", + ], + id="deepagents-filesystem-backend", + task_queue="deepagents-filesystem-backend", + ) + + print(f"Result: {result}") + print(f"Files written under: {root_dir}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/filesystem_backend/workflow.py b/deepagents_plugin/filesystem_backend/workflow.py new file mode 100644 index 000000000..67e43775e --- /dev/null +++ b/deepagents_plugin/filesystem_backend/workflow.py @@ -0,0 +1,53 @@ +"""Durable real filesystem I/O via ``TemporalBackend``. + +A Deep Agent's built-in file tools (``write_file``, ``read_file``, ``ls``, …) +delegate to a *backend*. The default ``StateBackend`` keeps files in agent state +— pure workflow state, replay-safe, no wrapping needed. A ``FilesystemBackend``, +by contrast, touches real disk, which must not happen from workflow code. + +``TemporalBackend(inner, activity_options=...)`` wraps such a backend so each +file operation the agent's tools invoke becomes a ``deepagents.backend_op`` +activity instead of running in the workflow. The agent code is unchanged; only +the backend is wrapped. + +``root_dir`` is passed in as a workflow argument (rather than read from the +environment inside the workflow) to keep the workflow deterministic. +""" + +# @@@SNIPSTART python-deepagents-filesystem-backend-workflow +from datetime import timedelta + +from deepagents import create_deep_agent +from deepagents.backends import FilesystemBackend +from temporalio import workflow +from temporalio.contrib.deepagents import TemporalBackend + + +@workflow.defn +class FilesystemAgent: + @workflow.run + async def run(self, root_dir: str, instruction: str) -> str: + # Wrap the real-I/O backend so every file op runs in an activity. + backend = TemporalBackend( + # virtual_mode roots every path the agent uses under root_dir, so the + # agent's file tools stay sandboxed to this working directory. + FilesystemBackend(root_dir=root_dir, virtual_mode=True), + activity_options={"start_to_close_timeout": timedelta(seconds=30)}, + ) + agent = create_deep_agent( + model="anthropic:claude-sonnet-4-5", + # TemporalBackend delegates the backend protocol to the wrapped + # backend at runtime, which the static type can't see through. + backend=backend, # type: ignore[arg-type] + system_prompt=( + "You are a file-savvy assistant. Use the write_file and " + "read_file tools to complete the task." + ), + ) + result = await agent.ainvoke( + {"messages": [{"role": "user", "content": instruction}]} + ) + return result["messages"][-1].content + + +# @@@SNIPEND diff --git a/deepagents_plugin/hello_world/README.md b/deepagents_plugin/hello_world/README.md new file mode 100644 index 000000000..16ea9ed21 --- /dev/null +++ b/deepagents_plugin/hello_world/README.md @@ -0,0 +1,40 @@ +# Hello World + +The simplest Deep Agents + Temporal sample: build a Deep Agent with +`create_deep_agent(...)` and invoke it once. The agent code is unchanged from a +non-Temporal program — adding `DeepAgentsPlugin()` to the client is what makes +the single LLM call run as a durable `deepagents.invoke_model` activity, with +Temporal-managed retries and timeouts. + +## What This Sample Demonstrates + +- Wiring `DeepAgentsPlugin` onto the client (it auto-propagates to the worker) +- Building a Deep Agent from a bare `model="anthropic:claude-sonnet-4-5"` string, + which the plugin auto-routes through the model activity +- Driving the agent with `await agent.ainvoke(...)` from a `@workflow.defn` + +## Running the Sample + +Prerequisites: Python >= 3.11 with the [suite setup](../README.md#prerequisites) +applied (interim plugin install), an `ANTHROPIC_API_KEY` in your +environment, and a running Temporal dev server (`temporal server start-dev`). + +> The experimental plugin is not in the `deepagents` group — install it as shown +> in the [suite README](../README.md#prerequisites) and run with `--no-sync`, or +> a bare `uv run`/`uv sync` re-syncs the environment and uninstalls it. + +```bash +# Terminal 1 +uv run --no-sync deepagents_plugin/hello_world/run_worker.py + +# Terminal 2 +uv run --no-sync deepagents_plugin/hello_world/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `HelloWorldAgent`: one Deep Agent, one `ainvoke` | +| `run_worker.py` | Adds `DeepAgentsPlugin` to the client, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/deepagents_plugin/hello_world/__init__.py b/deepagents_plugin/hello_world/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/deepagents_plugin/hello_world/run_worker.py b/deepagents_plugin/hello_world/run_worker.py new file mode 100644 index 000000000..442f0af4b --- /dev/null +++ b/deepagents_plugin/hello_world/run_worker.py @@ -0,0 +1,37 @@ +"""Worker for the hello world sample. + +``DeepAgentsPlugin`` is a client-level plugin: add it to ``Client.connect(...)`` +and the SDK propagates it to every Worker built from that client. The plugin +registers the ``deepagents.*`` activities and installs the LangChain-aware data +converter, so the worker needs no other wiring. +""" + +# @@@SNIPSTART python-deepagents-hello-world-worker +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.worker import Worker + +from deepagents_plugin.hello_world.workflow import HelloWorldAgent + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[DeepAgentsPlugin()], + ) + + worker = Worker( + client, + task_queue="deepagents-hello-world", + workflows=[HelloWorldAgent], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/deepagents_plugin/hello_world/run_workflow.py b/deepagents_plugin/hello_world/run_workflow.py new file mode 100644 index 000000000..a0a87343c --- /dev/null +++ b/deepagents_plugin/hello_world/run_workflow.py @@ -0,0 +1,27 @@ +"""Start the hello world workflow and print the agent's answer.""" + +# @@@SNIPSTART python-deepagents-hello-world-run-workflow +import asyncio +import os + +from temporalio.client import Client + +from deepagents_plugin.hello_world.workflow import HelloWorldAgent + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + HelloWorldAgent.run, + "What is Temporal in one sentence?", + id="deepagents-hello-world", + task_queue="deepagents-hello-world", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/deepagents_plugin/hello_world/workflow.py b/deepagents_plugin/hello_world/workflow.py new file mode 100644 index 000000000..f99ea6a39 --- /dev/null +++ b/deepagents_plugin/hello_world/workflow.py @@ -0,0 +1,34 @@ +"""Minimal single-shot Deep Agent, made durable by the plugin. + +The workflow builds a vanilla ``create_deep_agent(...)`` and drives it with +``await agent.ainvoke(...)`` — exactly the code you would write outside Temporal. +The only reason it is durable is that a ``DeepAgentsPlugin`` is wired onto the +client (see ``run_worker.py``): the bare ``model="anthropic:..."`` string is +auto-routed through the ``deepagents.invoke_model`` activity, so the LLM call +gets Temporal-managed retries and timeouts while the agent's control loop +replays deterministically in the workflow. +""" + +# @@@SNIPSTART python-deepagents-hello-world-workflow +# No `workflow.unsafe.imports_passed_through()` guard is needed: the plugin +# configures the workflow sandbox to pass the deepagents / LangChain import +# tree through, so workflow files import them like any other module. +from deepagents import create_deep_agent +from temporalio import workflow + + +@workflow.defn +class HelloWorldAgent: + @workflow.run + async def run(self, question: str) -> str: + agent = create_deep_agent( + model="anthropic:claude-sonnet-4-5", + system_prompt="You are a helpful assistant. Answer concisely.", + ) + result = await agent.ainvoke( + {"messages": [{"role": "user", "content": question}]} + ) + return result["messages"][-1].content + + +# @@@SNIPEND diff --git a/deepagents_plugin/human_in_the_loop/README.md b/deepagents_plugin/human_in_the_loop/README.md new file mode 100644 index 000000000..c688f7a60 --- /dev/null +++ b/deepagents_plugin/human_in_the_loop/README.md @@ -0,0 +1,58 @@ +# Human in the Loop + +Pause a Deep Agent for human approval before it runs a guarded tool, then resume +it with the human's decision — using the **native LangGraph interrupt protocol** +(the plugin adds no shim of its own). + +`create_deep_agent(..., interrupt_on={"book_trip": True})` plus an in-workflow +`InMemorySaver` checkpointer make the agent pause before calling `book_trip`. +With a checkpointer configured, `ainvoke` *returns* the pending approval under +the SDK-native `__interrupt__` key rather than raising. Because the loop runs in +the workflow, the pause surfaces in workflow code, where it is mapped to +Temporal messaging: + +- a **`@workflow.query`** (`pending_approval`) exposes the pending prompt; +- a **`@workflow.update`** (`resume`) feeds the decision back via + `Command(resume={"decisions": [{"type": decision}]})`. + +The `InMemorySaver` is replay-safe (its state is workflow memory rehydrated by +replay); the `thread_id` is the workflow id. + +For clarity this sample handles a single interrupt. A production workflow would +loop — re-checking `__interrupt__` after each resume — since the model may +request another guarded tool call. + +## What This Sample Demonstrates + +- `interrupt_on` + an in-workflow `InMemorySaver` checkpointer +- Reading the native `__interrupt__` return value in workflow code +- Mapping the pause to a Temporal Query and the resume to a Temporal Update + +## Running the Sample + +Prerequisites: Python >= 3.11 with the [suite setup](../README.md#prerequisites) +applied (interim plugin install), an `ANTHROPIC_API_KEY` in your +environment, and a running Temporal dev server (`temporal server start-dev`). + +> The experimental plugin is not in the `deepagents` group — install it as shown +> in the [suite README](../README.md#prerequisites) and run with `--no-sync`, or +> a bare `uv run`/`uv sync` re-syncs the environment and uninstalls it. + +```bash +# Terminal 1 +uv run --no-sync deepagents_plugin/human_in_the_loop/run_worker.py + +# Terminal 2 +uv run --no-sync deepagents_plugin/human_in_the_loop/run_workflow.py +``` + +The starter polls the query until the agent pauses, prints the approval prompt, +sends an `approve` decision via the update, and prints the final result. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `HumanInTheLoopAgent` with `interrupt_on`, a Query, and an Update | +| `run_worker.py` | Adds `DeepAgentsPlugin`, starts the worker | +| `run_workflow.py` | Starts the workflow, polls the query, sends the resume update | diff --git a/deepagents_plugin/human_in_the_loop/__init__.py b/deepagents_plugin/human_in_the_loop/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/deepagents_plugin/human_in_the_loop/run_worker.py b/deepagents_plugin/human_in_the_loop/run_worker.py new file mode 100644 index 000000000..1eced08df --- /dev/null +++ b/deepagents_plugin/human_in_the_loop/run_worker.py @@ -0,0 +1,29 @@ +"""Worker for the human-in-the-loop sample.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.worker import Worker + +from deepagents_plugin.human_in_the_loop.workflow import HumanInTheLoopAgent + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[DeepAgentsPlugin()], + ) + + worker = Worker( + client, + task_queue="deepagents-human-in-the-loop", + workflows=[HumanInTheLoopAgent], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/human_in_the_loop/run_workflow.py b/deepagents_plugin/human_in_the_loop/run_workflow.py new file mode 100644 index 000000000..298d8626b --- /dev/null +++ b/deepagents_plugin/human_in_the_loop/run_workflow.py @@ -0,0 +1,45 @@ +"""Start the HITL workflow, wait for the approval prompt, then approve it. + +Starts the agent, polls the ``pending_approval`` query until the agent pauses on +the guarded ``book_trip`` tool, then sends the ``resume`` update with a decision. +In a real app the query result would be shown to a person and the update sent +from a UI. +""" + +import asyncio +import os + +from temporalio.client import Client + +from deepagents_plugin.human_in_the_loop.workflow import HumanInTheLoopAgent + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + handle = await client.start_workflow( + HumanInTheLoopAgent.run, + "Rome", + id="deepagents-human-in-the-loop", + task_queue="deepagents-human-in-the-loop", + ) + + # Poll the query until the agent surfaces the pending approval. + for _ in range(100): + pending = await handle.query(HumanInTheLoopAgent.pending_approval) + if pending is not None: + print(f"Approval requested: {pending}") + break + await asyncio.sleep(0.5) + else: + raise RuntimeError("workflow never surfaced an approval prompt") + + print("Approving...") + await handle.execute_update(HumanInTheLoopAgent.resume, "approve") + + result = await handle.result() + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/human_in_the_loop/workflow.py b/deepagents_plugin/human_in_the_loop/workflow.py new file mode 100644 index 000000000..fa16f2540 --- /dev/null +++ b/deepagents_plugin/human_in_the_loop/workflow.py @@ -0,0 +1,94 @@ +"""Human-in-the-loop: the native LangGraph interrupt mapped to Query + Update. + +``create_deep_agent(..., interrupt_on=...)`` makes the agent pause before a +guarded tool runs. With an in-workflow ``InMemorySaver`` checkpointer, LangGraph +does *not* raise out of ``ainvoke`` — it returns the current state with an +``__interrupt__`` entry describing the pending approval. Because the agent loop +runs in the workflow, that pause surfaces directly in workflow code. + +The plugin adds no shim here. The recommended Temporal mapping is: + +* expose the pending approval via a ``@workflow.query`` so a client can read it; +* resume via a ``@workflow.update`` that feeds the human's decision back with the + native ``Command(resume={"decisions": [...]})`` protocol; its validator rejects + unsupported decisions before they are accepted into workflow history. + +The ``InMemorySaver`` is replay-safe because its state lives in the workflow's +own memory (rehydrated by deterministic replay); the ``thread_id`` is the stable +workflow id. +""" + +# @@@SNIPSTART python-deepagents-human-in-the-loop-workflow +from datetime import timedelta + +from deepagents import create_deep_agent +from langchain_core.runnables import RunnableConfig +from langgraph.checkpoint.memory import InMemorySaver +from langgraph.types import Command +from temporalio import workflow +from temporalio.contrib.deepagents import tool_as_activity + + +@workflow.defn +class HumanInTheLoopAgent: + def __init__(self) -> None: + self._pending: str | None = None + self._decision: str | None = None + self._resumed = False + + @workflow.run + async def run(self, city: str) -> str: + def book_trip(city: str) -> str: + """Book a trip to a city (requires human approval).""" + return f"Booked a trip to {city}." + + trip_tool = tool_as_activity( + book_trip, start_to_close_timeout=timedelta(seconds=30) + ) + agent = create_deep_agent( + model="anthropic:claude-sonnet-4-5", + tools=[trip_tool], + interrupt_on={"book_trip": True}, + checkpointer=InMemorySaver(), + ) + config = RunnableConfig(configurable={"thread_id": workflow.info().workflow_id}) + + result = await agent.ainvoke( + {"messages": [{"role": "user", "content": f"Book a trip to {city}."}]}, + config=config, + ) + # LangGraph returns (not raises) the pending approval under __interrupt__. + pending = result.get("__interrupt__") + if pending: + self._pending = str(getattr(pending[0], "value", pending[0])) + # Block until a client approves/rejects via the `resume` update. + await workflow.wait_condition(lambda: self._resumed) + # No longer paused: the query goes back to reporting None. + self._pending = None + result = await agent.ainvoke( + Command(resume={"decisions": [{"type": self._decision}]}), + config=config, + ) + return result["messages"][-1].content + + @workflow.query + def pending_approval(self) -> str | None: + """Return the pending approval prompt, or ``None`` if not paused.""" + return self._pending + + @workflow.update + async def resume(self, decision: str) -> None: + """Resume the paused agent with ``"approve"`` or ``"reject"``.""" + self._decision = decision + self._resumed = True + + @resume.validator + def validate_resume(self, decision: str) -> None: + # Runs before the update is accepted, keeping invalid decisions out of + # workflow history entirely. Only the decisions this workflow feeds to + # `Command(resume=...)` are allowed. + if decision not in ("approve", "reject"): + raise ValueError('decision must be "approve" or "reject"') + + +# @@@SNIPEND diff --git a/deepagents_plugin/langsmith_tracing/README.md b/deepagents_plugin/langsmith_tracing/README.md new file mode 100644 index 000000000..f9828b62e --- /dev/null +++ b/deepagents_plugin/langsmith_tracing/README.md @@ -0,0 +1,46 @@ +# LangSmith Tracing + +Run a Deep Agent durably **and** trace its LLM calls to +[LangSmith](https://smith.langchain.com/), by composing `LangSmithPlugin` +alongside `DeepAgentsPlugin`. The plugin carries no tracing context of its own; +the observability plugin captures the model calls that `DeepAgentsPlugin` runs as +activities. Registration order of the two plugins does not matter. + +Following the shipped tracing samples, this scenario bundles the worker and +starter into a single `main.py` and has no automated test (it requires external +API keys). + +## What This Sample Demonstrates + +- Composing `DeepAgentsPlugin` with `temporalio.contrib.langsmith.LangSmithPlugin` +- Order-independent plugin registration + +## Running the Sample + +Prerequisites: Python >= 3.11 with the [suite setup](../README.md#prerequisites) +applied (interim plugin install), a running Temporal dev server +(`temporal server start-dev`), and these environment variables: + +```bash +export ANTHROPIC_API_KEY=... +export LANGSMITH_API_KEY=... # or LANGCHAIN_API_KEY +export LANGSMITH_TRACING=true +``` + +The experimental plugin is not in the `deepagents` group — install it as shown +in the [suite README](../README.md#prerequisites) and run with `--no-sync`, or a +bare `uv run`/`uv sync` re-syncs the environment and uninstalls it. Then run the +single-process driver: + +```bash +uv run --no-sync deepagents_plugin/langsmith_tracing/main.py +``` + +Traces appear in your LangSmith project. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `TracedAgent`: an ordinary Deep Agent | +| `main.py` | Composes `LangSmithPlugin` + `DeepAgentsPlugin`, runs the workflow once | diff --git a/deepagents_plugin/langsmith_tracing/__init__.py b/deepagents_plugin/langsmith_tracing/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/deepagents_plugin/langsmith_tracing/main.py b/deepagents_plugin/langsmith_tracing/main.py new file mode 100644 index 000000000..555ebc0d1 --- /dev/null +++ b/deepagents_plugin/langsmith_tracing/main.py @@ -0,0 +1,48 @@ +"""Run the LangSmith tracing Deep Agents sample. + +Single-process driver: starts a Worker, executes the Workflow once, prints the +result, then shuts down. Composes ``LangSmithPlugin`` with ``DeepAgentsPlugin`` +so the agent runs durably *and* its LLM calls are traced to LangSmith. +Registration order of the two plugins does not matter. + +Requires ``ANTHROPIC_API_KEY`` and ``LANGSMITH_API_KEY`` (or ``LANGCHAIN_API_KEY``) +in the environment. +""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.contrib.langsmith import LangSmithPlugin +from temporalio.worker import Worker + +from deepagents_plugin.langsmith_tracing.workflow import TracedAgent + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[ + # Register observability first, then the Deep Agents plugin. + LangSmithPlugin(), + DeepAgentsPlugin(), + ], + ) + + async with Worker( + client, + task_queue="deepagents-langsmith-tracing", + workflows=[TracedAgent], + ): + result = await client.execute_workflow( + TracedAgent.run, + "What is durable execution, in one sentence?", + id="deepagents-langsmith-tracing", + task_queue="deepagents-langsmith-tracing", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/langsmith_tracing/workflow.py b/deepagents_plugin/langsmith_tracing/workflow.py new file mode 100644 index 000000000..15f8ad596 --- /dev/null +++ b/deepagents_plugin/langsmith_tracing/workflow.py @@ -0,0 +1,28 @@ +"""A Deep Agent whose durable execution is also traced to LangSmith. + +The workflow itself is an ordinary Deep Agent — the tracing comes entirely from +composing ``LangSmithPlugin`` alongside ``DeepAgentsPlugin`` on the client (see +``main.py``). The plugin carries no tracing context of its own; the observability +plugin captures the LLM calls that ``DeepAgentsPlugin`` runs as activities. +""" + +# @@@SNIPSTART python-deepagents-langsmith-tracing-workflow +from deepagents import create_deep_agent +from temporalio import workflow + + +@workflow.defn +class TracedAgent: + @workflow.run + async def run(self, question: str) -> str: + agent = create_deep_agent( + model="anthropic:claude-sonnet-4-5", + system_prompt="You are a helpful assistant.", + ) + result = await agent.ainvoke( + {"messages": [{"role": "user", "content": question}]} + ) + return result["messages"][-1].content + + +# @@@SNIPEND diff --git a/deepagents_plugin/react_agent/README.md b/deepagents_plugin/react_agent/README.md new file mode 100644 index 000000000..97edbb809 --- /dev/null +++ b/deepagents_plugin/react_agent/README.md @@ -0,0 +1,50 @@ +# React Agent (tool-calling loop) + +A Deep Agent that loops over tool calls until it produces a final answer. This +sample demonstrates the **explicit Workflow-vs-Activity choice per tool** — the +core decision when making an agent durable: + +- **`activity_as_tool`** exposes an existing Temporal activity (`get_weather`) + as a Deep Agents tool. The tool advertises the activity's argument schema to + the model and dispatches to the activity via `workflow.execute_activity`. +- **`tool_as_activity`** wraps a LangChain tool (`web_search`) whose body does + I/O so its execution runs as a `deepagents.invoke_tool` activity instead of + inline in the workflow. + +The agent is built with `create_temporal_deep_agent(..., activity_options=...)` +— the recommended way to scope model-call activity options (timeouts, retry +policy) to one agent instead of relying on the plugin-wide default. Every model +turn and every tool call is a durable activity. + +## What This Sample Demonstrates + +- `create_temporal_deep_agent` with per-agent `activity_options` for model calls +- `activity_as_tool` for an existing `@activity.defn` +- `tool_as_activity` for a LangChain tool that does I/O +- Registering the user activity on the worker alongside the plugin's activities + +## Running the Sample + +Prerequisites: Python >= 3.11 with the [suite setup](../README.md#prerequisites) +applied (interim plugin install), an `ANTHROPIC_API_KEY` in your +environment, and a running Temporal dev server (`temporal server start-dev`). + +> The experimental plugin is not in the `deepagents` group — install it as shown +> in the [suite README](../README.md#prerequisites) and run with `--no-sync`, or +> a bare `uv run`/`uv sync` re-syncs the environment and uninstalls it. + +```bash +# Terminal 1 +uv run --no-sync deepagents_plugin/react_agent/run_worker.py + +# Terminal 2 +uv run --no-sync deepagents_plugin/react_agent/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `get_weather` activity, `web_search` tool, and the `ReactAgent` workflow | +| `run_worker.py` | Adds `DeepAgentsPlugin`, registers `get_weather`, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/deepagents_plugin/react_agent/__init__.py b/deepagents_plugin/react_agent/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/deepagents_plugin/react_agent/run_worker.py b/deepagents_plugin/react_agent/run_worker.py new file mode 100644 index 000000000..531375f76 --- /dev/null +++ b/deepagents_plugin/react_agent/run_worker.py @@ -0,0 +1,37 @@ +"""Worker for the react agent sample. + +The plugin registers the ``deepagents.*`` activities automatically, but the +user's own ``get_weather`` activity (exposed to the agent via +``activity_as_tool``) must be registered on the worker like any other activity. +The ``web_search`` tool wrapped with ``tool_as_activity`` needs no separate +registration — it runs through the plugin's ``deepagents.invoke_tool`` activity. +""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.worker import Worker + +from deepagents_plugin.react_agent.workflow import ReactAgent, get_weather + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[DeepAgentsPlugin()], + ) + + worker = Worker( + client, + task_queue="deepagents-react-agent", + workflows=[ReactAgent], + activities=[get_weather], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/react_agent/run_workflow.py b/deepagents_plugin/react_agent/run_workflow.py new file mode 100644 index 000000000..a7470bc31 --- /dev/null +++ b/deepagents_plugin/react_agent/run_workflow.py @@ -0,0 +1,25 @@ +"""Start the react agent workflow and print the final answer.""" + +import asyncio +import os + +from temporalio.client import Client + +from deepagents_plugin.react_agent.workflow import ReactAgent + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + ReactAgent.run, + "What's the weather in Seattle, and what is Temporal known for?", + id="deepagents-react-agent", + task_queue="deepagents-react-agent", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/react_agent/workflow.py b/deepagents_plugin/react_agent/workflow.py new file mode 100644 index 000000000..dfa3c57c6 --- /dev/null +++ b/deepagents_plugin/react_agent/workflow.py @@ -0,0 +1,82 @@ +"""Tool-calling Deep Agent: the explicit Workflow-vs-Activity choice per tool. + +A Deep Agent holds its tools in-workflow. A tool that only reads/writes agent +state is pure and belongs there; a tool that does real I/O must not run in +workflow code. This sample shows the two explicit ways to move a tool's work to +an activity: + +* ``activity_as_tool`` — surface an existing ``@activity.defn`` (``get_weather``) + as a Deep Agents tool. Temporal adopters already have activities; they should + not have to re-declare them. +* ``tool_as_activity`` — wrap a LangChain tool (``web_search``) whose body does + I/O so its execution runs as a ``deepagents.invoke_tool`` activity. + +The agent itself is built with ``create_temporal_deep_agent`` — the recommended +way to scope ``activity_options`` (timeouts, retry policy) for *this agent's* +model calls, instead of relying on the plugin-wide default. (A vanilla +``create_deep_agent`` with a bare ``model=`` string also works; the plugin wraps +it automatically with the plugin-wide options.) Every model turn and every tool +call in the loop is a durable activity. +""" + +from datetime import timedelta + +from langchain_core.tools import tool +from temporalio import activity, workflow +from temporalio.contrib.deepagents import ( + activity_as_tool, + create_temporal_deep_agent, + tool_as_activity, +) + + +# @@@SNIPSTART python-deepagents-react-agent-activity +@activity.defn +async def get_weather(city: str) -> str: + """Return the current weather for a city.""" + # A real implementation would call a weather API here; this is a stand-in. + return f"It is sunny and 22C in {city}." + + +# @@@SNIPEND + + +# @@@SNIPSTART python-deepagents-react-agent-workflow +@tool +def web_search(query: str) -> str: + """Search the web for a query and return a short result.""" + # Real I/O (an HTTP call) would go here; wrapped with tool_as_activity so it + # runs in an activity, not in workflow code. + return f"Top result for {query!r}: Temporal makes code durable." + + +@workflow.defn +class ReactAgent: + @workflow.run + async def run(self, question: str) -> str: + weather_tool = activity_as_tool( + get_weather, + start_to_close_timeout=timedelta(seconds=30), + ) + search_tool = tool_as_activity( + web_search, + start_to_close_timeout=timedelta(seconds=30), + ) + agent = create_temporal_deep_agent( + model="anthropic:claude-sonnet-4-5", + tools=[weather_tool, search_tool], + system_prompt=( + "You are a research assistant. Use the get_weather and " + "web_search tools when they help answer the question." + ), + # Scopes the model-call activity options to this agent — the + # recommended way to set model timeouts/retries per agent. + activity_options={"start_to_close_timeout": timedelta(minutes=2)}, + ) + result = await agent.ainvoke( + {"messages": [{"role": "user", "content": question}]} + ) + return result["messages"][-1].content + + +# @@@SNIPEND diff --git a/deepagents_plugin/streaming/README.md b/deepagents_plugin/streaming/README.md new file mode 100644 index 000000000..6697df96f --- /dev/null +++ b/deepagents_plugin/streaming/README.md @@ -0,0 +1,51 @@ +# Streaming + +Stream model output from a durable workflow to external subscribers in real +time, while keeping the durable workflow result identical to the non-streaming +path. Streaming is async-only, so the workflow drives the plugin's +`TemporalModel.astream(...)` directly — the same seam a full Deep Agent's model +calls go through. + +Constructing the plugin with `DeepAgentsPlugin(streaming_topic=...)` flips model +dispatch from `deepagents.invoke_model` to `deepagents.invoke_model_streaming`. +The streaming activity coalesces chunk batches and publishes them to a +`temporalio.contrib.workflow_streams` topic; the aggregated final message is +still returned to the workflow. + +Streaming is async-only, so the workflow drives an explicit +`TemporalModel.astream(...)` and hosts a `WorkflowStream` so subscribers can +attach by workflow id. The starter subscribes to the topic and prints chunks as +they arrive. + +## What This Sample Demonstrates + +- `DeepAgentsPlugin(streaming_topic=...)` to enable streaming dispatch +- Hosting a `WorkflowStream` in the workflow and driving `TemporalModel.astream` +- A client subscribing via `WorkflowStreamClient` and decoding `AIMessageChunk` + batches with `langchain_core.load.load` + +## Running the Sample + +Prerequisites: Python >= 3.11 with the [suite setup](../README.md#prerequisites) +applied (interim plugin install), an `ANTHROPIC_API_KEY` in your +environment, and a running Temporal dev server (`temporal server start-dev`). + +> The experimental plugin is not in the `deepagents` group — install it as shown +> in the [suite README](../README.md#prerequisites) and run with `--no-sync`, or +> a bare `uv run`/`uv sync` re-syncs the environment and uninstalls it. + +```bash +# Terminal 1 +uv run --no-sync deepagents_plugin/streaming/run_worker.py + +# Terminal 2 +uv run --no-sync deepagents_plugin/streaming/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `StreamingWorkflow` hosting a `WorkflowStream`, driving `astream` | +| `run_worker.py` | Adds `DeepAgentsPlugin(streaming_topic=...)`, starts the worker | +| `run_workflow.py` | Starts the workflow and prints streamed chunks live | diff --git a/deepagents_plugin/streaming/__init__.py b/deepagents_plugin/streaming/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/deepagents_plugin/streaming/run_worker.py b/deepagents_plugin/streaming/run_worker.py new file mode 100644 index 000000000..024a9e1c4 --- /dev/null +++ b/deepagents_plugin/streaming/run_worker.py @@ -0,0 +1,34 @@ +"""Worker for the streaming sample. + +``streaming_topic=`` is what turns on streaming: with it set, the plugin routes +model calls through the ``deepagents.invoke_model_streaming`` activity, which +publishes chunk batches to that workflow-streams topic. +""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.worker import Worker + +from deepagents_plugin.streaming.workflow import STREAMING_TOPIC, StreamingWorkflow + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[DeepAgentsPlugin(streaming_topic=STREAMING_TOPIC)], + ) + + worker = Worker( + client, + task_queue="deepagents-streaming", + workflows=[StreamingWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/streaming/run_workflow.py b/deepagents_plugin/streaming/run_workflow.py new file mode 100644 index 000000000..fe41261d5 --- /dev/null +++ b/deepagents_plugin/streaming/run_workflow.py @@ -0,0 +1,74 @@ +"""Start the streaming workflow and print model chunks live. + +Subscribes to the workflow-streams topic the streaming activity publishes to and +renders each chunk's text as it arrives. Each published item is an +``AIMessageChunk`` in ``langchain_core.load.dumpd`` form, so it is reconstructed +with ``langchain_core.load.load``. The final aggregated message is also returned +as the workflow result (identical to the non-streaming path). +""" + +import asyncio +import os +from datetime import timedelta + +from langchain_core.load import load +from temporalio.client import Client +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from deepagents_plugin.streaming.workflow import STREAMING_TOPIC, StreamingWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + workflow_id = "deepagents-streaming" + + handle = await client.start_workflow( + StreamingWorkflow.run, + "Write a short paragraph about durable execution.", + id=workflow_id, + task_queue="deepagents-streaming", + ) + + printed: list[str] = [] + + async def consume() -> None: + stream = WorkflowStreamClient.create(client, workflow_id) + async for item in stream.subscribe( + [STREAMING_TOPIC], + from_offset=0, + result_type=dict, + poll_cooldown=timedelta(milliseconds=50), + ): + chunk = load(item.data) + text = getattr(chunk, "content", "") + if text: + printed.append(str(text)) + print(text, end="", flush=True) + + consume_task = asyncio.create_task(consume()) + result = await handle.result() + + # The workflow has completed, but the subscriber may still be catching up on + # the tail of the stream. The streamed chunks add up to the durable result, + # so drain until all of it has been printed; the timeout only bounds a + # regression, it never gates the happy path. + async def drained() -> None: + while result not in "".join(printed): + await asyncio.sleep(0.05) + + try: + await asyncio.wait_for(drained(), timeout=10.0) + except asyncio.TimeoutError: + print("\n(timed out waiting for the subscriber to drain the stream)") + consume_task.cancel() + try: + await consume_task + except asyncio.CancelledError: + pass + + print() + print(f"Final result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/streaming/workflow.py b/deepagents_plugin/streaming/workflow.py new file mode 100644 index 000000000..3cb0910d3 --- /dev/null +++ b/deepagents_plugin/streaming/workflow.py @@ -0,0 +1,40 @@ +"""Stream model output to external subscribers while keeping a durable result. + +Constructing the plugin with ``DeepAgentsPlugin(streaming_topic=...)`` flips +model dispatch from ``deepagents.invoke_model`` to +``deepagents.invoke_model_streaming``: the streaming activity coalesces chunk +batches and publishes them to a ``temporalio.contrib.workflow_streams`` topic for +subscribers, while the aggregated final message is still returned to the workflow +(so the durable result is identical to the non-streaming path). + +Streaming is async-only, so the workflow drives an explicit +``TemporalModel.astream(...)``. It hosts a ``WorkflowStream`` so external +subscribers can attach by workflow id (see ``run_workflow.py``). +""" + +# @@@SNIPSTART python-deepagents-streaming-workflow +from langchain_core.messages import HumanMessage +from temporalio import workflow +from temporalio.contrib.deepagents import TemporalModel +from temporalio.contrib.workflow_streams import WorkflowStream + +STREAMING_TOPIC = "model-chunks" + + +@workflow.defn +class StreamingWorkflow: + def __init__(self) -> None: + # Host the stream so the publish-Signal handler is registered before the + # streaming activity (the external publisher) starts publishing. + self.stream = WorkflowStream() + + @workflow.run + async def run(self, prompt: str) -> str: + model = TemporalModel(model="anthropic:claude-sonnet-4-5") + parts: list[str] = [] + async for chunk in model.astream([HumanMessage(content=prompt)]): + parts.append(str(chunk.content)) + return "".join(parts) + + +# @@@SNIPEND diff --git a/deepagents_plugin/subagents/README.md b/deepagents_plugin/subagents/README.md new file mode 100644 index 000000000..c3f8f8a2b --- /dev/null +++ b/deepagents_plugin/subagents/README.md @@ -0,0 +1,45 @@ +# Subagents + +Durability propagates across the entire agent tree with **no per-sub-agent +wiring**. A coordinator agent built with `create_deep_agent(..., subagents=[...])` +delegates to its sub-agents through the built-in `task` tool. Deep Agents builds +each sub-agent as a separate graph, but they inherit the parent's `model` object +by default — so because the plugin makes that one model object durable, every +sub-agent's model call also becomes a `deepagents.invoke_model` activity +automatically. + +In this sample the coordinator delegates deep investigation to a `researcher` +sub-agent and then synthesizes a final answer. Both the coordinator's and the +researcher's LLM calls run as durable activities. + +## What This Sample Demonstrates + +- `create_deep_agent(subagents=[...])` with a delegated `researcher` +- Durability inheritance: sub-agent model calls route through activities with no + extra wiring + +## Running the Sample + +Prerequisites: Python >= 3.11 with the [suite setup](../README.md#prerequisites) +applied (interim plugin install), an `ANTHROPIC_API_KEY` in your +environment, and a running Temporal dev server (`temporal server start-dev`). + +> The experimental plugin is not in the `deepagents` group — install it as shown +> in the [suite README](../README.md#prerequisites) and run with `--no-sync`, or +> a bare `uv run`/`uv sync` re-syncs the environment and uninstalls it. + +```bash +# Terminal 1 +uv run --no-sync deepagents_plugin/subagents/run_worker.py + +# Terminal 2 +uv run --no-sync deepagents_plugin/subagents/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `SubagentsWorkflow`: a coordinator with a `researcher` sub-agent | +| `run_worker.py` | Adds `DeepAgentsPlugin`, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/deepagents_plugin/subagents/__init__.py b/deepagents_plugin/subagents/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/deepagents_plugin/subagents/run_worker.py b/deepagents_plugin/subagents/run_worker.py new file mode 100644 index 000000000..c5abb5636 --- /dev/null +++ b/deepagents_plugin/subagents/run_worker.py @@ -0,0 +1,29 @@ +"""Worker for the subagents sample.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.worker import Worker + +from deepagents_plugin.subagents.workflow import SubagentsWorkflow + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[DeepAgentsPlugin()], + ) + + worker = Worker( + client, + task_queue="deepagents-subagents", + workflows=[SubagentsWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/subagents/run_workflow.py b/deepagents_plugin/subagents/run_workflow.py new file mode 100644 index 000000000..226b52cb1 --- /dev/null +++ b/deepagents_plugin/subagents/run_workflow.py @@ -0,0 +1,25 @@ +"""Start the subagents workflow and print the coordinator's synthesized answer.""" + +import asyncio +import os + +from temporalio.client import Client + +from deepagents_plugin.subagents.workflow import SubagentsWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + SubagentsWorkflow.run, + "Investigate how Temporal handles workflow retries and summarize it.", + id="deepagents-subagents", + task_queue="deepagents-subagents", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/deepagents_plugin/subagents/workflow.py b/deepagents_plugin/subagents/workflow.py new file mode 100644 index 000000000..8822ba16d --- /dev/null +++ b/deepagents_plugin/subagents/workflow.py @@ -0,0 +1,46 @@ +"""Durability propagates across the whole agent tree — no per-sub-agent wiring. + +A coordinator built with ``create_deep_agent(..., subagents=[...])`` delegates to +its sub-agents via the built-in ``task`` tool. Deep Agents builds each sub-agent +as a separate graph, but they inherit the parent's ``model`` object by default. +Because the plugin makes that model object durable (each generation is a +``deepagents.invoke_model`` activity), every sub-agent's model call is +automatically durable too — you wire the plugin once and the whole tree is +covered. + +Here the coordinator delegates deep investigation to a ``researcher`` sub-agent +and then synthesizes a final answer; both the coordinator's and the researcher's +model calls run as activities. +""" + +# @@@SNIPSTART python-deepagents-subagents-workflow +from deepagents import create_deep_agent +from temporalio import workflow + + +@workflow.defn +class SubagentsWorkflow: + @workflow.run + async def run(self, question: str) -> str: + agent = create_deep_agent( + model="anthropic:claude-sonnet-4-5", + system_prompt=( + "You are a research coordinator. Delegate deep investigation to " + "the researcher sub-agent via the task tool, then synthesize a " + "final answer." + ), + subagents=[ + { + "name": "researcher", + "description": "Researches a topic in depth and reports findings.", + "system_prompt": "You research topics thoroughly and report back.", + } + ], + ) + result = await agent.ainvoke( + {"messages": [{"role": "user", "content": question}]} + ) + return result["messages"][-1].content + + +# @@@SNIPEND diff --git a/dsl/README.md b/dsl/README.md index 4000b3a3d..5eca4fa44 100644 --- a/dsl/README.md +++ b/dsl/README.md @@ -6,24 +6,24 @@ samples [in TypeScript](https://github.com/temporalio/samples-typescript/tree/ma For this sample, the optional `dsl` dependency group must be included. To include, run: - poetry install --with dsl + uv sync --group dsl -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory to start the +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the worker: - poetry run python worker.py + uv run dsl/worker.py This will start the worker. Then, in another terminal, run the following to execute a workflow of steps defined in -[workflow1.yaml](workflow1.yaml): +[workflow1.yaml](dsl/workflow1.yaml): - poetry run python starter.py workflow1.yaml + uv run dsl/starter.py dsl/workflow1.yaml This will run the workflow and show the final variables that the workflow returns. Looking in the worker terminal, each step executed will be visible. -Similarly we can do the same for the more advanced [workflow2.yaml](workflow2.yaml) file: +Similarly we can do the same for the more advanced [workflow2.yaml](dsl/workflow2.yaml) file: - poetry run python starter.py workflow2.yaml + uv run dsl/starter.py dsl/workflow2.yaml This sample gives a guide of how one can write a workflow to interpret arbitrary steps from a user-provided DSL. Many DSL models are more advanced and are more specific to conform to business logic needs. \ No newline at end of file diff --git a/dsl/starter.py b/dsl/starter.py index e530b10ee..eb0f328de 100644 --- a/dsl/starter.py +++ b/dsl/starter.py @@ -6,6 +6,7 @@ import dacite import yaml from temporalio.client import Client +from temporalio.envconfig import ClientConfig from dsl.workflow import DSLInput, DSLWorkflow @@ -16,7 +17,9 @@ async def main(dsl_yaml: str) -> None: dsl_input = dacite.from_dict(DSLInput, yaml.safe_load(dsl_yaml)) # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run workflow result = await client.execute_workflow( diff --git a/dsl/worker.py b/dsl/worker.py index 9945492ed..e52ec8720 100644 --- a/dsl/worker.py +++ b/dsl/worker.py @@ -2,6 +2,7 @@ import logging from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker from dsl.activities import DSLActivities @@ -12,7 +13,9 @@ async def main(): # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the activities and workflow activities = DSLActivities() diff --git a/eager_wf_start/README.md b/eager_wf_start/README.md new file mode 100644 index 000000000..834c6a55d --- /dev/null +++ b/eager_wf_start/README.md @@ -0,0 +1,16 @@ +# Eager Workflow Start + +This sample shows how to create a workflow that uses Eager Workflow Start. + +The target use case is workflows whose first task needs to execute quickly (ex: payment verification in an online checkout workflow). That work typically can't be done directly in the workflow (ex: using web APIs, databases, etc.), and also needs to avoid the overhead of dispatching another task. Using a Local Activity suffices both needs, which this sample demonstrates. + +You can read more about Eager Workflow Start in our: + +- [Eager Workflow Start blog](https://temporal.io/blog/improving-latency-with-eager-workflow-start) +- [Worker Performance Docs](https://docs.temporal.io/develop/worker-performance#eager-workflow-start) + +To run, first see the main [README.md](../README.md) for prerequisites. + +Then run the sample via: + + uv run eager_wf_start/run.py \ No newline at end of file diff --git a/eager_wf_start/__init__.py b/eager_wf_start/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/eager_wf_start/activities.py b/eager_wf_start/activities.py new file mode 100644 index 000000000..6533140f2 --- /dev/null +++ b/eager_wf_start/activities.py @@ -0,0 +1,6 @@ +from temporalio import activity + + +@activity.defn() +async def greeting(name: str) -> str: + return f"Hello {name}!" diff --git a/eager_wf_start/run.py b/eager_wf_start/run.py new file mode 100644 index 000000000..34d807e0a --- /dev/null +++ b/eager_wf_start/run.py @@ -0,0 +1,45 @@ +import asyncio +import uuid + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from eager_wf_start.activities import greeting +from eager_wf_start.workflows import EagerWorkflow + +TASK_QUEUE = "eager-wf-start-task-queue" + + +async def main(): + # Note that the worker and client run in the same process and share the same client connection. + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + worker = Worker( + client, + task_queue=TASK_QUEUE, + workflows=[EagerWorkflow], + activities=[greeting], + ) + + # Run worker in the background + async with worker: + # Start workflow(s) while worker is running + wf_handle = await client.start_workflow( + EagerWorkflow.run, + "Temporal", + id=f"eager-workflow-id-{uuid.uuid4()}", + task_queue=TASK_QUEUE, + request_eager_start=True, + ) + + # This is an internal flag not intended to be used publicly. + # It is used here purely to display that the workflow was eagerly started. + print(f"Workflow eagerly started: {wf_handle.__temporal_eagerly_started}") + print(await wf_handle.result()) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/eager_wf_start/workflows.py b/eager_wf_start/workflows.py new file mode 100644 index 000000000..9107d4027 --- /dev/null +++ b/eager_wf_start/workflows.py @@ -0,0 +1,15 @@ +from datetime import timedelta + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from eager_wf_start.activities import greeting + + +@workflow.defn +class EagerWorkflow: + @workflow.run + async def run(self, name: str) -> str: + return await workflow.execute_local_activity( + greeting, name, schedule_to_close_timeout=timedelta(seconds=5) + ) diff --git a/encryption/README.md b/encryption/README.md index b3e1de433..c323e38ba 100644 --- a/encryption/README.md +++ b/encryption/README.md @@ -4,51 +4,48 @@ This sample shows how to make an encryption codec for end-to-end encryption. It samples [in TypeScript](https://github.com/temporalio/samples-typescript/tree/main/encryption) and [in Go](https://github.com/temporalio/samples-go/tree/main/encryption). + For this sample, the optional `encryption` dependency group must be included. To include, run: - poetry install --with encryption + uv sync --group encryption -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory to start the +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the worker: - poetry run python worker.py + uv run encryption/worker.py This will start the worker. Then, in another terminal, run the following to execute the workflow: - poetry run python starter.py + uv run encryption/starter.py -The workflow should complete with the hello result. To view the workflow, use [tctl](https://docs.temporal.io/tctl-v1/): +The workflow should complete with the hello result. To view the workflow, use [temporal](https://docs.temporal.io/cli): - tctl workflow show --workflow_id encryption-workflow-id + temporal workflow show --workflow-id encryption-workflow-id -Note how the input/result look like (with wrapping removed): +Note how the result looks like (with wrapping removed): ``` - Input:[encoding binary/encrypted: payload encoding is not supported] - ... - Result:[encoding binary/encrypted: payload encoding is not supported] + Output:[encoding binary/encrypted: payload encoding is not supported] ``` -This is because the data is encrypted and not visible. To make data visible to external Temporal tools like `tctl` and +This is because the data is encrypted and not visible. To make data visible to external Temporal tools like `temporal` and the UI, start a codec server in another terminal: - poetry run python codec_server.py + uv run encryption/codec_server.py -Now with that running, run `tctl` again with the codec endpoint: +Now with that running, run `temporal` again with the codec endpoint: - tctl --codec_endpoint http://localhost:8081 workflow show --workflow_id encryption-workflow-id + temporal workflow show --workflow-id encryption-workflow-id --codec-endpoint http://localhost:8081 Notice now the output has the unencrypted values: ``` - Input:["Temporal"] - ... Result:["Hello, Temporal"] ``` This decryption did not leave the local machine here. Same case with the web UI. If you go to the web UI, you'll only see encrypted input/results. But, assuming your web UI -is at `http://localhost:8080`, if you set the "Remote Codec Endpoint" in the web UI to `http://localhost:8081` you can +is at `http://localhost:8233` (this is the default for the local dev server), if you set the "Remote Codec Endpoint" in the web UI to `http://localhost:8081` you can then see the unencrypted results. This is possible because CORS settings in the codec server allow the browser to access the codec server directly over localhost. They can be changed to suit Temporal cloud web UI instead if necessary. \ No newline at end of file diff --git a/encryption/codec.py b/encryption/codec.py index 6aaa58be8..9f79526f8 100644 --- a/encryption/codec.py +++ b/encryption/codec.py @@ -1,4 +1,3 @@ -import base64 import os from typing import Iterable, List diff --git a/encryption/codec_server.py b/encryption/codec_server.py index 4bd04214e..3e3029f2a 100644 --- a/encryption/codec_server.py +++ b/encryption/codec_server.py @@ -12,8 +12,8 @@ def build_codec_server() -> web.Application: # Cors handler async def cors_options(req: web.Request) -> web.Response: resp = web.Response() - if req.headers.get(hdrs.ORIGIN) == "http://localhost:8080": - resp.headers[hdrs.ACCESS_CONTROL_ALLOW_ORIGIN] = "http://localhost:8080" + if req.headers.get(hdrs.ORIGIN) == "http://localhost:8233": + resp.headers[hdrs.ACCESS_CONTROL_ALLOW_ORIGIN] = "http://localhost:8233" resp.headers[hdrs.ACCESS_CONTROL_ALLOW_METHODS] = "POST" resp.headers[hdrs.ACCESS_CONTROL_ALLOW_HEADERS] = "content-type,x-namespace" return resp diff --git a/encryption/starter.py b/encryption/starter.py index 4c39f5536..f25709367 100644 --- a/encryption/starter.py +++ b/encryption/starter.py @@ -3,15 +3,19 @@ import temporalio.converter from temporalio.client import Client +from temporalio.envconfig import ClientConfig from encryption.codec import EncryptionCodec from encryption.worker import GreetingWorkflow async def main(): + # Load configuration + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") # Connect client client = await Client.connect( - "localhost:7233", + **config, # Use the default converter, but change the codec data_converter=dataclasses.replace( temporalio.converter.default(), payload_codec=EncryptionCodec() diff --git a/encryption/worker.py b/encryption/worker.py index b99a2eab7..d3387c70c 100644 --- a/encryption/worker.py +++ b/encryption/worker.py @@ -4,6 +4,7 @@ import temporalio.converter from temporalio import workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker from encryption.codec import EncryptionCodec @@ -20,9 +21,11 @@ async def run(self, name: str) -> str: async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") # Connect client client = await Client.connect( - "localhost:7233", + **config, # Use the default converter, but change the codec data_converter=dataclasses.replace( temporalio.converter.default(), payload_codec=EncryptionCodec() diff --git a/env_config/README.md b/env_config/README.md new file mode 100644 index 000000000..6496900a5 --- /dev/null +++ b/env_config/README.md @@ -0,0 +1,43 @@ +# Temporal External Client Configuration Samples + +This directory contains Python samples that demonstrate how to use the Temporal SDK's external client configuration feature. This feature allows you to configure a `temporalio.client.Client` using a TOML file and/or programmatic overrides, decoupling connection settings from your application code. + +## Prerequisites + +To run, first see [README.md](../README.md) for prerequisites. + +## Configuration File + +The `config.toml` file defines three profiles for different environments: + +- `[profile.default]`: A working configuration for local development. +- `[profile.staging]`: A configuration with an intentionally **incorrect** address (`localhost:9999`) to demonstrate how it can be corrected by an override. +- `[profile.prod]`: A non-runnable, illustrative-only configuration showing a realistic setup for Temporal Cloud with placeholder credentials. This profile is not used by the samples but serves as a reference. + +## Samples + +The following Python scripts demonstrate different ways to load and use these configuration profiles. Each runnable sample highlights a unique feature. + +### `load_from_file.py` + +This sample shows the most common use case: loading the `default` profile from the `config.toml` file. + +**To run this sample:** + +```bash +uv run env_config/load_from_file.py +``` + +### `load_profile.py` + +This sample demonstrates loading the `staging` profile by name (which has an incorrect address) and then correcting the address programmatically. This highlights the recommended approach for overriding configuration values at runtime. + +**To run this sample:** + +```bash +uv run env_config/load_profile.py +``` + +## Running the Samples + +You can run each sample script directly from the root of the `samples-python` repository. Ensure you have the necessary dependencies installed by running `pip install -e .` (or the equivalent for your environment). \ No newline at end of file diff --git a/env_config/__init__.py b/env_config/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/env_config/config.toml b/env_config/config.toml new file mode 100644 index 000000000..81f07f786 --- /dev/null +++ b/env_config/config.toml @@ -0,0 +1,40 @@ +# This is a sample configuration file for demonstrating Temporal's environment +# configuration feature. It defines multiple profiles for different environments, +# such as local development, production, and staging. + +# Default profile for local development +[profile.default] +address = "localhost:7233" +namespace = "default" + +# Optional: Add custom gRPC headers +[profile.default.grpc_meta] +my-custom-header = "development-value" +trace-id = "dev-trace-123" + +# Staging profile with inline certificate data +[profile.staging] +address = "localhost:9999" +namespace = "staging" + +# An example production profile for Temporal Cloud +[profile.prod] +address = "your-namespace.a1b2c.tmprl.cloud:7233" +namespace = "your-namespace" +# Replace with your actual Temporal Cloud API key +api_key = "your-api-key-here" + +# TLS configuration for production +[profile.prod.tls] +# TLS is auto-enabled when an API key is present, but you can configure it +# explicitly. +# disabled = false + +# Use certificate files for mTLS. Replace with actual paths. +client_cert_path = "/etc/temporal/certs/client.pem" +client_key_path = "/etc/temporal/certs/client.key" + +# Custom headers for production +[profile.prod.grpc_meta] +environment = "production" +service-version = "v1.2.3" \ No newline at end of file diff --git a/env_config/load_from_file.py b/env_config/load_from_file.py new file mode 100644 index 000000000..ab3bad145 --- /dev/null +++ b/env_config/load_from_file.py @@ -0,0 +1,46 @@ +""" +This sample demonstrates loading the default environment configuration profile +from a TOML file. +""" + +import asyncio +from pathlib import Path + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + + +async def main(): + """ + Loads the default profile from the config.toml file in this directory. + """ + print("--- Loading default profile from config.toml ---") + + # For this sample to be self-contained, we explicitly provide the path to + # the config.toml file included in this directory. + # By default though, the config.toml file will be loaded from + # ~/.config/temporalio/temporal.toml (or the equivalent standard config directory on your OS). + config_file = Path(__file__).parent / "config.toml" + + # load_client_connect_config is a helper that loads a profile and prepares + # the config dictionary for Client.connect. By default, it loads the + # "default" profile. + connect_config = ClientConfig.load_client_connect_config( + config_file=str(config_file) + ) + + print(f"Loaded 'default' profile from {config_file}.") + print(f" Address: {connect_config.get('target_host')}") + print(f" Namespace: {connect_config.get('namespace')}") + print(f" gRPC Metadata: {connect_config.get('rpc_metadata')}") + + print("\nAttempting to connect to client...") + try: + await Client.connect(**connect_config) # type: ignore + print("✅ Client connected successfully!") + except Exception as e: + print(f"❌ Failed to connect: {e}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/env_config/load_profile.py b/env_config/load_profile.py new file mode 100644 index 000000000..fe4f51cf9 --- /dev/null +++ b/env_config/load_profile.py @@ -0,0 +1,52 @@ +""" +This sample demonstrates loading a named environment configuration profile and +programmatically overriding its values. +""" + +import asyncio +from pathlib import Path + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + + +async def main(): + """ + Demonstrates loading a named profile and overriding values programmatically. + """ + print("--- Loading 'staging' profile with programmatic overrides ---") + + config_file = Path(__file__).parent / "config.toml" + profile_name = "staging" + + print( + "The 'staging' profile in config.toml has an incorrect address (localhost:9999)." + ) + print("We'll programmatically override it to the correct address.") + + # Load the 'staging' profile. + connect_config = ClientConfig.load_client_connect_config( + profile=profile_name, + config_file=str(config_file), + ) + + # Override the target host to the correct address. + # This is the recommended way to override configuration values. + connect_config["target_host"] = "localhost:7233" + + print(f"\nLoaded '{profile_name}' profile from {config_file} with overrides.") + print( + f" Address: {connect_config.get('target_host')} (overridden from localhost:9999)" + ) + print(f" Namespace: {connect_config.get('namespace')}") + + print("\nAttempting to connect to client...") + try: + await Client.connect(**connect_config) # type: ignore + print("✅ Client connected successfully!") + except Exception as e: + print(f"❌ Failed to connect: {e}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/external_storage/README.md b/external_storage/README.md new file mode 100644 index 000000000..9da616252 --- /dev/null +++ b/external_storage/README.md @@ -0,0 +1,143 @@ +# External Storage Sample + +This sample demonstrates how to offload large workflow payloads to Amazon S3-compatible +object storage using the Temporal Python SDK's built-in `ExternalStorage` system, +combined with a gzip `PayloadCodec` so the payloads stored inline in Temporal and in +S3 are both compressed. + +**Scenario:** A fulfillment center processes batches of shipping orders. The workflow +receives a small request (a batch ID and order count), then internally calls a +`fetch_orders` activity that returns the full list of orders with customer records, +line items, and handling notes. That list — several hundred kilobytes even after +compression — is passed to a second `process_orders` activity. Finally the workflow +returns a small `BatchSummary` with totals. + +Each payload is first compressed by `CompressionCodec`. The SDK then checks the +compressed size against the default 256 KiB threshold; payloads still above it are +stored in S3 and replaced inline with compact claim-check references. The workflow's +own input (`OrderBatchRequest`) and result (`BatchSummary`) compress to a few hundred +bytes and remain inline. + +A mock S3 service (`s3.py`) is included so you can run the sample locally without +an AWS account or Docker. A `codec_server.py` is included to decompress payloads +on demand for the Temporal Web UI. + +## Prerequisites + +* [uv](https://docs.astral.sh/uv/) +* [Temporal CLI](https://docs.temporal.io/cli) with a local dev server running: + ``` + temporal server start-dev + ``` + +## 1. Sync dependencies + +```bash +uv sync --group external-storage +``` + +## 2. Start the mock S3 service + +In a dedicated terminal: + +```bash +uv run external_storage/s3.py +``` + +This starts a local S3-compatible server on port 5000 and creates the `temporal-payloads` +bucket. Leave it running for the duration of the sample. + +## 3. Run the worker + +In a second terminal: + +```bash +uv run external_storage/worker.py +``` + +## 4. Run the starter + +In a third terminal: + +```bash +uv run external_storage/starter.py +``` + +Example output: + +``` +Starting workflow external-storage-20260501-120000 (batch_id=BATCH-20260501-120000, order_count=200) + +Batch BATCH-20260501-120000: 200 orders processed + Total shipping cost: $28,512.40 + Total weight: 19,684.2 kg + Avg delivery: 4.4 days +``` + +## 5. (Optional) Run the codec server + +Workflow payloads are gzip-compressed; the large ones additionally live in S3 as +external storage references. The codec server serves both transformations on demand +for the Temporal Web UI. Run it in a fourth terminal: + +```bash +uv run external_storage/codec_server.py +``` + +In the Temporal Web UI (http://localhost:8233), open Settings → Data Encoder and set +the Remote Codec Endpoint to `http://localhost:8081`. Reload the workflow page and the +inline compressed payloads will be displayed as readable JSON, and externally-stored +payloads can be downloaded to fetch their actual content from S3. + +The Web UI sends the namespace as the `X-Namespace` header on each request, so +multi-namespace setups can dispatch by reading that header. + +| Endpoint | Behavior | +| --- | --- | +| `POST /encode` | Compress the payload, then offload to S3 if it exceeds the threshold. | +| `POST /decode` | Retrieve any external storage references from S3, then decompress. Pass `?preserveStorageRefs=true` to leave references as-is. | +| `POST /download` | All inputs must be storage references. Retrieves them from S3 and decompresses. | + +## 6. Inspect the workflow + +Run `temporal workflow show` to see how payloads are stored: + +```bash +temporal workflow show --workflow-id external-storage- +``` + +The workflow's input (`OrderBatchRequest`) and result (`BatchSummary`) are gzip-encoded +and stored inline in Temporal — small enough to compress to a few hundred bytes. The +two activity payloads carrying the order list — the output of `fetch_orders` and the +input to `process_orders` — exceed 256 KiB even after compression, so they appear as +external storage references, confirming the SDK offloaded them to S3. + +## How it works + +The `DataConverter` is configured with both a `payload_codec` and an `external_storage`: + +```python +driver = S3StorageDriver( + client=new_aioboto3_client(s3_client), + bucket=S3_BUCKET, +) +data_converter = dataclasses.replace( + temporalio.converter.default(), + payload_codec=CompressionCodec(), + external_storage=ExternalStorage(drivers=[driver]), +) +``` + +On the encode path the SDK: + +1. Serializes the Python value to a `Payload`. +2. Runs `CompressionCodec.encode` to gzip the payload bytes. +3. Checks the compressed size against `payload_size_threshold` (default: 256 KiB). +4. If still above the threshold, stores the compressed bytes in S3 via + `S3StorageDriver` and replaces the inline payload with a claim-check reference. + +On the decode path the SDK reverses these steps, transparently retrieving from S3 and +decompressing as needed. + +Both the worker and the starter must use the **same** `DataConverter` configuration +(codec **and** storage) so each side can read what the other wrote. diff --git a/external_storage/__init__.py b/external_storage/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/external_storage/_sample_data.py b/external_storage/_sample_data.py new file mode 100644 index 000000000..9d684f093 --- /dev/null +++ b/external_storage/_sample_data.py @@ -0,0 +1,72 @@ +"""Order data generation for the external_storage sample. + +Produces payloads large enough to exceed the default 256 KiB ExternalStorage +threshold without hand-crafted catalogs of items, addresses, or notes — each +order is padded with random filler text in its item descriptions and shipping +notes. Calibrated so 100 orders serialize to roughly 300 KiB of JSON. +""" + +import random +import string +from typing import List + +from external_storage.workflows import Address, Customer, Order, OrderItem + +_CITIES = [ + ("Houston", "TX"), + ("Dallas", "TX"), + ("Los Angeles", "CA"), + ("San Francisco", "CA"), + ("Denver", "CO"), + ("Miami", "FL"), + ("Chicago", "IL"), + ("New York", "NY"), + ("Seattle", "WA"), + ("Atlanta", "GA"), +] + +_ITEMS_PER_ORDER = 5 +_ITEM_DESCRIPTION_CHARS = 500 +_SHIPPING_NOTES_CHARS = 200 + + +def _filler(rng: random.Random, n: int) -> str: + return "".join(rng.choices(string.ascii_letters + " ", k=n)) + + +def generate_orders(batch_id: str, count: int) -> List[Order]: + return [_generate_order(batch_id, i) for i in range(1, count + 1)] + + +def _generate_order(batch_id: str, index: int) -> Order: + rng = random.Random(f"{batch_id}-{index}") + city, state = rng.choice(_CITIES) + items = [ + OrderItem( + sku=f"SKU-{rng.randint(10000, 99999)}", + name=f"Product {rng.randint(1, 999)}", + description=_filler(rng, _ITEM_DESCRIPTION_CHARS), + quantity=rng.randint(1, 10), + unit_price_usd=round(rng.uniform(10.0, 1000.0), 2), + weight_kg=round(rng.uniform(0.5, 50.0), 2), + ) + for _ in range(_ITEMS_PER_ORDER) + ] + return Order( + id=f"ORD-{index:06d}", + customer=Customer( + id=f"CUST-{index:06d}", + name=f"Customer {index}", + email=f"customer{index}@example.com", + address=Address( + street=f"{rng.randint(100, 9999)} Main Street", + city=city, + state=state, + zip_code=f"{rng.randint(10000, 99999)}", + country="US", + ), + ), + items=items, + total_weight_kg=round(sum(i.weight_kg * i.quantity for i in items), 2), + shipping_notes=_filler(rng, _SHIPPING_NOTES_CHARS), + ) diff --git a/external_storage/codec.py b/external_storage/codec.py new file mode 100644 index 000000000..cdc7d2d0b --- /dev/null +++ b/external_storage/codec.py @@ -0,0 +1,30 @@ +import gzip +from collections.abc import Iterable +from typing import List + +from temporalio.api.common.v1 import Payload +from temporalio.converter import PayloadCodec + + +class CompressionCodec(PayloadCodec): + """Gzip-based payload codec.""" + + ENCODING = b"binary/gzip" + + async def encode(self, payloads: Iterable[Payload]) -> List[Payload]: + return [ + Payload( + metadata={"encoding": self.ENCODING}, + data=gzip.compress(p.SerializeToString()), + ) + for p in payloads + ] + + async def decode(self, payloads: Iterable[Payload]) -> List[Payload]: + result: List[Payload] = [] + for p in payloads: + if p.metadata.get("encoding") == self.ENCODING: + result.append(Payload.FromString(gzip.decompress(p.data))) + else: + result.append(p) + return result diff --git a/external_storage/codec_server.py b/external_storage/codec_server.py new file mode 100644 index 000000000..88dc0944e --- /dev/null +++ b/external_storage/codec_server.py @@ -0,0 +1,175 @@ +"""Run the codec server for the external_storage sample. + +Sets up S3 access via aioboto3 against the mock service in ``s3.py``, then +serves the payload HTTP handler from :mod:`handler` configured with the same +codec and external storage that the worker and starter use. + +``build_namespace_dispatcher`` routes by the ``X-Namespace`` request header +so a single codec server process can host different codec/storage +configurations per namespace — this sample only configures one ("default"). + +To use this server, set the Web UI's Remote Codec Endpoint (Settings → Data +Encoder) to the URL printed when the server starts. + +Deliberately left out for sample simplicity: authentication (would slot in +as a middleware between CORS and the dispatcher), configurable listen +address/port, and structured logging/tracing. +""" + +import asyncio +import logging +from typing import Awaitable, Callable, Iterable, Mapping + +import aioboto3 +from aiohttp import hdrs, web +from temporalio.contrib.aws.s3driver import S3StorageDriver +from temporalio.contrib.aws.s3driver.aioboto3 import new_aioboto3_client +from temporalio.converter import ExternalStorage + +from external_storage.codec import CompressionCodec +from external_storage.handler import payload_routes +from external_storage.worker import ( + S3_ACCESS_KEY, + S3_BUCKET, + S3_ENDPOINT, + S3_SECRET_KEY, +) + +WEB_UI_ORIGIN = "http://localhost:8233" + +logger = logging.getLogger(__name__) + + +@web.middleware +async def cors_middleware( + request: web.Request, + handler: Callable[[web.Request], Awaitable[web.StreamResponse]], +) -> web.StreamResponse: + """Add CORS support so the Web UI can call the codec server from its origin.""" + allow_origin = request.headers.get(hdrs.ORIGIN) == WEB_UI_ORIGIN + + response: web.StreamResponse + if request.method == "OPTIONS": + response = web.Response() + if allow_origin: + response.headers[hdrs.ACCESS_CONTROL_ALLOW_METHODS] = "POST" + response.headers[hdrs.ACCESS_CONTROL_ALLOW_HEADERS] = ( + "content-type,x-namespace" + ) + else: + # Catch HTTPException so CORS headers also land on error responses + # (e.g. the dispatcher's 404 for an unknown namespace). + try: + response = await handler(request) + except web.HTTPException as exc: + response = exc + + if allow_origin: + response.headers[hdrs.ACCESS_CONTROL_ALLOW_ORIGIN] = WEB_UI_ORIGIN + + if isinstance(response, web.HTTPException): + raise response + return response + + +def build_namespace_dispatcher( + routes_by_namespace: Mapping[str, Iterable[web.RouteDef]], +) -> Callable[[web.Request], Awaitable[web.StreamResponse]]: + """Build an aiohttp handler that dispatches by the X-Namespace header. + + Returns a single handler that the caller registers for every codec server + URL (``/encode``, ``/decode``, ``/download``). The handler inspects the + ``X-Namespace`` header on each request and forwards to the handler + configured for that namespace + method + path combination. + """ + # Pre-build the flat lookup table at construction so the per-request + # dispatch is just two dictionary lookups. + handler_map = { + ns: {(r.method, r.path): r.handler for r in routes} + for ns, routes in routes_by_namespace.items() + } + + async def dispatch_by_namespace(request: web.Request) -> web.StreamResponse: + # The Temporal Web UI passes the namespace it's viewing in the + # X-Namespace header on every codec-server request. A single process + # can therefore host different codec/storage configs per namespace + # without needing per-namespace URL prefixes. + namespace = request.headers.get("X-Namespace", "") + handlers = handler_map.get(namespace) + if handlers is None: + logger.warning("dispatch: unknown namespace %r", namespace) + raise web.HTTPNotFound() + handler = handlers.get((request.method, request.path)) + if handler is None: + logger.warning( + "dispatch: no handler for %s %s in namespace %r", + request.method, + request.path, + namespace, + ) + raise web.HTTPNotFound() + return await handler(request) + + return dispatch_by_namespace + + +async def main() -> None: + logging.basicConfig( + level=logging.INFO, + format="%(asctime)s [%(levelname)s] %(name)s: %(message)s", + ) + + session = aioboto3.Session() + async with session.client( + "s3", + endpoint_url=S3_ENDPOINT, + aws_access_key_id=S3_ACCESS_KEY, + aws_secret_access_key=S3_SECRET_KEY, + region_name="us-east-1", + ) as s3_client: + driver = S3StorageDriver( + client=new_aioboto3_client(s3_client), + bucket=S3_BUCKET, + ) + + # The dispatcher map drives per-namespace configuration. Add more + # entries here to host additional namespaces with their own codec + # chain and/or storage backend. Each value is a list of routes + # produced by ``payload_routes``; the dispatcher reads the + # X-Namespace header to pick the right one per request. + dispatch_by_namespace = build_namespace_dispatcher( + { + "default": payload_routes( + external_storage=ExternalStorage(drivers=[driver]), + prestorage_codec=CompressionCodec(), + ), + } + ) + + app = web.Application(middlewares=[cors_middleware]) + app.add_routes( + [ + web.post("/encode", dispatch_by_namespace), + web.post("/decode", dispatch_by_namespace), + web.post("/download", dispatch_by_namespace), + ] + ) + + runner = web.AppRunner(app) + await runner.setup() + site = web.TCPSite(runner, "127.0.0.1", 8081) + await site.start() + print("Codec server running at http://127.0.0.1:8081, ctrl+c to exit") + try: + await asyncio.Event().wait() + except (KeyboardInterrupt, asyncio.CancelledError): + pass + finally: + await runner.cleanup() + + +if __name__ == "__main__": + try: + asyncio.run(main()) + except KeyboardInterrupt: + pass diff --git a/external_storage/handler.py b/external_storage/handler.py new file mode 100644 index 000000000..1ba8035ab --- /dev/null +++ b/external_storage/handler.py @@ -0,0 +1,154 @@ +"""HTTP routes for a Temporal codec server with external storage support. + +A *codec server* is an HTTP service the Temporal Web UI and CLI can call to +transform payloads on demand — typically to decode (decompress, decrypt, +fetch-from-storage) so a human can read what the workflow saw. The contract +expected by the Web UI is: + +* ``POST /encode`` and ``POST /decode`` accept a JSON-encoded ``Payloads`` + protobuf message in the request body and return a transformed ``Payloads`` + message in the same format. +* ``POST /download`` is a specialized endpoint that only accepts external + storage references and resolves them to their actual contents. Kept + separate from ``/decode`` so the Web UI can defer fetching potentially + large blobs until a user explicitly asks for them. + +The :func:`payload_routes` factory builds these three route definitions +configured with an :class:`ExternalStorage` plus optional codec layers that +match the client's ``DataConverter`` setup.""" + +from typing import List, Optional + +from aiohttp import web +from google.protobuf import json_format +from temporalio.api.common.v1 import Payload, Payloads +from temporalio.api.sdk.v1 import ExternalStorageReference +from temporalio.converter import ExternalStorage, PayloadCodec + +_REFERENCE_MESSAGE_TYPE = ExternalStorageReference.DESCRIPTOR.full_name.encode() + + +def _is_storage_reference(payload: Payload) -> bool: + """A payload is an external-storage reference iff its metadata identifies + it as a serialized :class:`ExternalStorageReference` claim check. + """ + return ( + payload.metadata.get("encoding") == b"json/protobuf" + and payload.metadata.get("messageType") == _REFERENCE_MESSAGE_TYPE + ) + + +def payload_routes( + external_storage: ExternalStorage, + prestorage_codec: Optional[PayloadCodec] = None, + poststorage_codec: Optional[PayloadCodec] = None, +) -> List[web.RouteDef]: + """Build aiohttp routes for the codec server's /encode, /decode, and /download endpoints. + + ``external_storage`` is the external storage configured on the client's + DataConverter and is required — without it the routes have nothing to add + over a plain codec server. + + The codec layers are optional, and run in a defined order relative to + external storage to mirror what the client's DataConverter does: + + * ``prestorage_codec`` — the codec configured on the client's + DataConverter. On encode it runs BEFORE the external-storage offload + decision, so the SDK checks whether the *transformed* bytes + (compressed, encrypted, etc.) exceed the threshold. On decode it runs + AFTER storage retrieval, so the codec sees the original transformed + bytes regardless of where they came from. + * ``poststorage_codec`` — typically only used when payloads pass through + a proxy that wraps them with an additional codec layer outside the + storage envelope (envelope encryption applied at a network edge, for + example). On encode it runs after offload; on decode it runs first + (to strip the proxy envelope before storage retrieval). + + Register the result on any :class:`aiohttp.web.Application` via + :meth:`aiohttp.web.Application.add_routes`. + """ + + async def _decode_non_refs(payloads: List[Payload]) -> List[Payload]: + # Storage references are claim-check protos with their own encoding — + # they aren't bytes the codec produced, so the codec can't decode + # them. Skip refs and only feed real payloads through the codec. + if prestorage_codec is None: + return payloads + result = list(payloads) + non_ref_idx = [ + i for i, p in enumerate(payloads) if not _is_storage_reference(p) + ] + decoded = await prestorage_codec.decode([payloads[i] for i in non_ref_idx]) + for i, p in zip(non_ref_idx, decoded): + result[i] = p + return result + + async def _read_payloads(req: web.Request) -> List[Payload]: + assert req.content_type == "application/json" + proto = json_format.Parse(await req.read(), Payloads()) + return list(proto.payloads) + + def _write_payloads(payloads: List[Payload]) -> web.Response: + return web.Response( + content_type="application/json", + text=json_format.MessageToJson(Payloads(payloads=payloads)), + ) + + async def encode_handler(req: web.Request) -> web.Response: + payloads = await _read_payloads(req) + # Encode pipeline mirrors what a client-side DataConverter does: + # 1. pre-storage codec encodes (compress / encrypt / etc.) + # 2. external storage decides whether the transformed bytes + # exceed the threshold and replaces them with a reference + # 3. post-storage codec encodes whatever ended up inline + if prestorage_codec is not None: + payloads = await prestorage_codec.encode(payloads) + # ``_store_payload_sequence`` is the SDK's internal helper used by + # DataConverter. Calling it directly lets the codec server reuse the + # exact same offload-if-large logic the client uses, instead of + # re-implementing the size-threshold check here. The leading + # underscore signals it's not a stable public API. + payloads = await external_storage._store_payload_sequence(payloads) + if poststorage_codec is not None: + payloads = await poststorage_codec.encode(payloads) + return _write_payloads(payloads) + + async def decode_handler(req: web.Request) -> web.Response: + payloads = await _read_payloads(req) + # Decode pipeline is the encode pipeline in reverse: + # 1. post-storage codec decodes (strip proxy envelope, if any) + # 2. external storage retrieves any references in-band + # 3. pre-storage codec decodes the real bytes + if poststorage_codec is not None: + payloads = await poststorage_codec.decode(payloads) + # preserveStorageRefs=true is for clients that want to inspect the + # raw references themselves (a debug view, an "audit who fetched + # what" log, etc.). When unset, default behavior fetches from + # storage so the user sees the payload as the workflow saw it. + preserve_refs = req.query.get("preserveStorageRefs", "false").lower() == "true" + if not preserve_refs: + payloads = await external_storage._retrieve_payload_sequence(payloads) + payloads = await _decode_non_refs(payloads) + return _write_payloads(payloads) + + async def download_handler(req: web.Request) -> web.Response: + # /download exists as a separate endpoint from /decode because + # resolving an external-storage reference can be expensive (network + # round-trip, potentially large blob). The Web UI uses /download as + # an opt-in "click to fetch" action — keeping it off /decode's + # auto-resolution path avoids accidentally pulling many large blobs + # when a user simply navigates to a workflow page. + payloads = await _read_payloads(req) + if not all(_is_storage_reference(p) for p in payloads): + return web.Response( + status=400, text="all payloads must be storage references" + ) + retrieved = await external_storage._retrieve_payload_sequence(payloads) + decoded = await _decode_non_refs(retrieved) + return _write_payloads(decoded) + + return [ + web.post("/encode", encode_handler), + web.post("/decode", decode_handler), + web.post("/download", download_handler), + ] diff --git a/external_storage/s3.py b/external_storage/s3.py new file mode 100644 index 000000000..144b8346d --- /dev/null +++ b/external_storage/s3.py @@ -0,0 +1,39 @@ +import signal +import threading + +import boto3 +from moto.server import ThreadedMotoServer + +from external_storage.worker import S3_ACCESS_KEY, S3_BUCKET, S3_ENDPOINT, S3_SECRET_KEY + + +def main() -> None: + server = ThreadedMotoServer(port=5000) + server.start() + print(f"Mock S3 server running at {S3_ENDPOINT}") + + s3 = boto3.client( + "s3", + endpoint_url=S3_ENDPOINT, + aws_access_key_id=S3_ACCESS_KEY, + aws_secret_access_key=S3_SECRET_KEY, + region_name="us-east-1", + ) + s3.create_bucket(Bucket=S3_BUCKET) + print(f"Bucket '{S3_BUCKET}' created. Press ctrl+c to stop.") + + try: + # signal.pause() is Unix-only; use Event on Windows + if hasattr(signal, "pause"): + signal.pause() + else: + threading.Event().wait() + except KeyboardInterrupt: + pass + finally: + server.stop() + print("Mock S3 server stopped.") + + +if __name__ == "__main__": + main() diff --git a/external_storage/starter.py b/external_storage/starter.py new file mode 100644 index 000000000..3d7b165f3 --- /dev/null +++ b/external_storage/starter.py @@ -0,0 +1,75 @@ +import asyncio +import dataclasses +from datetime import datetime + +import aioboto3 +import temporalio.converter +from temporalio.client import Client +from temporalio.contrib.aws.s3driver import S3StorageDriver +from temporalio.contrib.aws.s3driver.aioboto3 import new_aioboto3_client +from temporalio.converter import ExternalStorage +from temporalio.envconfig import ClientConfig + +from external_storage.codec import CompressionCodec +from external_storage.worker import ( + S3_ACCESS_KEY, + S3_BUCKET, + S3_ENDPOINT, + S3_SECRET_KEY, + TASK_QUEUE, +) +from external_storage.workflows import OrderBatchRequest, ProcessOrderBatchWorkflow + +ORDER_COUNT = 200 + + +async def main() -> None: + session = aioboto3.Session() + async with session.client( + "s3", + endpoint_url=S3_ENDPOINT, + aws_access_key_id=S3_ACCESS_KEY, + aws_secret_access_key=S3_SECRET_KEY, + region_name="us-east-1", + ) as s3_client: + driver = S3StorageDriver( + client=new_aioboto3_client(s3_client), + bucket=S3_BUCKET, + ) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + client = await Client.connect( + **config, + data_converter=dataclasses.replace( + temporalio.converter.default(), + payload_codec=CompressionCodec(), + external_storage=ExternalStorage(drivers=[driver]), + ), + ) + + run_id = datetime.now().strftime("%Y%m%d-%H%M%S") + workflow_id = f"external-storage-{run_id}" + request = OrderBatchRequest(batch_id=f"BATCH-{run_id}", order_count=ORDER_COUNT) + + print( + f"Starting workflow {workflow_id} (batch_id={request.batch_id}, " + f"order_count={request.order_count})" + ) + + summary = await client.execute_workflow( + ProcessOrderBatchWorkflow.run, + request, + id=workflow_id, + task_queue=TASK_QUEUE, + ) + + print(f"\nBatch {summary.batch_id}: {summary.order_count} orders processed") + print(f" Total shipping cost: ${summary.total_shipping_cost_usd:,.2f}") + print(f" Total weight: {summary.total_weight_kg:,.1f} kg") + print(f" Avg delivery: {summary.avg_delivery_days} days") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/external_storage/worker.py b/external_storage/worker.py new file mode 100644 index 000000000..151761bcd --- /dev/null +++ b/external_storage/worker.py @@ -0,0 +1,72 @@ +import asyncio +import dataclasses + +import aioboto3 +import temporalio.converter +from temporalio.client import Client +from temporalio.contrib.aws.s3driver import S3StorageDriver +from temporalio.contrib.aws.s3driver.aioboto3 import new_aioboto3_client +from temporalio.converter import ExternalStorage +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from external_storage.codec import CompressionCodec +from external_storage.workflows import ( + ProcessOrderBatchWorkflow, + fetch_orders, + process_orders, +) + +S3_ENDPOINT = "http://localhost:5000" +S3_BUCKET = "temporal-payloads" +S3_ACCESS_KEY = "test" +S3_SECRET_KEY = "test" +TASK_QUEUE = "external-storage-task-queue" + +interrupt_event = asyncio.Event() + + +async def main() -> None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + session = aioboto3.Session() + async with session.client( + "s3", + endpoint_url=S3_ENDPOINT, + aws_access_key_id=S3_ACCESS_KEY, + aws_secret_access_key=S3_SECRET_KEY, + region_name="us-east-1", + ) as s3_client: + driver = S3StorageDriver( + client=new_aioboto3_client(s3_client), + bucket=S3_BUCKET, + ) + + client = await Client.connect( + **config, + data_converter=dataclasses.replace( + temporalio.converter.default(), + payload_codec=CompressionCodec(), + external_storage=ExternalStorage(drivers=[driver]), + ), + ) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[ProcessOrderBatchWorkflow], + activities=[fetch_orders, process_orders], + ): + print("Worker started, ctrl+c to exit") + await interrupt_event.wait() + print("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/external_storage/workflows.py b/external_storage/workflows.py new file mode 100644 index 000000000..8d034fa10 --- /dev/null +++ b/external_storage/workflows.py @@ -0,0 +1,128 @@ +from dataclasses import dataclass +from datetime import timedelta +from typing import List + +from temporalio import activity, workflow + +WAREHOUSE_STATE = "TX" # fulfillment center state used to estimate delivery + + +@dataclass +class Address: + street: str + city: str + state: str + zip_code: str + country: str + + +@dataclass +class Customer: + id: str + name: str + email: str + address: Address + + +@dataclass +class OrderItem: + sku: str + name: str + description: str + quantity: int + unit_price_usd: float + weight_kg: float + + +@dataclass +class Order: + id: str + customer: Customer + items: List[OrderItem] + total_weight_kg: float + shipping_notes: str + + +@dataclass +class ProcessedOrder: + id: str + customer_id: str + destination_city: str + destination_state: str + total_weight_kg: float + shipping_cost_usd: float + estimated_delivery_days: int + + +@dataclass +class OrderBatchRequest: + batch_id: str + order_count: int + + +@dataclass +class BatchSummary: + batch_id: str + order_count: int + total_shipping_cost_usd: float + total_weight_kg: float + avg_delivery_days: float + + +@activity.defn +async def fetch_orders(request: OrderBatchRequest) -> List[Order]: + # Lazy import keeps the data-generation code out of the workflow module's + # top-level imports and avoids a circular import with _sample_data. + from external_storage._sample_data import generate_orders + + return generate_orders(request.batch_id, request.order_count) + + +@activity.defn +async def process_orders(orders: List[Order]) -> List[ProcessedOrder]: + results: List[ProcessedOrder] = [] + for order in orders: + cost = round(2.50 + 1.20 * order.total_weight_kg, 2) + days = 2 if order.customer.address.state == WAREHOUSE_STATE else 5 + results.append( + ProcessedOrder( + id=order.id, + customer_id=order.customer.id, + destination_city=order.customer.address.city, + destination_state=order.customer.address.state, + total_weight_kg=order.total_weight_kg, + shipping_cost_usd=cost, + estimated_delivery_days=days, + ) + ) + return results + + +@workflow.defn +class ProcessOrderBatchWorkflow: + @workflow.run + async def run(self, request: OrderBatchRequest) -> BatchSummary: + orders = await workflow.execute_activity( + fetch_orders, + request, + start_to_close_timeout=timedelta(minutes=5), + ) + processed = await workflow.execute_activity( + process_orders, + orders, + start_to_close_timeout=timedelta(minutes=5), + ) + total_cost = sum(p.shipping_cost_usd for p in processed) + total_weight = sum(p.total_weight_kg for p in processed) + avg_days = ( + sum(p.estimated_delivery_days for p in processed) / len(processed) + if processed + else 0.0 + ) + return BatchSummary( + batch_id=request.batch_id, + order_count=len(processed), + total_shipping_cost_usd=round(total_cost, 2), + total_weight_kg=round(total_weight, 2), + avg_delivery_days=round(avg_days, 1), + ) diff --git a/external_storage_redis/README.md b/external_storage_redis/README.md new file mode 100644 index 000000000..662b5ea76 --- /dev/null +++ b/external_storage_redis/README.md @@ -0,0 +1,132 @@ +# Redis External Storage + +This sample packages a Redis-backed `StorageDriver` implementation for Temporal +external storage. + +The code lives in: + +* `external_storage_redis/_driver.py` for the `RedisStorageDriver` +* `external_storage_redis/_client.py` for the storage client abstraction +* `external_storage_redis/redis_asyncio.py` for the `redis.asyncio` adapter +* `tests/external_storage_redis/` for unit and worker integration tests + +Unlike most samples in this repository, this one is primarily reusable driver +code plus tests rather than a standalone `worker.py` / `starter.py` pair. + +## Install Dependencies + +From the repository root: + + uv sync --group external-storage-redis --group dev + +The `external-storage-redis` group installs `redis`, and the `dev` group +installs `fakeredis` for the test suite. + +## Using The Driver + +```python +import dataclasses + +import redis.asyncio as redis +import temporalio.converter +from temporalio.client import Client +from temporalio.converter import ExternalStorage + +from external_storage_redis import RedisStorageDriver +from external_storage_redis.redis_asyncio import new_redis_asyncio_client + +redis_client = redis.Redis.from_url( + "redis://localhost:6379/0", + decode_responses=False, +) +try: + driver = RedisStorageDriver( + client=new_redis_asyncio_client(redis_client), + key_prefix="temporalio:payloads", + ) + + client = await Client.connect( + "localhost:7233", + data_converter=dataclasses.replace( + temporalio.converter.default(), + external_storage=ExternalStorage( + drivers=[driver], + payload_size_threshold=256 * 1024, + ), + ), + ) +finally: + await redis_client.aclose() +``` + +`decode_responses=False` is required because the driver stores serialized +Temporal `Payload` protobuf bytes as Redis values rather than text. + +## Driver Behavior + +`RedisStorageDriver` accepts these constructor options: + +* `driver_name`: defaults to `"redis"` +* `key_prefix`: defaults to `"temporalio:payloads"` +* `ttl`: optional expiration applied only when a key is first inserted +* `max_payload_size`: defaults to 50 MiB + +Stored keys are content-addressed using SHA-256 and include Temporal execution +context when it is available. A typical workflow-scoped key looks like: + + temporalio:payloads:v0:ns:default:wt:MyWorkflow:wi:my-workflow-id:ri:my-run-id:d:sha256: + +Some behavior to be aware of: + +* Any driver used to store payloads must also be configured on the component + that retrieves them. +* The Redis instance must already exist; the driver does not provision it. +* Identical serialized bytes within the same namespace and workflow/activity + scope share the same Redis key. +* Workflow, activity, namespace, and run identifiers are URL-encoded before + being placed into the key. +* Only payloads at or above `ExternalStorage.payload_size_threshold` are + offloaded. +* If `ttl` is set, duplicate stores do not refresh expiration. +* If a payload key is missing at retrieval time, the driver raises a + non-retryable `ApplicationError`. + +## Custom Redis Clients + +To use a Redis library other than `redis.asyncio`, implement +`RedisStorageDriverClient`: + +```python +from datetime import timedelta + +from external_storage_redis import RedisStorageDriverClient + + +class MyRedisClient(RedisStorageDriverClient): + async def get(self, *, key: str) -> bytes | None: ... + + async def set_if_absent( + self, + *, + key: str, + data: bytes, + ttl: timedelta | None = None, + ) -> bool: ... +``` + +## Tests + +Run the full Redis sample test suite with: + + uv run pytest tests/external_storage_redis + +Run only the in-memory unit tests with: + + uv run pytest tests/external_storage_redis/test_redis.py + +The worker integration tests use `WorkflowEnvironment.start_local()` and +`fakeredis`. They do not require a real Redis server, but the first run may +download a Temporal dev-server binary. + +Some Temporal dev-server builds disable standalone activity execution. When +that happens, the two standalone-activity integration tests skip automatically. diff --git a/external_storage_redis/__init__.py b/external_storage_redis/__init__.py new file mode 100644 index 000000000..4f0a066dd --- /dev/null +++ b/external_storage_redis/__init__.py @@ -0,0 +1,9 @@ +"""Redis storage driver sample for Temporal external storage.""" + +from external_storage_redis._client import RedisStorageDriverClient +from external_storage_redis._driver import RedisStorageDriver + +__all__ = [ + "RedisStorageDriverClient", + "RedisStorageDriver", +] diff --git a/external_storage_redis/_client.py b/external_storage_redis/_client.py new file mode 100644 index 000000000..94b493d46 --- /dev/null +++ b/external_storage_redis/_client.py @@ -0,0 +1,34 @@ +"""Redis storage driver client abstraction.""" + +from __future__ import annotations + +from abc import ABC, abstractmethod +from datetime import timedelta + + +class RedisStorageDriverClient(ABC): + """Abstract base class for the Redis operations used by the driver.""" + + @abstractmethod + async def get(self, *, key: str) -> bytes | None: + """Return the raw bytes stored for *key*, or ``None`` if absent.""" + + @abstractmethod + async def set_if_absent( + self, + *, + key: str, + data: bytes, + ttl: timedelta | None = None, + ) -> bool: + """Store *data* under *key* only if the key does not already exist. + + Args: + key: Redis key to store. + data: Serialized payload bytes. + ttl: Optional expiration to apply only when the value is inserted. + + Returns: + ``True`` if the value was inserted, ``False`` if the key already + existed. + """ diff --git a/external_storage_redis/_driver.py b/external_storage_redis/_driver.py new file mode 100644 index 000000000..c13785b5c --- /dev/null +++ b/external_storage_redis/_driver.py @@ -0,0 +1,228 @@ +"""Redis storage driver for Temporal external storage.""" + +from __future__ import annotations + +import asyncio +import hashlib +import urllib.parse +from collections.abc import Coroutine, Sequence +from datetime import timedelta +from typing import Any, TypeVar + +from temporalio.api.common.v1 import Payload +from temporalio.converter import ( + StorageDriver, + StorageDriverActivityInfo, + StorageDriverClaim, + StorageDriverRetrieveContext, + StorageDriverStoreContext, + StorageDriverWorkflowInfo, +) +from temporalio.exceptions import ApplicationError + +from external_storage_redis._client import RedisStorageDriverClient + +_T = TypeVar("_T") + + +async def _gather_with_cancellation( + coros: Sequence[Coroutine[Any, Any, _T]], +) -> list[_T]: + """Run coroutines concurrently, cancelling remaining tasks on failure.""" + if not coros: + return [] + tasks = [asyncio.create_task(coro) for coro in coros] + try: + return list(await asyncio.gather(*tasks)) + except BaseException: + for task in tasks: + task.cancel() + await asyncio.gather(*tasks, return_exceptions=True) + raise + + +class RedisStorageDriver(StorageDriver): + """Driver for storing and retrieving Temporal payloads in Redis. + + Payloads are stored as Redis string values keyed by a SHA-256 digest of the + serialized payload bytes. The key also includes namespace and + workflow/activity identity segments derived from the storage context so + distinct Temporal scopes remain isolated. + """ + + def __init__( + self, + client: RedisStorageDriverClient, + *, + driver_name: str = "redis", + key_prefix: str = "temporalio:payloads", + ttl: timedelta | None = None, + max_payload_size: int = 50 * 1024 * 1024, + ) -> None: + """Construct the Redis driver. + + Args: + client: A :class:`RedisStorageDriverClient` implementation. Use + :func:`external_storage_redis.redis_asyncio.new_redis_asyncio_client` + to wrap a ``redis.asyncio`` client. + driver_name: Name of this driver instance. Defaults to ``"redis"``. + Override this when registering multiple RedisStorageDriver + instances with distinct configurations under the same + ``ExternalStorage.drivers`` list. + key_prefix: Prefix prepended to all Redis keys. Defaults to + ``"temporalio:payloads"``. + ttl: Optional expiration to apply when a key is first written. + Existing keys are not refreshed when the same payload is stored + again. + max_payload_size: Maximum serialized payload size in bytes that the + driver will accept. Defaults to 52428800 (50 MiB). + """ + if max_payload_size <= 0: + raise ValueError("max_payload_size must be greater than zero") + if ttl is not None and ttl <= timedelta(0): + raise ValueError("ttl must be greater than zero") + self._client = client + self._driver_name = driver_name or "redis" + self._key_prefix = key_prefix.rstrip(":") + self._ttl = ttl + self._max_payload_size = max_payload_size + + def name(self) -> str: + """Return the driver instance name.""" + return self._driver_name + + def type(self) -> str: + """Return the driver type identifier.""" + return "redis" + + def _build_key( + self, + context: StorageDriverStoreContext, + hash_digest: str, + ) -> str: + """Construct a context-aware Redis key for a payload digest.""" + + def _quote(value: str | None) -> str | None: + return urllib.parse.quote(value, safe="") if value else None + + segments = ["v0"] + target = context.target + namespace = _quote(target.namespace) if target is not None else None + if namespace: + segments.extend(["ns", namespace]) + + if isinstance(target, StorageDriverWorkflowInfo): + segments.extend( + [ + "wt", + _quote(target.type) or "null", + "wi", + _quote(target.id) or "null", + "ri", + _quote(target.run_id) or "null", + ] + ) + elif isinstance(target, StorageDriverActivityInfo): + segments.extend( + [ + "at", + _quote(target.type) or "null", + "ai", + _quote(target.id) or "null", + "ri", + _quote(target.run_id) or "null", + ] + ) + + segments.extend(["d", "sha256", hash_digest]) + if not self._key_prefix: + return ":".join(segments) + return f"{self._key_prefix}:{':'.join(segments)}" + + async def store( + self, + context: StorageDriverStoreContext, + payloads: Sequence[Payload], + ) -> list[StorageDriverClaim]: + """Store payloads in Redis and return a claim for each payload.""" + + async def _store_payload(payload: Payload) -> StorageDriverClaim: + payload_bytes = payload.SerializeToString() + payload_size = len(payload_bytes) + if payload_size > self._max_payload_size: + raise ValueError( + f"Payload size {payload_size} bytes exceeds the configured " + f"max_payload_size of {self._max_payload_size} bytes" + ) + + hash_digest = hashlib.sha256(payload_bytes).hexdigest().lower() + key = self._build_key(context, hash_digest) + + try: + await self._client.set_if_absent( + key=key, + data=payload_bytes, + ttl=self._ttl, + ) + except Exception as err: + raise RuntimeError( + f"RedisStorageDriver store failed [key={key}]" + ) from err + + return StorageDriverClaim( + claim_data={ + "key": key, + "hash_algorithm": "sha256", + "hash_value": hash_digest, + }, + ) + + return await _gather_with_cancellation([_store_payload(p) for p in payloads]) + + async def retrieve( + self, + context: StorageDriverRetrieveContext, # noqa: ARG002 + claims: Sequence[StorageDriverClaim], + ) -> list[Payload]: + """Retrieve payloads from Redis for the given claims.""" + + async def _retrieve_payload(claim: StorageDriverClaim) -> Payload: + key = claim.claim_data["key"] + + try: + payload_bytes = await self._client.get(key=key) + except Exception as err: + raise RuntimeError( + f"RedisStorageDriver retrieve failed [key={key}]" + ) from err + + if payload_bytes is None: + raise ApplicationError( + f"Payload not found for key '{key}'", + type="PayloadNotFoundError", + non_retryable=True, + ) + + expected_hash = claim.claim_data.get("hash_value") + hash_algorithm = claim.claim_data.get("hash_algorithm") + if expected_hash and hash_algorithm: + if hash_algorithm != "sha256": + raise ValueError( + f"RedisStorageDriver unsupported hash algorithm " + f"[key={key}]: expected sha256, got {hash_algorithm}" + ) + actual_hash = hashlib.sha256(payload_bytes).hexdigest().lower() + if actual_hash != expected_hash: + raise ValueError( + f"RedisStorageDriver integrity check failed " + f"[key={key}]: expected {hash_algorithm}:{expected_hash}, " + f"got {hash_algorithm}:{actual_hash}" + ) + + payload = Payload() + payload.ParseFromString(payload_bytes) + return payload + + return await _gather_with_cancellation( + [_retrieve_payload(claim) for claim in claims] + ) diff --git a/external_storage_redis/redis_asyncio.py b/external_storage_redis/redis_asyncio.py new file mode 100644 index 000000000..917b239c0 --- /dev/null +++ b/external_storage_redis/redis_asyncio.py @@ -0,0 +1,54 @@ +"""redis.asyncio adapter for the Redis storage driver client.""" + +from __future__ import annotations + +import math +from datetime import timedelta +from typing import TYPE_CHECKING + +from external_storage_redis._client import RedisStorageDriverClient + +if TYPE_CHECKING: + from redis.asyncio.client import Redis + + +class _RedisAsyncioStorageDriverClient(RedisStorageDriverClient): + """Adapter that wraps a ``redis.asyncio.Redis`` client. + + The wrapped client must be configured for binary-safe reads and writes, + which means ``decode_responses`` must remain disabled. + """ + + def __init__(self, client: Redis) -> None: + """Wrap a ``redis.asyncio.Redis`` client.""" + self._client = client + + async def get(self, *, key: str) -> bytes | None: + """Fetch raw bytes for *key* from Redis.""" + value = await self._client.get(key) + if value is None: + return None + if not isinstance(value, bytes): + raise TypeError( + "redis.asyncio client must be configured with decode_responses=False" + ) + return value + + async def set_if_absent( + self, + *, + key: str, + data: bytes, + ttl: timedelta | None = None, + ) -> bool: + """Atomically set *key* only when it is absent.""" + ttl_ms = None + if ttl is not None: + ttl_ms = max(1, math.ceil(ttl.total_seconds() * 1000)) + result = await self._client.set(key, data, px=ttl_ms, nx=True) + return bool(result) + + +def new_redis_asyncio_client(client: Redis) -> RedisStorageDriverClient: + """Create a driver client from a ``redis.asyncio.Redis`` instance.""" + return _RedisAsyncioStorageDriverClient(client) diff --git a/gevent_async/README.md b/gevent_async/README.md index 9b9bdff37..0c66a54b2 100644 --- a/gevent_async/README.md +++ b/gevent_async/README.md @@ -12,17 +12,17 @@ workflows. For this sample, the optional `gevent` dependency group must be included. To include, run: - poetry install --with gevent + uv sync --group gevent To run the sample, first see [README.md](../README.md) for prerequisites such as having a localhost Temporal server -running. Then, run the following from this directory to start the worker: +running. Then, run the following from the root directory to start the worker: - poetry run python worker.py + uv run gevent_async/worker.py This will start the worker. The worker has a workflow and two activities, one `asyncio` based and one gevent based. Now -in another terminal, run the following from this directory to execute the workflow: +in another terminal, run the following to execute the workflow: - poetry run python starter.py + uv run gevent_async/starter.py The workflow should run and complete with the hello result. Note on the worker terminal there will be logs of the workflow and activity executions. \ No newline at end of file diff --git a/gevent_async/starter.py b/gevent_async/starter.py index 43e8356b7..010803e5e 100644 --- a/gevent_async/starter.py +++ b/gevent_async/starter.py @@ -7,6 +7,7 @@ import logging from temporalio.client import Client +from temporalio.envconfig import ClientConfig from gevent_async import workflow from gevent_async.executor import GeventExecutor @@ -24,7 +25,9 @@ def main(): async def async_main(): # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run workflow result = await client.execute_workflow( diff --git a/gevent_async/worker.py b/gevent_async/worker.py index 9b4945cf3..db419399f 100644 --- a/gevent_async/worker.py +++ b/gevent_async/worker.py @@ -9,6 +9,7 @@ import gevent from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker from gevent_async import activity, workflow @@ -39,13 +40,14 @@ async def async_main(): ) # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Create an executor for use by Temporal. This cannot be the outer one # running this async main. The max_workers here needs to have enough room to # support the max concurrent activities/workflows settings. with GeventExecutor(max_workers=200) as executor: - # Run a worker for the workflow and activities async with Worker( client, @@ -65,7 +67,6 @@ async def async_main(): max_concurrent_activities=100, max_concurrent_workflow_tasks=100, ): - # Wait until interrupted logging.info("Worker started, ctrl+c to exit") await interrupt_event.wait() diff --git a/google_adk_agents/README.md b/google_adk_agents/README.md new file mode 100644 index 000000000..7d71ba64b --- /dev/null +++ b/google_adk_agents/README.md @@ -0,0 +1,57 @@ +# Temporal Google ADK Integration + +⚠️ **Experimental** — This integration is experimental and its interfaces may +change prior to General Availability. + +This directory contains samples demonstrating how to run +[Google ADK](https://google.github.io/adk-docs/) agents durably inside Temporal +workflows using `temporalio.contrib.google_adk_agents`. Each scenario is a +self-contained subdirectory with its own worker, workflow starter, workflow and +activity packages, and README. + +## Overview + +The integration combines: + +- **Temporal workflows** for durable orchestration of agent control flow +- **Google ADK** for agent creation, model calls, tools, and MCP integration + +`GoogleAdkPlugin` configures a Pydantic payload converter, sandbox passthrough +for `google.adk` / `google.genai` / `mcp`, a deterministic ADK runtime, and the +model activities. `TemporalModel` runs each LLM call as an activity, so every +model turn is durable and observable. + +## Prerequisites + +- [Temporal CLI](https://docs.temporal.io/cli) with a local dev server running: + ``` + temporal server start-dev + ``` +- Dependencies installed via `uv sync --group google-adk` +- Google API key set as an environment variable: + `export GOOGLE_API_KEY=your_key_here` + +All scenarios default to the `gemini-2.5-flash` model. ADK also supports other +providers (for example, non-Gemini models via LiteLLM); swap the model name on +`TemporalModel` to use one. + +## Scenarios + +Each directory contains a complete example with its own README: + +| Scenario | What it shows | +| --- | --- | +| [basic](./basic/README.md) | A single ADK agent with `TemporalModel` and one model call — no tools. The minimal end-to-end example. | +| [chatbot](./chatbot/README.md) | A multi-turn conversation over one persisted ADK session, with each turn driven by a workflow Update handler that returns the assistant's reply. | +| [tools](./tools/README.md) | A Temporal activity wrapped as an ADK tool with `activity_tool`, so tool calls run as their own activities. | +| [agent_patterns](./agent_patterns/README.md) | A coordinator `LlmAgent` with `sub_agents`, each a `TemporalModel` with a per-agent activity summary. | +| [mcp](./mcp/README.md) | A local echo MCP toolset via `TemporalMcpToolSet` / `TemporalMcpToolSetProvider`, running MCP tools as activities. Self-contained, no Node required. | +| [streaming](./streaming/README.md) | Token streaming via `TemporalModel(streaming_topic=...)` + `WorkflowStream`, consumed by a starter with `WorkflowStreamClient`. | + +To run any scenario, start its worker in one terminal and its workflow starter +in another: + +```bash +uv run google_adk_agents//run_worker.py +uv run google_adk_agents//run__workflow.py +``` diff --git a/google_adk_agents/__init__.py b/google_adk_agents/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/agent_patterns/README.md b/google_adk_agents/agent_patterns/README.md new file mode 100644 index 000000000..d4c7b92e9 --- /dev/null +++ b/google_adk_agents/agent_patterns/README.md @@ -0,0 +1,37 @@ +# Agent Patterns — Multi-Agent Coordinator + +A coordinator `LlmAgent` with `sub_agents=[researcher, writer]`. Each agent uses +its own `TemporalModel` with an `ActivityConfig(summary=...)`, so the agents +show up as named activities in workflow history. This demonstrates ADK's +built-in `transfer_to_agent` handoff running durably, with per-agent activity +summaries. + +Before running, review the [prerequisites in the suite README](../README.md) +(Temporal dev server, `uv sync --group google-adk`, and +`export GOOGLE_API_KEY=...`). + +## Running + +Start the worker in one terminal: + +```bash +uv run google_adk_agents/agent_patterns/run_worker.py +``` + +Then start the workflow in another terminal: + +```bash +uv run google_adk_agents/agent_patterns/run_multi_agent_workflow.py +``` + +## What to expect + +The starter asks for a haiku about the ocean. The coordinator delegates to the +researcher and then the writer; the starter prints the final haiku. + +## In the Temporal UI + +Open the workflow `google-adk-agents-agent-patterns-workflow-id`. The +`invoke_model` activities are labeled with their agent summaries — +"Coordinator Agent", "Researcher Agent", "Writer Agent" — so you can follow the +handoffs between agents directly in the history. diff --git a/google_adk_agents/agent_patterns/__init__.py b/google_adk_agents/agent_patterns/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/agent_patterns/run_multi_agent_workflow.py b/google_adk_agents/agent_patterns/run_multi_agent_workflow.py new file mode 100644 index 000000000..0ff13edc1 --- /dev/null +++ b/google_adk_agents/agent_patterns/run_multi_agent_workflow.py @@ -0,0 +1,28 @@ +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin + +from google_adk_agents.agent_patterns.workflows.multi_agent_workflow import ( + MultiAgentWorkflow, +) + + +async def main(): + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[GoogleAdkPlugin()], + ) + + result = await client.execute_workflow( + MultiAgentWorkflow.run, + "the ocean", + id="google-adk-agents-agent-patterns-workflow-id", + task_queue="google-adk-agents-agent-patterns", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/agent_patterns/run_worker.py b/google_adk_agents/agent_patterns/run_worker.py new file mode 100644 index 000000000..48eb6e030 --- /dev/null +++ b/google_adk_agents/agent_patterns/run_worker.py @@ -0,0 +1,32 @@ +from __future__ import annotations + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.worker import Worker + +from google_adk_agents.agent_patterns.workflows.multi_agent_workflow import ( + MultiAgentWorkflow, +) + + +async def main(): + plugin = GoogleAdkPlugin() + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), plugins=[plugin] + ) + + worker = Worker( + client, + task_queue="google-adk-agents-agent-patterns", + workflows=[MultiAgentWorkflow], + plugins=[plugin], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/agent_patterns/workflows/__init__.py b/google_adk_agents/agent_patterns/workflows/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/agent_patterns/workflows/multi_agent_workflow.py b/google_adk_agents/agent_patterns/workflows/multi_agent_workflow.py new file mode 100644 index 000000000..749477973 --- /dev/null +++ b/google_adk_agents/agent_patterns/workflows/multi_agent_workflow.py @@ -0,0 +1,80 @@ +from datetime import timedelta + +from google.adk.agents import LlmAgent +from google.adk.runners import Runner +from google.adk.sessions import InMemorySessionService +from google.genai import types +from temporalio import workflow +from temporalio.contrib.google_adk_agents import TemporalModel +from temporalio.workflow import ActivityConfig + + +# @@@SNIPSTART google-adk-agents-agent-patterns-multi-agent-workflow +@workflow.defn +class MultiAgentWorkflow: + @workflow.run + async def run(self, topic: str) -> str: + session_service = InMemorySessionService() + session = await session_service.create_session( + app_name="multi_agent_app", user_id="user" + ) + + # The ActivityConfig summary makes each model turn a named activity in + # history. + researcher = LlmAgent( + name="researcher", + model=TemporalModel( + "gemini-2.5-flash", + activity_config=ActivityConfig(summary="Researcher Agent"), + ), + instruction="You are a researcher. Find information about the topic.", + ) + + writer = LlmAgent( + name="writer", + model=TemporalModel( + "gemini-2.5-flash", + activity_config=ActivityConfig(summary="Writer Agent"), + ), + instruction="You are a poet. Write a haiku based on the research.", + ) + + # ADK's transfer_to_agent handoff runs durably here. + coordinator = LlmAgent( + name="coordinator", + model=TemporalModel( + "gemini-2.5-flash", + activity_config=ActivityConfig( + start_to_close_timeout=timedelta(seconds=30), + summary="Coordinator Agent", + ), + ), + instruction="You are a coordinator. Delegate to researcher then writer.", + sub_agents=[researcher, writer], + ) + + runner = Runner( + agent=coordinator, + app_name="multi_agent_app", + session_service=session_service, + ) + + final_text = "" + user_msg = types.Content( + role="user", + parts=[ + types.Part( + text=f"Write a haiku about {topic}. First research it, then write it." + ) + ], + ) + async for event in runner.run_async( + user_id="user", session_id=session.id, new_message=user_msg + ): + if event.content and event.content.parts and event.content.parts[0].text: + final_text = event.content.parts[0].text + + return final_text + + +# @@@SNIPEND diff --git a/google_adk_agents/basic/README.md b/google_adk_agents/basic/README.md new file mode 100644 index 000000000..f9b6e2707 --- /dev/null +++ b/google_adk_agents/basic/README.md @@ -0,0 +1,39 @@ +# Basic — Single Agent, One Model Call + +The minimal Google ADK + Temporal sample: an ordinary ADK `Agent` whose +`model=TemporalModel("gemini-2.5-flash")`, driven by an `InMemoryRunner` inside +a workflow. No tools, no streaming — just one model turn. + +It demonstrates that `GoogleAdkPlugin`'s deterministic runtime and Pydantic +payload converter let an unmodified ADK agent run durably in a workflow, with +every LLM call surfaced as an `invoke_model` activity. + +Before running, review the [prerequisites in the suite README](../README.md) +(Temporal dev server, `uv sync --group google-adk`, and +`export GOOGLE_API_KEY=...`). + +## Running + +Start the worker in one terminal: + +```bash +uv run google_adk_agents/basic/run_worker.py +``` + +Then start the workflow in another terminal: + +```bash +uv run google_adk_agents/basic/run_hello_world_workflow.py +``` + +## What to expect + +The starter prints the agent's response — a haiku about recursion. The agent is +instructed to respond only in haikus. + +## In the Temporal UI + +Open the workflow `google-adk-agents-basic-workflow-id`. In the history you will +see one `invoke_model` activity for the single model turn. That activity is +where the call to Gemini actually happens — the workflow itself stays +deterministic and replay-safe. diff --git a/google_adk_agents/basic/__init__.py b/google_adk_agents/basic/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/basic/run_hello_world_workflow.py b/google_adk_agents/basic/run_hello_world_workflow.py new file mode 100644 index 000000000..c7fa34697 --- /dev/null +++ b/google_adk_agents/basic/run_hello_world_workflow.py @@ -0,0 +1,30 @@ +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin + +from google_adk_agents.basic.workflows.hello_world_workflow import ( + HelloWorldAgentWorkflow, +) + + +async def main(): + # @@@SNIPSTART google-adk-agents-basic-starter + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[GoogleAdkPlugin()], + ) + + result = await client.execute_workflow( + HelloWorldAgentWorkflow.run, + "Tell me about recursion in programming.", + id="google-adk-agents-basic-workflow-id", + task_queue="google-adk-agents-basic", + ) + print(f"Result: {result}") + # @@@SNIPEND + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/basic/run_worker.py b/google_adk_agents/basic/run_worker.py new file mode 100644 index 000000000..4044b4baa --- /dev/null +++ b/google_adk_agents/basic/run_worker.py @@ -0,0 +1,34 @@ +from __future__ import annotations + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.worker import Worker + +from google_adk_agents.basic.workflows.hello_world_workflow import ( + HelloWorldAgentWorkflow, +) + + +async def main(): + # @@@SNIPSTART google-adk-agents-basic-worker + plugin = GoogleAdkPlugin() + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), plugins=[plugin] + ) + + worker = Worker( + client, + task_queue="google-adk-agents-basic", + workflows=[HelloWorldAgentWorkflow], + plugins=[plugin], + ) + await worker.run() + # @@@SNIPEND + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/basic/workflows/__init__.py b/google_adk_agents/basic/workflows/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/basic/workflows/hello_world_workflow.py b/google_adk_agents/basic/workflows/hello_world_workflow.py new file mode 100644 index 000000000..eee43d5d7 --- /dev/null +++ b/google_adk_agents/basic/workflows/hello_world_workflow.py @@ -0,0 +1,45 @@ +from google.adk import Agent +from google.adk.runners import InMemoryRunner +from google.adk.utils.context_utils import Aclosing +from google.genai import types +from temporalio import workflow +from temporalio.contrib.google_adk_agents import TemporalModel + + +# @@@SNIPSTART google-adk-agents-basic-hello-world-agent-workflow +@workflow.defn +class HelloWorldAgentWorkflow: + @workflow.run + async def run(self, prompt: str) -> str: + # TemporalModel runs each model call as an `invoke_model` activity. + agent = Agent( + name="hello_world_agent", + model=TemporalModel("gemini-2.5-flash"), + instruction="You only respond in haikus.", + ) + + # The plugin points ADK's session-id generation at workflow.uuid4(), so + # creating a session here is replay-safe. + runner = InMemoryRunner(agent=agent, app_name="hello_world_app") + session = await runner.session_service.create_session( + app_name="hello_world_app", user_id="user" + ) + + final_text = "" + async with Aclosing( + runner.run_async( + user_id="user", + session_id=session.id, + new_message=types.Content(role="user", parts=[types.Part(text=prompt)]), + ) + ) as agen: + async for event in agen: + if event.content and event.content.parts: + for part in event.content.parts: + if part.text: + final_text = part.text + + return final_text + + +# @@@SNIPEND diff --git a/google_adk_agents/chatbot/README.md b/google_adk_agents/chatbot/README.md new file mode 100644 index 000000000..7f3510e78 --- /dev/null +++ b/google_adk_agents/chatbot/README.md @@ -0,0 +1,43 @@ +# Chatbot — Multi-Turn Conversation via Updates + +A no-frills conversational chatbot: an ADK `Agent` whose +`model=TemporalModel("gemini-2.5-flash")`, driven by an `InMemoryRunner` inside a +workflow that stays alive across turns. Unlike the [basic](../basic/README.md) +single-shot sample, one ADK session persists for the life of the workflow, so +the assistant remembers earlier turns. + +Each conversational turn arrives as a Temporal **Update**: the `message` update +handler feeds the user's text into `runner.run_async` on the persisted session +and returns the assistant's reply as the update result. The handler has a noop +validator that accepts every message. Every model turn still runs as its own +`invoke_model` activity. + +Before running, review the [prerequisites in the suite README](../README.md) +(Temporal dev server, `uv sync --group google-adk`, and +`export GOOGLE_API_KEY=...`). + +## Running + +Start the worker in one terminal: + +```bash +uv run google_adk_agents/chatbot/run_worker.py +``` + +Then start the interactive client in another terminal: + +```bash +uv run google_adk_agents/chatbot/run_chatbot_workflow.py +``` + +## What to expect + +The client starts the workflow, then reads messages from stdin. Each line is +sent as an update and the assistant's reply is printed. Enter an empty line or +`/quit` to end the session, which terminates the workflow. + +## In the Temporal UI + +Open the workflow `google-adk-agents-chatbot-workflow-id`. In the history you +will see the workflow stay running to accept updates, with one `invoke_model` +activity per turn. The workflow itself stays deterministic and replay-safe. diff --git a/google_adk_agents/chatbot/__init__.py b/google_adk_agents/chatbot/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/chatbot/run_chatbot_workflow.py b/google_adk_agents/chatbot/run_chatbot_workflow.py new file mode 100644 index 000000000..00d841f3b --- /dev/null +++ b/google_adk_agents/chatbot/run_chatbot_workflow.py @@ -0,0 +1,38 @@ +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin + +from google_adk_agents.chatbot.workflows.chatbot_workflow import ( + ChatbotAgentWorkflow, +) + + +async def main(): + # @@@SNIPSTART google-adk-agents-chatbot-starter + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[GoogleAdkPlugin()], + ) + + handle = await client.start_workflow( + ChatbotAgentWorkflow.run, + id="google-adk-agents-chatbot-workflow-id", + task_queue="google-adk-agents-chatbot", + ) + + print('Chat with the assistant. Enter an empty line or "/quit" to exit.') + while True: + message = input("> ").strip() + if not message or message == "/quit": + break + reply = await handle.execute_update(ChatbotAgentWorkflow.message, message) + print(f"Assistant: {reply}") + + await handle.terminate() + # @@@SNIPEND + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/chatbot/run_worker.py b/google_adk_agents/chatbot/run_worker.py new file mode 100644 index 000000000..c199835ff --- /dev/null +++ b/google_adk_agents/chatbot/run_worker.py @@ -0,0 +1,34 @@ +from __future__ import annotations + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.worker import Worker + +from google_adk_agents.chatbot.workflows.chatbot_workflow import ( + ChatbotAgentWorkflow, +) + + +async def main(): + # @@@SNIPSTART google-adk-agents-chatbot-worker + plugin = GoogleAdkPlugin() + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), plugins=[plugin] + ) + + worker = Worker( + client, + task_queue="google-adk-agents-chatbot", + workflows=[ChatbotAgentWorkflow], + plugins=[plugin], + ) + await worker.run() + # @@@SNIPEND + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/chatbot/workflows/__init__.py b/google_adk_agents/chatbot/workflows/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/chatbot/workflows/chatbot_workflow.py b/google_adk_agents/chatbot/workflows/chatbot_workflow.py new file mode 100644 index 000000000..5019c2e0b --- /dev/null +++ b/google_adk_agents/chatbot/workflows/chatbot_workflow.py @@ -0,0 +1,71 @@ +import asyncio + +from google.adk import Agent +from google.adk.runners import InMemoryRunner +from google.adk.utils.context_utils import Aclosing +from google.genai import types +from temporalio import workflow +from temporalio.contrib.google_adk_agents import TemporalModel + + +# @@@SNIPSTART google-adk-agents-chatbot-agent-workflow +@workflow.defn +class ChatbotAgentWorkflow: + def __init__(self) -> None: + self._ready = False + self._runner: InMemoryRunner | None = None + self._session_id: str | None = None + + @workflow.run + async def run(self) -> str: + agent = Agent( + name="chatbot_agent", + model=TemporalModel("gemini-2.5-flash"), + instruction="You are a helpful assistant.", + ) + + # The plugin points ADK's session-id generation at workflow.uuid4(), so + # creating a session here is replay-safe. + self._runner = InMemoryRunner(agent=agent, app_name="chatbot_app") + session = await self._runner.session_service.create_session( + app_name="chatbot_app", user_id="user" + ) + self._session_id = session.id + self._ready = True + + # Block forever to stay alive serving update turns; the client + # terminates the workflow when the user quits. + return await asyncio.Future() + + @workflow.update + async def message(self, message: str) -> str: + # An update can arrive before run() has created the runner and session, + # so wait until they are ready before using them. + await workflow.wait_condition(lambda: self._ready) + assert self._runner is not None and self._session_id is not None + + final_text = "" + async with Aclosing( + self._runner.run_async( + user_id="user", + session_id=self._session_id, + new_message=types.Content( + role="user", parts=[types.Part(text=message)] + ), + ) + ) as event_stream: + async for event in event_stream: + if event.content and event.content.parts: + for part in event.content.parts: + if part.text: + final_text = part.text + + return final_text + + @message.validator + def validate_message(self, message: str) -> None: + # Verify user messages here + pass + + +# @@@SNIPEND diff --git a/google_adk_agents/mcp/README.md b/google_adk_agents/mcp/README.md new file mode 100644 index 000000000..8dfa58b7b --- /dev/null +++ b/google_adk_agents/mcp/README.md @@ -0,0 +1,53 @@ +# MCP — MCP Tools as Activities + +An agent backed by `TemporalMcpToolSet("echo", ...)`, with the worker's plugin +configured as +`GoogleAdkPlugin(toolset_providers=[TemporalMcpToolSetProvider("echo", echo_toolset)])`. +The shared factory in [`toolsets.py`](./toolsets.py) builds an `McpToolset` over +the in-repo [`echo_mcp_server.py`](./echo_mcp_server.py), a one-tool FastMCP +server that echoes back the message it is given. + +The MCP server's `list-tools` and `call-tool` operations run as Temporal +activities (`echo-list-tools` / `echo-call-tool`), so the server is touched only +from activity context, never inside the workflow sandbox. The +`not_in_workflow_toolset` factory lets the same agent also run locally, outside a +workflow. + +## Self-contained, no Node required + +The echo server is a small Python script launched as a subprocess with the +current interpreter (`sys.executable`), so there is nothing to install and no +network access. Swap `echo_mcp_server.py` for any real MCP server (filesystem, +Postgres, GitHub, etc.) by changing the factory in `toolsets.py`. + +Also review the [prerequisites in the suite README](../README.md) (Temporal dev +server, `uv sync --group google-adk`, and `export GOOGLE_API_KEY=...`). + +## Running + +Start the worker in one terminal: + +```bash +uv run google_adk_agents/mcp/run_worker.py +``` + +Then start the workflow in another terminal: + +```bash +uv run google_adk_agents/mcp/run_echo_workflow.py +``` + +The worker spawns `echo_mcp_server.py` itself; you don't need to start it +separately. + +## What to expect + +The starter asks the agent to echo `hello from MCP`. The agent calls the echo +MCP tool and reports back when it's done. + +## In the Temporal UI + +Open the workflow `google-adk-agents-mcp-workflow-id`. The history shows an +`echo-list-tools` activity (discovering the MCP tools), `invoke_model` +activities for the model turns, and an `echo-call-tool` activity for each tool +the model invokes. The MCP subprocess only ever runs inside those activities. diff --git a/google_adk_agents/mcp/__init__.py b/google_adk_agents/mcp/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/mcp/echo_mcp_server.py b/google_adk_agents/mcp/echo_mcp_server.py new file mode 100644 index 000000000..2eb1447f6 --- /dev/null +++ b/google_adk_agents/mcp/echo_mcp_server.py @@ -0,0 +1,19 @@ +"""Tiny FastMCP server: exposes a single ``echo`` tool over stdio. + +The worker launches this script as a subprocess and connects to it via the +MCP stdio transport. Swap it for any real MCP server in production. +""" + +from mcp.server.fastmcp import FastMCP + +mcp = FastMCP("echo-server") + + +@mcp.tool() +def echo(message: str) -> str: + """Return the input message unchanged.""" + return message + + +if __name__ == "__main__": + mcp.run() diff --git a/google_adk_agents/mcp/run_echo_workflow.py b/google_adk_agents/mcp/run_echo_workflow.py new file mode 100644 index 000000000..d6a8c8b5d --- /dev/null +++ b/google_adk_agents/mcp/run_echo_workflow.py @@ -0,0 +1,26 @@ +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin + +from google_adk_agents.mcp.workflows.echo_workflow import EchoMcpWorkflow + + +async def main(): + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[GoogleAdkPlugin()], + ) + + result = await client.execute_workflow( + EchoMcpWorkflow.run, + "Echo 'hello from MCP'.", + id="google-adk-agents-mcp-workflow-id", + task_queue="google-adk-agents-mcp", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/mcp/run_worker.py b/google_adk_agents/mcp/run_worker.py new file mode 100644 index 000000000..8c8f6c2a2 --- /dev/null +++ b/google_adk_agents/mcp/run_worker.py @@ -0,0 +1,38 @@ +from __future__ import annotations + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import ( + GoogleAdkPlugin, + TemporalMcpToolSetProvider, +) +from temporalio.worker import Worker + +from google_adk_agents.mcp.toolsets import echo_toolset +from google_adk_agents.mcp.workflows.echo_workflow import EchoMcpWorkflow + + +async def main(): + # @@@SNIPSTART google-adk-agents-mcp-worker + plugin = GoogleAdkPlugin( + toolset_providers=[TemporalMcpToolSetProvider("echo", echo_toolset)] + ) + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), plugins=[plugin] + ) + + worker = Worker( + client, + task_queue="google-adk-agents-mcp", + workflows=[EchoMcpWorkflow], + plugins=[plugin], + ) + await worker.run() + # @@@SNIPEND + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/mcp/toolsets.py b/google_adk_agents/mcp/toolsets.py new file mode 100644 index 000000000..4dfd5c947 --- /dev/null +++ b/google_adk_agents/mcp/toolsets.py @@ -0,0 +1,30 @@ +import sys +from pathlib import Path +from typing import Any + +from google.adk.tools.mcp_tool import McpToolset +from google.adk.tools.mcp_tool.mcp_session_manager import StdioConnectionParams +from mcp import StdioServerParameters + +ECHO_SERVER = Path(__file__).parent / "echo_mcp_server.py" + + +# @@@SNIPSTART google-adk-agents-mcp-echo-toolset-factory +def echo_toolset(_: Any | None) -> McpToolset: + """Build an McpToolset over the local echo MCP server. + + The server is the in-repo echo_mcp_server.py script, launched as a + subprocess with the current Python interpreter. This factory only runs + inside an activity or a local ADK run, never inside workflow code. + """ + return McpToolset( + connection_params=StdioConnectionParams( + server_params=StdioServerParameters( + command=sys.executable, + args=[str(ECHO_SERVER)], + ), + ), + ) + + +# @@@SNIPEND diff --git a/google_adk_agents/mcp/workflows/__init__.py b/google_adk_agents/mcp/workflows/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/mcp/workflows/echo_workflow.py b/google_adk_agents/mcp/workflows/echo_workflow.py new file mode 100644 index 000000000..d3104f704 --- /dev/null +++ b/google_adk_agents/mcp/workflows/echo_workflow.py @@ -0,0 +1,54 @@ +from google.adk import Agent +from google.adk.runners import Runner +from google.adk.sessions import InMemorySessionService +from google.adk.utils.context_utils import Aclosing +from google.genai import types +from temporalio import workflow +from temporalio.contrib.google_adk_agents import TemporalMcpToolSet, TemporalModel + +from google_adk_agents.mcp.toolsets import echo_toolset + + +# @@@SNIPSTART google-adk-agents-mcp-echo-mcp-workflow +@workflow.defn +class EchoMcpWorkflow: + @workflow.run + async def run(self, prompt: str) -> str: + # TemporalMcpToolSet runs the MCP server's list-tools and call-tool + # calls as activities. + agent = Agent( + name="echo_agent", + model=TemporalModel("gemini-2.5-flash"), + instruction="Use the echo tool to echo back the user's message.", + tools=[TemporalMcpToolSet("echo", not_in_workflow_toolset=echo_toolset)], + ) + + session_service = InMemorySessionService() + session = await session_service.create_session( + app_name="echo_app", user_id="user" + ) + + runner = Runner( + agent=agent, + app_name="echo_app", + session_service=session_service, + ) + + final_text = "" + async with Aclosing( + runner.run_async( + user_id="user", + session_id=session.id, + new_message=types.Content(role="user", parts=[types.Part(text=prompt)]), + ) + ) as agen: + async for event in agen: + if event.content and event.content.parts: + for part in event.content.parts: + if part.text: + final_text = part.text + + return final_text + + +# @@@SNIPEND diff --git a/google_adk_agents/streaming/README.md b/google_adk_agents/streaming/README.md new file mode 100644 index 000000000..09e75a577 --- /dev/null +++ b/google_adk_agents/streaming/README.md @@ -0,0 +1,40 @@ +# Streaming — Token Streaming to an External Consumer + +A workflow that hosts a `WorkflowStream` and uses +`TemporalModel("gemini-2.5-flash", streaming_topic="responses")` with +`RunConfig(streaming_mode=StreamingMode.SSE)`. The streaming model activity +publishes raw `LlmResponse` chunks to the topic as they arrive; the starter +subscribes via `WorkflowStreamClient` and prints chunks as they come in, then +prints the final result. + +> Streaming support in the plugin is experimental and may change. + +Before running, review the [prerequisites in the suite README](../README.md) +(Temporal dev server, `uv sync --group google-adk`, and +`export GOOGLE_API_KEY=...`). + +## Running + +Start the worker in one terminal: + +```bash +uv run google_adk_agents/streaming/run_worker.py +``` + +Then start the workflow in another terminal: + +```bash +uv run google_adk_agents/streaming/run_streaming_workflow.py +``` + +## What to expect + +The starter asks for a short story and prints the response token-by-token as the +model streams it, then prints the assembled final result. + +## In the Temporal UI + +Open the workflow `google-adk-agents-streaming-workflow-id`. The history shows +an `invoke_model_streaming` activity (instead of `invoke_model`). That activity +calls the model with streaming enabled and publishes each chunk to the +`responses` topic, which is what the starter subscribes to. diff --git a/google_adk_agents/streaming/__init__.py b/google_adk_agents/streaming/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/streaming/run_streaming_workflow.py b/google_adk_agents/streaming/run_streaming_workflow.py new file mode 100644 index 000000000..b371e96e6 --- /dev/null +++ b/google_adk_agents/streaming/run_streaming_workflow.py @@ -0,0 +1,58 @@ +import asyncio +import os +from datetime import timedelta + +from google.adk.models.llm_response import LlmResponse +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from google_adk_agents.streaming.workflows.streaming_workflow import ( + StreamingAgentWorkflow, +) + +WORKFLOW_ID = "google-adk-agents-streaming-workflow-id" + + +async def main(): + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[GoogleAdkPlugin()], + ) + + handle = await client.start_workflow( + StreamingAgentWorkflow.run, + "Tell me a short story about a robot learning to paint.", + id=WORKFLOW_ID, + task_queue="google-adk-agents-streaming", + ) + + stream = WorkflowStreamClient.create(client, WORKFLOW_ID) + + async def print_chunks() -> None: + print("Streaming response:") + async for item in stream.subscribe( + ["responses"], + from_offset=0, + result_type=LlmResponse, + poll_cooldown=timedelta(milliseconds=50), + ): + response = item.data + if response.content and response.content.parts: + for part in response.content.parts: + if part.text: + print(part.text, end="", flush=True) + + chunk_task = asyncio.create_task(print_chunks()) + result = await handle.result() + chunk_task.cancel() + try: + await chunk_task + except asyncio.CancelledError: + pass + + print(f"\n\nFinal result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/streaming/run_worker.py b/google_adk_agents/streaming/run_worker.py new file mode 100644 index 000000000..cbf8f76af --- /dev/null +++ b/google_adk_agents/streaming/run_worker.py @@ -0,0 +1,32 @@ +from __future__ import annotations + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.worker import Worker + +from google_adk_agents.streaming.workflows.streaming_workflow import ( + StreamingAgentWorkflow, +) + + +async def main(): + plugin = GoogleAdkPlugin() + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), plugins=[plugin] + ) + + worker = Worker( + client, + task_queue="google-adk-agents-streaming", + workflows=[StreamingAgentWorkflow], + plugins=[plugin], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/streaming/workflows/__init__.py b/google_adk_agents/streaming/workflows/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/streaming/workflows/streaming_workflow.py b/google_adk_agents/streaming/workflows/streaming_workflow.py new file mode 100644 index 000000000..1a5d76149 --- /dev/null +++ b/google_adk_agents/streaming/workflows/streaming_workflow.py @@ -0,0 +1,50 @@ +from google.adk import Agent +from google.adk.agents.run_config import RunConfig, StreamingMode +from google.adk.runners import InMemoryRunner +from google.genai import types +from temporalio import workflow +from temporalio.contrib.google_adk_agents import TemporalModel +from temporalio.contrib.workflow_streams import WorkflowStream + + +# @@@SNIPSTART google-adk-agents-streaming-streaming-agent-workflow +@workflow.defn +class StreamingAgentWorkflow: + @workflow.init + def __init__(self, prompt: str) -> None: + # The streaming activity publishes LlmResponse chunks to this stream as + # they come back from the model. + self.stream = WorkflowStream() + + @workflow.run + async def run(self, prompt: str) -> str: + # streaming_mode=SSE routes the call through the invoke_model_streaming + # activity. + model = TemporalModel("gemini-2.5-flash", streaming_topic="responses") + agent = Agent( + name="streaming_agent", + model=model, + instruction="You are a helpful assistant.", + ) + + runner = InMemoryRunner(agent=agent, app_name="streaming_app") + session = await runner.session_service.create_session( + app_name="streaming_app", user_id="user" + ) + + final_text = "" + async for event in runner.run_async( + user_id="user", + session_id=session.id, + new_message=types.Content(role="user", parts=[types.Part(text=prompt)]), + run_config=RunConfig(streaming_mode=StreamingMode.SSE), + ): + if event.content and event.content.parts: + for part in event.content.parts: + if part.text: + final_text = part.text + + return final_text + + +# @@@SNIPEND diff --git a/google_adk_agents/tools/README.md b/google_adk_agents/tools/README.md new file mode 100644 index 000000000..006efe108 --- /dev/null +++ b/google_adk_agents/tools/README.md @@ -0,0 +1,37 @@ +# Tools — Temporal Activities as ADK Tools + +A weather agent whose `get_weather` Temporal activity is wrapped as an ADK tool +with `activity_tool(...)`. The model decides to call the tool; the tool runs as +its own Temporal activity — retryable and observable — rather than inline in the +workflow. This demonstrates the activity boundary for tool calls. + +Before running, review the [prerequisites in the suite README](../README.md) +(Temporal dev server, `uv sync --group google-adk`, and +`export GOOGLE_API_KEY=...`). + +## Running + +Start the worker in one terminal: + +```bash +uv run google_adk_agents/tools/run_worker.py +``` + +Then start the workflow in another terminal: + +```bash +uv run google_adk_agents/tools/run_weather_workflow.py +``` + +## What to expect + +The starter asks "What is the weather in New York?" and prints the agent's +answer, which incorporates the (canned) weather the tool returned. + +## In the Temporal UI + +Open the workflow `google-adk-agents-tools-workflow-id`. The history shows the +model deciding to call the tool, then a `get_weather` activity for the tool +call, then a second `invoke_model` activity where the model turns the tool +result into a final answer. Each model turn and each tool call is its own +activity. diff --git a/google_adk_agents/tools/__init__.py b/google_adk_agents/tools/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/tools/activities/__init__.py b/google_adk_agents/tools/activities/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/tools/activities/weather_activity.py b/google_adk_agents/tools/activities/weather_activity.py new file mode 100644 index 000000000..2a1fd10a7 --- /dev/null +++ b/google_adk_agents/tools/activities/weather_activity.py @@ -0,0 +1,15 @@ +from temporalio import activity + + +# @@@SNIPSTART google-adk-agents-tools-get-weather +@activity.defn +async def get_weather(city: str) -> str: + """Return the weather for a city. + + In a real sample this would call a weather API. Here it returns a fixed + response so the sample runs without external credentials. + """ + return f"The weather in {city} is warm and sunny, 17 degrees." + + +# @@@SNIPEND diff --git a/google_adk_agents/tools/run_weather_workflow.py b/google_adk_agents/tools/run_weather_workflow.py new file mode 100644 index 000000000..e775a0db1 --- /dev/null +++ b/google_adk_agents/tools/run_weather_workflow.py @@ -0,0 +1,26 @@ +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin + +from google_adk_agents.tools.workflows.weather_workflow import WeatherAgentWorkflow + + +async def main(): + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[GoogleAdkPlugin()], + ) + + result = await client.execute_workflow( + WeatherAgentWorkflow.run, + "What is the weather in New York?", + id="google-adk-agents-tools-workflow-id", + task_queue="google-adk-agents-tools", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/tools/run_worker.py b/google_adk_agents/tools/run_worker.py new file mode 100644 index 000000000..71aee072e --- /dev/null +++ b/google_adk_agents/tools/run_worker.py @@ -0,0 +1,34 @@ +from __future__ import annotations + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.worker import Worker + +from google_adk_agents.tools.activities.weather_activity import get_weather +from google_adk_agents.tools.workflows.weather_workflow import WeatherAgentWorkflow + + +async def main(): + # @@@SNIPSTART google-adk-agents-tools-worker + plugin = GoogleAdkPlugin() + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), plugins=[plugin] + ) + + worker = Worker( + client, + task_queue="google-adk-agents-tools", + workflows=[WeatherAgentWorkflow], + activities=[get_weather], + plugins=[plugin], + ) + await worker.run() + # @@@SNIPEND + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_adk_agents/tools/workflows/__init__.py b/google_adk_agents/tools/workflows/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_adk_agents/tools/workflows/weather_workflow.py b/google_adk_agents/tools/workflows/weather_workflow.py new file mode 100644 index 000000000..6351210c4 --- /dev/null +++ b/google_adk_agents/tools/workflows/weather_workflow.py @@ -0,0 +1,54 @@ +from datetime import timedelta + +import temporalio.contrib.google_adk_agents.workflow +from google.adk import Agent +from google.adk.runners import InMemoryRunner +from google.adk.utils.context_utils import Aclosing +from google.genai import types +from temporalio import workflow +from temporalio.contrib.google_adk_agents import TemporalModel + +from google_adk_agents.tools.activities.weather_activity import get_weather + + +# @@@SNIPSTART google-adk-agents-tools-weather-agent-workflow +@workflow.defn +class WeatherAgentWorkflow: + @workflow.run + async def run(self, prompt: str) -> str: + # activity_tool runs the tool call as a real Temporal activity, so it's + # retryable and shows up in history. + weather_tool = temporalio.contrib.google_adk_agents.workflow.activity_tool( + get_weather, start_to_close_timeout=timedelta(seconds=60) + ) + + agent = Agent( + name="weather_agent", + model=TemporalModel("gemini-2.5-flash"), + instruction="Use the get_weather tool to answer weather questions.", + tools=[weather_tool], + ) + + runner = InMemoryRunner(agent=agent, app_name="weather_app") + session = await runner.session_service.create_session( + app_name="weather_app", user_id="user" + ) + + final_text = "" + async with Aclosing( + runner.run_async( + user_id="user", + session_id=session.id, + new_message=types.Content(role="user", parts=[types.Part(text=prompt)]), + ) + ) as agen: + async for event in agen: + if event.content and event.content.parts: + for part in event.content.parts: + if part.text: + final_text = part.text + + return final_text + + +# @@@SNIPEND diff --git a/google_genai/README.md b/google_genai/README.md new file mode 100644 index 000000000..4b49b0e96 --- /dev/null +++ b/google_genai/README.md @@ -0,0 +1,76 @@ +# Google GenAI Samples + +These samples demonstrate the [Temporal Google GenAI plugin](https://github.com/temporalio/sdk-python/tree/main/temporalio/contrib/google_genai), which runs the [Google Gemini SDK](https://googleapis.github.io/python-genai/) inside Temporal Workflows. Workflows construct a `TemporalAsyncClient`, and every Gemini API call — `generate_content`, tool calls, streaming, files, interactions, agents — runs as a Temporal Activity. You get durable execution, Temporal-managed retries and timeouts, and your credentials never enter the workflow or its event history. + +## Samples + +| Sample | Description | +|--------|-------------| +| [hello_world](hello_world) | Minimal `generate_content` call. Start here. | +| [tools](tools) | Automatic function calling: an `activity_as_tool`-wrapped activity and a plain workflow-method tool on one call. | +| [streaming](streaming) | Forward `generate_content_stream` chunks to an external subscriber via `streaming_topic` + `WorkflowStream`. | +| [chat](chat) | Multi-turn conversation with `client.chats`. | +| [structured_output](structured_output) | Typed JSON output via `response_schema` and a Pydantic model. | +| [mcp](mcp) | Give Gemini an MCP server's tools via `TemporalMcpClientSession`. | +| [files](files) | Upload a file with `client.files` and reference it in a call. *(needs a live API key)* | +| [interactions](interactions) | Stateful server-side conversations via `client.interactions`. *(needs a live API key)* | +| [agents](agents) | Managed-agent CRUD via `client.agents`. *(needs a live API key)* | +| [vertex_ai](vertex_ai) | The hello-world flow against Vertex AI (`vertexai=True`). *(needs GCP credentials)* | + +## Prerequisites + +1. Install dependencies: + + ```bash + uv sync --group google-genai + ``` + +2. Configure credentials. Most samples use the Gemini Developer API and read an API key from the environment: + + ```bash + export GOOGLE_API_KEY=... + ``` + + The [vertex_ai](vertex_ai) sample instead uses Vertex AI with Google Cloud Application Default Credentials — see its README. You can authenticate with `gcloud auth application-default login` and set `GOOGLE_CLOUD_PROJECT` (and optionally `GOOGLE_CLOUD_LOCATION`). + +3. Start a [Temporal dev server](https://docs.temporal.io/cli#start-dev-server): + + ```bash + temporal server start-dev + ``` + +## Running a Sample + +Each sample has two scripts. Start the Worker first, then the Workflow starter in a separate terminal: + +```bash +# Terminal 1: start the Worker +uv run google_genai//run_worker.py + +# Terminal 2: start the Workflow +uv run google_genai//run_workflow.py +``` + +For example, to run the tools sample: + +```bash +# Terminal 1 +uv run google_genai/tools/run_worker.py + +# Terminal 2 +uv run google_genai/tools/run_workflow.py +``` + +## Key Features Demonstrated + +- **Durable API calls** — every Gemini call runs as an activity with configurable timeouts and retries; no credentials enter workflow history. +- **Automatic function calling** — the SDK's AFC loop runs in-workflow; tools can be durable activities (`activity_as_tool`) or plain workflow methods. +- **Streaming** — forward model chunks live to external subscribers via `WorkflowStream`. +- **Structured output** — Pydantic-typed results through the plugin's Pydantic data converter. +- **MCP integration** — register MCP servers on the worker; tool calls dispatched through per-server activities. +- **Full API surface** — chat, the Files API, the Interactions API, managed agents, and Vertex AI. + +## Related + +- [Temporal Google GenAI plugin docs](https://github.com/temporalio/sdk-python/tree/main/temporalio/contrib/google_genai) +- [Google Gemini SDK (`google-genai`)](https://googleapis.github.io/python-genai/) diff --git a/google_genai/__init__.py b/google_genai/__init__.py new file mode 100644 index 000000000..4cd479869 --- /dev/null +++ b/google_genai/__init__.py @@ -0,0 +1 @@ +"""Temporal Google GenAI plugin samples.""" diff --git a/google_genai/agents/README.md b/google_genai/agents/README.md new file mode 100644 index 000000000..3e09ab842 --- /dev/null +++ b/google_genai/agents/README.md @@ -0,0 +1,51 @@ +# Managed Agents + +Managed agents (`client.agents`) are server-side resources you can create, fetch, +list, and delete. This sample runs the full CRUD cycle, each operation as a +Temporal activity. + +> **Requires a live Gemini API key.** The Agents API talks to a real backend that +> the plugin's test server does not mock, so this sample has no automated test — +> run it against a real `GOOGLE_API_KEY`. + +## What This Sample Demonstrates + +- `client.agents.create(id=..., system_instruction=...)` +- `client.agents.get(id)`, `client.agents.list(page_size=...)`, `client.agents.delete(id)` +- Cleaning up the agent in a `finally` block so a failure mid-cycle doesn't leak it + +## Creating Server-Side Resources Durably + +Every call here runs as an activity, so each one can be retried — including +after it already succeeded on the backend but its completion was lost. Two +habits worth carrying into real code: + +- **Make creates idempotent.** `client.agents.create(id=...)` with a + caller-chosen id fails with "already exists" on such a retry. Derive the id + deterministically from workflow state (`workflow.uuid4()`, or the workflow id) + so every attempt targets the same resource, and treat "already exists" as + success — for example by falling back to `client.agents.get(id)`. +- **Clean up in a `finally`.** Without it, a failing `get`/`list` skips the + `delete` and the agent lingers on Google's backend even though the workflow + ended. + +## Running the Sample + +Prerequisites: install dependencies, set `GOOGLE_API_KEY`, and start a Temporal +dev server. See the [suite README](../README.md). + +```bash +# Terminal 1 +uv run google_genai/agents/run_worker.py + +# Terminal 2 +uv run google_genai/agents/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `AgentsWorkflow` — create, get, list, delete a managed agent | +| `run_worker.py` | Registers `GoogleGenAIPlugin`, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/google_genai/agents/__init__.py b/google_genai/agents/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_genai/agents/run_worker.py b/google_genai/agents/run_worker.py new file mode 100644 index 000000000..1bd294ba1 --- /dev/null +++ b/google_genai/agents/run_worker.py @@ -0,0 +1,35 @@ +"""Worker for the agents sample.""" + +# @@@SNIPSTART python-google-genai-agents-worker +import asyncio +import os + +from google import genai +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.worker import Worker + +from google_genai.agents.workflow import AgentsWorkflow + + +async def main() -> None: + genai_client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"]) + plugin = GoogleGenAIPlugin(genai_client) + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="google-genai-agents", + workflows=[AgentsWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/agents/run_workflow.py b/google_genai/agents/run_workflow.py new file mode 100644 index 000000000..63307b9c1 --- /dev/null +++ b/google_genai/agents/run_workflow.py @@ -0,0 +1,27 @@ +"""Start the agents workflow.""" + +# @@@SNIPSTART python-google-genai-agents-run-workflow +import asyncio +import os + +from temporalio.client import Client + +from google_genai.agents.workflow import AgentsWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + AgentsWorkflow.run, + "samples-demo-agent", + id="google-genai-agents", + task_queue="google-genai-agents", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/agents/workflow.py b/google_genai/agents/workflow.py new file mode 100644 index 000000000..59277e97a --- /dev/null +++ b/google_genai/agents/workflow.py @@ -0,0 +1,43 @@ +"""Managed agents CRUD via client.agents. + +Managed agents are server-side resources you create, fetch, list, and delete. +Each operation runs as a Temporal activity. +""" + +from typing import Any + +from temporalio import workflow +from temporalio.contrib.google_genai import TemporalAsyncClient + + +# @@@SNIPSTART python-google-genai-agents-workflow +@workflow.defn +class AgentsWorkflow: + @workflow.run + async def run(self, agent_id: str) -> dict[str, Any]: + client = TemporalAsyncClient() + + # Creating with a caller-chosen id is not idempotent: if the activity + # succeeds but its completion is lost, the retry sees "already exists". + # Real code should generate the id from workflow state and treat that + # error as success (see this sample's README). + created = await client.agents.create( + id=agent_id, + system_instruction="You are a helpful assistant.", + ) + try: + fetched = await client.agents.get(agent_id) + listing = await client.agents.list(page_size=10) + finally: + # Delete in a finally block so a failed get/list doesn't leak the + # agent on Google's backend. + await client.agents.delete(agent_id) + + return { + "created_id": created.id, + "fetched_id": fetched.id, + "listed_ids": [a.id for a in (listing.agents or [])], + } + + +# @@@SNIPEND diff --git a/google_genai/chat/README.md b/google_genai/chat/README.md new file mode 100644 index 000000000..2275f51e4 --- /dev/null +++ b/google_genai/chat/README.md @@ -0,0 +1,31 @@ +# Chat + +A multi-turn conversation using `client.chats`. The chat session carries history +across turns, and each `send_message` call runs as a durable Temporal activity. + +## What This Sample Demonstrates + +- Creating a chat session with `client.chats.create(...)` +- Sending multiple turns with `await chat.send_message(...)` +- Conversation state persisting across durable activity calls + +## Running the Sample + +Prerequisites: install dependencies, set `GOOGLE_API_KEY`, and start a Temporal +dev server. See the [suite README](../README.md). + +```bash +# Terminal 1 +uv run google_genai/chat/run_worker.py + +# Terminal 2 +uv run google_genai/chat/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `ChatWorkflow` — sends a list of prompts over one chat session | +| `run_worker.py` | Registers `GoogleGenAIPlugin`, starts the worker | +| `run_workflow.py` | Executes the workflow and prints each turn's reply | diff --git a/google_genai/chat/__init__.py b/google_genai/chat/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_genai/chat/run_worker.py b/google_genai/chat/run_worker.py new file mode 100644 index 000000000..3bd56f679 --- /dev/null +++ b/google_genai/chat/run_worker.py @@ -0,0 +1,35 @@ +"""Worker for the chat sample.""" + +# @@@SNIPSTART python-google-genai-chat-worker +import asyncio +import os + +from google import genai +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.worker import Worker + +from google_genai.chat.workflow import ChatWorkflow + + +async def main() -> None: + genai_client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"]) + plugin = GoogleGenAIPlugin(genai_client) + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="google-genai-chat", + workflows=[ChatWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/chat/run_workflow.py b/google_genai/chat/run_workflow.py new file mode 100644 index 000000000..15ac4281a --- /dev/null +++ b/google_genai/chat/run_workflow.py @@ -0,0 +1,31 @@ +"""Start the chat workflow with a multi-turn conversation.""" + +# @@@SNIPSTART python-google-genai-chat-run-workflow +import asyncio +import os + +from temporalio.client import Client + +from google_genai.chat.workflow import ChatWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + ChatWorkflow.run, + [ + "My favorite color is teal. Remember that.", + "What is my favorite color?", + ], + id="google-genai-chat", + task_queue="google-genai-chat", + ) + + for turn, reply in enumerate(result, start=1): + print(f"Turn {turn}: {reply}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/chat/workflow.py b/google_genai/chat/workflow.py new file mode 100644 index 000000000..e1558f233 --- /dev/null +++ b/google_genai/chat/workflow.py @@ -0,0 +1,26 @@ +"""Multi-turn chat using client.chats. + +A chat session keeps conversation history across turns. Each ``send_message`` +call runs as a durable Temporal activity, and the SDK threads prior turns into +each request automatically. +""" + +from temporalio import workflow +from temporalio.contrib.google_genai import TemporalAsyncClient + + +# @@@SNIPSTART python-google-genai-chat-workflow +@workflow.defn +class ChatWorkflow: + @workflow.run + async def run(self, prompts: list[str]) -> list[str]: + client = TemporalAsyncClient() + chat = client.chats.create(model="gemini-2.5-flash") + replies: list[str] = [] + for prompt in prompts: + response = await chat.send_message(prompt) + replies.append(response.text or "") + return replies + + +# @@@SNIPEND diff --git a/google_genai/files/README.md b/google_genai/files/README.md new file mode 100644 index 000000000..64cffeae3 --- /dev/null +++ b/google_genai/files/README.md @@ -0,0 +1,38 @@ +# Files + +Upload a file with the Gemini Files API, then ask the model about it. +`client.files.upload` runs as a Temporal activity on the worker (the file is +read there), and the returned file handle is referenced in a `generate_content` +call. + +> **Requires a live Gemini API key.** The Files API talks to a real backend that +> the plugin's test server does not mock, so this sample has no automated test — +> run it against a real `GOOGLE_API_KEY`. The file path is resolved on the +> worker, so `sample.txt` must be reachable by the worker process. + +## What This Sample Demonstrates + +- `client.files.upload(file=..., config=UploadFileConfig(...))` as a durable activity +- Referencing the uploaded file handle in `generate_content` `contents` + +## Running the Sample + +Prerequisites: install dependencies, set `GOOGLE_API_KEY`, and start a Temporal +dev server. See the [suite README](../README.md). + +```bash +# Terminal 1 +uv run google_genai/files/run_worker.py + +# Terminal 2 +uv run google_genai/files/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `sample.txt` | The document uploaded and summarized | +| `workflow.py` | `FilesWorkflow` — uploads a file, then summarizes it | +| `run_worker.py` | Registers `GoogleGenAIPlugin`, starts the worker | +| `run_workflow.py` | Executes the workflow with the sample file path | diff --git a/google_genai/files/__init__.py b/google_genai/files/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_genai/files/run_worker.py b/google_genai/files/run_worker.py new file mode 100644 index 000000000..5e843ed4b --- /dev/null +++ b/google_genai/files/run_worker.py @@ -0,0 +1,35 @@ +"""Worker for the files sample.""" + +# @@@SNIPSTART python-google-genai-files-worker +import asyncio +import os + +from google import genai +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.worker import Worker + +from google_genai.files.workflow import FilesWorkflow + + +async def main() -> None: + genai_client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"]) + plugin = GoogleGenAIPlugin(genai_client) + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="google-genai-files", + workflows=[FilesWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/files/run_workflow.py b/google_genai/files/run_workflow.py new file mode 100644 index 000000000..c66129964 --- /dev/null +++ b/google_genai/files/run_workflow.py @@ -0,0 +1,34 @@ +"""Start the files workflow. + +The file is read on the worker, so ``sample.txt`` must be on a path the worker +process can access (here it ships alongside this sample). +""" + +# @@@SNIPSTART python-google-genai-files-run-workflow +import asyncio +import os +from pathlib import Path + +from temporalio.client import Client + +from google_genai.files.workflow import FilesWorkflow + +SAMPLE_FILE = str(Path(__file__).parent / "sample.txt") + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + FilesWorkflow.run, + args=[SAMPLE_FILE, "Summarize this document in one sentence."], + id="google-genai-files", + task_queue="google-genai-files", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/files/sample.txt b/google_genai/files/sample.txt new file mode 100644 index 000000000..d192614a1 --- /dev/null +++ b/google_genai/files/sample.txt @@ -0,0 +1,6 @@ +Temporal is a durable execution platform. Workflows written with the Temporal +SDK run as ordinary code, but their state is persisted by the Temporal service, +so they survive process crashes, machine restarts, and deploys. Activities +encapsulate side effects like network calls; Temporal handles their retries and +timeouts. The Google GenAI plugin builds on this by running every Gemini API +call as a durable activity. diff --git a/google_genai/files/workflow.py b/google_genai/files/workflow.py new file mode 100644 index 000000000..ab4f9a71e --- /dev/null +++ b/google_genai/files/workflow.py @@ -0,0 +1,33 @@ +"""Upload a file with the Files API, then ask Gemini about it. + +``client.files.upload`` runs as an activity on the worker — the file is read +there, not in the workflow — and the returned file handle is then referenced in +a ``generate_content`` call. +""" + +from typing import cast + +from google.genai import types +from temporalio import workflow +from temporalio.contrib.google_genai import TemporalAsyncClient + + +# @@@SNIPSTART python-google-genai-files-workflow +@workflow.defn +class FilesWorkflow: + @workflow.run + async def run(self, file_path: str, prompt: str) -> str: + client = TemporalAsyncClient() + uploaded = await client.files.upload( + file=file_path, + config=types.UploadFileConfig(mime_type="text/plain"), + ) + contents = cast(types.ContentListUnion, [prompt, uploaded]) + response = await client.models.generate_content( + model="gemini-2.5-flash", + contents=contents, + ) + return response.text or "" + + +# @@@SNIPEND diff --git a/google_genai/hello_world/README.md b/google_genai/hello_world/README.md new file mode 100644 index 000000000..5f6dd8b66 --- /dev/null +++ b/google_genai/hello_world/README.md @@ -0,0 +1,33 @@ +# Hello World + +The simplest Google GenAI + Temporal sample: one `generate_content` call. The +call runs as a Temporal activity, so it gets durable retries, timeouts, and +crash recovery, and the Gemini credentials never enter the workflow. + +## What This Sample Demonstrates + +- Wiring `GoogleGenAIPlugin` onto the worker with a real `genai.Client` +- Constructing a `TemporalAsyncClient` inside a `@workflow.defn` +- Calling `client.models.generate_content(...)` durably + +## Running the Sample + +Prerequisites: install dependencies, set `GOOGLE_API_KEY`, and start a Temporal +dev server (`temporal server start-dev`). See the +[suite README](../README.md) for details. + +```bash +# Terminal 1 +uv run google_genai/hello_world/run_worker.py + +# Terminal 2 +uv run google_genai/hello_world/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `HelloWorldWorkflow` with a single `generate_content` call | +| `run_worker.py` | Registers `GoogleGenAIPlugin`, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/google_genai/hello_world/__init__.py b/google_genai/hello_world/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_genai/hello_world/run_worker.py b/google_genai/hello_world/run_worker.py new file mode 100644 index 000000000..422a1b541 --- /dev/null +++ b/google_genai/hello_world/run_worker.py @@ -0,0 +1,36 @@ +"""Worker for the hello world sample.""" + +# @@@SNIPSTART python-google-genai-hello-world-worker +import asyncio +import os + +from google import genai +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.worker import Worker + +from google_genai.hello_world.workflow import HelloWorldWorkflow + + +async def main() -> None: + # The real genai.Client (with credentials) lives only on the worker. + genai_client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"]) + plugin = GoogleGenAIPlugin(genai_client) + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="google-genai-hello-world", + workflows=[HelloWorldWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/hello_world/run_workflow.py b/google_genai/hello_world/run_workflow.py new file mode 100644 index 000000000..89d93e45b --- /dev/null +++ b/google_genai/hello_world/run_workflow.py @@ -0,0 +1,27 @@ +"""Start the hello world workflow.""" + +# @@@SNIPSTART python-google-genai-hello-world-run-workflow +import asyncio +import os + +from temporalio.client import Client + +from google_genai.hello_world.workflow import HelloWorldWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + HelloWorldWorkflow.run, + "Write a haiku about durable execution.", + id="google-genai-hello-world", + task_queue="google-genai-hello-world", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/hello_world/workflow.py b/google_genai/hello_world/workflow.py new file mode 100644 index 000000000..c9664580f --- /dev/null +++ b/google_genai/hello_world/workflow.py @@ -0,0 +1,25 @@ +"""Minimal Temporal + Google GenAI workflow: one prompt, one response. + +Every Gemini API call made through ``TemporalAsyncClient`` runs as a durable +Temporal activity, so it gets retries, timeouts, and crash recovery for free — +and no credentials ever enter the workflow. +""" + +from temporalio import workflow +from temporalio.contrib.google_genai import TemporalAsyncClient + + +# @@@SNIPSTART python-google-genai-hello-world-workflow +@workflow.defn +class HelloWorldWorkflow: + @workflow.run + async def run(self, prompt: str) -> str: + client = TemporalAsyncClient() + response = await client.models.generate_content( + model="gemini-2.5-flash", + contents=prompt, + ) + return response.text or "" + + +# @@@SNIPEND diff --git a/google_genai/interactions/README.md b/google_genai/interactions/README.md new file mode 100644 index 000000000..34d28b024 --- /dev/null +++ b/google_genai/interactions/README.md @@ -0,0 +1,40 @@ +# Interactions + +The Interactions API (`client.interactions`) is a server-managed, stateful +conversation API: state lives on Google's backend, addressed by an interaction +id. This sample creates an interaction, fetches it, and deletes it — each +operation running as a Temporal activity. + +> **Requires a live Gemini API key.** The Interactions API talks to a real +> backend that the plugin's test server does not mock, so this sample has no +> automated test — run it against a real `GOOGLE_API_KEY`. + +Note: unlike `client.models`, the Interactions API has no automatic function +calling. To use tools, declare them as `{"type": "function", ...}` dicts and +drive the tool loop yourself. + +## What This Sample Demonstrates + +- `client.interactions.create(model=..., input=...)` as a durable activity +- `client.interactions.get(id)` and `client.interactions.delete(id)` + +## Running the Sample + +Prerequisites: install dependencies, set `GOOGLE_API_KEY`, and start a Temporal +dev server. See the [suite README](../README.md). + +```bash +# Terminal 1 +uv run google_genai/interactions/run_worker.py + +# Terminal 2 +uv run google_genai/interactions/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `InteractionsWorkflow` — create, get, delete an interaction | +| `run_worker.py` | Registers `GoogleGenAIPlugin`, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/google_genai/interactions/__init__.py b/google_genai/interactions/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_genai/interactions/run_worker.py b/google_genai/interactions/run_worker.py new file mode 100644 index 000000000..36539f29f --- /dev/null +++ b/google_genai/interactions/run_worker.py @@ -0,0 +1,35 @@ +"""Worker for the interactions sample.""" + +# @@@SNIPSTART python-google-genai-interactions-worker +import asyncio +import os + +from google import genai +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.worker import Worker + +from google_genai.interactions.workflow import InteractionsWorkflow + + +async def main() -> None: + genai_client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"]) + plugin = GoogleGenAIPlugin(genai_client) + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="google-genai-interactions", + workflows=[InteractionsWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/interactions/run_workflow.py b/google_genai/interactions/run_workflow.py new file mode 100644 index 000000000..b0413fe3d --- /dev/null +++ b/google_genai/interactions/run_workflow.py @@ -0,0 +1,27 @@ +"""Start the interactions workflow.""" + +# @@@SNIPSTART python-google-genai-interactions-run-workflow +import asyncio +import os + +from temporalio.client import Client + +from google_genai.interactions.workflow import InteractionsWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + InteractionsWorkflow.run, + "What is durable execution?", + id="google-genai-interactions", + task_queue="google-genai-interactions", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/interactions/workflow.py b/google_genai/interactions/workflow.py new file mode 100644 index 000000000..5c2270946 --- /dev/null +++ b/google_genai/interactions/workflow.py @@ -0,0 +1,34 @@ +"""Stateful server-side conversations via the Interactions API. + +``client.interactions`` is a server-managed API: the conversation state lives on +Google's backend, addressed by an interaction id. Each operation — create, get, +delete — runs as a Temporal activity. Unlike ``client.models``, this API has no +automatic function calling. +""" + +from typing import Any + +from temporalio import workflow +from temporalio.contrib.google_genai import TemporalAsyncClient + + +# @@@SNIPSTART python-google-genai-interactions-workflow +@workflow.defn +class InteractionsWorkflow: + @workflow.run + async def run(self, prompt: str) -> dict[str, Any]: + client = TemporalAsyncClient() + + # create/get return either an Interaction or a streaming response; without + # stream=True the result is always an Interaction. + interaction: Any = await client.interactions.create( + model="gemini-2.5-flash", + input=prompt, + ) + fetched: Any = await client.interactions.get(interaction.id) + await client.interactions.delete(interaction.id) + + return {"id": interaction.id, "status": str(fetched.status)} + + +# @@@SNIPEND diff --git a/google_genai/mcp/README.md b/google_genai/mcp/README.md new file mode 100644 index 000000000..da4a10b55 --- /dev/null +++ b/google_genai/mcp/README.md @@ -0,0 +1,37 @@ +# MCP + +Give Gemini access to an [MCP](https://modelcontextprotocol.io/) server's tools. +The worker launches the `echo_mcp_server.py` stdio server and registers it with +the plugin under the name `echo`. Inside the workflow, a +`TemporalMcpClientSession("echo")` is passed as a tool — Gemini's AFC loop +discovers and calls its tools, and `list_tools` / `call_tool` run as Temporal +activities against a pooled worker-side connection. + +## What This Sample Demonstrates + +- Registering an MCP server with `GoogleGenAIPlugin(mcp_servers={...})` +- Passing `TemporalMcpClientSession(name)` as a `generate_content` tool +- `cache_tools=True` to discover the tool list once and reuse it (replay-safe) +- MCP tool calls dispatched through per-server Temporal activities + +## Running the Sample + +Prerequisites: install dependencies, set `GOOGLE_API_KEY`, and start a Temporal +dev server. See the [suite README](../README.md). + +```bash +# Terminal 1 +uv run google_genai/mcp/run_worker.py + +# Terminal 2 +uv run google_genai/mcp/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `echo_mcp_server.py` | A minimal `FastMCP` stdio server exposing an `echo` tool | +| `workflow.py` | `McpWorkflow` — passes `TemporalMcpClientSession("echo")` as a tool | +| `run_worker.py` | Registers the `echo` MCP server with the plugin, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/google_genai/mcp/__init__.py b/google_genai/mcp/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_genai/mcp/echo_mcp_server.py b/google_genai/mcp/echo_mcp_server.py new file mode 100644 index 000000000..d75f82cd7 --- /dev/null +++ b/google_genai/mcp/echo_mcp_server.py @@ -0,0 +1,15 @@ +"""A minimal stdio MCP server used by the MCP sample.""" + +from mcp.server.fastmcp import FastMCP + +mcp = FastMCP("echo-server") + + +@mcp.tool() +def echo(message: str) -> str: + """Return the input message unchanged.""" + return message + + +if __name__ == "__main__": + mcp.run() diff --git a/google_genai/mcp/run_worker.py b/google_genai/mcp/run_worker.py new file mode 100644 index 000000000..821c3555b --- /dev/null +++ b/google_genai/mcp/run_worker.py @@ -0,0 +1,58 @@ +"""Worker for the MCP sample. + +Registers an ``echo`` MCP server (the ``echo_mcp_server.py`` stdio script) with +the plugin. The plugin opens a pooled MCP connection on the worker and runs +``list_tools`` / ``call_tool`` as activities. +""" + +import asyncio +import os +import sys +from collections.abc import AsyncIterator +from contextlib import asynccontextmanager +from pathlib import Path + +from google import genai +from mcp import ClientSession, StdioServerParameters +from mcp.client.stdio import stdio_client +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.worker import Worker + +from google_genai.mcp.workflow import McpWorkflow + +ECHO_SERVER = str(Path(__file__).parent / "echo_mcp_server.py") + + +# @@@SNIPSTART python-google-genai-mcp-worker +@asynccontextmanager +async def echo_session() -> AsyncIterator[ClientSession]: + """Yield a connected, initialized session to the stdio echo MCP server.""" + params = StdioServerParameters(command=sys.executable, args=[ECHO_SERVER]) + async with stdio_client(params) as (read, write): + async with ClientSession(read, write) as session: + await session.initialize() + yield session + + +async def main() -> None: + genai_client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"]) + plugin = GoogleGenAIPlugin(genai_client, mcp_servers={"echo": echo_session}) + # @@@SNIPEND + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="google-genai-mcp", + workflows=[McpWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_genai/mcp/run_workflow.py b/google_genai/mcp/run_workflow.py new file mode 100644 index 000000000..b817c77ea --- /dev/null +++ b/google_genai/mcp/run_workflow.py @@ -0,0 +1,27 @@ +"""Start the MCP workflow.""" + +# @@@SNIPSTART python-google-genai-mcp-run-workflow +import asyncio +import os + +from temporalio.client import Client + +from google_genai.mcp.workflow import McpWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + McpWorkflow.run, + "Use the echo tool to echo back the phrase: durable execution.", + id="google-genai-mcp", + task_queue="google-genai-mcp", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/mcp/workflow.py b/google_genai/mcp/workflow.py new file mode 100644 index 000000000..207e0a061 --- /dev/null +++ b/google_genai/mcp/workflow.py @@ -0,0 +1,41 @@ +"""Use an MCP server's tools from a Gemini call via TemporalMcpClientSession. + +The worker registers an ``echo`` MCP server with the plugin. Inside the +workflow, ``TemporalMcpClientSession("echo")`` is passed as a tool; Gemini's AFC +loop discovers and calls the MCP tools, with ``list_tools`` / ``call_tool`` +running as Temporal activities against a pooled worker-side connection. +""" + +from datetime import timedelta + +from google.genai import types +from temporalio import workflow +from temporalio.contrib.google_genai import ( + TemporalAsyncClient, + TemporalMcpClientSession, +) +from temporalio.workflow import ActivityConfig + + +# @@@SNIPSTART python-google-genai-mcp-workflow +@workflow.defn +class McpWorkflow: + @workflow.run + async def run(self, prompt: str) -> str: + client = TemporalAsyncClient() + session = TemporalMcpClientSession( + "echo", + cache_tools=True, + activity_config=ActivityConfig( + start_to_close_timeout=timedelta(seconds=30), + ), + ) + response = await client.models.generate_content( + model="gemini-2.5-flash", + contents=prompt, + config=types.GenerateContentConfig(tools=[session]), + ) + return response.text or "" + + +# @@@SNIPEND diff --git a/google_genai/streaming/README.md b/google_genai/streaming/README.md new file mode 100644 index 000000000..f6acf7a48 --- /dev/null +++ b/google_genai/streaming/README.md @@ -0,0 +1,48 @@ +# Streaming + +Forward Gemini model output to an external subscriber in real time. +`TemporalAsyncClient(streaming_topic="gemini")` publishes each +`generate_content_stream` chunk onto a workflow-hosted `WorkflowStream` as it +arrives. A subscriber connects with `WorkflowStreamClient` and reads the topic +live while the workflow runs durably. + +## What This Sample Demonstrates + +- `TemporalAsyncClient(streaming_topic=...)` publishing chunks to a topic +- Hosting a `WorkflowStream` in `@workflow.init` (required for streaming) +- Consuming the stream externally via `WorkflowStreamClient.subscribe(...)` +- Holding the workflow open on a signal so the subscriber can drain the stream +- Timing out both sides of the handshake so neither waits forever + +## Timeouts + +The rendezvous between workflow and subscriber has two failure modes, and both +sides are bounded here rather than waiting forever: + +- The subscriber stops reading only when a chunk carries `finish_reason`. If + generation fails mid-stream that chunk never arrives, so the consume loop is + wrapped in `asyncio.wait_for`. +- The workflow stops waiting only on the `finish` signal. If the subscriber + crashes before signaling, nothing releases it — so `workflow.wait_condition` + takes a timeout and the workflow completes without the signal. + +## Running the Sample + +Prerequisites: install dependencies, set `GOOGLE_API_KEY`, and start a Temporal +dev server. See the [suite README](../README.md). + +```bash +# Terminal 1 +uv run google_genai/streaming/run_worker.py + +# Terminal 2 +uv run google_genai/streaming/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `StreamingWorkflow` — streams chunks to the `gemini` topic | +| `run_worker.py` | Registers `GoogleGenAIPlugin`, starts the worker | +| `run_workflow.py` | Starts the workflow and consumes the stream live | diff --git a/google_genai/streaming/__init__.py b/google_genai/streaming/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_genai/streaming/run_worker.py b/google_genai/streaming/run_worker.py new file mode 100644 index 000000000..399242c14 --- /dev/null +++ b/google_genai/streaming/run_worker.py @@ -0,0 +1,35 @@ +"""Worker for the streaming sample.""" + +# @@@SNIPSTART python-google-genai-streaming-worker +import asyncio +import os + +from google import genai +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.worker import Worker + +from google_genai.streaming.workflow import StreamingWorkflow + + +async def main() -> None: + genai_client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"]) + plugin = GoogleGenAIPlugin(genai_client) + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="google-genai-streaming", + workflows=[StreamingWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/streaming/run_workflow.py b/google_genai/streaming/run_workflow.py new file mode 100644 index 000000000..0cded9186 --- /dev/null +++ b/google_genai/streaming/run_workflow.py @@ -0,0 +1,66 @@ +"""Start the streaming workflow and consume model chunks live.""" + +import asyncio +import os +from datetime import timedelta + +from google.genai import types +from temporalio.client import Client +from temporalio.contrib.pydantic import pydantic_data_converter +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from google_genai.streaming.workflow import StreamingWorkflow + +# Only a chunk carrying finish_reason ends the subscribe loop, so bound the +# wait: if generation fails mid-stream, no such chunk ever arrives. +STREAM_TIMEOUT = 60.0 + + +# @@@SNIPSTART python-google-genai-streaming-run-workflow +async def consume(client: Client, workflow_id: str) -> None: + """Subscribe to the "gemini" topic and print chunks as the model produces them.""" + stream = WorkflowStreamClient.create(client, workflow_id) + async for item in stream.subscribe( + ["gemini"], + from_offset=0, + result_type=types.GenerateContentResponse, + poll_cooldown=timedelta(milliseconds=50), + ): + chunk: types.GenerateContentResponse = item.data + if chunk.text: + print(chunk.text, end="", flush=True) + if chunk.candidates and chunk.candidates[0].finish_reason: + print() + return + + +async def main() -> None: + # The stream publishes Pydantic GenerateContentResponse chunks, so the + # consumer needs the Pydantic data converter to decode them. + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + data_converter=pydantic_data_converter, + ) + # @@@SNIPEND + workflow_id = "google-genai-streaming" + + handle = await client.start_workflow( + StreamingWorkflow.run, + "Count from 1 to 5, one number per sentence.", + id=workflow_id, + task_queue="google-genai-streaming", + ) + + try: + await asyncio.wait_for(consume(client, workflow_id), timeout=STREAM_TIMEOUT) + except asyncio.TimeoutError: + print(f"\nNo end-of-stream chunk after {STREAM_TIMEOUT}s; giving up.") + + # Release the workflow now that we've consumed the stream. + await handle.signal(StreamingWorkflow.finish) + result = await handle.result() + print(f"Final result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_genai/streaming/workflow.py b/google_genai/streaming/workflow.py new file mode 100644 index 000000000..ebf657012 --- /dev/null +++ b/google_genai/streaming/workflow.py @@ -0,0 +1,55 @@ +"""Stream Gemini output to an external subscriber via WorkflowStream. + +``TemporalAsyncClient(streaming_topic="gemini")`` publishes each +``generate_content_stream`` chunk onto a workflow-hosted ``WorkflowStream`` as +it arrives, so external consumers can watch the model produce text in real time +while the workflow runs durably. The workflow holds itself open on a ``finish`` +signal so a subscriber can reliably read the stream before the run completes. +""" + +import asyncio +from datetime import timedelta + +from temporalio import workflow +from temporalio.contrib.google_genai import TemporalAsyncClient +from temporalio.contrib.workflow_streams import WorkflowStream + +# A subscriber that crashes before signaling should not pin the workflow open. +FINISH_TIMEOUT = timedelta(minutes=5) + + +# @@@SNIPSTART python-google-genai-streaming-workflow +@workflow.defn +class StreamingWorkflow: + @workflow.init + def __init__(self, prompt: str) -> None: + # Hosting a WorkflowStream is required when streaming_topic is set. + self.stream = WorkflowStream() + self._done = False + + @workflow.run + async def run(self, prompt: str) -> str: + client = TemporalAsyncClient(streaming_topic="gemini") + chunks: list[str] = [] + async for chunk in await client.models.generate_content_stream( + model="gemini-2.5-flash", + contents=prompt, + ): + chunks.append(chunk.text or "") + # Bound the wait: if the subscriber dies without signaling, complete + # anyway instead of waiting forever. + try: + await workflow.wait_condition(lambda: self._done, timeout=FINISH_TIMEOUT) + except asyncio.TimeoutError: + workflow.logger.warning( + "No finish signal after %s; completing without a subscriber.", + FINISH_TIMEOUT, + ) + return "".join(chunks) + + @workflow.signal + def finish(self) -> None: + self._done = True + + +# @@@SNIPEND diff --git a/google_genai/structured_output/README.md b/google_genai/structured_output/README.md new file mode 100644 index 000000000..5b19ed945 --- /dev/null +++ b/google_genai/structured_output/README.md @@ -0,0 +1,32 @@ +# Structured Output + +Get typed JSON back from Gemini by passing a Pydantic model as `response_schema`. +The plugin installs a `PydanticPayloadConverter`, so the model serializes cleanly +through Temporal payloads — the workflow returns a real `Recipe` instance. + +## What This Sample Demonstrates + +- `GenerateContentConfig(response_mime_type="application/json", response_schema=Recipe)` +- Reading the parsed model from `response.parsed` +- Returning a Pydantic model as a workflow result via the plugin's Pydantic converter + +## Running the Sample + +Prerequisites: install dependencies, set `GOOGLE_API_KEY`, and start a Temporal +dev server. See the [suite README](../README.md). + +```bash +# Terminal 1 +uv run google_genai/structured_output/run_worker.py + +# Terminal 2 +uv run google_genai/structured_output/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | The `Recipe` model and `StructuredOutputWorkflow` | +| `run_worker.py` | Registers `GoogleGenAIPlugin`, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the typed recipe | diff --git a/google_genai/structured_output/__init__.py b/google_genai/structured_output/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_genai/structured_output/run_worker.py b/google_genai/structured_output/run_worker.py new file mode 100644 index 000000000..3b0b2f2fb --- /dev/null +++ b/google_genai/structured_output/run_worker.py @@ -0,0 +1,35 @@ +"""Worker for the structured output sample.""" + +# @@@SNIPSTART python-google-genai-structured-output-worker +import asyncio +import os + +from google import genai +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.worker import Worker + +from google_genai.structured_output.workflow import StructuredOutputWorkflow + + +async def main() -> None: + genai_client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"]) + plugin = GoogleGenAIPlugin(genai_client) + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="google-genai-structured-output", + workflows=[StructuredOutputWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/structured_output/run_workflow.py b/google_genai/structured_output/run_workflow.py new file mode 100644 index 000000000..e661ab78a --- /dev/null +++ b/google_genai/structured_output/run_workflow.py @@ -0,0 +1,31 @@ +"""Start the structured output workflow.""" + +# @@@SNIPSTART python-google-genai-structured-output-run-workflow +import asyncio +import os + +from temporalio.client import Client + +from google_genai.structured_output.workflow import StructuredOutputWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + recipe = await client.execute_workflow( + StructuredOutputWorkflow.run, + "Give me a simple recipe for avocado toast.", + id="google-genai-structured-output", + task_queue="google-genai-structured-output", + ) + + print(f"Recipe: {recipe.name}") + print(f"Ingredients: {', '.join(recipe.ingredients)}") + print("Steps:") + for i, step in enumerate(recipe.steps, start=1): + print(f" {i}. {step}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/structured_output/workflow.py b/google_genai/structured_output/workflow.py new file mode 100644 index 000000000..b80a75598 --- /dev/null +++ b/google_genai/structured_output/workflow.py @@ -0,0 +1,49 @@ +"""Typed JSON output via response_schema + a Pydantic model. + +The plugin installs a ``PydanticPayloadConverter``, so a Pydantic model flows +through Temporal payloads cleanly. Passing the model as ``response_schema`` +makes Gemini return matching JSON, which the SDK parses into the model on +``response.parsed``. +""" + +from google.genai import types +from pydantic import BaseModel +from temporalio import workflow +from temporalio.contrib.google_genai import TemporalAsyncClient +from temporalio.exceptions import ApplicationError + + +# @@@SNIPSTART python-google-genai-structured-output-workflow +class Recipe(BaseModel): + name: str + ingredients: list[str] + steps: list[str] + + +@workflow.defn +class StructuredOutputWorkflow: + @workflow.run + async def run(self, prompt: str) -> Recipe: + client = TemporalAsyncClient() + response = await client.models.generate_content( + model="gemini-2.5-flash", + contents=prompt, + config=types.GenerateContentConfig( + response_mime_type="application/json", + response_schema=Recipe, + ), + ) + recipe = response.parsed + if not isinstance(recipe, Recipe): + # ``parsed`` is None when the model returns malformed JSON. Fail the + # workflow with an ApplicationError rather than asserting: an + # assertion is a workflow task failure, which Temporal retries + # forever, so the run would hang instead of failing visibly. + raise ApplicationError( + f"Gemini did not return a valid Recipe: {response.text!r}", + non_retryable=True, + ) + return recipe + + +# @@@SNIPEND diff --git a/google_genai/tools/README.md b/google_genai/tools/README.md new file mode 100644 index 000000000..5c3fd7ac9 --- /dev/null +++ b/google_genai/tools/README.md @@ -0,0 +1,39 @@ +# Tools + +Two tool surfaces wired into one Gemini `generate_content` call, both driven by +the SDK's automatic function-calling (AFC) loop: + +| Pattern | When to use it | +|---------|----------------| +| `@activity.defn` wrapped via `activity_as_tool` | Anything with I/O or non-determinism — runs as a durable activity. | +| Plain workflow method | Pure, deterministic logic — runs in-workflow with no activity dispatch. | + +A single prompt exercises both: the model calls `get_weather` (an activity), +then `recommend_thing_to_do` (a workflow method). + +## What This Sample Demonstrates + +- `activity_as_tool` carrying per-tool `ActivityConfig` (timeouts, retries) +- Passing a plain workflow method as a tool alongside an activity-backed one +- The AFC loop running inside the workflow, dispatching tool calls durably + +## Running the Sample + +Prerequisites: install dependencies, set `GOOGLE_API_KEY`, and start a Temporal +dev server. See the [suite README](../README.md). + +```bash +# Terminal 1 +uv run google_genai/tools/run_worker.py + +# Terminal 2 +uv run google_genai/tools/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `get_weather` activity, `recommend_thing_to_do` method, and `ToolsWorkflow` | +| `run_worker.py` | Registers `GoogleGenAIPlugin` + the `get_weather` activity | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/google_genai/tools/__init__.py b/google_genai/tools/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_genai/tools/run_worker.py b/google_genai/tools/run_worker.py new file mode 100644 index 000000000..05951fa34 --- /dev/null +++ b/google_genai/tools/run_worker.py @@ -0,0 +1,36 @@ +"""Worker for the tools sample.""" + +import asyncio +import os + +from google import genai +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.worker import Worker + +from google_genai.tools.workflow import ToolsWorkflow, get_weather + + +async def main() -> None: + genai_client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"]) + plugin = GoogleGenAIPlugin(genai_client) + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + # @@@SNIPSTART python-google-genai-tools-worker + worker = Worker( + client, + task_queue="google-genai-tools", + workflows=[ToolsWorkflow], + activities=[get_weather], + ) + # @@@SNIPEND + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_genai/tools/run_workflow.py b/google_genai/tools/run_workflow.py new file mode 100644 index 000000000..649ce0ffe --- /dev/null +++ b/google_genai/tools/run_workflow.py @@ -0,0 +1,27 @@ +"""Start the tools workflow.""" + +# @@@SNIPSTART python-google-genai-tools-run-workflow +import asyncio +import os + +from temporalio.client import Client + +from google_genai.tools.workflow import ToolsWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + ToolsWorkflow.run, + "What's the weather in Tokyo, and what should I do there?", + id="google-genai-tools", + task_queue="google-genai-tools", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/tools/workflow.py b/google_genai/tools/workflow.py new file mode 100644 index 000000000..7c7e73e23 --- /dev/null +++ b/google_genai/tools/workflow.py @@ -0,0 +1,61 @@ +"""Two tool surfaces on one Gemini call, both driven by automatic function calling. + +1. ``@activity.defn get_weather`` wrapped via ``activity_as_tool`` — runs as a + durable Temporal activity. Use this for I/O or non-deterministic work. +2. ``recommend_thing_to_do`` — a plain workflow method passed directly as a tool. + It runs deterministically in-workflow with no activity dispatch. + +Gemini's automatic function-calling (AFC) loop runs inside the workflow and +invokes both as needed. +""" + +from datetime import timedelta + +from google.genai import types +from temporalio import activity, workflow +from temporalio.contrib.google_genai import TemporalAsyncClient, activity_as_tool +from temporalio.workflow import ActivityConfig + + +# @@@SNIPSTART python-google-genai-tools-activity +@activity.defn +async def get_weather(city: str) -> str: + """Look up the current weather for a city.""" + # Stub — replace with a real HTTP call in production. + return f"It's 72F and sunny in {city}." + + +# @@@SNIPEND + + +# @@@SNIPSTART python-google-genai-tools-workflow +@workflow.defn +class ToolsWorkflow: + @workflow.run + async def run(self, prompt: str) -> str: + client = TemporalAsyncClient() + response = await client.models.generate_content( + model="gemini-2.5-flash", + contents=prompt, + config=types.GenerateContentConfig( + tools=[ + activity_as_tool( + get_weather, + activity_config=ActivityConfig( + start_to_close_timeout=timedelta(seconds=30), + ), + ), + self.recommend_thing_to_do, + ], + ), + ) + return response.text or "" + + async def recommend_thing_to_do(self, weather: str) -> str: + """Recommend something to do given a weather description.""" + if "sunny" in weather.lower(): + return "Go for a hike." + return "Visit a museum." + + +# @@@SNIPEND diff --git a/google_genai/vertex_ai/README.md b/google_genai/vertex_ai/README.md new file mode 100644 index 000000000..45bee97a4 --- /dev/null +++ b/google_genai/vertex_ai/README.md @@ -0,0 +1,47 @@ +# Vertex AI + +The same hello-world flow as [`hello_world`](../hello_world), but pointed at +**Vertex AI** instead of the Gemini Developer API. The only difference is +configuration: both the worker's `genai.Client` and the workflow's +`TemporalAsyncClient` set `vertexai=True` with a Google Cloud project and +location. The `vertexai` setting must match on both sides. + +> **Requires Google Cloud credentials**, not a Gemini API key. Authenticate with +> Application Default Credentials (`gcloud auth application-default login`) or a +> service-account key (`GOOGLE_APPLICATION_CREDENTIALS`). This sample has no +> automated test. + +## Configuration + +| Variable | Description | +|----------|-------------| +| `GOOGLE_CLOUD_PROJECT` | Your Google Cloud project ID (required) | +| `GOOGLE_CLOUD_LOCATION` | Region, e.g. `us-central1` (defaults to `us-central1`) | + +## What This Sample Demonstrates + +- `genai.Client(vertexai=True, project=..., location=...)` on the worker +- `TemporalAsyncClient(vertexai=True, project=..., location=...)` in the workflow +- Passing project/location as workflow arguments to keep the workflow deterministic + +## Running the Sample + +Prerequisites: install dependencies, configure GCP credentials, set +`GOOGLE_CLOUD_PROJECT`, and start a Temporal dev server. See the +[suite README](../README.md). + +```bash +# Terminal 1 +uv run google_genai/vertex_ai/run_worker.py + +# Terminal 2 +uv run google_genai/vertex_ai/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `VertexAIWorkflow` — generate_content via Vertex AI | +| `run_worker.py` | Registers a Vertex-configured `GoogleGenAIPlugin` | +| `run_workflow.py` | Reads project/location from env and executes the workflow | diff --git a/google_genai/vertex_ai/__init__.py b/google_genai/vertex_ai/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/google_genai/vertex_ai/run_worker.py b/google_genai/vertex_ai/run_worker.py new file mode 100644 index 000000000..1952a1a4d --- /dev/null +++ b/google_genai/vertex_ai/run_worker.py @@ -0,0 +1,44 @@ +"""Worker for the Vertex AI sample. + +Uses ``genai.Client(vertexai=True, ...)`` with Application Default Credentials +(no API key). Run ``gcloud auth application-default login`` first, or set +``GOOGLE_APPLICATION_CREDENTIALS`` to a service-account key file. +""" + +import asyncio +import os + +from google import genai +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.worker import Worker + +from google_genai.vertex_ai.workflow import VertexAIWorkflow + + +async def main() -> None: + # @@@SNIPSTART python-google-genai-vertex-ai-worker + genai_client = genai.Client( + vertexai=True, + project=os.environ["GOOGLE_CLOUD_PROJECT"], + location=os.environ.get("GOOGLE_CLOUD_LOCATION", "us-central1"), + ) + plugin = GoogleGenAIPlugin(genai_client) + # @@@SNIPEND + + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="google-genai-vertex-ai", + workflows=[VertexAIWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/google_genai/vertex_ai/run_workflow.py b/google_genai/vertex_ai/run_workflow.py new file mode 100644 index 000000000..d06276833 --- /dev/null +++ b/google_genai/vertex_ai/run_workflow.py @@ -0,0 +1,30 @@ +"""Start the Vertex AI workflow.""" + +# @@@SNIPSTART python-google-genai-vertex-ai-run-workflow +import asyncio +import os + +from temporalio.client import Client + +from google_genai.vertex_ai.workflow import VertexAIWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + project = os.environ["GOOGLE_CLOUD_PROJECT"] + location = os.environ.get("GOOGLE_CLOUD_LOCATION", "us-central1") + + result = await client.execute_workflow( + VertexAIWorkflow.run, + args=["Write a haiku about durable execution.", project, location], + id="google-genai-vertex-ai", + task_queue="google-genai-vertex-ai", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/google_genai/vertex_ai/workflow.py b/google_genai/vertex_ai/workflow.py new file mode 100644 index 000000000..31e35aff5 --- /dev/null +++ b/google_genai/vertex_ai/workflow.py @@ -0,0 +1,31 @@ +"""Hello world against Vertex AI instead of the Gemini Developer API. + +The only difference from the basic sample is configuration: both the workflow's +``TemporalAsyncClient`` and the worker's ``genai.Client`` use ``vertexai=True`` +with a Google Cloud project and location. The project and location are passed in +as workflow arguments (read from the environment by the starter) to keep the +workflow deterministic. +""" + +from temporalio import workflow +from temporalio.contrib.google_genai import TemporalAsyncClient + + +# @@@SNIPSTART python-google-genai-vertex-ai-workflow +@workflow.defn +class VertexAIWorkflow: + @workflow.run + async def run(self, prompt: str, project: str, location: str) -> str: + client = TemporalAsyncClient( + vertexai=True, + project=project, + location=location, + ) + response = await client.models.generate_content( + model="gemini-2.5-flash", + contents=prompt, + ) + return response.text or "" + + +# @@@SNIPEND diff --git a/hello/README.md b/hello/README.md index 9e13f5448..7b5ca6ebb 100644 --- a/hello/README.md +++ b/hello/README.md @@ -2,32 +2,34 @@ These samples show basic workflow and activity features. -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory to run the +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to run the `hello_activity.py` sample: - poetry run python hello_activity.py + uv run hello/hello_activity.py The result will be: Result: Hello, World! -Replace `hello_activity.py` in the command with any other example filename to run it instead. +Replace `hello/hello_activity.py` in the command with any other example filename (with the `hello/` prefix) to run it instead. ## Samples * [hello_activity](hello_activity.py) - Execute an activity from a workflow. +* [hello_activity_async](hello_activity_async.py) - Execute an async activity from a workflow. * [hello_activity_choice](hello_activity_choice.py) - Execute certain activities inside a workflow based on dynamic input. * [hello_activity_method](hello_activity_method.py) - Demonstrate an activity that is an instance method on a class and can access class state. +* [hello_activity_heartbeat](hello_activity_heartbeat.py) - Demonstrate usage of heartbeat timeouts. * [hello_activity_multiprocess](hello_activity_multiprocess.py) - Execute a synchronous activity on a process pool. * [hello_activity_retry](hello_activity_retry.py) - Demonstrate activity retry by failing until a certain number of attempts. -* [hello_activity_threaded](hello_activity_threaded.py) - Execute a synchronous activity on a thread pool. * [hello_async_activity_completion](hello_async_activity_completion.py) - Complete an activity outside of the function that was called. * [hello_cancellation](hello_cancellation.py) - Manually react to cancellation inside workflows and activities. +* [hello_change_log_level](hello_change_log_level.py) - Change the level of workflow task failure from WARN to ERROR. * [hello_child_workflow](hello_child_workflow.py) - Execute a child workflow from a workflow. * [hello_continue_as_new](hello_continue_as_new.py) - Use continue as new to restart a workflow. * [hello_cron](hello_cron.py) - Execute a workflow once a minute. @@ -37,12 +39,13 @@ Replace `hello_activity.py` in the command with any other example filename to ru * [hello_mtls](hello_mtls.py) - Accept URL, namespace, and certificate info as CLI args and use mTLS for connecting to server. * [hello_parallel_activity](hello_parallel_activity.py) - Execute multiple activities at once. +* [hello_patch](hello_patch.py) - Demonstrates how to patch executions. * [hello_query](hello_query.py) - Invoke queries on a workflow. * [hello_search_attributes](hello_search_attributes.py) - Start workflow with search attributes then change while running. * [hello_signal](hello_signal.py) - Send signals to a workflow. -* [hello_update](hello_update.py) - Send a request to and a response from a client to a workflow execution. +* [hello_update](hello_update.py) - **Send a request to and a response from a client to a workflow execution.** Note: To enable the workflow update, set the `frontend.enableUpdateWorkflowExecution` dynamic config value to true. - temporal server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecution=true \ No newline at end of file + temporal server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecution=true diff --git a/hello/hello_activity.py b/hello/hello_activity.py index 6615b55dd..c7972c2e3 100644 --- a/hello/hello_activity.py +++ b/hello/hello_activity.py @@ -1,10 +1,11 @@ import asyncio -import logging +from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass from datetime import timedelta from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -19,7 +20,7 @@ class ComposeGreetingInput: # Basic activity that logs and does string concatenation @activity.defn -async def compose_greeting(input: ComposeGreetingInput) -> str: +def compose_greeting(input: ComposeGreetingInput) -> str: activity.logger.info("Running activity with parameter %s" % input) return f"{input.greeting}, {input.name}!" @@ -38,11 +39,16 @@ async def run(self, name: str) -> str: async def main(): - # Uncomment the line below to see logging + # Uncomment the lines below to see logging output + # import logging # logging.basicConfig(level=logging.INFO) + # Load configuration + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Start client - client = await Client.connect("localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -50,8 +56,11 @@ async def main(): task_queue="hello-activity-task-queue", workflows=[GreetingWorkflow], activities=[compose_greeting], + # Non-async activities require an executor; + # a thread pool executor is recommended. + # This same thread pool could be passed to multiple workers if desired. + activity_executor=ThreadPoolExecutor(5), ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_activity_async.py b/hello/hello_activity_async.py new file mode 100644 index 000000000..47b5bd79a --- /dev/null +++ b/hello/hello_activity_async.py @@ -0,0 +1,73 @@ +import asyncio +from dataclasses import dataclass +from datetime import timedelta + +from temporalio import activity, workflow +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + + +# While we could use multiple parameters in the activity, Temporal strongly +# encourages using a single dataclass instead which can have fields added to it +# in a backwards-compatible way. +@dataclass +class ComposeGreetingInput: + greeting: str + name: str + + +# Basic activity that logs and does string concatenation +@activity.defn +async def compose_greeting(input: ComposeGreetingInput) -> str: + activity.logger.info("Running activity with parameter %s" % input) + return f"{input.greeting}, {input.name}!" + + +# Basic workflow that logs and invokes an activity +@workflow.defn +class GreetingWorkflow: + @workflow.run + async def run(self, name: str) -> str: + workflow.logger.info("Running workflow with parameter %s" % name) + return await workflow.execute_activity( + compose_greeting, + ComposeGreetingInput("Hello", name), + start_to_close_timeout=timedelta(seconds=10), + ) + + +async def main(): + # Uncomment the lines below to see logging output + # import logging + # logging.basicConfig(level=logging.INFO) + + # Start client + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Run a worker for the workflow + async with Worker( + client, + task_queue="hello-activity-task-queue", + workflows=[GreetingWorkflow], + activities=[compose_greeting], + # If the worker is only running async activities, you don't need + # to supply an activity executor because they run in + # the worker's event loop. + ): + # While the worker is running, use the client to run the workflow and + # print out its result. Note, in many production setups, the client + # would be in a completely separate process from the worker. + result = await client.execute_workflow( + GreetingWorkflow.run, + "World", + id="hello-activity-workflow-id", + task_queue="hello-activity-task-queue", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/hello/hello_activity_choice.py b/hello/hello_activity_choice.py index 56b7b7e6c..6da9fe69a 100644 --- a/hello/hello_activity_choice.py +++ b/hello/hello_activity_choice.py @@ -1,4 +1,5 @@ import asyncio +from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass from datetime import timedelta from enum import IntEnum @@ -6,28 +7,29 @@ from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker # Activities that will be called by the workflow @activity.defn -async def order_apples(amount: int) -> str: +def order_apples(amount: int) -> str: return f"Ordered {amount} Apples..." @activity.defn -async def order_bananas(amount: int) -> str: +def order_bananas(amount: int) -> str: return f"Ordered {amount} Bananas..." @activity.defn -async def order_cherries(amount: int) -> str: +def order_cherries(amount: int) -> str: return f"Ordered {amount} Cherries..." @activity.defn -async def order_oranges(amount: int) -> str: +def order_oranges(amount: int) -> str: return f"Ordered {amount} Oranges..." @@ -54,50 +56,36 @@ class ShoppingList: @workflow.defn class PurchaseFruitsWorkflow: @workflow.run - async def run(self, list: ShoppingList) -> str: + async def run(self, shopping_list: ShoppingList) -> str: # Order each thing on the list ordered: List[str] = [] - for item in list.items: + for item in shopping_list.items: if item.fruit is Fruit.APPLE: - ordered.append( - await workflow.execute_activity( - order_apples, - item.amount, - start_to_close_timeout=timedelta(seconds=5), - ) - ) + order_function = order_apples elif item.fruit is Fruit.BANANA: - ordered.append( - await workflow.execute_activity( - order_bananas, - item.amount, - start_to_close_timeout=timedelta(seconds=5), - ) - ) + order_function = order_bananas elif item.fruit is Fruit.CHERRY: - ordered.append( - await workflow.execute_activity( - order_cherries, - item.amount, - start_to_close_timeout=timedelta(seconds=5), - ) - ) + order_function = order_cherries elif item.fruit is Fruit.ORANGE: - ordered.append( - await workflow.execute_activity( - order_oranges, - item.amount, - start_to_close_timeout=timedelta(seconds=5), - ) - ) + order_function = order_oranges else: raise ValueError(f"Unrecognized fruit: {item.fruit}") + ordered.append( + await workflow.execute_activity( + order_function, + item.amount, + start_to_close_timeout=timedelta(seconds=5), + ) + ) return "".join(ordered) async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Start client - client = await Client.connect("localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -105,8 +93,8 @@ async def main(): task_queue="hello-activity-choice-task-queue", workflows=[PurchaseFruitsWorkflow], activities=[order_apples, order_bananas, order_cherries, order_oranges], + activity_executor=ThreadPoolExecutor(5), ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_activity_threaded.py b/hello/hello_activity_heartbeat.py similarity index 75% rename from hello/hello_activity_threaded.py rename to hello/hello_activity_heartbeat.py index e7bf8344a..2b80f9a6f 100644 --- a/hello/hello_activity_threaded.py +++ b/hello/hello_activity_heartbeat.py @@ -1,5 +1,4 @@ import asyncio -import threading import time from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass @@ -7,6 +6,7 @@ from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -21,7 +21,7 @@ def compose_greeting(input: ComposeGreetingInput) -> str: # We'll wait for 3 seconds, heartbeating in between (like all long-running # activities should do), then return the greeting for _ in range(0, 3): - print(f"Heartbeating activity on thread {threading.get_ident()}") + print(f"Heartbeating activity") activity.heartbeat() time.sleep(1) return f"{input.greeting}, {input.name}!" @@ -42,30 +42,28 @@ async def run(self, name: str) -> str: async def main(): # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( client, - task_queue="hello-activity-threaded-task-queue", + task_queue="hello-activity-heartbeating-task-queue", workflows=[GreetingWorkflow], activities=[compose_greeting], - # Synchronous activities are not allowed unless we provide some kind of - # executor. This same thread pool could be passed to multiple workers if - # desired. activity_executor=ThreadPoolExecutor(5), ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. result = await client.execute_workflow( GreetingWorkflow.run, "World", - id="hello-activity-threaded-workflow-id", - task_queue="hello-activity-threaded-task-queue", + id="hello-activity-heartbeating-workflow-id", + task_queue="hello-activity-heartbeating-task-queue", ) - print(f"Result on thread {threading.get_ident()}: {result}") + print(f"Result: {result}") if __name__ == "__main__": diff --git a/hello/hello_activity_method.py b/hello/hello_activity_method.py index db5272632..d87bc8e70 100644 --- a/hello/hello_activity_method.py +++ b/hello/hello_activity_method.py @@ -3,6 +3,7 @@ from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -32,7 +33,9 @@ async def run(self) -> None: async def main(): # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Create our database client that can then be used in the activity db_client = MyDatabaseClient() @@ -47,7 +50,6 @@ async def main(): workflows=[MyWorkflow], activities=[my_activities.do_database_thing], ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_activity_multiprocess.py b/hello/hello_activity_multiprocess.py index 6630234dd..c7793c2c1 100644 --- a/hello/hello_activity_multiprocess.py +++ b/hello/hello_activity_multiprocess.py @@ -8,6 +8,7 @@ from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import SharedStateManager, Worker @@ -43,7 +44,9 @@ async def run(self, name: str) -> str: async def main(): # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -65,7 +68,6 @@ async def main(): multiprocessing.Manager() ), ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_activity_retry.py b/hello/hello_activity_retry.py index 233f9613f..105aa847b 100644 --- a/hello/hello_activity_retry.py +++ b/hello/hello_activity_retry.py @@ -1,10 +1,12 @@ import asyncio +from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass from datetime import timedelta from temporalio import activity, workflow from temporalio.client import Client from temporalio.common import RetryPolicy +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -15,7 +17,7 @@ class ComposeGreetingInput: @activity.defn -async def compose_greeting(input: ComposeGreetingInput) -> str: +def compose_greeting(input: ComposeGreetingInput) -> str: print(f"Invoking activity, attempt number {activity.info().attempt}") # Fail the first 3 attempts, succeed the 4th if activity.info().attempt < 4: @@ -44,7 +46,9 @@ async def run(self, name: str) -> str: async def main(): # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -52,8 +56,8 @@ async def main(): task_queue="hello-activity-retry-task-queue", workflows=[GreetingWorkflow], activities=[compose_greeting], + activity_executor=ThreadPoolExecutor(5), ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_async_activity_completion.py b/hello/hello_async_activity_completion.py index 10aa89df7..e777c49ff 100644 --- a/hello/hello_async_activity_completion.py +++ b/hello/hello_async_activity_completion.py @@ -4,6 +4,7 @@ from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -68,7 +69,9 @@ async def run(self, name: str) -> str: async def main(): # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow composer = GreetingComposer(client) @@ -78,7 +81,6 @@ async def main(): workflows=[GreetingWorkflow], activities=[composer.compose_greeting], ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_cancellation.py b/hello/hello_cancellation.py index 3467893c5..a74bc2b47 100644 --- a/hello/hello_cancellation.py +++ b/hello/hello_cancellation.py @@ -1,29 +1,33 @@ import asyncio +import time import traceback +from concurrent.futures import ThreadPoolExecutor from datetime import timedelta from typing import NoReturn from temporalio import activity, workflow from temporalio.client import Client, WorkflowFailureError +from temporalio.envconfig import ClientConfig +from temporalio.exceptions import CancelledError from temporalio.worker import Worker @activity.defn -async def never_complete_activity() -> NoReturn: +def never_complete_activity() -> NoReturn: # All long-running activities should heartbeat. Heartbeat is how # cancellation is delivered from the server. try: while True: print("Heartbeating activity") activity.heartbeat() - await asyncio.sleep(1) - except asyncio.CancelledError: + time.sleep(1) + except CancelledError: print("Activity cancelled") raise @activity.defn -async def cleanup_activity() -> None: +def cleanup_activity() -> None: print("Executing cleanup activity") @@ -47,8 +51,11 @@ async def run(self) -> None: async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Start client - client = await Client.connect("localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -56,8 +63,8 @@ async def main(): task_queue="hello-cancellation-task-queue", workflows=[CancellationWorkflow], activities=[never_complete_activity, cleanup_activity], + activity_executor=ThreadPoolExecutor(5), ): - # While the worker is running, use the client to start the workflow. # Note, in many production setups, the client would be in a completely # separate process from the worker. diff --git a/hello/hello_change_log_level.py b/hello/hello_change_log_level.py new file mode 100644 index 000000000..4b7697f41 --- /dev/null +++ b/hello/hello_change_log_level.py @@ -0,0 +1,71 @@ +""" +Changes the log level of workflow task failures from WARN to ERROR. + +Note that the __temporal_error_identifier attribute was added in +version 1.13.0 of the Python SDK. +""" + +import asyncio +import logging +import sys + +from temporalio import workflow +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +# --- Begin logging set‑up ---------------------------------------------------------- +logging.basicConfig( + stream=sys.stdout, + level=logging.INFO, + format="%(asctime)s %(levelname)-8s %(name)s %(message)s", +) + + +class CustomLogFilter(logging.Filter): + def filter(self, record: logging.LogRecord) -> bool: + # Note that the __temporal_error_identifier attribute was added in + # version 1.13.0 of the Python SDK. + if ( + hasattr(record, "__temporal_error_identifier") + and getattr(record, "__temporal_error_identifier") == "WorkflowTaskFailure" + ): + record.levelno = logging.ERROR + record.levelname = logging.getLevelName(logging.ERROR) + return True + + +for h in logging.getLogger().handlers: + h.addFilter(CustomLogFilter()) +# --- End logging set‑up ---------------------------------------------------------- + + +LOG_MESSAGE = "This error is an experiment to check the log level" + + +@workflow.defn +class GreetingWorkflow: + @workflow.run + async def run(self): + raise RuntimeError(LOG_MESSAGE) + + +async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + async with Worker( + client, + task_queue="hello-change-log-level-task-queue", + workflows=[GreetingWorkflow], + ): + await client.execute_workflow( + GreetingWorkflow.run, + id="hello-change-log-level-workflow-id", + task_queue="hello-change-log-level-task-queue", + ) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/hello/hello_child_workflow.py b/hello/hello_child_workflow.py index 2be0bc1b6..136b788f3 100644 --- a/hello/hello_child_workflow.py +++ b/hello/hello_child_workflow.py @@ -3,6 +3,7 @@ from temporalio import workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -31,8 +32,11 @@ async def run(self, name: str) -> str: async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Start client - client = await Client.connect("localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -40,7 +44,6 @@ async def main(): task_queue="hello-child-workflow-task-queue", workflows=[GreetingWorkflow, ComposeGreetingWorkflow], ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_continue_as_new.py b/hello/hello_continue_as_new.py index 586aac1d4..a899c7fc7 100644 --- a/hello/hello_continue_as_new.py +++ b/hello/hello_continue_as_new.py @@ -3,6 +3,7 @@ from temporalio import workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -22,7 +23,9 @@ async def main(): logging.basicConfig(level=logging.INFO) # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -30,7 +33,6 @@ async def main(): task_queue="hello-continue-as-new-task-queue", workflows=[LoopingWorkflow], ): - # While the worker is running, use the client to run the workflow. Note, # in many production setups, the client would be in a completely # separate process from the worker. diff --git a/hello/hello_cron.py b/hello/hello_cron.py index 68b26099d..1ca29ea13 100644 --- a/hello/hello_cron.py +++ b/hello/hello_cron.py @@ -1,9 +1,11 @@ import asyncio +from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass from datetime import timedelta from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -14,7 +16,7 @@ class ComposeGreetingInput: @activity.defn -async def compose_greeting(input: ComposeGreetingInput) -> str: +def compose_greeting(input: ComposeGreetingInput) -> str: return f"{input.greeting}, {input.name}!" @@ -32,7 +34,9 @@ async def run(self, name: str) -> None: async def main(): # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -40,8 +44,8 @@ async def main(): task_queue="hello-cron-task-queue", workflows=[GreetingWorkflow], activities=[compose_greeting], + activity_executor=ThreadPoolExecutor(5), ): - print("Running workflow once a minute") # While the worker is running, use the client to start the workflow. diff --git a/hello/hello_exception.py b/hello/hello_exception.py index bfb198d50..6e94bf7c0 100644 --- a/hello/hello_exception.py +++ b/hello/hello_exception.py @@ -1,5 +1,6 @@ import asyncio import logging +from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass from datetime import timedelta from typing import NoReturn, Optional @@ -7,6 +8,7 @@ from temporalio import activity, workflow from temporalio.client import Client, WorkflowFailureError from temporalio.common import RetryPolicy +from temporalio.envconfig import ClientConfig from temporalio.exceptions import FailureError from temporalio.worker import Worker @@ -18,7 +20,7 @@ class ComposeGreetingInput: @activity.defn -async def compose_greeting(input: ComposeGreetingInput) -> NoReturn: +def compose_greeting(input: ComposeGreetingInput) -> NoReturn: # Always raise exception raise RuntimeError(f"Greeting exception: {input.greeting}, {input.name}!") @@ -38,7 +40,9 @@ async def run(self, name: str) -> str: async def main(): # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -46,8 +50,8 @@ async def main(): task_queue="hello-exception-task-queue", workflows=[GreetingWorkflow], activities=[compose_greeting], + activity_executor=ThreadPoolExecutor(5), ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_local_activity.py b/hello/hello_local_activity.py index 08c1d9f2c..8954ea426 100644 --- a/hello/hello_local_activity.py +++ b/hello/hello_local_activity.py @@ -1,9 +1,11 @@ import asyncio +from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass from datetime import timedelta from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -14,7 +16,7 @@ class ComposeGreetingInput: @activity.defn -async def compose_greeting(input: ComposeGreetingInput) -> str: +def compose_greeting(input: ComposeGreetingInput) -> str: return f"{input.greeting}, {input.name}!" @@ -31,7 +33,9 @@ async def run(self, name: str) -> str: async def main(): # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -39,8 +43,8 @@ async def main(): task_queue="hello-local-activity-task-queue", workflows=[GreetingWorkflow], activities=[compose_greeting], + activity_executor=ThreadPoolExecutor(5), ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_mtls.py b/hello/hello_mtls.py index f613fba44..b88c5f852 100644 --- a/hello/hello_mtls.py +++ b/hello/hello_mtls.py @@ -1,11 +1,13 @@ import argparse import asyncio +from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass from datetime import timedelta from typing import Optional from temporalio import activity, workflow -from temporalio.client import Client, TLSConfig +from temporalio.client import Client +from temporalio.service import TLSConfig from temporalio.worker import Worker @@ -17,7 +19,7 @@ class ComposeGreetingInput: # Basic activity that logs and does string concatenation @activity.defn -async def compose_greeting(input: ComposeGreetingInput) -> str: +def compose_greeting(input: ComposeGreetingInput) -> str: return f"{input.greeting}, {input.name}!" @@ -78,8 +80,8 @@ async def main(): task_queue="hello-mtls-task-queue", workflows=[GreetingWorkflow], activities=[compose_greeting], + activity_executor=ThreadPoolExecutor(5), ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_parallel_activity.py b/hello/hello_parallel_activity.py index 9de098468..42931a707 100644 --- a/hello/hello_parallel_activity.py +++ b/hello/hello_parallel_activity.py @@ -1,14 +1,16 @@ import asyncio +from concurrent.futures import ThreadPoolExecutor from datetime import timedelta from typing import List from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @activity.defn -async def say_hello_activity(name: str) -> str: +def say_hello_activity(name: str) -> str: return f"Hello, {name}!" @@ -40,7 +42,9 @@ async def run(self) -> List[str]: async def main(): # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -48,8 +52,8 @@ async def main(): task_queue="hello-parallel-activity-task-queue", workflows=[SayHelloWorkflow], activities=[say_hello_activity], + activity_executor=ThreadPoolExecutor(10), ): - # While the worker is running, use the client to run the workflow and # print out its result. Note, in many production setups, the client # would be in a completely separate process from the worker. diff --git a/hello/hello_patch.py b/hello/hello_patch.py index 43371d4fb..a26e5474b 100644 --- a/hello/hello_patch.py +++ b/hello/hello_patch.py @@ -1,11 +1,12 @@ import asyncio -import logging import sys +from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass from datetime import timedelta from temporalio import activity, exceptions, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -20,7 +21,7 @@ class ComposeGreetingInput: # Basic activity that logs and does string concatenation @activity.defn -async def compose_greeting(input: ComposeGreetingInput) -> str: +def compose_greeting(input: ComposeGreetingInput) -> str: activity.logger.info("Running activity with parameter %s" % input) return f"{input.greeting}, {input.name}!" @@ -96,11 +97,14 @@ async def main(): version = sys.argv[1] - # Uncomment the line below to see logging + # Uncomment the lines below to see logging output + # import logging # logging.basicConfig(level=logging.INFO) # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Set workflow_class to the proper class based on version workflow_class = "" @@ -123,6 +127,7 @@ async def main(): task_queue="hello-patch-task-queue", workflows=[workflow_class], # type: ignore activities=[compose_greeting], + activity_executor=ThreadPoolExecutor(5), ): try: result = await client.execute_workflow( diff --git a/hello/hello_query.py b/hello/hello_query.py index 8deb30ba1..d1bc54aa0 100644 --- a/hello/hello_query.py +++ b/hello/hello_query.py @@ -2,6 +2,7 @@ from temporalio import workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -26,8 +27,11 @@ def greeting(self) -> str: async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Start client - client = await Client.connect("localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -35,7 +39,6 @@ async def main(): task_queue="hello-query-task-queue", workflows=[GreetingWorkflow], ): - # While the worker is running, use the client to start the workflow. # Note, in many production setups, the client would be in a completely # separate process from the worker. diff --git a/hello/hello_search_attributes.py b/hello/hello_search_attributes.py index 6892fb718..d6d1a2053 100644 --- a/hello/hello_search_attributes.py +++ b/hello/hello_search_attributes.py @@ -1,10 +1,8 @@ import asyncio -from typing import List from temporalio import workflow -from temporalio.client import Client, WorkflowExecutionDescription -from temporalio.common import SearchAttributeValues -from temporalio.converter import default as default_converter +from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -19,7 +17,9 @@ async def run(self) -> None: async def main(): # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -27,7 +27,6 @@ async def main(): task_queue="hello-search-attributes-task-queue", workflows=[GreetingWorkflow], ): - # While the worker is running, use the client to start the workflow. # Note, in many production setups, the client would be in a completely # separate process from the worker. diff --git a/hello/hello_signal.py b/hello/hello_signal.py index a4f9b5547..02b9d3cef 100644 --- a/hello/hello_signal.py +++ b/hello/hello_signal.py @@ -3,6 +3,7 @@ from temporalio import workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -40,8 +41,11 @@ def exit(self) -> None: async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Start client - client = await Client.connect("localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( @@ -49,7 +53,6 @@ async def main(): task_queue="hello-signal-task-queue", workflows=[GreetingWorkflow], ): - # While the worker is running, use the client to start the workflow. # Note, in many production setups, the client would be in a completely # separate process from the worker. diff --git a/hello/hello_update.py b/hello/hello_update.py index 1b1236d3a..4daa250af 100644 --- a/hello/hello_update.py +++ b/hello/hello_update.py @@ -2,12 +2,14 @@ from temporalio import workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @workflow.defn class GreetingWorkflow: - is_complete = False + def __init__(self): + self.is_complete = False @workflow.run async def run(self) -> str: @@ -21,7 +23,9 @@ async def update_workflow_status(self) -> str: async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( diff --git a/hello_nexus/README.md b/hello_nexus/README.md new file mode 100644 index 000000000..e8067ec3e --- /dev/null +++ b/hello_nexus/README.md @@ -0,0 +1,37 @@ +This sample shows how to define a Nexus service, implement the operation handlers, and +call the operations from a workflow. + +### Sample directory structure + +- [service.py](./service.py) - shared Nexus service definition +- [caller](./caller) - a caller workflow that executes Nexus operations, together with a worker and starter code +- [handler](./handler) - Nexus operation handlers, together with a workflow used by one of the Nexus operations, and a worker that polls for both workflow and Nexus tasks. + + +### Instructions + +Start a Temporal server. (See the main samples repo [README](../README.md)). + +Run the following to create the caller and handler namespaces, and the Nexus endpoint: + +``` +temporal operator namespace create --namespace hello-nexus-basic-handler-namespace +temporal operator namespace create --namespace hello-nexus-basic-caller-namespace + +temporal operator nexus endpoint create \ + --name hello-nexus-basic-nexus-endpoint \ + --target-namespace hello-nexus-basic-handler-namespace \ + --target-task-queue my-handler-task-queue \ + --description-file hello_nexus/endpoint_description.md +``` + +In one terminal, run the Temporal worker in the handler namespace: +``` +uv run hello_nexus/handler/worker.py +``` + +In another terminal, run the Temporal worker in the caller namespace and start the caller +workflow: +``` +uv run hello_nexus/caller/app.py +``` diff --git a/hello_nexus/__init__.py b/hello_nexus/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/hello_nexus/caller/__init__.py b/hello_nexus/caller/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/hello_nexus/caller/app.py b/hello_nexus/caller/app.py new file mode 100644 index 000000000..639456fa7 --- /dev/null +++ b/hello_nexus/caller/app.py @@ -0,0 +1,46 @@ +import asyncio +import uuid +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from hello_nexus.caller.workflows import CallerWorkflow +from hello_nexus.service import MyOutput + +NAMESPACE = "hello-nexus-basic-caller-namespace" +TASK_QUEUE = "hello-nexus-basic-caller-task-queue" + + +async def execute_caller_workflow( + client: Optional[Client] = None, +) -> tuple[MyOutput, MyOutput]: + if not client: + config = ClientConfig.load_client_connect_config() + # Override the namespace from config file. + config.setdefault("target_host", "localhost:7233") + config.setdefault("namespace", NAMESPACE) + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[CallerWorkflow], + ): + return await client.execute_workflow( + CallerWorkflow.run, + arg="world", + id=str(uuid.uuid4()), + task_queue=TASK_QUEUE, + ) + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + results = loop.run_until_complete(execute_caller_workflow()) + for output in results: + print(output.message) + except KeyboardInterrupt: + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/hello_nexus/caller/workflows.py b/hello_nexus/caller/workflows.py new file mode 100644 index 000000000..2016f99fe --- /dev/null +++ b/hello_nexus/caller/workflows.py @@ -0,0 +1,35 @@ +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from hello_nexus.service import MyInput, MyNexusService, MyOutput + +NEXUS_ENDPOINT = "hello-nexus-basic-nexus-endpoint" + + +# This is a workflow that calls two nexus operations. +@workflow.defn +class CallerWorkflow: + # An __init__ method is always optional on a workflow class. Here we use it to set the + # nexus client, but that could alternatively be done in the run method. + def __init__(self): + self.nexus_client = workflow.create_nexus_client( + service=MyNexusService, + endpoint=NEXUS_ENDPOINT, + ) + + # The workflow run method invokes two nexus operations. + @workflow.run + async def run(self, name: str) -> tuple[MyOutput, MyOutput]: + # Start the nexus operation and wait for the result in one go, using execute_operation. + op_1_result = await self.nexus_client.execute_operation( + MyNexusService.my_sync_operation, + MyInput(name), + ) + # Alternatively, you can use start_operation to obtain the operation handle and + # then `await` the handle to obtain the result. + op_2_handle = await self.nexus_client.start_operation( + MyNexusService.my_workflow_run_operation, + MyInput(name), + ) + op_2_result = await op_2_handle + return op_1_result, op_2_result diff --git a/hello_nexus/endpoint_description.md b/hello_nexus/endpoint_description.md new file mode 100644 index 000000000..9a381cd03 --- /dev/null +++ b/hello_nexus/endpoint_description.md @@ -0,0 +1,3 @@ +## Service: [MyNexusService](https://github.com/temporalio/samples-python/blob/main/hello_nexus/basic/service.py) + - operation: `my_sync_operation` + - operation: `my_workflow_run_operation` diff --git a/hello_nexus/handler/__init__.py b/hello_nexus/handler/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/hello_nexus/handler/service_handler.py b/hello_nexus/handler/service_handler.py new file mode 100644 index 000000000..812a5c5d7 --- /dev/null +++ b/hello_nexus/handler/service_handler.py @@ -0,0 +1,47 @@ +""" +This file demonstrates how to implement a Nexus service. +""" + +from __future__ import annotations + +import nexusrpc +from temporalio import nexus + +from hello_nexus.handler.workflows import WorkflowStartedByNexusOperation +from hello_nexus.service import MyInput, MyNexusService, MyOutput + + +@nexusrpc.handler.service_handler(service=MyNexusService) +class MyNexusServiceHandler: + # You can create an __init__ method accepting what is needed by your operation + # handlers to handle requests. You typically instantiate your service handler class + # when starting your worker. See hello_nexus/basic/handler/worker.py. + + # This is a nexus operation that is backed by a Temporal workflow. The start method + # starts a workflow, and returns a nexus operation token. Meanwhile, the workflow + # executes in the background; Temporal server takes care of delivering the eventual + # workflow result (success or failure) to the calling workflow. + # + # The token will be used by the caller if it subsequently wants to cancel the Nexus + # operation. + @nexus.workflow_run_operation + async def my_workflow_run_operation( + self, ctx: nexus.WorkflowRunOperationContext, input: MyInput + ) -> nexus.WorkflowHandle[MyOutput]: + return await ctx.start_workflow( + WorkflowStartedByNexusOperation.run, + input, + id=f"hello-nexus-workflow-{input.name}", + ) + + # This is a Nexus operation that responds synchronously to all requests. That means + # that unlike the workflow run operation above, in this case the `start` method + # returns the final operation result. + # + # Sync operations are free to make arbitrary network calls, or perform CPU-bound + # computations. Total execution duration must not exceed 10s. + @nexusrpc.handler.sync_operation + async def my_sync_operation( + self, ctx: nexusrpc.handler.StartOperationContext, input: MyInput + ) -> MyOutput: + return MyOutput(message=f"Hello {input.name} from sync operation!") diff --git a/hello_nexus/handler/worker.py b/hello_nexus/handler/worker.py new file mode 100644 index 000000000..ded9c5ab4 --- /dev/null +++ b/hello_nexus/handler/worker.py @@ -0,0 +1,49 @@ +import asyncio +import logging +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from hello_nexus.handler.service_handler import MyNexusServiceHandler +from hello_nexus.handler.workflows import WorkflowStartedByNexusOperation + +interrupt_event = asyncio.Event() + +NAMESPACE = "hello-nexus-basic-handler-namespace" +TASK_QUEUE = "my-handler-task-queue" + + +async def main(client: Optional[Client] = None): + logging.basicConfig(level=logging.INFO) + + if not client: + config = ClientConfig.load_client_connect_config() + # Override the address and namespace from the config file. + config.setdefault("target_host", "localhost:7233") + config.setdefault("namespace", NAMESPACE) + client = await Client.connect(**config) + + # Start the worker, passing the Nexus service handler instance, in addition to the + # workflow classes that are started by your nexus operations, and any activities + # needed. This Worker will poll for both workflow tasks and Nexus tasks (this example + # doesn't use any activities). + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[WorkflowStartedByNexusOperation], + nexus_service_handlers=[MyNexusServiceHandler()], + ): + logging.info("Worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/hello_nexus/handler/workflows.py b/hello_nexus/handler/workflows.py new file mode 100644 index 000000000..a41b29efe --- /dev/null +++ b/hello_nexus/handler/workflows.py @@ -0,0 +1,12 @@ +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from hello_nexus.service import MyInput, MyOutput + + +# This is the workflow that is started by the `my_workflow_run_operation` nexus operation. +@workflow.defn +class WorkflowStartedByNexusOperation: + @workflow.run + async def run(self, input: MyInput) -> MyOutput: + return MyOutput(message=f"Hello {input.name} from workflow run operation!") diff --git a/hello_nexus/service.py b/hello_nexus/service.py new file mode 100644 index 000000000..352375ca7 --- /dev/null +++ b/hello_nexus/service.py @@ -0,0 +1,34 @@ +""" +This is a Nexus service definition. + +A service definition defines a Nexus service as a named collection of operations, each +with input and output types. It does not implement operation handling: see the service +handler and operation handlers in hello_nexus.handler.nexus_service for that. + +A Nexus service definition is used by Nexus callers (e.g. a Temporal workflow) to create +type-safe clients, and it is used by Nexus handlers to validate that they implement +correctly-named operation handlers with the correct input and output types. + +The service defined in this file exposes two operations: my_sync_operation and +my_workflow_run_operation. +""" + +from dataclasses import dataclass + +import nexusrpc + + +@dataclass +class MyInput: + name: str + + +@dataclass +class MyOutput: + message: str + + +@nexusrpc.service +class MyNexusService: + my_sync_operation: nexusrpc.Operation[MyInput, MyOutput] + my_workflow_run_operation: nexusrpc.Operation[MyInput, MyOutput] diff --git a/hello_standalone_activity/README.md b/hello_standalone_activity/README.md new file mode 100644 index 000000000..ebd639317 --- /dev/null +++ b/hello_standalone_activity/README.md @@ -0,0 +1,115 @@ +# Standalone Activity + +This sample shows how to execute Activities directly from a Temporal Client, without a Workflow. + +For full documentation, see [Standalone Activities - Python SDK](https://docs.temporal.io/develop/python/standalone-activities). + +### Sample directory structure + +- [my_activity.py](./my_activity.py) - Activity definition with `@activity.defn` +- [worker.py](./worker.py) - Worker that registers and runs the Activity +- [execute_activity.py](./execute_activity.py) - Execute a Standalone Activity and wait for the result +- [start_activity.py](./start_activity.py) - Start a Standalone Activity, get a handle, then wait for the result +- [list_activities.py](./list_activities.py) - List Standalone Activity Executions +- [count_activities.py](./count_activities.py) - Count Standalone Activity Executions + +### Quickstart + +**1. Start the Temporal dev server** + +```bash +temporal server start-dev +``` + +**2. Run the Worker** (in a separate terminal) + +```bash +uv run hello_standalone_activity/worker.py +``` + +**3. Execute a Standalone Activity** (in a separate terminal) + +Execute and wait for the result: + +```bash +uv run hello_standalone_activity/execute_activity.py +``` + +Or use the Temporal CLI: + +```bash +temporal activity execute \ + --type compose_greeting \ + --activity-id my-standalone-activity-id \ + --task-queue my-standalone-activity-task-queue \ + --start-to-close-timeout 10s \ + --input '{"greeting": "Hello", "name": "World"}' +``` + +**4. Start a Standalone Activity (without waiting)** + +Start, get a handle, then wait for the result: + +```bash +uv run hello_standalone_activity/start_activity.py +``` + +Or use the Temporal CLI: + +```bash +temporal activity start \ + --type compose_greeting \ + --activity-id my-standalone-activity-id \ + --task-queue my-standalone-activity-task-queue \ + --start-to-close-timeout 10s \ + --input '{"greeting": "Hello", "name": "World"}' +``` + +**5. List Standalone Activities** + +```bash +uv run hello_standalone_activity/list_activities.py +``` + +Or use the Temporal CLI: + +```bash +temporal activity list --query "TaskQueue = 'my-standalone-activity-task-queue'" +``` + +Note: `list` and `count` are only available in the [Standalone Activity prerelease CLI](https://github.com/temporalio/cli/releases/tag/v1.6.2-standalone-activity). + +**6. Count Standalone Activities** + +```bash +uv run hello_standalone_activity/count_activities.py +``` + +Or use the Temporal CLI: + +```bash +temporal activity count --query "TaskQueue = 'my-standalone-activity-task-queue'" +``` + +### Temporal Cloud + +The same code works against Temporal Cloud - just set environment variables. No code changes needed. + +**Connect with mTLS:** + +```bash +export TEMPORAL_ADDRESS=..tmprl.cloud:7233 +export TEMPORAL_NAMESPACE=. +export TEMPORAL_TLS_CLIENT_CERT_PATH='path/to/your/client.pem' +export TEMPORAL_TLS_CLIENT_KEY_PATH='path/to/your/client.key' +``` + +**Connect with an API key:** + +```bash +export TEMPORAL_ADDRESS=..api.temporal.io:7233 +export TEMPORAL_NAMESPACE=. +export TEMPORAL_API_KEY= +``` + +Then run the worker and starter as shown above. diff --git a/hello_standalone_activity/__init__.py b/hello_standalone_activity/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/hello_standalone_activity/count_activities.py b/hello_standalone_activity/count_activities.py new file mode 100644 index 000000000..14a89e7e2 --- /dev/null +++ b/hello_standalone_activity/count_activities.py @@ -0,0 +1,23 @@ +import asyncio + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + + +async def my_application(): + connect_config = ClientConfig.load_client_connect_config() + connect_config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**connect_config) + + resp = await client.count_activities( + query="TaskQueue = 'my-standalone-activity-task-queue'", + ) + + print("Total activities:", resp.count) + + for group in resp.groups: + print(f"Group {group.group_values}: {group.count}") + + +if __name__ == "__main__": + asyncio.run(my_application()) diff --git a/hello_standalone_activity/execute_activity.py b/hello_standalone_activity/execute_activity.py new file mode 100644 index 000000000..529a1feb8 --- /dev/null +++ b/hello_standalone_activity/execute_activity.py @@ -0,0 +1,26 @@ +import asyncio +from datetime import timedelta + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from hello_standalone_activity.my_activity import ComposeGreetingInput, compose_greeting + + +async def my_application(): + connect_config = ClientConfig.load_client_connect_config() + connect_config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**connect_config) + + activity_result = await client.execute_activity( + compose_greeting, + args=[ComposeGreetingInput("Hello", "World")], + id="my-standalone-activity-id", + task_queue="my-standalone-activity-task-queue", + start_to_close_timeout=timedelta(seconds=10), + ) + print(f"Activity result: {activity_result}") + + +if __name__ == "__main__": + asyncio.run(my_application()) diff --git a/hello_standalone_activity/list_activities.py b/hello_standalone_activity/list_activities.py new file mode 100644 index 000000000..ef7af9699 --- /dev/null +++ b/hello_standalone_activity/list_activities.py @@ -0,0 +1,23 @@ +import asyncio + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + + +async def my_application(): + connect_config = ClientConfig.load_client_connect_config() + connect_config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**connect_config) + + activities = client.list_activities( + query="TaskQueue = 'my-standalone-activity-task-queue'", + ) + + async for info in activities: + print( + f"ActivityID: {info.activity_id}, Type: {info.activity_type}, Status: {info.status}" + ) + + +if __name__ == "__main__": + asyncio.run(my_application()) diff --git a/hello_standalone_activity/my_activity.py b/hello_standalone_activity/my_activity.py new file mode 100644 index 000000000..086b08a02 --- /dev/null +++ b/hello_standalone_activity/my_activity.py @@ -0,0 +1,15 @@ +from dataclasses import dataclass + +from temporalio import activity + + +@dataclass +class ComposeGreetingInput: + greeting: str + name: str + + +@activity.defn +def compose_greeting(input: ComposeGreetingInput) -> str: + activity.logger.info("Running activity with parameter %s" % input) + return f"{input.greeting}, {input.name}!" diff --git a/hello_standalone_activity/start_activity.py b/hello_standalone_activity/start_activity.py new file mode 100644 index 000000000..8aa9fa549 --- /dev/null +++ b/hello_standalone_activity/start_activity.py @@ -0,0 +1,31 @@ +import asyncio +from datetime import timedelta + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from hello_standalone_activity.my_activity import ComposeGreetingInput, compose_greeting + + +async def my_application(): + connect_config = ClientConfig.load_client_connect_config() + connect_config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**connect_config) + + # Start the activity without waiting for the result + activity_handle = await client.start_activity( + compose_greeting, + args=[ComposeGreetingInput("Hello", "World")], + id="my-standalone-activity-id", + task_queue="my-standalone-activity-task-queue", + start_to_close_timeout=timedelta(seconds=10), + ) + print(f"Started activity: {activity_handle.id}") + + # Wait for the result + activity_result = await activity_handle.result() + print(f"Activity result: {activity_result}") + + +if __name__ == "__main__": + asyncio.run(my_application()) diff --git a/hello_standalone_activity/worker.py b/hello_standalone_activity/worker.py new file mode 100644 index 000000000..d093cc036 --- /dev/null +++ b/hello_standalone_activity/worker.py @@ -0,0 +1,26 @@ +import asyncio +from concurrent.futures import ThreadPoolExecutor + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from hello_standalone_activity.my_activity import compose_greeting + + +async def main(): + connect_config = ClientConfig.load_client_connect_config() + connect_config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**connect_config) + worker = Worker( + client, + task_queue="my-standalone-activity-task-queue", + activities=[compose_greeting], + activity_executor=ThreadPoolExecutor(5), + ) + print("worker running...", end="", flush=True) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/lambda_worker/.gitignore b/lambda_worker/.gitignore new file mode 100644 index 000000000..82d6f6377 --- /dev/null +++ b/lambda_worker/.gitignore @@ -0,0 +1,2 @@ +package/ +temporal-sdk.toml diff --git a/lambda_worker/README.md b/lambda_worker/README.md new file mode 100644 index 000000000..353241f0b --- /dev/null +++ b/lambda_worker/README.md @@ -0,0 +1,109 @@ +# Lambda Worker + +This sample demonstrates how to run a Temporal Worker inside an AWS Lambda function using +the [`lambda_worker`](https://python.temporal.io/temporalio.contrib.aws.lambda_worker.html) +contrib package. It includes optional OpenTelemetry instrumentation that exports traces +and metrics through AWS Distro for OpenTelemetry (ADOT). + +The sample registers a simple greeting Workflow and Activity, but the pattern applies to +any Workflow/Activity definitions. + +## Prerequisites + +- A [Temporal Cloud](https://temporal.io/cloud) namespace (or a self-hosted Temporal + cluster accessible from your Lambda) +- AWS CLI configured with permissions to create Lambda functions, IAM roles, and + CloudFormation stacks +- mTLS client certificate and key for your Temporal namespace (place as `client.pem` and + `client.key` in this directory) +- Python 3.10+ + +## Files + +| File | Description | +|------|-------------| +| `lambda_function.py` | Lambda entry point -- configures the worker, registers Workflows/Activities, and exports the handler | +| `workflows.py` | Sample Workflow that executes a greeting Activity | +| `activities.py` | Sample Activity that returns a greeting string | +| `starter.py` | Helper program to start a Workflow execution from a local machine | +| `temporal.toml` | Temporal client connection configuration (update with your namespace) | +| `otel-collector-config.yaml` | OpenTelemetry Collector sidecar configuration for ADOT | +| `deploy-lambda.sh` | Packages and deploys the Lambda function | +| `mk-iam-role.sh` | Creates the IAM role that allows Temporal Cloud to invoke the Lambda | +| `iam-role-for-temporal-lambda-invoke-test.yaml` | CloudFormation template for the IAM role | +| `extra-setup-steps` | Additional IAM and Lambda configuration for OpenTelemetry support | + +## Setup + +The instructions here are a slimmed down version of the more complete getting started guide which +you can find [here](https://docs.temporal.io/production-deployment/worker-deployments/serverless-workers/aws-lambda). + +### 1. Create a lambda function for your Python worker + +Use either the AWS web UI or CLI to create a Python runtime Lambda function. Ex: + +```bash +aws lambda create-function \ + --function-name my-temporal-worker \ + --runtime python3.13 \ + --handler lambda_function.lambda_handler \ + --role arn:aws:iam:::role/my-temporal-worker-execution \ + --timeout 600 \ + --memory-size 256 +``` + +### 2. Configure Temporal connection + +Edit `temporal.toml` with your Temporal Cloud namespace address and credentials. In production, +we'd recommend reading your credentials from a secret store, but to keep this example simple +the toml file defaults to reading them from keys bundled along with the Lambda code. + +### 3. Create the IAM role + +This creates the IAM role that Temporal Cloud assumes to invoke your Lambda function: + +```bash +./mk-iam-role.sh +``` + +The External ID is provided by Temporal Cloud in your namespace's serverless worker +configuration. + +### 4. (Optional) Enable OpenTelemetry + +If you want traces, metrics, and logs, you'll have to attach the ADOT layet to your Lambda function. +You will need to add the appropriate layer for your runtime and region. See [this page +](https://aws-otel.github.io/docs/getting-started/lambda#getting-started-with-aws-lambda-layers) +for more info. + +Then run the extra setup to grant the Lambda role the necessary permissions: + +```bash +./extra-setup-steps +``` + +Update `otel-collector-config.yaml` with your function name and region as needed. + +### 5. Deploy the Lambda function + +```bash +./deploy-lambda.sh +``` + +This installs Python dependencies, bundles them with your code and configuration files, +and uploads to AWS Lambda. + +### 6. Configure Temporal to be able to invoke your lambda function + +Refer to the docs [here](https://docs.temporal.io/production-deployment/worker-deployments/serverless-workers/aws-lambda#create-worker-deployment-version). + +### 7. Start a Workflow + +Use the starter program to execute a Workflow on the Lambda worker, using +the same config file the Lambda uses for connecting to the server: + +From inside this directory: + +```bash +TEMPORAL_CONFIG_FILE=temporal.toml uv run python starter.py +``` diff --git a/lambda_worker/activities.py b/lambda_worker/activities.py new file mode 100644 index 000000000..a6a9c8e22 --- /dev/null +++ b/lambda_worker/activities.py @@ -0,0 +1,7 @@ +from temporalio import activity + + +@activity.defn +async def hello_activity(name: str) -> str: + activity.logger.info("HelloActivity started with name: %s", name) + return f"Hello, {name}!" diff --git a/lambda_worker/deploy-lambda.sh b/lambda_worker/deploy-lambda.sh new file mode 100755 index 000000000..ce331a80e --- /dev/null +++ b/lambda_worker/deploy-lambda.sh @@ -0,0 +1,24 @@ +#!/bin/bash +set -euo pipefail + +FUNCTION_NAME="${1:?Usage: deploy-lambda.sh }" +SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" + +# Install the published temporalio package (Linux wheels) with the OTel extras +# needed by the lambda_worker contrib module +uv pip install --target "$SCRIPT_DIR/package" --python-platform x86_64-unknown-linux-gnu \ + --only-binary=:all: "temporalio[lambda-worker-otel]" + +# Copy application code into the package directory (all at zip root) +cp "$SCRIPT_DIR/lambda_function.py" "$SCRIPT_DIR/workflows.py" \ + "$SCRIPT_DIR/activities.py" "$SCRIPT_DIR/package/" + +# Bundle with configuration files +cd "$SCRIPT_DIR/package" +zip -r "$SCRIPT_DIR/function.zip" . +cd "$SCRIPT_DIR" +zip function.zip client.pem client.key temporal.toml otel-collector-config.yaml + +aws lambda update-function-code --function-name "$FUNCTION_NAME" --zip-file fileb://function.zip + +rm -rf "$SCRIPT_DIR/package" "$SCRIPT_DIR/function.zip" diff --git a/lambda_worker/extra-setup-steps b/lambda_worker/extra-setup-steps new file mode 100755 index 000000000..11493a0f8 --- /dev/null +++ b/lambda_worker/extra-setup-steps @@ -0,0 +1,48 @@ +#!/bin/bash +set -euo pipefail + +# Additional setup steps for OpenTelemetry support. +# These are needed if you want metrics, logs, and traces from your Lambda worker. + +ROLE_NAME="${1:?Usage: extra-setup-steps }" +FUNCTION_NAME="${2:?Usage: extra-setup-steps }" +REGION="${3:?Usage: extra-setup-steps }" +ACCOUNT_ID="${4:?Usage: extra-setup-steps }" + +# Needed to allow metrics/logs/traces to be published +aws iam put-role-policy \ + --role-name "$ROLE_NAME" \ + --policy-name ADOT-Telemetry-Permissions \ + --policy-document "{ + \"Version\": \"2012-10-17\", + \"Statement\": [ + { + \"Effect\": \"Allow\", + \"Action\": [ + \"logs:CreateLogGroup\", + \"logs:CreateLogStream\", + \"logs:PutLogEvents\" + ], + \"Resource\": \"arn:aws:logs:${REGION}:${ACCOUNT_ID}:log-group:/aws/lambda/${FUNCTION_NAME}:*\" + }, + { + \"Effect\": \"Allow\", + \"Action\": [ + \"xray:PutTraceSegments\", + \"xray:PutTelemetryRecords\" + ], + \"Resource\": \"*\" + }, + { + \"Effect\": \"Allow\", + \"Action\": [ + \"cloudwatch:PutMetricData\" + ], + \"Resource\": \"*\" + } + ] + }" + +# Needed to make traces show up with type: `"AWS::Lambda::Function"` filter +aws lambda update-function-configuration \ + --function-name "$FUNCTION_NAME" --tracing-config Mode=Active diff --git a/lambda_worker/iam-role-for-temporal-lambda-invoke-test.yaml b/lambda_worker/iam-role-for-temporal-lambda-invoke-test.yaml new file mode 100644 index 000000000..82dd16aa9 --- /dev/null +++ b/lambda_worker/iam-role-for-temporal-lambda-invoke-test.yaml @@ -0,0 +1,97 @@ +# CloudFormation template for creating an IAM role that Temporal Cloud can assume to invoke Lambda functions. +AWSTemplateFormatVersion: "2010-09-09" +Description: Creates an IAM role that Temporal Cloud can assume to invoke multiple Lambda functions for Serverless Workers. + +Parameters: + AssumeRoleExternalId: + Type: String + Description: The External ID provided by Temporal Cloud + AllowedPattern: "[a-zA-Z0-9_+=,.@-]*" + MinLength: 5 + MaxLength: 45 + + LambdaFunctionARNs: + Type: CommaDelimitedList + Description: >- + Comma-separated list of Lambda function ARNs to invoke (e.g., + arn:aws:lambda:us-west-2:123456789012:function:worker-1,arn:aws:lambda:us-west-2:123456789012:function:worker-2) + + RoleName: + Type: String + Default: "Temporal-Cloud-Serverless-Worker" + +Metadata: + AWS::CloudFormation::Interface: + ParameterGroups: + - Label: + default: "Temporal Cloud Configuration" + Parameters: + - AssumeRoleExternalId + - Label: + default: "Lambda Configuration" + Parameters: + - LambdaFunctionARNs + - RoleName + ParameterLabels: + AssumeRoleExternalId: + default: "External ID (provided by Temporal Cloud)" + LambdaFunctionARNs: + default: "Lambda Function ARNs (comma-separated list)" + RoleName: + default: "IAM Role Name" + +Resources: + TemporalCloudServerlessWorker: + Type: AWS::IAM::Role + Properties: + RoleName: !Sub "${RoleName}-${AWS::StackName}" + AssumeRolePolicyDocument: + Version: "2012-10-17" + Statement: + - Effect: Allow + Principal: + AWS: + [ + arn:aws:iam::902542641901:role/wci-lambda-invoke, + arn:aws:iam::160190466495:role/wci-lambda-invoke, + arn:aws:iam::819232936619:role/wci-lambda-invoke, + arn:aws:iam::829909441867:role/wci-lambda-invoke, + arn:aws:iam::354116250941:role/wci-lambda-invoke, + ] + Action: sts:AssumeRole + Condition: + StringEquals: + "sts:ExternalId": [!Ref AssumeRoleExternalId] + Description: "The role Temporal Cloud uses to invoke Lambda functions for Serverless Workers" + MaxSessionDuration: 3600 # 1 hour + + TemporalCloudLambdaInvokePermissions: + Type: AWS::IAM::Policy + DependsOn: TemporalCloudServerlessWorker + Properties: + PolicyName: "Temporal-Cloud-Lambda-Invoke-Permissions" + PolicyDocument: + Version: "2012-10-17" + Statement: + - Effect: Allow + Action: + - lambda:InvokeFunction + - lambda:GetFunction + Resource: !Ref LambdaFunctionARNs + Roles: + - !Sub "${RoleName}-${AWS::StackName}" + +Outputs: + RoleARN: + Description: The ARN of the IAM role created for Temporal Cloud + Value: !GetAtt TemporalCloudServerlessWorker.Arn + Export: + Name: !Sub "${AWS::StackName}-RoleARN" + + RoleName: + Description: The name of the IAM role + Value: !Ref RoleName + + LambdaFunctionARNs: + Description: The Lambda function ARNs that can be invoked + Value: !Join [", ", !Ref LambdaFunctionARNs] diff --git a/lambda_worker/lambda_function.py b/lambda_worker/lambda_function.py new file mode 100644 index 000000000..4c312097f --- /dev/null +++ b/lambda_worker/lambda_function.py @@ -0,0 +1,18 @@ +from activities import hello_activity +from temporalio.common import WorkerDeploymentVersion +from temporalio.contrib.aws.lambda_worker import LambdaWorkerConfig, run_worker +from temporalio.contrib.aws.lambda_worker.otel import apply_defaults +from workflows import TASK_QUEUE, SampleWorkflow + + +def configure(config: LambdaWorkerConfig) -> None: + config.worker_config["task_queue"] = TASK_QUEUE + config.worker_config["workflows"] = [SampleWorkflow] + config.worker_config["activities"] = [hello_activity] + apply_defaults(config) + + +lambda_handler = run_worker( + WorkerDeploymentVersion(deployment_name="my-app", build_id="build-1"), + configure, +) diff --git a/lambda_worker/mk-iam-role.sh b/lambda_worker/mk-iam-role.sh new file mode 100755 index 000000000..506dd52e6 --- /dev/null +++ b/lambda_worker/mk-iam-role.sh @@ -0,0 +1,17 @@ +#!/bin/bash +set -euo pipefail + +# Creates the IAM role that allows Temporal Cloud to invoke your Lambda function. +# You can find the External ID in your Temporal Cloud namespace settings. + +STACK_NAME="${1:?Usage: mk-iam-role.sh }" +EXTERNAL_ID="${2:?Usage: mk-iam-role.sh }" +LAMBDA_ARN="${3:?Usage: mk-iam-role.sh }" + +aws cloudformation create-stack \ + --stack-name "$STACK_NAME" \ + --template-body file://iam-role-for-temporal-lambda-invoke-test.yaml \ + --parameters \ + ParameterKey=AssumeRoleExternalId,ParameterValue="$EXTERNAL_ID" \ + ParameterKey=LambdaFunctionARNs,ParameterValue="$LAMBDA_ARN" \ + --capabilities CAPABILITY_NAMED_IAM diff --git a/lambda_worker/otel-collector-config.yaml b/lambda_worker/otel-collector-config.yaml new file mode 100644 index 000000000..bd54c4a78 --- /dev/null +++ b/lambda_worker/otel-collector-config.yaml @@ -0,0 +1,35 @@ +receivers: + otlp: + protocols: + grpc: + endpoint: "localhost:4317" + http: + endpoint: "localhost:4318" + +exporters: + debug: + awsxray: + region: us-west-2 + awsemf: + # AWS EMF exporter for metrics + # These are example configurations + namespace: TemporalWorkerMetrics + log_group_name: /aws/lambda/ + region: us-west-2 + dimension_rollup_option: NoDimensionRollup + resource_to_telemetry_conversion: + enabled: true + +service: + pipelines: + traces: + receivers: [otlp] + exporters: [awsxray, debug] + metrics: + receivers: [otlp] + exporters: [awsemf] + telemetry: + logs: + level: debug + metrics: + address: localhost:8888 diff --git a/lambda_worker/pyproject.toml b/lambda_worker/pyproject.toml new file mode 100644 index 000000000..77a65440c --- /dev/null +++ b/lambda_worker/pyproject.toml @@ -0,0 +1,41 @@ +[project] +name = "temporalio-samples-lambda-worker" +version = "0.1a1" +description = "Temporal.io Python SDK Lambda worker sample" +authors = [{ name = "Temporal Technologies Inc", email = "sdk@temporal.io" }] +requires-python = ">=3.10" +readme = "README.md" +license = "MIT" +dependencies = ["temporalio[lambda-worker-otel]>=1.26.0,<2"] + +[dependency-groups] +dev = [ + "ruff>=0.5.0,<0.6", + "mypy>=1.4.1,<2", + "poethepoet>=0.36.0", +] + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["."] + +[tool.poe.tasks] +format = [ + { cmd = "uv run ruff check --select I --fix" }, + { cmd = "uv run ruff format" }, +] +lint = [ + { cmd = "uv run ruff check --select I" }, + { cmd = "uv run ruff format --check" }, + { ref = "lint-types" }, +] +lint-types = "uv run --all-groups mypy --check-untyped-defs --namespace-packages ." + +[tool.ruff] +target-version = "py310" diff --git a/lambda_worker/starter.py b/lambda_worker/starter.py new file mode 100644 index 000000000..4e485c006 --- /dev/null +++ b/lambda_worker/starter.py @@ -0,0 +1,24 @@ +import asyncio + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from workflows import TASK_QUEUE, SampleWorkflow + + +async def main() -> None: + config = ClientConfig.load_client_connect_config() + client = await Client.connect(**config) + print("Connected to Temporal Service") + + result = await client.execute_workflow( + SampleWorkflow.run, + "Serverless Lambda Worker!", + id="serverless-workflow-id-1", + task_queue=TASK_QUEUE, + ) + print(f"Workflow result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/lambda_worker/temporal.toml b/lambda_worker/temporal.toml new file mode 100644 index 000000000..a5a60eedc --- /dev/null +++ b/lambda_worker/temporal.toml @@ -0,0 +1,6 @@ +[profile.default] +address = "..tmprl.cloud:7233" +namespace = "." +[profile.default.tls] +client_cert_path = "client.pem" +client_key_path = "client.key" diff --git a/lambda_worker/uv.lock b/lambda_worker/uv.lock new file mode 100644 index 000000000..54e548f7f --- /dev/null +++ b/lambda_worker/uv.lock @@ -0,0 +1,643 @@ +version = 1 +revision = 3 +requires-python = ">=3.10" +resolution-markers = [ + "python_full_version >= '3.14'", + "python_full_version == '3.13.*'", + "python_full_version < '3.13'", +] + +[[package]] +name = "googleapis-common-protos" +version = "1.74.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/20/18/a746c8344152d368a5aac738d4c857012f2c5d1fd2eac7e17b647a7861bd/googleapis_common_protos-1.74.0.tar.gz", hash = "sha256:57971e4eeeba6aad1163c1f0fc88543f965bb49129b8bb55b2b7b26ecab084f1", size = 151254, upload-time = "2026-04-02T21:23:26.679Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b6/b0/be5d3329badb9230b765de6eea66b73abd5944bdeb5afb3562ddcd80ae84/googleapis_common_protos-1.74.0-py3-none-any.whl", hash = "sha256:702216f78610bb510e3f12ac3cafd281b7ac45cc5d86e90ad87e4d301a3426b5", size = 300743, upload-time = "2026-04-02T21:22:49.108Z" }, +] + +[[package]] +name = "grpcio" +version = "1.80.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b7/48/af6173dbca4454f4637a4678b67f52ca7e0c1ed7d5894d89d434fecede05/grpcio-1.80.0.tar.gz", hash = "sha256:29aca15edd0688c22ba01d7cc01cb000d72b2033f4a3c72a81a19b56fd143257", size = 12978905, upload-time = "2026-03-30T08:49:10.502Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9d/cd/bb7b7e54084a344c03d68144450da7ddd5564e51a298ae1662de65f48e2d/grpcio-1.80.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:886457a7768e408cdce226ad1ca67d2958917d306523a0e21e1a2fdaa75c9c9c", size = 6050363, upload-time = "2026-03-30T08:46:20.894Z" }, + { url = "https://files.pythonhosted.org/packages/16/02/1417f5c3460dea65f7a2e3c14e8b31e77f7ffb730e9bfadd89eda7a9f477/grpcio-1.80.0-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:7b641fc3f1dc647bfd80bd713addc68f6d145956f64677e56d9ebafc0bd72388", size = 12026037, upload-time = "2026-03-30T08:46:25.144Z" }, + { url = "https://files.pythonhosted.org/packages/43/98/c910254eedf2cae368d78336a2de0678e66a7317d27c02522392f949b5c6/grpcio-1.80.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:33eb763f18f006dc7fee1e69831d38d23f5eccd15b2e0f92a13ee1d9242e5e02", size = 6602306, upload-time = "2026-03-30T08:46:27.593Z" }, + { url = "https://files.pythonhosted.org/packages/7c/f8/88ca4e78c077b2b2113d95da1e1ab43efd43d723c9a0397d26529c2c1a56/grpcio-1.80.0-cp310-cp310-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:52d143637e3872633fc7dd7c3c6a1c84e396b359f3a72e215f8bf69fd82084fc", size = 7301535, upload-time = "2026-03-30T08:46:29.556Z" }, + { url = "https://files.pythonhosted.org/packages/f9/96/f28660fe2fe0f153288bf4a04e4910b7309d442395135c88ed4f5b3b8b40/grpcio-1.80.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c51bf8ac4575af2e0678bccfb07e47321fc7acb5049b4482832c5c195e04e13a", size = 6808669, upload-time = "2026-03-30T08:46:31.984Z" }, + { url = "https://files.pythonhosted.org/packages/47/eb/3f68a5e955779c00aeef23850e019c1c1d0e032d90633ba49c01ad5a96e0/grpcio-1.80.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:50a9871536d71c4fba24ee856abc03a87764570f0c457dd8db0b4018f379fed9", size = 7409489, upload-time = "2026-03-30T08:46:34.684Z" }, + { url = "https://files.pythonhosted.org/packages/5b/a7/d2f681a4bfb881be40659a309771f3bdfbfdb1190619442816c3f0ffc079/grpcio-1.80.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:a72d84ad0514db063e21887fbacd1fd7acb4d494a564cae22227cd45c7fbf199", size = 8423167, upload-time = "2026-03-30T08:46:36.833Z" }, + { url = "https://files.pythonhosted.org/packages/97/8a/29b4589c204959aa35ce5708400a05bba72181807c45c47b3ec000c39333/grpcio-1.80.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f7691a6788ad9196872f95716df5bc643ebba13c97140b7a5ee5c8e75d1dea81", size = 7846761, upload-time = "2026-03-30T08:46:40.091Z" }, + { url = "https://files.pythonhosted.org/packages/6b/d2/ed143e097230ee121ac5848f6ff14372dba91289b10b536d54fb1b7cbae7/grpcio-1.80.0-cp310-cp310-win32.whl", hash = "sha256:46c2390b59d67f84e882694d489f5b45707c657832d7934859ceb8c33f467069", size = 4156534, upload-time = "2026-03-30T08:46:42.026Z" }, + { url = "https://files.pythonhosted.org/packages/d5/c9/df8279bb49b29409995e95efa85b72973d62f8aeff89abee58c91f393710/grpcio-1.80.0-cp310-cp310-win_amd64.whl", hash = "sha256:dc053420fc75749c961e2a4c906398d7c15725d36ccc04ae6d16093167223b58", size = 4889869, upload-time = "2026-03-30T08:46:44.219Z" }, + { url = "https://files.pythonhosted.org/packages/5d/db/1d56e5f5823257b291962d6c0ce106146c6447f405b60b234c4f222a7cde/grpcio-1.80.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:dfab85db094068ff42e2a3563f60ab3dddcc9d6488a35abf0132daec13209c8a", size = 6055009, upload-time = "2026-03-30T08:46:46.265Z" }, + { url = "https://files.pythonhosted.org/packages/6e/18/c83f3cad64c5ca63bca7e91e5e46b0d026afc5af9d0a9972472ceba294b3/grpcio-1.80.0-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:5c07e82e822e1161354e32da2662f741a4944ea955f9f580ec8fb409dd6f6060", size = 12035295, upload-time = "2026-03-30T08:46:49.099Z" }, + { url = "https://files.pythonhosted.org/packages/0f/8e/e14966b435be2dda99fbe89db9525ea436edc79780431a1c2875a3582644/grpcio-1.80.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ba0915d51fd4ced2db5ff719f84e270afe0e2d4c45a7bdb1e8d036e4502928c2", size = 6610297, upload-time = "2026-03-30T08:46:52.123Z" }, + { url = "https://files.pythonhosted.org/packages/cc/26/d5eb38f42ce0e3fdc8174ea4d52036ef8d58cc4426cb800f2610f625dd75/grpcio-1.80.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:3cb8130ba457d2aa09fa6b7c3ed6b6e4e6a2685fce63cb803d479576c4d80e21", size = 7300208, upload-time = "2026-03-30T08:46:54.859Z" }, + { url = "https://files.pythonhosted.org/packages/25/51/bd267c989f85a17a5b3eea65a6feb4ff672af41ca614e5a0279cc0ea381c/grpcio-1.80.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:09e5e478b3d14afd23f12e49e8b44c8684ac3c5f08561c43a5b9691c54d136ab", size = 6813442, upload-time = "2026-03-30T08:46:57.056Z" }, + { url = "https://files.pythonhosted.org/packages/9e/d9/d80eef735b19e9169e30164bbf889b46f9df9127598a83d174eb13a48b26/grpcio-1.80.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:00168469238b022500e486c1c33916acf2f2a9b2c022202cf8a1885d2e3073c1", size = 7414743, upload-time = "2026-03-30T08:46:59.682Z" }, + { url = "https://files.pythonhosted.org/packages/de/f2/567f5bd5054398ed6b0509b9a30900376dcf2786bd936812098808b49d8d/grpcio-1.80.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8502122a3cc1714038e39a0b071acb1207ca7844208d5ea0d091317555ee7106", size = 8426046, upload-time = "2026-03-30T08:47:02.474Z" }, + { url = "https://files.pythonhosted.org/packages/62/29/73ef0141b4732ff5eacd68430ff2512a65c004696997f70476a83e548e7e/grpcio-1.80.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ce1794f4ea6cc3ca29463f42d665c32ba1b964b48958a66497917fe9069f26e6", size = 7851641, upload-time = "2026-03-30T08:47:05.462Z" }, + { url = "https://files.pythonhosted.org/packages/46/69/abbfa360eb229a8623bab5f5a4f8105e445bd38ce81a89514ba55d281ad0/grpcio-1.80.0-cp311-cp311-win32.whl", hash = "sha256:51b4a7189b0bef2aa30adce3c78f09c83526cf3dddb24c6a96555e3b97340440", size = 4154368, upload-time = "2026-03-30T08:47:08.027Z" }, + { url = "https://files.pythonhosted.org/packages/6f/d4/ae92206d01183b08613e846076115f5ac5991bae358d2a749fa864da5699/grpcio-1.80.0-cp311-cp311-win_amd64.whl", hash = "sha256:02e64bb0bb2da14d947a49e6f120a75e947250aebe65f9629b62bb1f5c14e6e9", size = 4894235, upload-time = "2026-03-30T08:47:10.839Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e8/a2b749265eb3415abc94f2e619bbd9e9707bebdda787e61c593004ec927a/grpcio-1.80.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:c624cc9f1008361014378c9d776de7182b11fe8b2e5a81bc69f23a295f2a1ad0", size = 6015616, upload-time = "2026-03-30T08:47:13.428Z" }, + { url = "https://files.pythonhosted.org/packages/3e/97/b1282161a15d699d1e90c360df18d19165a045ce1c343c7f313f5e8a0b77/grpcio-1.80.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:f49eddcac43c3bf350c0385366a58f36bed8cc2c0ec35ef7b74b49e56552c0c2", size = 12014204, upload-time = "2026-03-30T08:47:15.873Z" }, + { url = "https://files.pythonhosted.org/packages/6e/5e/d319c6e997b50c155ac5a8cb12f5173d5b42677510e886d250d50264949d/grpcio-1.80.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d334591df610ab94714048e0d5b4f3dd5ad1bee74dfec11eee344220077a79de", size = 6563866, upload-time = "2026-03-30T08:47:18.588Z" }, + { url = "https://files.pythonhosted.org/packages/ae/f6/fdd975a2cb4d78eb67769a7b3b3830970bfa2e919f1decf724ae4445f42c/grpcio-1.80.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:0cb517eb1d0d0aaf1d87af7cc5b801d686557c1d88b2619f5e31fab3c2315921", size = 7273060, upload-time = "2026-03-30T08:47:21.113Z" }, + { url = "https://files.pythonhosted.org/packages/db/f0/a3deb5feba60d9538a962913e37bd2e69a195f1c3376a3dd44fe0427e996/grpcio-1.80.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4e78c4ac0d97dc2e569b2f4bcbbb447491167cb358d1a389fc4af71ab6f70411", size = 6782121, upload-time = "2026-03-30T08:47:23.827Z" }, + { url = "https://files.pythonhosted.org/packages/ca/84/36c6dcfddc093e108141f757c407902a05085e0c328007cb090d56646cdf/grpcio-1.80.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2ed770b4c06984f3b47eb0517b1c69ad0b84ef3f40128f51448433be904634cd", size = 7383811, upload-time = "2026-03-30T08:47:26.517Z" }, + { url = "https://files.pythonhosted.org/packages/7c/ef/f3a77e3dc5b471a0ec86c564c98d6adfa3510d38f8ee99010410858d591e/grpcio-1.80.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:256507e2f524092f1473071a05e65a5b10d84b82e3ff24c5b571513cfaa61e2f", size = 8393860, upload-time = "2026-03-30T08:47:29.439Z" }, + { url = "https://files.pythonhosted.org/packages/9b/8d/9d4d27ed7f33d109c50d6b5ce578a9914aa68edab75d65869a17e630a8d1/grpcio-1.80.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9a6284a5d907c37db53350645567c522be314bac859a64a7a5ca63b77bb7958f", size = 7830132, upload-time = "2026-03-30T08:47:33.254Z" }, + { url = "https://files.pythonhosted.org/packages/14/e4/9990b41c6d7a44e1e9dee8ac11d7a9802ba1378b40d77468a7761d1ad288/grpcio-1.80.0-cp312-cp312-win32.whl", hash = "sha256:c71309cfce2f22be26aa4a847357c502db6c621f1a49825ae98aa0907595b193", size = 4140904, upload-time = "2026-03-30T08:47:35.319Z" }, + { url = "https://files.pythonhosted.org/packages/2f/2c/296f6138caca1f4b92a31ace4ae1b87dab692fc16a7a3417af3bb3c805bf/grpcio-1.80.0-cp312-cp312-win_amd64.whl", hash = "sha256:9fe648599c0e37594c4809d81a9e77bd138cc82eb8baa71b6a86af65426723ff", size = 4880944, upload-time = "2026-03-30T08:47:37.831Z" }, + { url = "https://files.pythonhosted.org/packages/2f/3a/7c3c25789e3f069e581dc342e03613c5b1cb012c4e8c7d9d5cf960a75856/grpcio-1.80.0-cp313-cp313-linux_armv7l.whl", hash = "sha256:e9e408fc016dffd20661f0126c53d8a31c2821b5c13c5d67a0f5ed5de93319ad", size = 6017243, upload-time = "2026-03-30T08:47:40.075Z" }, + { url = "https://files.pythonhosted.org/packages/04/19/21a9806eb8240e174fd1ab0cd5b9aa948bb0e05c2f2f55f9d5d7405e6d08/grpcio-1.80.0-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:92d787312e613754d4d8b9ca6d3297e69994a7912a32fa38c4c4e01c272974b0", size = 12010840, upload-time = "2026-03-30T08:47:43.11Z" }, + { url = "https://files.pythonhosted.org/packages/18/3a/23347d35f76f639e807fb7a36fad3068aed100996849a33809591f26eca6/grpcio-1.80.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8ac393b58aa16991a2f1144ec578084d544038c12242da3a215966b512904d0f", size = 6567644, upload-time = "2026-03-30T08:47:46.806Z" }, + { url = "https://files.pythonhosted.org/packages/ff/40/96e07ecb604a6a67ae6ab151e3e35b132875d98bc68ec65f3e5ab3e781d7/grpcio-1.80.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:68e5851ac4b9afe07e7f84483803ad167852570d65326b34d54ca560bfa53fb6", size = 7277830, upload-time = "2026-03-30T08:47:49.643Z" }, + { url = "https://files.pythonhosted.org/packages/9b/e2/da1506ecea1f34a5e365964644b35edef53803052b763ca214ba3870c856/grpcio-1.80.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:873ff5d17d68992ef6605330127425d2fc4e77e612fa3c3e0ed4e668685e3140", size = 6783216, upload-time = "2026-03-30T08:47:52.817Z" }, + { url = "https://files.pythonhosted.org/packages/44/83/3b20ff58d0c3b7f6caaa3af9a4174d4023701df40a3f39f7f1c8e7c48f9d/grpcio-1.80.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:2bea16af2750fd0a899bf1abd9022244418b55d1f37da2202249ba4ba673838d", size = 7385866, upload-time = "2026-03-30T08:47:55.687Z" }, + { url = "https://files.pythonhosted.org/packages/47/45/55c507599c5520416de5eefecc927d6a0d7af55e91cfffb2e410607e5744/grpcio-1.80.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ba0db34f7e1d803a878284cd70e4c63cb6ae2510ba51937bf8f45ba997cefcf7", size = 8391602, upload-time = "2026-03-30T08:47:58.303Z" }, + { url = "https://files.pythonhosted.org/packages/10/bb/dd06f4c24c01db9cf11341b547d0a016b2c90ed7dbbb086a5710df7dd1d7/grpcio-1.80.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8eb613f02d34721f1acf3626dfdb3545bd3c8505b0e52bf8b5710a28d02e8aa7", size = 7826752, upload-time = "2026-03-30T08:48:01.311Z" }, + { url = "https://files.pythonhosted.org/packages/f9/1e/9d67992ba23371fd63d4527096eb8c6b76d74d52b500df992a3343fd7251/grpcio-1.80.0-cp313-cp313-win32.whl", hash = "sha256:93b6f823810720912fd131f561f91f5fed0fda372b6b7028a2681b8194d5d294", size = 4142310, upload-time = "2026-03-30T08:48:04.594Z" }, + { url = "https://files.pythonhosted.org/packages/cf/e6/283326a27da9e2c3038bc93eeea36fb118ce0b2d03922a9cda6688f53c5b/grpcio-1.80.0-cp313-cp313-win_amd64.whl", hash = "sha256:e172cf795a3ba5246d3529e4d34c53db70e888fa582a8ffebd2e6e48bc0cba50", size = 4882833, upload-time = "2026-03-30T08:48:07.363Z" }, + { url = "https://files.pythonhosted.org/packages/c5/6d/e65307ce20f5a09244ba9e9d8476e99fb039de7154f37fb85f26978b59c3/grpcio-1.80.0-cp314-cp314-linux_armv7l.whl", hash = "sha256:3d4147a97c8344d065d01bbf8b6acec2cf86fb0400d40696c8bdad34a64ffc0e", size = 6017376, upload-time = "2026-03-30T08:48:10.005Z" }, + { url = "https://files.pythonhosted.org/packages/69/10/9cef5d9650c72625a699c549940f0abb3c4bfdb5ed45a5ce431f92f31806/grpcio-1.80.0-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:d8e11f167935b3eb089ac9038e1a063e6d7dbe995c0bb4a661e614583352e76f", size = 12018133, upload-time = "2026-03-30T08:48:12.927Z" }, + { url = "https://files.pythonhosted.org/packages/04/82/983aabaad82ba26113caceeb9091706a0696b25da004fe3defb5b346e15b/grpcio-1.80.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f14b618fc30de822681ee986cfdcc2d9327229dc4c98aed16896761cacd468b9", size = 6574748, upload-time = "2026-03-30T08:48:16.386Z" }, + { url = "https://files.pythonhosted.org/packages/07/d7/031666ef155aa0bf399ed7e19439656c38bbd143779ae0861b038ce82abd/grpcio-1.80.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:4ed39fbdcf9b87370f6e8df4e39ca7b38b3e5e9d1b0013c7b6be9639d6578d14", size = 7277711, upload-time = "2026-03-30T08:48:19.627Z" }, + { url = "https://files.pythonhosted.org/packages/e8/43/f437a78f7f4f1d311804189e8f11fb311a01049b2e08557c1068d470cb2e/grpcio-1.80.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2dcc70e9f0ba987526e8e8603a610fb4f460e42899e74e7a518bf3c68fe1bf05", size = 6785372, upload-time = "2026-03-30T08:48:22.373Z" }, + { url = "https://files.pythonhosted.org/packages/93/3d/f6558e9c6296cb4227faa5c43c54a34c68d32654b829f53288313d16a86e/grpcio-1.80.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:448c884b668b868562b1bda833c5fce6272d26e1926ec46747cda05741d302c1", size = 7395268, upload-time = "2026-03-30T08:48:25.638Z" }, + { url = "https://files.pythonhosted.org/packages/06/21/0fdd77e84720b08843c371a2efa6f2e19dbebf56adc72df73d891f5506f0/grpcio-1.80.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:a1dc80fe55685b4a543555e6eef975303b36c8db1023b1599b094b92aa77965f", size = 8392000, upload-time = "2026-03-30T08:48:28.974Z" }, + { url = "https://files.pythonhosted.org/packages/f5/68/67f4947ed55d2e69f2cc199ab9fd85e0a0034d813bbeef84df6d2ba4d4b7/grpcio-1.80.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:31b9ac4ad1aa28ffee5503821fafd09e4da0a261ce1c1281c6c8da0423c83b6e", size = 7828477, upload-time = "2026-03-30T08:48:32.054Z" }, + { url = "https://files.pythonhosted.org/packages/44/b6/8d4096691b2e385e8271911a0de4f35f0a6c7d05aff7098e296c3de86939/grpcio-1.80.0-cp314-cp314-win32.whl", hash = "sha256:367ce30ba67d05e0592470428f0ec1c31714cab9ef19b8f2e37be1f4c7d32fae", size = 4218563, upload-time = "2026-03-30T08:48:34.538Z" }, + { url = "https://files.pythonhosted.org/packages/e5/8c/bbe6baf2557262834f2070cf668515fa308b2d38a4bbf771f8f7872a7036/grpcio-1.80.0-cp314-cp314-win_amd64.whl", hash = "sha256:3b01e1f5464c583d2f567b2e46ff0d516ef979978f72091fd81f5ab7fa6e2e7f", size = 5019457, upload-time = "2026-03-30T08:48:37.308Z" }, +] + +[[package]] +name = "importlib-metadata" +version = "8.7.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "zipp" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f3/49/3b30cad09e7771a4982d9975a8cbf64f00d4a1ececb53297f1d9a7be1b10/importlib_metadata-8.7.1.tar.gz", hash = "sha256:49fef1ae6440c182052f407c8d34a68f72efc36db9ca90dc0113398f2fdde8bb", size = 57107, upload-time = "2025-12-21T10:00:19.278Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fa/5e/f8e9a1d23b9c20a551a8a02ea3637b4642e22c2626e3a13a9a29cdea99eb/importlib_metadata-8.7.1-py3-none-any.whl", hash = "sha256:5a1f80bf1daa489495071efbb095d75a634cf28a8bc299581244063b53176151", size = 27865, upload-time = "2025-12-21T10:00:18.329Z" }, +] + +[[package]] +name = "librt" +version = "0.9.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/eb/6b/3d5c13fb3e3c4f43206c8f9dfed13778c2ed4f000bacaa0b7ce3c402a265/librt-0.9.0.tar.gz", hash = "sha256:a0951822531e7aee6e0dfb556b30d5ee36bbe234faf60c20a16c01be3530869d", size = 184368, upload-time = "2026-04-09T16:06:26.173Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f3/4a/c64265d71b84030174ff3ac2cd16d8b664072afab8c41fccd8e2ee5a6f8d/librt-0.9.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2f8e12706dcb8ff6b3ed57514a19e45c49ad00bcd423e87b2b2e4b5f64578443", size = 67529, upload-time = "2026-04-09T16:04:27.373Z" }, + { url = "https://files.pythonhosted.org/packages/23/b1/30ca0b3a8bdac209a00145c66cf42e5e7da2cc056ffc6ebc5c7b430ddd34/librt-0.9.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4e3dda8345307fd7306db0ed0cb109a63a2c85ba780eb9dc2d09b2049a931f9c", size = 70248, upload-time = "2026-04-09T16:04:28.758Z" }, + { url = "https://files.pythonhosted.org/packages/fa/fc/c6018dc181478d6ac5aa24a5846b8185101eb90894346db239eb3ea53209/librt-0.9.0-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:de7dac64e3eb832ffc7b840eb8f52f76420cde1b845be51b2a0f6b870890645e", size = 202184, upload-time = "2026-04-09T16:04:29.893Z" }, + { url = "https://files.pythonhosted.org/packages/bf/58/d69629f002203370ef41ea69ff71c49a2c618aec39b226ff49986ecd8623/librt-0.9.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:22a904cbdb678f7cb348c90d543d3c52f581663d687992fee47fd566dcbf5285", size = 212926, upload-time = "2026-04-09T16:04:31.126Z" }, + { url = "https://files.pythonhosted.org/packages/cc/55/01d859f57824e42bd02465c77bec31fa5ef9d8c2bcee702ccf8ef1b9f508/librt-0.9.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:224b9727eb8bc188bc3bcf29d969dba0cd61b01d9bac80c41575520cc4baabb2", size = 225664, upload-time = "2026-04-09T16:04:32.352Z" }, + { url = "https://files.pythonhosted.org/packages/9b/02/32f63ad0ef085a94a70315291efe1151a48b9947af12261882f8445b2a30/librt-0.9.0-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e94cbc6ad9a6aeea46d775cbb11f361022f778a9cc8cc90af653d3a594b057ce", size = 219534, upload-time = "2026-04-09T16:04:33.667Z" }, + { url = "https://files.pythonhosted.org/packages/6a/5a/9d77111a183c885acf3b3b6e4c00f5b5b07b5817028226499a55f1fedc59/librt-0.9.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:7bc30ad339f4e1a01d4917d645e522a0bc0030644d8973f6346397c93ba1503f", size = 227322, upload-time = "2026-04-09T16:04:34.945Z" }, + { url = "https://files.pythonhosted.org/packages/d5/e7/05d700c93063753e12ab230b972002a3f8f3b9c95d8a980c2f646c8b6963/librt-0.9.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:56d65b583cf43b8cf4c8fbe1e1da20fa3076cc32a1149a141507af1062718236", size = 223407, upload-time = "2026-04-09T16:04:36.22Z" }, + { url = "https://files.pythonhosted.org/packages/c0/26/26c3124823c67c987456977c683da9a27cc874befc194ddcead5f9988425/librt-0.9.0-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:0a1be03168b2691ba61927e299b352a6315189199ca18a57b733f86cb3cc8d38", size = 221302, upload-time = "2026-04-09T16:04:37.62Z" }, + { url = "https://files.pythonhosted.org/packages/50/2b/c7cc2be5cf4ff7b017d948a789256288cb33a517687ff1995e72a7eea79f/librt-0.9.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:63c12efcd160e1d14da11af0c46c0217473e1e0d2ae1acbccc83f561ea4c2a7b", size = 243893, upload-time = "2026-04-09T16:04:38.909Z" }, + { url = "https://files.pythonhosted.org/packages/62/d3/da553d37417a337d12660450535d5fd51373caffbedf6962173c87867246/librt-0.9.0-cp310-cp310-win32.whl", hash = "sha256:e9002e98dcb1c0a66723592520decd86238ddcef168b37ff6cfb559200b4b774", size = 55375, upload-time = "2026-04-09T16:04:40.148Z" }, + { url = "https://files.pythonhosted.org/packages/9b/5a/46fa357bab8311b6442a83471591f2f9e5b15ecc1d2121a43725e0c529b8/librt-0.9.0-cp310-cp310-win_amd64.whl", hash = "sha256:9fcb461fbf70654a52a7cc670e606f04449e2374c199b1825f754e16dacfedd8", size = 62581, upload-time = "2026-04-09T16:04:41.452Z" }, + { url = "https://files.pythonhosted.org/packages/e2/1e/2ec7afcebcf3efea593d13aee18bbcfdd3a243043d848ebf385055e9f636/librt-0.9.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:90904fac73c478f4b83f4ed96c99c8208b75e6f9a8a1910548f69a00f1eaa671", size = 67155, upload-time = "2026-04-09T16:04:42.933Z" }, + { url = "https://files.pythonhosted.org/packages/18/77/72b85afd4435268338ad4ec6231b3da8c77363f212a0227c1ff3b45e4d35/librt-0.9.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:789fff71757facc0738e8d89e3b84e4f0251c1c975e85e81b152cdaca927cc2d", size = 69916, upload-time = "2026-04-09T16:04:44.042Z" }, + { url = "https://files.pythonhosted.org/packages/27/fb/948ea0204fbe2e78add6d46b48330e58d39897e425560674aee302dca81c/librt-0.9.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:1bf465d1e5b0a27713862441f6467b5ab76385f4ecf8f1f3a44f8aa3c695b4b6", size = 199635, upload-time = "2026-04-09T16:04:45.5Z" }, + { url = "https://files.pythonhosted.org/packages/ac/cd/894a29e251b296a27957856804cfd21e93c194aa131de8bb8032021be07e/librt-0.9.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f819e0c6413e259a17a7c0d49f97f405abadd3c2a316a3b46c6440b7dbbedbb1", size = 211051, upload-time = "2026-04-09T16:04:47.016Z" }, + { url = "https://files.pythonhosted.org/packages/18/8f/dcaed0bc084a35f3721ff2d081158db569d2c57ea07d35623ddaca5cfc8e/librt-0.9.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e0785c2fb4a81e1aece366aa3e2e039f4a4d7d21aaaded5227d7f3c703427882", size = 224031, upload-time = "2026-04-09T16:04:48.207Z" }, + { url = "https://files.pythonhosted.org/packages/03/44/88f6c1ed1132cd418601cc041fbd92fed28b3a09f39de81978e0822d13ff/librt-0.9.0-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:80b25c7b570a86c03b5da69e665809deb39265476e8e21d96a9328f9762f9990", size = 218069, upload-time = "2026-04-09T16:04:50.025Z" }, + { url = "https://files.pythonhosted.org/packages/a3/90/7d02e981c2db12188d82b4410ff3e35bfdb844b26aecd02233626f46af2b/librt-0.9.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d4d16b608a1c43d7e33142099a75cd93af482dadce0bf82421e91cad077157f4", size = 224857, upload-time = "2026-04-09T16:04:51.684Z" }, + { url = "https://files.pythonhosted.org/packages/ef/c3/c77e706b7215ca32e928d47535cf13dbc3d25f096f84ddf8fbc06693e229/librt-0.9.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:194fc1a32e1e21fe809d38b5faea66cc65eaa00217c8901fbdb99866938adbdb", size = 219865, upload-time = "2026-04-09T16:04:52.949Z" }, + { url = "https://files.pythonhosted.org/packages/52/d1/32b0c1a0eb8461c70c11656c46a29f760b7c7edf3c36d6f102470c17170f/librt-0.9.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:8c6bc1384d9738781cfd41d09ad7f6e8af13cfea2c75ece6bd6d2566cdea2076", size = 218451, upload-time = "2026-04-09T16:04:54.174Z" }, + { url = "https://files.pythonhosted.org/packages/74/d1/adfd0f9c44761b1d49b1bec66173389834c33ee2bd3c7fd2e2367f1942d4/librt-0.9.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:15cb151e52a044f06e54ac7f7b47adbfc89b5c8e2b63e1175a9d587c43e8942a", size = 241300, upload-time = "2026-04-09T16:04:55.452Z" }, + { url = "https://files.pythonhosted.org/packages/09/b0/9074b64407712f0003c27f5b1d7655d1438979155f049720e8a1abd9b1a1/librt-0.9.0-cp311-cp311-win32.whl", hash = "sha256:f100bfe2acf8a3689af9d0cc660d89f17286c9c795f9f18f7b62dd1a6b247ae6", size = 55668, upload-time = "2026-04-09T16:04:56.689Z" }, + { url = "https://files.pythonhosted.org/packages/24/19/40b77b77ce80b9389fb03971431b09b6b913911c38d412059e0b3e2a9ef2/librt-0.9.0-cp311-cp311-win_amd64.whl", hash = "sha256:0b73e4266307e51c95e09c0750b7ec383c561d2e97d58e473f6f6a209952fbb8", size = 62976, upload-time = "2026-04-09T16:04:57.733Z" }, + { url = "https://files.pythonhosted.org/packages/70/9d/9fa7a64041e29035cb8c575af5f0e3840be1b97b4c4d9061e0713f171849/librt-0.9.0-cp311-cp311-win_arm64.whl", hash = "sha256:bc5518873822d2faa8ebdd2c1a4d7c8ef47b01a058495ab7924cb65bdbf5fc9a", size = 53502, upload-time = "2026-04-09T16:04:58.806Z" }, + { url = "https://files.pythonhosted.org/packages/bf/90/89ddba8e1c20b0922783cd93ed8e64f34dc05ab59c38a9c7e313632e20ff/librt-0.9.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:9b3e3bc363f71bda1639a4ee593cb78f7fbfeacc73411ec0d4c92f00730010a4", size = 68332, upload-time = "2026-04-09T16:05:00.09Z" }, + { url = "https://files.pythonhosted.org/packages/a8/40/7aa4da1fb08bdeeb540cb07bfc8207cb32c5c41642f2594dbd0098a0662d/librt-0.9.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0a09c2f5869649101738653a9b7ab70cf045a1105ac66cbb8f4055e61df78f2d", size = 70581, upload-time = "2026-04-09T16:05:01.213Z" }, + { url = "https://files.pythonhosted.org/packages/48/ac/73a2187e1031041e93b7e3a25aae37aa6f13b838c550f7e0f06f66766212/librt-0.9.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5ca8e133d799c948db2ab1afc081c333a825b5540475164726dcbf73537e5c2f", size = 203984, upload-time = "2026-04-09T16:05:02.542Z" }, + { url = "https://files.pythonhosted.org/packages/5e/3d/23460d571e9cbddb405b017681df04c142fb1b04cbfce77c54b08e28b108/librt-0.9.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:603138ee838ee1583f1b960b62d5d0007845c5c423feb68e44648b1359014e27", size = 215762, upload-time = "2026-04-09T16:05:04.127Z" }, + { url = "https://files.pythonhosted.org/packages/de/1e/42dc7f8ab63e65b20640d058e63e97fd3e482c1edbda3570d813b4d0b927/librt-0.9.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f4003f70c56a5addd6aa0897f200dd59afd3bf7bcd5b3cce46dd21f925743bc2", size = 230288, upload-time = "2026-04-09T16:05:05.883Z" }, + { url = "https://files.pythonhosted.org/packages/dc/08/ca812b6d8259ad9ece703397f8ad5c03af5b5fedfce64279693d3ce4087c/librt-0.9.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:78042f6facfd98ecb25e9829c7e37cce23363d9d7c83bc5f72702c5059eb082b", size = 224103, upload-time = "2026-04-09T16:05:07.148Z" }, + { url = "https://files.pythonhosted.org/packages/b6/3f/620490fb2fa66ffd44e7f900254bc110ebec8dac6c1b7514d64662570e6f/librt-0.9.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a361c9434a64d70a7dbb771d1de302c0cc9f13c0bffe1cf7e642152814b35265", size = 232122, upload-time = "2026-04-09T16:05:08.386Z" }, + { url = "https://files.pythonhosted.org/packages/e9/83/12864700a1b6a8be458cf5d05db209b0d8e94ae281e7ec261dbe616597b4/librt-0.9.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:dd2c7e082b0b92e1baa4da28163a808672485617bc855cc22a2fd06978fa9084", size = 225045, upload-time = "2026-04-09T16:05:09.707Z" }, + { url = "https://files.pythonhosted.org/packages/fd/1b/845d339c29dc7dbc87a2e992a1ba8d28d25d0e0372f9a0a2ecebde298186/librt-0.9.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:7e6274fd33fc5b2a14d41c9119629d3ff395849d8bcbc80cf637d9e8d2034da8", size = 227372, upload-time = "2026-04-09T16:05:10.942Z" }, + { url = "https://files.pythonhosted.org/packages/8d/fe/277985610269d926a64c606f761d58d3db67b956dbbf40024921e95e7fcb/librt-0.9.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5093043afb226ecfa1400120d1ebd4442b4f99977783e4f4f7248879009b227f", size = 248224, upload-time = "2026-04-09T16:05:12.254Z" }, + { url = "https://files.pythonhosted.org/packages/92/1b/ee486d244b8de6b8b5dbaefabe6bfdd4a72e08f6353edf7d16d27114da8d/librt-0.9.0-cp312-cp312-win32.whl", hash = "sha256:9edcc35d1cae9fd5320171b1a838c7da8a5c968af31e82ecc3dff30b4be0957f", size = 55986, upload-time = "2026-04-09T16:05:13.529Z" }, + { url = "https://files.pythonhosted.org/packages/89/7a/ba1737012308c17dc6d5516143b5dce9a2c7ba3474afd54e11f44a4d1ef3/librt-0.9.0-cp312-cp312-win_amd64.whl", hash = "sha256:3cc2917258e131ae5f958a4d872e07555b51cb7466a43433218061c74ef33745", size = 63260, upload-time = "2026-04-09T16:05:14.68Z" }, + { url = "https://files.pythonhosted.org/packages/36/e4/01752c113da15127f18f7bf11142f5640038f062407a611c059d0036c6aa/librt-0.9.0-cp312-cp312-win_arm64.whl", hash = "sha256:90e6d5420fc8a300518d4d2288154ff45005e920425c22cbbfe8330f3f754bd9", size = 53694, upload-time = "2026-04-09T16:05:16.095Z" }, + { url = "https://files.pythonhosted.org/packages/5f/d7/1b3e26fffde1452d82f5666164858a81c26ebe808e7ae8c9c88628981540/librt-0.9.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f29b68cd9714531672db62cc54f6e8ff981900f824d13fa0e00749189e13778e", size = 68367, upload-time = "2026-04-09T16:05:17.243Z" }, + { url = "https://files.pythonhosted.org/packages/a5/5b/c61b043ad2e091fbe1f2d35d14795e545d0b56b03edaa390fa1dcee3d160/librt-0.9.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7d5c8a5929ac325729f6119802070b561f4db793dffc45e9ac750992a4ed4d22", size = 70595, upload-time = "2026-04-09T16:05:18.471Z" }, + { url = "https://files.pythonhosted.org/packages/a3/22/2448471196d8a73370aa2f23445455dc42712c21404081fcd7a03b9e0749/librt-0.9.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:756775d25ec8345b837ab52effee3ad2f3b2dfd6bbee3e3f029c517bd5d8f05a", size = 204354, upload-time = "2026-04-09T16:05:19.593Z" }, + { url = "https://files.pythonhosted.org/packages/ac/5e/39fc4b153c78cfd2c8a2dcb32700f2d41d2312aa1050513183be4540930d/librt-0.9.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2b8f5d00b49818f4e2b1667db994488b045835e0ac16fe2f924f3871bd2b8ac5", size = 216238, upload-time = "2026-04-09T16:05:20.868Z" }, + { url = "https://files.pythonhosted.org/packages/d7/42/bc2d02d0fa7badfa63aa8d6dcd8793a9f7ef5a94396801684a51ed8d8287/librt-0.9.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c81aef782380f0f13ead670aae01825eb653b44b046aa0e5ebbb79f76ed4aa11", size = 230589, upload-time = "2026-04-09T16:05:22.305Z" }, + { url = "https://files.pythonhosted.org/packages/c8/7b/e2d95cc513866373692aa5edf98080d5602dd07cabfb9e5d2f70df2f25f7/librt-0.9.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:66b58fed90a545328e80d575467244de3741e088c1af928f0b489ebec3ef3858", size = 224610, upload-time = "2026-04-09T16:05:23.647Z" }, + { url = "https://files.pythonhosted.org/packages/31/d5/6cec4607e998eaba57564d06a1295c21b0a0c8de76e4e74d699e627bd98c/librt-0.9.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e78fb7419e07d98c2af4b8567b72b3eaf8cb05caad642e9963465569c8b2d87e", size = 232558, upload-time = "2026-04-09T16:05:25.025Z" }, + { url = "https://files.pythonhosted.org/packages/95/8c/27f1d8d3aaf079d3eb26439bf0b32f1482340c3552e324f7db9dca858671/librt-0.9.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:2c3786f0f4490a5cd87f1ed6cefae833ad6b1060d52044ce0434a2e85893afd0", size = 225521, upload-time = "2026-04-09T16:05:26.311Z" }, + { url = "https://files.pythonhosted.org/packages/6b/d8/1e0d43b1c329b416017619469b3c3801a25a6a4ef4a1c68332aeaa6f72ca/librt-0.9.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:8494cfc61e03542f2d381e71804990b3931175a29b9278fdb4a5459948778dc2", size = 227789, upload-time = "2026-04-09T16:05:27.624Z" }, + { url = "https://files.pythonhosted.org/packages/2c/b4/d3d842e88610fcd4c8eec7067b0c23ef2d7d3bff31496eded6a83b0f99be/librt-0.9.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:07cf11f769831186eeac424376e6189f20ace4f7263e2134bdb9757340d84d4d", size = 248616, upload-time = "2026-04-09T16:05:29.181Z" }, + { url = "https://files.pythonhosted.org/packages/ec/28/527df8ad0d1eb6c8bdfa82fc190f1f7c4cca5a1b6d7b36aeabf95b52d74d/librt-0.9.0-cp313-cp313-win32.whl", hash = "sha256:850d6d03177e52700af605fd60db7f37dcb89782049a149674d1a9649c2138fd", size = 56039, upload-time = "2026-04-09T16:05:30.709Z" }, + { url = "https://files.pythonhosted.org/packages/f3/a7/413652ad0d92273ee5e30c000fc494b361171177c83e57c060ecd3c21538/librt-0.9.0-cp313-cp313-win_amd64.whl", hash = "sha256:a5af136bfba820d592f86c67affcef9b3ff4d4360ac3255e341e964489b48519", size = 63264, upload-time = "2026-04-09T16:05:31.881Z" }, + { url = "https://files.pythonhosted.org/packages/a4/0a/92c244309b774e290ddb15e93363846ae7aa753d9586b8aad511c5e6145b/librt-0.9.0-cp313-cp313-win_arm64.whl", hash = "sha256:4c4d0440a3a8e31d962340c3e1cc3fc9ee7febd34c8d8f770d06adb947779ea5", size = 53728, upload-time = "2026-04-09T16:05:33.31Z" }, + { url = "https://files.pythonhosted.org/packages/cd/c1/184e539543f06ea2912f4b92a5ffaede4f9b392689e3f00acbf8134bee92/librt-0.9.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:3f05d145df35dca5056a8bc3838e940efebd893a54b3e19b2dda39ceaa299bcb", size = 67830, upload-time = "2026-04-09T16:05:34.517Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ad/23399bdcb7afca819acacdef31b37ee59de261bd66b503a7995c03c4b0dc/librt-0.9.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1c587494461ebd42229d0f1739f3aa34237dd9980623ecf1be8d3bcba79f4499", size = 70280, upload-time = "2026-04-09T16:05:35.649Z" }, + { url = "https://files.pythonhosted.org/packages/9f/0b/4542dc5a2b8772dbf92cafb9194701230157e73c14b017b6961a23598b03/librt-0.9.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:b0a2040f801406b93657a70b72fa12311063a319fee72ce98e1524da7200171f", size = 201925, upload-time = "2026-04-09T16:05:36.739Z" }, + { url = "https://files.pythonhosted.org/packages/31/d4/8ee7358b08fd0cfce051ef96695380f09b3c2c11b77c9bfbc367c921cce5/librt-0.9.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f38bc489037eca88d6ebefc9c4d41a4e07c8e8b4de5188a9e6d290273ad7ebb1", size = 212381, upload-time = "2026-04-09T16:05:38.043Z" }, + { url = "https://files.pythonhosted.org/packages/f2/94/a2025fe442abedf8b038038dab3dba942009ad42b38ea064a1a9e6094241/librt-0.9.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3fd278f5e6bf7c75ccd6d12344eb686cc020712683363b66f46ac79d37c799f", size = 227065, upload-time = "2026-04-09T16:05:39.394Z" }, + { url = "https://files.pythonhosted.org/packages/7c/e9/b9fcf6afa909f957cfbbf918802f9dada1bd5d3c1da43d722fd6a310dc3f/librt-0.9.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fcbdf2a9ca24e87bbebb47f1fe34e531ef06f104f98c9ccfc953a3f3344c567a", size = 221333, upload-time = "2026-04-09T16:05:40.999Z" }, + { url = "https://files.pythonhosted.org/packages/ac/7c/ba54cd6aa6a3c8cd12757a6870e0c79a64b1e6327f5248dcff98423f4d43/librt-0.9.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e306d956cfa027fe041585f02a1602c32bfa6bb8ebea4899d373383295a6c62f", size = 229051, upload-time = "2026-04-09T16:05:42.605Z" }, + { url = "https://files.pythonhosted.org/packages/4b/4b/8cfdbad314c8677a0148bf0b70591d6d18587f9884d930276098a235461b/librt-0.9.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:465814ab157986acb9dfa5ccd7df944be5eefc0d08d31ec6e8d88bc71251d845", size = 222492, upload-time = "2026-04-09T16:05:43.842Z" }, + { url = "https://files.pythonhosted.org/packages/1f/d1/2eda69563a1a88706808decdce035e4b32755dbfbb0d05e1a65db9547ed1/librt-0.9.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:703f4ae36d6240bfe24f542bac784c7e4194ec49c3ba5a994d02891649e2d85b", size = 223849, upload-time = "2026-04-09T16:05:45.054Z" }, + { url = "https://files.pythonhosted.org/packages/04/44/b2ed37df6be5b3d42cfe36318e0598e80843d5c6308dd63d0bf4e0ce5028/librt-0.9.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:3be322a15ee5e70b93b7a59cfd074614f22cc8c9ff18bd27f474e79137ea8d3b", size = 245001, upload-time = "2026-04-09T16:05:46.34Z" }, + { url = "https://files.pythonhosted.org/packages/47/e7/617e412426df89169dd2a9ed0cc8752d5763336252c65dbf945199915119/librt-0.9.0-cp314-cp314-win32.whl", hash = "sha256:b8da9f8035bb417770b1e1610526d87ad4fc58a2804dc4d79c53f6d2cf5a6eb9", size = 51799, upload-time = "2026-04-09T16:05:47.738Z" }, + { url = "https://files.pythonhosted.org/packages/24/ed/c22ca4db0ca3cbc285e4d9206108746beda561a9792289c3c31281d7e9df/librt-0.9.0-cp314-cp314-win_amd64.whl", hash = "sha256:b8bd70d5d816566a580d193326912f4a76ec2d28a97dc4cd4cc831c0af8e330e", size = 59165, upload-time = "2026-04-09T16:05:49.198Z" }, + { url = "https://files.pythonhosted.org/packages/24/56/875398fafa4cbc8f15b89366fc3287304ddd3314d861f182a4b87595ace0/librt-0.9.0-cp314-cp314-win_arm64.whl", hash = "sha256:fc5758e2b7a56532dc33e3c544d78cbaa9ecf0a0f2a2da2df882c1d6b99a317f", size = 49292, upload-time = "2026-04-09T16:05:50.362Z" }, + { url = "https://files.pythonhosted.org/packages/4c/61/bc448ecbf9b2d69c5cff88fe41496b19ab2a1cbda0065e47d4d0d51c0867/librt-0.9.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:f24b90b0e0c8cc9491fb1693ae91fe17cb7963153a1946395acdbdd5818429a4", size = 70175, upload-time = "2026-04-09T16:05:51.564Z" }, + { url = "https://files.pythonhosted.org/packages/60/f2/c47bb71069a73e2f04e70acbd196c1e5cc411578ac99039a224b98920fd4/librt-0.9.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:3fe56e80badb66fdcde06bef81bbaa5bfcf6fbd7aefb86222d9e369c38c6b228", size = 72951, upload-time = "2026-04-09T16:05:52.699Z" }, + { url = "https://files.pythonhosted.org/packages/29/19/0549df59060631732df758e8886d92088da5fdbedb35b80e4643664e8412/librt-0.9.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:527b5b820b47a09e09829051452bb0d1dd2122261254e2a6f674d12f1d793d54", size = 225864, upload-time = "2026-04-09T16:05:53.895Z" }, + { url = "https://files.pythonhosted.org/packages/9d/f8/3b144396d302ac08e50f89e64452c38db84bc7b23f6c60479c5d3abd303c/librt-0.9.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7d429bdd4ac0ab17c8e4a8af0ed2a7440b16eba474909ab357131018fe8c7e71", size = 241155, upload-time = "2026-04-09T16:05:55.191Z" }, + { url = "https://files.pythonhosted.org/packages/7a/ce/ee67ec14581de4043e61d05786d2aed6c9b5338816b7859bcf07455c6a9f/librt-0.9.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7202bdcac47d3a708271c4304a474a8605a4a9a4a709e954bf2d3241140aa938", size = 252235, upload-time = "2026-04-09T16:05:56.549Z" }, + { url = "https://files.pythonhosted.org/packages/8a/fa/0ead15daa2b293a54101550b08d4bafe387b7d4a9fc6d2b985602bae69b6/librt-0.9.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c0d620e74897f8c2613b3c4e2e9c1e422eb46d2ddd07df540784d44117836af3", size = 244963, upload-time = "2026-04-09T16:05:57.858Z" }, + { url = "https://files.pythonhosted.org/packages/29/68/9fbf9a9aa704ba87689e40017e720aced8d9a4d2b46b82451d8142f91ec9/librt-0.9.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d69fc39e627908f4c03297d5a88d9284b73f4d90b424461e32e8c2485e21c283", size = 257364, upload-time = "2026-04-09T16:05:59.686Z" }, + { url = "https://files.pythonhosted.org/packages/1a/8d/9d60869f1b6716c762e45f66ed945b1e5dd649f7377684c3b176ae424648/librt-0.9.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:c2640e23d2b7c98796f123ffd95cf2022c7777aa8a4a3b98b36c570d37e85eee", size = 247661, upload-time = "2026-04-09T16:06:00.938Z" }, + { url = "https://files.pythonhosted.org/packages/70/ff/a5c365093962310bfdb4f6af256f191085078ffb529b3f0cbebb5b33ebe2/librt-0.9.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:451daa98463b7695b0a30aa56bf637831ea559e7b8101ac2ef6382e8eb15e29c", size = 248238, upload-time = "2026-04-09T16:06:02.537Z" }, + { url = "https://files.pythonhosted.org/packages/a0/3c/2d34365177f412c9e19c0a29f969d70f5343f27634b76b765a54d8b27705/librt-0.9.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:928bd06eca2c2bbf4349e5b817f837509b0604342e65a502de1d50a7570afd15", size = 269457, upload-time = "2026-04-09T16:06:03.833Z" }, + { url = "https://files.pythonhosted.org/packages/bc/cd/de45b239ea3bdf626f982a00c14bfcf2e12d261c510ba7db62c5969a27cd/librt-0.9.0-cp314-cp314t-win32.whl", hash = "sha256:a9c63e04d003bc0fb6a03b348018b9a3002f98268200e22cc80f146beac5dc40", size = 52453, upload-time = "2026-04-09T16:06:05.229Z" }, + { url = "https://files.pythonhosted.org/packages/7f/f9/bfb32ae428aa75c0c533915622176f0a17d6da7b72b5a3c6363685914f70/librt-0.9.0-cp314-cp314t-win_amd64.whl", hash = "sha256:f162af66a2ed3f7d1d161a82ca584efd15acd9c1cff190a373458c32f7d42118", size = 60044, upload-time = "2026-04-09T16:06:06.398Z" }, + { url = "https://files.pythonhosted.org/packages/aa/47/7d70414bcdbb3bc1f458a8d10558f00bbfdb24e5a11740fc8197e12c3255/librt-0.9.0-cp314-cp314t-win_arm64.whl", hash = "sha256:a4b25c6c25cac5d0d9d6d6da855195b254e0021e513e0249f0e3b444dc6e0e61", size = 50009, upload-time = "2026-04-09T16:06:07.995Z" }, +] + +[[package]] +name = "mypy" +version = "1.20.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { 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/0b/3d/5b373635b3146264eb7a68d09e5ca11c305bbb058dfffbb47c47daf4f632/mypy-1.20.1.tar.gz", hash = "sha256:6fc3f4ecd52de81648fed1945498bf42fa2993ddfad67c9056df36ae5757f804", size = 3815892, upload-time = "2026-04-13T02:46:51.474Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/21/4b/b1fa23297c8a5c403aabaac0649549efc5a0af7095f3dd33e7482863f973/mypy-1.20.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:3ba5d1e712ada9c3b6223dcbc5a31dac334ed62991e5caa17bcf5a4ddc349af0", size = 14426426, upload-time = "2026-04-13T02:46:37.828Z" }, + { url = "https://files.pythonhosted.org/packages/22/53/82923480aee5507a46df22428316e28b2b710d08506a128b2acef81ab18e/mypy-1.20.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2e731284c117b0987fb1e6c5013a56f33e7faa1fce594066ab83876183ce1c66", size = 13307651, upload-time = "2026-04-13T02:46:22.676Z" }, + { url = "https://files.pythonhosted.org/packages/4e/0c/91905b393c790440fa273f0903ee2b07cce95bb6deccac87e6eb343d077a/mypy-1.20.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f8e945b872a05f4fbefabe2249c0b07b6b194e5e11a86ebee9edf855de09806c", size = 13746066, upload-time = "2026-04-13T02:45:15.345Z" }, + { url = "https://files.pythonhosted.org/packages/88/b9/8a7017270438e34544e19dd6284cad54fd65dde3c35418a2ce07a1897804/mypy-1.20.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2fc88acef0dc9b15246502b418980478c1bfc9702057a0e1e7598d01a7af8937", size = 14617944, upload-time = "2026-04-13T02:45:44.954Z" }, + { url = "https://files.pythonhosted.org/packages/0c/cf/5a61ceec3fc133e0f559d1e1f9adf4150abdbc2ad8eb831ec26fc8459196/mypy-1.20.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:14911a115c73608f155f648b978c5055d16ff974e6b1b5512d7fedf4fa8b15c6", size = 14918205, upload-time = "2026-04-13T02:45:42.653Z" }, + { url = "https://files.pythonhosted.org/packages/6f/80/afb1c665e9c426c78e4711cce04e446b645867bfb97936158886103c1648/mypy-1.20.1-cp310-cp310-win_amd64.whl", hash = "sha256:76d9b4c992cca3331d9793ef197ae360ea44953cf35beb2526e95b9e074f2866", size = 10823344, upload-time = "2026-04-13T02:46:07.607Z" }, + { url = "https://files.pythonhosted.org/packages/11/68/7ad64b49b7663c88fef76a2ac689ea73e17804832ac4cb5416bcff17775b/mypy-1.20.1-cp310-cp310-win_arm64.whl", hash = "sha256:b408722f80be44845da555671a5ef3a0c63f51ca5752b0c20e992dc9c0fbd3cd", size = 9760694, upload-time = "2026-04-13T02:46:49.369Z" }, + { url = "https://files.pythonhosted.org/packages/82/0d/555ab7453cc4a4a8643b7f21c842b1a84c36b15392061ae7b052ee119320/mypy-1.20.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c01eb9bac2c6a962d00f9d23421cd2913840e65bba365167d057bd0b4171a92e", size = 14336012, upload-time = "2026-04-13T02:45:39.935Z" }, + { url = "https://files.pythonhosted.org/packages/57/26/85a28893f7db8a16ebb41d1e9dfcb4475844d06a88480b6639e32a74d6ef/mypy-1.20.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:55d12ddbd8a9cac5b276878bd534fa39fff5bf543dc6ae18f25d30c8d7d27fca", size = 13224636, upload-time = "2026-04-13T02:45:49.659Z" }, + { url = "https://files.pythonhosted.org/packages/93/41/bd4cd3c2caeb6c448b669222b8cfcbdee4a03b89431527b56fca9e56b6f3/mypy-1.20.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c0aa322c1468b6cdfc927a44ce130f79bb44bcd34eb4a009eb9f96571fd80955", size = 13663471, upload-time = "2026-04-13T02:46:20.276Z" }, + { url = "https://files.pythonhosted.org/packages/3e/56/7ee8c471e10402d64b6517ae10434541baca053cffd81090e4097d5609d4/mypy-1.20.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3f8bc95899cf676b6e2285779a08a998cc3a7b26f1026752df9d2741df3c79e8", size = 14532344, upload-time = "2026-04-13T02:46:44.205Z" }, + { url = "https://files.pythonhosted.org/packages/b5/95/b37d1fa859a433f6156742e12f62b0bb75af658544fb6dada9363918743a/mypy-1.20.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:47c2b90191a870a04041e910277494b0d92f0711be9e524d45c074fe60c00b65", size = 14776670, upload-time = "2026-04-13T02:45:52.481Z" }, + { url = "https://files.pythonhosted.org/packages/03/77/b302e4cb0b80d2bdf6bf4fce5864bb4cbfa461f7099cea544eaf2457df78/mypy-1.20.1-cp311-cp311-win_amd64.whl", hash = "sha256:9857dc8d2ec1a392ffbda518075beb00ac58859979c79f9e6bdcb7277082c2f2", size = 10816524, upload-time = "2026-04-13T02:45:37.711Z" }, + { url = "https://files.pythonhosted.org/packages/7f/21/d969d7a68eb964993ebcc6170d5ecaf0cf65830c58ac3344562e16dc42a9/mypy-1.20.1-cp311-cp311-win_arm64.whl", hash = "sha256:09d8df92bb25b6065ab91b178da843dda67b33eb819321679a6e98a907ce0e10", size = 9750419, upload-time = "2026-04-13T02:45:08.542Z" }, + { url = "https://files.pythonhosted.org/packages/69/1b/75a7c825a02781ca10bc2f2f12fba2af5202f6d6005aad8d2d1f264d8d78/mypy-1.20.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:36ee2b9c6599c230fea89bbd79f401f9f9f8e9fcf0c777827789b19b7da90f51", size = 14494077, upload-time = "2026-04-13T02:45:55.085Z" }, + { url = "https://files.pythonhosted.org/packages/b0/54/5e5a569ea5c2b4d48b729fb32aa936eeb4246e4fc3e6f5b3d36a2dfbefb9/mypy-1.20.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fba3fb0968a7b48806b0c90f38d39296f10766885a94c83bd21399de1e14eb28", size = 13319495, upload-time = "2026-04-13T02:45:29.674Z" }, + { url = "https://files.pythonhosted.org/packages/6f/a4/a1945b19f33e91721b59deee3abb484f2fa5922adc33bb166daf5325d76d/mypy-1.20.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ef1415a637cd3627d6304dfbeddbadd21079dafc2a8a753c477ce4fc0c2af54f", size = 13696948, upload-time = "2026-04-13T02:46:15.006Z" }, + { url = "https://files.pythonhosted.org/packages/b2/c6/75e969781c2359b2f9c15b061f28ec6d67c8b61865ceda176e85c8e7f2de/mypy-1.20.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ef3461b1ad5cd446e540016e90b5984657edda39f982f4cc45ca317b628f5a37", size = 14706744, upload-time = "2026-04-13T02:46:00.482Z" }, + { url = "https://files.pythonhosted.org/packages/a8/6e/b221b1de981fc4262fe3e0bf9ec272d292dfe42394a689c2d49765c144c4/mypy-1.20.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:542dd63c9e1339b6092eb25bd515f3a32a1453aee8c9521d2ddb17dacd840237", size = 14949035, upload-time = "2026-04-13T02:45:06.021Z" }, + { url = "https://files.pythonhosted.org/packages/ca/4b/298ba2de0aafc0da3ff2288da06884aae7ba6489bc247c933f87847c41b3/mypy-1.20.1-cp312-cp312-win_amd64.whl", hash = "sha256:1d55c7cd8ca22e31f93af2a01160a9e95465b5878de23dba7e48116052f20a8d", size = 10883216, upload-time = "2026-04-13T02:45:47.232Z" }, + { url = "https://files.pythonhosted.org/packages/c7/f9/5e25b8f0b8cb92f080bfed9c21d3279b2a0b6a601cdca369a039ba84789d/mypy-1.20.1-cp312-cp312-win_arm64.whl", hash = "sha256:f5b84a79070586e0d353ee07b719d9d0a4aa7c8ee90c0ea97747e98cbe193019", size = 9814299, upload-time = "2026-04-13T02:45:21.934Z" }, + { url = "https://files.pythonhosted.org/packages/21/e8/ef0991aa24c8f225df10b034f3c2681213cb54cf247623c6dec9a5744e70/mypy-1.20.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8f3886c03e40afefd327bd70b3f634b39ea82e87f314edaa4d0cce4b927ddcc1", size = 14500739, upload-time = "2026-04-13T02:46:05.442Z" }, + { url = "https://files.pythonhosted.org/packages/23/73/416ebec3047636ed89fa871dc8c54bf05e9e20aa9499da59790d7adb312d/mypy-1.20.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e860eb3904f9764e83bafd70c8250bdffdc7dde6b82f486e8156348bf7ceb184", size = 13314735, upload-time = "2026-04-13T02:46:47.154Z" }, + { url = "https://files.pythonhosted.org/packages/10/1e/1505022d9c9ac2e014a384eb17638fb37bf8e9d0a833ea60605b66f8f7ba/mypy-1.20.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a4b5aac6e785719da51a84f5d09e9e843d473170a9045b1ea7ea1af86225df4b", size = 13704356, upload-time = "2026-04-13T02:45:19.773Z" }, + { url = "https://files.pythonhosted.org/packages/98/91/275b01f5eba5c467a3318ec214dd865abb66e9c811231c8587287b92876a/mypy-1.20.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f37b6cd0fe2ad3a20f05ace48ca3523fc52ff86940e34937b439613b6854472e", size = 14696420, upload-time = "2026-04-13T02:45:24.205Z" }, + { url = "https://files.pythonhosted.org/packages/a1/57/b3779e134e1b7250d05f874252780d0a88c068bc054bcff99ca20a3a2986/mypy-1.20.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e4bbb0f6b54ce7cc350ef4a770650d15fa70edd99ad5267e227133eda9c94218", size = 14936093, upload-time = "2026-04-13T02:45:32.087Z" }, + { url = "https://files.pythonhosted.org/packages/be/33/81b64991b0f3f278c3b55c335888794af190b2d59031a5ad1401bcb69f1e/mypy-1.20.1-cp313-cp313-win_amd64.whl", hash = "sha256:c3dc20f8ec76eecd77148cdd2f1542ed496e51e185713bf488a414f862deb8f2", size = 10889659, upload-time = "2026-04-13T02:46:02.926Z" }, + { url = "https://files.pythonhosted.org/packages/1b/fd/7adcb8053572edf5ef8f3db59599dfeeee3be9cc4c8c97e2d28f66f42ac5/mypy-1.20.1-cp313-cp313-win_arm64.whl", hash = "sha256:a9d62bbac5d6d46718e2b0330b25e6264463ed832722b8f7d4440ff1be3ca895", size = 9815515, upload-time = "2026-04-13T02:46:32.103Z" }, + { url = "https://files.pythonhosted.org/packages/40/cd/db831e84c81d57d4886d99feee14e372f64bbec6a9cb1a88a19e243f2ef5/mypy-1.20.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:12927b9c0ed794daedcf1dab055b6c613d9d5659ac511e8d936d96f19c087d12", size = 14483064, upload-time = "2026-04-13T02:45:26.901Z" }, + { url = "https://files.pythonhosted.org/packages/d5/82/74e62e7097fa67da328ac8ece8de09133448c04d20ddeaeba251a3000f01/mypy-1.20.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:752507dd481e958b2c08fc966d3806c962af5a9433b5bf8f3bdd7175c20e34fe", size = 13335694, upload-time = "2026-04-13T02:46:12.514Z" }, + { url = "https://files.pythonhosted.org/packages/74/c4/97e9a0abe4f3cdbbf4d079cb87a03b786efeccf5bf2b89fe4f96939ab2e6/mypy-1.20.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c614655b5a065e56274c6cbbe405f7cf7e96c0654db7ba39bc680238837f7b08", size = 13726365, upload-time = "2026-04-13T02:45:17.422Z" }, + { url = "https://files.pythonhosted.org/packages/d7/aa/a19d884a8d28fcd3c065776323029f204dbc774e70ec9c85eba228b680de/mypy-1.20.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2c3f6221a76f34d5100c6d35b3ef6b947054123c3f8d6938a4ba00b1308aa572", size = 14693472, upload-time = "2026-04-13T02:46:41.253Z" }, + { url = "https://files.pythonhosted.org/packages/84/44/cc9324bd21cf786592b44bf3b5d224b3923c1230ec9898d508d00241d465/mypy-1.20.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:4bdfc06303ac06500af71ea0cdbe995c502b3c9ba32f3f8313523c137a25d1b6", size = 14919266, upload-time = "2026-04-13T02:46:28.37Z" }, + { url = "https://files.pythonhosted.org/packages/6e/dc/779abb25a8c63e8f44bf5a336217fa92790fa17e0c40e0c725d10cb01bbd/mypy-1.20.1-cp314-cp314-win_amd64.whl", hash = "sha256:0131edd7eba289973d1ba1003d1a37c426b85cdef76650cd02da6420898a5eb3", size = 11049713, upload-time = "2026-04-13T02:45:57.673Z" }, + { url = "https://files.pythonhosted.org/packages/28/08/4172be2ad7de9119b5a92ca36abbf641afdc5cb1ef4ae0c3a8182f29674f/mypy-1.20.1-cp314-cp314-win_arm64.whl", hash = "sha256:33f02904feb2c07e1fdf7909026206396c9deeb9e6f34d466b4cfedb0aadbbe4", size = 9999819, upload-time = "2026-04-13T02:46:35.039Z" }, + { url = "https://files.pythonhosted.org/packages/2d/af/af9e46b0c8eabbce9fc04a477564170f47a1c22b308822282a59b7ff315f/mypy-1.20.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:168472149dd8cc505c98cefd21ad77e4257ed6022cd5ed2fe2999bed56977a5a", size = 15547508, upload-time = "2026-04-13T02:46:25.588Z" }, + { url = "https://files.pythonhosted.org/packages/a7/cd/39c9e4ad6ba33e069e5837d772a9e6c304b4a5452a14a975d52b36444650/mypy-1.20.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:eb674600309a8f22790cca883a97c90299f948183ebb210fbef6bcee07cb1986", size = 14399557, upload-time = "2026-04-13T02:46:10.021Z" }, + { url = "https://files.pythonhosted.org/packages/83/c1/3fd71bdc118ffc502bf57559c909927bb7e011f327f7bb8e0488e98a5870/mypy-1.20.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ef2b2e4cc464ba9795459f2586923abd58a0055487cbe558cb538ea6e6bc142a", size = 15045789, upload-time = "2026-04-13T02:45:10.81Z" }, + { url = "https://files.pythonhosted.org/packages/8e/73/6f07ff8b57a7d7b3e6e5bf34685d17632382395c8bb53364ec331661f83e/mypy-1.20.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dee461d396dd46b3f0ed5a098dbc9b8860c81c46ad44fa071afcfbc149f167c9", size = 15850795, upload-time = "2026-04-13T02:45:03.349Z" }, + { url = "https://files.pythonhosted.org/packages/ec/e2/f7dffec1c7767078f9e9adf0c786d1fe0ff30964a77eb213c09b8b58cb76/mypy-1.20.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e364926308b3e66f1361f81a566fc1b2f8cd47fc8525e8136d4058a65a4b4f02", size = 16088539, upload-time = "2026-04-13T02:46:17.841Z" }, + { url = "https://files.pythonhosted.org/packages/1a/76/e0dee71035316e75a69d73aec2f03c39c21c967b97e277fd0ef8fd6aec66/mypy-1.20.1-cp314-cp314t-win_amd64.whl", hash = "sha256:a0c17fbd746d38c70cbc42647cfd884f845a9708a4b160a8b4f7e70d41f4d7fa", size = 12575567, upload-time = "2026-04-13T02:45:34.795Z" }, + { url = "https://files.pythonhosted.org/packages/22/a8/7ed43c9d9c3d1468f86605e323a5d97e411a448790a00f07e779f3211a46/mypy-1.20.1-cp314-cp314t-win_arm64.whl", hash = "sha256:db2cb89654626a912efda69c0d5c1d22d948265e2069010d3dde3abf751c7d08", size = 10378823, upload-time = "2026-04-13T02:45:13.35Z" }, + { url = "https://files.pythonhosted.org/packages/d8/28/926bd972388e65a39ee98e188ccf67e81beb3aacfd5d6b310051772d974b/mypy-1.20.1-py3-none-any.whl", hash = "sha256:1aae28507f253fe82d883790d1c0a0d35798a810117c88184097fe8881052f06", size = 2636553, upload-time = "2026-04-13T02:46:30.45Z" }, +] + +[[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 = "nexus-rpc" +version = "1.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/35/d5/cd1ffb202b76ebc1b33c1332a3416e55a39929006982adc2b1eb069aaa9b/nexus_rpc-1.4.0.tar.gz", hash = "sha256:3b8b373d4865671789cc43623e3dc0bcbf192562e40e13727e17f1c149050fba", size = 82367, upload-time = "2026-02-25T22:01:34.053Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/11/52/6327a5f4fda01207205038a106a99848a41c83e933cd23ea2cab3d2ebc6c/nexus_rpc-1.4.0-py3-none-any.whl", hash = "sha256:14c953d3519113f8ccec533a9efdb6b10c28afef75d11cdd6d422640c40b3a49", size = 29645, upload-time = "2026-02-25T22:01:33.122Z" }, +] + +[[package]] +name = "opentelemetry-api" +version = "1.41.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "importlib-metadata" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/47/8e/3778a7e87801d994869a9396b9fc2a289e5f9be91ff54a27d41eace494b0/opentelemetry_api-1.41.0.tar.gz", hash = "sha256:9421d911326ec12dee8bc933f7839090cad7a3f13fcfb0f9e82f8174dc003c09", size = 71416, upload-time = "2026-04-09T14:38:34.544Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/58/ee/99ab786653b3bda9c37ade7e24a7b607a1b1f696063172768417539d876d/opentelemetry_api-1.41.0-py3-none-any.whl", hash = "sha256:0e77c806e6a89c9e4f8d372034622f3e1418a11bdbe1c80a50b3d3397ad0fa4f", size = 69007, upload-time = "2026-04-09T14:38:11.833Z" }, +] + +[[package]] +name = "opentelemetry-exporter-otlp-proto-common" +version = "1.41.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-proto" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/8c/28/e8eca94966fe9a1465f6094dc5ddc5398473682180279c94020bc23b4906/opentelemetry_exporter_otlp_proto_common-1.41.0.tar.gz", hash = "sha256:966bbce537e9edb166154779a7c4f8ab6b8654a03a28024aeaf1a3eacb07d6ee", size = 20411, upload-time = "2026-04-09T14:38:36.572Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/26/c4/78b9bf2d9c1d5e494f44932988d9d91c51a66b9a7b48adf99b62f7c65318/opentelemetry_exporter_otlp_proto_common-1.41.0-py3-none-any.whl", hash = "sha256:7a99177bf61f85f4f9ed2072f54d676364719c066f6d11f515acc6c745c7acf0", size = 18366, upload-time = "2026-04-09T14:38:15.135Z" }, +] + +[[package]] +name = "opentelemetry-exporter-otlp-proto-grpc" +version = "1.41.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "googleapis-common-protos" }, + { name = "grpcio" }, + { name = "opentelemetry-api" }, + { name = "opentelemetry-exporter-otlp-proto-common" }, + { name = "opentelemetry-proto" }, + { name = "opentelemetry-sdk" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/42/46/d75a3f8c91915f2e58f61d0a2e4ada63891e7c7a37a20ff7949ba184a6b2/opentelemetry_exporter_otlp_proto_grpc-1.41.0.tar.gz", hash = "sha256:f704201251c6f65772b11bddea1c948000554459101bdbb0116e0a01b70592f6", size = 25754, upload-time = "2026-04-09T14:38:37.423Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/81/f6/b09e2e0c9f0b5750cebc6eaf31527b910821453cef40a5a0fe93550422b2/opentelemetry_exporter_otlp_proto_grpc-1.41.0-py3-none-any.whl", hash = "sha256:3a1a86bd24806ccf136ec9737dbfa4c09b069f9130ff66b0acb014f9c5255fd1", size = 20299, upload-time = "2026-04-09T14:38:17.01Z" }, +] + +[[package]] +name = "opentelemetry-proto" +version = "1.41.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e0/d9/08e3dc6156878713e8c811682bc76151f5fe1a3cb7f3abda3966fd56e71e/opentelemetry_proto-1.41.0.tar.gz", hash = "sha256:95d2e576f9fb1800473a3e4cfcca054295d06bdb869fda4dc9f4f779dc68f7b6", size = 45669, upload-time = "2026-04-09T14:38:45.978Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/49/8c/65ef7a9383a363864772022e822b5d5c6988e6f9dabeebb9278f5b86ebc3/opentelemetry_proto-1.41.0-py3-none-any.whl", hash = "sha256:b970ab537309f9eed296be482c3e7cca05d8aca8165346e929f658dbe153b247", size = 72074, upload-time = "2026-04-09T14:38:29.38Z" }, +] + +[[package]] +name = "opentelemetry-sdk" +version = "1.41.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-semantic-conventions" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f8/0e/a586df1186f9f56b5a0879d52653effc40357b8e88fc50fe300038c3c08b/opentelemetry_sdk-1.41.0.tar.gz", hash = "sha256:7bddf3961131b318fc2d158947971a8e37e38b1cd23470cfb72b624e7cc108bd", size = 230181, upload-time = "2026-04-09T14:38:47.225Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2c/13/a7825118208cb32e6a4edcd0a99f925cbef81e77b3b0aedfd9125583c543/opentelemetry_sdk-1.41.0-py3-none-any.whl", hash = "sha256:a596f5687964a3e0d7f8edfdcf5b79cbca9c93c7025ebf5fb00f398a9443b0bd", size = 180214, upload-time = "2026-04-09T14:38:30.657Z" }, +] + +[[package]] +name = "opentelemetry-sdk-extension-aws" +version = "2.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-sdk" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f5/b3/825c93fe4c238845f1356297abea33d03b2adaafb5ae98fc257b394de124/opentelemetry_sdk_extension_aws-2.1.0.tar.gz", hash = "sha256:ff68ddecc1910f62c019d22ec0f7461713ead7f662d6a2304d4089c1a0b20416", size = 16334, upload-time = "2024-12-24T15:01:57.387Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/02/61/47a6a43b7935d54b5734fbf3fb0357dd5a7d0dfaa9677b7318518fe8d507/opentelemetry_sdk_extension_aws-2.1.0-py3-none-any.whl", hash = "sha256:c7cf6efc275d2c24108a468d954287ce5aab9733bac816a080cfb3117374e63a", size = 18776, upload-time = "2024-12-24T15:01:56.053Z" }, +] + +[[package]] +name = "opentelemetry-semantic-conventions" +version = "0.62b0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a3/b0/c14f723e86c049b7bf8ff431160d982519b97a7be2857ed2247377397a24/opentelemetry_semantic_conventions-0.62b0.tar.gz", hash = "sha256:cbfb3c8fc259575cf68a6e1b94083cc35adc4a6b06e8cf431efa0d62606c0097", size = 145753, upload-time = "2026-04-09T14:38:48.274Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/58/6c/5e86fa1759a525ef91c2d8b79d668574760ff3f900d114297765eb8786cb/opentelemetry_semantic_conventions-0.62b0-py3-none-any.whl", hash = "sha256:0ddac1ce59eaf1a827d9987ab60d9315fb27aea23304144242d1fcad9e16b489", size = 231619, upload-time = "2026-04-09T14:38:32.394Z" }, +] + +[[package]] +name = "pastel" +version = "0.2.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/76/f1/4594f5e0fcddb6953e5b8fe00da8c317b8b41b547e2b3ae2da7512943c62/pastel-0.2.1.tar.gz", hash = "sha256:e6581ac04e973cac858828c6202c1e1e81fee1dc7de7683f3e1ffe0bfd8a573d", size = 7555, upload-time = "2020-09-16T19:21:12.43Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/aa/18/a8444036c6dd65ba3624c63b734d3ba95ba63ace513078e1580590075d21/pastel-0.2.1-py2.py3-none-any.whl", hash = "sha256:4349225fcdf6c2bb34d483e523475de5bb04a5c10ef711263452cb37d7dd4364", size = 5955, upload-time = "2020-09-16T19:21:11.409Z" }, +] + +[[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 = "poethepoet" +version = "0.44.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pastel" }, + { name = "pyyaml" }, + { name = "tomli", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a1/a4/e487662f12a5ecd2ac4d77f7697e4bda481953bb80032b158e5ab55173d4/poethepoet-0.44.0.tar.gz", hash = "sha256:c2667b513621788fb46482e371cdf81c0b04344e0e0bcb7aa8af45f84c2fce7b", size = 96040, upload-time = "2026-04-06T19:40:58.908Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/80/b7/503b7d3a51b0de9a329f1323048d166e309a97bb31bdc60e6acd11d2c71f/poethepoet-0.44.0-py3-none-any.whl", hash = "sha256:36d3d834708ed069ac1e4f8ed77915c55265b7b6e01aeb2fe617c9fe9cfd524a", size = 122873, upload-time = "2026-04-06T19:40:57.369Z" }, +] + +[[package]] +name = "protobuf" +version = "6.33.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/66/70/e908e9c5e52ef7c3a6c7902c9dfbb34c7e29c25d2f81ade3856445fd5c94/protobuf-6.33.6.tar.gz", hash = "sha256:a6768d25248312c297558af96a9f9c929e8c4cee0659cb07e780731095f38135", size = 444531, upload-time = "2026-03-18T19:05:00.988Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fc/9f/2f509339e89cfa6f6a4c4ff50438db9ca488dec341f7e454adad60150b00/protobuf-6.33.6-cp310-abi3-win32.whl", hash = "sha256:7d29d9b65f8afef196f8334e80d6bc1d5d4adedb449971fefd3723824e6e77d3", size = 425739, upload-time = "2026-03-18T19:04:48.373Z" }, + { url = "https://files.pythonhosted.org/packages/76/5d/683efcd4798e0030c1bab27374fd13a89f7c2515fb1f3123efdfaa5eab57/protobuf-6.33.6-cp310-abi3-win_amd64.whl", hash = "sha256:0cd27b587afca21b7cfa59a74dcbd48a50f0a6400cfb59391340ad729d91d326", size = 437089, upload-time = "2026-03-18T19:04:50.381Z" }, + { url = "https://files.pythonhosted.org/packages/5c/01/a3c3ed5cd186f39e7880f8303cc51385a198a81469d53d0fdecf1f64d929/protobuf-6.33.6-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:9720e6961b251bde64edfdab7d500725a2af5280f3f4c87e57c0208376aa8c3a", size = 427737, upload-time = "2026-03-18T19:04:51.866Z" }, + { url = "https://files.pythonhosted.org/packages/ee/90/b3c01fdec7d2f627b3a6884243ba328c1217ed2d978def5c12dc50d328a3/protobuf-6.33.6-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:e2afbae9b8e1825e3529f88d514754e094278bb95eadc0e199751cdd9a2e82a2", size = 324610, upload-time = "2026-03-18T19:04:53.096Z" }, + { url = "https://files.pythonhosted.org/packages/9b/ca/25afc144934014700c52e05103c2421997482d561f3101ff352e1292fb81/protobuf-6.33.6-cp39-abi3-manylinux2014_s390x.whl", hash = "sha256:c96c37eec15086b79762ed265d59ab204dabc53056e3443e702d2681f4b39ce3", size = 339381, upload-time = "2026-03-18T19:04:54.616Z" }, + { url = "https://files.pythonhosted.org/packages/16/92/d1e32e3e0d894fe00b15ce28ad4944ab692713f2e7f0a99787405e43533a/protobuf-6.33.6-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:e9db7e292e0ab79dd108d7f1a94fe31601ce1ee3f7b79e0692043423020b0593", size = 323436, upload-time = "2026-03-18T19:04:55.768Z" }, + { url = "https://files.pythonhosted.org/packages/c4/72/02445137af02769918a93807b2b7890047c32bfb9f90371cbc12688819eb/protobuf-6.33.6-py3-none-any.whl", hash = "sha256:77179e006c476e69bf8e8ce866640091ec42e1beb80b213c3900006ecfba6901", size = 170656, upload-time = "2026-03-18T19:04:59.826Z" }, +] + +[[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 = "pyyaml" +version = "6.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/a0/39350dd17dd6d6c6507025c0e53aef67a9293a6d37d3511f23ea510d5800/pyyaml-6.0.3-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:214ed4befebe12df36bcc8bc2b64b396ca31be9304b8f59e25c11cf94a4c033b", size = 184227, upload-time = "2025-09-25T21:31:46.04Z" }, + { url = "https://files.pythonhosted.org/packages/05/14/52d505b5c59ce73244f59c7a50ecf47093ce4765f116cdb98286a71eeca2/pyyaml-6.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:02ea2dfa234451bbb8772601d7b8e426c2bfa197136796224e50e35a78777956", size = 174019, upload-time = "2025-09-25T21:31:47.706Z" }, + { url = "https://files.pythonhosted.org/packages/43/f7/0e6a5ae5599c838c696adb4e6330a59f463265bfa1e116cfd1fbb0abaaae/pyyaml-6.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b30236e45cf30d2b8e7b3e85881719e98507abed1011bf463a8fa23e9c3e98a8", size = 740646, upload-time = "2025-09-25T21:31:49.21Z" }, + { url = "https://files.pythonhosted.org/packages/2f/3a/61b9db1d28f00f8fd0ae760459a5c4bf1b941baf714e207b6eb0657d2578/pyyaml-6.0.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:66291b10affd76d76f54fad28e22e51719ef9ba22b29e1d7d03d6777a9174198", size = 840793, upload-time = "2025-09-25T21:31:50.735Z" }, + { url = "https://files.pythonhosted.org/packages/7a/1e/7acc4f0e74c4b3d9531e24739e0ab832a5edf40e64fbae1a9c01941cabd7/pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9c7708761fccb9397fe64bbc0395abcae8c4bf7b0eac081e12b809bf47700d0b", size = 770293, upload-time = "2025-09-25T21:31:51.828Z" }, + { url = "https://files.pythonhosted.org/packages/8b/ef/abd085f06853af0cd59fa5f913d61a8eab65d7639ff2a658d18a25d6a89d/pyyaml-6.0.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:418cf3f2111bc80e0933b2cd8cd04f286338bb88bdc7bc8e6dd775ebde60b5e0", size = 732872, upload-time = "2025-09-25T21:31:53.282Z" }, + { url = "https://files.pythonhosted.org/packages/1f/15/2bc9c8faf6450a8b3c9fc5448ed869c599c0a74ba2669772b1f3a0040180/pyyaml-6.0.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5e0b74767e5f8c593e8c9b5912019159ed0533c70051e9cce3e8b6aa699fcd69", size = 758828, upload-time = "2025-09-25T21:31:54.807Z" }, + { url = "https://files.pythonhosted.org/packages/a3/00/531e92e88c00f4333ce359e50c19b8d1de9fe8d581b1534e35ccfbc5f393/pyyaml-6.0.3-cp310-cp310-win32.whl", hash = "sha256:28c8d926f98f432f88adc23edf2e6d4921ac26fb084b028c733d01868d19007e", size = 142415, upload-time = "2025-09-25T21:31:55.885Z" }, + { url = "https://files.pythonhosted.org/packages/2a/fa/926c003379b19fca39dd4634818b00dec6c62d87faf628d1394e137354d4/pyyaml-6.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:bdb2c67c6c1390b63c6ff89f210c8fd09d9a1217a465701eac7316313c915e4c", size = 158561, upload-time = "2025-09-25T21:31:57.406Z" }, + { url = "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e", size = 185826, upload-time = "2025-09-25T21:31:58.655Z" }, + { url = "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824", size = 175577, upload-time = "2025-09-25T21:32:00.088Z" }, + { url = "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c", size = 775556, upload-time = "2025-09-25T21:32:01.31Z" }, + { url = "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00", size = 882114, upload-time = "2025-09-25T21:32:03.376Z" }, + { url = "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d", size = 806638, upload-time = "2025-09-25T21:32:04.553Z" }, + { url = "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a", size = 767463, upload-time = "2025-09-25T21:32:06.152Z" }, + { url = "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4", size = 794986, upload-time = "2025-09-25T21:32:07.367Z" }, + { url = "https://files.pythonhosted.org/packages/45/91/47a6e1c42d9ee337c4839208f30d9f09caa9f720ec7582917b264defc875/pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b", size = 142543, upload-time = "2025-09-25T21:32:08.95Z" }, + { url = "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf", size = 158763, upload-time = "2025-09-25T21:32:09.96Z" }, + { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" }, + { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" }, + { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" }, + { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" }, + { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" }, + { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" }, + { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" }, + { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" }, + { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" }, + { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" }, + { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" }, + { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" }, + { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" }, + { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" }, + { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" }, + { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" }, + { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" }, + { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" }, + { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" }, + { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" }, + { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" }, + { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" }, + { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" }, + { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" }, + { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" }, + { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" }, + { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" }, + { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" }, + { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" }, + { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" }, + { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" }, + { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" }, + { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" }, + { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" }, + { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" }, + { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" }, +] + +[[package]] +name = "ruff" +version = "0.5.7" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bf/2b/69e5e412f9d390adbdbcbf4f64d6914fa61b44b08839a6584655014fc524/ruff-0.5.7.tar.gz", hash = "sha256:8dfc0a458797f5d9fb622dd0efc52d796f23f0a1493a9527f4e49a550ae9a7e5", size = 2449817, upload-time = "2024-08-08T15:43:07.467Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6b/eb/06e06aaf96af30a68e83b357b037008c54a2ddcbad4f989535007c700394/ruff-0.5.7-py3-none-linux_armv6l.whl", hash = "sha256:548992d342fc404ee2e15a242cdbea4f8e39a52f2e7752d0e4cbe88d2d2f416a", size = 9570571, upload-time = "2024-08-08T15:41:56.537Z" }, + { url = "https://files.pythonhosted.org/packages/a4/10/1be32aeaab8728f78f673e7a47dd813222364479b2d6573dbcf0085e83ea/ruff-0.5.7-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:00cc8872331055ee017c4f1071a8a31ca0809ccc0657da1d154a1d2abac5c0be", size = 8685138, upload-time = "2024-08-08T15:42:02.833Z" }, + { url = "https://files.pythonhosted.org/packages/3d/1d/c218ce83beb4394ba04d05e9aa2ae6ce9fba8405688fe878b0fdb40ce855/ruff-0.5.7-py3-none-macosx_11_0_arm64.whl", hash = "sha256:eaf3d86a1fdac1aec8a3417a63587d93f906c678bb9ed0b796da7b59c1114a1e", size = 8266785, upload-time = "2024-08-08T15:42:08.321Z" }, + { url = "https://files.pythonhosted.org/packages/26/79/7f49509bd844476235b40425756def366b227a9714191c91f02fb2178635/ruff-0.5.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a01c34400097b06cf8a6e61b35d6d456d5bd1ae6961542de18ec81eaf33b4cb8", size = 9983964, upload-time = "2024-08-08T15:42:12.419Z" }, + { url = "https://files.pythonhosted.org/packages/bf/b1/939836b70bf9fcd5e5cd3ea67fdb8abb9eac7631351d32f26544034a35e4/ruff-0.5.7-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fcc8054f1a717e2213500edaddcf1dbb0abad40d98e1bd9d0ad364f75c763eea", size = 9359490, upload-time = "2024-08-08T15:42:16.713Z" }, + { url = "https://files.pythonhosted.org/packages/32/7d/b3db19207de105daad0c8b704b2c6f2a011f9c07017bd58d8d6e7b8eba19/ruff-0.5.7-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f70284e73f36558ef51602254451e50dd6cc479f8b6f8413a95fcb5db4a55fc", size = 10170833, upload-time = "2024-08-08T15:42:20.54Z" }, + { url = "https://files.pythonhosted.org/packages/a2/45/eae9da55f3357a1ac04220230b8b07800bf516e6dd7e1ad20a2ff3b03b1b/ruff-0.5.7-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:a78ad870ae3c460394fc95437d43deb5c04b5c29297815a2a1de028903f19692", size = 10896360, upload-time = "2024-08-08T15:42:25.2Z" }, + { url = "https://files.pythonhosted.org/packages/99/67/4388b36d145675f4c51ebec561fcd4298a0e2550c81e629116f83ce45a39/ruff-0.5.7-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9ccd078c66a8e419475174bfe60a69adb36ce04f8d4e91b006f1329d5cd44bcf", size = 10477094, upload-time = "2024-08-08T15:42:29.553Z" }, + { url = "https://files.pythonhosted.org/packages/e1/9c/f5e6ed1751dc187a4ecf19a4970dd30a521c0ee66b7941c16e292a4043fb/ruff-0.5.7-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7e31c9bad4ebf8fdb77b59cae75814440731060a09a0e0077d559a556453acbb", size = 11480896, upload-time = "2024-08-08T15:42:33.772Z" }, + { url = "https://files.pythonhosted.org/packages/c8/3b/2b683be597bbd02046678fc3fc1c199c641512b20212073b58f173822bb3/ruff-0.5.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d796327eed8e168164346b769dd9a27a70e0298d667b4ecee6877ce8095ec8e", size = 10179702, upload-time = "2024-08-08T15:42:38.038Z" }, + { url = "https://files.pythonhosted.org/packages/f1/38/c2d94054dc4b3d1ea4c2ba3439b2a7095f08d1c8184bc41e6abe2a688be7/ruff-0.5.7-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:4a09ea2c3f7778cc635e7f6edf57d566a8ee8f485f3c4454db7771efb692c499", size = 9982855, upload-time = "2024-08-08T15:42:42.031Z" }, + { url = "https://files.pythonhosted.org/packages/7d/e7/1433db2da505ffa8912dcf5b28a8743012ee780cbc20ad0bf114787385d9/ruff-0.5.7-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a36d8dcf55b3a3bc353270d544fb170d75d2dff41eba5df57b4e0b67a95bb64e", size = 9433156, upload-time = "2024-08-08T15:42:45.339Z" }, + { url = "https://files.pythonhosted.org/packages/e0/36/4fa43250e67741edeea3d366f59a1dc993d4d89ad493a36cbaa9889895f2/ruff-0.5.7-py3-none-musllinux_1_2_i686.whl", hash = "sha256:9369c218f789eefbd1b8d82a8cf25017b523ac47d96b2f531eba73770971c9e5", size = 9782971, upload-time = "2024-08-08T15:42:49.354Z" }, + { url = "https://files.pythonhosted.org/packages/80/0e/8c276103d518e5cf9202f70630aaa494abf6fc71c04d87c08b6d3cd07a4b/ruff-0.5.7-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:b88ca3db7eb377eb24fb7c82840546fb7acef75af4a74bd36e9ceb37a890257e", size = 10247775, upload-time = "2024-08-08T15:42:53.294Z" }, + { url = "https://files.pythonhosted.org/packages/cb/b9/673096d61276f39291b729dddde23c831a5833d98048349835782688a0ec/ruff-0.5.7-py3-none-win32.whl", hash = "sha256:33d61fc0e902198a3e55719f4be6b375b28f860b09c281e4bdbf783c0566576a", size = 7841772, upload-time = "2024-08-08T15:42:57.488Z" }, + { url = "https://files.pythonhosted.org/packages/67/1c/4520c98bfc06b9c73cd1457686d4d3935d40046b1ddea08403e5a6deff51/ruff-0.5.7-py3-none-win_amd64.whl", hash = "sha256:083bbcbe6fadb93cd86709037acc510f86eed5a314203079df174c40bbbca6b3", size = 8699779, upload-time = "2024-08-08T15:43:00.429Z" }, + { url = "https://files.pythonhosted.org/packages/38/23/b3763a237d2523d40a31fe2d1a301191fe392dd48d3014977d079cf8c0bd/ruff-0.5.7-py3-none-win_arm64.whl", hash = "sha256:2dca26154ff9571995107221d0aeaad0e75a77b5a682d6236cf89a58c70b76f4", size = 8091891, upload-time = "2024-08-08T15:43:04.162Z" }, +] + +[[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 = "temporalio" +version = "1.26.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "nexus-rpc" }, + { name = "protobuf" }, + { name = "python-dateutil", marker = "python_full_version < '3.11'" }, + { name = "types-protobuf" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ae/d4/fa21150a225393f87732ed6fef3cc9735d9e751edc6be415fe6e375105c6/temporalio-1.26.0.tar.gz", hash = "sha256:f4bfb35125e6f5e8c7f7ed1277c7354d812c6fac7ed5f8dbd50536cf289aaaa7", size = 2388994, upload-time = "2026-04-15T23:43:00.911Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1e/27/8c421c622d18cc8e034247d5d72b89e6456937344b5bec1de40abef3c085/temporalio-1.26.0-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:5489040c0cf621edeb36984199dd9e4fbd2b3a07d61a4f2a8da1f2cb9820ef26", size = 14221070, upload-time = "2026-04-15T23:42:26.21Z" }, + { url = "https://files.pythonhosted.org/packages/49/7c/d2b691d16ec5db87198c2e08dbfba58e286c096faee15753613a581abdce/temporalio-1.26.0-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:b18dd85771509c19ef059a31908bcd4e6130d1f67037c4db519702f3f2ad6d4a", size = 13583991, upload-time = "2026-04-15T23:42:34.357Z" }, + { url = "https://files.pythonhosted.org/packages/05/ca/b8728451320ca9d8bb6e1680b9bd23767118f86d5b8644edf2304d533f1b/temporalio-1.26.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:46187d5f82ca2ae81f35ea5916a76db0e2f067210dc6b1852c3749475721946e", size = 13808036, upload-time = "2026-04-15T23:42:42.757Z" }, + { url = "https://files.pythonhosted.org/packages/cb/54/3113f5e0ac58655790abac64656373e06191b351d74bfb94692e81bd6784/temporalio-1.26.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:03300c3e5237443367ac61bb20bd726c656b3daa50310bdd436599d5bdc7cf97", size = 14336604, upload-time = "2026-04-15T23:42:49.851Z" }, + { url = "https://files.pythonhosted.org/packages/fd/9b/c50840a26af3587c0c8d9af04d9976743e22496996dc1a377efc75dcd316/temporalio-1.26.0-cp310-abi3-win_amd64.whl", hash = "sha256:1c4a0d82f0a3796cbf78864c799f8dca0b94cdaec68e7b8b224c859005686ec4", size = 14525849, upload-time = "2026-04-15T23:42:57.589Z" }, +] + +[package.optional-dependencies] +lambda-worker-otel = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-exporter-otlp-proto-grpc" }, + { name = "opentelemetry-sdk" }, + { name = "opentelemetry-sdk-extension-aws" }, + { name = "opentelemetry-semantic-conventions" }, +] + +[[package]] +name = "temporalio-samples-lambda-worker" +version = "0.1a1" +source = { editable = "." } +dependencies = [ + { name = "temporalio", extra = ["lambda-worker-otel"] }, +] + +[package.dev-dependencies] +dev = [ + { name = "mypy" }, + { name = "poethepoet" }, + { name = "ruff" }, +] + +[package.metadata] +requires-dist = [{ name = "temporalio", extras = ["lambda-worker-otel"], specifier = ">=1.26.0,<2" }] + +[package.metadata.requires-dev] +dev = [ + { name = "mypy", specifier = ">=1.4.1,<2" }, + { name = "poethepoet", specifier = ">=0.36.0" }, + { name = "ruff", specifier = ">=0.5.0,<0.6" }, +] + +[[package]] +name = "tomli" +version = "2.4.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30", size = 154704, upload-time = "2026-03-25T20:21:10.473Z" }, + { url = "https://files.pythonhosted.org/packages/6d/f7/675db52c7e46064a9aa928885a9b20f4124ecb9bc2e1ce74c9106648d202/tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a", size = 149454, upload-time = "2026-03-25T20:21:12.036Z" }, + { url = "https://files.pythonhosted.org/packages/61/71/81c50943cf953efa35bce7646caab3cf457a7d8c030b27cfb40d7235f9ee/tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076", size = 237561, upload-time = "2026-03-25T20:21:13.098Z" }, + { url = "https://files.pythonhosted.org/packages/48/c1/f41d9cb618acccca7df82aaf682f9b49013c9397212cb9f53219e3abac37/tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9", size = 243824, upload-time = "2026-03-25T20:21:14.569Z" }, + { url = "https://files.pythonhosted.org/packages/22/e4/5a816ecdd1f8ca51fb756ef684b90f2780afc52fc67f987e3c61d800a46d/tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c", size = 242227, upload-time = "2026-03-25T20:21:15.712Z" }, + { url = "https://files.pythonhosted.org/packages/6b/49/2b2a0ef529aa6eec245d25f0c703e020a73955ad7edf73e7f54ddc608aa5/tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc", size = 247859, upload-time = "2026-03-25T20:21:17.001Z" }, + { url = "https://files.pythonhosted.org/packages/83/bd/6c1a630eaca337e1e78c5903104f831bda934c426f9231429396ce3c3467/tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049", size = 97204, upload-time = "2026-03-25T20:21:18.079Z" }, + { url = "https://files.pythonhosted.org/packages/42/59/71461df1a885647e10b6bb7802d0b8e66480c61f3f43079e0dcd315b3954/tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e", size = 108084, upload-time = "2026-03-25T20:21:18.978Z" }, + { url = "https://files.pythonhosted.org/packages/b8/83/dceca96142499c069475b790e7913b1044c1a4337e700751f48ed723f883/tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece", size = 95285, upload-time = "2026-03-25T20:21:20.309Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ba/42f134a3fe2b370f555f44b1d72feebb94debcab01676bf918d0cb70e9aa/tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a", size = 155924, upload-time = "2026-03-25T20:21:21.626Z" }, + { url = "https://files.pythonhosted.org/packages/dc/c7/62d7a17c26487ade21c5422b646110f2162f1fcc95980ef7f63e73c68f14/tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085", size = 150018, upload-time = "2026-03-25T20:21:23.002Z" }, + { url = "https://files.pythonhosted.org/packages/5c/05/79d13d7c15f13bdef410bdd49a6485b1c37d28968314eabee452c22a7fda/tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9", size = 244948, upload-time = "2026-03-25T20:21:24.04Z" }, + { url = "https://files.pythonhosted.org/packages/10/90/d62ce007a1c80d0b2c93e02cab211224756240884751b94ca72df8a875ca/tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5", size = 253341, upload-time = "2026-03-25T20:21:25.177Z" }, + { url = "https://files.pythonhosted.org/packages/1a/7e/caf6496d60152ad4ed09282c1885cca4eea150bfd007da84aea07bcc0a3e/tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585", size = 248159, upload-time = "2026-03-25T20:21:26.364Z" }, + { url = "https://files.pythonhosted.org/packages/99/e7/c6f69c3120de34bbd882c6fba7975f3d7a746e9218e56ab46a1bc4b42552/tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1", size = 253290, upload-time = "2026-03-25T20:21:27.46Z" }, + { url = "https://files.pythonhosted.org/packages/d6/2f/4a3c322f22c5c66c4b836ec58211641a4067364f5dcdd7b974b4c5da300c/tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917", size = 98141, upload-time = "2026-03-25T20:21:28.492Z" }, + { url = "https://files.pythonhosted.org/packages/24/22/4daacd05391b92c55759d55eaee21e1dfaea86ce5c571f10083360adf534/tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9", size = 108847, upload-time = "2026-03-25T20:21:29.386Z" }, + { url = "https://files.pythonhosted.org/packages/68/fd/70e768887666ddd9e9f5d85129e84910f2db2796f9096aa02b721a53098d/tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257", size = 95088, upload-time = "2026-03-25T20:21:30.677Z" }, + { url = "https://files.pythonhosted.org/packages/07/06/b823a7e818c756d9a7123ba2cda7d07bc2dd32835648d1a7b7b7a05d848d/tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54", size = 155866, upload-time = "2026-03-25T20:21:31.65Z" }, + { url = "https://files.pythonhosted.org/packages/14/6f/12645cf7f08e1a20c7eb8c297c6f11d31c1b50f316a7e7e1e1de6e2e7b7e/tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a", size = 149887, upload-time = "2026-03-25T20:21:33.028Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e0/90637574e5e7212c09099c67ad349b04ec4d6020324539297b634a0192b0/tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897", size = 243704, upload-time = "2026-03-25T20:21:34.51Z" }, + { url = "https://files.pythonhosted.org/packages/10/8f/d3ddb16c5a4befdf31a23307f72828686ab2096f068eaf56631e136c1fdd/tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f", size = 251628, upload-time = "2026-03-25T20:21:36.012Z" }, + { url = "https://files.pythonhosted.org/packages/e3/f1/dbeeb9116715abee2485bf0a12d07a8f31af94d71608c171c45f64c0469d/tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d", size = 247180, upload-time = "2026-03-25T20:21:37.136Z" }, + { url = "https://files.pythonhosted.org/packages/d3/74/16336ffd19ed4da28a70959f92f506233bd7cfc2332b20bdb01591e8b1d1/tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5", size = 251674, upload-time = "2026-03-25T20:21:38.298Z" }, + { url = "https://files.pythonhosted.org/packages/16/f9/229fa3434c590ddf6c0aa9af64d3af4b752540686cace29e6281e3458469/tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd", size = 97976, upload-time = "2026-03-25T20:21:39.316Z" }, + { url = "https://files.pythonhosted.org/packages/6a/1e/71dfd96bcc1c775420cb8befe7a9d35f2e5b1309798f009dca17b7708c1e/tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36", size = 108755, upload-time = "2026-03-25T20:21:40.248Z" }, + { url = "https://files.pythonhosted.org/packages/83/7a/d34f422a021d62420b78f5c538e5b102f62bea616d1d75a13f0a88acb04a/tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd", size = 95265, upload-time = "2026-03-25T20:21:41.219Z" }, + { url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" }, + { url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" }, + { url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" }, + { url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" }, + { url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" }, + { url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" }, + { url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" }, + { url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" }, + { url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" }, + { url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" }, + { url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" }, + { url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" }, + { url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" }, + { url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" }, + { url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" }, + { url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" }, + { url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" }, + { url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" }, + { url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" }, +] + +[[package]] +name = "types-protobuf" +version = "6.32.1.20260221" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5f/e2/9aa4a3b2469508bd7b4e2ae11cbedaf419222a09a1b94daffcd5efca4023/types_protobuf-6.32.1.20260221.tar.gz", hash = "sha256:6d5fb060a616bfb076cbb61b4b3c3969f5fc8bec5810f9a2f7e648ee5cbcbf6e", size = 64408, upload-time = "2026-02-21T03:55:13.916Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2e/e8/1fd38926f9cf031188fbc5a96694203ea6f24b0e34bd64a225ec6f6291ba/types_protobuf-6.32.1.20260221-py3-none-any.whl", hash = "sha256:da7cdd947975964a93c30bfbcc2c6841ee646b318d3816b033adc2c4eb6448e4", size = 77956, upload-time = "2026-02-21T03:55:12.894Z" }, +] + +[[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 = "zipp" +version = "3.23.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/30/21/093488dfc7cc8964ded15ab726fad40f25fd3d788fd741cc1c5a17d78ee8/zipp-3.23.1.tar.gz", hash = "sha256:32120e378d32cd9714ad503c1d024619063ec28aad2248dc6672ad13edfa5110", size = 25965, upload-time = "2026-04-13T23:21:46.6Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/08/8a/0861bec20485572fbddf3dfba2910e38fe249796cb73ecdeb74e07eeb8d3/zipp-3.23.1-py3-none-any.whl", hash = "sha256:0b3596c50a5c700c9cb40ba8d86d9f2cc4807e9bedb06bcdf7fac85633e444dc", size = 10378, upload-time = "2026-04-13T23:21:45.386Z" }, +] diff --git a/lambda_worker/workflows.py b/lambda_worker/workflows.py new file mode 100644 index 000000000..af37df077 --- /dev/null +++ b/lambda_worker/workflows.py @@ -0,0 +1,22 @@ +from datetime import timedelta + +from temporalio import common, workflow + +TASK_QUEUE = "serverless-task-queue-python" + +with workflow.unsafe.imports_passed_through(): + from activities import hello_activity + + +@workflow.defn(versioning_behavior=common.VersioningBehavior.PINNED) +class SampleWorkflow: + @workflow.run + async def run(self, name: str) -> str: + workflow.logger.info("SampleWorkflow started with name: %s", name) + result = await workflow.execute_activity( + hello_activity, + name, + start_to_close_timeout=timedelta(seconds=10), + ) + workflow.logger.info("SampleWorkflow completed with result: %s", result) + return result diff --git a/langfuse_tracing/.env.example b/langfuse_tracing/.env.example new file mode 100644 index 000000000..2c3152cb2 --- /dev/null +++ b/langfuse_tracing/.env.example @@ -0,0 +1,29 @@ +# Copy to .env and adjust. Load with: set -a; source langfuse_tracing/.env; set +a + +# Langfuse — these defaults match the headless-init values baked into +# langfuse_tracing/langfuse/docker-compose.yml (local demo stack). +LANGFUSE_HOST=http://localhost:3000 +LANGFUSE_PUBLIC_KEY=pk-lf-temporal-demo-0000 +LANGFUSE_SECRET_KEY=sk-lf-temporal-demo-0000 +# Used only for the trace link the starter prints; set to your project ID +# when pointing at your own Langfuse instance or Langfuse Cloud. +LANGFUSE_PROJECT_ID=langfuse-tracing-demo +# Reported as the Langfuse user ID on each trace by the starter. +LANGFUSE_DEMO_USER=demo-user + +# LLM — any OpenAI-compatible endpoint works. +OPENAI_API_KEY=sk-... +MODEL_CLASSIFY=gpt-4o-mini +MODEL_DRAFT=gpt-4o-mini +# To use a local OpenAI-compatible gateway (e.g. a LiteLLM proxy) instead: +# OPENAI_BASE_URL=http://localhost:4000/v1 +# OPENAI_API_KEY= +# MODEL_CLASSIFY= +# MODEL_DRAFT= + +# LLM span instrumentation flavor: openinference (default) or openai-v2. +# See README for the trade-offs. +LLM_INSTRUMENTATION=openinference +# Required only for LLM_INSTRUMENTATION=openai-v2 content capture: +# OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental +# OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=span_only diff --git a/langfuse_tracing/README.md b/langfuse_tracing/README.md new file mode 100644 index 000000000..28048ca57 --- /dev/null +++ b/langfuse_tracing/README.md @@ -0,0 +1,157 @@ +# Langfuse Tracing + +This sample shows the recommended way to get Temporal workflow traces into +[Langfuse](https://langfuse.com/): Temporal's +[`OpenTelemetryPlugin`](https://python.temporal.io/temporalio.contrib.opentelemetry.html) +plus a standard OTLP/HTTP exporter pointed at Langfuse's native OpenTelemetry +endpoint. No Langfuse SDK or Langfuse-specific plugin is involved, workflow +code stays deterministic and sandboxed, and traces are correctly nested, +correctly typed, and duplicate-free across replay and worker restarts. + +Contents: + +- **[ticket_triage/](ticket_triage/)** — the recommended pattern: an LLM + ticket-triage workflow (two LLM activities, one plain activity, one human + approval delivered as a workflow update). +- **[verify_trace.py](verify_trace.py)** — checks a trace via the Langfuse + public API: whole-tree equality, observation types, token usage, and + no-duplicates. +- **[langfuse/docker-compose.yml](langfuse/docker-compose.yml)** — pinned + self-hosted Langfuse with org/project/API keys provisioned headlessly. +- **[telemetry.py](telemetry.py)** — the OpenTelemetry wiring (replay-safe + tracer provider, OTLP exporter with Langfuse auth, LLM instrumentation). + +## Prerequisites + +- Docker (for Langfuse), a local Temporal server + (`temporal server start-dev`), and `uv`. +- An OpenAI-compatible LLM endpoint: either a real `OPENAI_API_KEY`, or any + OpenAI-compatible gateway via `OPENAI_BASE_URL`. + +## Run it + +```bash +# 1. Start Langfuse (first pull takes a few minutes) +cd langfuse_tracing/langfuse +docker compose up -d +curl -sf http://localhost:3000/api/public/health # repeat until {"status":"OK",...} +# UI: http://localhost:3000 — login demo@temporal.io / langfuse-demo-pw-1 + +# 2. Install dependencies and set environment (repo root) +cd ../.. +uv sync --group langfuse-tracing +cp langfuse_tracing/.env.example langfuse_tracing/.env # edit the LLM settings +set -a; source langfuse_tracing/.env; set +a + +# 3. Run the sample (two terminals, same environment) +uv run python -m langfuse_tracing.ticket_triage.worker +uv run python -m langfuse_tracing.ticket_triage.starter + +# 4. Verify the trace through the Langfuse API (uses the printed trace ID) +uv run python -m langfuse_tracing.verify_trace --trace-id +``` + +The starter prints a direct link to the trace in the Langfuse UI. You should +see one trace shaped like this (types as Langfuse derives them): + +``` +ticket-triage SPAN (root; session/user/tags) +├─ StartWorkflow:TicketTriageWorkflow SPAN +│ └─ RunWorkflow:TicketTriageWorkflow SPAN +│ ├─ triage SPAN (custom span from workflow code) +│ │ ├─ StartActivity:classify_ticket → RunActivity:classify_ticket +│ │ │ └─ ChatCompletion GENERATION (model, tokens, cost) +│ │ └─ StartActivity:lookup_account → RunActivity:lookup_account +│ └─ StartActivity:draft_reply → RunActivity:draft_reply +│ └─ ChatCompletion GENERATION +└─ StartWorkflowUpdate:approve SPAN + ├─ ValidateUpdate:approve SPAN + └─ HandleUpdate:approve SPAN +``` + +## Prove the replay-safety claims + +Durable execution means workflow code re-executes (replays) on worker +restarts and cache evictions. These two experiments show tracing is +unaffected — each run still verifies cleanly with the same tree shape and no +duplicate observations: + +```bash +# Replay stress: disable the workflow cache so EVERY workflow task replays +# the workflow from the start of history. +uv run python -m langfuse_tracing.ticket_triage.worker --replay-stress +uv run python -m langfuse_tracing.ticket_triage.starter +uv run python -m langfuse_tracing.verify_trace --trace-id + +# Worker restart mid-workflow: the starter waits 20s before sending the +# approval. Give the triage activities a few seconds to finish, then kill the +# worker while the workflow durably awaits approval; start a new worker and +# watch the workflow (and its trace) complete cleanly. +uv run python -m langfuse_tracing.ticket_triage.starter --pause-before-approval 20 +# ... after ~5s, ctrl+c the worker, then start it again in another terminal +uv run python -m langfuse_tracing.verify_trace --trace-id +``` + +## Where spans come from + +| Span | Emitted by | Where it runs | +|---|---|---| +| `ticket-triage` (root) + `langfuse.*` trace attributes | starter code | starter | +| `StartWorkflow:*`, `StartWorkflowUpdate:*` | `OpenTelemetryPlugin` | starter (client side) | +| `RunWorkflow:*`, `StartActivity:*`, `ValidateUpdate:*`, `HandleUpdate:*` | `OpenTelemetryPlugin` | worker (workflow) | +| `triage` | plain OpenTelemetry API in workflow code | worker (workflow) | +| `RunActivity:*` | `OpenTelemetryPlugin` | worker (activity) | +| `ChatCompletion` / `chat ` GENERATIONs | OpenAI auto-instrumentation | worker (activity) | + +## Where tracing works + +| Location | Works? | Notes | +|---|---|---| +| Activity bodies | ✅ | Plain OpenTelemetry + any auto-instrumentation, no restrictions. This is where LLM calls (and their GENERATION spans) belong. | +| Workflow bodies | ✅ | Plain OpenTelemetry APIs are replay-safe under the plugin: deterministic span IDs, no re-export on replay. Spans export when they end; the `RunWorkflow` span exports when the run completes. | +| Signal/query/update handlers | ✅ | Handled by the plugin automatically (`HandleUpdate:*` etc.). | +| Client / starter code | ✅ | Standard OpenTelemetry; put Langfuse trace-level attributes on your root span. | + +## LLM instrumentation flavors + +`LLM_INSTRUMENTATION` selects how OpenAI calls are instrumented (both are +verified against Langfuse by this sample): + +| | `openinference` (default) | `openai-v2` | +|---|---|---| +| Package | `openinference-instrumentation-openai` | `opentelemetry-instrumentation-openai-v2` | +| Semantic conventions | OpenInference | OpenTelemetry GenAI (`gen_ai.*`) | +| GENERATION type, model, token usage, cost | ✅ | ✅ | +| Prompt/completion content | ✅ by default | Requires `OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental` and `OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=span_only` | +| GENERATION span name | `ChatCompletion` | `chat ` | + +## Operational notes + +- Langfuse's OTLP endpoint is HTTP-only — this sample uses + `opentelemetry-exporter-otlp-proto-http` (the gRPC exporter will not work). +- Short-lived processes must flush: the starter and worker call + `force_flush()` on exit (see `telemetry.py`). +- Use a fresh workflow ID per run: the starter reports it as the Langfuse + session ID, so each run groups cleanly in the Sessions view. (The trace + itself is keyed by the starter's root span, which is new on every run.) +- `OTEL_SDK_DISABLED=true` turns off export without code changes. +- Ingestion is asynchronous; `verify_trace.py` polls until the trace is + stable. + +## Tests + +`tests/langfuse_tracing/` runs without Langfuse, Docker, or an LLM: mocked +activities, an in-memory span exporter, a worker with the workflow cache +disabled, whole-tree span assertions, and a `Replayer` pass asserting that +replaying the finished workflow's history emits zero new spans. + +```bash +uv run --group langfuse-tracing pytest tests/langfuse_tracing -v +``` + +## Using this outside samples-python + +The sample is self-contained: copy the `langfuse_tracing/` directory, change +the absolute imports (`langfuse_tracing.ticket_triage.activities` → +`ticket_triage.activities` or similar), and install the dependencies listed +under `langfuse-tracing` in this repo's `pyproject.toml`. diff --git a/langfuse_tracing/__init__.py b/langfuse_tracing/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/langfuse_tracing/langfuse/docker-compose.yml b/langfuse_tracing/langfuse/docker-compose.yml new file mode 100644 index 000000000..d7295ec90 --- /dev/null +++ b/langfuse_tracing/langfuse/docker-compose.yml @@ -0,0 +1,188 @@ +# Self-hosted Langfuse for the langfuse_tracing sample. +# +# Based on the upstream https://github.com/langfuse/langfuse/blob/v3.224.1/docker-compose.yml +# with these changes for a local demo: +# - Langfuse images pinned to a specific release instead of the floating `:3` tag. +# - Only two ports are published on the host: the Langfuse UI/API (3000) and MinIO's +# S3 endpoint (127.0.0.1:9090, used by Langfuse's presigned media/export URLs). +# Postgres, ClickHouse, Redis, and the Langfuse worker stay on the compose network — +# upstream publishes several of these on the host (e.g. Postgres on 127.0.0.1:5432, +# MinIO on all interfaces), which can collide with other local stacks. +# - Headless initialization (LANGFUSE_INIT_*) provisions the org, project, API keys, and +# login user on first start; provisioning is skipped when the resources already +# exist, so restarts are safe. +# - All secrets below are throwaway demo values. Do not reuse them outside local demos. +# +# Usage: +# docker compose up -d +# curl -sf http://localhost:3000/api/public/health # poll until 200 +# UI login: demo@temporal.io / langfuse-demo-pw-1 +name: langfuse-demo +services: + langfuse-worker: + image: docker.io/langfuse/langfuse-worker:3.224.1 + restart: always + depends_on: &langfuse-depends-on + postgres: + condition: service_healthy + minio: + condition: service_healthy + redis: + condition: service_healthy + clickhouse: + condition: service_healthy + environment: &langfuse-worker-env + NEXTAUTH_URL: ${NEXTAUTH_URL:-http://localhost:3000} + DATABASE_URL: ${DATABASE_URL:-postgresql://postgres:postgres@postgres:5432/postgres} + SALT: ${SALT:-langfuse-demo-salt} + ENCRYPTION_KEY: ${ENCRYPTION_KEY:-0000000000000000000000000000000000000000000000000000000000000000} + TELEMETRY_ENABLED: ${TELEMETRY_ENABLED:-false} + LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES: ${LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES:-false} + CLICKHOUSE_MIGRATION_URL: ${CLICKHOUSE_MIGRATION_URL:-clickhouse://clickhouse:9000} + CLICKHOUSE_URL: ${CLICKHOUSE_URL:-http://clickhouse:8123} + CLICKHOUSE_USER: ${CLICKHOUSE_USER:-clickhouse} + CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD:-clickhouse} + CLICKHOUSE_CLUSTER_ENABLED: ${CLICKHOUSE_CLUSTER_ENABLED:-false} + LANGFUSE_USE_AZURE_BLOB: ${LANGFUSE_USE_AZURE_BLOB:-false} + LANGFUSE_USE_OCI_NATIVE_OBJECT_STORAGE: ${LANGFUSE_USE_OCI_NATIVE_OBJECT_STORAGE:-false} + LANGFUSE_OCI_AUTH_TYPE: ${LANGFUSE_OCI_AUTH_TYPE:-workload_identity} + LANGFUSE_S3_EVENT_UPLOAD_BUCKET: ${LANGFUSE_S3_EVENT_UPLOAD_BUCKET:-langfuse} + LANGFUSE_S3_EVENT_UPLOAD_REGION: ${LANGFUSE_S3_EVENT_UPLOAD_REGION:-auto} + LANGFUSE_S3_EVENT_UPLOAD_ACCESS_KEY_ID: ${LANGFUSE_S3_EVENT_UPLOAD_ACCESS_KEY_ID:-minio} + LANGFUSE_S3_EVENT_UPLOAD_SECRET_ACCESS_KEY: ${LANGFUSE_S3_EVENT_UPLOAD_SECRET_ACCESS_KEY:-miniosecret} + LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT: ${LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT:-http://minio:9000} + LANGFUSE_S3_EVENT_UPLOAD_FORCE_PATH_STYLE: ${LANGFUSE_S3_EVENT_UPLOAD_FORCE_PATH_STYLE:-true} + LANGFUSE_S3_EVENT_UPLOAD_PREFIX: ${LANGFUSE_S3_EVENT_UPLOAD_PREFIX:-events/} + LANGFUSE_S3_MEDIA_UPLOAD_BUCKET: ${LANGFUSE_S3_MEDIA_UPLOAD_BUCKET:-langfuse} + LANGFUSE_S3_MEDIA_UPLOAD_REGION: ${LANGFUSE_S3_MEDIA_UPLOAD_REGION:-auto} + LANGFUSE_S3_MEDIA_UPLOAD_ACCESS_KEY_ID: ${LANGFUSE_S3_MEDIA_UPLOAD_ACCESS_KEY_ID:-minio} + LANGFUSE_S3_MEDIA_UPLOAD_SECRET_ACCESS_KEY: ${LANGFUSE_S3_MEDIA_UPLOAD_SECRET_ACCESS_KEY:-miniosecret} + LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT: ${LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT:-http://localhost:9090} + LANGFUSE_S3_MEDIA_UPLOAD_FORCE_PATH_STYLE: ${LANGFUSE_S3_MEDIA_UPLOAD_FORCE_PATH_STYLE:-true} + LANGFUSE_S3_MEDIA_UPLOAD_PREFIX: ${LANGFUSE_S3_MEDIA_UPLOAD_PREFIX:-media/} + LANGFUSE_S3_BATCH_EXPORT_ENABLED: ${LANGFUSE_S3_BATCH_EXPORT_ENABLED:-false} + LANGFUSE_S3_BATCH_EXPORT_BUCKET: ${LANGFUSE_S3_BATCH_EXPORT_BUCKET:-langfuse} + LANGFUSE_S3_BATCH_EXPORT_PREFIX: ${LANGFUSE_S3_BATCH_EXPORT_PREFIX:-exports/} + LANGFUSE_S3_BATCH_EXPORT_REGION: ${LANGFUSE_S3_BATCH_EXPORT_REGION:-auto} + LANGFUSE_S3_BATCH_EXPORT_ENDPOINT: ${LANGFUSE_S3_BATCH_EXPORT_ENDPOINT:-http://minio:9000} + LANGFUSE_S3_BATCH_EXPORT_EXTERNAL_ENDPOINT: ${LANGFUSE_S3_BATCH_EXPORT_EXTERNAL_ENDPOINT:-http://localhost:9090} + LANGFUSE_S3_BATCH_EXPORT_ACCESS_KEY_ID: ${LANGFUSE_S3_BATCH_EXPORT_ACCESS_KEY_ID:-minio} + LANGFUSE_S3_BATCH_EXPORT_SECRET_ACCESS_KEY: ${LANGFUSE_S3_BATCH_EXPORT_SECRET_ACCESS_KEY:-miniosecret} + LANGFUSE_S3_BATCH_EXPORT_FORCE_PATH_STYLE: ${LANGFUSE_S3_BATCH_EXPORT_FORCE_PATH_STYLE:-true} + LANGFUSE_INGESTION_QUEUE_DELAY_MS: ${LANGFUSE_INGESTION_QUEUE_DELAY_MS:-} + LANGFUSE_INGESTION_CLICKHOUSE_WRITE_INTERVAL_MS: ${LANGFUSE_INGESTION_CLICKHOUSE_WRITE_INTERVAL_MS:-} + REDIS_HOST: ${REDIS_HOST:-redis} + REDIS_PORT: ${REDIS_PORT:-6379} + REDIS_AUTH: ${REDIS_AUTH:-myredissecret} + LANGFUSE_BULLMQ_SKIP_REDIS_VERSION_CHECK: ${LANGFUSE_BULLMQ_SKIP_REDIS_VERSION_CHECK:-false} + REDIS_TLS_ENABLED: ${REDIS_TLS_ENABLED:-false} + REDIS_TLS_CA: ${REDIS_TLS_CA:-/certs/ca.crt} + REDIS_TLS_CERT: ${REDIS_TLS_CERT:-/certs/redis.crt} + REDIS_TLS_KEY: ${REDIS_TLS_KEY:-/certs/redis.key} + EMAIL_FROM_ADDRESS: ${EMAIL_FROM_ADDRESS:-} + SMTP_CONNECTION_URL: ${SMTP_CONNECTION_URL:-} + + langfuse-web: + image: docker.io/langfuse/langfuse:3.224.1 + restart: always + depends_on: *langfuse-depends-on + ports: + - 3000:3000 + environment: + <<: *langfuse-worker-env + NEXTAUTH_SECRET: ${NEXTAUTH_SECRET:-langfuse-demo-nextauth-secret} + # Headless initialization: org, project, API keys, and login user are created on + # first startup. These keys must match langfuse_tracing/.env.example. + LANGFUSE_INIT_ORG_ID: ${LANGFUSE_INIT_ORG_ID:-temporal-demo} + LANGFUSE_INIT_ORG_NAME: ${LANGFUSE_INIT_ORG_NAME:-Temporal Demo} + LANGFUSE_INIT_PROJECT_ID: ${LANGFUSE_INIT_PROJECT_ID:-langfuse-tracing-demo} + LANGFUSE_INIT_PROJECT_NAME: ${LANGFUSE_INIT_PROJECT_NAME:-langfuse-tracing-demo} + LANGFUSE_INIT_PROJECT_PUBLIC_KEY: ${LANGFUSE_INIT_PROJECT_PUBLIC_KEY:-pk-lf-temporal-demo-0000} + LANGFUSE_INIT_PROJECT_SECRET_KEY: ${LANGFUSE_INIT_PROJECT_SECRET_KEY:-sk-lf-temporal-demo-0000} + LANGFUSE_INIT_USER_EMAIL: ${LANGFUSE_INIT_USER_EMAIL:-demo@temporal.io} + LANGFUSE_INIT_USER_NAME: ${LANGFUSE_INIT_USER_NAME:-Demo User} + LANGFUSE_INIT_USER_PASSWORD: ${LANGFUSE_INIT_USER_PASSWORD:-langfuse-demo-pw-1} + + clickhouse: + image: docker.io/clickhouse/clickhouse-server + restart: always + user: "101:101" + environment: + CLICKHOUSE_DB: default + CLICKHOUSE_USER: ${CLICKHOUSE_USER:-clickhouse} + CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD:-clickhouse} + volumes: + - langfuse_clickhouse_data:/var/lib/clickhouse + - langfuse_clickhouse_logs:/var/log/clickhouse-server + healthcheck: + test: wget --no-verbose --tries=1 --spider http://localhost:8123/ping || exit 1 + interval: 5s + timeout: 5s + retries: 10 + start_period: 1s + + minio: + image: cgr.dev/chainguard/minio + restart: always + entrypoint: sh + # create the 'langfuse' bucket before starting the service + command: -c 'mkdir -p /data/langfuse && minio server --address ":9000" --console-address ":9001" /data' + environment: + MINIO_ROOT_USER: ${MINIO_ROOT_USER:-minio} + MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-miniosecret} + ports: + # Loopback-only S3 endpoint; matches the LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT + # and LANGFUSE_S3_BATCH_EXPORT_EXTERNAL_ENDPOINT defaults (localhost:9090) + # so presigned media/export URLs resolve from the browser. + - 127.0.0.1:9090:9000 + volumes: + - langfuse_minio_data:/data + healthcheck: + test: ["CMD", "mc", "ready", "local"] + interval: 1s + timeout: 5s + retries: 5 + start_period: 1s + + redis: + image: docker.io/redis:7 + restart: always + command: > + --requirepass ${REDIS_AUTH:-myredissecret} + --maxmemory-policy noeviction + volumes: + - langfuse_redis_data:/data + healthcheck: + test: ["CMD", "redis-cli", "ping"] + interval: 3s + timeout: 10s + retries: 10 + + postgres: + image: docker.io/postgres:${POSTGRES_VERSION:-17} + restart: always + healthcheck: + test: ["CMD-SHELL", "pg_isready -U postgres"] + interval: 3s + timeout: 3s + retries: 10 + environment: + POSTGRES_USER: ${POSTGRES_USER:-postgres} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres} + POSTGRES_DB: ${POSTGRES_DB:-postgres} + TZ: UTC + PGTZ: UTC + volumes: + - langfuse_postgres_data:/var/lib/postgresql/data + +volumes: + langfuse_postgres_data: + driver: local + langfuse_clickhouse_data: + driver: local + langfuse_clickhouse_logs: + driver: local + langfuse_minio_data: + driver: local + langfuse_redis_data: + driver: local diff --git a/langfuse_tracing/telemetry.py b/langfuse_tracing/telemetry.py new file mode 100644 index 000000000..b17a7d7df --- /dev/null +++ b/langfuse_tracing/telemetry.py @@ -0,0 +1,119 @@ +"""Shared OpenTelemetry-to-Langfuse wiring for the langfuse_tracing samples. + +Langfuse natively ingests OpenTelemetry traces, so no Langfuse SDK is needed: +spans are exported over OTLP/HTTP to Langfuse's ``/api/public/otel`` endpoint, +authenticated with a project's public/secret API key pair. + +The tracer provider comes from ``temporalio.contrib.opentelemetry +.create_tracer_provider()``, which is safe to use inside workflow code: span +IDs are generated deterministically from workflow state and span export is +suppressed during replay, so a workflow that replays (worker restart, cache +eviction, host failover) never produces duplicate spans in Langfuse. +""" + +import base64 +import logging +import os + +from opentelemetry import trace +from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter +from opentelemetry.sdk.resources import SERVICE_NAME, Resource +from opentelemetry.sdk.trace.export import BatchSpanProcessor +from temporalio.contrib.opentelemetry import create_tracer_provider + +logger = logging.getLogger(__name__) + + +def _langfuse_exporter() -> OTLPSpanExporter: + host = os.environ.get("LANGFUSE_HOST", "http://localhost:3000").rstrip("/") + public_key = os.environ.get("LANGFUSE_PUBLIC_KEY") + secret_key = os.environ.get("LANGFUSE_SECRET_KEY") + if not public_key or not secret_key: + raise SystemExit( + "LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY must be set. Copy " + "langfuse_tracing/.env.example to langfuse_tracing/.env and load it " + "in this terminal: set -a; source langfuse_tracing/.env; set +a" + ) + auth = base64.b64encode(f"{public_key}:{secret_key}".encode()).decode() + return OTLPSpanExporter( + # Langfuse's OTLP endpoint is HTTP-only (protobuf or JSON); it has no gRPC + # listener, so this must be the http exporter, not the grpc one. + endpoint=f"{host}/api/public/otel/v1/traces", + headers={ + "Authorization": f"Basic {auth}", + # Documented by Langfuse: opts into real-time ingestion. Without it, + # ingested traces can take several minutes to appear in the UI. + "x-langfuse-ingestion-version": "4", + }, + timeout=10, + ) + + +def setup_tracing(service_name: str) -> None: + """Install a replay-safe tracer provider that exports spans to Langfuse. + + Must be called once at process start, before connecting the Temporal + client, in every process that traces (worker and starter alike). + + Honors ``OTEL_SDK_DISABLED=true`` as a kill-switch: the provider is still + installed (the Temporal worker requires it) but no exporter is attached. + """ + provider = create_tracer_provider( + resource=Resource.create({SERVICE_NAME: service_name}) + ) + if os.environ.get("OTEL_SDK_DISABLED", "").lower() != "true": + # A short schedule delay so demo spans show up in Langfuse quickly. + # Buffered spans are also flushed at process exit (the provider + # registers a shutdown hook), but call force_flush() before reading + # traces back to avoid racing the batch. + provider.add_span_processor( + BatchSpanProcessor(_langfuse_exporter(), schedule_delay_millis=500) + ) + else: + logger.info("OTEL_SDK_DISABLED=true - spans will not be exported") + trace.set_tracer_provider(provider) + + +def force_flush() -> None: + """Flush any buffered spans to Langfuse immediately.""" + # The replay-safe provider implements force_flush but the base + # opentelemetry TracerProvider type does not declare it, hence getattr. + flush = getattr(trace.get_tracer_provider(), "force_flush", None) + if callable(flush): + flush() + + +def instrument_openai() -> str: + """Instrument the OpenAI client library once, in the worker process. + + Every OpenAI API call made from an activity then emits a span that nests + under that activity's span and that Langfuse renders as a GENERATION + observation with model, token usage, and cost. + + Two OpenTelemetry instrumentation flavors are supported via the + ``LLM_INSTRUMENTATION`` env var: + + - ``openinference`` (default): OpenInference semantic conventions. Prompt + and completion content are recorded on span attributes, which Langfuse + maps to the observation's input/output. + - ``openai-v2``: the OpenTelemetry GenAI semantic conventions + (``gen_ai.*``). Content capture additionally requires + ``OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental`` and + ``OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=span_only``. + """ + flavor = os.environ.get("LLM_INSTRUMENTATION", "openinference") + if flavor == "openinference": + from openinference.instrumentation.openai import OpenAIInstrumentor + + OpenAIInstrumentor().instrument() + elif flavor == "openai-v2": + from opentelemetry.instrumentation.openai_v2 import ( + OpenAIInstrumentor as OpenAIV2Instrumentor, + ) + + OpenAIV2Instrumentor().instrument() + else: + raise ValueError( + f"Unknown LLM_INSTRUMENTATION {flavor!r}; use 'openinference' or 'openai-v2'" + ) + return flavor diff --git a/langfuse_tracing/ticket_triage/README.md b/langfuse_tracing/ticket_triage/README.md new file mode 100644 index 000000000..eef7d7cc2 --- /dev/null +++ b/langfuse_tracing/ticket_triage/README.md @@ -0,0 +1,62 @@ +# Ticket Triage + +An LLM support-ticket triage workflow demonstrating the recommended +Temporal → Langfuse tracing setup (see [../README.md](../README.md) for the +full runbook). + +Flow: `classify_ticket` (LLM) and `lookup_account` (plain activity) run under +a custom `triage` span, the workflow then waits for a human decision delivered +as a workflow **update** (`approve`, with a validator), and on approval +`draft_reply` (LLM) produces the customer reply. + +| File | Purpose | +|---|---| +| `workflows.py` | `TicketTriageWorkflow` — deterministic, sandboxed; uses plain OpenTelemetry APIs for the `triage` span; `approve` update handler + validator | +| `activities.py` | The two LLM activities and the plain lookup activity; all I/O lives here | +| `worker.py` | Worker with `OpenTelemetryPlugin(add_temporal_spans=True)`; `--replay-stress` disables the workflow cache | +| `starter.py` | Opens the root span with `langfuse.*` trace attributes, starts the workflow, sends the approval update, prints the Langfuse trace link; `--decline`, `--pause-before-approval N` | + +## Run + +With Langfuse up, dependencies synced, and the environment loaded (see +[../README.md](../README.md)): + +```bash +uv run python -m langfuse_tracing.ticket_triage.worker +uv run python -m langfuse_tracing.ticket_triage.starter +uv run python -m langfuse_tracing.verify_trace --trace-id +``` + +Variants: + +```bash +uv run python -m langfuse_tracing.ticket_triage.starter --decline +uv run python -m langfuse_tracing.verify_trace --trace-id --expect declined + +# Replay stress: every workflow task replays the workflow from history — +# the Langfuse trace must come out identical. +uv run python -m langfuse_tracing.ticket_triage.worker --replay-stress + +# Durability demo: park the workflow awaiting approval for 20s, kill and +# restart the worker meanwhile — one clean trace regardless. +uv run python -m langfuse_tracing.ticket_triage.starter --pause-before-approval 20 +``` + +## Expected trace + +``` +ticket-triage SPAN (root; session=workflow id, user, tags) +├─ StartWorkflow:TicketTriageWorkflow SPAN +│ └─ RunWorkflow:TicketTriageWorkflow SPAN +│ ├─ triage SPAN +│ │ ├─ StartActivity:classify_ticket → RunActivity:classify_ticket +│ │ │ └─ ChatCompletion GENERATION +│ │ └─ StartActivity:lookup_account → RunActivity:lookup_account +│ └─ StartActivity:draft_reply → RunActivity:draft_reply +│ └─ ChatCompletion GENERATION +└─ StartWorkflowUpdate:approve SPAN + ├─ ValidateUpdate:approve SPAN + └─ HandleUpdate:approve SPAN +``` + +With `--decline`, the `draft_reply` subtree is absent. diff --git a/langfuse_tracing/ticket_triage/__init__.py b/langfuse_tracing/ticket_triage/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/langfuse_tracing/ticket_triage/activities.py b/langfuse_tracing/ticket_triage/activities.py new file mode 100644 index 000000000..77c30b547 --- /dev/null +++ b/langfuse_tracing/ticket_triage/activities.py @@ -0,0 +1,140 @@ +"""Activities for the ticket triage sample. + +All LLM and I/O work happens here, in activities — never in workflow code. +The OpenAI client is instrumented process-wide (see ``telemetry.instrument_openai``), +so each API call below automatically emits a child span of the activity span, +which Langfuse displays as a GENERATION observation with model and token usage. +""" + +import json +import os +from dataclasses import dataclass +from typing import Optional + +from openai import AsyncOpenAI +from temporalio import activity + + +@dataclass +class Ticket: + ticket_id: str + customer_email: str + subject: str + body: str + + +@dataclass +class Classification: + category: str + priority: str + + +@dataclass +class AccountInfo: + customer_email: str + account_name: str + plan: str + + +@dataclass +class DraftReplyInput: + ticket: Ticket + classification: Classification + account: AccountInfo + + +@dataclass +class ApprovalDecision: + approved: bool + reviewer: str + + +@dataclass +class TriageResult: + status: str + classification: Classification + reply: Optional[str] = None + + +CLASSIFY_PROMPT = ( + "You are a support ticket triage assistant. Classify the ticket and respond " + 'with ONLY a JSON object like {"category": "billing|bug|how-to|other", ' + '"priority": "low|normal|high"}.' +) + +DRAFT_PROMPT = ( + "You are a support agent. Draft a short (under 120 words), friendly reply to " + "the customer's ticket. Use the provided classification and account details." +) + + +def _openai_client() -> AsyncOpenAI: + # Configuration comes from the environment, never from activity inputs + # (activity inputs are recorded in workflow history and shown in the UI). + # max_retries=0 disables the OpenAI client's built-in retries — Temporal's + # activity retry policy owns retries, with full visibility in the UI. + return AsyncOpenAI( + base_url=os.environ.get("OPENAI_BASE_URL"), + api_key=os.environ.get("OPENAI_API_KEY"), + max_retries=0, + ) + + +def _parse_classification(text: str) -> Classification: + try: + data = json.loads(text[text.index("{") : text.rindex("}") + 1]) + return Classification( + category=str(data.get("category", "other")).lower(), + priority=str(data.get("priority", "normal")).lower(), + ) + except ValueError: + return Classification(category="other", priority="normal") + + +@activity.defn +async def classify_ticket(ticket: Ticket) -> Classification: + response = await _openai_client().chat.completions.create( + model=os.environ.get("MODEL_CLASSIFY", "gpt-4o-mini"), + messages=[ + {"role": "system", "content": CLASSIFY_PROMPT}, + {"role": "user", "content": f"{ticket.subject}\n\n{ticket.body}"}, + ], + timeout=30, + ) + return _parse_classification(response.choices[0].message.content or "") + + +@activity.defn +async def lookup_account(customer_email: str) -> AccountInfo: + # A deterministic, non-LLM activity: appears in Langfuse as a plain SPAN + # observation alongside the GENERATION observations from the LLM activities. + known_accounts = { + "ada@acme.example": AccountInfo( + customer_email="ada@acme.example", + account_name="Acme Corp", + plan="enterprise", + ), + } + return known_accounts.get( + customer_email, + AccountInfo(customer_email=customer_email, account_name="Unknown", plan="free"), + ) + + +@activity.defn +async def draft_reply(input: DraftReplyInput) -> str: + context = ( + f"Ticket: {input.ticket.subject}\n{input.ticket.body}\n\n" + f"Category: {input.classification.category}, " + f"priority: {input.classification.priority}\n" + f"Account: {input.account.account_name} ({input.account.plan} plan)" + ) + response = await _openai_client().chat.completions.create( + model=os.environ.get("MODEL_DRAFT", "gpt-4o-mini"), + messages=[ + {"role": "system", "content": DRAFT_PROMPT}, + {"role": "user", "content": context}, + ], + timeout=30, + ) + return response.choices[0].message.content or "" diff --git a/langfuse_tracing/ticket_triage/starter.py b/langfuse_tracing/ticket_triage/starter.py new file mode 100644 index 000000000..e77e8e8f8 --- /dev/null +++ b/langfuse_tracing/ticket_triage/starter.py @@ -0,0 +1,120 @@ +"""Starter for the ticket triage sample. + +Opens one root span around the whole interaction (start workflow, send the +approval update, await the result) so that everything — including the +workflow, activity, and LLM spans produced on the worker — lands in a single +Langfuse trace. Langfuse trace-level attributes (name, session, user, tags) +are set on this root span. +""" + +import argparse +import asyncio +import os +import uuid + +from opentelemetry import trace +from temporalio.client import Client +from temporalio.contrib.opentelemetry import OpenTelemetryPlugin +from temporalio.envconfig import ClientConfig + +from langfuse_tracing.telemetry import force_flush, setup_tracing +from langfuse_tracing.ticket_triage.activities import ApprovalDecision, Ticket +from langfuse_tracing.ticket_triage.workflows import TicketTriageWorkflow + +TASK_QUEUE = "langfuse-ticket-triage-task-queue" + + +async def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("--decline", action="store_true", help="Decline the ticket") + parser.add_argument( + "--pause-before-approval", + type=int, + default=0, + metavar="SECONDS", + help="Wait before sending the approval update. While the workflow durably " + "awaits approval you can kill and restart the worker to see that the " + "Langfuse trace still comes out as a single clean tree.", + ) + args = parser.parse_args() + approved = not args.decline + + setup_tracing("ticket-triage-starter") + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[OpenTelemetryPlugin(add_temporal_spans=True)], + ) + + # A fresh workflow ID per run avoids Temporal workflow ID conflicts and + # gives each run its own Langfuse session (langfuse.session.id on the root + # span below). The trace itself is keyed by the root span's trace ID, + # which is new on every run. + workflow_id = f"ticket-triage-{uuid.uuid4().hex[:8]}" + + ticket = Ticket( + ticket_id="T-1001", + customer_email="ada@acme.example", + subject="Charged twice for the July invoice", + body=( + "Hi, my card statement shows two identical charges for our July " + "invoice. Can you check what happened and refund the duplicate?" + ), + ) + + tracer = trace.get_tracer(__name__) + try: + with tracer.start_as_current_span( + "ticket-triage", + attributes={ + # langfuse.* attributes on the trace's root span set Langfuse + # trace-level fields, enabling filtering by session/user/tags. + "langfuse.trace.name": "ticket-triage", + "langfuse.session.id": workflow_id, + "langfuse.user.id": os.environ.get("LANGFUSE_DEMO_USER", "demo-user"), + "langfuse.trace.tags": ["temporal", "ticket-triage"], + "langfuse.trace.metadata.temporal_workflow_id": workflow_id, + }, + ) as root: + trace_id = format(root.get_span_context().trace_id, "032x") + handle = await client.start_workflow( + TicketTriageWorkflow.run, + ticket, + id=workflow_id, + task_queue=TASK_QUEUE, + ) + print(f"Started workflow: {workflow_id}") + + if args.pause_before_approval: + print(f"Pausing {args.pause_before_approval}s before approving ...") + await asyncio.sleep(args.pause_before_approval) + + update_result = await handle.execute_update( + TicketTriageWorkflow.approve, + ApprovalDecision(approved=approved, reviewer="demo-reviewer"), + ) + print(f"Approval update: {update_result}") + + result = await handle.result() + + print(f"Workflow status: {result.status}") + if result.reply: + print(f"Drafted reply:\n{result.reply}") + + host = os.environ.get("LANGFUSE_HOST", "http://localhost:3000").rstrip("/") + # The UI link needs the Langfuse project ID; the default matches the + # project provisioned by langfuse_tracing/langfuse/docker-compose.yml. + project = os.environ.get("LANGFUSE_PROJECT_ID", "langfuse-tracing-demo") + print(f"Trace ID: {trace_id}") + print(f"Langfuse trace: {host}/project/{project}/traces/{trace_id}") + finally: + # The starter is short-lived; flush so its spans (the trace root and + # the client-side StartWorkflow/StartWorkflowUpdate spans) are not + # dropped at process exit. + force_flush() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langfuse_tracing/ticket_triage/worker.py b/langfuse_tracing/ticket_triage/worker.py new file mode 100644 index 000000000..db33e1e8d --- /dev/null +++ b/langfuse_tracing/ticket_triage/worker.py @@ -0,0 +1,70 @@ +"""Worker for the ticket triage sample.""" + +import argparse +import asyncio +import logging + +from temporalio.client import Client +from temporalio.contrib.opentelemetry import OpenTelemetryPlugin +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from langfuse_tracing.telemetry import force_flush, instrument_openai, setup_tracing +from langfuse_tracing.ticket_triage.activities import ( + classify_ticket, + draft_reply, + lookup_account, +) +from langfuse_tracing.ticket_triage.workflows import TicketTriageWorkflow + +TASK_QUEUE = "langfuse-ticket-triage-task-queue" + + +async def main() -> None: + logging.basicConfig(level=logging.INFO) + + parser = argparse.ArgumentParser() + parser.add_argument( + "--replay-stress", + action="store_true", + help="Disable the workflow cache so every workflow task replays the " + "workflow from the start of history — the harshest test that tracing " + "emits each span exactly once. Traces in Langfuse must look identical " + "with or without this flag.", + ) + args = parser.parse_args() + replay_stress = args.replay_stress + + setup_tracing("ticket-triage-worker") + flavor = instrument_openai() + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + # add_temporal_spans=True emits spans for Temporal operations (StartWorkflow, + # RunWorkflow, RunActivity, HandleUpdate, ...) in addition to propagating + # trace context across the client/workflow/activity boundaries. + client = await Client.connect( + **config, + plugins=[OpenTelemetryPlugin(add_temporal_spans=True)], + ) + + worker = Worker( + client, + task_queue=TASK_QUEUE, + workflows=[TicketTriageWorkflow], + activities=[classify_ticket, lookup_account, draft_reply], + max_cached_workflows=0 if replay_stress else 1000, + # No plugins here: workers inherit them from the client. + ) + + mode = "replay-stress (workflow cache disabled)" if replay_stress else "normal" + print(f"Worker started (mode={mode}, llm_instrumentation={flavor}), ctrl+c to exit") + try: + await worker.run() + finally: + force_flush() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langfuse_tracing/ticket_triage/workflows.py b/langfuse_tracing/ticket_triage/workflows.py new file mode 100644 index 000000000..7ec9b897a --- /dev/null +++ b/langfuse_tracing/ticket_triage/workflows.py @@ -0,0 +1,88 @@ +"""Ticket triage workflow with Langfuse tracing via OpenTelemetry. + +The workflow is fully deterministic and runs inside Temporal's standard +workflow sandbox. With ``OpenTelemetryPlugin`` registered on the client, +plain OpenTelemetry APIs work in workflow code: the ``triage`` span below is +created with the regular tracer, gets a deterministic span ID, and is never +re-exported on replay. +""" + +from datetime import timedelta +from typing import Optional + +from temporalio import workflow +from temporalio.common import RetryPolicy + +# Bounded retries for the LLM activities so that a misconfigured endpoint or +# API key fails fast instead of retrying forever. Note that each retry +# attempt records its own RunActivity span in the trace. +LLM_RETRY_POLICY = RetryPolicy(maximum_attempts=3) + +with workflow.unsafe.imports_passed_through(): + from opentelemetry import trace + + from langfuse_tracing.ticket_triage.activities import ( + ApprovalDecision, + Classification, + DraftReplyInput, + Ticket, + TriageResult, + classify_ticket, + draft_reply, + lookup_account, + ) + + +@workflow.defn +class TicketTriageWorkflow: + def __init__(self) -> None: + self._approval: Optional[ApprovalDecision] = None + + @workflow.run + async def run(self, ticket: Ticket) -> TriageResult: + # A custom span grouping the two triage activities. Under the + # OpenTelemetryPlugin this is replay-safe; the activity spans (and the + # LLM generation spans inside them) nest underneath it. + with trace.get_tracer(__name__).start_as_current_span("triage") as span: + classification: Classification = await workflow.execute_activity( + classify_ticket, + ticket, + start_to_close_timeout=timedelta(seconds=60), + retry_policy=LLM_RETRY_POLICY, + ) + account = await workflow.execute_activity( + lookup_account, + ticket.customer_email, + start_to_close_timeout=timedelta(seconds=10), + ) + span.set_attribute("triage.category", classification.category) + span.set_attribute("triage.priority", classification.priority) + + # Wait for a human approval, delivered as a workflow update. + await workflow.wait_condition(lambda: self._approval is not None) + approval = self._approval + assert approval is not None + if not approval.approved: + return TriageResult(status="declined", classification=classification) + + reply = await workflow.execute_activity( + draft_reply, + DraftReplyInput( + ticket=ticket, classification=classification, account=account + ), + start_to_close_timeout=timedelta(seconds=60), + retry_policy=LLM_RETRY_POLICY, + ) + return TriageResult( + status="replied", classification=classification, reply=reply + ) + + @workflow.update + async def approve(self, decision: ApprovalDecision) -> str: + self._approval = decision + return "approved" if decision.approved else "declined" + + @approve.validator + def approve_validator(self, decision: ApprovalDecision) -> None: + if decision.approved and not decision.reviewer: + raise ValueError("approval requires a reviewer") diff --git a/langfuse_tracing/verify_trace.py b/langfuse_tracing/verify_trace.py new file mode 100644 index 000000000..b9d47bceb --- /dev/null +++ b/langfuse_tracing/verify_trace.py @@ -0,0 +1,246 @@ +"""Verify a ticket-triage trace in Langfuse via the public API. + +Fetches the trace, reconstructs the observation tree, and deep-compares it +against the expected shape — including observation types — then checks that +every GENERATION carries a model and token usage, and that no observation was +duplicated (running the worker with --replay-stress surfaces replay-caused +duplicates here, if there were any). + +Usage: + python -m langfuse_tracing.verify_trace --trace-id + python -m langfuse_tracing.verify_trace --workflow-id + python -m langfuse_tracing.verify_trace --trace-id --expect declined + +Stdlib-only on purpose so it is trivially copy-out-able. +""" + +import argparse +import base64 +import json +import os +import sys +import time +import urllib.error +import urllib.parse +import urllib.request +from typing import Any, Optional + +# Expected observation trees as (depth, name, type) rows, children sorted by +# name under each parent. LLM spans are normalized to "" because +# their name depends on the instrumentation flavor ("ChatCompletion" for +# openinference, "chat " for openai-v2); their type must always be +# GENERATION. +EXPECTED_APPROVED = [ + (0, "ticket-triage", "SPAN"), + (1, "StartWorkflow:TicketTriageWorkflow", "SPAN"), + (2, "RunWorkflow:TicketTriageWorkflow", "SPAN"), + (3, "StartActivity:draft_reply", "SPAN"), + (4, "RunActivity:draft_reply", "SPAN"), + (5, "", "GENERATION"), + (3, "triage", "SPAN"), + (4, "StartActivity:classify_ticket", "SPAN"), + (5, "RunActivity:classify_ticket", "SPAN"), + (6, "", "GENERATION"), + (4, "StartActivity:lookup_account", "SPAN"), + (5, "RunActivity:lookup_account", "SPAN"), + (1, "StartWorkflowUpdate:approve", "SPAN"), + (2, "HandleUpdate:approve", "SPAN"), + (2, "ValidateUpdate:approve", "SPAN"), +] +EXPECTED_DECLINED = [ + (0, "ticket-triage", "SPAN"), + (1, "StartWorkflow:TicketTriageWorkflow", "SPAN"), + (2, "RunWorkflow:TicketTriageWorkflow", "SPAN"), + (3, "triage", "SPAN"), + (4, "StartActivity:classify_ticket", "SPAN"), + (5, "RunActivity:classify_ticket", "SPAN"), + (6, "", "GENERATION"), + (4, "StartActivity:lookup_account", "SPAN"), + (5, "RunActivity:lookup_account", "SPAN"), + (1, "StartWorkflowUpdate:approve", "SPAN"), + (2, "HandleUpdate:approve", "SPAN"), + (2, "ValidateUpdate:approve", "SPAN"), +] + + +def _api_get(path: str, params: Optional[dict[str, str]] = None) -> Any: + host = os.environ.get("LANGFUSE_HOST", "http://localhost:3000").rstrip("/") + public_key = os.environ.get("LANGFUSE_PUBLIC_KEY") + secret_key = os.environ.get("LANGFUSE_SECRET_KEY") + if not public_key or not secret_key: + raise SystemExit( + "LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY must be set. Copy " + "langfuse_tracing/.env.example to langfuse_tracing/.env and load it " + "in this terminal: set -a; source langfuse_tracing/.env; set +a" + ) + auth = base64.b64encode(f"{public_key}:{secret_key}".encode()).decode() + url = f"{host}{path}" + if params: + url += "?" + urllib.parse.urlencode(params) + request = urllib.request.Request(url, headers={"Authorization": f"Basic {auth}"}) + with urllib.request.urlopen(request, timeout=15) as response: + return json.loads(response.read()) + + +def _fetch_trace(trace_id: str) -> Optional[dict[str, Any]]: + try: + return _api_get(f"/api/public/traces/{trace_id}") + except urllib.error.HTTPError as err: + if err.code == 404: + return None + raise + + +def _resolve_trace_id_by_workflow_id(workflow_id: str) -> Optional[str]: + # The starter sets langfuse.session.id to the workflow ID on the root span. + result = _api_get("/api/public/traces", {"sessionId": workflow_id, "limit": "10"}) + data = result.get("data") or [] + return data[0]["id"] if data else None + + +def _normalized_name(observation: dict[str, Any]) -> str: + if observation.get("type") == "GENERATION": + return "" + return str(observation["name"]) + + +def _build_tree(observations: list[dict[str, Any]]) -> list[tuple[int, str, str]]: + children: dict[Optional[str], list[dict[str, Any]]] = {} + for observation in observations: + children.setdefault(observation.get("parentObservationId"), []).append( + observation + ) + rows: list[tuple[int, str, str]] = [] + + def walk(observation: dict[str, Any], depth: int) -> None: + rows.append((depth, _normalized_name(observation), str(observation["type"]))) + for child in sorted( + children.get(observation["id"], []), key=lambda o: str(o["name"]) + ): + walk(child, depth + 1) + + for root in sorted(children.get(None, []), key=lambda o: str(o["name"])): + walk(root, 0) + return rows + + +def _print_tree(rows: list[tuple[int, str, str]]) -> None: + for depth, name, type_ in rows: + print(f" {' ' * depth}{name} [{type_}]") + + +def _poll_stable_trace(trace_id: str, timeout_seconds: int) -> dict[str, Any]: + """Poll until the trace exists and its observation count is stable. + + Langfuse ingestion is asynchronous, so a freshly finished run may land + over a few seconds even though export already succeeded. + """ + deadline = time.monotonic() + timeout_seconds + previous_count = -1 + while time.monotonic() < deadline: + trace = _fetch_trace(trace_id) + if trace is not None: + count = len(trace.get("observations") or []) + if count > 0 and count == previous_count: + return trace + previous_count = count + time.sleep(2) + raise SystemExit( + f"FAIL: trace {trace_id} not fully ingested within {timeout_seconds}s" + ) + + +def _verify_trace(args: argparse.Namespace) -> int: + trace_id = args.trace_id + if not trace_id: + trace_id = _resolve_trace_id_by_workflow_id(args.workflow_id) + if not trace_id: + print(f"FAIL: no trace found for workflow id {args.workflow_id}") + return 1 + + trace = _poll_stable_trace(trace_id, args.timeout) + observations = trace.get("observations") or [] + failures: list[str] = [] + + # 1. No duplicate observations (replay must not re-emit spans). + ids = [o["id"] for o in observations] + if len(set(ids)) != len(ids): + failures.append("duplicate observation ids present") + actual = _build_tree(observations) + if len(set(actual)) != len(actual): + failures.append( + "duplicate (depth, name, type) rows — extra spans present (workflow " + "replay must never re-emit spans; activity retries also add a " + "RunActivity span per attempt)" + ) + + # 2. Whole-tree deep equality, types included. + expected = EXPECTED_DECLINED if args.expect == "declined" else EXPECTED_APPROVED + print(f"Trace {trace_id}: {len(observations)} observations") + _print_tree(actual) + if actual != expected: + failures.append("tree mismatch") + print(" Expected:") + _print_tree(expected) + + # 3. Every GENERATION has a model and token usage. + for observation in observations: + if observation["type"] != "GENERATION": + continue + usage = observation.get("usage") or {} + if not observation.get("model"): + failures.append(f"GENERATION {observation['id']} missing model") + if not usage.get("input") or not usage.get("output"): + failures.append(f"GENERATION {observation['id']} missing token usage") + if args.require_content and ( + observation.get("input") is None or observation.get("output") is None + ): + failures.append( + f"GENERATION {observation['id']} missing input/output content" + ) + + # 4. Trace-level enrichment from the starter's root span. + if trace.get("name") != "ticket-triage": + failures.append( + f"trace name is {trace.get('name')!r}, expected 'ticket-triage'" + ) + if not trace.get("sessionId"): + failures.append("trace has no session id (expected the workflow id)") + if not trace.get("userId"): + failures.append("trace has no user id") + if "temporal" not in (trace.get("tags") or []): + failures.append("trace missing 'temporal' tag") + + if failures: + for failure in failures: + print(f"FAIL: {failure}") + return 1 + print("PASS: tree shape, observation types, generations, and enrichment all match") + return 0 + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--trace-id", help="Trace ID printed by the starter") + parser.add_argument("--workflow-id", help="Workflow ID (resolved via session id)") + parser.add_argument( + "--expect", choices=["approved", "declined"], default="approved" + ) + parser.add_argument("--timeout", type=int, default=60) + parser.add_argument( + "--require-content", + action="store_true", + default=os.environ.get("LLM_INSTRUMENTATION", "openinference") + == "openinference", + help="Assert GENERATIONs carry input/output content " + "(default true for openinference)", + ) + args = parser.parse_args() + + if not args.trace_id and not args.workflow_id: + parser.error("one of --trace-id or --workflow-id is required") + return _verify_trace(args) + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/langgraph_plugin/README.md b/langgraph_plugin/README.md new file mode 100644 index 000000000..8bb8d2c51 --- /dev/null +++ b/langgraph_plugin/README.md @@ -0,0 +1,75 @@ +# LangGraph Plugin Samples + +These samples demonstrate the [Temporal LangGraph plugin](https://github.com/temporalio/sdk-python/tree/main/temporalio/contrib/langgraph), which runs LangGraph workflows as durable Temporal workflows. Each LangGraph graph node (Graph API) or `@task` (Functional API) executes directly inside a workflow or as a Temporal activity with automatic retries, timeouts, and crash recovery. + +Samples are organized by API style: + +- **Graph API** (`graph_api/`) -- Define workflows as `StateGraph` with nodes and edges. +- **Functional API** (`functional_api/`) -- Define workflows with `@task` and `@entrypoint` decorators for an imperative programming style. + +## Samples + +| Sample | Graph API | Functional API | Description | +|--------|:---------:|:--------------:|-------------| +| **Hello World** | [graph_api/hello_world](graph_api/hello_world) | [functional_api/hello_world](functional_api/hello_world) | Minimal sample -- single node/task that processes a query string. Start here. | +| **Human-in-the-loop** | [graph_api/human_in_the_loop](graph_api/human_in_the_loop) | [functional_api/human_in_the_loop](functional_api/human_in_the_loop) | Chatbot that uses `interrupt()` to pause for human approval, Temporal signals to receive feedback, and queries to expose the pending draft. | +| **Continue-as-new** | [graph_api/continue_as_new](graph_api/continue_as_new) | [functional_api/continue_as_new](functional_api/continue_as_new) | Multi-stage data pipeline that uses `continue-as-new` with task result caching so previously-completed stages are not re-executed. | +| **ReAct Agent** | [graph_api/react_agent](graph_api/react_agent) | [functional_api/react_agent](functional_api/react_agent) | Tool-calling agent loop. Graph API uses conditional edges; Functional API uses a `while` loop. | +| **Control Flow** | -- | [functional_api/control_flow](functional_api/control_flow) | Demonstrates parallel task execution, `for` loops, and `if/else` branching -- patterns that are natural in the Functional API. | +| **Streaming** | [graph_api/streaming](graph_api/streaming) | -- | Streams live output from a running workflow via [Workflow Streams](https://github.com/temporalio/sdk-python/tree/main/temporalio/contrib/workflow_streams): node tokens via `get_stream_writer()` + `streaming_topic`, plus workflow-side `astream` progress published with `WorkflowStream.topic().publish()`. | +| **LangSmith Tracing** | [graph_api/langsmith_tracing](graph_api/langsmith_tracing) | [functional_api/langsmith_tracing](functional_api/langsmith_tracing) | Combines `LangGraphPlugin` with Temporal's `LangSmithPlugin` for durable execution + full observability of LLM calls. Requires API keys. | + +## Prerequisites + +1. Install dependencies: + + ```bash + uv sync --group langgraph + ``` + +2. Start a local dev server with the [Temporal CLI](https://docs.temporal.io/cli): + + ```bash + temporal server start-dev + ``` + +## Running a Sample + +Most samples have two scripts -- start the Worker first, then the Workflow starter in a separate terminal. + +```bash +# Terminal 1: start the Worker +uv run langgraph_plugin///run_worker.py + +# Terminal 2: start the Workflow +uv run langgraph_plugin///run_workflow.py +``` + +For example, to run the Graph API human-in-the-loop chatbot: + +```bash +# Terminal 1 +uv run langgraph_plugin/graph_api/human_in_the_loop/run_worker.py + +# Terminal 2 +uv run langgraph_plugin/graph_api/human_in_the_loop/run_workflow.py +``` + +The LangSmith Tracing samples bundle the Worker and Workflow execution into a single `main.py`: + +```bash +uv run langgraph_plugin//langsmith_tracing/main.py +``` + +## Key Features Demonstrated + +- **Durable execution** -- Every graph node / `@task` runs in a Workflow or as a Temporal activity with configurable timeouts and retry policies. +- **Human-in-the-loop** -- LangGraph's `interrupt()` pauses the graph; Temporal signals deliver human input; queries expose pending state to UIs. +- **Continue-as-new with caching** -- `cache()` captures completed task results; passing the cache to the next execution avoids re-running them. +- **Conditional routing** -- Graph API's `add_conditional_edges` and Functional API's native `if/else`/`while` for agent loops. +- **Parallel execution** -- Functional API launches multiple tasks concurrently by creating futures before awaiting them. +- **Streaming** -- Workflow Streams expose a durable, offset-addressed event channel that external clients subscribe to while the workflow is still running. Nodes emit fine-grained tokens via `get_stream_writer()` (routed by the plugin's `streaming_topic`), and the workflow can publish coarse `astream` progress to its own topic. + +## Related + +- [Temporal LangGraph plugin docs](https://github.com/temporalio/sdk-python/tree/main/temporalio/contrib/langgraph) diff --git a/langgraph_plugin/__init__.py b/langgraph_plugin/__init__.py new file mode 100644 index 000000000..a85231853 --- /dev/null +++ b/langgraph_plugin/__init__.py @@ -0,0 +1 @@ +"""Temporal LangGraph plugin samples.""" diff --git a/langgraph_plugin/functional_api/__init__.py b/langgraph_plugin/functional_api/__init__.py new file mode 100644 index 000000000..6caae83ec --- /dev/null +++ b/langgraph_plugin/functional_api/__init__.py @@ -0,0 +1 @@ +"""LangGraph Functional API samples using @task and @entrypoint.""" diff --git a/langgraph_plugin/functional_api/continue_as_new/README.md b/langgraph_plugin/functional_api/continue_as_new/README.md new file mode 100644 index 000000000..384aa89c9 --- /dev/null +++ b/langgraph_plugin/functional_api/continue_as_new/README.md @@ -0,0 +1,36 @@ +# Continue-as-New with Caching (Functional API) + +Demonstrates combining Temporal's continue-as-new with the LangGraph plugin's task result cache to avoid re-executing completed `@task` functions across workflow boundaries. + +## What This Sample Demonstrates + +- Task result caching across continue-as-new boundaries with `cache()` +- Restoring cached results with `entrypoint(name, cache=...)` +- Each `@task` executes exactly once despite multiple workflow invocations + +## How It Works + +1. Three tasks run sequentially: `double` (x2) -> `add_50` (+50) -> `triple` (x3). +2. After the first invocation, the workflow continues-as-new with the cache. +3. On subsequent invocations, all tasks return cached results instantly. +4. Input 10 -> 20 -> 70 -> 210. + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1 +uv run langgraph_plugin/functional_api/continue_as_new/run_worker.py + +# Terminal 2 +uv run langgraph_plugin/functional_api/continue_as_new/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `@task` functions, `@entrypoint`, `PipelineInput`, and `PipelineFunctionalWorkflow` | +| `run_worker.py` | Registers tasks and entrypoint with `LangGraphPlugin`, starts Worker | +| `run_workflow.py` | Executes the pipeline Workflow and prints the result | diff --git a/langgraph_plugin/functional_api/continue_as_new/__init__.py b/langgraph_plugin/functional_api/continue_as_new/__init__.py new file mode 100644 index 000000000..5b90703e9 --- /dev/null +++ b/langgraph_plugin/functional_api/continue_as_new/__init__.py @@ -0,0 +1 @@ +"""Continue-as-new pipeline with task result caching.""" diff --git a/langgraph_plugin/functional_api/continue_as_new/run_worker.py b/langgraph_plugin/functional_api/continue_as_new/run_worker.py new file mode 100644 index 000000000..a6b6a9d76 --- /dev/null +++ b/langgraph_plugin/functional_api/continue_as_new/run_worker.py @@ -0,0 +1,37 @@ +"""Worker for the continue-as-new pipeline (Functional API).""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.continue_as_new.workflow import ( + PipelineFunctionalWorkflow, + activity_options, + all_tasks, + pipeline_entrypoint, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + plugin = LangGraphPlugin( + entrypoints={"pipeline": pipeline_entrypoint}, + tasks=all_tasks, + activity_options=activity_options, + ) + + worker = Worker( + client, + task_queue="langgraph-pipeline-functional", + workflows=[PipelineFunctionalWorkflow], + plugins=[plugin], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/continue_as_new/run_workflow.py b/langgraph_plugin/functional_api/continue_as_new/run_workflow.py new file mode 100644 index 000000000..563aaba6b --- /dev/null +++ b/langgraph_plugin/functional_api/continue_as_new/run_workflow.py @@ -0,0 +1,31 @@ +"""Start the continue-as-new pipeline workflow (Functional API).""" + +import asyncio +import os +from datetime import timedelta + +from temporalio.client import Client + +from langgraph_plugin.functional_api.continue_as_new.workflow import ( + PipelineFunctionalWorkflow, + PipelineInput, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + PipelineFunctionalWorkflow.run, + PipelineInput(data=10), + id="pipeline-functional-workflow", + task_queue="langgraph-pipeline-functional", + execution_timeout=timedelta(seconds=60), + ) + + # 10*2=20 -> 20+50=70 -> 70*3=210 + print(f"Pipeline result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/continue_as_new/workflow.py b/langgraph_plugin/functional_api/continue_as_new/workflow.py new file mode 100644 index 000000000..9810c05ed --- /dev/null +++ b/langgraph_plugin/functional_api/continue_as_new/workflow.py @@ -0,0 +1,92 @@ +"""Continue-as-new with caching using the LangGraph Functional API with Temporal. + +Demonstrates Temporal's continue-as-new with the LangGraph plugin's task +result cache to avoid re-executing completed @task functions across +workflow boundaries. +""" + +from dataclasses import dataclass +from datetime import timedelta +from typing import Any + +from langgraph.func import entrypoint, task +from temporalio import workflow +from temporalio.contrib.langgraph import cache +from temporalio.contrib.langgraph import entrypoint as temporal_entrypoint + + +@task +def double(data: int) -> int: + """Stage 1: double the input.""" + return data * 2 + + +@task +def add_50(data: int) -> int: + """Stage 2: add 50.""" + return data + 50 + + +@task +def triple(data: int) -> int: + """Stage 3: triple the result.""" + return data * 3 + + +@entrypoint() +async def pipeline_entrypoint(data: int) -> dict: + """Run the 3-stage pipeline: double -> add_50 -> triple.""" + doubled = await double(data) + plus_50 = await add_50(doubled) + tripled = await triple(plus_50) + return {"result": tripled} + + +all_tasks = [double, add_50, triple] + +activity_options = { + "double": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, + "add_50": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, + "triple": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, +} + + +@dataclass +class PipelineInput: + data: int + cache: dict[str, Any] | None = None + phase: int = 1 + + +@workflow.defn +class PipelineFunctionalWorkflow: + """Runs the pipeline, continuing-as-new after each phase. + + Input 10: 10*2=20 -> 20+50=70 -> 70*3=210 + Each task executes once; phases 2 and 3 use cached results. + """ + + @workflow.run + async def run(self, input_data: PipelineInput) -> dict[str, Any]: + app = temporal_entrypoint("pipeline", cache=input_data.cache) + result = await app.ainvoke(input_data.data) + + if input_data.phase < 3: + workflow.continue_as_new( + PipelineInput( + data=input_data.data, + cache=cache(), + phase=input_data.phase + 1, + ) + ) + + return result diff --git a/langgraph_plugin/functional_api/control_flow/README.md b/langgraph_plugin/functional_api/control_flow/README.md new file mode 100644 index 000000000..e6e1ec493 --- /dev/null +++ b/langgraph_plugin/functional_api/control_flow/README.md @@ -0,0 +1,37 @@ +# Control Flow (Functional API) + +Demonstrates the Functional API's strength for complex control flow: parallel execution, sequential loops, and conditional branching — all as natural Python code. + +## What This Sample Demonstrates + +- **Parallel execution**: launching multiple tasks concurrently by creating futures before awaiting +- **For loops**: processing items sequentially with `for item in items` +- **If/else branching**: routing items based on classification results +- Why the Functional API is ideal for programmatic composition patterns + +## How It Works + +1. A batch of items is validated **in parallel** — all `validate_item` tasks launch concurrently. +2. Valid items are processed **sequentially** in a for loop. +3. Each item is classified, then routed via **if/else** to `process_urgent` or `process_normal`. +4. Results are aggregated with a `summarize` task. + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1 +uv run langgraph_plugin/functional_api/control_flow/run_worker.py + +# Terminal 2 +uv run langgraph_plugin/functional_api/control_flow/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `@task` functions (validate, classify, process, summarize), `@entrypoint`, and `ControlFlowWorkflow` | +| `run_worker.py` | Registers tasks and entrypoint with `LangGraphPlugin`, starts worker | +| `run_workflow.py` | Sends a batch of items and prints processing results | diff --git a/langgraph_plugin/functional_api/control_flow/__init__.py b/langgraph_plugin/functional_api/control_flow/__init__.py new file mode 100644 index 000000000..e78d3ea4a --- /dev/null +++ b/langgraph_plugin/functional_api/control_flow/__init__.py @@ -0,0 +1 @@ +"""Control flow: parallel execution, for loops, and if/else branching.""" diff --git a/langgraph_plugin/functional_api/control_flow/run_worker.py b/langgraph_plugin/functional_api/control_flow/run_worker.py new file mode 100644 index 000000000..0a73c19f3 --- /dev/null +++ b/langgraph_plugin/functional_api/control_flow/run_worker.py @@ -0,0 +1,37 @@ +"""Worker for the control flow pipeline (Functional API).""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.control_flow.workflow import ( + ControlFlowWorkflow, + activity_options, + all_tasks, + control_flow_pipeline, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + plugin = LangGraphPlugin( + entrypoints={"control-flow": control_flow_pipeline}, + tasks=all_tasks, + activity_options=activity_options, + ) + + worker = Worker( + client, + task_queue="langgraph-control-flow", + workflows=[ControlFlowWorkflow], + plugins=[plugin], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/control_flow/run_workflow.py b/langgraph_plugin/functional_api/control_flow/run_workflow.py new file mode 100644 index 000000000..2784415b9 --- /dev/null +++ b/langgraph_plugin/functional_api/control_flow/run_workflow.py @@ -0,0 +1,38 @@ +"""Start the control flow pipeline workflow (Functional API).""" + +import asyncio +import os + +from temporalio.client import Client + +from langgraph_plugin.functional_api.control_flow.workflow import ( + ControlFlowWorkflow, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + items = [ + "Fix login bug", + "URGENT: Production outage in payments", + "Update README", + "INVALID:", + "Urgent: Security patch needed", + "Refactor test suite", + ] + + result = await client.execute_workflow( + ControlFlowWorkflow.run, + items, + id="control-flow-workflow", + task_queue="langgraph-control-flow", + ) + + print(f"Summary: {result['summary']}") + for r in result["results"]: + print(f" {r}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/control_flow/workflow.py b/langgraph_plugin/functional_api/control_flow/workflow.py new file mode 100644 index 000000000..383af0076 --- /dev/null +++ b/langgraph_plugin/functional_api/control_flow/workflow.py @@ -0,0 +1,113 @@ +"""Control flow sample using the LangGraph Functional API with Temporal. + +Demonstrates the Functional API's advantage for complex control flow: + - Parallel task execution (launch multiple tasks concurrently) + - Sequential for-loop processing + - Conditional if/else branching based on intermediate results +""" + +from datetime import timedelta + +from langgraph.func import entrypoint, task +from temporalio import workflow +from temporalio.contrib.langgraph import entrypoint as temporal_entrypoint + + +@task +def validate_item(item: str) -> bool: + """Validate an item. Returns True if the item is non-empty and well-formed.""" + return len(item.strip()) > 0 and not item.startswith("INVALID:") + + +@task +def classify_item(item: str) -> str: + """Classify an item as 'urgent' or 'normal' based on its content.""" + return "urgent" if "urgent" in item.lower() else "normal" + + +@task +def process_urgent(item: str) -> str: + """Process an urgent item with priority handling.""" + return f"[PRIORITY] Processed: {item}" + + +@task +def process_normal(item: str) -> str: + """Process a normal item with standard handling.""" + return f"[STANDARD] Processed: {item}" + + +@task +def summarize(results: list[str]) -> str: + """Produce a summary of all processed results.""" + urgent_count = sum(1 for r in results if r.startswith("[PRIORITY]")) + normal_count = sum(1 for r in results if r.startswith("[STANDARD]")) + return ( + f"Processed {len(results)} items ({urgent_count} urgent, {normal_count} normal)" + ) + + +@entrypoint() +async def control_flow_pipeline(items: list[str]) -> dict: + """Process a batch of items with parallel validation, sequential + classification, and conditional routing. + """ + # PARALLEL: Validate all items concurrently. + # Creating task futures without awaiting launches them in parallel. + validation_futures = [validate_item(item) for item in items] + valid_flags = [await f for f in validation_futures] + valid_items = [item for item, is_valid in zip(items, valid_flags) if is_valid] + + # SEQUENTIAL + CONDITIONAL: Process each valid item + results = [] + for item in valid_items: + category = await classify_item(item) + if category == "urgent": + result = await process_urgent(item) + else: + result = await process_normal(item) + results.append(result) + + # Aggregate all results + summary_text = await summarize(results) + + return {"results": results, "summary": summary_text, "total": len(results)} + + +all_tasks = [ + validate_item, + classify_item, + process_urgent, + process_normal, + summarize, +] + +activity_options = { + "validate_item": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, + "classify_item": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, + "process_urgent": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, + "process_normal": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, + "summarize": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, +} + + +@workflow.defn +class ControlFlowWorkflow: + @workflow.run + async def run(self, items: list[str]) -> dict: + return await temporal_entrypoint("control-flow").ainvoke(items) diff --git a/langgraph_plugin/functional_api/hello_world/README.md b/langgraph_plugin/functional_api/hello_world/README.md new file mode 100644 index 000000000..4f66cf89c --- /dev/null +++ b/langgraph_plugin/functional_api/hello_world/README.md @@ -0,0 +1,29 @@ +# Hello World (Functional API) + +The simplest possible LangGraph Functional API + Temporal sample: a single `@task` called from an `@entrypoint`. + +## What This Sample Demonstrates + +- Defining a `@task` and `@entrypoint` +- Wrapping them with `LangGraphPlugin` so the task runs as a Temporal activity +- Invoking the entrypoint from a Temporal workflow + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1 +uv run langgraph_plugin/functional_api/hello_world/run_worker.py + +# Terminal 2 +uv run langgraph_plugin/functional_api/hello_world/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `process_query` task, `hello_entrypoint`, and `HelloWorldFunctionalWorkflow` | +| `run_worker.py` | Registers task and entrypoint with `LangGraphPlugin`, starts worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/langgraph_plugin/functional_api/hello_world/__init__.py b/langgraph_plugin/functional_api/hello_world/__init__.py new file mode 100644 index 000000000..977660112 --- /dev/null +++ b/langgraph_plugin/functional_api/hello_world/__init__.py @@ -0,0 +1 @@ +"""Minimal hello world — @task and @entrypoint.""" diff --git a/langgraph_plugin/functional_api/hello_world/run_worker.py b/langgraph_plugin/functional_api/hello_world/run_worker.py new file mode 100644 index 000000000..7039ee027 --- /dev/null +++ b/langgraph_plugin/functional_api/hello_world/run_worker.py @@ -0,0 +1,37 @@ +"""Worker for the hello world sample (Functional API).""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.hello_world.workflow import ( + HelloWorldFunctionalWorkflow, + activity_options, + all_tasks, + hello_entrypoint, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + plugin = LangGraphPlugin( + entrypoints={"hello-world": hello_entrypoint}, + tasks=all_tasks, + activity_options=activity_options, + ) + + worker = Worker( + client, + task_queue="langgraph-hello-world-functional", + workflows=[HelloWorldFunctionalWorkflow], + plugins=[plugin], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/hello_world/run_workflow.py b/langgraph_plugin/functional_api/hello_world/run_workflow.py new file mode 100644 index 000000000..77cc92fb4 --- /dev/null +++ b/langgraph_plugin/functional_api/hello_world/run_workflow.py @@ -0,0 +1,27 @@ +"""Start the hello world workflow (Functional API).""" + +import asyncio +import os + +from temporalio.client import Client + +from langgraph_plugin.functional_api.hello_world.workflow import ( + HelloWorldFunctionalWorkflow, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + HelloWorldFunctionalWorkflow.run, + "Hello, Temporal + LangGraph!", + id="hello-world-functional-workflow", + task_queue="langgraph-hello-world-functional", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/hello_world/workflow.py b/langgraph_plugin/functional_api/hello_world/workflow.py new file mode 100644 index 000000000..36552806d --- /dev/null +++ b/langgraph_plugin/functional_api/hello_world/workflow.py @@ -0,0 +1,40 @@ +"""Hello world using the LangGraph Functional API with Temporal. + +The simplest possible sample: a single task called from an entrypoint. +""" + +from datetime import timedelta + +from langgraph.func import entrypoint, task +from temporalio import workflow +from temporalio.contrib.langgraph import entrypoint as temporal_entrypoint + + +@task +def process_query(query: str) -> str: + """Process a query and return a response.""" + return f"Processed: {query}" + + +@entrypoint() +async def hello_entrypoint(query: str) -> dict: + """Process the query and return it in a result dict.""" + result = await process_query(query) + return {"result": result} + + +all_tasks = [process_query] + +activity_options = { + "process_query": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=10), + }, +} + + +@workflow.defn +class HelloWorldFunctionalWorkflow: + @workflow.run + async def run(self, query: str) -> dict: + return await temporal_entrypoint("hello-world").ainvoke(query) diff --git a/langgraph_plugin/functional_api/human_in_the_loop/README.md b/langgraph_plugin/functional_api/human_in_the_loop/README.md new file mode 100644 index 000000000..9df7ba652 --- /dev/null +++ b/langgraph_plugin/functional_api/human_in_the_loop/README.md @@ -0,0 +1,38 @@ +# Human-in-the-Loop Chatbot (Functional API) + +Demonstrates pausing an entrypoint with LangGraph's `interrupt()` and waiting indefinitely for human review with Temporal's `workflow.wait_condition()`. A Temporal signal delivers the human's feedback; a Temporal query exposes the pending draft to UIs. + +## What This Sample Demonstrates + +- `workflow.wait_condition()` to block the Workflow until human input arrives — for as long as it takes, with no polling and no timeout +- `interrupt()` inside a `@task` to pause the entrypoint at the review point +- Temporal **signals** to deliver human feedback and **queries** to expose the pending draft +- Resuming with `Command(resume=...)` via the v2 API +- Setting a checkpointer on the entrypoint for interrupt/resume support + +## How It Works + +1. The `generate_draft` task produces a draft response. +2. The `request_human_review` task calls `interrupt(draft)`, pausing the entrypoint. +3. The Workflow stores the draft (visible via the query) and calls `workflow.wait_condition()` — blocking durably until the signal sets `_human_input`. This can wait indefinitely; Temporal persists the state. +4. After the signal arrives, the entrypoint resumes with `Command(resume=...)` and returns the final response. + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1 +uv run langgraph_plugin/functional_api/human_in_the_loop/run_worker.py + +# Terminal 2 +uv run langgraph_plugin/functional_api/human_in_the_loop/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `@task` functions, `@entrypoint`, and `ChatbotFunctionalWorkflow` | +| `run_worker.py` | Registers tasks and entrypoint with `LangGraphPlugin`, starts worker | +| `run_workflow.py` | Starts workflow, polls draft via query, sends approval via signal | diff --git a/langgraph_plugin/functional_api/human_in_the_loop/__init__.py b/langgraph_plugin/functional_api/human_in_the_loop/__init__.py new file mode 100644 index 000000000..72da02f88 --- /dev/null +++ b/langgraph_plugin/functional_api/human_in_the_loop/__init__.py @@ -0,0 +1 @@ +"""Human-in-the-loop chatbot using interrupt() and Temporal signals.""" diff --git a/langgraph_plugin/functional_api/human_in_the_loop/run_worker.py b/langgraph_plugin/functional_api/human_in_the_loop/run_worker.py new file mode 100644 index 000000000..c8f84b492 --- /dev/null +++ b/langgraph_plugin/functional_api/human_in_the_loop/run_worker.py @@ -0,0 +1,37 @@ +"""Worker for the human-in-the-loop chatbot (Functional API).""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.human_in_the_loop.workflow import ( + ChatbotFunctionalWorkflow, + activity_options, + all_tasks, + chatbot_entrypoint, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + plugin = LangGraphPlugin( + entrypoints={"chatbot": chatbot_entrypoint}, + tasks=all_tasks, + activity_options=activity_options, + ) + + worker = Worker( + client, + task_queue="langgraph-chatbot-functional", + workflows=[ChatbotFunctionalWorkflow], + plugins=[plugin], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/human_in_the_loop/run_workflow.py b/langgraph_plugin/functional_api/human_in_the_loop/run_workflow.py new file mode 100644 index 000000000..5074b9370 --- /dev/null +++ b/langgraph_plugin/functional_api/human_in_the_loop/run_workflow.py @@ -0,0 +1,39 @@ +"""Start the human-in-the-loop chatbot workflow (Functional API).""" + +import asyncio +import os + +from temporalio.client import Client + +from langgraph_plugin.functional_api.human_in_the_loop.workflow import ( + ChatbotFunctionalWorkflow, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + handle = await client.start_workflow( + ChatbotFunctionalWorkflow.run, + "What is the meaning of life?", + id="chatbot-functional-workflow", + task_queue="langgraph-chatbot-functional", + ) + + # Poll until the draft is ready for review + draft = None + while draft is None: + await asyncio.sleep(0.5) + draft = await handle.query(ChatbotFunctionalWorkflow.get_draft) + + print(f"Draft for review: {draft}") + + # Send approval via signal + await handle.signal(ChatbotFunctionalWorkflow.provide_feedback, "approve") + + result = await handle.result() + print(f"Final response: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/human_in_the_loop/workflow.py b/langgraph_plugin/functional_api/human_in_the_loop/workflow.py new file mode 100644 index 000000000..857ef37f3 --- /dev/null +++ b/langgraph_plugin/functional_api/human_in_the_loop/workflow.py @@ -0,0 +1,95 @@ +"""Human-in-the-loop chatbot using the LangGraph Functional API with Temporal. + +The @entrypoint pauses at interrupt(); the Workflow waits indefinitely with +workflow.wait_condition() until a Temporal signal delivers human feedback, +then resumes the entrypoint with Command(resume=...). +""" + +from datetime import timedelta +from typing import Any + +from langchain_core.runnables import RunnableConfig +from langgraph.checkpoint.memory import InMemorySaver +from langgraph.func import entrypoint, task +from langgraph.types import Command, interrupt +from temporalio import workflow +from temporalio.contrib.langgraph import entrypoint as temporal_entrypoint + + +@task +def generate_draft(message: str) -> str: + """Generate a draft response. Replace with an LLM call in production.""" + return ( + f"Here's my response to '{message}': " + "The answer is 42. Let me know if this helps!" + ) + + +@task +def request_human_review(draft: str) -> str: + """Pause execution to request human review of the draft.""" + feedback = interrupt(draft) + if feedback == "approve": + return draft + return f"[Revised] {draft} (incorporating feedback: {feedback})" + + +@entrypoint() +async def chatbot_entrypoint(user_message: str) -> dict: + """Chatbot entrypoint: generate a draft, get human review, return result.""" + draft = await generate_draft(user_message) + final_response = await request_human_review(draft) + return {"response": final_response} + + +all_tasks = [generate_draft, request_human_review] + +activity_options = { + "generate_draft": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, + "request_human_review": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, +} + + +@workflow.defn +class ChatbotFunctionalWorkflow: + def __init__(self) -> None: + self._human_input: str | None = None + self._draft: str | None = None + + @workflow.signal + async def provide_feedback(self, feedback: str) -> None: + """Signal handler: receives human feedback.""" + self._human_input = feedback + + @workflow.query + def get_draft(self) -> str | None: + """Query handler: returns the pending draft for review, or None.""" + return self._draft + + @workflow.run + async def run(self, user_message: str) -> dict[str, Any]: + app = temporal_entrypoint("chatbot") + app.checkpointer = InMemorySaver() + config = RunnableConfig( + {"configurable": {"thread_id": workflow.info().workflow_id}} + ) + + # First invocation: runs until interrupt() pauses for human review + result = await app.ainvoke(user_message, config, version="v2") + + self._draft = result.interrupts[0].value + + # Wait for human feedback via Temporal signal + await workflow.wait_condition(lambda: self._human_input is not None) + + # Resume with the human's feedback + resumed = await app.ainvoke( + Command(resume=self._human_input), config, version="v2" + ) + return resumed.value diff --git a/langgraph_plugin/functional_api/langsmith_tracing/README.md b/langgraph_plugin/functional_api/langsmith_tracing/README.md new file mode 100644 index 000000000..b072cd4d6 --- /dev/null +++ b/langgraph_plugin/functional_api/langsmith_tracing/README.md @@ -0,0 +1,37 @@ +# LangSmith Tracing (Functional API) + +Demonstrates combining `LangGraphPlugin` (durable task execution) with Temporal's `LangSmithPlugin` for full tracing of LLM calls through Temporal workflows, using LangGraph's `@task` and `@entrypoint` decorators. + +## What This Sample Demonstrates + +- Using `LangSmithPlugin` on the Temporal client for automatic trace propagation +- Using `LangGraphPlugin` on the Worker for durable LangGraph execution +- `@traceable` in three places: on the `@task` (Activity) itself, on a helper called from inside the `@task`, and on a helper called from inside the `@entrypoint` (Workflow) +- Both plugins working together: durability + observability + +## How It Works + +1. The Temporal client is created with `LangSmithPlugin(add_temporal_runs=True)`. +2. A Worker registers the `chat` task with `LangGraphPlugin`. +3. When the Workflow runs, the `chat` task executes as a Temporal Activity. +4. `@traceable` decorators emit trace data to LangSmith for the task, an in-task helper, and an in-entrypoint helper. + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +export ANTHROPIC_API_KEY='your-key' +export LANGCHAIN_API_KEY='your-key' + +uv run langgraph_plugin/functional_api/langsmith_tracing/main.py +``` + +Traces will appear in your [LangSmith](https://smith.langchain.com/) dashboard. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `@traceable` chat task + helpers, `@entrypoint`, and `ChatFunctionalWorkflow` | +| `main.py` | Starts a Worker and executes the Workflow in a single process | diff --git a/langgraph_plugin/functional_api/langsmith_tracing/__init__.py b/langgraph_plugin/functional_api/langsmith_tracing/__init__.py new file mode 100644 index 000000000..4cb57b73a --- /dev/null +++ b/langgraph_plugin/functional_api/langsmith_tracing/__init__.py @@ -0,0 +1 @@ +"""LangSmith tracing with LangGraph Functional API and Temporal.""" diff --git a/langgraph_plugin/functional_api/langsmith_tracing/main.py b/langgraph_plugin/functional_api/langsmith_tracing/main.py new file mode 100644 index 000000000..0d29afb76 --- /dev/null +++ b/langgraph_plugin/functional_api/langsmith_tracing/main.py @@ -0,0 +1,51 @@ +"""Run the LangSmith tracing chat sample (Functional API). + +Single-process driver: starts a Worker, executes the Workflow once, prints +the result, then shuts down. Requires ANTHROPIC_API_KEY and LANGCHAIN_API_KEY. +""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.contrib.langsmith import LangSmithPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.langsmith_tracing.workflow import ( + ChatFunctionalWorkflow, + activity_options, + all_tasks, + chat_entrypoint, +) + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[LangSmithPlugin(add_temporal_runs=True)], + ) + + async with Worker( + client, + task_queue="langgraph-langsmith-functional", + workflows=[ChatFunctionalWorkflow], + plugins=[ + LangGraphPlugin( + entrypoints={"chat": chat_entrypoint}, + tasks=all_tasks, + activity_options=activity_options, + ) + ], + ): + result = await client.execute_workflow( + ChatFunctionalWorkflow.run, + "What is the meaning of life?", + id="langsmith-chat-functional-workflow", + task_queue="langgraph-langsmith-functional", + ) + print(f"Response: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/langsmith_tracing/workflow.py b/langgraph_plugin/functional_api/langsmith_tracing/workflow.py new file mode 100644 index 000000000..ddea44bcb --- /dev/null +++ b/langgraph_plugin/functional_api/langsmith_tracing/workflow.py @@ -0,0 +1,66 @@ +"""LangSmith tracing with LangGraph Functional API and Temporal. + +Demonstrates combining LangGraphPlugin (durable task execution) with +LangSmithPlugin (observability) for full tracing of LLM calls through +Temporal workflows. + +Three @traceable use cases are demonstrated: +1. The @task (Activity) function itself: `chat`. +2. A helper called from inside the @task: `format_prompt`. +3. A helper called from inside the @entrypoint (Workflow): `summarize_for_log`. + +Requires ANTHROPIC_API_KEY and LANGCHAIN_API_KEY environment variables. +""" + +from datetime import timedelta + +from langchain.chat_models import init_chat_model +from langgraph.func import entrypoint, task +from langsmith import traceable +from temporalio import workflow +from temporalio.contrib.langgraph import entrypoint as temporal_entrypoint + + +@traceable(name="format_prompt", run_type="prompt") +def format_prompt(message: str) -> str: + """Helper called from inside the @task. Traced by LangSmith.""" + return f"Please respond concisely to: {message}" + + +@task +@traceable(name="chat_task", run_type="chain") +def chat(message: str) -> str: + """Call an LLM to respond to the message. Traced by LangSmith.""" + prompt = format_prompt(message) + response = init_chat_model("claude-sonnet-4-6").invoke(prompt) + return str(response.content) + + +@traceable(name="summarize_for_log", run_type="chain") +def summarize_for_log(response: str) -> str: + """Helper called from inside the @entrypoint. Traced by LangSmith.""" + return f"Got {len(response)}-char response: {response[:60]}..." + + +@entrypoint() +async def chat_entrypoint(message: str) -> dict: + """Chat entrypoint: call the LLM and return the response.""" + response = await chat(message) + return {"response": response, "summary": summarize_for_log(response)} + + +all_tasks = [chat] + +activity_options = { + "chat": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, +} + + +@workflow.defn +class ChatFunctionalWorkflow: + @workflow.run + async def run(self, message: str) -> dict: + return await temporal_entrypoint("chat").ainvoke(message) diff --git a/langgraph_plugin/functional_api/react_agent/README.md b/langgraph_plugin/functional_api/react_agent/README.md new file mode 100644 index 000000000..79d1b96e5 --- /dev/null +++ b/langgraph_plugin/functional_api/react_agent/README.md @@ -0,0 +1,44 @@ +# ReAct Agent (Functional API) + +Demonstrates the ReAct agent pattern (think -> act -> observe -> repeat) as a natural `while` loop using LangGraph's `@task` and `@entrypoint` decorators. + +## What This Sample Demonstrates + +- The ReAct loop as a natural `while True` loop in Python +- `@task` functions for agent thinking and tool execution +- How the Functional API makes agent loops readable and extensible + +## How It Works + +1. The `agent_think` task examines the query and tool history, deciding the next action. +2. If a tool is needed, `execute_tool` runs it and the result is appended to history. +3. The loop continues until `agent_think` returns a final answer. + +```python +while True: + decision = await agent_think(query, history) + if decision["action"] == "final": + return decision["answer"] + result = await execute_tool(decision["tool_name"], decision["tool_input"]) + history.append(result) +``` + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1 +uv run langgraph_plugin/functional_api/react_agent/run_worker.py + +# Terminal 2 +uv run langgraph_plugin/functional_api/react_agent/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `@task` functions (agent_think, execute_tool), `@entrypoint`, and `ReactAgentFunctionalWorkflow` | +| `run_worker.py` | Registers tasks and entrypoint with `LangGraphPlugin`, starts worker | +| `run_workflow.py` | Executes the agent workflow and prints the answer | diff --git a/langgraph_plugin/functional_api/react_agent/__init__.py b/langgraph_plugin/functional_api/react_agent/__init__.py new file mode 100644 index 000000000..bd34ac2e0 --- /dev/null +++ b/langgraph_plugin/functional_api/react_agent/__init__.py @@ -0,0 +1 @@ +"""ReAct agent with while-loop tool dispatch.""" diff --git a/langgraph_plugin/functional_api/react_agent/run_worker.py b/langgraph_plugin/functional_api/react_agent/run_worker.py new file mode 100644 index 000000000..465e90ad4 --- /dev/null +++ b/langgraph_plugin/functional_api/react_agent/run_worker.py @@ -0,0 +1,37 @@ +"""Worker for the ReAct agent (Functional API).""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.react_agent.workflow import ( + ReactAgentFunctionalWorkflow, + activity_options, + all_tasks, + react_agent_entrypoint, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + plugin = LangGraphPlugin( + entrypoints={"react-agent": react_agent_entrypoint}, + tasks=all_tasks, + activity_options=activity_options, + ) + + worker = Worker( + client, + task_queue="langgraph-react-agent-functional", + workflows=[ReactAgentFunctionalWorkflow], + plugins=[plugin], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/react_agent/run_workflow.py b/langgraph_plugin/functional_api/react_agent/run_workflow.py new file mode 100644 index 000000000..8888cbd17 --- /dev/null +++ b/langgraph_plugin/functional_api/react_agent/run_workflow.py @@ -0,0 +1,28 @@ +"""Start the ReAct agent workflow (Functional API).""" + +import asyncio +import os + +from temporalio.client import Client + +from langgraph_plugin.functional_api.react_agent.workflow import ( + ReactAgentFunctionalWorkflow, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + ReactAgentFunctionalWorkflow.run, + "Tell me about San Francisco", + id="react-agent-functional-workflow", + task_queue="langgraph-react-agent-functional", + ) + + print(f"Agent answer: {result['answer']}") + print(f"Tool calls made: {result['steps']}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/functional_api/react_agent/workflow.py b/langgraph_plugin/functional_api/react_agent/workflow.py new file mode 100644 index 000000000..c61048671 --- /dev/null +++ b/langgraph_plugin/functional_api/react_agent/workflow.py @@ -0,0 +1,88 @@ +"""ReAct agent using the LangGraph Functional API with Temporal. + +The Functional API expresses the ReAct loop as a plain `while` loop, making +the control flow explicit and easy to extend. +""" + +from datetime import timedelta + +from langgraph.func import entrypoint, task +from temporalio import workflow +from temporalio.contrib.langgraph import entrypoint as temporal_entrypoint + + +@task +def agent_think(query: str, history: list[str]) -> dict: + """The agent decides the next action based on query and tool history. + + In production, replace this with an LLM call (e.g., Claude with tools). + """ + tool_results = [h for h in history if h.startswith("[Tool]")] + + if len(tool_results) == 0: + return { + "action": "tool", + "tool_name": "get_weather", + "tool_input": "San Francisco", + } + elif len(tool_results) == 1: + return { + "action": "tool", + "tool_name": "get_population", + "tool_input": "San Francisco", + } + else: + facts = "; ".join(tool_results) + return { + "action": "final", + "answer": (f"Here's what I found about San Francisco: {facts}"), + } + + +@task +def execute_tool(tool_name: str, tool_input: str) -> str: + """Execute a tool by name. In production, dispatch to real implementations.""" + tool_registry = { + "get_weather": lambda inp: f"[Tool] Weather in {inp}: 72°F and sunny.", + "get_population": lambda inp: f"[Tool] {inp} population: ~870,000 residents.", + } + handler = tool_registry.get(tool_name) + if handler: + return handler(tool_input) + return f"[Tool] Unknown tool: {tool_name}" + + +@entrypoint() +async def react_agent_entrypoint(query: str) -> dict: + """ReAct agent loop: think -> act -> observe -> repeat.""" + history: list[str] = [] + + while True: + decision = await agent_think(query, history) + + if decision["action"] == "final": + return {"answer": decision["answer"], "steps": len(history)} + + result = await execute_tool(decision["tool_name"], decision["tool_input"]) + history.append(result) + + +all_tasks = [agent_think, execute_tool] + +activity_options = { + "agent_think": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, + "execute_tool": { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, +} + + +@workflow.defn +class ReactAgentFunctionalWorkflow: + @workflow.run + async def run(self, query: str) -> dict: + return await temporal_entrypoint("react-agent").ainvoke(query) diff --git a/langgraph_plugin/graph_api/__init__.py b/langgraph_plugin/graph_api/__init__.py new file mode 100644 index 000000000..579887b60 --- /dev/null +++ b/langgraph_plugin/graph_api/__init__.py @@ -0,0 +1 @@ +"""LangGraph Graph API samples using StateGraph.""" diff --git a/langgraph_plugin/graph_api/continue_as_new/README.md b/langgraph_plugin/graph_api/continue_as_new/README.md new file mode 100644 index 000000000..a5cfbb1c2 --- /dev/null +++ b/langgraph_plugin/graph_api/continue_as_new/README.md @@ -0,0 +1,37 @@ +# Continue-as-New with Caching (Graph API) + +Demonstrates combining Temporal's continue-as-new with the LangGraph plugin's task result cache to avoid re-executing completed graph nodes across workflow boundaries. + +## What This Sample Demonstrates + +- Using `workflow.continue_as_new()` to reset event history for long-running pipelines +- Capturing node results with `cache()` before continuing +- Restoring cached results with `temporal_graph(name, cache=...)` so completed nodes are skipped +- Each node executes exactly once despite multiple workflow invocations + +## How It Works + +1. A 3-stage pipeline runs: `double` (x2) -> `add_50` (+50) -> `triple` (x3). +2. After the first invocation, the workflow continues-as-new with the cached results. +3. On the second and third invocations, all three nodes return cached results instantly. +4. The final result is returned: input 10 -> 20 -> 70 -> 210. + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1 +uv run langgraph_plugin/graph_api/continue_as_new/run_worker.py + +# Terminal 2 +uv run langgraph_plugin/graph_api/continue_as_new/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | Pipeline node functions, graph definition, `PipelineInput`, and `PipelineWorkflow` | +| `run_worker.py` | Builds graph, registers with `LangGraphPlugin`, starts Worker | +| `run_workflow.py` | Executes the pipeline Workflow and prints the result | diff --git a/langgraph_plugin/graph_api/continue_as_new/__init__.py b/langgraph_plugin/graph_api/continue_as_new/__init__.py new file mode 100644 index 000000000..5b90703e9 --- /dev/null +++ b/langgraph_plugin/graph_api/continue_as_new/__init__.py @@ -0,0 +1 @@ +"""Continue-as-new pipeline with task result caching.""" diff --git a/langgraph_plugin/graph_api/continue_as_new/run_worker.py b/langgraph_plugin/graph_api/continue_as_new/run_worker.py new file mode 100644 index 000000000..653874a6b --- /dev/null +++ b/langgraph_plugin/graph_api/continue_as_new/run_worker.py @@ -0,0 +1,31 @@ +"""Worker for the continue-as-new pipeline (Graph API).""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.continue_as_new.workflow import ( + PipelineWorkflow, + make_pipeline_graph, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + plugin = LangGraphPlugin(graphs={"pipeline": make_pipeline_graph()}) + + worker = Worker( + client, + task_queue="langgraph-pipeline", + workflows=[PipelineWorkflow], + plugins=[plugin], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/continue_as_new/run_workflow.py b/langgraph_plugin/graph_api/continue_as_new/run_workflow.py new file mode 100644 index 000000000..a52d1716c --- /dev/null +++ b/langgraph_plugin/graph_api/continue_as_new/run_workflow.py @@ -0,0 +1,31 @@ +"""Start the continue-as-new pipeline workflow (Graph API).""" + +import asyncio +import os +from datetime import timedelta + +from temporalio.client import Client + +from langgraph_plugin.graph_api.continue_as_new.workflow import ( + PipelineInput, + PipelineWorkflow, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + PipelineWorkflow.run, + PipelineInput(data=10), + id="pipeline-workflow", + task_queue="langgraph-pipeline", + execution_timeout=timedelta(seconds=60), + ) + + # 10*2=20 -> 20+50=70 -> 70*3=210 + print(f"Pipeline result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/continue_as_new/workflow.py b/langgraph_plugin/graph_api/continue_as_new/workflow.py new file mode 100644 index 000000000..1475e63f7 --- /dev/null +++ b/langgraph_plugin/graph_api/continue_as_new/workflow.py @@ -0,0 +1,85 @@ +"""Continue-as-new with caching using the LangGraph Graph API with Temporal. + +Demonstrates how to use Temporal's continue-as-new with LangGraph's task result +caching to avoid re-executing already-completed graph nodes across workflow +boundaries. +""" + +from dataclasses import dataclass +from datetime import timedelta +from typing import Any + +from langgraph.graph import START, StateGraph +from temporalio import workflow +from temporalio.contrib.langgraph import cache +from temporalio.contrib.langgraph import graph as temporal_graph +from typing_extensions import TypedDict + + +class State(TypedDict): + value: int + + +async def double(state: State) -> dict[str, int]: + """Stage 1: double the input.""" + return {"value": state["value"] * 2} + + +async def add_50(state: State) -> dict[str, int]: + """Stage 2: add 50.""" + return {"value": state["value"] + 50} + + +async def triple(state: State) -> dict[str, int]: + """Stage 3: triple the result.""" + return {"value": state["value"] * 3} + + +def make_pipeline_graph() -> StateGraph: + node_metadata = { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + } + g = StateGraph(State) + g.add_node("double", double, metadata=node_metadata) + g.add_node("add_50", add_50, metadata=node_metadata) + g.add_node("triple", triple, metadata=node_metadata) + g.add_edge(START, "double") + g.add_edge("double", "add_50") + g.add_edge("add_50", "triple") + return g + + +@dataclass +class PipelineInput: + data: int + cache: dict[str, Any] | None = None + phase: int = 1 # continues-as-new after phases 1 and 2 + + +@workflow.defn +class PipelineWorkflow: + """Runs a 3-stage pipeline, continuing-as-new after each phase. + + Phase 1: all 3 stages execute, continues-as-new with cache. + Phase 2: all 3 stages cached (instant), continues-as-new. + Phase 3: all 3 stages cached (instant), returns final result. + + Input 10: 10*2=20 -> 20+50=70 -> 70*3=210 + """ + + @workflow.run + async def run(self, input_data: PipelineInput) -> int: + app = temporal_graph("pipeline", cache=input_data.cache).compile() + result = await app.ainvoke({"value": input_data.data}) + + if input_data.phase < 3: + workflow.continue_as_new( + PipelineInput( + data=input_data.data, + cache=cache(), + phase=input_data.phase + 1, + ) + ) + + return result["value"] diff --git a/langgraph_plugin/graph_api/hello_world/README.md b/langgraph_plugin/graph_api/hello_world/README.md new file mode 100644 index 000000000..8d0ebdf1b --- /dev/null +++ b/langgraph_plugin/graph_api/hello_world/README.md @@ -0,0 +1,29 @@ +# Hello World (Graph API) + +The simplest possible LangGraph + Temporal sample: a single-node graph that processes a query string. + +## What This Sample Demonstrates + +- Defining a `StateGraph` with a single node +- Wrapping it with `LangGraphPlugin` so the node runs as a Temporal activity +- Invoking the graph from a Temporal workflow + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1 +uv run langgraph_plugin/graph_api/hello_world/run_worker.py + +# Terminal 2 +uv run langgraph_plugin/graph_api/hello_world/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `process_query` node, graph definition and `HelloWorldWorkflow` | +| `run_worker.py` | Registers graph with `LangGraphPlugin`, starts worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/langgraph_plugin/graph_api/hello_world/__init__.py b/langgraph_plugin/graph_api/hello_world/__init__.py new file mode 100644 index 000000000..166b2c696 --- /dev/null +++ b/langgraph_plugin/graph_api/hello_world/__init__.py @@ -0,0 +1 @@ +"""Minimal hello world — single-node StateGraph.""" diff --git a/langgraph_plugin/graph_api/hello_world/run_worker.py b/langgraph_plugin/graph_api/hello_world/run_worker.py new file mode 100644 index 000000000..bf2ece96f --- /dev/null +++ b/langgraph_plugin/graph_api/hello_world/run_worker.py @@ -0,0 +1,31 @@ +"""Worker for the hello world sample (Graph API).""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.hello_world.workflow import ( + HelloWorldWorkflow, + make_hello_graph, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + plugin = LangGraphPlugin(graphs={"hello-world": make_hello_graph()}) + + worker = Worker( + client, + task_queue="langgraph-hello-world", + workflows=[HelloWorldWorkflow], + plugins=[plugin], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/hello_world/run_workflow.py b/langgraph_plugin/graph_api/hello_world/run_workflow.py new file mode 100644 index 000000000..e1a02a43c --- /dev/null +++ b/langgraph_plugin/graph_api/hello_world/run_workflow.py @@ -0,0 +1,25 @@ +"""Start the hello world workflow (Graph API).""" + +import asyncio +import os + +from temporalio.client import Client + +from langgraph_plugin.graph_api.hello_world.workflow import HelloWorldWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + HelloWorldWorkflow.run, + "Hello, Temporal + LangGraph!", + id="hello-world-workflow", + task_queue="langgraph-hello-world", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/hello_world/workflow.py b/langgraph_plugin/graph_api/hello_world/workflow.py new file mode 100644 index 000000000..84eafe679 --- /dev/null +++ b/langgraph_plugin/graph_api/hello_world/workflow.py @@ -0,0 +1,42 @@ +"""Hello world using the LangGraph Graph API with Temporal. + +The simplest possible sample: a single-node graph that processes a query string. +""" + +from datetime import timedelta + +from langgraph.graph import START, StateGraph +from temporalio import workflow +from temporalio.contrib.langgraph import graph as temporal_graph +from typing_extensions import TypedDict + + +class State(TypedDict): + value: str + + +async def process_query(state: State) -> dict[str, str]: + """Process a query and return a response.""" + return {"value": f"Processed: {state['value']}"} + + +def make_hello_graph() -> StateGraph: + g = StateGraph(State) + g.add_node( + "process_query", + process_query, + metadata={ + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=10), + }, + ) + g.add_edge(START, "process_query") + return g + + +@workflow.defn +class HelloWorldWorkflow: + @workflow.run + async def run(self, query: str) -> str: + result = await temporal_graph("hello-world").compile().ainvoke({"value": query}) + return result["value"] diff --git a/langgraph_plugin/graph_api/human_in_the_loop/README.md b/langgraph_plugin/graph_api/human_in_the_loop/README.md new file mode 100644 index 000000000..d8ff0b48c --- /dev/null +++ b/langgraph_plugin/graph_api/human_in_the_loop/README.md @@ -0,0 +1,40 @@ +# Human-in-the-Loop Chatbot (Graph API) + +Demonstrates pausing a graph with LangGraph's `interrupt()` and waiting indefinitely for human review with Temporal's `workflow.wait_condition()`. A Temporal signal delivers the human's feedback; a Temporal query exposes the pending draft to UIs. + +## What This Sample Demonstrates + +- `workflow.wait_condition()` to block the Workflow until human input arrives — for as long as it takes, with no polling and no timeout +- Pausing a graph mid-execution with `interrupt()` at the review point +- Temporal **signals** to deliver human feedback and **queries** to expose the pending draft +- Resuming the graph with `Command(resume=...)` after the signal arrives + +## How It Works + +1. The Workflow starts and the `generate_draft` node produces a response. +2. The `human_review` node calls `interrupt(draft)`, pausing execution. +3. The Workflow stores the draft (visible via the query) and calls `workflow.wait_condition()` — blocking durably until the signal sets `_human_input`. This can wait indefinitely; Temporal persists the state. +4. An external process (UI, CLI, etc.) queries the draft and sends the human's feedback via signal. +5. The graph resumes — `interrupt()` returns the signal value and the node completes. + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1: start the worker +uv run langgraph_plugin/graph_api/human_in_the_loop/run_worker.py + +# Terminal 2: start the workflow (polls for the draft, then prompts you for feedback) +uv run langgraph_plugin/graph_api/human_in_the_loop/run_workflow.py +``` + +When the draft is ready, you'll be prompted at the terminal. Type `approve` to accept it as-is, or type revision feedback and the draft will be regenerated by an LLM incorporating your notes. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | Graph node functions, graph definition, and `ChatbotWorkflow` definition | +| `run_worker.py` | Builds graph, registers with `LangGraphPlugin`, starts worker | +| `run_workflow.py` | Starts workflow, polls draft via query, prompts for human feedback, sends it via signal | diff --git a/langgraph_plugin/graph_api/human_in_the_loop/__init__.py b/langgraph_plugin/graph_api/human_in_the_loop/__init__.py new file mode 100644 index 000000000..72da02f88 --- /dev/null +++ b/langgraph_plugin/graph_api/human_in_the_loop/__init__.py @@ -0,0 +1 @@ +"""Human-in-the-loop chatbot using interrupt() and Temporal signals.""" diff --git a/langgraph_plugin/graph_api/human_in_the_loop/run_worker.py b/langgraph_plugin/graph_api/human_in_the_loop/run_worker.py new file mode 100644 index 000000000..2090366c3 --- /dev/null +++ b/langgraph_plugin/graph_api/human_in_the_loop/run_worker.py @@ -0,0 +1,31 @@ +"""Worker for the human-in-the-loop chatbot (Graph API).""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.human_in_the_loop.workflow import ( + ChatbotWorkflow, + make_chatbot_graph, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + plugin = LangGraphPlugin(graphs={"chatbot": make_chatbot_graph()}) + + worker = Worker( + client, + task_queue="langgraph-chatbot", + workflows=[ChatbotWorkflow], + plugins=[plugin], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/human_in_the_loop/run_workflow.py b/langgraph_plugin/graph_api/human_in_the_loop/run_workflow.py new file mode 100644 index 000000000..c45e2b72a --- /dev/null +++ b/langgraph_plugin/graph_api/human_in_the_loop/run_workflow.py @@ -0,0 +1,41 @@ +"""Start the human-in-the-loop chatbot workflow (Graph API).""" + +import asyncio +import os + +from temporalio.client import Client + +from langgraph_plugin.graph_api.human_in_the_loop.workflow import ChatbotWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + handle = await client.start_workflow( + ChatbotWorkflow.run, + "What is the meaning of life?", + id="chatbot-workflow", + task_queue="langgraph-chatbot", + ) + + # Poll until the draft is ready for review. + # In a real app, a UI would call this query endpoint. + draft = None + while draft is None: + await asyncio.sleep(0.5) + draft = await handle.query(ChatbotWorkflow.get_draft) + + print(f"Draft for review: {draft}") + + # Prompt for human feedback instead of auto-approving. + feedback = await asyncio.to_thread( + input, "Enter 'approve' to accept, or type revision feedback: " + ) + await handle.signal(ChatbotWorkflow.provide_feedback, feedback) + + result = await handle.result() + print(f"Final response: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/human_in_the_loop/workflow.py b/langgraph_plugin/graph_api/human_in_the_loop/workflow.py new file mode 100644 index 000000000..d9e39911a --- /dev/null +++ b/langgraph_plugin/graph_api/human_in_the_loop/workflow.py @@ -0,0 +1,94 @@ +"""Human-in-the-loop chatbot using the LangGraph Graph API with Temporal. + +Demonstrates using LangGraph's interrupt() to pause a workflow for human input, +combined with Temporal signals to receive the input asynchronously. +""" + +from datetime import timedelta + +from langchain.chat_models import init_chat_model +from langchain_core.runnables import RunnableConfig +from langgraph.checkpoint.memory import InMemorySaver +from langgraph.graph import START, StateGraph +from langgraph.types import Command, interrupt +from temporalio import workflow +from temporalio.contrib.langgraph import graph as temporal_graph +from typing_extensions import TypedDict + + +class State(TypedDict): + value: str + + +async def generate_draft(state: State) -> dict[str, str]: + """Generate a draft response with an LLM.""" + response = await init_chat_model("claude-sonnet-4-6").ainvoke( + f"Please respond concisely to: {state['value']}" + ) + return {"value": str(response.content)} + + +async def human_review(state: State) -> dict[str, str]: + """Present draft to human for review via interrupt; revise with LLM on feedback.""" + feedback = interrupt(state["value"]) + if feedback == "approve": + return {"value": state["value"]} + response = await init_chat_model("claude-sonnet-4-6").ainvoke( + "Revise the following draft according to the reviewer's feedback. " + "Output only the revised draft, with no preamble.\n\n" + f"Draft:\n{state['value']}\n\n" + f"Feedback:\n{feedback}" + ) + return {"value": str(response.content)} + + +def make_chatbot_graph() -> StateGraph: + node_metadata = { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + } + g = StateGraph(State) + g.add_node("generate_draft", generate_draft, metadata=node_metadata) + g.add_node("human_review", human_review, metadata=node_metadata) + g.add_edge(START, "generate_draft") + g.add_edge("generate_draft", "human_review") + return g + + +@workflow.defn +class ChatbotWorkflow: + def __init__(self) -> None: + self._human_input: str | None = None + self._draft: str | None = None + + @workflow.signal + async def provide_feedback(self, feedback: str) -> None: + """Signal handler: receives human feedback (approval or revision).""" + self._human_input = feedback + + @workflow.query + def get_draft(self) -> str | None: + """Query handler: returns the pending draft for review, or None.""" + return self._draft + + @workflow.run + async def run(self, user_message: str) -> str: + app = temporal_graph("chatbot").compile(checkpointer=InMemorySaver()) + config = RunnableConfig( + {"configurable": {"thread_id": workflow.info().workflow_id}} + ) + + # First invocation: runs generate_draft, then pauses at interrupt() + result = await app.ainvoke({"value": user_message}, config, version="v2") + + # Store the draft from the interrupt for the query handler + self._draft = result.interrupts[0].value + + # Wait for human feedback via Temporal signal + await workflow.wait_condition(lambda: self._human_input is not None) + + # Resume the graph with the human's feedback + resumed = await app.ainvoke( + Command(resume=self._human_input), config, version="v2" + ) + return resumed.value["value"] diff --git a/langgraph_plugin/graph_api/langsmith_tracing/README.md b/langgraph_plugin/graph_api/langsmith_tracing/README.md new file mode 100644 index 000000000..47165ee8f --- /dev/null +++ b/langgraph_plugin/graph_api/langsmith_tracing/README.md @@ -0,0 +1,38 @@ +# LangSmith Tracing (Graph API) + +Demonstrates combining the LangGraph plugin (durable execution) with Temporal's LangSmith plugin (observability) for full tracing of LLM calls through Temporal workflows. + +## What This Sample Demonstrates + +- Using `LangSmithPlugin` on the Temporal client for automatic trace propagation +- Using `LangGraphPlugin` on the Worker for durable LangGraph execution +- `@traceable` in three places: on the Activity itself, on a helper called from inside the Activity, and on a helper called from inside the Workflow +- Both plugins working together: durability + observability + +## How It Works + +1. The Temporal client is created with `LangSmithPlugin(add_temporal_runs=True)`. +2. A Worker is created with `LangGraphPlugin` wrapping the chat graph. +3. When the Workflow runs, the `chat` node executes as a Temporal Activity. +4. `@traceable` decorators emit trace data to LangSmith for the Activity, an in-Activity helper, and an in-Workflow helper. +5. The `LangSmithPlugin` adds Temporal-specific metadata to the traces. + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +export ANTHROPIC_API_KEY='your-key' +export LANGCHAIN_API_KEY='your-key' + +uv run langgraph_plugin/graph_api/langsmith_tracing/main.py +``` + +Traces will appear in your [LangSmith](https://smith.langchain.com/) dashboard. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `@traceable` chat node + helpers, graph definition, and `ChatWorkflow` | +| `main.py` | Starts a Worker and executes the Workflow in a single process | diff --git a/langgraph_plugin/graph_api/langsmith_tracing/__init__.py b/langgraph_plugin/graph_api/langsmith_tracing/__init__.py new file mode 100644 index 000000000..dab692ec7 --- /dev/null +++ b/langgraph_plugin/graph_api/langsmith_tracing/__init__.py @@ -0,0 +1 @@ +"""LangSmith tracing with LangGraph Graph API and Temporal.""" diff --git a/langgraph_plugin/graph_api/langsmith_tracing/main.py b/langgraph_plugin/graph_api/langsmith_tracing/main.py new file mode 100644 index 000000000..71294f4ad --- /dev/null +++ b/langgraph_plugin/graph_api/langsmith_tracing/main.py @@ -0,0 +1,43 @@ +"""Run the LangSmith tracing chat sample (Graph API). + +Single-process driver: starts a Worker, executes the Workflow once, prints +the result, then shuts down. Requires ANTHROPIC_API_KEY and LANGCHAIN_API_KEY. +""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.contrib.langsmith import LangSmithPlugin +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.langsmith_tracing.workflow import ( + ChatWorkflow, + make_chat_graph, +) + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[LangSmithPlugin(add_temporal_runs=True)], + ) + + async with Worker( + client, + task_queue="langgraph-langsmith", + workflows=[ChatWorkflow], + plugins=[LangGraphPlugin(graphs={"chat": make_chat_graph()})], + ): + result = await client.execute_workflow( + ChatWorkflow.run, + "What is the meaning of life?", + id="langsmith-chat-workflow", + task_queue="langgraph-langsmith", + ) + print(f"Response: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/langsmith_tracing/workflow.py b/langgraph_plugin/graph_api/langsmith_tracing/workflow.py new file mode 100644 index 000000000..50649f314 --- /dev/null +++ b/langgraph_plugin/graph_api/langsmith_tracing/workflow.py @@ -0,0 +1,70 @@ +"""LangSmith tracing with LangGraph Graph API and Temporal. + +Demonstrates combining LangGraphPlugin (durable graph execution) with +LangSmithPlugin (observability) for full tracing of LLM calls through +Temporal workflows. + +Three @traceable use cases are demonstrated: +1. The Activity (graph node) function itself: `chat`. +2. A helper called from inside the Activity: `format_prompt`. +3. A helper called from inside the Workflow: `summarize_for_log`. + +Requires ANTHROPIC_API_KEY and LANGCHAIN_API_KEY environment variables. +""" + +from datetime import timedelta + +from langchain.chat_models import init_chat_model +from langgraph.graph import START, StateGraph +from langsmith import traceable +from temporalio import workflow +from temporalio.contrib.langgraph import graph as temporal_graph +from typing_extensions import TypedDict + + +class State(TypedDict): + value: str + + +@traceable(name="format_prompt", run_type="prompt") +def format_prompt(message: str) -> str: + """Helper called from inside the Activity. Traced by LangSmith.""" + return f"Please respond concisely to: {message}" + + +@traceable(name="chat_activity", run_type="chain") +async def chat(state: State) -> dict[str, str]: + """Call an LLM to respond to the message. Traced by LangSmith.""" + prompt = format_prompt(state["value"]) + response = await init_chat_model("claude-sonnet-4-6").ainvoke(prompt) + return {"value": str(response.content)} + + +@traceable(name="summarize_for_log", run_type="chain") +def summarize_for_log(response: str) -> str: + """Helper called from inside the Workflow. Traced by LangSmith.""" + return f"Got {len(response)}-char response: {response[:60]}..." + + +def make_chat_graph() -> StateGraph: + g = StateGraph(State) + g.add_node( + "chat", + chat, + metadata={ + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + }, + ) + g.add_edge(START, "chat") + return g + + +@workflow.defn +class ChatWorkflow: + @workflow.run + async def run(self, message: str) -> str: + result = await temporal_graph("chat").compile().ainvoke({"value": message}) + response = result["value"] + workflow.logger.info(summarize_for_log(response)) + return response diff --git a/langgraph_plugin/graph_api/react_agent/README.md b/langgraph_plugin/graph_api/react_agent/README.md new file mode 100644 index 000000000..de5149ad4 --- /dev/null +++ b/langgraph_plugin/graph_api/react_agent/README.md @@ -0,0 +1,42 @@ +# ReAct Agent (Graph API) + +Demonstrates the most common LangGraph pattern: a tool-calling agent that loops between deciding and acting, using conditional edges for routing. + +## What This Sample Demonstrates + +- Defining a `StateGraph` with an agent->tools loop +- Using `add_conditional_edges` for conditional routing (call tool or finish) +- Accumulating conversation history with `Annotated[list, operator.add]` +- The full ReAct cycle: think -> act -> observe -> repeat + +## How It Works + +1. The `agent` node examines the conversation history and decides the next action. +2. If a tool is needed, `should_continue` routes to the `tools` node. +3. The `tools` node executes the tool and appends the result to history. +4. Control returns to `agent`, which decides again — loop or finish. +5. When the agent has enough information, `should_continue` routes to `END`. + +``` +START -> agent -> tools -> agent -> tools -> agent -> END +``` + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1 +uv run langgraph_plugin/graph_api/react_agent/run_worker.py + +# Terminal 2 +uv run langgraph_plugin/graph_api/react_agent/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `AgentState`, node functions, `should_continue` router, graph definition, and `ReactAgentWorkflow` | +| `run_worker.py` | Builds graph, registers with `LangGraphPlugin`, starts worker | +| `run_workflow.py` | Executes the agent workflow and prints the answer | diff --git a/langgraph_plugin/graph_api/react_agent/__init__.py b/langgraph_plugin/graph_api/react_agent/__init__.py new file mode 100644 index 000000000..64c24c36e --- /dev/null +++ b/langgraph_plugin/graph_api/react_agent/__init__.py @@ -0,0 +1 @@ +"""ReAct agent with conditional edges and tool-calling loop.""" diff --git a/langgraph_plugin/graph_api/react_agent/run_worker.py b/langgraph_plugin/graph_api/react_agent/run_worker.py new file mode 100644 index 000000000..04532a325 --- /dev/null +++ b/langgraph_plugin/graph_api/react_agent/run_worker.py @@ -0,0 +1,31 @@ +"""Worker for the ReAct agent (Graph API).""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.react_agent.workflow import ( + ReactAgentWorkflow, + make_agent_graph, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + plugin = LangGraphPlugin(graphs={"react-agent": make_agent_graph()}) + + worker = Worker( + client, + task_queue="langgraph-react-agent", + workflows=[ReactAgentWorkflow], + plugins=[plugin], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/react_agent/run_workflow.py b/langgraph_plugin/graph_api/react_agent/run_workflow.py new file mode 100644 index 000000000..d4649f1e4 --- /dev/null +++ b/langgraph_plugin/graph_api/react_agent/run_workflow.py @@ -0,0 +1,25 @@ +"""Start the ReAct agent workflow (Graph API).""" + +import asyncio +import os + +from temporalio.client import Client + +from langgraph_plugin.graph_api.react_agent.workflow import ReactAgentWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + ReactAgentWorkflow.run, + "Tell me about San Francisco", + id="react-agent-workflow", + task_queue="langgraph-react-agent", + ) + + print(f"Agent answer: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/react_agent/workflow.py b/langgraph_plugin/graph_api/react_agent/workflow.py new file mode 100644 index 000000000..1bcae10d7 --- /dev/null +++ b/langgraph_plugin/graph_api/react_agent/workflow.py @@ -0,0 +1,109 @@ +"""ReAct agent using the LangGraph Graph API with Temporal. + +Demonstrates the most common LangGraph pattern: a tool-calling agent that loops +between "thinking" (deciding the next action) and "acting" (executing a tool), +using conditional edges to control the loop. + +Graph topology: + START -> agent -> (tools -> agent)* -> END +""" + +import operator +from datetime import timedelta +from typing import Annotated, Any, TypedDict + +from langgraph.graph import END, START, StateGraph +from temporalio import workflow +from temporalio.contrib.langgraph import graph as temporal_graph + + +class AgentState(TypedDict): + """State for the ReAct agent. + + 'messages' uses operator.add so each node appends to the list rather + than replacing it, accumulating the full conversation history. + """ + + input: str + messages: Annotated[list[str], operator.add] + final_answer: str + + +async def agent(state: AgentState) -> dict[str, Any]: + """The agent decides what to do next based on the conversation history. + + In production, replace this with an LLM call (e.g., Claude with tools). + This stub simulates a 2-step research process. + """ + messages = state.get("messages", []) + tool_results = [m for m in messages if m.startswith("[Tool]")] + + if len(tool_results) == 0: + return { + "messages": [ + "[Agent] I need weather data. Calling get_weather for San Francisco." + ] + } + elif len(tool_results) == 1: + return { + "messages": [ + "[Agent] Now I need population data. " + "Calling get_population for San Francisco." + ] + } + else: + facts = "; ".join(tool_results) + return { + "messages": ["[Agent] I have all the information I need."], + "final_answer": (f"Here's what I found about San Francisco: {facts}"), + } + + +async def tools(state: AgentState) -> dict[str, Any]: + """Execute the tool requested by the agent.""" + last_msg = state["messages"][-1] + + if "get_weather" in last_msg: + return {"messages": ["[Tool] Weather in San Francisco: 72°F and sunny."]} + elif "get_population" in last_msg: + return {"messages": ["[Tool] San Francisco population: ~870,000 residents."]} + else: + return {"messages": ["[Tool] Unknown tool requested."]} + + +async def should_continue(state: AgentState) -> str: + """Route: if the agent requested a tool, go to 'tools'. Otherwise, end. + + Must be async to avoid run_in_executor inside Temporal's workflow sandbox. + """ + last_msg = state["messages"][-1] + if last_msg.startswith("[Agent]") and "Calling" in last_msg: + return "tools" + return END + + +def make_agent_graph() -> StateGraph: + node_metadata = { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=30), + } + g = StateGraph(AgentState) + g.add_node("agent", agent, metadata=node_metadata) + g.add_node("tools", tools, metadata=node_metadata) + g.add_edge(START, "agent") + g.add_conditional_edges("agent", should_continue) + g.add_edge("tools", "agent") + return g + + +@workflow.defn +class ReactAgentWorkflow: + @workflow.run + async def run(self, query: str) -> str: + initial_state: AgentState = { + "input": query, + "messages": [], + "final_answer": "", + } + result = await temporal_graph("react-agent").compile().ainvoke(initial_state) + return result["final_answer"] diff --git a/langgraph_plugin/graph_api/streaming/README.md b/langgraph_plugin/graph_api/streaming/README.md new file mode 100644 index 000000000..d34f3e240 --- /dev/null +++ b/langgraph_plugin/graph_api/streaming/README.md @@ -0,0 +1,31 @@ +# Streaming (Graph API) + +Streams a LangGraph run to an external client while the workflow is still running, using Temporal's durable, offset-addressed [`WorkflowStream`](https://github.com/temporalio/sdk-python/tree/main/temporalio/contrib/workflow_streams). The graph writes a short story about a topic and emits both fine-grained tokens and node-completion progress on separate topics. + +## What This Sample Demonstrates + +- **Node token streaming** — the `write_story` node calls LangGraph's `get_stream_writer()` to emit tokens. The plugin's `streaming_topic="tokens"` routes those writes onto the `"tokens"` topic. +- **Workflow-side `astream` publish** — the workflow drives the graph with `app.astream(...)` and publishes each node-completion chunk onto a `"progress"` topic it owns. +- A single client subscribing to all topics and demultiplexing on `item.topic`. +- Waiting for the client to acknowledge (via signal) before completing, since the stream disappears when the workflow ends. +- **Idempotent consumption** — each token chunk carries a monotonic sequence id so the client can dedupe, because streaming is at-least-once per activity attempt (a retried node re-runs and re-publishes its writes). + +## Running the Sample + +Prerequisites: `uv sync --group langgraph` and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1 +uv run langgraph_plugin/graph_api/streaming/run_worker.py + +# Terminal 2 +uv run langgraph_plugin/graph_api/streaming/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | Graph node functions, graph definition, and `StreamingWorkflow` that publishes to the stream | +| `run_worker.py` | Registers graph with `LangGraphPlugin` (`streaming_topic="tokens"`), starts worker | +| `run_workflow.py` | Starts the workflow, subscribes to the stream, prints tokens and progress, then acks | diff --git a/langgraph_plugin/graph_api/streaming/__init__.py b/langgraph_plugin/graph_api/streaming/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/langgraph_plugin/graph_api/streaming/run_worker.py b/langgraph_plugin/graph_api/streaming/run_worker.py new file mode 100644 index 000000000..46e0090ee --- /dev/null +++ b/langgraph_plugin/graph_api/streaming/run_worker.py @@ -0,0 +1,35 @@ +"""Worker for the streaming sample (Graph API).""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.streaming.workflow import ( + StreamingWorkflow, + make_streaming_graph, +) + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + # streaming_topic routes node get_stream_writer() output onto the "tokens" topic. + plugin = LangGraphPlugin( + graphs={"streaming": make_streaming_graph()}, + streaming_topic="tokens", + ) + + worker = Worker( + client, + task_queue="langgraph-streaming", + workflows=[StreamingWorkflow], + plugins=[plugin], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/streaming/run_workflow.py b/langgraph_plugin/graph_api/streaming/run_workflow.py new file mode 100644 index 000000000..9d42322e1 --- /dev/null +++ b/langgraph_plugin/graph_api/streaming/run_workflow.py @@ -0,0 +1,51 @@ +"""Start the streaming workflow and subscribe to its Workflow Stream (Graph API).""" + +import asyncio +import os +from datetime import timedelta + +from temporalio.client import Client +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from langgraph_plugin.graph_api.streaming.workflow import StreamingWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + handle = await client.start_workflow( + StreamingWorkflow.run, + "a brave robot", + id="streaming-workflow", + task_queue="langgraph-streaming", + ) + + # Subscribe to all topics on the workflow's stream and demultiplex on topic. + ws = WorkflowStreamClient.create(client, handle.id) + # Streaming is at-least-once per activity attempt, so a retried node may + # re-publish tokens. Dedupe on the chunk's seq to consume idempotently. + seen_tokens: set[int] = set() + async for item in ws.subscribe( + from_offset=0, + result_type=dict, + poll_cooldown=timedelta(milliseconds=50), + ): + if item.topic == "tokens": + seq = item.data["seq"] + if seq in seen_tokens: + continue # duplicate from a node retry; already consumed. + seen_tokens.add(seq) + print(item.data["token"], end="", flush=True) + elif item.topic == "progress": + if item.data.get("done"): + # Let the workflow know we are done consuming so it can complete. + await handle.signal(StreamingWorkflow.ack_stream) + break + print(f"\n[progress] {item.data}") + + result = await handle.result() + print(f"\n\nFinal result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langgraph_plugin/graph_api/streaming/workflow.py b/langgraph_plugin/graph_api/streaming/workflow.py new file mode 100644 index 000000000..6eeea2025 --- /dev/null +++ b/langgraph_plugin/graph_api/streaming/workflow.py @@ -0,0 +1,97 @@ +"""Streaming with the LangGraph Graph API and Temporal Workflow Streams. + +A workflow's :class:`WorkflowStream` is a durable, offset-addressed event channel +external clients can subscribe to while the workflow is still running. This sample +demonstrates both ways the LangGraph plugin produces stream items: + +- **Node token streaming** -- the ``write_story`` node calls LangGraph's + ``get_stream_writer()`` to emit fine-grained tokens. The plugin is configured with + ``streaming_topic="tokens"`` (see ``run_worker.py``), which routes those writes onto + the ``"tokens"`` topic. +- **Workflow-side ``astream`` publish** -- the workflow drives the graph with + ``app.astream(...)`` and publishes each node-completion chunk onto a ``"progress"`` + topic it owns. + +A single client subscribes to all topics and demultiplexes on ``item.topic``. +""" + +from datetime import timedelta + +from langgraph.config import get_stream_writer +from langgraph.graph import START, StateGraph +from temporalio import workflow +from temporalio.contrib.langgraph import graph as temporal_graph +from temporalio.contrib.workflow_streams import WorkflowStream +from typing_extensions import TypedDict + + +class State(TypedDict): + topic: str + story: str + + +async def outline(state: State) -> dict[str, str]: + """Produce a short opening line. Runs first so ``astream`` emits an early chunk.""" + return {"story": f"A story about {state['topic']}:"} + + +async def write_story(state: State) -> dict[str, str]: + """Write the story, emitting each word as a token via the stream writer. + + Streaming is at-least-once per activity attempt: if this node retries + (transient failure, worker restart) it re-runs from scratch and re-publishes + its writes, so subscribers may see the same token twice. Each chunk therefore + carries a monotonic ``seq`` so consumers can dedupe idempotently. A retry + re-emits the same ``seq`` values, letting the client drop the duplicates. + """ + writer = get_stream_writer() + words = f"{state['story']} Once upon a time, there was {state['topic']}.".split() + for seq, word in enumerate(words): + writer({"seq": seq, "token": word + " "}) + return {"story": " ".join(words)} + + +def make_streaming_graph() -> StateGraph: + g = StateGraph(State) + activity_metadata = { + "execute_in": "activity", + "start_to_close_timeout": timedelta(seconds=10), + } + g.add_node("outline", outline, metadata=activity_metadata) + g.add_node("write_story", write_story, metadata=activity_metadata) + g.add_edge(START, "outline") + g.add_edge("outline", "write_story") + return g + + +@workflow.defn +class StreamingWorkflow: + def __init__(self) -> None: + # WorkflowStream must be constructed during workflow initialization. + self.stream = WorkflowStream() + self._stream_acked = False + + @workflow.signal + def ack_stream(self) -> None: + """Signalled by the client once it has finished consuming the stream.""" + self._stream_acked = True + + @workflow.run + async def run(self, topic: str) -> str: + app = temporal_graph("streaming").compile() + progress = self.stream.topic("progress") + + story = "" + async for chunk in app.astream({"topic": topic, "story": ""}): + # Each chunk is {node_name: {state updates}}. Forward it as progress. + progress.publish(chunk) + for node_update in chunk.values(): + if "story" in node_update: + story = node_update["story"] + + progress.publish({"done": True}) + + # The stream disappears when the workflow completes, so wait until the + # client acknowledges it has finished consuming before returning. + await workflow.wait_condition(lambda: self._stream_acked) + return story diff --git a/langsmith_tracing/README.md b/langsmith_tracing/README.md new file mode 100644 index 000000000..127a80593 --- /dev/null +++ b/langsmith_tracing/README.md @@ -0,0 +1,49 @@ +# LangSmith Tracing + +This sample demonstrates [LangSmith](https://smith.langchain.com/) tracing integration with Temporal workflows using the [`LangSmithPlugin`](https://python.temporal.io/temporalio.contrib.langsmith.html). + +Two examples are included: + +- **[basic/](basic/)** — A one-shot LLM workflow that sends a prompt to OpenAI and returns the response. +- **[chatbot/](chatbot/)** — A long-running conversational workflow with tool calls (save/read notes) and update handlers. + +## Prerequisites + +Install dependencies: + +```bash +uv sync --group langsmith-tracing +``` + +Set environment variables: + +```bash +export OPENAI_API_KEY="sk-..." +export LANGSMITH_API_KEY="lsv2_..." +export LANGCHAIN_TRACING_V2=true +``` + +A local Temporal server must be running (`temporal server start-dev`). + +## Three Layers of Tracing + +This sample shows three complementary ways LangSmith captures trace data: + +1. **Automatic (`wrap_openai`)** — Wrapping the OpenAI client with `wrap_openai()` automatically creates a child span for every LLM call, capturing model parameters, token usage, and latency. No extra code needed. + +2. **Explicit (`@traceable`)** — Decorating functions with `@traceable` creates named spans for your business logic. You control the name, tags, metadata, and `run_type` (chain, llm, tool, retriever). This is how you structure traces to tell a story about what your application is doing. + +3. **Temporal (`add_temporal_runs=True`)** — The `LangSmithPlugin` can optionally create LangSmith runs for each Temporal workflow execution and activity execution, giving visibility into the orchestration layer alongside your LLM calls. + +## `add_temporal_runs` + +By default, `LangSmithPlugin(add_temporal_runs=False)` only propagates LangSmith context so that `@traceable` and `wrap_openai` calls nest correctly. + +Set `add_temporal_runs=True` to also create LangSmith runs for Temporal operations (workflow executions, activity executions, signals, etc.), giving full visibility into the orchestration layer. Both examples support a `--add-temporal-runs` CLI flag to toggle this. + +## Further Reading + +- [LangSmith documentation](https://docs.smith.langchain.com/) +- [Temporal Python SDK LangSmith plugin](https://python.temporal.io/temporalio.contrib.langsmith.html) +- [LangSmith `@traceable` guide](https://docs.smith.langchain.com/observability/how-to/annotate-code) +- [LangSmith `wrap_openai` guide](https://docs.smith.langchain.com/observability/how-to/trace-with-openai) diff --git a/langsmith_tracing/__init__.py b/langsmith_tracing/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/langsmith_tracing/basic/README.md b/langsmith_tracing/basic/README.md new file mode 100644 index 000000000..839312e82 --- /dev/null +++ b/langsmith_tracing/basic/README.md @@ -0,0 +1,50 @@ +# Basic LLM Workflow + +A one-shot workflow that sends a prompt to OpenAI and returns the response. A very simple example of LangSmith tracing with Temporal. + +See the [parent README](../README.md) for prerequisites. + +## Running + +```bash +# Terminal 1 — start the worker +uv run --group langsmith-tracing python -m langsmith_tracing.basic.worker + +# Terminal 2 — run the workflow +uv run --group langsmith-tracing python -m langsmith_tracing.basic.starter +``` + +## Trace Structure + +### `add_temporal_runs=False` (default) + +Only `@traceable` and `wrap_openai` spans appear. The client-side `@traceable` is the root, and workflow/activity traces nest under it via context propagation. + +``` +Basic LLM Request (@traceable, client-side) +└── Ask: What is Temporal? (@traceable, workflow) + └── Call OpenAI (@traceable, activity) + └── ChatOpenAI (automatic via wrap_openai) +``` + +### `add_temporal_runs=True` + +Pass `--add-temporal-runs` to both the worker and starter: + +```bash +uv run --group langsmith-tracing python -m langsmith_tracing.basic.worker --add-temporal-runs +uv run --group langsmith-tracing python -m langsmith_tracing.basic.starter --add-temporal-runs +``` + +Temporal operation spans are added. `StartWorkflow`/`RunWorkflow` and `StartActivity`/`RunActivity` appear as sibling pairs: + +``` +Basic LLM Request (@traceable, client-side) +├── StartWorkflow:BasicLLMWorkflow (automatic, Temporal plugin) +└── RunWorkflow:BasicLLMWorkflow (automatic, Temporal plugin) + └── Ask: What is Temporal? (@traceable, workflow) + ├── StartActivity:call_openai (automatic, Temporal plugin) + └── RunActivity:call_openai (automatic, Temporal plugin) + └── Call OpenAI (@traceable, activity) + └── ChatOpenAI (automatic via wrap_openai) +``` diff --git a/langsmith_tracing/basic/__init__.py b/langsmith_tracing/basic/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/langsmith_tracing/basic/activities.py b/langsmith_tracing/basic/activities.py new file mode 100644 index 000000000..e04e17119 --- /dev/null +++ b/langsmith_tracing/basic/activities.py @@ -0,0 +1,33 @@ +"""Basic LLM activity with LangSmith tracing.""" + +from dataclasses import dataclass + +from langsmith import traceable +from langsmith.wrappers import wrap_openai +from openai import AsyncOpenAI +from temporalio import activity + + +@dataclass +class OpenAIRequest: + model: str + input: str + instructions: str = "You are a helpful assistant." + + +@traceable(name="Call OpenAI", run_type="llm") +@activity.defn +async def call_openai(request: OpenAIRequest) -> str: + """Call OpenAI Responses API. Retries handled by Temporal, not the OpenAI client.""" + # wrap_openai patches the client so each API call (e.g. responses.create) + # creates its own child span with model parameters and token usage. + # max_retries=0 disables OpenAI's built-in retries — Temporal's activity + # retry policy handles retries instead, with full visibility in the UI. + client = wrap_openai(AsyncOpenAI(max_retries=0)) + response = await client.responses.create( + model=request.model, + instructions=request.instructions, + input=request.input, + timeout=30, + ) + return response.output_text diff --git a/langsmith_tracing/basic/starter.py b/langsmith_tracing/basic/starter.py new file mode 100644 index 000000000..4a2a103a4 --- /dev/null +++ b/langsmith_tracing/basic/starter.py @@ -0,0 +1,52 @@ +"""Starter for the basic LangSmith sample.""" + +import asyncio +import sys + +from langsmith import traceable +from temporalio.client import Client +from temporalio.contrib.langsmith import LangSmithPlugin +from temporalio.envconfig import ClientConfig + +from langsmith_tracing.basic.workflows import BasicLLMWorkflow + +PROJECT_NAME = "langsmith-basic" + + +@traceable( + name="Basic LLM Request", + run_type="chain", + # CRITICAL: Client-side @traceable runs outside the LangSmithPlugin's scope. + # Make sure client-side traces use the same project_name as what is given to + # the plugin. + project_name=PROJECT_NAME, + tags=["client-side"], +) +async def main() -> str: + add_temporal_runs = "--add-temporal-runs" in sys.argv + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + plugin = LangSmithPlugin( + project_name=PROJECT_NAME, + add_temporal_runs=add_temporal_runs, + ) + + client = await Client.connect( + **config, + plugins=[plugin], + ) + + result = await client.execute_workflow( + BasicLLMWorkflow.run, + "What is Temporal?", + id="langsmith-basic-workflow-id", + task_queue="langsmith-basic-task-queue", + ) + print(f"Workflow result: {result}") + return result + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langsmith_tracing/basic/worker.py b/langsmith_tracing/basic/worker.py new file mode 100644 index 000000000..941b28c57 --- /dev/null +++ b/langsmith_tracing/basic/worker.py @@ -0,0 +1,47 @@ +"""Worker for the basic LangSmith sample.""" + +import asyncio +import logging +import sys + +from temporalio.client import Client +from temporalio.contrib.langsmith import LangSmithPlugin +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from langsmith_tracing.basic.activities import call_openai +from langsmith_tracing.basic.workflows import BasicLLMWorkflow + + +async def main(): + logging.basicConfig(level=logging.INFO) + + # add_temporal_runs=True creates LangSmith runs for each Temporal + # workflow/activity execution. False (default) only propagates context. + add_temporal_runs = "--add-temporal-runs" in sys.argv + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + plugin = LangSmithPlugin( + project_name="langsmith-basic", + add_temporal_runs=add_temporal_runs, + ) + + client = await Client.connect(**config) + + worker = Worker( + client, + task_queue="langsmith-basic-task-queue", + workflows=[BasicLLMWorkflow], + activities=[call_openai], + plugins=[plugin], + ) + + label = "with" if add_temporal_runs else "without" + print(f"Worker started ({label} Temporal runs in traces), ctrl+c to exit") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langsmith_tracing/basic/workflows.py b/langsmith_tracing/basic/workflows.py new file mode 100644 index 000000000..c6cc14b2e --- /dev/null +++ b/langsmith_tracing/basic/workflows.py @@ -0,0 +1,33 @@ +"""Basic one-shot LLM workflow with LangSmith tracing.""" + +from datetime import timedelta + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from langsmith import traceable + + from langsmith_tracing.basic.activities import OpenAIRequest, call_openai + + +@workflow.defn +class BasicLLMWorkflow: + # Do not decorate @workflow.run with @traceable — it would violate + # replay safety and produce duplicate or orphaned traces. Instead, + # wrap an inner function. + @workflow.run + async def run(self, prompt: str) -> str: + @traceable( + name=f"Ask: {prompt[:60]}", + run_type="chain", + metadata={"workflow_id": workflow.info().workflow_id}, + tags=["basic-llm"], + ) + async def _run() -> str: + return await workflow.execute_activity( + call_openai, + OpenAIRequest(model="gpt-4o-mini", input=prompt), + start_to_close_timeout=timedelta(seconds=60), + ) + + return await _run() diff --git a/langsmith_tracing/chatbot/README.md b/langsmith_tracing/chatbot/README.md new file mode 100644 index 000000000..b97849892 --- /dev/null +++ b/langsmith_tracing/chatbot/README.md @@ -0,0 +1,81 @@ +# Chatbot with Tool Calls + +A long-running conversational workflow with tool calls and update handlers. Demonstrates how LangSmith traces an agentic loop where the model calls tools across multiple turns. + +See the [parent README](../README.md) for prerequisites. + +## Running + +```bash +# Terminal 1 — start the worker +uv run --group langsmith-tracing python -m langsmith_tracing.chatbot.worker + +# Terminal 2 — interactive CLI +uv run --group langsmith-tracing python -m langsmith_tracing.chatbot.starter +``` + +Commands in the CLI: +- Type a message and press Enter to chat +- `exit` — end the session + +## Tools + +The model has two tools, both implemented as `@traceable` methods on the workflow class: + +- **`save_note(name, content)`** — Stores a note in the workflow's in-memory dict. The note is durable because workflow state survives crashes and restarts via Temporal's event history. +- **`read_note(name)`** — Reads a note from the workflow's in-memory dict. + +## Architecture + +The main `@workflow.run` method runs a loop that processes user messages (calls `_query_openai`, which handles the tool-call loop). The `message_from_user` update handler coordinates: it hands the message to the main loop via a shared `_pending_message` field, then waits for the response. + +This means: +- Activity calls and the tool loop happen inside the main workflow run +- The update handler's trace just shows the input/output of the coordination step + +## Trace Structure + +### `add_temporal_runs=False` (default) + +Only `@traceable` and `wrap_openai` spans appear. The client-side `@traceable` wraps `start_workflow` and each `execute_update`, so both workflow and update traces nest under it via context propagation. + +``` +Chatbot Session a1b2c3d4 (@traceable, client-side) +├── Session Apr 17 10:30 (@traceable, workflow main loop) +│ ├── Request: hello (@traceable, per-message in main loop) +│ │ └── Call OpenAI (@traceable, activity) +│ │ └── ChatOpenAI (automatic via wrap_openai) +│ └── Request: save that as note 15 (@traceable, per-message in main loop) +│ ├── Call OpenAI → function_call: save_note +│ ├── Save Note (@traceable, workflow method) +│ └── Call OpenAI → text response +├── Update: hello (@traceable, update handler) +└── Update: save that as note 15 (@traceable, update handler) +``` + +### `add_temporal_runs=True` + +With `--add-temporal-runs`, Temporal operation spans are added. `StartWorkflow`/`RunWorkflow` and `StartActivity`/`RunActivity` appear as sibling pairs. + +``` +Chatbot Session a1b2c3d4 (@traceable, client-side) +├── StartWorkflow:ChatbotWorkflow (automatic, Temporal plugin) +├── RunWorkflow:ChatbotWorkflow (automatic, Temporal plugin) +│ └── Session Apr 17 10:30 (@traceable, workflow main loop) +│ └── Request: save that as note 15 (@traceable, per-message) +│ ├── StartActivity:call_openai (automatic, Temporal plugin) +│ ├── RunActivity:call_openai (automatic, Temporal plugin) +│ │ └── Call OpenAI (@traceable, activity) +│ │ └── ChatOpenAI (automatic via wrap_openai) +│ ├── Save Note (@traceable, workflow method) +│ ├── StartActivity:call_openai (automatic, Temporal plugin) +│ └── RunActivity:call_openai (automatic, Temporal plugin) +│ └── Call OpenAI (@traceable, activity) +│ └── ChatOpenAI (automatic via wrap_openai) +├── StartWorkflowUpdate:message_from_user (automatic, Temporal plugin) +│ └── HandleUpdate:message_from_user (automatic, Temporal plugin) +│ └── Update: save that as note 15 (@traceable, update handler) +└── ... +``` + +Note that the `Request:` chain (with activity calls) lives under `RunWorkflow` (the main loop), while the `Update:` span lives under `HandleUpdate` (the update handler). They're connected by the shared workflow state but appear as separate subtrees. diff --git a/langsmith_tracing/chatbot/__init__.py b/langsmith_tracing/chatbot/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/langsmith_tracing/chatbot/activities.py b/langsmith_tracing/chatbot/activities.py new file mode 100644 index 000000000..5e979320e --- /dev/null +++ b/langsmith_tracing/chatbot/activities.py @@ -0,0 +1,66 @@ +"""Chatbot activities with LangSmith tracing.""" + +from dataclasses import dataclass +from typing import Any + +from langsmith import traceable +from langsmith.wrappers import wrap_openai +from openai import AsyncOpenAI +from pydantic import BaseModel, Field +from temporalio import activity + + +class ToolCall(BaseModel): + call_id: str + name: str + arguments: str + + +class ChatResponse(BaseModel): + id: str + output_text: str = "" + tool_calls: list[ToolCall] = Field(default_factory=list) + + +@dataclass +class OpenAIRequest: + model: str + # str for the initial user prompt, list for tool call results fed back + input: str | list[dict[str, Any]] + instructions: str = ( + "You are a helpful assistant with note-taking abilities. " + "Use save_note to remember things and read_note to recall them." + ) + tools: list[dict[str, Any]] | None = None + previous_response_id: str | None = None + + +@traceable(name="Call OpenAI", run_type="llm") +@activity.defn +async def call_openai(request: OpenAIRequest) -> ChatResponse: + """Call OpenAI Responses API. Retries handled by Temporal, not the OpenAI client.""" + # wrap_openai patches the client so each API call (e.g. responses.create) + # creates its own child span with model parameters and token usage. + # max_retries=0 disables OpenAI's built-in retries — Temporal's activity + # retry policy handles retries instead, with full visibility in the UI. + client = wrap_openai(AsyncOpenAI(max_retries=0)) + response_args: dict[str, Any] = { + "model": request.model, + "instructions": request.instructions, + "input": request.input, + "timeout": 30, + } + if request.tools: + response_args["tools"] = request.tools + if request.previous_response_id: + response_args["previous_response_id"] = request.previous_response_id + response = await client.responses.create(**response_args) + return ChatResponse( + id=response.id, + output_text=response.output_text or "", + tool_calls=[ + ToolCall(call_id=item.call_id, name=item.name, arguments=item.arguments) + for item in response.output + if item.type == "function_call" + ], + ) diff --git a/langsmith_tracing/chatbot/starter.py b/langsmith_tracing/chatbot/starter.py new file mode 100644 index 000000000..4d67e794f --- /dev/null +++ b/langsmith_tracing/chatbot/starter.py @@ -0,0 +1,76 @@ +"""Interactive CLI starter for the chatbot LangSmith sample.""" + +import asyncio +import readline # noqa: F401 — enables input() line editing +import sys +import uuid + +from langsmith import traceable +from temporalio.client import Client +from temporalio.contrib.langsmith import LangSmithPlugin +from temporalio.contrib.pydantic import pydantic_data_converter +from temporalio.envconfig import ClientConfig + +from langsmith_tracing.chatbot.workflows import ChatbotWorkflow + +PROJECT_NAME = "langsmith-chatbot" + + +async def main(): + add_temporal_runs = "--add-temporal-runs" in sys.argv + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + plugin = LangSmithPlugin( + project_name=PROJECT_NAME, + add_temporal_runs=add_temporal_runs, + ) + + client = await Client.connect( + **config, + data_converter=pydantic_data_converter, + plugins=[plugin], + ) + + wf_id = f"langsmith-chatbot-{uuid.uuid4().hex[:8]}" + + @traceable( + name=f"Chatbot Session {wf_id[-8:]}", + run_type="chain", + # CRITICAL: Client-side @traceable runs outside the LangSmithPlugin's scope. + # Make sure client-side traces use the same project_name as what is given to + # the plugin. + project_name=PROJECT_NAME, + tags=["client-side", "chatbot"], + ) + async def run_session(): + wf_handle = await client.start_workflow( + ChatbotWorkflow.run, + id=wf_id, + task_queue="langsmith-chatbot-task-queue", + ) + print(f"Started workflow: {wf_handle.id}") + print('Type a message or "exit" to quit.\n') + + while True: + user_input = input("> ").strip() + if not user_input: + continue + + if user_input.lower() == "exit": + await wf_handle.signal(ChatbotWorkflow.exit) + result = await wf_handle.result() + print(f"\nWorkflow finished: {result}") + return + + response = await wf_handle.execute_update( + ChatbotWorkflow.message_from_user, user_input + ) + print(f"Bot: {response}\n") + + await run_session() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langsmith_tracing/chatbot/worker.py b/langsmith_tracing/chatbot/worker.py new file mode 100644 index 000000000..b2bd2c981 --- /dev/null +++ b/langsmith_tracing/chatbot/worker.py @@ -0,0 +1,49 @@ +"""Worker for the chatbot LangSmith sample.""" + +import asyncio +import logging +import sys + +from temporalio.client import Client +from temporalio.contrib.langsmith import LangSmithPlugin +from temporalio.contrib.pydantic import pydantic_data_converter +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from langsmith_tracing.chatbot.activities import call_openai +from langsmith_tracing.chatbot.workflows import ChatbotWorkflow + + +async def main(): + logging.basicConfig(level=logging.INFO) + + add_temporal_runs = "--add-temporal-runs" in sys.argv + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + plugin = LangSmithPlugin( + project_name="langsmith-chatbot", + add_temporal_runs=add_temporal_runs, + ) + + client = await Client.connect( + **config, + data_converter=pydantic_data_converter, + ) + + worker = Worker( + client, + task_queue="langsmith-chatbot-task-queue", + workflows=[ChatbotWorkflow], + activities=[call_openai], + plugins=[plugin], + ) + + label = "with" if add_temporal_runs else "without" + print(f"Worker started ({label} Temporal runs in traces), ctrl+c to exit") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/langsmith_tracing/chatbot/workflows.py b/langsmith_tracing/chatbot/workflows.py new file mode 100644 index 000000000..47205611c --- /dev/null +++ b/langsmith_tracing/chatbot/workflows.py @@ -0,0 +1,176 @@ +"""Conversational chatbot workflow with tool loop and LangSmith tracing.""" + +import json +from datetime import timedelta + +from temporalio import workflow +from temporalio.common import RetryPolicy + +with workflow.unsafe.imports_passed_through(): + from langsmith import traceable + + from langsmith_tracing.chatbot.activities import OpenAIRequest, call_openai + +TOOLS = [ + { + "type": "function", + "name": "save_note", + "description": "Save or update a note.", + "parameters": { + "type": "object", + "properties": { + "name": {"type": "string", "description": "Name/key for the note."}, + "content": { + "type": "string", + "description": "Content of the note.", + }, + }, + "required": ["name", "content"], + }, + }, + { + "type": "function", + "name": "read_note", + "description": "Read a previously saved note.", + "parameters": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name/key of the note to read.", + }, + }, + "required": ["name"], + }, + }, +] + + +@workflow.defn +class ChatbotWorkflow: + def __init__(self): + self._pending_message: str | None = None + self._last_response: str = "" + self._previous_response_id: str | None = None + self._notes: dict[str, str] = {} + self._done = False + + @workflow.signal + async def exit(self) -> None: + self._done = True + + @workflow.query + def notes(self) -> dict[str, str]: + return dict(self._notes) + + @workflow.update + async def message_from_user(self, message: str) -> str: + """Hand the message to the main loop and wait for its response.""" + + # Inner @traceable captures the message as input and response as output. + @traceable(name=f"Update: {message[:60]}", run_type="chain") + async def _traced(msg: str) -> str: + # Wait until any previous message has finished processing + await workflow.wait_condition(lambda: self._pending_message is None) + self._pending_message = msg + # Main loop sets _last_response, then clears _pending_message to signal done + await workflow.wait_condition(lambda: self._pending_message is None) + return self._last_response + + return await _traced(message) + + # Do not decorate @workflow.run with @traceable — it would violate + # replay safety and produce duplicate or orphaned traces. Instead, + # wrap an inner function, eg. self._run_inner() in this case. + @workflow.run + async def run(self) -> str: + # Alternative to @traceable decorator: call traceable() as a function + # for dynamic trace names that depend on runtime values. + now = workflow.now().strftime("%b %d %H:%M") + return await traceable( + name=f"Session {now}", + run_type="chain", + metadata={"workflow_id": workflow.info().workflow_id}, + tags=["chatbot-session"], + )(self._run_inner)() + + async def _run_inner(self) -> str: + while not self._done: + await workflow.wait_condition( + lambda: self._pending_message is not None or self._done + ) + if self._done: + break + assert self._pending_message is not None + message = self._pending_message + self._last_response = await self._query_openai(message) + # Clear pending_message AFTER setting the response so the update + # handler reads the correct response when its wait_condition fires. + self._pending_message = None + + return "Session ended." + + # Unlike @workflow.run, other workflow methods can be decorated with + # @traceable directly — they run inside the plugin-managed context + # where trace I/O is handled safely during replay. + @traceable(name="Save Note", run_type="tool") + def _save_note(self, name: str, content: str) -> str: + self._notes[name] = content + return f"Saved note '{name}'." + + @traceable(name="Read Note", run_type="tool") + def _read_note(self, name: str) -> str: + return self._notes.get(name, "Note not found.") + + async def _query_openai(self, message: str) -> str: + @traceable( + name=f"Request: {message[:60]}", + run_type="chain", + tags=["user-message"], + ) + async def _traced(): + input_for_next: str | list = message + while True: + response = await workflow.execute_activity( + call_openai, + OpenAIRequest( + model="gpt-4o-mini", + input=input_for_next, + tools=TOOLS, + previous_response_id=self._previous_response_id, + ), + start_to_close_timeout=timedelta(seconds=60), + retry_policy=RetryPolicy( + initial_interval=timedelta(seconds=2), maximum_attempts=3 + ), + ) + self._previous_response_id = response.id + + tool_results = [] + for tc in response.tool_calls: + args = json.loads(tc.arguments) + if tc.name == "save_note": + result = self._save_note(args["name"], args["content"]) + tool_results.append( + { + "type": "function_call_output", + "call_id": tc.call_id, + "output": result, + } + ) + elif tc.name == "read_note": + result = self._read_note(args["name"]) + tool_results.append( + { + "type": "function_call_output", + "call_id": tc.call_id, + "output": result, + } + ) + + if not tool_results: + return response.output_text or "Done." + + input_for_next = tool_results + + return await _traced() diff --git a/litellm_activity/README.md b/litellm_activity/README.md new file mode 100644 index 000000000..0ca20afb3 --- /dev/null +++ b/litellm_activity/README.md @@ -0,0 +1,51 @@ +# LiteLLM Activity + +This sample calls an LLM provider through [LiteLLM](https://docs.litellm.ai/) from a Temporal Activity. + +LLM calls perform network I/O and return nondeterministic results, so they must not run in Workflow code. The Workflow only schedules the Activity and records its result, keeping replay deterministic. + +## Prerequisites + +Follow the [repository prerequisites](../README.md), then install the sample's dependencies: + +```bash +uv sync --group litellm +``` + +Set the API key expected by your provider. This example uses OpenAI by default: + +```bash +export OPENAI_API_KEY="your-api-key" +``` + +To use another [LiteLLM-supported provider](https://docs.litellm.ai/docs/providers), set its credentials and model name. For example: + +```bash +export ANTHROPIC_API_KEY="your-api-key" +export LITELLM_MODEL="anthropic/claude-sonnet-4-5-20250929" +``` + +Provider credentials stay in the Worker environment; they are not passed through the Workflow or stored in Event History. + +## Run the sample + +Start a local Temporal server, then run these commands in separate terminals: + +```bash +# Terminal 1: run the Worker +uv run --group litellm litellm_activity/worker.py + +# Terminal 2: start a Workflow +uv run --group litellm litellm_activity/starter.py \ + "Why should LLM calls run in Temporal Activities?" +``` + +The Activity gives each provider call a 30-second client timeout. The Workflow gives each Activity attempt 45 seconds, limits the entire Activity execution to two minutes, and retries failures for up to three total attempts with exponential backoff. LiteLLM's own retries are disabled so Temporal records and controls every attempt. + +## Tests + +The tests replace the provider call and Activity with deterministic fakes, so they do not require an API key or make live LLM requests: + +```bash +uv run --group litellm pytest tests/litellm_activity +``` diff --git a/litellm_activity/__init__.py b/litellm_activity/__init__.py new file mode 100644 index 000000000..ed0fc3745 --- /dev/null +++ b/litellm_activity/__init__.py @@ -0,0 +1 @@ +"""Call LiteLLM from a Temporal Activity.""" diff --git a/litellm_activity/activities.py b/litellm_activity/activities.py new file mode 100644 index 000000000..424604f0e --- /dev/null +++ b/litellm_activity/activities.py @@ -0,0 +1,28 @@ +from typing import cast + +from litellm import ModelResponse, acompletion +from temporalio import activity + +from litellm_activity.shared import LLMRequest + + +@activity.defn +async def call_litellm(request: LLMRequest) -> str: + """Make the nondeterministic network call outside Workflow code.""" + response = await acompletion( + model=request.model, + messages=[ + {"role": "system", "content": request.system_prompt}, + {"role": "user", "content": request.prompt}, + ], + timeout=30, + # Let Temporal own retries so every attempt is visible in Event History. + num_retries=0, + ) + + if not isinstance(response, ModelResponse): + raise TypeError( + f"Expected a non-streaming LiteLLM response, got {type(response).__name__}" + ) + + return cast(str, response.choices[0].message.content) diff --git a/litellm_activity/shared.py b/litellm_activity/shared.py new file mode 100644 index 000000000..4c8144485 --- /dev/null +++ b/litellm_activity/shared.py @@ -0,0 +1,13 @@ +from dataclasses import dataclass + +DEFAULT_MODEL = "openai/gpt-4o-mini" +TASK_QUEUE = "litellm-activity-task-queue" + + +@dataclass +class LLMRequest: + """Serializable input shared by the client, Workflow, and Activity.""" + + prompt: str + model: str = DEFAULT_MODEL + system_prompt: str = "You are a helpful assistant." diff --git a/litellm_activity/starter.py b/litellm_activity/starter.py new file mode 100644 index 000000000..0f57754bc --- /dev/null +++ b/litellm_activity/starter.py @@ -0,0 +1,33 @@ +import asyncio +import os +import sys +import uuid + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from litellm_activity.shared import DEFAULT_MODEL, TASK_QUEUE, LLMRequest +from litellm_activity.workflow import LiteLLMWorkflow + + +async def main() -> None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + prompt = " ".join(sys.argv[1:]) or "Explain Temporal in one sentence." + request = LLMRequest( + prompt=prompt, + model=os.getenv("LITELLM_MODEL", DEFAULT_MODEL), + ) + result = await client.execute_workflow( + LiteLLMWorkflow.run, + request, + id=f"litellm-activity-{uuid.uuid4()}", + task_queue=TASK_QUEUE, + ) + print(result) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/litellm_activity/worker.py b/litellm_activity/worker.py new file mode 100644 index 000000000..946b22116 --- /dev/null +++ b/litellm_activity/worker.py @@ -0,0 +1,30 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from litellm_activity.activities import call_litellm +from litellm_activity.shared import TASK_QUEUE +from litellm_activity.workflow import LiteLLMWorkflow + + +async def main() -> None: + logging.basicConfig(level=logging.INFO) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + worker = Worker( + client, + task_queue=TASK_QUEUE, + workflows=[LiteLLMWorkflow], + activities=[call_litellm], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/litellm_activity/workflow.py b/litellm_activity/workflow.py new file mode 100644 index 000000000..c91e6696f --- /dev/null +++ b/litellm_activity/workflow.py @@ -0,0 +1,26 @@ +from datetime import timedelta + +from temporalio import workflow +from temporalio.common import RetryPolicy + +from litellm_activity.shared import LLMRequest + +with workflow.unsafe.imports_passed_through(): + from litellm_activity.activities import call_litellm + + +@workflow.defn +class LiteLLMWorkflow: + @workflow.run + async def run(self, request: LLMRequest) -> str: + return await workflow.execute_activity( + call_litellm, + request, + start_to_close_timeout=timedelta(seconds=45), + schedule_to_close_timeout=timedelta(minutes=2), + retry_policy=RetryPolicy( + initial_interval=timedelta(seconds=1), + maximum_interval=timedelta(seconds=10), + maximum_attempts=3, + ), + ) diff --git a/message_passing/__init__.py b/message_passing/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/message_passing/introduction/README.md b/message_passing/introduction/README.md new file mode 100644 index 000000000..e4e15b1ca --- /dev/null +++ b/message_passing/introduction/README.md @@ -0,0 +1,18 @@ +# Introduction to message-passing + +This sample provides an introduction to using Query, Signal, and Update. + +See https://docs.temporal.io/develop/python/message-passing. + +To run, first see the main [README.md](../../README.md) for prerequisites. + +Then create two terminals. + +Run the worker in one terminal: + + uv run message_passing/introduction/worker.py + +And execute the workflow in the other terminal: + + uv run message_passing/introduction/starter.py + diff --git a/message_passing/introduction/__init__.py b/message_passing/introduction/__init__.py new file mode 100644 index 000000000..79d4a7b1c --- /dev/null +++ b/message_passing/introduction/__init__.py @@ -0,0 +1,13 @@ +from enum import IntEnum + +TASK_QUEUE = "message-passing-introduction-task-queue" + + +class Language(IntEnum): + ARABIC = 1 + CHINESE = 2 + ENGLISH = 3 + FRENCH = 4 + HINDI = 5 + PORTUGUESE = 6 + SPANISH = 7 diff --git a/message_passing/introduction/activities.py b/message_passing/introduction/activities.py new file mode 100644 index 000000000..7f2c9c560 --- /dev/null +++ b/message_passing/introduction/activities.py @@ -0,0 +1,25 @@ +import asyncio +from typing import Optional + +from temporalio import activity + +from message_passing.introduction import Language + + +@activity.defn +async def call_greeting_service(to_language: Language) -> Optional[str]: + """ + An Activity that simulates a call to a remote greeting service. + The remote greeting service supports the full range of languages. + """ + greetings = { + Language.ARABIC: "مرحبا بالعالم", + Language.CHINESE: "你好,世界", + Language.ENGLISH: "Hello, world", + Language.FRENCH: "Bonjour, monde", + Language.HINDI: "नमस्ते दुनिया", + Language.PORTUGUESE: "Olá mundo", + Language.SPANISH: "Hola mundo", + } + await asyncio.sleep(0.2) # Simulate a network call + return greetings.get(to_language) diff --git a/message_passing/introduction/starter.py b/message_passing/introduction/starter.py new file mode 100644 index 000000000..aa5b8967c --- /dev/null +++ b/message_passing/introduction/starter.py @@ -0,0 +1,58 @@ +import asyncio +from typing import Optional + +from temporalio.client import Client, WorkflowUpdateStage +from temporalio.envconfig import ClientConfig + +from message_passing.introduction import TASK_QUEUE +from message_passing.introduction.workflows import ( + ApproveInput, + GetLanguagesInput, + GreetingWorkflow, + Language, + SetLanguageInput, +) + + +async def main(client: Optional[Client] = None): + if not client: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + wf_handle = await client.start_workflow( + GreetingWorkflow.run, + id="greeting-workflow-1234", + task_queue=TASK_QUEUE, + ) + + # 👉 Send a Query + supported_languages = await wf_handle.query( + GreetingWorkflow.get_languages, GetLanguagesInput(include_unsupported=False) + ) + print(f"supported languages: {supported_languages}") + + # 👉 Execute an Update + previous_language = await wf_handle.execute_update( + GreetingWorkflow.set_language, SetLanguageInput(language=Language.CHINESE) + ) + assert await wf_handle.query(GreetingWorkflow.get_language) == Language.CHINESE + print(f"language changed: {previous_language.name} -> {Language.CHINESE.name}") + + # 👉 Start an Update and then wait for it to complete + update_handle = await wf_handle.start_update( + GreetingWorkflow.set_language_using_activity, + SetLanguageInput(language=Language.ARABIC), + wait_for_stage=WorkflowUpdateStage.ACCEPTED, + ) + previous_language = await update_handle.result() + assert await wf_handle.query(GreetingWorkflow.get_language) == Language.ARABIC + print(f"language changed: {previous_language.name} -> {Language.ARABIC.name}") + + # 👉 Send a Signal + await wf_handle.signal(GreetingWorkflow.approve, ApproveInput(name="")) + print(await wf_handle.result()) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/message_passing/introduction/worker.py b/message_passing/introduction/worker.py new file mode 100644 index 000000000..349748015 --- /dev/null +++ b/message_passing/introduction/worker.py @@ -0,0 +1,39 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from message_passing.introduction import TASK_QUEUE +from message_passing.introduction.activities import call_greeting_service +from message_passing.introduction.workflows import GreetingWorkflow + +interrupt_event = asyncio.Event() + + +async def main(): + logging.basicConfig(level=logging.INFO) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[GreetingWorkflow], + activities=[call_greeting_service], + ): + logging.info("Worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/message_passing/introduction/workflows.py b/message_passing/introduction/workflows.py new file mode 100644 index 000000000..8988d5813 --- /dev/null +++ b/message_passing/introduction/workflows.py @@ -0,0 +1,124 @@ +import asyncio +from dataclasses import dataclass +from datetime import timedelta +from typing import List, Optional + +from temporalio import workflow +from temporalio.exceptions import ApplicationError + +with workflow.unsafe.imports_passed_through(): + from message_passing.introduction import Language + from message_passing.introduction.activities import call_greeting_service + + +@dataclass +class GetLanguagesInput: + include_unsupported: bool + + +@dataclass +class SetLanguageInput: + language: Language + + +@dataclass +class ApproveInput: + name: str + + +@workflow.defn +class GreetingWorkflow: + """ + A workflow that that returns a greeting in one of multiple supported + languages. + + It exposes a query to obtain the current language, a signal to approve the + workflow so that it is allowed to return its result, and two updates for + changing the current language and receiving the previous language in + response. + + One of the update handlers is not an `async def`, so it can only mutate and + return local workflow state; the other update handler is `async def` and + executes an activity which calls a remote service, giving access to language + translations which are not available in local workflow state. + """ + + def __init__(self) -> None: + self.approved_for_release = False + self.approver_name: Optional[str] = None + self.greetings = { + Language.CHINESE: "你好,世界", + Language.ENGLISH: "Hello, world", + } + self.language = Language.ENGLISH + self.lock = asyncio.Lock() # used by the async handler below + + @workflow.run + async def run(self) -> str: + # 👉 In addition to waiting for the `approve` Signal, we also wait for + # all handlers to finish. Otherwise, the Workflow might return its + # result while an async set_language_using_activity Update is in + # progress. + await workflow.wait_condition( + lambda: self.approved_for_release and workflow.all_handlers_finished() + ) + return self.greetings[self.language] + + @workflow.query + def get_languages(self, input: GetLanguagesInput) -> List[Language]: + # 👉 A Query handler returns a value: it can inspect but must not mutate the Workflow state. + if input.include_unsupported: + return sorted(Language) + else: + return sorted(self.greetings) + + @workflow.signal + def approve(self, input: ApproveInput) -> None: + # 👉 A Signal handler mutates the Workflow state but cannot return a value. + self.approved_for_release = True + self.approver_name = input.name + + @workflow.update + def set_language(self, input: SetLanguageInput) -> Language: + # 👉 An Update handler can mutate the Workflow state and return a value. + previous_language, self.language = self.language, input.language + return previous_language + + @set_language.validator + def validate_language(self, input: SetLanguageInput) -> None: + if input.language not in self.greetings: + # 👉 In an Update validator you raise any exception to reject the Update. + raise ValueError(f"{input.language.name} is not supported") + + @workflow.update + async def set_language_using_activity(self, input: SetLanguageInput) -> Language: + # 👉 This update handler is async, so it can execute an activity. + if input.language not in self.greetings: + # 👉 We use a lock so that, if this handler is executed multiple + # times, each execution can schedule the activity only when the + # previously scheduled activity has completed. This ensures that + # multiple calls to set_language are processed in order. + async with self.lock: + greeting = await workflow.execute_activity( + call_greeting_service, + input.language, + start_to_close_timeout=timedelta(seconds=10), + ) + # 👉 The requested language might not be supported by the remote + # service. If so, we raise ApplicationError, which will fail the + # Update. The WorkflowExecutionUpdateAccepted event will still + # be added to history. (Update validators can be used to reject + # updates before any event is written to history, but they + # cannot be async, and so we cannot use an update validator for + # this purpose.) + if greeting is None: + raise ApplicationError( + f"Greeting service does not support {input.language.name}" + ) + self.greetings[input.language] = greeting + previous_language, self.language = self.language, input.language + return previous_language + + @workflow.query + def get_language(self) -> Language: + return self.language diff --git a/message_passing/safe_message_handlers/README.md b/message_passing/safe_message_handlers/README.md new file mode 100644 index 000000000..f8e4db8aa --- /dev/null +++ b/message_passing/safe_message_handlers/README.md @@ -0,0 +1,21 @@ +# Atomic message handlers + +This sample shows off important techniques for handling signals and updates, aka messages. In particular, it illustrates how message handlers can interleave or not be completed before the workflow completes, and how you can manage that. + +* Here, using workflow.wait_condition, signal and update handlers will only operate when the workflow is within a certain state--between cluster_started and cluster_shutdown. +* Message handlers can block and their actions can be interleaved with one another and with the main workflow. This can easily cause bugs, so you can use a lock to protect shared state from interleaved access. +* An "Entity" workflow, i.e. a long-lived workflow, periodically "continues as new". It must do this to prevent its history from growing too large, and it passes its state to the next workflow. You can check `workflow.info().is_continue_as_new_suggested()` to see when it's time. +* Most people want their message handlers to finish before the workflow run completes or continues as new. Use `await workflow.wait_condition(lambda: workflow.all_handlers_finished())` to achieve this. +* Message handlers can be made idempotent. See update `ClusterManager.assign_nodes_to_job`. + +To run, first see [README.md](../../README.md) for prerequisites. + +Then, run the following from the root directory to run the worker: + + uv run message_passing/safe_message_handlers/worker.py + +Then, in another terminal, run the following to execute the workflow: + + uv run message_passing/safe_message_handlers/starter.py + +This will start a worker to run your workflow and activities, then start a ClusterManagerWorkflow and put it through its paces. diff --git a/message_passing/safe_message_handlers/__init__.py b/message_passing/safe_message_handlers/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/message_passing/safe_message_handlers/activities.py b/message_passing/safe_message_handlers/activities.py new file mode 100644 index 000000000..da8a8be00 --- /dev/null +++ b/message_passing/safe_message_handlers/activities.py @@ -0,0 +1,55 @@ +import asyncio +from dataclasses import dataclass +from typing import List, Set + +from temporalio import activity + + +@dataclass +class AssignNodesToJobInput: + nodes: List[str] + job_name: str + + +@dataclass +class ClusterState: + node_ids: List[str] + + +@activity.defn +async def start_cluster() -> ClusterState: + return ClusterState(node_ids=[f"node-{i}" for i in range(25)]) + + +@activity.defn +async def assign_nodes_to_job(input: AssignNodesToJobInput) -> None: + print(f"Assigning nodes {input.nodes} to job {input.job_name}") + await asyncio.sleep(0.1) + + +@dataclass +class UnassignNodesForJobInput: + nodes: List[str] + job_name: str + + +@activity.defn +async def unassign_nodes_for_job(input: UnassignNodesForJobInput) -> None: + print(f"Deallocating nodes {input.nodes} from job {input.job_name}") + await asyncio.sleep(0.1) + + +@dataclass +class FindBadNodesInput: + nodes_to_check: Set[str] + + +@activity.defn +async def find_bad_nodes(input: FindBadNodesInput) -> Set[str]: + await asyncio.sleep(0.1) + bad_nodes = set([id for id in input.nodes_to_check if hash(id) % 5 == 0]) + if bad_nodes: + print(f"Found bad nodes: {bad_nodes}") + else: + print("No new bad nodes found.") + return bad_nodes diff --git a/message_passing/safe_message_handlers/starter.py b/message_passing/safe_message_handlers/starter.py new file mode 100644 index 000000000..c8f1b5d39 --- /dev/null +++ b/message_passing/safe_message_handlers/starter.py @@ -0,0 +1,89 @@ +import argparse +import asyncio +import logging +import uuid +from typing import Optional + +from temporalio import common +from temporalio.client import Client, WorkflowHandle +from temporalio.envconfig import ClientConfig + +from message_passing.safe_message_handlers.workflow import ( + ClusterManagerAssignNodesToJobInput, + ClusterManagerDeleteJobInput, + ClusterManagerInput, + ClusterManagerWorkflow, +) + + +async def do_cluster_lifecycle(wf: WorkflowHandle, delay_seconds: Optional[int] = None): + cluster_status = await wf.execute_update( + ClusterManagerWorkflow.wait_until_cluster_started + ) + print(f"Cluster started with {len(cluster_status.nodes)} nodes") + + print("Assigning jobs to nodes...") + allocation_updates = [] + for i in range(6): + allocation_updates.append( + wf.execute_update( + ClusterManagerWorkflow.assign_nodes_to_job, + ClusterManagerAssignNodesToJobInput( + total_num_nodes=2, job_name=f"task-{i}" + ), + ) + ) + await asyncio.gather(*allocation_updates) + + print(f"Sleeping for {delay_seconds} second(s)") + if delay_seconds: + await asyncio.sleep(delay_seconds) + + print("Deleting jobs...") + deletion_updates = [] + for i in range(6): + deletion_updates.append( + wf.execute_update( + ClusterManagerWorkflow.delete_job, + ClusterManagerDeleteJobInput(job_name=f"task-{i}"), + ) + ) + await asyncio.gather(*deletion_updates) + + await wf.signal(ClusterManagerWorkflow.shutdown_cluster) + + +async def main(should_test_continue_as_new: bool): + # Connect to Temporal + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + print("Starting cluster") + cluster_manager_handle = await client.start_workflow( + ClusterManagerWorkflow.run, + ClusterManagerInput(test_continue_as_new=should_test_continue_as_new), + id=f"ClusterManagerWorkflow-{uuid.uuid4()}", + task_queue="safe-message-handlers-task-queue", + id_conflict_policy=common.WorkflowIDConflictPolicy.TERMINATE_EXISTING, + ) + delay_seconds = 10 if should_test_continue_as_new else 1 + await do_cluster_lifecycle(cluster_manager_handle, delay_seconds=delay_seconds) + result = await cluster_manager_handle.result() + print( + f"Cluster shut down successfully." + f" It had {result.num_currently_assigned_nodes} nodes assigned at the end." + ) + + +if __name__ == "__main__": + logging.basicConfig(level=logging.INFO) + parser = argparse.ArgumentParser(description="Atomic message handlers") + parser.add_argument( + "--test-continue-as-new", + help="Make the ClusterManagerWorkflow continue as new before shutting down", + action="store_true", + default=False, + ) + args = parser.parse_args() + asyncio.run(main(args.test_continue_as_new)) diff --git a/message_passing/safe_message_handlers/worker.py b/message_passing/safe_message_handlers/worker.py new file mode 100644 index 000000000..31e538d4a --- /dev/null +++ b/message_passing/safe_message_handlers/worker.py @@ -0,0 +1,47 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from message_passing.safe_message_handlers.workflow import ( + ClusterManagerWorkflow, + assign_nodes_to_job, + find_bad_nodes, + start_cluster, + unassign_nodes_for_job, +) + +interrupt_event = asyncio.Event() + + +async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + async with Worker( + client, + task_queue="safe-message-handlers-task-queue", + workflows=[ClusterManagerWorkflow], + activities=[ + assign_nodes_to_job, + unassign_nodes_for_job, + find_bad_nodes, + start_cluster, + ], + ): + logging.info("ClusterManagerWorkflow worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + logging.basicConfig(level=logging.INFO) + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/message_passing/safe_message_handlers/workflow.py b/message_passing/safe_message_handlers/workflow.py new file mode 100644 index 000000000..ca549a61b --- /dev/null +++ b/message_passing/safe_message_handlers/workflow.py @@ -0,0 +1,265 @@ +import asyncio +import dataclasses +from dataclasses import dataclass +from datetime import timedelta +from typing import Dict, List, Optional, Set + +from temporalio import workflow +from temporalio.common import RetryPolicy +from temporalio.exceptions import ApplicationError + +from message_passing.safe_message_handlers.activities import ( + AssignNodesToJobInput, + FindBadNodesInput, + UnassignNodesForJobInput, + assign_nodes_to_job, + find_bad_nodes, + start_cluster, + unassign_nodes_for_job, +) + + +# In workflows that continue-as-new, it's convenient to store all your state in one serializable structure +# to make it easier to pass between runs +@dataclass +class ClusterManagerState: + cluster_started: bool = False + cluster_shutdown: bool = False + nodes: Dict[str, Optional[str]] = dataclasses.field(default_factory=dict) + jobs_assigned: Set[str] = dataclasses.field(default_factory=set) + + +@dataclass +class ClusterManagerInput: + state: Optional[ClusterManagerState] = None + test_continue_as_new: bool = False + + +@dataclass +class ClusterManagerResult: + num_currently_assigned_nodes: int + num_bad_nodes: int + + +# Be in the habit of storing message inputs and outputs in serializable structures. +# This makes it easier to add more over time in a backward-compatible way. +@dataclass +class ClusterManagerAssignNodesToJobInput: + # If larger or smaller than previous amounts, will resize the job. + total_num_nodes: int + job_name: str + + +@dataclass +class ClusterManagerDeleteJobInput: + job_name: str + + +@dataclass +class ClusterManagerAssignNodesToJobResult: + nodes_assigned: Set[str] + + +# ClusterManagerWorkflow keeps track of the assignments of a cluster of nodes. +# Via signals, the cluster can be started and shutdown. +# Via updates, clients can also assign jobs to nodes and delete jobs. +# These updates must run atomically. +@workflow.defn +class ClusterManagerWorkflow: + @workflow.init + def __init__(self, input: ClusterManagerInput) -> None: + if input.state: + self.state = input.state + else: + self.state = ClusterManagerState() + + if input.test_continue_as_new: + self.max_history_length: Optional[int] = 120 + self.sleep_interval_seconds = 1 + else: + self.max_history_length = None + self.sleep_interval_seconds = 600 + + # Protects workflow state from interleaved access + self.nodes_lock = asyncio.Lock() + + @workflow.update + async def wait_until_cluster_started(self) -> ClusterManagerState: + await workflow.wait_condition(lambda: self.state.cluster_started) + return self.state + + @workflow.signal + async def shutdown_cluster(self) -> None: + await workflow.wait_condition(lambda: self.state.cluster_started) + self.state.cluster_shutdown = True + workflow.logger.info("Cluster shut down") + + # This is an update as opposed to a signal because the client may want to wait for nodes to be allocated + # before sending work to those nodes. + # Returns the list of node names that were allocated to the job. + @workflow.update + async def assign_nodes_to_job( + self, input: ClusterManagerAssignNodesToJobInput + ) -> ClusterManagerAssignNodesToJobResult: + await workflow.wait_condition(lambda: self.state.cluster_started) + if self.state.cluster_shutdown: + # If you want the client to receive a failure, either add an update validator and throw the + # exception from there, or raise an ApplicationError. Other exceptions in the main handler + # will cause the workflow to keep retrying and get it stuck. + raise ApplicationError( + "Cannot assign nodes to a job: Cluster is already shut down" + ) + + async with self.nodes_lock: + # Idempotency guard. + if input.job_name in self.state.jobs_assigned: + return ClusterManagerAssignNodesToJobResult( + self.get_assigned_nodes(job_name=input.job_name) + ) + unassigned_nodes = self.get_unassigned_nodes() + if len(unassigned_nodes) < input.total_num_nodes: + # If you want the client to receive a failure, either add an update validator and throw the + # exception from there, or raise an ApplicationError. Other exceptions in the main handler + # will cause the workflow to keep retrying and get it stuck. + raise ApplicationError( + f"Cannot assign {input.total_num_nodes} nodes; have only {len(unassigned_nodes)} available" + ) + nodes_to_assign = unassigned_nodes[: input.total_num_nodes] + # This await would be dangerous without nodes_lock because it yields control and allows interleaving + # with delete_job and perform_health_checks, which both touch self.state.nodes. + await self._assign_nodes_to_job(nodes_to_assign, input.job_name) + return ClusterManagerAssignNodesToJobResult( + nodes_assigned=self.get_assigned_nodes(job_name=input.job_name) + ) + + async def _assign_nodes_to_job( + self, assigned_nodes: List[str], job_name: str + ) -> None: + await workflow.execute_activity( + assign_nodes_to_job, + AssignNodesToJobInput(nodes=assigned_nodes, job_name=job_name), + start_to_close_timeout=timedelta(seconds=10), + ) + for node in assigned_nodes: + self.state.nodes[node] = job_name + self.state.jobs_assigned.add(job_name) + + # Even though it returns nothing, this is an update because the client may want to track it, for example + # to wait for nodes to be unassigned before reassigning them. + @workflow.update + async def delete_job(self, input: ClusterManagerDeleteJobInput) -> None: + await workflow.wait_condition(lambda: self.state.cluster_started) + if self.state.cluster_shutdown: + # If you want the client to receive a failure, either add an update validator and throw the + # exception from there, or raise an ApplicationError. Other exceptions in the main handler + # will cause the workflow to keep retrying and get it stuck. + raise ApplicationError("Cannot delete a job: Cluster is already shut down") + + async with self.nodes_lock: + nodes_to_unassign = [ + k for k, v in self.state.nodes.items() if v == input.job_name + ] + # This await would be dangerous without nodes_lock because it yields control and allows interleaving + # with assign_nodes_to_job and perform_health_checks, which all touch self.state.nodes. + await self._unassign_nodes_for_job(nodes_to_unassign, input.job_name) + + async def _unassign_nodes_for_job( + self, nodes_to_unassign: List[str], job_name: str + ): + await workflow.execute_activity( + unassign_nodes_for_job, + UnassignNodesForJobInput(nodes=nodes_to_unassign, job_name=job_name), + start_to_close_timeout=timedelta(seconds=10), + ) + for node in nodes_to_unassign: + self.state.nodes[node] = None + + def get_unassigned_nodes(self) -> List[str]: + return [k for k, v in self.state.nodes.items() if v is None] + + def get_bad_nodes(self) -> Set[str]: + return set([k for k, v in self.state.nodes.items() if v == "BAD!"]) + + def get_assigned_nodes(self, *, job_name: Optional[str] = None) -> Set[str]: + if job_name: + return set([k for k, v in self.state.nodes.items() if v == job_name]) + else: + return set( + [ + k + for k, v in self.state.nodes.items() + if v is not None and v != "BAD!" + ] + ) + + async def perform_health_checks(self) -> None: + async with self.nodes_lock: + assigned_nodes = self.get_assigned_nodes() + try: + # This await would be dangerous without nodes_lock because it yields control and allows interleaving + # with assign_nodes_to_job and delete_job, which both touch self.state.nodes. + bad_nodes = await workflow.execute_activity( + find_bad_nodes, + FindBadNodesInput(nodes_to_check=assigned_nodes), + start_to_close_timeout=timedelta(seconds=10), + # This health check is optional, and our lock would block the whole workflow if we let it retry forever. + retry_policy=RetryPolicy(maximum_attempts=1), + ) + for node in bad_nodes: + self.state.nodes[node] = "BAD!" + except Exception as e: + workflow.logger.warn( + f"Health check failed with error {type(e).__name__}:{e}" + ) + + @workflow.run + async def run(self, input: ClusterManagerInput) -> ClusterManagerResult: + cluster_state = await workflow.execute_activity( + start_cluster, schedule_to_close_timeout=timedelta(seconds=10) + ) + self.state.nodes = {k: None for k in cluster_state.node_ids} + self.state.cluster_started = True + workflow.logger.info("Cluster started") + + # Perform health checks at intervals. + while True: + await self.perform_health_checks() + try: + await workflow.wait_condition( + lambda: self.state.cluster_shutdown + or self.should_continue_as_new(), + timeout=timedelta(seconds=self.sleep_interval_seconds), + ) + except asyncio.TimeoutError: + pass + if self.state.cluster_shutdown: + break + # The cluster manager is a long-running "entity" workflow so we need to periodically checkpoint its state and + # continue-as-new. + if self.should_continue_as_new(): + # We don't want to leave any job assignment or deletion handlers half-finished when we continue as new. + await workflow.wait_condition(lambda: workflow.all_handlers_finished()) + workflow.logger.info("Continuing as new") + workflow.continue_as_new( + ClusterManagerInput( + state=self.state, + test_continue_as_new=input.test_continue_as_new, + ) + ) + # Make sure we finish off handlers such as deleting jobs before we complete the workflow. + await workflow.wait_condition(lambda: workflow.all_handlers_finished()) + return ClusterManagerResult( + len(self.get_assigned_nodes()), + len(self.get_bad_nodes()), + ) + + def should_continue_as_new(self) -> bool: + if workflow.info().is_continue_as_new_suggested(): + return True + # This is just for ease-of-testing. In production, we trust temporal to tell us when to continue as new. + if ( + self.max_history_length + and workflow.info().get_current_history_length() > self.max_history_length + ): + return True + return False diff --git a/message_passing/update_with_start/lazy_initialization/README.md b/message_passing/update_with_start/lazy_initialization/README.md new file mode 100644 index 000000000..46f4e8130 --- /dev/null +++ b/message_passing/update_with_start/lazy_initialization/README.md @@ -0,0 +1,18 @@ +# Update With Start: Lazy init + +This sample illustrates the use of update-with-start to send Updates to a Workflow, starting the Workflow if +it is not running yet ("lazy init"). The Workflow represents a Shopping Cart in an e-commerce application, and +update-with-start is used to add items to the cart, receiving back the updated cart subtotal. + +To run, first see the main [README.md](../../../README.md) for prerequisites. + +Then run the following from the root directory: + + uv run message_passing/update_with_start/lazy_initialization/worker.py + +Then, in another terminal: + + uv run message_passing/update_with_start/lazy_initialization/starter.py + +This will start a worker to run your workflow and activities, then simulate a backend application receiving +requests to add items to a shopping cart, before finalizing the order. diff --git a/message_passing/update_with_start/lazy_initialization/__init__.py b/message_passing/update_with_start/lazy_initialization/__init__.py new file mode 100644 index 000000000..ac3632ee4 --- /dev/null +++ b/message_passing/update_with_start/lazy_initialization/__init__.py @@ -0,0 +1 @@ +TASK_QUEUE = "update-with-start-lazy-initialization" diff --git a/message_passing/update_with_start/lazy_initialization/activities.py b/message_passing/update_with_start/lazy_initialization/activities.py new file mode 100644 index 000000000..fa730e477 --- /dev/null +++ b/message_passing/update_with_start/lazy_initialization/activities.py @@ -0,0 +1,20 @@ +import asyncio +from dataclasses import dataclass +from typing import Optional + +from temporalio import activity + + +@dataclass +class ShoppingCartItem: + sku: str + quantity: int + + +@activity.defn +async def get_price(item: ShoppingCartItem) -> Optional[int]: + await asyncio.sleep(0.1) + price = None if item.sku == "sku-456" else 599 + if price is None: + return None + return price * item.quantity diff --git a/message_passing/update_with_start/lazy_initialization/starter.py b/message_passing/update_with_start/lazy_initialization/starter.py new file mode 100644 index 000000000..ec8749393 --- /dev/null +++ b/message_passing/update_with_start/lazy_initialization/starter.py @@ -0,0 +1,81 @@ +import asyncio +import uuid +from typing import Optional, Tuple + +from temporalio import common +from temporalio.client import ( + Client, + WithStartWorkflowOperation, + WorkflowHandle, + WorkflowUpdateFailedError, +) +from temporalio.envconfig import ClientConfig +from temporalio.exceptions import ApplicationError + +from message_passing.update_with_start.lazy_initialization import TASK_QUEUE +from message_passing.update_with_start.lazy_initialization.workflows import ( + ShoppingCartItem, + ShoppingCartWorkflow, +) + + +async def handle_add_item_request( + session_id: str, item_id: str, quantity: int, temporal_client: Client +) -> Tuple[Optional[int], WorkflowHandle]: + """ + Handle a client request to add an item to the shopping cart. The user is not logged in, but a session ID is + available from a cookie, and we use this as the cart ID. The Temporal client was created at service-start + time and is shared by all request handlers. + + A Workflow Type exists that can be used to represent a shopping cart. The method uses update-with-start to + add an item to the shopping cart, creating the cart if it doesn't already exist. + + Note that the workflow handle is available, even if the Update fails. + """ + cart_id = f"cart-{session_id}" + start_op = WithStartWorkflowOperation( + ShoppingCartWorkflow.run, + id=cart_id, + id_conflict_policy=common.WorkflowIDConflictPolicy.USE_EXISTING, + task_queue=TASK_QUEUE, + ) + try: + price = await temporal_client.execute_update_with_start_workflow( + ShoppingCartWorkflow.add_item, + ShoppingCartItem(sku=item_id, quantity=quantity), + start_workflow_operation=start_op, + ) + except WorkflowUpdateFailedError as err: + if ( + isinstance(err.cause, ApplicationError) + and err.cause.type == "ItemUnavailableError" + ): + price = None + else: + raise err + + workflow_handle = await start_op.workflow_handle() + + return price, workflow_handle + + +async def main(): + print("🛒") + session_id = f"session-{uuid.uuid4()}" + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + subtotal_1, _ = await handle_add_item_request(session_id, "sku-123", 1, client) + subtotal_2, wf_handle = await handle_add_item_request( + session_id, "sku-456", 1, client + ) + print(f"subtotals were, {[subtotal_1, subtotal_2]}") + await wf_handle.signal(ShoppingCartWorkflow.checkout) + final_order = await wf_handle.result() + print(f"final order: {final_order}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/message_passing/update_with_start/lazy_initialization/worker.py b/message_passing/update_with_start/lazy_initialization/worker.py new file mode 100644 index 000000000..1cc4f6ff4 --- /dev/null +++ b/message_passing/update_with_start/lazy_initialization/worker.py @@ -0,0 +1,38 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from message_passing.update_with_start.lazy_initialization import TASK_QUEUE, workflows +from message_passing.update_with_start.lazy_initialization.activities import get_price + +interrupt_event = asyncio.Event() + + +async def main(): + logging.basicConfig(level=logging.INFO) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[workflows.ShoppingCartWorkflow], + activities=[get_price], + ): + logging.info("Worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/message_passing/update_with_start/lazy_initialization/workflows.py b/message_passing/update_with_start/lazy_initialization/workflows.py new file mode 100644 index 000000000..49964ff2b --- /dev/null +++ b/message_passing/update_with_start/lazy_initialization/workflows.py @@ -0,0 +1,60 @@ +from dataclasses import dataclass +from datetime import timedelta +from typing import List, Tuple + +from temporalio import workflow +from temporalio.exceptions import ApplicationError + +with workflow.unsafe.imports_passed_through(): + from message_passing.update_with_start.lazy_initialization.activities import ( + ShoppingCartItem, + get_price, + ) + + +@dataclass +class FinalizedOrder: + id: str + items: List[Tuple[ShoppingCartItem, int]] + total: int + + +@workflow.defn +class ShoppingCartWorkflow: + def __init__(self): + self.items: List[Tuple[ShoppingCartItem, int]] = [] + self.order_submitted = False + + @workflow.run + async def run(self) -> FinalizedOrder: + await workflow.wait_condition( + lambda: workflow.all_handlers_finished() and self.order_submitted + ) + return FinalizedOrder( + id=workflow.info().workflow_id, + items=self.items, + total=sum(price for _, price in self.items), + ) + + @workflow.update + async def add_item(self, item: ShoppingCartItem) -> int: + price = await workflow.execute_activity( + get_price, item, start_to_close_timeout=timedelta(seconds=10) + ) + if price is None: + raise ApplicationError( + f"Item unavailable: {item}", + type="ItemUnavailableError", + ) + self.items.append((item, price)) + + return sum(price for _, price in self.items) + + @add_item.validator + def validate_add_item(self, item: ShoppingCartItem) -> None: + if self.order_submitted: + raise ApplicationError("Order already submitted") + + @workflow.signal + def checkout(self): + self.order_submitted = True diff --git a/message_passing/waiting_for_handlers/README.md b/message_passing/waiting_for_handlers/README.md new file mode 100644 index 000000000..9c9e3f7c6 --- /dev/null +++ b/message_passing/waiting_for_handlers/README.md @@ -0,0 +1,41 @@ +# Waiting for message handlers + +This workflow demonstrates how to wait for signal and update handlers to +finish in the following circumstances: + +- Before a successful return +- On failure +- On cancellation + +Your workflow can also exit via Continue-As-New. In that case you would +usually wait for the handlers to finish immediately before the call to +continue_as_new(); that's not illustrated in this sample. + + +To run, open two terminals. + +Run the worker in one terminal: + + uv run message_passing/waiting_for_handlers/worker.py + +And run the workflow-starter code in the other terminal: + + uv run message_passing/waiting_for_handlers/starter.py + + +Here's the output you'll see: + +``` +workflow exit type: SUCCESS + 🟢 caller received update result + 🟢 caller received workflow result + + +workflow exit type: FAILURE + 🟢 caller received update result + 🔴 caught exception while waiting for workflow result: Workflow execution failed: deliberately failing workflow + + +workflow exit type: CANCELLATION + 🟢 caller received update result +``` \ No newline at end of file diff --git a/message_passing/waiting_for_handlers/__init__.py b/message_passing/waiting_for_handlers/__init__.py new file mode 100644 index 000000000..1274f9bf6 --- /dev/null +++ b/message_passing/waiting_for_handlers/__init__.py @@ -0,0 +1,21 @@ +from dataclasses import dataclass +from enum import IntEnum + +TASK_QUEUE = "my-task-queue" +WORKFLOW_ID = "my-workflow-id" + + +class WorkflowExitType(IntEnum): + SUCCESS = 0 + FAILURE = 1 + CANCELLATION = 2 + + +@dataclass +class WorkflowInput: + exit_type: WorkflowExitType + + +@dataclass +class WorkflowResult: + data: str diff --git a/message_passing/waiting_for_handlers/activities.py b/message_passing/waiting_for_handlers/activities.py new file mode 100644 index 000000000..610db849b --- /dev/null +++ b/message_passing/waiting_for_handlers/activities.py @@ -0,0 +1,8 @@ +import asyncio + +from temporalio import activity + + +@activity.defn +async def activity_executed_by_update_handler(): + await asyncio.sleep(1) diff --git a/message_passing/waiting_for_handlers/starter.py b/message_passing/waiting_for_handlers/starter.py new file mode 100644 index 000000000..9d3fbc0cd --- /dev/null +++ b/message_passing/waiting_for_handlers/starter.py @@ -0,0 +1,75 @@ +import asyncio + +from temporalio import client, common +from temporalio.envconfig import ClientConfig + +from message_passing.waiting_for_handlers import ( + TASK_QUEUE, + WORKFLOW_ID, + WorkflowExitType, + WorkflowInput, +) +from message_passing.waiting_for_handlers.workflows import WaitingForHandlersWorkflow + + +async def starter(exit_type: WorkflowExitType): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + cl = await client.Client.connect(**config) + + wf_handle = await cl.start_workflow( + WaitingForHandlersWorkflow.run, + WorkflowInput(exit_type=exit_type), + id=WORKFLOW_ID, + task_queue=TASK_QUEUE, + id_conflict_policy=common.WorkflowIDConflictPolicy.TERMINATE_EXISTING, + ) + await _check_run(wf_handle, exit_type) + + +async def _check_run( + wf_handle: client.WorkflowHandle, + exit_type: WorkflowExitType, +): + try: + up_handle = await wf_handle.start_update( + WaitingForHandlersWorkflow.my_update, + wait_for_stage=client.WorkflowUpdateStage.ACCEPTED, + ) + except Exception as e: + print( + f" 🔴 caught exception while starting update: {e}: {e.__cause__ or ''}" + ) + + if exit_type == WorkflowExitType.CANCELLATION: + await wf_handle.cancel() + + try: + await up_handle.result() + print(" 🟢 caller received update result") + except Exception as e: + print( + f" 🔴 caught exception while waiting for update result: {e}: {e.__cause__ or ''}" + ) + + try: + await wf_handle.result() + print(" 🟢 caller received workflow result") + except BaseException as e: + print( + f" 🔴 caught exception while waiting for workflow result: {e}: {e.__cause__ or ''}" + ) + + +async def main(): + for exit_type in [ + WorkflowExitType.SUCCESS, + WorkflowExitType.FAILURE, + WorkflowExitType.CANCELLATION, + ]: + print(f"\n\nworkflow exit type: {exit_type.name}") + await starter(exit_type) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/message_passing/waiting_for_handlers/worker.py b/message_passing/waiting_for_handlers/worker.py new file mode 100644 index 000000000..e32a2dcb0 --- /dev/null +++ b/message_passing/waiting_for_handlers/worker.py @@ -0,0 +1,43 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from message_passing.waiting_for_handlers import TASK_QUEUE +from message_passing.waiting_for_handlers.activities import ( + activity_executed_by_update_handler, +) +from message_passing.waiting_for_handlers.workflows import WaitingForHandlersWorkflow + +interrupt_event = asyncio.Event() + + +async def main(): + logging.basicConfig(level=logging.INFO) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[WaitingForHandlersWorkflow], + activities=[ + activity_executed_by_update_handler, + ], + ): + logging.info("Worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/message_passing/waiting_for_handlers/workflows.py b/message_passing/waiting_for_handlers/workflows.py new file mode 100644 index 000000000..b4ed2991c --- /dev/null +++ b/message_passing/waiting_for_handlers/workflows.py @@ -0,0 +1,95 @@ +import asyncio +from datetime import timedelta + +from temporalio import exceptions, workflow + +from message_passing.waiting_for_handlers import ( + WorkflowExitType, + WorkflowInput, + WorkflowResult, +) +from message_passing.waiting_for_handlers.activities import ( + activity_executed_by_update_handler, +) + + +def is_workflow_exit_exception(e: BaseException) -> bool: + """ + True if the exception is of a type that will cause the workflow to exit. + + This is as opposed to exceptions that cause a workflow task failure, which + are retried automatically by Temporal. + """ + # 👉 If you have set additional failure_exception_types you should also + # check for these here. + return isinstance(e, (asyncio.CancelledError, exceptions.FailureError)) + + +@workflow.defn +class WaitingForHandlersWorkflow: + @workflow.run + async def run(self, input: WorkflowInput) -> WorkflowResult: + """ + This workflow.run method demonstrates a pattern that can be used to wait for signal and + update handlers to finish in the following circumstances: + + - On successful workflow return + - On workflow cancellation + - On workflow failure + + Your workflow can also exit via Continue-As-New. In that case you would usually wait for + the handlers to finish immediately before the call to continue_as_new(); that's not + illustrated in this sample. + + If you additionally need to perform cleanup or compensation on workflow failure or + cancellation, see the message_passing/waiting_for_handlers_and_compensation sample. + """ + try: + # 👉 Use this `try...except` style, instead of waiting for message + # handlers to finish in a `finally` block. The reason is that some + # exception types cause a workflow task failure as opposed to + # workflow exit, in which case we do *not* want to wait for message + # handlers to finish. + result = await self._my_workflow_application_logic(input) + await workflow.wait_condition(workflow.all_handlers_finished) + return result + # 👉 Catch BaseException since asyncio.CancelledError does not inherit + # from Exception. + except BaseException as e: + if is_workflow_exit_exception(e): + await workflow.wait_condition(workflow.all_handlers_finished) + raise + + # Methods below this point can be ignored unless you are interested in + # the implementation details of this sample. + + def __init__(self) -> None: + self._update_started = False + + @workflow.update + async def my_update(self) -> str: + self._update_started = True + await workflow.execute_activity( + activity_executed_by_update_handler, + start_to_close_timeout=timedelta(seconds=10), + ) + return "update-result" + + async def _my_workflow_application_logic( + self, input: WorkflowInput + ) -> WorkflowResult: + # The main workflow logic is implemented in a separate method in order + # to separate "platform-level" concerns (waiting for handlers to finish + # and error handling) from application logic. + + # Wait until handlers have started, so that we are demonstrating that we + # wait for them to finish. + await workflow.wait_condition(lambda: self._update_started) + if input.exit_type == WorkflowExitType.SUCCESS: + return WorkflowResult(data="workflow-result") + elif input.exit_type == WorkflowExitType.FAILURE: + raise exceptions.ApplicationError("deliberately failing workflow") + elif input.exit_type == WorkflowExitType.CANCELLATION: + # Block forever; the starter will send a workflow cancellation request. + await asyncio.Future() + raise AssertionError("unreachable") diff --git a/message_passing/waiting_for_handlers_and_compensation/README.md b/message_passing/waiting_for_handlers_and_compensation/README.md new file mode 100644 index 000000000..d23d484ed --- /dev/null +++ b/message_passing/waiting_for_handlers_and_compensation/README.md @@ -0,0 +1,39 @@ +# Waiting for message handlers, and performing compensation and cleanup in message handlers + +This sample demonstrates how to do the following: + +1. Ensure that all update/signal handlers are finished before a successful + workflow return, and on workflow cancellation and failure. +2. Perform compensation/cleanup in an update handler when the workflow is + cancelled or fails. + +For a simpler sample showing how to do (1) without (2), see [safe_message_handlers](../safe_message_handlers/README.md). + +To run, open two terminals. + +Run the worker in one terminal: + + uv run message_passing/waiting_for_handlers_and_compensation/worker.py + +And run the workflow-starter code in the other terminal: + + uv run message_passing/waiting_for_handlers_and_compensation/starter.py + + +Here's the output you'll see: + +``` +workflow exit type: SUCCESS + 🟢 caller received update result + 🟢 caller received workflow result + + +workflow exit type: FAILURE + 🔴 caught exception while waiting for update result: Workflow update failed: The update failed because the workflow run exited + 🔴 caught exception while waiting for workflow result: Workflow execution failed: deliberately failing workflow + + +workflow exit type: CANCELLATION + 🔴 caught exception while waiting for update result: Workflow update failed: The update failed because the workflow run exited + 🔴 caught exception while waiting for workflow result: Workflow execution failed: Workflow cancelled +``` \ No newline at end of file diff --git a/message_passing/waiting_for_handlers_and_compensation/__init__.py b/message_passing/waiting_for_handlers_and_compensation/__init__.py new file mode 100644 index 000000000..1274f9bf6 --- /dev/null +++ b/message_passing/waiting_for_handlers_and_compensation/__init__.py @@ -0,0 +1,21 @@ +from dataclasses import dataclass +from enum import IntEnum + +TASK_QUEUE = "my-task-queue" +WORKFLOW_ID = "my-workflow-id" + + +class WorkflowExitType(IntEnum): + SUCCESS = 0 + FAILURE = 1 + CANCELLATION = 2 + + +@dataclass +class WorkflowInput: + exit_type: WorkflowExitType + + +@dataclass +class WorkflowResult: + data: str diff --git a/message_passing/waiting_for_handlers_and_compensation/activities.py b/message_passing/waiting_for_handlers_and_compensation/activities.py new file mode 100644 index 000000000..36c5a5cbb --- /dev/null +++ b/message_passing/waiting_for_handlers_and_compensation/activities.py @@ -0,0 +1,18 @@ +import asyncio + +from temporalio import activity + + +@activity.defn +async def activity_executed_to_perform_workflow_compensation(): + await asyncio.sleep(1) + + +@activity.defn +async def activity_executed_by_update_handler(): + await asyncio.sleep(1) + + +@activity.defn +async def activity_executed_by_update_handler_to_perform_compensation(): + await asyncio.sleep(1) diff --git a/message_passing/waiting_for_handlers_and_compensation/starter.py b/message_passing/waiting_for_handlers_and_compensation/starter.py new file mode 100644 index 000000000..6f25c9a59 --- /dev/null +++ b/message_passing/waiting_for_handlers_and_compensation/starter.py @@ -0,0 +1,77 @@ +import asyncio + +from temporalio import client, common +from temporalio.envconfig import ClientConfig + +from message_passing.waiting_for_handlers_and_compensation import ( + TASK_QUEUE, + WORKFLOW_ID, + WorkflowExitType, + WorkflowInput, +) +from message_passing.waiting_for_handlers_and_compensation.workflows import ( + WaitingForHandlersAndCompensationWorkflow, +) + + +async def starter(exit_type: WorkflowExitType): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + cl = await client.Client.connect(**config) + + wf_handle = await cl.start_workflow( + WaitingForHandlersAndCompensationWorkflow.run, + WorkflowInput(exit_type=exit_type), + id=WORKFLOW_ID, + task_queue=TASK_QUEUE, + id_conflict_policy=common.WorkflowIDConflictPolicy.TERMINATE_EXISTING, + ) + await _check_run(wf_handle, exit_type) + + +async def _check_run( + wf_handle: client.WorkflowHandle, + exit_type: WorkflowExitType, +): + try: + up_handle = await wf_handle.start_update( + WaitingForHandlersAndCompensationWorkflow.my_update, + wait_for_stage=client.WorkflowUpdateStage.ACCEPTED, + ) + except Exception as e: + print( + f" 🔴 caught exception while starting update: {e}: {e.__cause__ or ''}" + ) + + if exit_type == WorkflowExitType.CANCELLATION: + await wf_handle.cancel() + + try: + await up_handle.result() + print(" 🟢 caller received update result") + except Exception as e: + print( + f" 🔴 caught exception while waiting for update result: {e}: {e.__cause__ or ''}" + ) + + try: + await wf_handle.result() + print(" 🟢 caller received workflow result") + except Exception as e: + print( + f" 🔴 caught exception while waiting for workflow result: {e}: {e.__cause__ or ''}" + ) + + +async def main(): + for exit_type in [ + WorkflowExitType.SUCCESS, + WorkflowExitType.FAILURE, + WorkflowExitType.CANCELLATION, + ]: + print(f"\n\nworkflow exit type: {exit_type.name}") + await starter(exit_type) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/message_passing/waiting_for_handlers_and_compensation/worker.py b/message_passing/waiting_for_handlers_and_compensation/worker.py new file mode 100644 index 000000000..2a27769df --- /dev/null +++ b/message_passing/waiting_for_handlers_and_compensation/worker.py @@ -0,0 +1,48 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from message_passing.waiting_for_handlers_and_compensation import TASK_QUEUE +from message_passing.waiting_for_handlers_and_compensation.activities import ( + activity_executed_by_update_handler, + activity_executed_by_update_handler_to_perform_compensation, + activity_executed_to_perform_workflow_compensation, +) +from message_passing.waiting_for_handlers_and_compensation.workflows import ( + WaitingForHandlersAndCompensationWorkflow, +) + +interrupt_event = asyncio.Event() + + +async def main(): + logging.basicConfig(level=logging.INFO) + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[WaitingForHandlersAndCompensationWorkflow], + activities=[ + activity_executed_by_update_handler, + activity_executed_by_update_handler_to_perform_compensation, + activity_executed_to_perform_workflow_compensation, + ], + ): + logging.info("Worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/message_passing/waiting_for_handlers_and_compensation/workflows.py b/message_passing/waiting_for_handlers_and_compensation/workflows.py new file mode 100644 index 000000000..450dff2c1 --- /dev/null +++ b/message_passing/waiting_for_handlers_and_compensation/workflows.py @@ -0,0 +1,176 @@ +import asyncio +from datetime import timedelta +from typing import cast + +from temporalio import exceptions, workflow + +from message_passing.waiting_for_handlers_and_compensation import ( + WorkflowExitType, + WorkflowInput, + WorkflowResult, +) +from message_passing.waiting_for_handlers_and_compensation.activities import ( + activity_executed_by_update_handler, + activity_executed_by_update_handler_to_perform_compensation, + activity_executed_to_perform_workflow_compensation, +) + + +@workflow.defn +class WaitingForHandlersAndCompensationWorkflow: + """ + This Workflow demonstrates how to wait for message handlers to finish and + perform compensation/cleanup: + + 1. It ensures that all signal and update handlers have finished before a + successful return, and on failure and cancellation. + 2. The update handler performs any necessary compensation/cleanup when the + workflow is cancelled or fails. + + If all you need to do is wait for handlers, without performing cleanup or compensation, + then see the simpler sample message_passing/waiting_for_handlers. + """ + + def __init__(self) -> None: + # 👉 If the workflow exits prematurely, this future will be completed + # with the associated exception as its value. Message handlers can then + # "race" this future against a task performing the message handler's own + # application logic; if this future completes before the message handler + # task then the handler should abort and perform compensation. + self.workflow_exit: asyncio.Future[None] = asyncio.Future() + + # The following attributes are implementation detail of this sample and can be + # ignored + self._update_started = False + self._update_compensation_done = False + self._workflow_compensation_done = False + + @workflow.run + async def run(self, input: WorkflowInput) -> WorkflowResult: + try: + # 👉 Use this `try...except` style, instead of waiting for message + # handlers to finish in a `finally` block. The reason is that some + # exception types cause a workflow task failure as opposed to + # workflow exit, in which case we do *not* want to wait for message + # handlers to finish. + + # 👉 The actual workflow application logic is implemented in a + # separate method in order to separate "platform-level" concerns + # (waiting for handlers to finish and ensuring that compensation is + # performed when appropriate) from application logic. + result = await self._my_workflow_application_logic(input) + self.workflow_exit.set_result(None) + await workflow.wait_condition(workflow.all_handlers_finished) + return result + # 👉 Catch BaseException since asyncio.CancelledError does not inherit + # from Exception. + except BaseException as e: + if is_workflow_exit_exception(e): + self.workflow_exit.set_exception(e) + await workflow.wait_condition(workflow.all_handlers_finished) + await self.workflow_compensation() + self._workflow_compensation_done = True + raise + + async def workflow_compensation(self): + await workflow.execute_activity( + activity_executed_to_perform_workflow_compensation, + start_to_close_timeout=timedelta(seconds=10), + ) + self._update_compensation_done = True + + @workflow.update + async def my_update(self) -> str: + """ + An update handler that handles exceptions raised in its own execution + and in that of the main workflow method. + + It ensures that: + - Compensation/cleanup is always performed when appropriate + - The update caller gets the update result, or WorkflowUpdateFailedError + """ + # 👉 "Race" the workflow_exit future against the handler's own + # application logic. Always use `workflow.wait` instead of + # `asyncio.wait` in Workflow code: asyncio's version is + # non-deterministic. (Note that coroutines must be wrapped in tasks in + # order to use workflow.wait.) + update_task = asyncio.create_task(self._my_update_application_logic()) + await workflow.wait( # type: ignore + [update_task, self.workflow_exit], return_when=asyncio.FIRST_EXCEPTION + ) + try: + if update_task.done(): + # 👉 The update has finished (whether successfully or not). + # Regardless of whether the main workflow method is about to + # exit or not, the update caller should receive a response + # informing them of the outcome of the update. So return the + # result, or raise the exception that caused the update handler + # to exit. + return await update_task + else: + # 👉 The main workflow method exited prematurely due to an + # error, and this happened before the update finished. Fail the + # update with the workflow exception as cause. + raise exceptions.ApplicationError( + "The update failed because the workflow run exited" + ) from cast(BaseException, self.workflow_exit.exception()) + # 👉 Catch BaseException since asyncio.CancelledError does not inherit + # from Exception. + except BaseException as e: + if is_workflow_exit_exception(e): + try: + await self.my_update_compensation() + except BaseException as e: + raise exceptions.ApplicationError( + "Update compensation failed" + ) from e + raise + + async def my_update_compensation(self): + await workflow.execute_activity( + activity_executed_by_update_handler_to_perform_compensation, + start_to_close_timeout=timedelta(seconds=10), + ) + self._update_compensation_done = True + + @workflow.query + def workflow_compensation_done(self) -> bool: + return self._workflow_compensation_done + + @workflow.query + def update_compensation_done(self) -> bool: + return self._update_compensation_done + + # Methods below this point are placeholders for the actual application logic + # that you would perform in your main workflow method or update handler. + # They can be ignored unless you are interested in the implementation + # details of this sample. + + async def _my_update_application_logic(self) -> str: + self._update_started = True + await workflow.execute_activity( + activity_executed_by_update_handler, + start_to_close_timeout=timedelta(seconds=10), + ) + return "update-result" + + async def _my_workflow_application_logic( + self, input: WorkflowInput + ) -> WorkflowResult: + # Wait until handlers have started, so that we are demonstrating that we + # wait for them to finish. + await workflow.wait_condition(lambda: self._update_started) + if input.exit_type == WorkflowExitType.SUCCESS: + return WorkflowResult(data="workflow-result") + elif input.exit_type == WorkflowExitType.FAILURE: + raise exceptions.ApplicationError("deliberately failing workflow") + elif input.exit_type == WorkflowExitType.CANCELLATION: + # Block forever; the starter will send a workflow cancellation request. + await asyncio.Future() + raise AssertionError("unreachable") + + +def is_workflow_exit_exception(e: BaseException) -> bool: + # 👉 If you have set additional failure_exception_types you should also + # check for these here. + return isinstance(e, (asyncio.CancelledError, exceptions.FailureError)) diff --git a/nexus_cancel/README.md b/nexus_cancel/README.md new file mode 100644 index 000000000..2f7f57030 --- /dev/null +++ b/nexus_cancel/README.md @@ -0,0 +1,50 @@ +# Nexus Cancellation + +This sample shows how a caller workflow can fan out multiple Nexus operations concurrently, take the first result, and cancel the rest using `WAIT_REQUESTED` cancellation semantics. + +With `WAIT_REQUESTED`, the caller proceeds once the handler has received the cancel request — it does not wait for the handler to finish processing the cancellation. + +Start a Temporal server. (See the main samples repo [README](../README.md)). + +Run the following: + +``` +temporal operator namespace create --namespace nexus-cancel-handler-namespace +temporal operator namespace create --namespace nexus-cancel-caller-namespace + +temporal operator nexus endpoint create \ + --name nexus-cancel-endpoint \ + --target-namespace nexus-cancel-handler-namespace \ + --target-task-queue nexus-cancel-handler-task-queue +``` + +Next, in separate terminal windows: + +## Nexus Handler Worker + +```bash +uv run nexus_cancel/handler/worker.py +``` + +## Nexus Caller App + +```bash +uv run nexus_cancel/caller/app.py +``` + +## Expected Output + +On the caller side, you should see a greeting in whichever language completed first: +``` +Hello Nexus 👋 +``` + +On the handler side, you should see cancellation log messages for the remaining operations: +``` +HelloHandlerWorkflow was cancelled successfully. +HelloHandlerWorkflow was cancelled successfully. +HelloHandlerWorkflow was cancelled successfully. +HelloHandlerWorkflow was cancelled successfully. +``` + +The caller workflow returns before all handler workflows have completed their cancellation cleanup. This demonstrates `WAIT_REQUESTED` semantics: the caller didn't wait for the handler workflows to finish, but still guaranteed that all handlers received the cancellation request. diff --git a/nexus_cancel/__init__.py b/nexus_cancel/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_cancel/caller/__init__.py b/nexus_cancel/caller/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_cancel/caller/app.py b/nexus_cancel/caller/app.py new file mode 100644 index 000000000..bb74e9e0b --- /dev/null +++ b/nexus_cancel/caller/app.py @@ -0,0 +1,43 @@ +import asyncio +import uuid +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from nexus_cancel.caller.workflows import HelloCallerWorkflow + +NAMESPACE = "nexus-cancel-caller-namespace" +TASK_QUEUE = "nexus-cancel-caller-task-queue" + + +async def execute_caller_workflow( + client: Optional[Client] = None, +) -> str: + if client is None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + config.setdefault("namespace", NAMESPACE) + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[HelloCallerWorkflow], + ): + return await client.execute_workflow( + HelloCallerWorkflow.run, + "Nexus", + id=f"hello-caller-{uuid.uuid4()}", + task_queue=TASK_QUEUE, + ) + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + result = loop.run_until_complete(execute_caller_workflow()) + print(result) + except KeyboardInterrupt: + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/nexus_cancel/caller/workflows.py b/nexus_cancel/caller/workflows.py new file mode 100644 index 000000000..f8a2e1ffc --- /dev/null +++ b/nexus_cancel/caller/workflows.py @@ -0,0 +1,69 @@ +""" +Caller workflow that demonstrates Nexus operation cancellation. + +Fans out 5 concurrent Nexus hello operations (one per language), takes the first +result, and cancels the rest using WAIT_REQUESTED cancellation semantics. +""" + +import asyncio +from datetime import timedelta + +from temporalio import workflow +from temporalio.exceptions import CancelledError, NexusOperationError + +with workflow.unsafe.imports_passed_through(): + from nexus_cancel.service import HelloInput, Language, NexusService + +NEXUS_ENDPOINT = "nexus-cancel-endpoint" + + +@workflow.defn +class HelloCallerWorkflow: + def __init__(self) -> None: + self.nexus_client = workflow.create_nexus_client( + service=NexusService, + endpoint=NEXUS_ENDPOINT, + ) + + @workflow.run + async def run(self, message: str) -> str: + # Fan out 5 concurrent Nexus calls, one per language. + # Each task starts and awaits its own operation so all race concurrently. + async def run_operation(language: Language): + handle = await self.nexus_client.start_operation( + NexusService.hello, + HelloInput(name=message, language=language), + schedule_to_close_timeout=timedelta(seconds=10), + cancellation_type=workflow.NexusOperationCancellationType.WAIT_REQUESTED, + ) + return await handle + + tasks = [asyncio.create_task(run_operation(lang)) for lang in Language] + + # Wait for the first operation to complete + workflow.logger.info( + f"Started {len(tasks)} operations, waiting for first to complete..." + ) + done, pending = await workflow.wait(tasks, return_when=asyncio.FIRST_COMPLETED) + + # Get the result from the first completed operation + result = await done.pop() + workflow.logger.info(f"First operation completed with: {result.message}") + + # Cancel all remaining operations + workflow.logger.info(f"Cancelling {len(pending)} remaining operations...") + for task in pending: + task.cancel() + + # Wait for all cancellations to be acknowledged. + # If the workflow completes before cancellation requests are delivered, + # the server drops them. Waiting ensures all handlers receive the + # cancellation. + for task in pending: + try: + await task + except (NexusOperationError, CancelledError): + # Expected: the operation was cancelled + workflow.logger.info("Operation was cancelled") + + return result.message diff --git a/nexus_cancel/handler/__init__.py b/nexus_cancel/handler/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_cancel/handler/service_handler.py b/nexus_cancel/handler/service_handler.py new file mode 100644 index 000000000..5d75e8a6f --- /dev/null +++ b/nexus_cancel/handler/service_handler.py @@ -0,0 +1,28 @@ +""" +Nexus service handler for the cancellation sample. + +The hello operation is backed by a workflow whose ID is derived from the +operation input (name + language), giving each fan-out branch a distinct, +meaningful business ID. +""" + +from __future__ import annotations + +import nexusrpc +from temporalio import nexus + +from nexus_cancel.handler.workflows import HelloHandlerWorkflow +from nexus_cancel.service import HelloInput, HelloOutput, NexusService + + +@nexusrpc.handler.service_handler(service=NexusService) +class NexusServiceHandler: + @nexus.workflow_run_operation + async def hello( + self, ctx: nexus.WorkflowRunOperationContext, input: HelloInput + ) -> nexus.WorkflowHandle[HelloOutput]: + return await ctx.start_workflow( + HelloHandlerWorkflow.run, + input, + id=f"hello-handler-{input.name}-{input.language.name}", + ) diff --git a/nexus_cancel/handler/worker.py b/nexus_cancel/handler/worker.py new file mode 100644 index 000000000..e29df3559 --- /dev/null +++ b/nexus_cancel/handler/worker.py @@ -0,0 +1,48 @@ +""" +Worker for the handler namespace that processes Nexus operations and workflows. +""" + +import asyncio +import logging +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from nexus_cancel.handler.service_handler import NexusServiceHandler +from nexus_cancel.handler.workflows import HelloHandlerWorkflow + +interrupt_event = asyncio.Event() + +NAMESPACE = "nexus-cancel-handler-namespace" +TASK_QUEUE = "nexus-cancel-handler-task-queue" + + +async def main(client: Optional[Client] = None): + logging.basicConfig(level=logging.INFO) + + if not client: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + config.setdefault("namespace", NAMESPACE) + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[HelloHandlerWorkflow], + nexus_service_handlers=[NexusServiceHandler()], + ): + logging.info("Worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/nexus_cancel/handler/workflows.py b/nexus_cancel/handler/workflows.py new file mode 100644 index 000000000..d799c62be --- /dev/null +++ b/nexus_cancel/handler/workflows.py @@ -0,0 +1,49 @@ +""" +Handler workflow started by the hello Nexus operation. + +Demonstrates how to handle cancellation from the caller workflow using a +detached cancellation scope (asyncio.shield) for cleanup work. +""" + +import asyncio + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from nexus_cancel.service import HelloInput, HelloOutput, Language + +GREETINGS = { + Language.EN: "Hello {name} 👋", + Language.FR: "Bonjour {name} 👋", + Language.DE: "Hallo {name} 👋", + Language.ES: "¡Hola! {name} 👋", + Language.TR: "Merhaba {name} 👋", +} + + +@workflow.defn +class HelloHandlerWorkflow: + @workflow.run + async def run(self, input: HelloInput) -> HelloOutput: + try: + # Sleep for a random duration to simulate work (0-5 seconds) + random_seconds = workflow.random().randint(0, 5) + workflow.logger.info(f"Working for {random_seconds} seconds...") + await asyncio.sleep(random_seconds) + + # Return a greeting based on the language + greeting = GREETINGS[input.language].format(name=input.name) + return HelloOutput(message=greeting) + + except asyncio.CancelledError: + # Perform cleanup in a detached cancellation scope. + # asyncio.shield prevents the cleanup work from being cancelled. + workflow.logger.info("Received cancellation request, performing cleanup...") + try: + cleanup_seconds = workflow.random().randint(0, 5) + await asyncio.shield(asyncio.sleep(cleanup_seconds)) + except asyncio.CancelledError: + pass + workflow.logger.info("HelloHandlerWorkflow was cancelled successfully.") + # Re-raise the cancellation error + raise diff --git a/nexus_cancel/service.py b/nexus_cancel/service.py new file mode 100644 index 000000000..454a32f7b --- /dev/null +++ b/nexus_cancel/service.py @@ -0,0 +1,35 @@ +""" +Nexus service definition for the cancellation sample. + +Defines a NexusService with a single `hello` operation that takes a name and +language, and returns a greeting message. +""" + +from dataclasses import dataclass +from enum import IntEnum + +import nexusrpc + + +class Language(IntEnum): + EN = 0 + FR = 1 + DE = 2 + ES = 3 + TR = 4 + + +@dataclass +class HelloInput: + name: str + language: Language + + +@dataclass +class HelloOutput: + message: str + + +@nexusrpc.service +class NexusService: + hello: nexusrpc.Operation[HelloInput, HelloOutput] diff --git a/nexus_messaging/README.md b/nexus_messaging/README.md new file mode 100644 index 000000000..3103fc0fb --- /dev/null +++ b/nexus_messaging/README.md @@ -0,0 +1,16 @@ +This sample shows how to expose a long-running Workflow's queries, updates, and signals as Nexus +operations. There are two self-contained examples, each in its own directory: + +| | `callerpattern/` | `ondemandpattern/` | +|--------------------------------|--------------------------------------|--------------------------------------------------------------| +| **Pattern** | Signal an existing Workflow | Create and run Workflows on demand, and send signals to them | +| **Who creates the Workflow?** | The handler worker starts it on boot | The caller starts it via a Nexus operation | +| **Who knows the Workflow ID?** | Only the handler | The caller chooses and passes it in every operation | +| **Nexus service** | `NexusGreetingService` | `NexusRemoteGreetingService` | + +Each directory is fully self-contained for clarity. The `GreetingWorkflow`, activity, and +`Language` enum are **identical** between the two -- only the Nexus service definition and its +handler implementation differ. This highlights that the same Workflow can be exposed through +Nexus in different ways depending on whether the caller needs lifecycle control. + +See each directory's README for running instructions. diff --git a/nexus_messaging/__init__.py b/nexus_messaging/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_messaging/callerpattern/README.md b/nexus_messaging/callerpattern/README.md new file mode 100644 index 000000000..9458ae43b --- /dev/null +++ b/nexus_messaging/callerpattern/README.md @@ -0,0 +1,56 @@ +## Caller pattern + +The handler worker starts a `GreetingWorkflow` for a User ID. +`NexusGreetingServiceHandler` holds that ID and routes every Nexus operation to it. +The caller's input does not have that Workflow ID as the caller doesn't know it -- but the caller +sends in the User ID, and `NexusGreetingServiceHandler` knows how to get the desired Workflow ID +from that User ID (see the `get_workflow_id` call). + +The handler worker uses the same `get_workflow_id` call to generate a Workflow ID from a Wser ID +when it launches the Workflow. + +The caller Workflow: +1. Queries for supported languages (`get_languages` -- backed by a `@workflow.query`) +2. Changes the language to Arabic (`set_language` -- backed by a `@workflow.update` that calls an activity) +3. Confirms the change via a second query (`get_language`) +4. Approves the Workflow (`approve` -- backed by a `@workflow.signal`) + +### Running + +Start a Temporal server: + +```bash +temporal server start-dev +``` + +Create the namespaces and Nexus endpoint: + +```bash +temporal operator namespace create --namespace nexus-messaging-handler-namespace +temporal operator namespace create --namespace nexus-messaging-caller-namespace + +temporal operator nexus endpoint create \ + --name nexus-messaging-nexus-endpoint \ + --target-namespace nexus-messaging-handler-namespace \ + --target-task-queue nexus-messaging-handler-task-queue +``` + +In one terminal, start the handler worker: + +```bash +uv run python -m nexus_messaging.callerpattern.handler.worker +``` + +In another terminal, run the following command to start the example: + +```bash +uv run python -m nexus_messaging.callerpattern.caller.app +``` + +Expected output: + +``` +Supported languages: [, ] +Language changed: ENGLISH -> ARABIC +Workflow approved +``` diff --git a/nexus_messaging/callerpattern/__init__.py b/nexus_messaging/callerpattern/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_messaging/callerpattern/caller/__init__.py b/nexus_messaging/callerpattern/caller/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_messaging/callerpattern/caller/app.py b/nexus_messaging/callerpattern/caller/app.py new file mode 100644 index 000000000..933dcd5d5 --- /dev/null +++ b/nexus_messaging/callerpattern/caller/app.py @@ -0,0 +1,42 @@ +import asyncio +import uuid +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from nexus_messaging.callerpattern.caller.workflows import CallerWorkflow + +NAMESPACE = "nexus-messaging-caller-namespace" +TASK_QUEUE = "nexus-messaging-caller-task-queue" + + +async def execute_caller_workflow(client: Optional[Client] = None) -> None: + if client is None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + config.setdefault("namespace", NAMESPACE) + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[CallerWorkflow], + ): + log = await client.execute_workflow( + CallerWorkflow.run, + arg="user-1", + id=f"nexus-messaging-caller-{uuid.uuid4()}", + task_queue=TASK_QUEUE, + ) + for line in log: + print(line) + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(execute_caller_workflow()) + except KeyboardInterrupt: + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/nexus_messaging/callerpattern/caller/workflows.py b/nexus_messaging/callerpattern/caller/workflows.py new file mode 100644 index 000000000..04f79dada --- /dev/null +++ b/nexus_messaging/callerpattern/caller/workflows.py @@ -0,0 +1,73 @@ +""" +A caller workflow that executes Nexus operations. The caller does not have information +about how these operations are implemented by the Nexus service. +""" + +from temporalio import workflow +from temporalio.exceptions import ApplicationError + +from nexus_messaging.callerpattern.service import ( + ApproveInput, + GetLanguageInput, + GetLanguagesInput, + Language, + NexusGreetingService, + SetLanguageInput, +) + +NEXUS_ENDPOINT = "nexus-messaging-nexus-endpoint" + + +@workflow.defn +class CallerWorkflow: + @workflow.run + async def run(self, user_id: str) -> list[str]: + log: list[str] = [] + nexus_client = workflow.create_nexus_client( + service=NexusGreetingService, + endpoint=NEXUS_ENDPOINT, + ) + + # Call a Nexus operation backed by a query against the entity workflow. + # The workflow must already be running on the handler, otherwise you will + # get an error saying the workflow has already terminated. + languages_output = await nexus_client.execute_operation( + NexusGreetingService.get_languages, + GetLanguagesInput(include_unsupported=False, user_id=user_id), + ) + log.append(f"Supported languages: {languages_output.languages}") + workflow.logger.info("Supported languages: %s", languages_output.languages) + + # Following are examples for each of the three messaging types - + # update, query, then signal. + + # Call a Nexus operation backed by an update against the entity workflow. + previous_language = await nexus_client.execute_operation( + NexusGreetingService.set_language, + SetLanguageInput(language=Language.ARABIC, user_id=user_id), + ) + + # Call a Nexus operation backed by a query to confirm the language change. + current_language = await nexus_client.execute_operation( + NexusGreetingService.get_language, + GetLanguageInput(user_id=user_id), + ) + if current_language != Language.ARABIC: + raise ApplicationError(f"Expected language ARABIC, got {current_language}") + + log.append( + f"Language changed: {previous_language.name} -> {Language.ARABIC.name}" + ) + workflow.logger.info( + "Language changed from %s to %s", previous_language, Language.ARABIC + ) + + # Call a Nexus operation backed by a signal against the entity workflow. + await nexus_client.execute_operation( + NexusGreetingService.approve, + ApproveInput(name="caller", user_id=user_id), + ) + log.append("Workflow approved") + workflow.logger.info("Workflow approved") + + return log diff --git a/nexus_messaging/callerpattern/handler/__init__.py b/nexus_messaging/callerpattern/handler/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_messaging/callerpattern/handler/activities.py b/nexus_messaging/callerpattern/handler/activities.py new file mode 100644 index 000000000..4031b34fb --- /dev/null +++ b/nexus_messaging/callerpattern/handler/activities.py @@ -0,0 +1,22 @@ +import asyncio +from typing import Optional + +from temporalio import activity + +from nexus_messaging.callerpattern.service import Language + + +@activity.defn +async def call_greeting_service(language: Language) -> Optional[str]: + """Simulates a call to a remote greeting service. Returns None if unsupported.""" + greetings = { + Language.ARABIC: "\u0645\u0631\u062d\u0628\u0627 \u0628\u0627\u0644\u0639\u0627\u0644\u0645", + Language.CHINESE: "\u4f60\u597d\uff0c\u4e16\u754c", + Language.ENGLISH: "Hello, world", + Language.FRENCH: "Bonjour, monde", + Language.HINDI: "\u0928\u092e\u0938\u094d\u0924\u0947 \u0926\u0941\u0928\u093f\u092f\u093e", + Language.PORTUGUESE: "Ol\u00e1 mundo", + Language.SPANISH: "Hola mundo", + } + await asyncio.sleep(0.2) + return greetings.get(language) diff --git a/nexus_messaging/callerpattern/handler/service_handler.py b/nexus_messaging/callerpattern/handler/service_handler.py new file mode 100644 index 000000000..cbc57eadb --- /dev/null +++ b/nexus_messaging/callerpattern/handler/service_handler.py @@ -0,0 +1,80 @@ +""" +Nexus operation handler implementation for the entity pattern. Each operation receives a +user_id, which is mapped to a workflow ID. The operations are synchronous because queries +and updates against a running workflow complete quickly. +""" + +from __future__ import annotations + +import nexusrpc +from temporalio import nexus +from temporalio.client import WorkflowHandle + +from nexus_messaging.callerpattern.handler.workflows import GreetingWorkflow +from nexus_messaging.callerpattern.service import ( + ApproveInput, + ApproveOutput, + GetLanguageInput, + GetLanguagesInput, + GetLanguagesOutput, + Language, + NexusGreetingService, + SetLanguageInput, +) + +WORKFLOW_ID_PREFIX = "GreetingWorkflow_for_" + + +def get_workflow_id(user_id: str) -> str: + """Map a user ID to a workflow ID. + + This example assumes you might have multiple workflows, one for each user. + If you had a single workflow for all users, you could remove this function, + remove the user_id from each input, and just use a single workflow ID. + """ + return f"{WORKFLOW_ID_PREFIX}{user_id}" + + +@nexusrpc.handler.service_handler(service=NexusGreetingService) +class NexusGreetingServiceHandler: + def _get_workflow_handle( + self, user_id: str + ) -> WorkflowHandle[GreetingWorkflow, str]: + return nexus.client().get_workflow_handle_for( + GreetingWorkflow.run, get_workflow_id(user_id) + ) + + @nexusrpc.handler.sync_operation + async def get_languages( + self, ctx: nexusrpc.handler.StartOperationContext, input: GetLanguagesInput + ) -> GetLanguagesOutput: + return await self._get_workflow_handle(input.user_id).query( + GreetingWorkflow.get_languages, input + ) + + @nexusrpc.handler.sync_operation + async def get_language( + self, ctx: nexusrpc.handler.StartOperationContext, input: GetLanguageInput + ) -> Language: + return await self._get_workflow_handle(input.user_id).query( + GreetingWorkflow.get_language + ) + + # Routes to set_language_using_activity (not set_language) so that new languages not + # already in the greetings map can be fetched via an activity. + @nexusrpc.handler.sync_operation + async def set_language( + self, ctx: nexusrpc.handler.StartOperationContext, input: SetLanguageInput + ) -> Language: + return await self._get_workflow_handle(input.user_id).execute_update( + GreetingWorkflow.set_language_using_activity, input + ) + + @nexusrpc.handler.sync_operation + async def approve( + self, ctx: nexusrpc.handler.StartOperationContext, input: ApproveInput + ) -> ApproveOutput: + await self._get_workflow_handle(input.user_id).signal( + GreetingWorkflow.approve, input + ) + return ApproveOutput() diff --git a/nexus_messaging/callerpattern/handler/worker.py b/nexus_messaging/callerpattern/handler/worker.py new file mode 100644 index 000000000..fa8e2c0fa --- /dev/null +++ b/nexus_messaging/callerpattern/handler/worker.py @@ -0,0 +1,62 @@ +import asyncio +import logging +from typing import Optional + +from temporalio.client import Client +from temporalio.common import WorkflowIDConflictPolicy +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from nexus_messaging.callerpattern.handler.activities import call_greeting_service +from nexus_messaging.callerpattern.handler.service_handler import ( + NexusGreetingServiceHandler, + get_workflow_id, +) +from nexus_messaging.callerpattern.handler.workflows import GreetingWorkflow + +interrupt_event = asyncio.Event() + +NAMESPACE = "nexus-messaging-handler-namespace" +TASK_QUEUE = "nexus-messaging-handler-task-queue" +USER_ID = "user-1" + + +async def main(client: Optional[Client] = None): + logging.basicConfig(level=logging.INFO) + + if client is None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + config.setdefault("namespace", NAMESPACE) + client = await Client.connect(**config) + + # Start the long-running entity workflow that backs the Nexus service, + # if not already running. + workflow_id = get_workflow_id(USER_ID) + await client.start_workflow( + GreetingWorkflow.run, + id=workflow_id, + task_queue=TASK_QUEUE, + id_conflict_policy=WorkflowIDConflictPolicy.USE_EXISTING, + ) + logging.info("Started greeting workflow: %s", workflow_id) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[GreetingWorkflow], + activities=[call_greeting_service], + nexus_service_handlers=[NexusGreetingServiceHandler()], + ): + logging.info("Handler worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/nexus_messaging/callerpattern/handler/workflows.py b/nexus_messaging/callerpattern/handler/workflows.py new file mode 100644 index 000000000..fb10d8c5d --- /dev/null +++ b/nexus_messaging/callerpattern/handler/workflows.py @@ -0,0 +1,87 @@ +""" +A long-running "entity" workflow that backs the NexusGreetingService Nexus operations. +The workflow exposes queries, an update, and a signal. These are private implementation +details of the Nexus service: the caller only interacts via Nexus operations. +""" + +import asyncio +from datetime import timedelta + +from temporalio import workflow +from temporalio.exceptions import ApplicationError + +from nexus_messaging.callerpattern.handler.activities import call_greeting_service +from nexus_messaging.callerpattern.service import ( + ApproveInput, + GetLanguagesInput, + GetLanguagesOutput, + Language, + SetLanguageInput, +) + + +@workflow.defn +class GreetingWorkflow: + def __init__(self) -> None: + self.approved_for_release = False + self.greetings: dict[Language, str] = { + Language.CHINESE: "\u4f60\u597d\uff0c\u4e16\u754c", + Language.ENGLISH: "Hello, world", + } + self.language = Language.ENGLISH + self.lock = asyncio.Lock() + + @workflow.run + async def run(self) -> str: + # Wait until approved and all in-flight update handlers have finished. + await workflow.wait_condition( + lambda: self.approved_for_release and workflow.all_handlers_finished() + ) + return self.greetings[self.language] + + @workflow.query + def get_languages(self, input: GetLanguagesInput) -> GetLanguagesOutput: + if input.include_unsupported: + languages = sorted(Language) + else: + languages = sorted(self.greetings) + return GetLanguagesOutput(languages=languages) + + @workflow.query + def get_language(self) -> Language: + return self.language + + @workflow.signal + def approve(self, input: ApproveInput) -> None: + workflow.logger.info("Approval signal received for user %s", input.user_id) + self.approved_for_release = True + + @workflow.update + def set_language(self, input: SetLanguageInput) -> Language: + workflow.logger.info("setLanguage update received for user %s", input.user_id) + previous_language, self.language = self.language, input.language + return previous_language + + @set_language.validator + def validate_set_language(self, input: SetLanguageInput) -> None: + if input.language not in self.greetings: + raise ValueError(f"{input.language.name} is not supported") + + # Changes the active language, calling an activity to fetch a greeting for new + # languages not already in the greetings map. + @workflow.update + async def set_language_using_activity(self, input: SetLanguageInput) -> Language: + if input.language not in self.greetings: + async with self.lock: + greeting = await workflow.execute_activity( + call_greeting_service, + input.language, + start_to_close_timeout=timedelta(seconds=10), + ) + if greeting is None: + raise ApplicationError( + f"Greeting service does not support {input.language.name}" + ) + self.greetings[input.language] = greeting + previous_language, self.language = self.language, input.language + return previous_language diff --git a/nexus_messaging/callerpattern/service.py b/nexus_messaging/callerpattern/service.py new file mode 100644 index 000000000..23a550fb7 --- /dev/null +++ b/nexus_messaging/callerpattern/service.py @@ -0,0 +1,67 @@ +""" +Nexus service definition for the caller (entity) pattern. Shared between the handler and +caller. The caller uses this to create a type-safe Nexus client; the handler implements +the operations. + +Every operation includes a user_id so the handler knows which entity workflow to target. +""" + +from dataclasses import dataclass +from enum import IntEnum + +import nexusrpc + + +class Language(IntEnum): + ARABIC = 1 + CHINESE = 2 + ENGLISH = 3 + FRENCH = 4 + HINDI = 5 + PORTUGUESE = 6 + SPANISH = 7 + + +@dataclass +class GetLanguagesInput: + include_unsupported: bool + user_id: str + + +@dataclass +class GetLanguagesOutput: + languages: list[Language] + + +@dataclass +class GetLanguageInput: + user_id: str + + +@dataclass +class SetLanguageInput: + language: Language + user_id: str + + +@dataclass +class ApproveInput: + name: str + user_id: str + + +@dataclass +class ApproveOutput: + pass + + +@nexusrpc.service +class NexusGreetingService: + # Returns the languages supported by the greeting workflow. + get_languages: nexusrpc.Operation[GetLanguagesInput, GetLanguagesOutput] + # Returns the currently active language. + get_language: nexusrpc.Operation[GetLanguageInput, Language] + # Changes the active language, returning the previous one. + set_language: nexusrpc.Operation[SetLanguageInput, Language] + # Approves the workflow, allowing it to complete. + approve: nexusrpc.Operation[ApproveInput, ApproveOutput] diff --git a/nexus_messaging/endpoint_description.md b/nexus_messaging/endpoint_description.md new file mode 100644 index 000000000..4184134ba --- /dev/null +++ b/nexus_messaging/endpoint_description.md @@ -0,0 +1,14 @@ +## Services + +### [NexusGreetingService](https://github.com/temporalio/samples-python/blob/main/nexus_messaging/callerpattern/service.py) (callerpattern) +- operation: `get_languages` +- operation: `get_language` +- operation: `set_language` +- operation: `approve` + +### [NexusRemoteGreetingService](https://github.com/temporalio/samples-python/blob/main/nexus_messaging/ondemandpattern/service.py) (ondemandpattern) +- operation: `run_from_remote` +- operation: `get_languages` +- operation: `get_language` +- operation: `set_language` +- operation: `approve` diff --git a/nexus_messaging/ondemandpattern/README.md b/nexus_messaging/ondemandpattern/README.md new file mode 100644 index 000000000..b9ba67ff7 --- /dev/null +++ b/nexus_messaging/ondemandpattern/README.md @@ -0,0 +1,60 @@ +## On-demand pattern + +No Workflow is pre-started. The caller creates and controls Workflow instances through Nexus +operations. `NexusRemoteGreetingService` adds a `run_from_remote` operation that starts a new +`GreetingWorkflow`, and every other operation includes a `user_id` so the handler knows which +instance to target. + +The caller Workflow: +1. Starts two remote `GreetingWorkflow` instances via `run_from_remote` (backed by `workflow_run_operation`) +2. Queries each for supported languages +3. Changes the language on each (Arabic and Hindi) +4. Confirms the changes via queries +5. Approves both Workflows +6. Waits for each to complete and returns their results + +### Running + +Start a Temporal server: + +```bash +temporal server start-dev +``` + +Create the namespaces and Nexus endpoint: + +```bash +temporal operator namespace create --namespace nexus-messaging-handler-namespace +temporal operator namespace create --namespace nexus-messaging-caller-namespace + +temporal operator nexus endpoint create \ + --name nexus-messaging-nexus-endpoint \ + --target-namespace nexus-messaging-handler-namespace \ + --target-task-queue nexus-messaging-handler-task-queue +``` + +In one terminal, start the handler worker: + +```bash +uv run python -m nexus_messaging.ondemandpattern.handler.worker +``` + +In another terminal, run the following command to start the example: + +```bash +uv run python -m nexus_messaging.ondemandpattern.caller.app +``` + +Expected output: + +``` +started remote greeting workflow: UserId One +started remote greeting workflow: UserId Two +Supported languages for UserId One: [, ] +Supported languages for UserId Two: [, ] +UserId One changed language: ENGLISH -> ARABIC +UserId Two changed language: ENGLISH -> HINDI +Workflows approved +Workflow one result: مرحبا بالعالم +Workflow two result: नमस्ते दुनिया +``` diff --git a/nexus_messaging/ondemandpattern/__init__.py b/nexus_messaging/ondemandpattern/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_messaging/ondemandpattern/caller/__init__.py b/nexus_messaging/ondemandpattern/caller/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_messaging/ondemandpattern/caller/app.py b/nexus_messaging/ondemandpattern/caller/app.py new file mode 100644 index 000000000..a1837babb --- /dev/null +++ b/nexus_messaging/ondemandpattern/caller/app.py @@ -0,0 +1,41 @@ +import asyncio +import uuid +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from nexus_messaging.ondemandpattern.caller.workflows import CallerRemoteWorkflow + +NAMESPACE = "nexus-messaging-caller-namespace" +TASK_QUEUE = "nexus-messaging-caller-remote-task-queue" + + +async def execute_caller_workflow(client: Optional[Client] = None) -> None: + if client is None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + config.setdefault("namespace", NAMESPACE) + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[CallerRemoteWorkflow], + ): + log = await client.execute_workflow( + CallerRemoteWorkflow.run, + id=f"nexus-messaging-remote-caller-{uuid.uuid4()}", + task_queue=TASK_QUEUE, + ) + for line in log: + print(line) + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(execute_caller_workflow()) + except KeyboardInterrupt: + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/nexus_messaging/ondemandpattern/caller/workflows.py b/nexus_messaging/ondemandpattern/caller/workflows.py new file mode 100644 index 000000000..8dbbd4b24 --- /dev/null +++ b/nexus_messaging/ondemandpattern/caller/workflows.py @@ -0,0 +1,148 @@ +""" +A caller workflow that creates and controls workflow instances through Nexus operations. +Unlike the entity (callerpattern), no workflow is pre-started; the caller creates them +on demand via the run_from_remote operation. +""" + +from temporalio import workflow + +from nexus_messaging.ondemandpattern.service import ( + ApproveInput, + GetLanguageInput, + GetLanguagesInput, + Language, + NexusRemoteGreetingService, + RunFromRemoteInput, + SetLanguageInput, +) + +NEXUS_ENDPOINT = "nexus-messaging-nexus-endpoint" + +REMOTE_WORKFLOW_ONE = "UserId One" +REMOTE_WORKFLOW_TWO = "UserId Two" + + +@workflow.defn +class CallerRemoteWorkflow: + def __init__(self) -> None: + self.nexus_client = workflow.create_nexus_client( + service=NexusRemoteGreetingService, + endpoint=NEXUS_ENDPOINT, + ) + + @workflow.run + async def run(self) -> list[str]: + log: list[str] = [] + + # Each call is performed twice in this example. This assumes there are two + # users we want to process. The first calls start two workflows, one for each + # user. Subsequent calls perform different actions between the two users. + + # This is an async Nexus operation -- starts a workflow on the handler and + # returns a handle. Unlike the sync operations below, this does not block + # until the workflow completes. It is backed by workflow_run_operation on the + # handler side. + handle_one = await self.nexus_client.start_operation( + NexusRemoteGreetingService.run_from_remote, + RunFromRemoteInput(user_id=REMOTE_WORKFLOW_ONE), + ) + log.append(f"started remote greeting workflow: {REMOTE_WORKFLOW_ONE}") + workflow.logger.info("started remote greeting workflow %s", REMOTE_WORKFLOW_ONE) + + handle_two = await self.nexus_client.start_operation( + NexusRemoteGreetingService.run_from_remote, + RunFromRemoteInput(user_id=REMOTE_WORKFLOW_TWO), + ) + log.append(f"started remote greeting workflow: {REMOTE_WORKFLOW_TWO}") + workflow.logger.info("started remote greeting workflow %s", REMOTE_WORKFLOW_TWO) + + # Query the remote workflows for supported languages. + languages_output = await self.nexus_client.execute_operation( + NexusRemoteGreetingService.get_languages, + GetLanguagesInput(include_unsupported=False, user_id=REMOTE_WORKFLOW_ONE), + ) + log.append( + f"Supported languages for {REMOTE_WORKFLOW_ONE}: " + f"{languages_output.languages}" + ) + workflow.logger.info( + "supported languages are %s for workflow %s", + languages_output.languages, + REMOTE_WORKFLOW_ONE, + ) + + languages_output = await self.nexus_client.execute_operation( + NexusRemoteGreetingService.get_languages, + GetLanguagesInput(include_unsupported=False, user_id=REMOTE_WORKFLOW_TWO), + ) + log.append( + f"Supported languages for {REMOTE_WORKFLOW_TWO}: " + f"{languages_output.languages}" + ) + workflow.logger.info( + "supported languages are %s for workflow %s", + languages_output.languages, + REMOTE_WORKFLOW_TWO, + ) + + # Update the language on each remote workflow. + previous_language_one = await self.nexus_client.execute_operation( + NexusRemoteGreetingService.set_language, + SetLanguageInput(language=Language.ARABIC, user_id=REMOTE_WORKFLOW_ONE), + ) + + previous_language_two = await self.nexus_client.execute_operation( + NexusRemoteGreetingService.set_language, + SetLanguageInput(language=Language.HINDI, user_id=REMOTE_WORKFLOW_TWO), + ) + + # Confirm the changes by querying. + current_language = await self.nexus_client.execute_operation( + NexusRemoteGreetingService.get_language, + GetLanguageInput(user_id=REMOTE_WORKFLOW_ONE), + ) + log.append( + f"{REMOTE_WORKFLOW_ONE} changed language: " + f"{previous_language_one.name} -> {current_language.name}" + ) + workflow.logger.info( + "Language changed from %s to %s for workflow %s", + previous_language_one, + current_language, + REMOTE_WORKFLOW_ONE, + ) + + current_language = await self.nexus_client.execute_operation( + NexusRemoteGreetingService.get_language, + GetLanguageInput(user_id=REMOTE_WORKFLOW_TWO), + ) + log.append( + f"{REMOTE_WORKFLOW_TWO} changed language: " + f"{previous_language_two.name} -> {current_language.name}" + ) + workflow.logger.info( + "Language changed from %s to %s for workflow %s", + previous_language_two, + current_language, + REMOTE_WORKFLOW_TWO, + ) + + # Approve both workflows so they can complete. + await self.nexus_client.execute_operation( + NexusRemoteGreetingService.approve, + ApproveInput(name="remote-caller", user_id=REMOTE_WORKFLOW_ONE), + ) + await self.nexus_client.execute_operation( + NexusRemoteGreetingService.approve, + ApproveInput(name="remote-caller", user_id=REMOTE_WORKFLOW_TWO), + ) + log.append("Workflows approved") + + # Wait for the remote workflows to finish and return their results. + result = await handle_one + log.append(f"Workflow one result: {result}") + + result = await handle_two + log.append(f"Workflow two result: {result}") + + return log diff --git a/nexus_messaging/ondemandpattern/handler/__init__.py b/nexus_messaging/ondemandpattern/handler/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_messaging/ondemandpattern/handler/activities.py b/nexus_messaging/ondemandpattern/handler/activities.py new file mode 100644 index 000000000..ba0284894 --- /dev/null +++ b/nexus_messaging/ondemandpattern/handler/activities.py @@ -0,0 +1,22 @@ +import asyncio +from typing import Optional + +from temporalio import activity + +from nexus_messaging.ondemandpattern.service import Language + + +@activity.defn +async def call_greeting_service(language: Language) -> Optional[str]: + """Simulates a call to a remote greeting service. Returns None if unsupported.""" + greetings = { + Language.ARABIC: "\u0645\u0631\u062d\u0628\u0627 \u0628\u0627\u0644\u0639\u0627\u0644\u0645", + Language.CHINESE: "\u4f60\u597d\uff0c\u4e16\u754c", + Language.ENGLISH: "Hello, world", + Language.FRENCH: "Bonjour, monde", + Language.HINDI: "\u0928\u092e\u0938\u094d\u0924\u0947 \u0926\u0941\u0928\u093f\u092f\u093e", + Language.PORTUGUESE: "Ol\u00e1 mundo", + Language.SPANISH: "Hola mundo", + } + await asyncio.sleep(0.2) + return greetings.get(language) diff --git a/nexus_messaging/ondemandpattern/handler/service_handler.py b/nexus_messaging/ondemandpattern/handler/service_handler.py new file mode 100644 index 000000000..1351aae7a --- /dev/null +++ b/nexus_messaging/ondemandpattern/handler/service_handler.py @@ -0,0 +1,84 @@ +""" +Nexus operation handler for the on-demand pattern. Each operation receives the target +userId in its input, and run_from_remote starts a brand-new GreetingWorkflow. +""" + +from __future__ import annotations + +import nexusrpc +from temporalio import nexus +from temporalio.client import WorkflowHandle + +from nexus_messaging.ondemandpattern.handler.workflows import GreetingWorkflow +from nexus_messaging.ondemandpattern.service import ( + ApproveInput, + ApproveOutput, + GetLanguageInput, + GetLanguagesInput, + GetLanguagesOutput, + Language, + NexusRemoteGreetingService, + RunFromRemoteInput, + SetLanguageInput, +) + +WORKFLOW_ID_PREFIX = "GreetingWorkflow_for_" + + +@nexusrpc.handler.service_handler(service=NexusRemoteGreetingService) +class NexusRemoteGreetingServiceHandler: + def _get_workflow_id(self, user_id: str) -> str: + return WORKFLOW_ID_PREFIX + user_id + + def _get_workflow_handle( + self, user_id: str + ) -> WorkflowHandle[GreetingWorkflow, str]: + return nexus.client().get_workflow_handle_for( + GreetingWorkflow.run, self._get_workflow_id(user_id) + ) + + # Starts a new GreetingWorkflow with the caller-specified user ID. + # This is an async Nexus operation backed by workflow_run_operation. + @nexus.workflow_run_operation + async def run_from_remote( + self, ctx: nexus.WorkflowRunOperationContext, input: RunFromRemoteInput + ) -> nexus.WorkflowHandle[str]: + return await ctx.start_workflow( + GreetingWorkflow.run, + id=self._get_workflow_id(input.user_id), + ) + + @nexusrpc.handler.sync_operation + async def get_languages( + self, ctx: nexusrpc.handler.StartOperationContext, input: GetLanguagesInput + ) -> GetLanguagesOutput: + return await self._get_workflow_handle(input.user_id).query( + GreetingWorkflow.get_languages, input + ) + + @nexusrpc.handler.sync_operation + async def get_language( + self, ctx: nexusrpc.handler.StartOperationContext, input: GetLanguageInput + ) -> Language: + return await self._get_workflow_handle(input.user_id).query( + GreetingWorkflow.get_language, + ) + + # Routes to set_language_using_activity so that new languages not already in the + # greetings map can be fetched via an activity. + @nexusrpc.handler.sync_operation + async def set_language( + self, ctx: nexusrpc.handler.StartOperationContext, input: SetLanguageInput + ) -> Language: + return await self._get_workflow_handle(input.user_id).execute_update( + GreetingWorkflow.set_language_using_activity, input + ) + + @nexusrpc.handler.sync_operation + async def approve( + self, ctx: nexusrpc.handler.StartOperationContext, input: ApproveInput + ) -> ApproveOutput: + await self._get_workflow_handle(input.user_id).signal( + GreetingWorkflow.approve, input + ) + return ApproveOutput() diff --git a/nexus_messaging/ondemandpattern/handler/worker.py b/nexus_messaging/ondemandpattern/handler/worker.py new file mode 100644 index 000000000..5eec9cfc2 --- /dev/null +++ b/nexus_messaging/ondemandpattern/handler/worker.py @@ -0,0 +1,48 @@ +import asyncio +import logging +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from nexus_messaging.ondemandpattern.handler.activities import call_greeting_service +from nexus_messaging.ondemandpattern.handler.service_handler import ( + NexusRemoteGreetingServiceHandler, +) +from nexus_messaging.ondemandpattern.handler.workflows import GreetingWorkflow + +interrupt_event = asyncio.Event() + +NAMESPACE = "nexus-messaging-handler-namespace" +TASK_QUEUE = "nexus-messaging-handler-task-queue" + + +async def main(client: Optional[Client] = None): + logging.basicConfig(level=logging.INFO) + + if client is None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + config.setdefault("namespace", NAMESPACE) + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[GreetingWorkflow], + activities=[call_greeting_service], + nexus_service_handlers=[NexusRemoteGreetingServiceHandler()], + ): + logging.info("Handler worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/nexus_messaging/ondemandpattern/handler/workflows.py b/nexus_messaging/ondemandpattern/handler/workflows.py new file mode 100644 index 000000000..99fc57289 --- /dev/null +++ b/nexus_messaging/ondemandpattern/handler/workflows.py @@ -0,0 +1,88 @@ +""" +A long-running "entity" workflow that backs the NexusRemoteGreetingService Nexus +operations. The workflow exposes queries, an update, and a signal. These are private +implementation details of the Nexus service: the caller only interacts via Nexus +operations. +""" + +import asyncio +from datetime import timedelta + +from temporalio import workflow +from temporalio.exceptions import ApplicationError + +from nexus_messaging.ondemandpattern.handler.activities import call_greeting_service +from nexus_messaging.ondemandpattern.service import ( + ApproveInput, + GetLanguagesInput, + GetLanguagesOutput, + Language, + SetLanguageInput, +) + + +@workflow.defn +class GreetingWorkflow: + def __init__(self) -> None: + self.approved_for_release = False + self.greetings: dict[Language, str] = { + Language.CHINESE: "\u4f60\u597d\uff0c\u4e16\u754c", + Language.ENGLISH: "Hello, world", + } + self.language = Language.ENGLISH + self.lock = asyncio.Lock() + + @workflow.run + async def run(self) -> str: + # Wait until approved and all in-flight update handlers have finished. + await workflow.wait_condition( + lambda: self.approved_for_release and workflow.all_handlers_finished() + ) + return self.greetings[self.language] + + @workflow.query + def get_languages(self, input: GetLanguagesInput) -> GetLanguagesOutput: + if input.include_unsupported: + languages = sorted(Language) + else: + languages = sorted(self.greetings) + return GetLanguagesOutput(languages=languages) + + @workflow.query + def get_language(self) -> Language: + return self.language + + @workflow.signal + def approve(self, input: ApproveInput) -> None: + workflow.logger.info("Approval signal received for user %s", input.user_id) + self.approved_for_release = True + + @workflow.update + def set_language(self, input: SetLanguageInput) -> Language: + workflow.logger.info("setLanguage update received for user %s", input.user_id) + previous_language, self.language = self.language, input.language + return previous_language + + @set_language.validator + def validate_set_language(self, input: SetLanguageInput) -> None: + if input.language not in self.greetings: + raise ValueError(f"{input.language.name} is not supported") + + # Changes the active language, calling an activity to fetch a greeting for new + # languages not already in the greetings map. + @workflow.update + async def set_language_using_activity(self, input: SetLanguageInput) -> Language: + if input.language not in self.greetings: + async with self.lock: + greeting = await workflow.execute_activity( + call_greeting_service, + input.language, + start_to_close_timeout=timedelta(seconds=10), + ) + if greeting is None: + raise ApplicationError( + f"Greeting service does not support {input.language.name}" + ) + self.greetings[input.language] = greeting + previous_language, self.language = self.language, input.language + return previous_language diff --git a/nexus_messaging/ondemandpattern/service.py b/nexus_messaging/ondemandpattern/service.py new file mode 100644 index 000000000..8f347d32b --- /dev/null +++ b/nexus_messaging/ondemandpattern/service.py @@ -0,0 +1,72 @@ +""" +Nexus service definition for the on-demand pattern. Every operation includes a userId +so the caller controls which workflow instance is targeted. This also exposes a +run_from_remote operation that starts a new GreetingWorkflow. +""" + +from dataclasses import dataclass +from enum import IntEnum + +import nexusrpc + + +class Language(IntEnum): + ARABIC = 1 + CHINESE = 2 + ENGLISH = 3 + FRENCH = 4 + HINDI = 5 + PORTUGUESE = 6 + SPANISH = 7 + + +@dataclass +class RunFromRemoteInput: + user_id: str + + +@dataclass +class GetLanguagesInput: + include_unsupported: bool + user_id: str + + +@dataclass +class GetLanguagesOutput: + languages: list[Language] + + +@dataclass +class GetLanguageInput: + user_id: str + + +@dataclass +class SetLanguageInput: + language: Language + user_id: str + + +@dataclass +class ApproveInput: + name: str + user_id: str + + +@dataclass +class ApproveOutput: + pass + + +@nexusrpc.service +class NexusRemoteGreetingService: + # Starts a new GreetingWorkflow with the given workflow ID (asynchronous). + run_from_remote: nexusrpc.Operation[RunFromRemoteInput, str] + # Returns the languages supported by the specified workflow. + get_languages: nexusrpc.Operation[GetLanguagesInput, GetLanguagesOutput] + # Returns the currently active language of the specified workflow. + get_language: nexusrpc.Operation[GetLanguageInput, Language] + # Changes the active language on the specified workflow, returning the previous one. + set_language: nexusrpc.Operation[SetLanguageInput, Language] + # Approves the specified workflow, allowing it to complete. + approve: nexusrpc.Operation[ApproveInput, ApproveOutput] diff --git a/nexus_multiple_args/README.md b/nexus_multiple_args/README.md new file mode 100644 index 000000000..8da0f146f --- /dev/null +++ b/nexus_multiple_args/README.md @@ -0,0 +1,33 @@ +This sample shows how to map a Nexus operation to a handler workflow that takes multiple input arguments. The Nexus operation receives a single input object but unpacks it into multiple arguments when starting the workflow. + +### Sample directory structure + +- [service.py](./service.py) - shared Nexus service definition +- [caller](./caller) - a caller workflow that executes Nexus operations, together with a worker and starter code +- [handler](./handler) - Nexus operation handlers, together with a workflow used by the Nexus operation, and a worker that polls for both workflow and Nexus tasks. + +### Instructions + +Start a Temporal server. (See the main samples repo [README](../README.md)). + +Run the following: + +``` +temporal operator namespace create --namespace nexus-multiple-args-handler-namespace +temporal operator namespace create --namespace nexus-multiple-args-caller-namespace + +temporal operator nexus endpoint create \ + --name nexus-multiple-args-nexus-endpoint \ + --target-namespace nexus-multiple-args-handler-namespace \ + --target-task-queue nexus-multiple-args-handler-task-queue +``` + +In one terminal, run the Temporal worker in the handler namespace: +``` +uv run nexus_multiple_args/handler/worker.py +``` + +In another terminal, run the Temporal worker in the caller namespace and start the caller workflow: +``` +uv run nexus_multiple_args/caller/app.py +``` \ No newline at end of file diff --git a/nexus_multiple_args/__init__.py b/nexus_multiple_args/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_multiple_args/caller/__init__.py b/nexus_multiple_args/caller/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_multiple_args/caller/app.py b/nexus_multiple_args/caller/app.py new file mode 100644 index 000000000..b4d7ebc34 --- /dev/null +++ b/nexus_multiple_args/caller/app.py @@ -0,0 +1,55 @@ +import asyncio +import uuid +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from nexus_multiple_args.caller.workflows import CallerWorkflow + +NAMESPACE = "nexus-multiple-args-caller-namespace" +TASK_QUEUE = "nexus-multiple-args-caller-task-queue" + + +async def execute_caller_workflow( + client: Optional[Client] = None, +) -> tuple[str, str]: + if client is None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + config.setdefault("namespace", NAMESPACE) + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[CallerWorkflow], + ): + # Execute workflow with English language + result1 = await client.execute_workflow( + CallerWorkflow.run, + args=["Nexus", "en"], + id=str(uuid.uuid4()), + task_queue=TASK_QUEUE, + ) + + # Execute workflow with Spanish language + result2 = await client.execute_workflow( + CallerWorkflow.run, + args=["Nexus", "es"], + id=str(uuid.uuid4()), + task_queue=TASK_QUEUE, + ) + + return result1, result2 + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + results = loop.run_until_complete(execute_caller_workflow()) + for result in results: + print(result) + except KeyboardInterrupt: + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/nexus_multiple_args/caller/workflows.py b/nexus_multiple_args/caller/workflows.py new file mode 100644 index 000000000..940a032f1 --- /dev/null +++ b/nexus_multiple_args/caller/workflows.py @@ -0,0 +1,30 @@ +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from nexus_multiple_args.service import HelloInput, MyNexusService + +NEXUS_ENDPOINT = "nexus-multiple-args-nexus-endpoint" + + +# This is a workflow that calls a nexus operation with multiple arguments. +@workflow.defn +class CallerWorkflow: + # An __init__ method is always optional on a workflow class. Here we use it to set the + # nexus client, but that could alternatively be done in the run method. + def __init__(self): + self.nexus_client = workflow.create_nexus_client( + service=MyNexusService, + endpoint=NEXUS_ENDPOINT, + ) + + # The workflow run method demonstrates calling a nexus operation with multiple arguments + # packed into an input object. + @workflow.run + async def run(self, name: str, language: str) -> str: + # Start the nexus operation and wait for the result in one go, using execute_operation. + # The multiple arguments (name and language) are packed into a HelloInput object. + result = await self.nexus_client.execute_operation( + MyNexusService.hello, + HelloInput(name=name, language=language), + ) + return result.message diff --git a/nexus_multiple_args/handler/__init__.py b/nexus_multiple_args/handler/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_multiple_args/handler/service_handler.py b/nexus_multiple_args/handler/service_handler.py new file mode 100644 index 000000000..8c00ee310 --- /dev/null +++ b/nexus_multiple_args/handler/service_handler.py @@ -0,0 +1,37 @@ +from __future__ import annotations + +import nexusrpc +from temporalio import nexus + +from nexus_multiple_args.handler.workflows import HelloHandlerWorkflow +from nexus_multiple_args.service import HelloInput, HelloOutput, MyNexusService + + +# @@@SNIPSTART samples-python-nexus-handler-multiargs +@nexusrpc.handler.service_handler(service=MyNexusService) +class MyNexusServiceHandler: + """ + Service handler that demonstrates multiple argument handling in Nexus operations. + """ + + # This is a nexus operation that is backed by a Temporal workflow. + # The key feature here is that it demonstrates how to map a single input object + # (HelloInput) to a workflow that takes multiple individual arguments. + @nexus.workflow_run_operation + async def hello( + self, ctx: nexus.WorkflowRunOperationContext, input: HelloInput + ) -> nexus.WorkflowHandle[HelloOutput]: + """ + Start a workflow with multiple arguments unpacked from the input object. + """ + return await ctx.start_workflow( + HelloHandlerWorkflow.run, + args=[ + input.name, # First argument: name + input.language, # Second argument: language + ], + id=f"hello-multi-args-{input.name}-{input.language}", + ) + + +# @@@SNIPEND diff --git a/nexus_multiple_args/handler/worker.py b/nexus_multiple_args/handler/worker.py new file mode 100644 index 000000000..079d08ae8 --- /dev/null +++ b/nexus_multiple_args/handler/worker.py @@ -0,0 +1,47 @@ +import asyncio +import logging +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from nexus_multiple_args.handler.service_handler import MyNexusServiceHandler +from nexus_multiple_args.handler.workflows import HelloHandlerWorkflow + +interrupt_event = asyncio.Event() + +NAMESPACE = "nexus-multiple-args-handler-namespace" +TASK_QUEUE = "nexus-multiple-args-handler-task-queue" + + +async def main(client: Optional[Client] = None): + logging.basicConfig(level=logging.INFO) + + if client is None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + config.setdefault("namespace", NAMESPACE) + client = await Client.connect(**config) + + # Start the worker, passing the Nexus service handler instance, in addition to the + # workflow classes that are started by your nexus operations, and any activities + # needed. This Worker will poll for both workflow tasks and Nexus tasks. + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[HelloHandlerWorkflow], + nexus_service_handlers=[MyNexusServiceHandler()], + ): + logging.info("Worker started, ctrl+c to exit") + await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/nexus_multiple_args/handler/workflows.py b/nexus_multiple_args/handler/workflows.py new file mode 100644 index 000000000..15bd08240 --- /dev/null +++ b/nexus_multiple_args/handler/workflows.py @@ -0,0 +1,32 @@ +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from nexus_multiple_args.service import HelloOutput + + +# This is the workflow that is started by the `hello` nexus operation. +# It demonstrates handling multiple arguments passed from the Nexus service. +@workflow.defn +class HelloHandlerWorkflow: + @workflow.run + async def run(self, name: str, language: str) -> HelloOutput: + """ + Handle the hello workflow with multiple arguments. + + This method receives the individual arguments (name and language) + that were unpacked from the HelloInput in the service handler. + """ + if language == "en": + message = f"Hello {name} 👋" + elif language == "fr": + message = f"Bonjour {name} 👋" + elif language == "de": + message = f"Hallo {name} 👋" + elif language == "es": + message = f"¡Hola! {name} 👋" + elif language == "tr": + message = f"Merhaba {name} 👋" + else: + raise ValueError(f"Unsupported language: {language}") + + return HelloOutput(message=message) diff --git a/nexus_multiple_args/service.py b/nexus_multiple_args/service.py new file mode 100644 index 000000000..ccae11fd9 --- /dev/null +++ b/nexus_multiple_args/service.py @@ -0,0 +1,34 @@ +""" +This is a Nexus service definition that demonstrates multiple argument handling. + +A service definition defines a Nexus service as a named collection of operations, each +with input and output types. It does not implement operation handling: see the service +handler and operation handlers in nexus_multiple_args.handler.service_handler for that. + +A Nexus service definition is used by Nexus callers (e.g. a Temporal workflow) to create +type-safe clients, and it is used by Nexus handlers to validate that they implement +correctly-named operation handlers with the correct input and output types. + +The service defined in this file features one operation: hello, where hello +demonstrates handling multiple arguments through a single input object. +""" + +from dataclasses import dataclass + +import nexusrpc + + +@dataclass +class HelloInput: + name: str + language: str + + +@dataclass +class HelloOutput: + message: str + + +@nexusrpc.service +class MyNexusService: + hello: nexusrpc.Operation[HelloInput, HelloOutput] diff --git a/nexus_standalone_operations/README.md b/nexus_standalone_operations/README.md new file mode 100644 index 000000000..63a04b5ac --- /dev/null +++ b/nexus_standalone_operations/README.md @@ -0,0 +1,116 @@ +This sample demonstrates how to execute Nexus operations directly from client code, +without wrapping them in a workflow. It shows both synchronous and asynchronous +(workflow-backed) operations, plus listing and counting operations. + +The starter and worker connect to two different namespaces (a "caller" namespace and a "handler" +namespace) — this mirrors how Nexus is typically used to cross namespace boundaries. The client is +configured via the SDK's [environment configuration](https://docs.temporal.io/develop/environment-configuration) +support (`ClientConfig.load_client_connect_config()`), which reads `TEMPORAL_NAMESPACE`, +`TEMPORAL_ADDRESS`, etc. from the environment (and optionally profiles from `temporal.toml`). + +### Temporal Python SDK support for Standalone Nexus Operations is at [Pre-release](https://docs.temporal.io/evaluate/development-production-features/release-stages#pre-release). + +All APIs are experimental and may be subject to backwards-incompatible changes. + +Standalone Nexus operations require a server version that supports this feature. Use the dev server build at https://github.com/temporalio/cli/releases/tag/v1.7.4-standalone-nexus-operations. + +### Sample directory structure + +- [service.py](./service.py) - Nexus service definition with echo (sync) and hello (async) operations +- [handler.py](./handler.py) - Nexus operation handlers and the backing workflow for the async operation +- [worker.py](./worker.py) - Temporal worker that hosts the Nexus service +- [starter.py](./starter.py) - Client that executes standalone Nexus operations + +## Run locally against a dev server + +1. Start the [Temporal dev server build that supports standalone Nexus operations](https://docs.temporal.io/standalone-nexus-operation#temporal-cli-support) with the required namespaces pre-created: + + ```bash + ./temporal server start-dev \ + --namespace my-caller-namespace \ + --namespace my-handler-namespace + ``` + +2. Create a Nexus endpoint that routes to the handler namespace and the worker's task queue: + + ```bash + ./temporal operator nexus endpoint create \ + --name my-nexus-endpoint \ + --target-namespace my-handler-namespace \ + --target-task-queue nexus-handler-queue + ``` + +3. In a second terminal, start the worker in the handler namespace: + + ```bash + TEMPORAL_NAMESPACE=my-handler-namespace uv run nexus_standalone_operations/worker.py + ``` + +4. In a third terminal, run the starter in the caller namespace: + + ```bash + TEMPORAL_NAMESPACE=my-caller-namespace uv run nexus_standalone_operations/starter.py + ``` + +### Expected output + +``` +Echo result: hello +Echo result from existing operation handle: hello + +Started `MyNexusService.Hello`. OperationID: hello-... +`MyNexusService.Hello` result: Hello, World! + +Listing Nexus operations: + OperationId: echo-..., Operation: echo, Status: COMPLETED + OperationId: hello-..., Operation: hello, Status: COMPLETED + +Total Nexus operations: 2 +``` + +If you run the starter code multiple times, you should see additional operations in the listing results, as more operations are run. +The same goes for the total number of operations. + +## Run against Temporal Cloud + +1. Create two namespaces in Temporal Cloud (for example `my-caller-namespace.` and + `my-handler-namespace.`) and generate an API key (or mTLS cert) that can access both. + +2. Create a Nexus endpoint that targets the handler namespace and the worker's task queue. See the + Temporal Cloud instructions at https://docs.temporal.io/nexus/registry#create-a-nexus-endpoint. + Use: + - Endpoint name: `my-nexus-endpoint` + - Target namespace: `my-handler-namespace.` + - Target task queue: `nexus-handler-queue` + - Allowed caller namespaces: include `my-caller-namespace.` (endpoints reject callers + that are not on this list) + +3. Add two profiles to your [environment configuration file](https://docs.temporal.io/develop/environment-configuration), + one per namespace. Using API keys: + + ```toml + [profile.handler] + address = "..api.temporal.io:7233" + namespace = "my-handler-namespace." + api_key = "" + + [profile.caller] + address = "..api.temporal.io:7233" + namespace = "my-caller-namespace." + api_key = "" + ``` + + For mTLS instead of API keys, set `tls.client_cert_path` and `tls.client_key_path` on each profile + (see the [docs](https://docs.temporal.io/develop/environment-configuration) for the full schema). + +4. Run the worker and starter in separate terminals, selecting the appropriate profile in each: + + ```bash + # terminal 1 (worker, handler namespace) + TEMPORAL_PROFILE=handler uv run nexus_standalone_operations/worker.py + ``` + + ```bash + # terminal 2 (starter, caller namespace) + TEMPORAL_PROFILE=caller uv run nexus_standalone_operations/starter.py + ``` diff --git a/nexus_standalone_operations/__init__.py b/nexus_standalone_operations/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/nexus_standalone_operations/handler.py b/nexus_standalone_operations/handler.py new file mode 100644 index 000000000..da18e9477 --- /dev/null +++ b/nexus_standalone_operations/handler.py @@ -0,0 +1,45 @@ +"""Nexus service handler and backing workflow for standalone operations sample.""" + +from __future__ import annotations + +import uuid + +import nexusrpc.handler +from temporalio import nexus, workflow + +from nexus_standalone_operations.service import ( + EchoInput, + EchoOutput, + HelloInput, + HelloOutput, + MyNexusService, +) + + +@workflow.defn +class HelloWorkflow: + @workflow.run + async def run(self, input: HelloInput) -> HelloOutput: + return HelloOutput(greeting=f"Hello, {input.name}!") + + +@nexusrpc.handler.service_handler(service=MyNexusService) +class MyNexusServiceHandler: + @nexusrpc.handler.sync_operation + async def echo( + self, _ctx: nexusrpc.handler.StartOperationContext, input: EchoInput + ) -> EchoOutput: + return EchoOutput(message=input.message) + + @nexus.temporal_operation + async def hello( + self, + _ctx: nexus.TemporalStartOperationContext, + client: nexus.TemporalNexusClient, + input: HelloInput, + ) -> nexus.TemporalOperationResult[HelloOutput]: + return await client.start_workflow( + HelloWorkflow.run, + input, + id=str(uuid.uuid4()), + ) diff --git a/nexus_standalone_operations/service.py b/nexus_standalone_operations/service.py new file mode 100644 index 000000000..a8a906db2 --- /dev/null +++ b/nexus_standalone_operations/service.py @@ -0,0 +1,39 @@ +"""Nexus service definition for standalone operations sample. + +Defines a Nexus service with two operations: +- echo: a synchronous operation that echoes the input message +- hello: an asynchronous (workflow-backed) operation that returns a greeting + +This service definition is used by both the handler (to validate operation +signatures) and the client (to create type-safe nexus clients). +""" + +from dataclasses import dataclass + +import nexusrpc + + +@dataclass +class EchoInput: + message: str + + +@dataclass +class EchoOutput: + message: str + + +@dataclass +class HelloInput: + name: str + + +@dataclass +class HelloOutput: + greeting: str + + +@nexusrpc.service +class MyNexusService: + echo: nexusrpc.Operation[EchoInput, EchoOutput] + hello: nexusrpc.Operation[HelloInput, HelloOutput] diff --git a/nexus_standalone_operations/starter.py b/nexus_standalone_operations/starter.py new file mode 100644 index 000000000..df001cab7 --- /dev/null +++ b/nexus_standalone_operations/starter.py @@ -0,0 +1,83 @@ +"""Starter that demonstrates standalone Nexus operation execution. + +Unlike other Nexus samples that call operations from within a workflow, this +sample executes Nexus operations directly from client code using the standalone +Nexus operation APIs. +""" + +import asyncio +import uuid +from datetime import timedelta + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from nexus_standalone_operations.service import ( + EchoInput, + EchoOutput, + HelloInput, + MyNexusService, +) + +ENDPOINT_NAME = "my-nexus-endpoint" + + +async def main() -> None: + config = ClientConfig.load_client_connect_config() + _ = config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Create a typed NexusClient bound to the endpoint and service. + # The endpoint must be pre-created on the server (see README). + nexus_client = client.create_nexus_client( + service=MyNexusService, endpoint=ENDPOINT_NAME + ) + + # Start sync echo operation and await the result immediately. + operation_id = f"echo-{uuid.uuid4()}" + echo_result = await nexus_client.execute_operation( + MyNexusService.echo, + EchoInput(message="hello"), + id=operation_id, + schedule_to_close_timeout=timedelta(seconds=10), + ) + print(f"Echo result: {echo_result.message}") + + # Get a handle and the result of an existing operation + existing_op_handle = client.get_nexus_operation_handle( + operation_id, operation=MyNexusService.echo + ) + existing_result = await existing_op_handle.result() + print(f"Echo result from existing operation handle: {existing_result.message}") + + # Start async (workflow-backed) hello operation and get a NexusOperationHandle. + handle = await nexus_client.start_operation( + MyNexusService.hello, + HelloInput(name="World"), + id=f"hello-{uuid.uuid4()}", + schedule_to_close_timeout=timedelta(seconds=10), + ) + + print(f"\nStarted `MyNexusService.Hello`. OperationID: {handle.operation_id}") + + # Use the NexusOperationHandle to await the result of the operation. + hello_result = await handle.result() + print(f"`MyNexusService.Hello` result: {hello_result.greeting}") + + # List nexus operations. + print("\nListing Nexus operations:") + query = f'Endpoint = "{ENDPOINT_NAME}"' + async for op in client.list_nexus_operations(query): + print( + f" OperationId: {op.operation_id},", + f" Operation: {op.operation},", + f" Status: {op.status.name}", + ) + + # Count nexus operations. + count = await client.count_nexus_operations(query) + print(f"\nTotal Nexus operations: {count.count}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/nexus_standalone_operations/worker.py b/nexus_standalone_operations/worker.py new file mode 100644 index 000000000..2adcbdd90 --- /dev/null +++ b/nexus_standalone_operations/worker.py @@ -0,0 +1,41 @@ +"""Worker that hosts the Nexus service for standalone operations sample.""" + +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from nexus_standalone_operations.handler import HelloWorkflow, MyNexusServiceHandler + +interrupt_event = asyncio.Event() + +TASK_QUEUE = "nexus-handler-queue" + + +async def main() -> None: + logging.basicConfig(level=logging.INFO) + + config = ClientConfig.load_client_connect_config() + _ = config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[HelloWorkflow], + nexus_service_handlers=[MyNexusServiceHandler()], + ): + logging.info("Worker started, ctrl+c to exit") + _ = await interrupt_event.wait() + logging.info("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/open_telemetry/README.md b/open_telemetry/README.md index e742b3dd5..e95deacab 100644 --- a/open_telemetry/README.md +++ b/open_telemetry/README.md @@ -4,35 +4,34 @@ This sample shows how to configure OpenTelemetry to capture workflow traces and For this sample, the optional `open_telemetry` dependency group must be included. To include, run: - poetry install --with open_telemetry + uv sync --group open-telemetry -To run, first see [README.md](../README.md) for prerequisites. Then run the following to start a Jaeger container -with OTLP collector enabled to collect and view the trace results: +To run, first see [README.md](../README.md) for prerequisites. Then run the following to start an [Aspire](https://hub.docker.com/r/microsoft/dotnet-aspire-dashboard/) OTEL collector - docker run -d --name jaeger \ - -e COLLECTOR_OTLP_ENABLED=true \ - -p 16686:16686 \ - -p 4317:4317 \ - -p 4318:4318 \ - jaegertracing/all-in-one:latest + docker compose up -Now, from this directory, start the worker in its own terminal: +Now, start the worker in its own terminal: - poetry run python worker.py + uv run open_telemetry/worker.py -This will start the worker. Then, in another terminal, run the following to execute the workflow: +Then, in another terminal, run the following to execute the workflow: - poetry run python starter.py + uv run open_telemetry/starter.py -The workflow should complete with the hello result. The workflow trace can now be viewed in Jaeger at -http://localhost:16686/. Under service, select `my-service` and "Find Traces". The workflow should appear and when -clicked, may look something like: +The workflow should complete with the hello result. -![Jaeger Screenshot](jaeger-screenshot.png) +Now view the Aspire UI at http://localhost:18888/. + +To view metrics sent describing the worker and the workflow that was executed, select `Metrics` on the left and under "Select a resource" select "temporal-core-sdk". It may look like this: + +![Aspire metrics screenshot](aspire-metrics-screenshot.png) + + +To view workflow spans, select `Traces` on the left and under "Select a resource" select "temporal-core-sdk". It may look like this: + +![Aspire traces screenshot](aspire-traces-screenshot.png) Note, in-workflow spans do not have a time associated with them. This is by intention since due to replay. In OpenTelemetry, only the process that started the span may end it. But in Temporal a span may cross workers/processes. Therefore we intentionally start-then-end in-workflow spans immediately. So while the start time and hierarchy is -accurate, the duration is not. - -The metrics should have been dumped out in the terminal where the OpenTelemetry collector container is running. +accurate, the duration is not. \ No newline at end of file diff --git a/open_telemetry/aspire-metrics-screenshot.png b/open_telemetry/aspire-metrics-screenshot.png new file mode 100644 index 000000000..ed4ab8e93 Binary files /dev/null and b/open_telemetry/aspire-metrics-screenshot.png differ diff --git a/open_telemetry/aspire-traces-screenshot.png b/open_telemetry/aspire-traces-screenshot.png new file mode 100644 index 000000000..298c07ebd Binary files /dev/null and b/open_telemetry/aspire-traces-screenshot.png differ diff --git a/open_telemetry/docker-compose.yaml b/open_telemetry/docker-compose.yaml new file mode 100644 index 000000000..da3c02aed --- /dev/null +++ b/open_telemetry/docker-compose.yaml @@ -0,0 +1,8 @@ +services: + aspire-dashboard: + environment: + Dashboard__Frontend__AuthMode: Unsecured + image: mcr.microsoft.com/dotnet/aspire-dashboard:8.0 + ports: + - 4317:18889 + - 18888:18888 \ No newline at end of file diff --git a/open_telemetry/jaeger-screenshot.png b/open_telemetry/jaeger-screenshot.png deleted file mode 100644 index 8376d49c1..000000000 Binary files a/open_telemetry/jaeger-screenshot.png and /dev/null differ diff --git a/open_telemetry/otel-metrics-collector-config.yaml b/open_telemetry/otel-metrics-collector-config.yaml deleted file mode 100644 index 45265f88a..000000000 --- a/open_telemetry/otel-metrics-collector-config.yaml +++ /dev/null @@ -1,15 +0,0 @@ -receivers: - otlp: - protocols: - grpc: -exporters: - logging: - loglevel: debug -processors: - batch: -service: - pipelines: - metrics: - receivers: [otlp] - exporters: [logging] - processors: [batch] \ No newline at end of file diff --git a/open_telemetry/starter.py b/open_telemetry/starter.py index 863603685..9e8650b0a 100644 --- a/open_telemetry/starter.py +++ b/open_telemetry/starter.py @@ -2,6 +2,7 @@ from temporalio.client import Client from temporalio.contrib.opentelemetry import TracingInterceptor +from temporalio.envconfig import ClientConfig from open_telemetry.worker import GreetingWorkflow, init_runtime_with_telemetry @@ -9,9 +10,11 @@ async def main(): runtime = init_runtime_with_telemetry() + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") # Connect client client = await Client.connect( - "localhost:7233", + **config, # Use OpenTelemetry interceptor interceptors=[TracingInterceptor()], runtime=runtime, diff --git a/open_telemetry/worker.py b/open_telemetry/worker.py index f43471522..631bd008e 100644 --- a/open_telemetry/worker.py +++ b/open_telemetry/worker.py @@ -1,15 +1,15 @@ import asyncio from datetime import timedelta -import opentelemetry.context from opentelemetry import trace from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLPSpanExporter -from opentelemetry.sdk.resources import SERVICE_NAME, Resource +from opentelemetry.sdk.resources import SERVICE_NAME, Resource # type: ignore from opentelemetry.sdk.trace import TracerProvider from opentelemetry.sdk.trace.export import BatchSpanProcessor from temporalio import activity, workflow from temporalio.client import Client from temporalio.contrib.opentelemetry import TracingInterceptor +from temporalio.envconfig import ClientConfig from temporalio.runtime import OpenTelemetryConfig, Runtime, TelemetryConfig from temporalio.worker import Worker @@ -51,9 +51,12 @@ def init_runtime_with_telemetry() -> Runtime: async def main(): runtime = init_runtime_with_telemetry() + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Connect client client = await Client.connect( - "localhost:7233", + **config, # Use OpenTelemetry interceptor interceptors=[TracingInterceptor()], runtime=runtime, diff --git a/openai_agents/README.md b/openai_agents/README.md new file mode 100644 index 000000000..f6857d795 --- /dev/null +++ b/openai_agents/README.md @@ -0,0 +1,42 @@ +# Temporal OpenAI Agents SDK Integration + +⚠️ **Public Preview** - This integration is experimental and its interfaces may change prior to General Availability. + +This directory contains samples demonstrating how to use the [OpenAI Agents SDK](https://github.com/openai/openai-agents-python) with Temporal's durable execution engine. +These samples are adapted from the [OpenAI Agents SDK examples](https://github.com/openai/openai-agents-python/tree/main/examples) and extended with Temporal's durability and orchestration capabilities. + +See the [module documentation](https://github.com/temporalio/sdk-python/blob/main/temporalio/contrib/openai_agents/README.md) for more information. + +## Overview + +The integration combines: +- **Temporal workflows** for orchestrating agent control flow and state management +- **OpenAI Agents SDK** for AI agent creation and tool interactions + +This approach ensures that AI agent workflows are durable, observable, and can handle failures gracefully. + +## Prerequisites + +- [Temporal CLI](https://docs.temporal.io/cli) with a local dev server running: + ``` + temporal server start-dev + ``` +- Required dependencies installed via `uv sync --group openai-agents` +- OpenAI API key set as environment variable: `export OPENAI_API_KEY=your_key_here` + +## Examples + +Each directory contains a complete example with its own README for detailed instructions: + +- **[Basic Examples](./basic/README.md)** - Simple agent examples including a hello world agent and a tools-enabled agent that can access external APIs like weather services. +- **[Agent Patterns](./agent_patterns/README.md)** - Advanced patterns for agent composition, including using agents as tools within other agents. +- **[Tools](./tools/README.md)** - Demonstrates available tools such as file search, image generation, and others. +- **[Handoffs](./handoffs/README.md)** - Agents collaborating via handoffs. +- **[Hosted MCP](./hosted_mcp/README.md)** - Using the MCP client functionality of the OpenAI Responses API. +- **[MCP](./mcp/README.md)** - Local MCP servers (filesystem/stdio, streamable HTTP, SSE, prompt server) integrated with Temporal workflows. +- **[Model Providers](./model_providers/README.md)** - Using custom LLM providers (e.g., Anthropic via LiteLLM). +- **[Research Bot](./research_bot/README.md)** - Multi-agent research system with specialized roles: a planner agent, search agent, and writer agent working together to conduct comprehensive research. +- **[Customer Service](./customer_service/README.md)** - Interactive customer service agent with escalation capabilities, demonstrating conversational workflows. +- **[Reasoning Content](./reasoning_content/README.md)** - Example of how to retrieve the thought process of reasoning models. +- **[Financial Research Agent](./financial_research_agent/README.md)** - Multi-agent financial research system with planner, search, analyst, writer, and verifier agents collaborating. +- **[Streaming](./streaming/README.md)** - `Runner.run_streamed` with buffered token streaming to external subscribers via `temporalio.contrib.workflow_streams`. **Experimental.** diff --git a/openai_agents/__init__.py b/openai_agents/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/openai_agents/agent_patterns/README.md b/openai_agents/agent_patterns/README.md new file mode 100644 index 000000000..c86fdfd21 --- /dev/null +++ b/openai_agents/agent_patterns/README.md @@ -0,0 +1,97 @@ +# Agent Patterns + +Common agentic patterns extended with Temporal's durable execution capabilities. + +*Adapted from [OpenAI Agents SDK agent patterns](https://github.com/openai/openai-agents-python/tree/main/examples/agent_patterns)* + +Before running these examples, be sure to review the [prerequisites and background on the integration](../README.md). + +## Running the Examples + +First, start the worker (supports all patterns): +```bash +uv run openai_agents/agent_patterns/run_worker.py +``` + +Then run individual examples in separate terminals: + +### Deterministic Flows +Sequential agent execution with validation gates - demonstrates breaking complex tasks into smaller steps: +```bash +uv run openai_agents/agent_patterns/run_deterministic_workflow.py +``` + +### Parallelization +Run multiple agents in parallel and select the best result - useful for improving quality or reducing latency: +```bash +uv run openai_agents/agent_patterns/run_parallelization_workflow.py +``` + +### LLM-as-a-Judge +Iterative improvement using feedback loops - generate content, evaluate it, and improve until satisfied: +```bash +uv run openai_agents/agent_patterns/run_llm_as_a_judge_workflow.py +``` + +### Agents as Tools +Use agents as callable tools within other agents - enables composition and specialized task delegation: +```bash +uv run openai_agents/agent_patterns/run_agents_as_tools_workflow.py +``` + +### Agent Routing and Handoffs +Route requests to specialized agents based on content analysis (adapted to consume the run's output in one piece; see [Streaming](../streaming/README.md) for streaming output to external subscribers): +```bash +uv run openai_agents/agent_patterns/run_routing_workflow.py +``` + +### Input Guardrails +Pre-execution validation to prevent unwanted requests - demonstrates safety mechanisms: +```bash +uv run openai_agents/agent_patterns/run_input_guardrails_workflow.py +``` + +### Output Guardrails +Post-execution validation to detect sensitive content - ensures safe responses: +```bash +uv run openai_agents/agent_patterns/run_output_guardrails_workflow.py +``` + +### Forcing Tool Use +Control tool execution strategies - choose between different approaches to tool usage: +```bash +uv run openai_agents/agent_patterns/run_forcing_tool_use_workflow.py +``` + +## Pattern Details + +### Deterministic Flows +A common tactic is to break down a task into a series of smaller steps. Each task can be performed by an agent, and the output of one agent is used as input to the next. For example, if your task was to generate a story, you could break it down into the following steps: + +1. Generate an outline +2. Check outline quality and genre +3. Write the story (only if outline passes validation) + +Each of these steps can be performed by an agent. The output of one agent is used as input to the next. + +### Parallelization +Running multiple agents in parallel is a common pattern. This can be useful for both latency (e.g. if you have multiple steps that don't depend on each other) and also for other reasons e.g. generating multiple responses and picking the best one. + +### LLM-as-a-Judge +LLMs can often improve the quality of their output if given feedback. A common pattern is to generate a response using a model, and then use a second model to provide feedback. You can even use a small model for the initial generation and a larger model for the feedback, to optimize cost. + +### Agents as Tools +The mental model for handoffs is that the new agent "takes over". It sees the previous conversation history, and owns the conversation from that point onwards. However, this is not the only way to use agents. You can also use agents as a tool - the tool agent goes off and runs on its own, and then returns the result to the original agent. + +### Guardrails +Related to parallelization, you often want to run input guardrails to make sure the inputs to your agents are valid. For example, if you have a customer support agent, you might want to make sure that the user isn't trying to ask for help with a math problem. + +You can definitely do this without any special Agents SDK features by using parallelization, but we support a special guardrail primitive. Guardrails can have a "tripwire" - if the tripwire is triggered, the agent execution will immediately stop and a `GuardrailTripwireTriggered` exception will be raised. + +This is really useful for latency: for example, you might have a very fast model that runs the guardrail and a slow model that runs the actual agent. You wouldn't want to wait for the slow model to finish, so guardrails let you quickly reject invalid inputs. + +## Omitted Examples + +The following patterns from the [reference repository](https://github.com/openai/openai-agents-python/tree/main/examples/agent_patterns) are not included in this Temporal adaptation: + +- **Streaming Guardrails**: The pattern interrupts generation by inspecting deltas from inside the run loop. The Temporal integration does support streaming (see [Streaming](../streaming/README.md)), but the model call runs in an activity and the workflow only sees its events once that activity returns, so there is no in-run delta to act on mid-response. \ No newline at end of file diff --git a/openai_agents/agent_patterns/run_agents_as_tools_workflow.py b/openai_agents/agent_patterns/run_agents_as_tools_workflow.py new file mode 100644 index 000000000..8b0c1345b --- /dev/null +++ b/openai_agents/agent_patterns/run_agents_as_tools_workflow.py @@ -0,0 +1,32 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.agent_patterns.workflows.agents_as_tools_workflow import ( + AgentsAsToolsWorkflow, +) + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + AgentsAsToolsWorkflow.run, + "Please translate 'Good morning, how are you?' to Spanish and French", + id="agents-as-tools-workflow-example", + task_queue="openai-agents-patterns-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/agent_patterns/run_deterministic_workflow.py b/openai_agents/agent_patterns/run_deterministic_workflow.py new file mode 100644 index 000000000..abb2e4de3 --- /dev/null +++ b/openai_agents/agent_patterns/run_deterministic_workflow.py @@ -0,0 +1,31 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.agent_patterns.workflows.deterministic_workflow import ( + DeterministicWorkflow, +) + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + DeterministicWorkflow.run, + "Write a science fiction story about time travel", + id="deterministic-workflow-example", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/agent_patterns/run_forcing_tool_use_workflow.py b/openai_agents/agent_patterns/run_forcing_tool_use_workflow.py new file mode 100644 index 000000000..5dfa42c52 --- /dev/null +++ b/openai_agents/agent_patterns/run_forcing_tool_use_workflow.py @@ -0,0 +1,50 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.agent_patterns.workflows.forcing_tool_use_workflow import ( + ForcingToolUseWorkflow, +) + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute workflows with different tool use behaviors + print("Testing default behavior:") + result1 = await client.execute_workflow( + ForcingToolUseWorkflow.run, + "default", + id="forcing-tool-use-workflow-default", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"Default result: {result1}") + + print("\nTesting first_tool behavior:") + result2 = await client.execute_workflow( + ForcingToolUseWorkflow.run, + "first_tool", + id="forcing-tool-use-workflow-first-tool", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"First tool result: {result2}") + + print("\nTesting custom behavior:") + result3 = await client.execute_workflow( + ForcingToolUseWorkflow.run, + "custom", + id="forcing-tool-use-workflow-custom", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"Custom result: {result3}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/agent_patterns/run_input_guardrails_workflow.py b/openai_agents/agent_patterns/run_input_guardrails_workflow.py new file mode 100644 index 000000000..82536e268 --- /dev/null +++ b/openai_agents/agent_patterns/run_input_guardrails_workflow.py @@ -0,0 +1,40 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.agent_patterns.workflows.input_guardrails_workflow import ( + InputGuardrailsWorkflow, +) + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow with a normal question (should pass) + result1 = await client.execute_workflow( + InputGuardrailsWorkflow.run, + "What's the capital of California?", + id="input-guardrails-workflow-normal", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"Normal question result: {result1}") + + # Execute a workflow with a math homework question (should be blocked) + result2 = await client.execute_workflow( + InputGuardrailsWorkflow.run, + "Can you help me solve for x: 2x + 5 = 11?", + id="input-guardrails-workflow-blocked", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"Math homework result: {result2}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/agent_patterns/run_llm_as_a_judge_workflow.py b/openai_agents/agent_patterns/run_llm_as_a_judge_workflow.py new file mode 100644 index 000000000..aa6d97a66 --- /dev/null +++ b/openai_agents/agent_patterns/run_llm_as_a_judge_workflow.py @@ -0,0 +1,31 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.agent_patterns.workflows.llm_as_a_judge_workflow import ( + LLMAsAJudgeWorkflow, +) + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + LLMAsAJudgeWorkflow.run, + "A thrilling adventure story about pirates searching for treasure", + id="llm-as-a-judge-workflow-example", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/agent_patterns/run_output_guardrails_workflow.py b/openai_agents/agent_patterns/run_output_guardrails_workflow.py new file mode 100644 index 000000000..16d647645 --- /dev/null +++ b/openai_agents/agent_patterns/run_output_guardrails_workflow.py @@ -0,0 +1,40 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.agent_patterns.workflows.output_guardrails_workflow import ( + OutputGuardrailsWorkflow, +) + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow with a normal question (should pass) + result1 = await client.execute_workflow( + OutputGuardrailsWorkflow.run, + "What's the capital of California?", + id="output-guardrails-workflow-normal", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"Normal question result: {result1}") + + # Execute a workflow with input that might trigger sensitive data output + result2 = await client.execute_workflow( + OutputGuardrailsWorkflow.run, + "My phone number is 650-123-4567. Where do you think I live?", + id="output-guardrails-workflow-sensitive", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"Sensitive data result: {result2}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/agent_patterns/run_parallelization_workflow.py b/openai_agents/agent_patterns/run_parallelization_workflow.py new file mode 100644 index 000000000..5b8d9f5d1 --- /dev/null +++ b/openai_agents/agent_patterns/run_parallelization_workflow.py @@ -0,0 +1,31 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.agent_patterns.workflows.parallelization_workflow import ( + ParallelizationWorkflow, +) + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + ParallelizationWorkflow.run, + "Hello, world! How are you today?", + id="parallelization-workflow-example", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/agent_patterns/run_routing_workflow.py b/openai_agents/agent_patterns/run_routing_workflow.py new file mode 100644 index 000000000..51c282331 --- /dev/null +++ b/openai_agents/agent_patterns/run_routing_workflow.py @@ -0,0 +1,29 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.agent_patterns.workflows.routing_workflow import RoutingWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + RoutingWorkflow.run, + "Bonjour! Comment allez-vous aujourd'hui?", + id="routing-workflow-example", + task_queue="openai-agents-patterns-task-queue", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/agent_patterns/run_worker.py b/openai_agents/agent_patterns/run_worker.py new file mode 100644 index 000000000..4edb8ae4d --- /dev/null +++ b/openai_agents/agent_patterns/run_worker.py @@ -0,0 +1,65 @@ +from __future__ import annotations + +import asyncio +from datetime import timedelta + +from temporalio.client import Client +from temporalio.contrib.openai_agents import ModelActivityParameters, OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.agent_patterns.workflows.agents_as_tools_workflow import ( + AgentsAsToolsWorkflow, +) +from openai_agents.agent_patterns.workflows.deterministic_workflow import ( + DeterministicWorkflow, +) +from openai_agents.agent_patterns.workflows.forcing_tool_use_workflow import ( + ForcingToolUseWorkflow, +) +from openai_agents.agent_patterns.workflows.input_guardrails_workflow import ( + InputGuardrailsWorkflow, +) +from openai_agents.agent_patterns.workflows.llm_as_a_judge_workflow import ( + LLMAsAJudgeWorkflow, +) +from openai_agents.agent_patterns.workflows.output_guardrails_workflow import ( + OutputGuardrailsWorkflow, +) +from openai_agents.agent_patterns.workflows.parallelization_workflow import ( + ParallelizationWorkflow, +) +from openai_agents.agent_patterns.workflows.routing_workflow import RoutingWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=30) + ) + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-patterns-task-queue", + workflows=[ + AgentsAsToolsWorkflow, + DeterministicWorkflow, + ParallelizationWorkflow, + LLMAsAJudgeWorkflow, + ForcingToolUseWorkflow, + InputGuardrailsWorkflow, + OutputGuardrailsWorkflow, + RoutingWorkflow, + ], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/agent_patterns/workflows/agents_as_tools_workflow.py b/openai_agents/agent_patterns/workflows/agents_as_tools_workflow.py new file mode 100644 index 000000000..db849c1cd --- /dev/null +++ b/openai_agents/agent_patterns/workflows/agents_as_tools_workflow.py @@ -0,0 +1,85 @@ +from agents import Agent, ItemHelpers, MessageOutputItem, RunConfig, Runner, trace +from temporalio import workflow + +""" +This example shows the agents-as-tools pattern. The frontline agent receives a user message and +then picks which agents to call, as tools. In this case, it picks from a set of translation +agents. +""" + + +def orchestrator_agent() -> Agent: + spanish_agent = Agent( + name="spanish_agent", + instructions="You translate the user's message to Spanish", + handoff_description="An english to spanish translator", + ) + + french_agent = Agent( + name="french_agent", + instructions="You translate the user's message to French", + handoff_description="An english to french translator", + ) + + italian_agent = Agent( + name="italian_agent", + instructions="You translate the user's message to Italian", + handoff_description="An english to italian translator", + ) + + orchestrator_agent = Agent( + name="orchestrator_agent", + instructions=( + "You are a translation agent. You use the tools given to you to translate." + "If asked for multiple translations, you call the relevant tools in order." + "You never translate on your own, you always use the provided tools." + ), + tools=[ + spanish_agent.as_tool( + tool_name="translate_to_spanish", + tool_description="Translate the user's message to Spanish", + ), + french_agent.as_tool( + tool_name="translate_to_french", + tool_description="Translate the user's message to French", + ), + italian_agent.as_tool( + tool_name="translate_to_italian", + tool_description="Translate the user's message to Italian", + ), + ], + ) + return orchestrator_agent + + +def synthesizer_agent() -> Agent: + return Agent( + name="synthesizer_agent", + instructions="You inspect translations, correct them if needed, and produce a final concatenated response.", + ) + + +@workflow.defn +class AgentsAsToolsWorkflow: + @workflow.run + async def run(self, msg: str) -> str: + config = RunConfig() + + # Run the entire orchestration in a single trace + with trace("Orchestrator evaluator"): + orchestrator = orchestrator_agent() + synthesizer = synthesizer_agent() + + orchestrator_result = await Runner.run(orchestrator, msg, run_config=config) + + for item in orchestrator_result.new_items: + if isinstance(item, MessageOutputItem): + text = ItemHelpers.text_message_output(item) + if text: + workflow.logger.info(f" - Translation step: {text}") + + synthesizer_result = await Runner.run( + synthesizer, orchestrator_result.to_input_list(), run_config=config + ) + + return synthesizer_result.final_output diff --git a/openai_agents/agent_patterns/workflows/deterministic_workflow.py b/openai_agents/agent_patterns/workflows/deterministic_workflow.py new file mode 100644 index 000000000..339e7a0f9 --- /dev/null +++ b/openai_agents/agent_patterns/workflows/deterministic_workflow.py @@ -0,0 +1,90 @@ +from agents import Agent, RunConfig, Runner, trace +from pydantic import BaseModel +from temporalio import workflow + +""" +This example demonstrates a deterministic flow, where each step is performed by an agent. +1. The first agent generates a story outline +2. We feed the outline into the second agent +3. The second agent checks if the outline is good quality and if it is a scifi story +4. If the outline is not good quality or not a scifi story, we stop here +5. If the outline is good quality and a scifi story, we feed the outline into the third agent +6. The third agent writes the story + +*Adapted from the OpenAI Agents SDK deterministic pattern example* +""" + + +class OutlineCheckerOutput(BaseModel): + good_quality: bool + is_scifi: bool + + +def story_outline_agent() -> Agent: + return Agent( + name="story_outline_agent", + instructions="Generate a very short story outline based on the user's input.", + ) + + +def outline_checker_agent() -> Agent: + return Agent( + name="outline_checker_agent", + instructions="Read the given story outline, and judge the quality. Also, determine if it is a scifi story.", + output_type=OutlineCheckerOutput, + ) + + +def story_agent() -> Agent: + return Agent( + name="story_agent", + instructions="Write a short story based on the given outline.", + output_type=str, + ) + + +@workflow.defn +class DeterministicWorkflow: + @workflow.run + async def run(self, input_prompt: str) -> str: + config = RunConfig() + + # Ensure the entire workflow is a single trace + with trace("Deterministic story flow"): + # 1. Generate an outline + outline_result = await Runner.run( + story_outline_agent(), + input_prompt, + run_config=config, + ) + workflow.logger.info("Outline generated") + + # 2. Check the outline + outline_checker_result = await Runner.run( + outline_checker_agent(), + outline_result.final_output, + run_config=config, + ) + + # 3. Add a gate to stop if the outline is not good quality or not a scifi story + assert isinstance(outline_checker_result.final_output, OutlineCheckerOutput) + if not outline_checker_result.final_output.good_quality: + workflow.logger.info("Outline is not good quality, so we stop here.") + return "Story generation stopped: Outline quality insufficient." + + if not outline_checker_result.final_output.is_scifi: + workflow.logger.info("Outline is not a scifi story, so we stop here.") + return "Story generation stopped: Outline is not science fiction." + + workflow.logger.info( + "Outline is good quality and a scifi story, so we continue to write the story." + ) + + # 4. Write the story + story_result = await Runner.run( + story_agent(), + outline_result.final_output, + run_config=config, + ) + + return f"Final story: {story_result.final_output}" diff --git a/openai_agents/agent_patterns/workflows/forcing_tool_use_workflow.py b/openai_agents/agent_patterns/workflows/forcing_tool_use_workflow.py new file mode 100644 index 000000000..9d3aee3b7 --- /dev/null +++ b/openai_agents/agent_patterns/workflows/forcing_tool_use_workflow.py @@ -0,0 +1,84 @@ +from typing import Any, Literal + +from agents import ( + Agent, + FunctionToolResult, + ModelSettings, + RunConfig, + RunContextWrapper, + Runner, + ToolsToFinalOutputFunction, + ToolsToFinalOutputResult, + function_tool, +) +from pydantic import BaseModel +from temporalio import workflow + +""" +This example shows how to force the agent to use a tool. It uses `ModelSettings(tool_choice="required")` +to force the agent to use any tool. + +You can run it with 3 options: +1. `default`: The default behavior, which is to send the tool output to the LLM. In this case, + `tool_choice` is not set, because otherwise it would result in an infinite loop - the LLM would + call the tool, the tool would run and send the results to the LLM, and that would repeat + (because the model is forced to use a tool every time.) +2. `first_tool_result`: The first tool result is used as the final output. +3. `custom`: A custom tool use behavior function is used. The custom function receives all the tool + results, and chooses to use the first tool result to generate the final output. + +*Adapted from the OpenAI Agents SDK forcing_tool_use pattern example* +""" + + +class Weather(BaseModel): + city: str + temperature_range: str + conditions: str + + +@function_tool +def get_weather(city: str) -> Weather: + workflow.logger.info("[debug] get_weather called") + return Weather(city=city, temperature_range="14-20C", conditions="Sunny with wind") + + +async def custom_tool_use_behavior( + context: RunContextWrapper[Any], results: list[FunctionToolResult] +) -> ToolsToFinalOutputResult: + weather: Weather = results[0].output + return ToolsToFinalOutputResult( + is_final_output=True, final_output=f"{weather.city} is {weather.conditions}." + ) + + +@workflow.defn +class ForcingToolUseWorkflow: + @workflow.run + async def run(self, tool_use_behavior: str = "default") -> str: + config = RunConfig() + + if tool_use_behavior == "default": + behavior: ( + Literal["run_llm_again", "stop_on_first_tool"] + | ToolsToFinalOutputFunction + ) = "run_llm_again" + elif tool_use_behavior == "first_tool": + behavior = "stop_on_first_tool" + elif tool_use_behavior == "custom": + behavior = custom_tool_use_behavior + + agent = Agent( + name="Weather agent", + instructions="You are a helpful agent.", + tools=[get_weather], + tool_use_behavior=behavior, + model_settings=ModelSettings( + tool_choice="required" if tool_use_behavior != "default" else None + ), + ) + + result = await Runner.run( + agent, input="What's the weather in Tokyo?", run_config=config + ) + return str(result.final_output) diff --git a/openai_agents/agent_patterns/workflows/input_guardrails_workflow.py b/openai_agents/agent_patterns/workflows/input_guardrails_workflow.py new file mode 100644 index 000000000..836778406 --- /dev/null +++ b/openai_agents/agent_patterns/workflows/input_guardrails_workflow.py @@ -0,0 +1,87 @@ +from agents import ( + Agent, + GuardrailFunctionOutput, + InputGuardrailTripwireTriggered, + RunConfig, + RunContextWrapper, + Runner, + TResponseInputItem, + input_guardrail, +) +from pydantic import BaseModel +from temporalio import workflow + +""" +This example shows how to use input guardrails. + +Guardrails are checks that run in parallel to the agent's execution. +They can be used to do things like: +- Check if input messages are off-topic +- Check that input messages don't violate any policies +- Take over control of the agent's execution if an unexpected input is detected + +In this example, we'll setup an input guardrail that trips if the user is asking to do math homework. +If the guardrail trips, we'll respond with a refusal message. + +*Adapted from the OpenAI Agents SDK input_guardrails pattern example* +""" + + +class MathHomeworkOutput(BaseModel): + reasoning: str + is_math_homework: bool + + +guardrail_agent = Agent( + name="Guardrail check", + instructions="Check if the user is asking you to do their math homework.", + output_type=MathHomeworkOutput, +) + + +@input_guardrail +async def math_guardrail( + context: RunContextWrapper[None], + agent: Agent, + input: str | list[TResponseInputItem], +) -> GuardrailFunctionOutput: + """This is an input guardrail function, which happens to call an agent to check if the input + is a math homework question. + """ + result = await Runner.run(guardrail_agent, input, context=context.context) + final_output = result.final_output_as(MathHomeworkOutput) + + return GuardrailFunctionOutput( + output_info=final_output, + tripwire_triggered=final_output.is_math_homework, + ) + + +@workflow.defn +class InputGuardrailsWorkflow: + @workflow.run + async def run(self, user_input: str) -> str: + config = RunConfig() + agent = Agent( + name="Customer support agent", + instructions="You are a customer support agent. You help customers with their questions.", + input_guardrails=[math_guardrail], + ) + + input_data: list[TResponseInputItem] = [ + { + "role": "user", + "content": user_input, + } + ] + + try: + result = await Runner.run(agent, input_data, run_config=config) + return str(result.final_output) + except InputGuardrailTripwireTriggered: + # If the guardrail triggered, we instead return a refusal message + message = "Sorry, I can't help you with your math homework." + workflow.logger.info( + "Input guardrail triggered - refusing to help with math homework" + ) + return message diff --git a/openai_agents/agent_patterns/workflows/llm_as_a_judge_workflow.py b/openai_agents/agent_patterns/workflows/llm_as_a_judge_workflow.py new file mode 100644 index 000000000..7ad536f2e --- /dev/null +++ b/openai_agents/agent_patterns/workflows/llm_as_a_judge_workflow.py @@ -0,0 +1,86 @@ +from dataclasses import dataclass +from typing import Literal + +from agents import Agent, ItemHelpers, RunConfig, Runner, TResponseInputItem, trace +from temporalio import workflow + +""" +This example shows the LLM as a judge pattern. The first agent generates an outline for a story. +The second agent judges the outline and provides feedback. We loop until the judge is satisfied +with the outline. + +*Adapted from the OpenAI Agents SDK llm_as_a_judge pattern example* +""" + + +@dataclass +class EvaluationFeedback: + feedback: str + score: Literal["pass", "needs_improvement", "fail"] + + +def story_outline_generator() -> Agent: + return Agent[None]( + name="story_outline_generator", + instructions=( + "You generate a very short story outline based on the user's input." + "If there is any feedback provided, use it to improve the outline." + ), + ) + + +def evaluator() -> Agent: + return Agent[None]( + name="evaluator", + instructions=( + "You evaluate a story outline and decide if it's good enough." + "If it's not good enough, you provide feedback on what needs to be improved." + "Never give it a pass on the first try. After 5 attempts, you can give it a pass if story outline is good enough - do not go for perfection" + ), + output_type=EvaluationFeedback, + ) + + +@workflow.defn +class LLMAsAJudgeWorkflow: + @workflow.run + async def run(self, msg: str) -> str: + config = RunConfig() + input_items: list[TResponseInputItem] = [{"content": msg, "role": "user"}] + latest_outline: str | None = None + + # We'll run the entire workflow in a single trace + with trace("LLM as a judge"): + while True: + story_outline_result = await Runner.run( + story_outline_generator(), + input_items, + run_config=config, + ) + + input_items = story_outline_result.to_input_list() + latest_outline = ItemHelpers.text_message_outputs( + story_outline_result.new_items + ) + workflow.logger.info("Story outline generated") + + evaluator_result = await Runner.run( + evaluator(), + input_items, + run_config=config, + ) + result: EvaluationFeedback = evaluator_result.final_output + + workflow.logger.info(f"Evaluator score: {result.score}") + + if result.score == "pass": + workflow.logger.info("Story outline is good enough, exiting.") + break + + workflow.logger.info("Re-running with feedback") + + input_items.append( + {"content": f"Feedback: {result.feedback}", "role": "user"} + ) + + return f"Final story outline: {latest_outline}" diff --git a/openai_agents/agent_patterns/workflows/output_guardrails_workflow.py b/openai_agents/agent_patterns/workflows/output_guardrails_workflow.py new file mode 100644 index 000000000..58a306c92 --- /dev/null +++ b/openai_agents/agent_patterns/workflows/output_guardrails_workflow.py @@ -0,0 +1,78 @@ +from agents import ( + Agent, + GuardrailFunctionOutput, + OutputGuardrailTripwireTriggered, + RunConfig, + RunContextWrapper, + Runner, + output_guardrail, +) +from pydantic import BaseModel, Field +from temporalio import workflow + +""" +This example shows how to use output guardrails. + +Output guardrails are checks that run on the final output of an agent. +They can be used to do things like: +- Check if the output contains sensitive data +- Check if the output is a valid response to the user's message + +In this example, we'll use a (contrived) example where we check if the agent's response contains +a phone number. + +*Adapted from the OpenAI Agents SDK output_guardrails pattern example* +""" + + +class MessageOutput(BaseModel): + reasoning: str = Field( + description="Thoughts on how to respond to the user's message" + ) + response: str = Field(description="The response to the user's message") + user_name: str | None = Field( + description="The name of the user who sent the message, if known" + ) + + +@output_guardrail +async def sensitive_data_check( + context: RunContextWrapper, agent: Agent, output: MessageOutput +) -> GuardrailFunctionOutput: + phone_number_in_response = "650" in output.response + phone_number_in_reasoning = "650" in output.reasoning + + return GuardrailFunctionOutput( + output_info={ + "phone_number_in_response": phone_number_in_response, + "phone_number_in_reasoning": phone_number_in_reasoning, + }, + tripwire_triggered=phone_number_in_response or phone_number_in_reasoning, + ) + + +def assistant_agent() -> Agent: + return Agent( + name="Assistant", + instructions="You are a helpful assistant.", + output_type=MessageOutput, + output_guardrails=[sensitive_data_check], + ) + + +@workflow.defn +class OutputGuardrailsWorkflow: + @workflow.run + async def run(self, user_input: str) -> str: + config = RunConfig() + agent = assistant_agent() + + try: + result = await Runner.run(agent, user_input, run_config=config) + output = result.final_output_as(MessageOutput) + return f"Response: {output.response}" + except OutputGuardrailTripwireTriggered as e: + workflow.logger.info( + f"Output guardrail triggered. Info: {e.guardrail_result.output.output_info}" + ) + return f"Output guardrail triggered due to sensitive data detection. Info: {e.guardrail_result.output.output_info}" diff --git a/openai_agents/agent_patterns/workflows/parallelization_workflow.py b/openai_agents/agent_patterns/workflows/parallelization_workflow.py new file mode 100644 index 000000000..5a07a0305 --- /dev/null +++ b/openai_agents/agent_patterns/workflows/parallelization_workflow.py @@ -0,0 +1,70 @@ +import asyncio + +from agents import Agent, ItemHelpers, RunConfig, Runner, trace +from temporalio import workflow + +""" +This example shows the parallelization pattern. We run the agent three times in parallel, and pick +the best result. + +*Adapted from the OpenAI Agents SDK parallelization pattern example* +""" + + +def spanish_agent() -> Agent: + return Agent( + name="spanish_agent", + instructions="You translate the user's message to Spanish", + ) + + +def translation_picker() -> Agent: + return Agent( + name="translation_picker", + instructions="You pick the best Spanish translation from the given options.", + ) + + +@workflow.defn +class ParallelizationWorkflow: + @workflow.run + async def run(self, msg: str) -> str: + config = RunConfig() + + # Ensure the entire workflow is a single trace + with trace("Parallel translation"): + # Run three translation agents in parallel + res_1, res_2, res_3 = await asyncio.gather( + Runner.run( + spanish_agent(), + msg, + run_config=config, + ), + Runner.run( + spanish_agent(), + msg, + run_config=config, + ), + Runner.run( + spanish_agent(), + msg, + run_config=config, + ), + ) + + outputs = [ + ItemHelpers.text_message_outputs(res_1.new_items), + ItemHelpers.text_message_outputs(res_2.new_items), + ItemHelpers.text_message_outputs(res_3.new_items), + ] + + translations = "\n\n".join(outputs) + workflow.logger.info(f"Generated translations:\n{translations}") + + best_translation = await Runner.run( + translation_picker(), + f"Input: {msg}\n\nTranslations:\n{translations}", + run_config=config, + ) + + return f"Best translation: {best_translation.final_output}" diff --git a/openai_agents/agent_patterns/workflows/routing_workflow.py b/openai_agents/agent_patterns/workflows/routing_workflow.py new file mode 100644 index 000000000..4d8213490 --- /dev/null +++ b/openai_agents/agent_patterns/workflows/routing_workflow.py @@ -0,0 +1,67 @@ +from agents import Agent, RunConfig, Runner, TResponseInputItem, trace +from temporalio import workflow + +""" +This example shows the handoffs/routing pattern. The triage agent receives the first message, and +then hands off to the appropriate agent based on the language of the request. + +Note: This is adapted from the original streaming version to work with Temporal's non-streaming approach. + +*Adapted from the OpenAI Agents SDK routing pattern example* +""" + + +def french_agent() -> Agent: + return Agent( + name="french_agent", + instructions="You only speak French", + ) + + +def spanish_agent() -> Agent: + return Agent( + name="spanish_agent", + instructions="You only speak Spanish", + ) + + +def english_agent() -> Agent: + return Agent( + name="english_agent", + instructions="You only speak English", + ) + + +def triage_agent() -> Agent: + return Agent( + name="triage_agent", + instructions="Handoff to the appropriate agent based on the language of the request.", + handoffs=[french_agent(), spanish_agent(), english_agent()], + ) + + +@workflow.defn +class RoutingWorkflow: + @workflow.run + async def run(self, msg: str) -> str: + config = RunConfig() + + with trace("Routing example"): + inputs: list[TResponseInputItem] = [{"content": msg, "role": "user"}] + + # Run the triage agent to determine which language agent to handoff to + result = await Runner.run( + triage_agent(), + input=inputs, + run_config=config, + ) + + # Get the final response after handoff + # Note: current_agent attribute may not be available in all SDK versions + workflow.logger.info("Handoff completed") + + # Convert result to proper input format for next agent + inputs = result.to_input_list() + + # Return the result from the handoff (either the handoff agent's response or triage response) + return f"Response: {result.final_output}" diff --git a/openai_agents/basic/README.md b/openai_agents/basic/README.md new file mode 100644 index 000000000..128ec7cac --- /dev/null +++ b/openai_agents/basic/README.md @@ -0,0 +1,80 @@ +# Basic Agent Examples + +Simple examples to get started with OpenAI Agents SDK integrated with Temporal workflows. + +*Adapted from [OpenAI Agents SDK basic examples](https://github.com/openai/openai-agents-python/tree/main/examples/basic)* + +Before running these examples, be sure to review the [prerequisites and background on the integration](../README.md). + +## Running the Examples + +First, start the worker (supports all basic examples): +```bash +uv run openai_agents/basic/run_worker.py +``` + +Then run individual examples in separate terminals: + +### Hello World Agent +Basic agent that only responds in haikus: +```bash +uv run openai_agents/basic/run_hello_world_workflow.py +``` + +### Tools Agent +Agent with access to external tools (simulated weather API): +```bash +uv run openai_agents/basic/run_tools_workflow.py +``` + +### Agent Lifecycle with Hooks +Demonstrates agent lifecycle events and handoffs between agents: +```bash +uv run openai_agents/basic/run_agent_lifecycle_workflow.py +``` + +### Lifecycle with Usage Tracking +Shows detailed usage tracking with RunHooks (requests, tokens, etc.): +```bash +uv run openai_agents/basic/run_lifecycle_workflow.py +``` + +### Dynamic System Prompts +Agent with dynamic instruction generation based on context (haiku/pirate/robot): +```bash +uv run openai_agents/basic/run_dynamic_system_prompt_workflow.py +``` + +### Non-Strict Output Types +Demonstrates different JSON schema validation approaches: +```bash +uv run openai_agents/basic/run_non_strict_output_workflow.py +``` + +Note: `CustomOutputSchema` is not supported by the Temporal OpenAI Agents SDK integration and is omitted in this example. + +### Image Processing - Local +Process local image files with AI vision: +```bash +uv run openai_agents/basic/run_local_image_workflow.py +``` + +### Image Processing - Remote +Process remote image URLs with AI vision: +```bash +uv run openai_agents/basic/run_remote_image_workflow.py +``` + +### Previous Response ID +Demonstrates conversation continuity using response IDs: +```bash +uv run openai_agents/basic/run_previous_response_id_workflow.py +``` + +## Omitted Examples + +The following examples from the [reference repository](https://github.com/openai/openai-agents-python/tree/main/examples/basic) are not included in this Temporal adaptation: + +- **Session** - Stores state in local SQLite database, not appropriate for distributed workflows + +**Stream Items/Stream Text** are adapted in [`../streaming/`](../streaming/README.md) rather than here. They need `streaming_topic` set on the plugin's `ModelActivityParameters`, so they run on their own worker instead of sharing this directory's. \ No newline at end of file diff --git a/openai_agents/basic/activities/get_weather_activity.py b/openai_agents/basic/activities/get_weather_activity.py new file mode 100644 index 000000000..c8be473c4 --- /dev/null +++ b/openai_agents/basic/activities/get_weather_activity.py @@ -0,0 +1,18 @@ +from dataclasses import dataclass + +from temporalio import activity + + +@dataclass +class Weather: + city: str + temperature_range: str + conditions: str + + +@activity.defn +async def get_weather(city: str) -> Weather: + """ + Get the weather for a given city. + """ + return Weather(city=city, temperature_range="14-20C", conditions="Sunny with wind.") diff --git a/openai_agents/basic/activities/image_activities.py b/openai_agents/basic/activities/image_activities.py new file mode 100644 index 000000000..23c770b1b --- /dev/null +++ b/openai_agents/basic/activities/image_activities.py @@ -0,0 +1,19 @@ +import base64 + +from temporalio import activity + + +@activity.defn +async def read_image_as_base64(image_path: str) -> str: + """ + Read an image file and convert it to base64 string. + + Args: + image_path: Path to the image file + + Returns: + Base64 encoded string of the image + """ + with open(image_path, "rb") as image_file: + encoded_string = base64.b64encode(image_file.read()).decode("utf-8") + return encoded_string diff --git a/openai_agents/basic/activities/math_activities.py b/openai_agents/basic/activities/math_activities.py new file mode 100644 index 000000000..1e875b23f --- /dev/null +++ b/openai_agents/basic/activities/math_activities.py @@ -0,0 +1,15 @@ +import random + +from temporalio import activity + + +@activity.defn +async def random_number(max_value: int) -> int: + """Generate a random number up to the provided maximum.""" + return random.randint(0, max_value) + + +@activity.defn +async def multiply_by_two(x: int) -> int: + """Simple multiplication by two.""" + return x * 2 diff --git a/openai_agents/basic/media/image_bison.jpg b/openai_agents/basic/media/image_bison.jpg new file mode 100644 index 000000000..b113c91f6 Binary files /dev/null and b/openai_agents/basic/media/image_bison.jpg differ diff --git a/openai_agents/basic/run_agent_lifecycle_workflow.py b/openai_agents/basic/run_agent_lifecycle_workflow.py new file mode 100644 index 000000000..2cd16c600 --- /dev/null +++ b/openai_agents/basic/run_agent_lifecycle_workflow.py @@ -0,0 +1,31 @@ +import asyncio + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from openai_agents.basic.workflows.agent_lifecycle_workflow import ( + AgentLifecycleWorkflow, +) + + +async def main() -> None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + user_input = input("Enter a max number: ") + max_number = int(user_input) + + result = await client.execute_workflow( + AgentLifecycleWorkflow.run, + max_number, + id="agent-lifecycle-workflow", + task_queue="openai-agents-basic-task-queue", + ) + + print(f"Final result: {result}") + print("Done!") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/basic/run_dynamic_system_prompt_workflow.py b/openai_agents/basic/run_dynamic_system_prompt_workflow.py new file mode 100644 index 000000000..46c53c6d6 --- /dev/null +++ b/openai_agents/basic/run_dynamic_system_prompt_workflow.py @@ -0,0 +1,41 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.basic.workflows.dynamic_system_prompt_workflow import ( + DynamicSystemPromptWorkflow, +) + + +async def main(): + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + user_message = "Tell me a joke." + + result = await client.execute_workflow( + DynamicSystemPromptWorkflow.run, + user_message, + id="dynamic-prompt-workflow", + task_queue="openai-agents-basic-task-queue", + ) + print(result) + print() + + # Run with specific style + result = await client.execute_workflow( + DynamicSystemPromptWorkflow.run, + args=[user_message, "pirate"], + id="dynamic-prompt-pirate-workflow", + task_queue="openai-agents-basic-task-queue", + ) + print(result) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/basic/run_hello_world_workflow.py b/openai_agents/basic/run_hello_world_workflow.py new file mode 100644 index 000000000..0662a4fa3 --- /dev/null +++ b/openai_agents/basic/run_hello_world_workflow.py @@ -0,0 +1,29 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.basic.workflows.hello_world_workflow import HelloWorldAgent + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + HelloWorldAgent.run, + "Tell me about recursion in programming.", + id="my-workflow-id", + task_queue="openai-agents-basic-task-queue", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/basic/run_lifecycle_workflow.py b/openai_agents/basic/run_lifecycle_workflow.py new file mode 100644 index 000000000..00286ece8 --- /dev/null +++ b/openai_agents/basic/run_lifecycle_workflow.py @@ -0,0 +1,31 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.basic.workflows.lifecycle_workflow import LifecycleWorkflow + + +async def main(): + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + user_input = input("Enter a max number: ") + max_number = int(user_input) + + result = await client.execute_workflow( + LifecycleWorkflow.run, + max_number, + id="lifecycle-workflow", + task_queue="openai-agents-basic-task-queue", + ) + + print(f"Final result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/basic/run_local_image_workflow.py b/openai_agents/basic/run_local_image_workflow.py new file mode 100644 index 000000000..6dfec809c --- /dev/null +++ b/openai_agents/basic/run_local_image_workflow.py @@ -0,0 +1,32 @@ +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.basic.workflows.local_image_workflow import LocalImageWorkflow + + +async def main(): + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Use the media file from the original example + image_path = os.path.join(os.path.dirname(__file__), "media/image_bison.jpg") + + result = await client.execute_workflow( + LocalImageWorkflow.run, + args=[image_path, "What do you see in this image?"], + id="local-image-workflow", + task_queue="openai-agents-basic-task-queue", + ) + + print(f"Agent response: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/basic/run_non_strict_output_workflow.py b/openai_agents/basic/run_non_strict_output_workflow.py new file mode 100644 index 000000000..192e12065 --- /dev/null +++ b/openai_agents/basic/run_non_strict_output_workflow.py @@ -0,0 +1,35 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.basic.workflows.non_strict_output_workflow import ( + NonStrictOutputWorkflow, +) + + +async def main(): + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + input_message = "Tell me 3 short jokes." + + result = await client.execute_workflow( + NonStrictOutputWorkflow.run, + input_message, + id="non-strict-output-workflow", + task_queue="openai-agents-basic-task-queue", + ) + + print("=== Non-Strict Output Type Results ===") + for key, value in result.items(): + print(f"{key}: {value}") + print() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/basic/run_previous_response_id_workflow.py b/openai_agents/basic/run_previous_response_id_workflow.py new file mode 100644 index 000000000..ddae51079 --- /dev/null +++ b/openai_agents/basic/run_previous_response_id_workflow.py @@ -0,0 +1,35 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.basic.workflows.previous_response_id_workflow import ( + PreviousResponseIdWorkflow, +) + + +async def main(): + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + first_question = "What is the largest country in South America?" + follow_up_question = "What is the capital of that country?" + + result = await client.execute_workflow( + PreviousResponseIdWorkflow.run, + args=[first_question, follow_up_question], + id="previous-response-id-workflow", + task_queue="openai-agents-basic-task-queue", + ) + + print("\nFinal results:") + print(f"1. {result[0]}") + print(f"2. {result[1]}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/basic/run_remote_image_workflow.py b/openai_agents/basic/run_remote_image_workflow.py new file mode 100644 index 000000000..f2175f7f2 --- /dev/null +++ b/openai_agents/basic/run_remote_image_workflow.py @@ -0,0 +1,35 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.envconfig import ClientConfig + +from openai_agents.basic.workflows.remote_image_workflow import RemoteImageWorkflow + + +async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + client = await Client.connect( + **config, + plugins=[OpenAIAgentsPlugin()], + ) + + # Use the URL from the original example + image_url = ( + "https://upload.wikimedia.org/wikipedia/commons/0/0c/GoldenGateBridge-001.jpg" + ) + + result = await client.execute_workflow( + RemoteImageWorkflow.run, + args=[image_url, "What do you see in this image?"], + id="remote-image-workflow", + task_queue="openai-agents-basic-task-queue", + ) + + print(f"Agent response: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/basic/run_tools_workflow.py b/openai_agents/basic/run_tools_workflow.py new file mode 100644 index 000000000..9aed2dbfb --- /dev/null +++ b/openai_agents/basic/run_tools_workflow.py @@ -0,0 +1,30 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.basic.workflows.tools_workflow import ToolsWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + ToolsWorkflow.run, + "What is the weather in Tokio?", + id="tools-workflow", + task_queue="openai-agents-basic-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/basic/run_worker.py b/openai_agents/basic/run_worker.py new file mode 100644 index 000000000..94d6a8823 --- /dev/null +++ b/openai_agents/basic/run_worker.py @@ -0,0 +1,73 @@ +from __future__ import annotations + +import asyncio +from datetime import timedelta + +from temporalio.client import Client +from temporalio.contrib.openai_agents import ModelActivityParameters, OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.basic.activities.get_weather_activity import get_weather +from openai_agents.basic.activities.image_activities import read_image_as_base64 +from openai_agents.basic.activities.math_activities import ( + multiply_by_two, + random_number, +) +from openai_agents.basic.workflows.agent_lifecycle_workflow import ( + AgentLifecycleWorkflow, +) +from openai_agents.basic.workflows.dynamic_system_prompt_workflow import ( + DynamicSystemPromptWorkflow, +) +from openai_agents.basic.workflows.hello_world_workflow import HelloWorldAgent +from openai_agents.basic.workflows.lifecycle_workflow import LifecycleWorkflow +from openai_agents.basic.workflows.local_image_workflow import LocalImageWorkflow +from openai_agents.basic.workflows.non_strict_output_workflow import ( + NonStrictOutputWorkflow, +) +from openai_agents.basic.workflows.previous_response_id_workflow import ( + PreviousResponseIdWorkflow, +) +from openai_agents.basic.workflows.remote_image_workflow import RemoteImageWorkflow +from openai_agents.basic.workflows.tools_workflow import ToolsWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=30) + ) + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-basic-task-queue", + workflows=[ + HelloWorldAgent, + ToolsWorkflow, + AgentLifecycleWorkflow, + DynamicSystemPromptWorkflow, + NonStrictOutputWorkflow, + LocalImageWorkflow, + RemoteImageWorkflow, + LifecycleWorkflow, + PreviousResponseIdWorkflow, + ], + activities=[ + get_weather, + multiply_by_two, + random_number, + read_image_as_base64, + ], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/basic/workflows/agent_lifecycle_workflow.py b/openai_agents/basic/workflows/agent_lifecycle_workflow.py new file mode 100644 index 000000000..32bce03b4 --- /dev/null +++ b/openai_agents/basic/workflows/agent_lifecycle_workflow.py @@ -0,0 +1,96 @@ +from typing import Any + +from agents import Agent, AgentHooks, RunContextWrapper, Runner, function_tool +from pydantic import BaseModel +from temporalio import workflow + + +class CustomAgentHooks(AgentHooks): + def __init__(self, display_name: str): + self.event_counter = 0 + self.display_name = display_name + + async def on_start(self, context: RunContextWrapper, agent: Agent) -> None: + self.event_counter += 1 + print( + f"### ({self.display_name}) {self.event_counter}: Agent {agent.name} started" + ) + + async def on_end( + self, context: RunContextWrapper, agent: Agent, output: Any + ) -> None: + self.event_counter += 1 + print( + f"### ({self.display_name}) {self.event_counter}: Agent {agent.name} ended with output {output}" + ) + + async def on_handoff( + self, context: RunContextWrapper, agent: Agent, source: Agent + ) -> None: + self.event_counter += 1 + print( + f"### ({self.display_name}) {self.event_counter}: Agent {source.name} handed off to {agent.name}" + ) + + async def on_tool_start( + self, context: RunContextWrapper, agent: Agent, tool + ) -> None: + self.event_counter += 1 + print( + f"### ({self.display_name}) {self.event_counter}: Agent {agent.name} started tool {tool.name}" + ) + + async def on_tool_end( + self, context: RunContextWrapper, agent: Agent, tool, result: Any + ) -> None: + self.event_counter += 1 + print( + f"### ({self.display_name}) {self.event_counter}: Agent {agent.name} ended tool {tool.name} with result {result}" + ) + + +@function_tool +def random_number_tool(max: int) -> int: + """ + Generate a random number up to the provided maximum. + """ + return workflow.random().randint(0, max) + + +@function_tool +def multiply_by_two_tool(x: int) -> int: + """Simple multiplication by two.""" + return x * 2 + + +class FinalResult(BaseModel): + number: int + + +@workflow.defn +class AgentLifecycleWorkflow: + @workflow.run + async def run(self, max_number: int) -> FinalResult: + multiply_agent = Agent( + name="Multiply Agent", + instructions="Multiply the number by 2 and then return the final result.", + tools=[multiply_by_two_tool], + output_type=FinalResult, + hooks=CustomAgentHooks(display_name="Multiply Agent"), + ) + + start_agent = Agent( + name="Start Agent", + instructions="Generate a random number. If it's even, stop. If it's odd, hand off to the multiply agent.", + tools=[random_number_tool], + output_type=FinalResult, + handoffs=[multiply_agent], + hooks=CustomAgentHooks(display_name="Start Agent"), + ) + + result = await Runner.run( + start_agent, + input=f"Generate a random number between 0 and {max_number}.", + ) + + return result.final_output diff --git a/openai_agents/basic/workflows/dynamic_system_prompt_workflow.py b/openai_agents/basic/workflows/dynamic_system_prompt_workflow.py new file mode 100644 index 000000000..fb7ce109b --- /dev/null +++ b/openai_agents/basic/workflows/dynamic_system_prompt_workflow.py @@ -0,0 +1,48 @@ +from typing import Literal, Optional + +from agents import Agent, RunContextWrapper, Runner +from temporalio import workflow + + +class CustomContext: + def __init__(self, style: Literal["haiku", "pirate", "robot"]): + self.style = style + + +def custom_instructions( + run_context: RunContextWrapper[CustomContext], agent: Agent[CustomContext] +) -> str: + context = run_context.context + if context.style == "haiku": + return "Only respond in haikus." + elif context.style == "pirate": + return "Respond as a pirate." + else: + return "Respond as a robot and say 'beep boop' a lot." + + +@workflow.defn +class DynamicSystemPromptWorkflow: + @workflow.run + async def run(self, user_message: str, style: Optional[str] = None) -> str: + if style is None: + selected_style: Literal["haiku", "pirate", "robot"] = ( + workflow.random().choice(["haiku", "pirate", "robot"]) + ) + else: + # Validate that the provided style is one of the allowed values + if style not in ["haiku", "pirate", "robot"]: + raise ValueError( + f"Invalid style: {style}. Must be one of: haiku, pirate, robot" + ) + selected_style = style # type: ignore + + context = CustomContext(style=selected_style) + + agent = Agent( + name="Chat agent", + instructions=custom_instructions, + ) + + result = await Runner.run(agent, user_message, context=context) + return f"Style: {selected_style}\nResponse: {result.final_output}" diff --git a/openai_agents/basic/workflows/hello_world_workflow.py b/openai_agents/basic/workflows/hello_world_workflow.py new file mode 100644 index 000000000..dd6b2e41b --- /dev/null +++ b/openai_agents/basic/workflows/hello_world_workflow.py @@ -0,0 +1,15 @@ +from agents import Agent, Runner +from temporalio import workflow + + +@workflow.defn +class HelloWorldAgent: + @workflow.run + async def run(self, prompt: str) -> str: + agent = Agent( + name="Assistant", + instructions="You only respond in haikus.", + ) + + result = await Runner.run(agent, input=prompt) + return result.final_output diff --git a/openai_agents/basic/workflows/lifecycle_workflow.py b/openai_agents/basic/workflows/lifecycle_workflow.py new file mode 100644 index 000000000..ded120a61 --- /dev/null +++ b/openai_agents/basic/workflows/lifecycle_workflow.py @@ -0,0 +1,106 @@ +from typing import Any + +from agents import ( + Agent, + RunContextWrapper, + RunHooks, + Runner, + Tool, + Usage, + function_tool, +) +from pydantic import BaseModel +from temporalio import workflow + + +class ExampleHooks(RunHooks): + def __init__(self): + self.event_counter = 0 + + def _usage_to_str(self, usage: Usage) -> str: + return f"{usage.requests} requests, {usage.input_tokens} input tokens, {usage.output_tokens} output tokens, {usage.total_tokens} total tokens" + + async def on_agent_start(self, context: RunContextWrapper, agent: Agent) -> None: + self.event_counter += 1 + print( + f"### {self.event_counter}: Agent {agent.name} started. Usage: {self._usage_to_str(context.usage)}" + ) + + async def on_agent_end( + self, context: RunContextWrapper, agent: Agent, output: Any + ) -> None: + self.event_counter += 1 + print( + f"### {self.event_counter}: Agent {agent.name} ended with output {output}. Usage: {self._usage_to_str(context.usage)}" + ) + + async def on_tool_start( + self, context: RunContextWrapper, agent: Agent, tool: Tool + ) -> None: + self.event_counter += 1 + print( + f"### {self.event_counter}: Tool {tool.name} started. Usage: {self._usage_to_str(context.usage)}" + ) + + async def on_tool_end( + self, context: RunContextWrapper, agent: Agent, tool: Tool, result: Any + ) -> None: + self.event_counter += 1 + print( + f"### {self.event_counter}: Tool {tool.name} ended with result {result}. Usage: {self._usage_to_str(context.usage)}" + ) + + async def on_handoff( + self, context: RunContextWrapper, from_agent: Agent, to_agent: Agent + ) -> None: + self.event_counter += 1 + print( + f"### {self.event_counter}: Handoff from {from_agent.name} to {to_agent.name}. Usage: {self._usage_to_str(context.usage)}" + ) + + +@function_tool +def random_number(max: int) -> int: + """Generate a random number up to the provided max.""" + return workflow.random().randint(0, max) + + +@function_tool +def multiply_by_two(x: int) -> int: + """Return x times two.""" + return x * 2 + + +class FinalResult(BaseModel): + number: int + + +@workflow.defn +class LifecycleWorkflow: + @workflow.run + async def run(self, max_number: int) -> FinalResult: + hooks = ExampleHooks() + + multiply_agent = Agent( + name="Multiply Agent", + instructions="Multiply the number by 2 and then return the final result.", + tools=[multiply_by_two], + output_type=FinalResult, + ) + + start_agent = Agent( + name="Start Agent", + instructions="Generate a random number. If it's even, stop. If it's odd, hand off to the multiplier agent.", + tools=[random_number], + output_type=FinalResult, + handoffs=[multiply_agent], + ) + + result = await Runner.run( + start_agent, + hooks=hooks, + input=f"Generate a random number between 0 and {max_number}.", + ) + + print("Done!") + return result.final_output diff --git a/openai_agents/basic/workflows/local_image_workflow.py b/openai_agents/basic/workflows/local_image_workflow.py new file mode 100644 index 000000000..9c82a5991 --- /dev/null +++ b/openai_agents/basic/workflows/local_image_workflow.py @@ -0,0 +1,56 @@ +from datetime import timedelta + +from agents import Agent, Runner +from temporalio import workflow + +from openai_agents.basic.activities.image_activities import read_image_as_base64 + + +@workflow.defn +class LocalImageWorkflow: + @workflow.run + async def run( + self, image_path: str, question: str = "What do you see in this image?" + ) -> str: + """ + Process a local image file with an AI agent. + + Args: + image_path: Path to the local image file + question: Question to ask about the image + + Returns: + Agent's response about the image + """ + # Convert image to base64 using activity + b64_image = await workflow.execute_activity( + read_image_as_base64, + image_path, + start_to_close_timeout=timedelta(seconds=30), + ) + + agent = Agent( + name="Assistant", + instructions="You are a helpful assistant.", + ) + + result = await Runner.run( + agent, + [ + { + "role": "user", + "content": [ + { + "type": "input_image", + "detail": "auto", + "image_url": f"data:image/jpeg;base64,{b64_image}", + } + ], + }, + { + "role": "user", + "content": question, + }, + ], + ) + return result.final_output diff --git a/openai_agents/basic/workflows/non_strict_output_workflow.py b/openai_agents/basic/workflows/non_strict_output_workflow.py new file mode 100644 index 000000000..f56716c13 --- /dev/null +++ b/openai_agents/basic/workflows/non_strict_output_workflow.py @@ -0,0 +1,86 @@ +import json +from dataclasses import dataclass +from typing import Any + +from agents import Agent, AgentOutputSchema, AgentOutputSchemaBase, Runner +from temporalio import workflow + + +@dataclass +class OutputType: + jokes: dict[int, str] + """A list of jokes, indexed by joke number.""" + + +class CustomOutputSchema(AgentOutputSchemaBase): + """A demonstration of a custom output schema.""" + + def is_plain_text(self) -> bool: + return False + + def name(self) -> str: + return "CustomOutputSchema" + + def json_schema(self) -> dict[str, Any]: + return { + "type": "object", + "properties": { + "jokes": {"type": "object", "properties": {"joke": {"type": "string"}}} + }, + } + + def is_strict_json_schema(self) -> bool: + return False + + def validate_json(self, json_str: str) -> Any: + json_obj = json.loads(json_str) + # Just for demonstration, we'll return a list. + return list(json_obj["jokes"].values()) + + +@workflow.defn +class NonStrictOutputWorkflow: + @workflow.run + async def run(self, input_text: str) -> dict[str, Any]: + """ + Demonstrates non-strict output types that require special handling. + + Args: + input_text: The input message to the agent + + Returns: + Dictionary with results from different output type approaches + """ + results = {} + + agent = Agent( + name="Assistant", + instructions="You are a helpful assistant.", + output_type=OutputType, + ) + + # First, try with strict output type (this should fail) + try: + result = await Runner.run(agent, input_text) + results["strict_result"] = "Unexpected success" + except Exception as e: + results["strict_error"] = str(e) + + # Now try with non-strict output type + try: + agent.output_type = AgentOutputSchema(OutputType, strict_json_schema=False) + result = await Runner.run(agent, input_text) + results["non_strict_result"] = result.final_output + except Exception as e: + results["non_strict_error"] = str(e) + + # Finally, try with custom output type + # Not presently supported by Temporal + # try: + # agent.output_type = CustomOutputSchema() + # result = await Runner.run(agent, input_text) + # results["custom_result"] = result.final_output + # except Exception as e: + # results["custom_error"] = str(e) + + return results diff --git a/openai_agents/basic/workflows/previous_response_id_workflow.py b/openai_agents/basic/workflows/previous_response_id_workflow.py new file mode 100644 index 000000000..64015159b --- /dev/null +++ b/openai_agents/basic/workflows/previous_response_id_workflow.py @@ -0,0 +1,48 @@ +from typing import Tuple + +from agents import Agent, Runner +from temporalio import workflow + + +@workflow.defn +class PreviousResponseIdWorkflow: + @workflow.run + async def run( + self, first_question: str, follow_up_question: str + ) -> Tuple[str, str]: + """ + Demonstrates usage of the `previous_response_id` parameter to continue a conversation. + The second run passes the previous response ID to the model, which allows it to continue the + conversation without re-sending the previous messages. + + Notes: + 1. This only applies to the OpenAI Responses API. Other models will ignore this parameter. + 2. Responses are only stored for 30 days as of this writing, so in production you should + store the response ID along with an expiration date; if the response is no longer valid, + you'll need to re-send the previous conversation history. + + Args: + first_question: The initial question to ask + follow_up_question: The follow-up question that references the first response + + Returns: + Tuple of (first_response, second_response) + """ + agent = Agent( + name="Assistant", + instructions="You are a helpful assistant. be VERY concise.", + ) + + # First question + result1 = await Runner.run(agent, first_question) + first_response = result1.final_output + + # Follow-up question using previous response ID + result2 = await Runner.run( + agent, + follow_up_question, + previous_response_id=result1.last_response_id, + ) + second_response = result2.final_output + + return first_response, second_response diff --git a/openai_agents/basic/workflows/remote_image_workflow.py b/openai_agents/basic/workflows/remote_image_workflow.py new file mode 100644 index 000000000..ce07bd21b --- /dev/null +++ b/openai_agents/basic/workflows/remote_image_workflow.py @@ -0,0 +1,45 @@ +from agents import Agent, Runner +from temporalio import workflow + + +@workflow.defn +class RemoteImageWorkflow: + @workflow.run + async def run( + self, image_url: str, question: str = "What do you see in this image?" + ) -> str: + """ + Process a remote image URL with an AI agent. + + Args: + image_url: URL of the remote image + question: Question to ask about the image + + Returns: + Agent's response about the image + """ + agent = Agent( + name="Assistant", + instructions="You are a helpful assistant.", + ) + + result = await Runner.run( + agent, + [ + { + "role": "user", + "content": [ + { + "type": "input_image", + "detail": "auto", + "image_url": image_url, + } + ], + }, + { + "role": "user", + "content": question, + }, + ], + ) + return result.final_output diff --git a/openai_agents/basic/workflows/tools_workflow.py b/openai_agents/basic/workflows/tools_workflow.py new file mode 100644 index 000000000..70964dc09 --- /dev/null +++ b/openai_agents/basic/workflows/tools_workflow.py @@ -0,0 +1,27 @@ +from __future__ import annotations + +from datetime import timedelta + +from agents import Agent, Runner +from temporalio import workflow +from temporalio.contrib import openai_agents as temporal_agents + +from openai_agents.basic.activities.get_weather_activity import get_weather + + +@workflow.defn +class ToolsWorkflow: + @workflow.run + async def run(self, question: str) -> str: + agent = Agent( + name="Hello world", + instructions="You are a helpful agent.", + tools=[ + temporal_agents.workflow.activity_as_tool( + get_weather, start_to_close_timeout=timedelta(seconds=10) + ) + ], + ) + + result = await Runner.run(agent, input=question) + return result.final_output diff --git a/openai_agents/customer_service/README.md b/openai_agents/customer_service/README.md new file mode 100644 index 000000000..34b9504d1 --- /dev/null +++ b/openai_agents/customer_service/README.md @@ -0,0 +1,21 @@ +# Customer Service + +Interactive customer service agent with escalation capabilities, extended with Temporal's durable conversational workflows. + +*Adapted from [OpenAI Agents SDK customer service](https://github.com/openai/openai-agents-python/tree/main/examples/customer_service)* + +This example demonstrates how to build persistent, stateful conversations where each conversation maintains state across multiple interactions and can survive system restarts and failures. + +## Running the Example + +First, start the worker: +```bash +uv run openai_agents/customer_service/run_worker.py +``` + +Then start a customer service conversation: +```bash +uv run openai_agents/customer_service/run_customer_service_client.py --conversation-id my-conversation-123 +``` + +You can start a new conversation with any unique conversation ID, or resume existing conversations by using the same conversation ID. The conversation state is persisted in the Temporal workflow, allowing you to resume conversations even after restarting the client. \ No newline at end of file diff --git a/openai_agents/customer_service/customer_service.py b/openai_agents/customer_service/customer_service.py new file mode 100644 index 000000000..459970332 --- /dev/null +++ b/openai_agents/customer_service/customer_service.py @@ -0,0 +1,136 @@ +from __future__ import annotations as _annotations + +from typing import Dict, Tuple + +from agents import Agent, RunContextWrapper, function_tool, handoff +from agents.extensions.handoff_prompt import RECOMMENDED_PROMPT_PREFIX +from pydantic import BaseModel +from temporalio import workflow + +### CONTEXT + + +class AirlineAgentContext(BaseModel): + passenger_name: str | None = None + confirmation_number: str | None = None + seat_number: str | None = None + flight_number: str | None = None + + +### TOOLS + + +@function_tool( + name_override="faq_lookup_tool", + description_override="Lookup frequently asked questions.", +) +async def faq_lookup_tool(question: str) -> str: + question_lower = question.lower() + if "bag" in question_lower or "baggage" in question_lower: + return ( + "You are allowed to bring one bag on the plane. " + "It must be under 50 pounds and 22 inches x 14 inches x 9 inches." + ) + elif "seats" in question_lower or "plane" in question_lower: + return ( + "There are 120 seats on the plane. " + "There are 22 business class seats and 98 economy seats. " + "Exit rows are rows 4 and 16. " + "Rows 5-8 are Economy Plus, with extra legroom. " + ) + elif "wifi" in question_lower: + return "We have free wifi on the plane, join Airline-Wifi" + return "I'm sorry, I don't know the answer to that question." + + +@function_tool +async def update_seat( + context: RunContextWrapper[AirlineAgentContext], + confirmation_number: str, + new_seat: str, +) -> str: + """ + Update the seat for a given confirmation number. + + Args: + confirmation_number: The confirmation number for the flight. + new_seat: The new seat to update to. + """ + # Update the context based on the customer's input + context.context.confirmation_number = confirmation_number + context.context.seat_number = new_seat + # Ensure that the flight number has been set by the incoming handoff + assert context.context.flight_number is not None, "Flight number is required" + return f"Updated seat to {new_seat} for confirmation number {confirmation_number}" + + +### HOOKS + + +async def on_seat_booking_handoff( + context: RunContextWrapper[AirlineAgentContext], +) -> None: + flight_number = f"FLT-{workflow.random().randint(100, 999)}" + context.context.flight_number = flight_number + + +### AGENTS + + +def init_agents() -> ( + Tuple[Agent[AirlineAgentContext], Dict[str, Agent[AirlineAgentContext]]] +): + """ + Initialize the agents for the airline customer service workflow. + :return: triage agent + """ + faq_agent = Agent[AirlineAgentContext]( + name="FAQ Agent", + handoff_description="A helpful agent that can answer questions about the airline.", + instructions=f"""{RECOMMENDED_PROMPT_PREFIX} + You are an FAQ agent. If you are speaking to a customer, you probably were transferred to from the triage agent. + Use the following routine to support the customer. + # Routine + 1. Identify the last question asked by the customer. + 2. Use the faq lookup tool to answer the question. Do not rely on your own knowledge. + 3. If you cannot answer the question, transfer back to the triage agent.""", + tools=[faq_lookup_tool], + ) + + seat_booking_agent = Agent[AirlineAgentContext]( + name="Seat Booking Agent", + handoff_description="A helpful agent that can update a seat on a flight.", + instructions=f"""{RECOMMENDED_PROMPT_PREFIX} + You are a seat booking agent. If you are speaking to a customer, you probably were transferred to from the triage agent. + Use the following routine to support the customer. + # Routine + 1. Ask for their confirmation number. + 2. Ask the customer what their desired seat number is. + 3. Use the update seat tool to update the seat on the flight. + If the customer asks a question that is not related to the routine, transfer back to the triage agent. """, + tools=[update_seat], + ) + + triage_agent = Agent[AirlineAgentContext]( + name="Triage Agent", + handoff_description="A triage agent that can delegate a customer's request to the appropriate agent.", + instructions=( + f"{RECOMMENDED_PROMPT_PREFIX} " + "You are a helpful triaging agent. You can use your tools to delegate questions to other appropriate agents." + ), + handoffs=[ + faq_agent, + handoff(agent=seat_booking_agent, on_handoff=on_seat_booking_handoff), + ], + ) + + faq_agent.handoffs.append(triage_agent) + seat_booking_agent.handoffs.append(triage_agent) + return triage_agent, { + agent.name: agent for agent in [faq_agent, seat_booking_agent, triage_agent] + } + + +class ProcessUserMessageInput(BaseModel): + user_input: str + chat_length: int diff --git a/openai_agents/customer_service/run_customer_service_client.py b/openai_agents/customer_service/run_customer_service_client.py new file mode 100644 index 000000000..044e0775c --- /dev/null +++ b/openai_agents/customer_service/run_customer_service_client.py @@ -0,0 +1,82 @@ +import argparse +import asyncio + +from temporalio.client import ( + Client, + WorkflowQueryRejectedError, + WorkflowUpdateFailedError, +) +from temporalio.common import QueryRejectCondition +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.service import RPCError, RPCStatusCode + +from openai_agents.customer_service.workflows.customer_service_workflow import ( + CustomerServiceWorkflow, + ProcessUserMessageInput, +) + + +async def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--conversation-id", type=str, required=True) + args = parser.parse_args() + + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + handle = client.get_workflow_handle(args.conversation_id) + + # Query the workflow for the chat history + # If the workflow is not open, start a new one + start = False + history = [] + try: + history = await handle.query( + CustomerServiceWorkflow.get_chat_history, + reject_condition=QueryRejectCondition.NOT_OPEN, + ) + except WorkflowQueryRejectedError: + start = True + except RPCError as e: + if e.status == RPCStatusCode.NOT_FOUND: + start = True + else: + raise e + if start: + await client.start_workflow( + CustomerServiceWorkflow.run, + id=args.conversation_id, + task_queue="openai-agents-task-queue", + ) + history = [] + print(*history, sep="\n") + + # Loop to send messages to the workflow + while True: + user_input = input("Enter your message: ") + message_input = ProcessUserMessageInput( + user_input=user_input, chat_length=len(history) + ) + try: + new_history = await handle.execute_update( + CustomerServiceWorkflow.process_user_message, message_input + ) + history.extend(new_history) + print(*new_history[1:], sep="\n") + except WorkflowUpdateFailedError: + print("** Stale conversation. Reloading...") + length = len(history) + history = await handle.query( + CustomerServiceWorkflow.get_chat_history, + reject_condition=QueryRejectCondition.NOT_OPEN, + ) + print(*history[length:], sep="\n") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/customer_service/run_worker.py b/openai_agents/customer_service/run_worker.py new file mode 100644 index 000000000..b82f69195 --- /dev/null +++ b/openai_agents/customer_service/run_worker.py @@ -0,0 +1,39 @@ +from __future__ import annotations + +import asyncio +from datetime import timedelta + +from temporalio.client import Client +from temporalio.contrib.openai_agents import ModelActivityParameters, OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.customer_service.workflows.customer_service_workflow import ( + CustomerServiceWorkflow, +) + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=30) + ) + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-task-queue", + workflows=[ + CustomerServiceWorkflow, + ], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/customer_service/workflows/customer_service_workflow.py b/openai_agents/customer_service/workflows/customer_service_workflow.py new file mode 100644 index 000000000..0157d0508 --- /dev/null +++ b/openai_agents/customer_service/workflows/customer_service_workflow.py @@ -0,0 +1,130 @@ +from __future__ import annotations as _annotations + +from agents import ( + HandoffCallItem, + HandoffOutputItem, + ItemHelpers, + MessageOutputItem, + RunConfig, + Runner, + ToolCallItem, + ToolCallOutputItem, + TResponseInputItem, + trace, +) +from pydantic import dataclasses +from temporalio import workflow + +from openai_agents.customer_service.customer_service import ( + AirlineAgentContext, + ProcessUserMessageInput, + init_agents, +) + + +@dataclasses.dataclass +class CustomerServiceWorkflowState: + printed_history: list[str] + current_agent_name: str + context: AirlineAgentContext + input_items: list[TResponseInputItem] + + +@workflow.defn +class CustomerServiceWorkflow: + @workflow.init + def __init__( + self, customer_service_state: CustomerServiceWorkflowState | None = None + ): + self.run_config = RunConfig() + + starting_agent, self.agent_map = init_agents() + self.current_agent = ( + self.agent_map[customer_service_state.current_agent_name] + if customer_service_state + else starting_agent + ) + self.context = ( + customer_service_state.context + if customer_service_state + else AirlineAgentContext() + ) + self.printed_history: list[str] = ( + customer_service_state.printed_history if customer_service_state else [] + ) + self.input_items = ( + customer_service_state.input_items if customer_service_state else [] + ) + + @workflow.run + async def run( + self, customer_service_state: CustomerServiceWorkflowState | None = None + ): + await workflow.wait_condition( + lambda: workflow.info().is_continue_as_new_suggested() + and workflow.all_handlers_finished() + ) + workflow.continue_as_new( + CustomerServiceWorkflowState( + printed_history=self.printed_history, + current_agent_name=self.current_agent.name, + context=self.context, + input_items=self.input_items, + ) + ) + + @workflow.query + def get_chat_history(self) -> list[str]: + return self.printed_history + + @workflow.update + async def process_user_message(self, input: ProcessUserMessageInput) -> list[str]: + length = len(self.printed_history) + self.printed_history.append(f"User: {input.user_input}") + with trace("Customer service", group_id=workflow.info().workflow_id): + self.input_items.append({"content": input.user_input, "role": "user"}) + result = await Runner.run( + self.current_agent, + self.input_items, + context=self.context, + run_config=self.run_config, + ) + + for new_item in result.new_items: + agent_name = new_item.agent.name + if isinstance(new_item, MessageOutputItem): + self.printed_history.append( + f"{agent_name}: {ItemHelpers.text_message_output(new_item)}" + ) + elif isinstance(new_item, HandoffOutputItem): + self.printed_history.append( + f"Handed off from {new_item.source_agent.name} to {new_item.target_agent.name}" + ) + elif isinstance(new_item, HandoffCallItem): + self.printed_history.append( + f"{agent_name}: Handed off to tool {new_item.raw_item.name}" + ) + elif isinstance(new_item, ToolCallItem): + self.printed_history.append(f"{agent_name}: Calling a tool") + elif isinstance(new_item, ToolCallOutputItem): + self.printed_history.append( + f"{agent_name}: Tool call output: {new_item.output}" + ) + else: + self.printed_history.append( + f"{agent_name}: Skipping item: {new_item.__class__.__name__}" + ) + self.input_items = result.to_input_list() + self.current_agent = result.last_agent + workflow.set_current_details("\n\n".join(self.printed_history)) + + return self.printed_history[length:] + + @process_user_message.validator + def validate_process_user_message(self, input: ProcessUserMessageInput) -> None: + if not input.user_input: + raise ValueError("User input cannot be empty.") + if len(input.user_input) > 1000: + raise ValueError("User input is too long. Please limit to 1000 characters.") + if input.chat_length != len(self.printed_history): + raise ValueError("Stale chat history. Please refresh the chat.") diff --git a/openai_agents/financial_research_agent/README.md b/openai_agents/financial_research_agent/README.md new file mode 100644 index 000000000..fed8e5b2d --- /dev/null +++ b/openai_agents/financial_research_agent/README.md @@ -0,0 +1,61 @@ +# Financial Research Agent + +Multi-agent financial research system with specialized roles, extended with Temporal's durable execution. + +*Adapted from [OpenAI Agents SDK financial research agent](https://github.com/openai/openai-agents-python/tree/main/examples/financial_research_agent)* + +## Architecture + +This example shows how you might compose a richer financial research agent using the Agents SDK. The pattern is similar to the `research_bot` example, but with more specialized sub-agents and a verification step. + +The flow is: + +1. **Planning**: A planner agent turns the end user's request into a list of search terms relevant to financial analysis – recent news, earnings calls, corporate filings, industry commentary, etc. +2. **Search**: A search agent uses the built-in `WebSearchTool` to retrieve terse summaries for each search term. (You could also add `FileSearchTool` if you have indexed PDFs or 10-Ks.) +3. **Sub-analysts**: Additional agents (e.g. a fundamentals analyst and a risk analyst) are exposed as tools so the writer can call them inline and incorporate their outputs. +4. **Writing**: A senior writer agent brings together the search snippets and any sub-analyst summaries into a long-form markdown report plus a short executive summary. +5. **Verification**: A final verifier agent audits the report for obvious inconsistencies or missing sourcing. + +## Running the Example + +First, start the worker: +```bash +uv run openai_agents/financial_research_agent/run_worker.py +``` + +Then run the financial research workflow: +```bash +uv run openai_agents/financial_research_agent/run_financial_research_workflow.py +``` + +Enter a query like: +``` +Write up an analysis of Apple Inc.'s most recent quarter. +``` + +You can also just hit enter to run this query, which is provided as the default. + +## Components + +### Agents + +- **Planner Agent**: Creates a search plan with 5-15 relevant search terms +- **Search Agent**: Uses web search to gather financial information +- **Financials Agent**: Analyzes company fundamentals (revenue, profit, margins) +- **Risk Agent**: Identifies potential red flags and risk factors +- **Writer Agent**: Synthesizes information into a comprehensive report +- **Verifier Agent**: Audits the final report for consistency and accuracy + +### Writer Agent Tools + +The writer agent has access to tools that invoke the specialist analysts: +- `fundamentals_analysis`: Get financial performance analysis +- `risk_analysis`: Get risk factor assessment + +## Temporal Integration + +The example demonstrates several Temporal patterns: +- Durable execution of multi-step research workflows +- Parallel execution of web searches using `asyncio.create_task` +- Use of `workflow.as_completed` for handling concurrent tasks +- Proper import handling with `workflow.unsafe.imports_passed_through()` diff --git a/openai_agents/financial_research_agent/agents/financials_agent.py b/openai_agents/financial_research_agent/agents/financials_agent.py new file mode 100644 index 000000000..72a2be959 --- /dev/null +++ b/openai_agents/financial_research_agent/agents/financials_agent.py @@ -0,0 +1,23 @@ +from agents import Agent +from pydantic import BaseModel + +# A sub-agent focused on analyzing a company's fundamentals. +FINANCIALS_PROMPT = ( + "You are a financial analyst focused on company fundamentals such as revenue, " + "profit, margins and growth trajectory. Given a collection of web (and optional file) " + "search results about a company, write a concise analysis of its recent financial " + "performance. Pull out key metrics or quotes. Keep it under 2 paragraphs." +) + + +class AnalysisSummary(BaseModel): + summary: str + """Short text summary for this aspect of the analysis.""" + + +def new_financials_agent() -> Agent: + return Agent( + name="FundamentalsAnalystAgent", + instructions=FINANCIALS_PROMPT, + output_type=AnalysisSummary, + ) diff --git a/openai_agents/financial_research_agent/agents/planner_agent.py b/openai_agents/financial_research_agent/agents/planner_agent.py new file mode 100644 index 000000000..8c7ffcb92 --- /dev/null +++ b/openai_agents/financial_research_agent/agents/planner_agent.py @@ -0,0 +1,35 @@ +from agents import Agent +from pydantic import BaseModel + +# Generate a plan of searches to ground the financial analysis. +# For a given financial question or company, we want to search for +# recent news, official filings, analyst commentary, and other +# relevant background. +PROMPT = ( + "You are a financial research planner. Given a request for financial analysis, " + "produce a set of web searches to gather the context needed. Aim for recent " + "headlines, earnings calls or 10-K snippets, analyst commentary, and industry background. " + "Output between 5 and 15 search terms to query for." +) + + +class FinancialSearchItem(BaseModel): + reason: str + """Your reasoning for why this search is relevant.""" + + query: str + """The search term to feed into a web (or file) search.""" + + +class FinancialSearchPlan(BaseModel): + searches: list[FinancialSearchItem] + """A list of searches to perform.""" + + +def new_planner_agent() -> Agent: + return Agent( + name="FinancialPlannerAgent", + instructions=PROMPT, + model="o3-mini", + output_type=FinancialSearchPlan, + ) diff --git a/openai_agents/financial_research_agent/agents/risk_agent.py b/openai_agents/financial_research_agent/agents/risk_agent.py new file mode 100644 index 000000000..c73e94efb --- /dev/null +++ b/openai_agents/financial_research_agent/agents/risk_agent.py @@ -0,0 +1,22 @@ +from agents import Agent +from pydantic import BaseModel + +# A sub-agent specializing in identifying risk factors or concerns. +RISK_PROMPT = ( + "You are a risk analyst looking for potential red flags in a company's outlook. " + "Given background research, produce a short analysis of risks such as competitive threats, " + "regulatory issues, supply chain problems, or slowing growth. Keep it under 2 paragraphs." +) + + +class AnalysisSummary(BaseModel): + summary: str + """Short text summary for this aspect of the analysis.""" + + +def new_risk_agent() -> Agent: + return Agent( + name="RiskAnalystAgent", + instructions=RISK_PROMPT, + output_type=AnalysisSummary, + ) diff --git a/openai_agents/financial_research_agent/agents/search_agent.py b/openai_agents/financial_research_agent/agents/search_agent.py new file mode 100644 index 000000000..e40e357e0 --- /dev/null +++ b/openai_agents/financial_research_agent/agents/search_agent.py @@ -0,0 +1,20 @@ +from agents import Agent, WebSearchTool +from agents.model_settings import ModelSettings + +# Given a search term, use web search to pull back a brief summary. +# Summaries should be concise but capture the main financial points. +INSTRUCTIONS = ( + "You are a research assistant specializing in financial topics. " + "Given a search term, use web search to retrieve up-to-date context and " + "produce a short summary of at most 300 words. Focus on key numbers, events, " + "or quotes that will be useful to a financial analyst." +) + + +def new_search_agent() -> Agent: + return Agent( + name="FinancialSearchAgent", + instructions=INSTRUCTIONS, + tools=[WebSearchTool()], + model_settings=ModelSettings(tool_choice="required"), + ) diff --git a/openai_agents/financial_research_agent/agents/verifier_agent.py b/openai_agents/financial_research_agent/agents/verifier_agent.py new file mode 100644 index 000000000..9d3f0a012 --- /dev/null +++ b/openai_agents/financial_research_agent/agents/verifier_agent.py @@ -0,0 +1,27 @@ +from agents import Agent +from pydantic import BaseModel + +# Agent to sanity-check a synthesized report for consistency and recall. +# This can be used to flag potential gaps or obvious mistakes. +VERIFIER_PROMPT = ( + "You are a meticulous auditor. You have been handed a financial analysis report. " + "Your job is to verify the report is internally consistent, clearly sourced, and makes " + "no unsupported claims. Point out any issues or uncertainties." +) + + +class VerificationResult(BaseModel): + verified: bool + """Whether the report seems coherent and plausible.""" + + issues: str + """If not verified, describe the main issues or concerns.""" + + +def new_verifier_agent() -> Agent: + return Agent( + name="VerificationAgent", + instructions=VERIFIER_PROMPT, + model="gpt-4o", + output_type=VerificationResult, + ) diff --git a/openai_agents/financial_research_agent/agents/writer_agent.py b/openai_agents/financial_research_agent/agents/writer_agent.py new file mode 100644 index 000000000..9accc2021 --- /dev/null +++ b/openai_agents/financial_research_agent/agents/writer_agent.py @@ -0,0 +1,34 @@ +from agents import Agent +from pydantic import BaseModel + +# Writer agent brings together the raw search results and optionally calls out +# to sub-analyst tools for specialized commentary, then returns a cohesive markdown report. +WRITER_PROMPT = ( + "You are a senior financial analyst. You will be provided with the original query and " + "a set of raw search summaries. Your task is to synthesize these into a long-form markdown " + "report (at least several paragraphs) including a short executive summary and follow-up " + "questions. If needed, you can call the available analysis tools (e.g. fundamentals_analysis, " + "risk_analysis) to get short specialist write-ups to incorporate." +) + + +class FinancialReportData(BaseModel): + short_summary: str + """A short 2-3 sentence executive summary.""" + + markdown_report: str + """The full markdown report.""" + + follow_up_questions: list[str] + """Suggested follow-up questions for further research.""" + + +# Note: We will attach tools to specialist analyst agents at runtime in the manager. +# This shows how an agent can use tools to delegate to specialized subagents. +def new_writer_agent() -> Agent: + return Agent( + name="FinancialWriterAgent", + instructions=WRITER_PROMPT, + model="gpt-4.1-2025-04-14", + output_type=FinancialReportData, + ) diff --git a/openai_agents/financial_research_agent/financial_research_manager.py b/openai_agents/financial_research_agent/financial_research_manager.py new file mode 100644 index 000000000..6f2050b27 --- /dev/null +++ b/openai_agents/financial_research_agent/financial_research_manager.py @@ -0,0 +1,142 @@ +from __future__ import annotations + +import asyncio +from collections.abc import Sequence + +from agents import RunConfig, Runner, RunResult, RunResultStreaming, custom_span, trace +from temporalio import workflow + +from openai_agents.financial_research_agent.agents.financials_agent import ( + new_financials_agent, +) +from openai_agents.financial_research_agent.agents.planner_agent import ( + FinancialSearchItem, + FinancialSearchPlan, + new_planner_agent, +) +from openai_agents.financial_research_agent.agents.risk_agent import new_risk_agent +from openai_agents.financial_research_agent.agents.search_agent import new_search_agent +from openai_agents.financial_research_agent.agents.verifier_agent import ( + VerificationResult, + new_verifier_agent, +) +from openai_agents.financial_research_agent.agents.writer_agent import ( + FinancialReportData, + new_writer_agent, +) + + +async def _summary_extractor(run_result: RunResult | RunResultStreaming) -> str: + """Custom output extractor for sub-agents that return an AnalysisSummary.""" + # The financial/risk analyst agents emit an AnalysisSummary with a `summary` field. + # We want the tool call to return just that summary text so the writer can drop it inline. + return str(run_result.final_output.summary) + + +class FinancialResearchManager: + """ + Orchestrates the full flow: planning, searching, sub-analysis, writing, and verification. + """ + + def __init__(self) -> None: + self.run_config = RunConfig() + self.planner_agent = new_planner_agent() + self.search_agent = new_search_agent() + self.financials_agent = new_financials_agent() + self.risk_agent = new_risk_agent() + self.writer_agent = new_writer_agent() + self.verifier_agent = new_verifier_agent() + + async def run(self, query: str) -> str: + with trace("Financial research trace"): + search_plan = await self._plan_searches(query) + search_results = await self._perform_searches(search_plan) + report = await self._write_report(query, search_results) + verification = await self._verify_report(report) + + # Return formatted output + result = f"""=====REPORT===== + +{report.markdown_report} + +=====FOLLOW UP QUESTIONS===== + +{chr(10).join(report.follow_up_questions)} + +=====VERIFICATION===== + +Verified: {verification.verified} +Issues: {verification.issues}""" + + return result + + async def _plan_searches(self, query: str) -> FinancialSearchPlan: + result = await Runner.run( + self.planner_agent, + f"Query: {query}", + run_config=self.run_config, + ) + return result.final_output_as(FinancialSearchPlan) + + async def _perform_searches( + self, search_plan: FinancialSearchPlan + ) -> Sequence[str]: + with custom_span("Search the web"): + tasks = [ + asyncio.create_task(self._search(item)) for item in search_plan.searches + ] + results: list[str] = [] + for task in workflow.as_completed(tasks): + result = await task + if result is not None: + results.append(result) + return results + + async def _search(self, item: FinancialSearchItem) -> str | None: + input_data = f"Search term: {item.query}\nReason: {item.reason}" + try: + result = await Runner.run( + self.search_agent, + input_data, + run_config=self.run_config, + ) + return str(result.final_output) + except Exception: + return None + + async def _write_report( + self, query: str, search_results: Sequence[str] + ) -> FinancialReportData: + # Expose the specialist analysts as tools so the writer can invoke them inline + # and still produce the final FinancialReportData output. + fundamentals_tool = self.financials_agent.as_tool( + tool_name="fundamentals_analysis", + tool_description="Use to get a short write-up of key financial metrics", + custom_output_extractor=_summary_extractor, + ) + risk_tool = self.risk_agent.as_tool( + tool_name="risk_analysis", + tool_description="Use to get a short write-up of potential red flags", + custom_output_extractor=_summary_extractor, + ) + writer_with_tools = self.writer_agent.clone( + tools=[fundamentals_tool, risk_tool] + ) + + input_data = ( + f"Original query: {query}\nSummarized search results: {search_results}" + ) + result = await Runner.run( + writer_with_tools, + input_data, + run_config=self.run_config, + ) + return result.final_output_as(FinancialReportData) + + async def _verify_report(self, report: FinancialReportData) -> VerificationResult: + result = await Runner.run( + self.verifier_agent, + report.markdown_report, + run_config=self.run_config, + ) + return result.final_output_as(VerificationResult) diff --git a/openai_agents/financial_research_agent/run_financial_research_workflow.py b/openai_agents/financial_research_agent/run_financial_research_workflow.py new file mode 100644 index 000000000..80adc86bb --- /dev/null +++ b/openai_agents/financial_research_agent/run_financial_research_workflow.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python3 + +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.financial_research_agent.workflows.financial_research_workflow import ( + FinancialResearchWorkflow, +) + + +async def main(): + # Get the query from user input + query = input("Enter a financial research query: ") + if not query.strip(): + query = "Write up an analysis of Apple Inc.'s most recent quarter." + print(f"Using default query: {query}") + + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + print(f"Starting financial research for: {query}") + print("This may take several minutes to complete...\n") + + result = await client.execute_workflow( + FinancialResearchWorkflow.run, + query, + id=f"financial-research-{hash(query)}", + task_queue="financial-research-task-queue", + ) + + print(result) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/financial_research_agent/run_worker.py b/openai_agents/financial_research_agent/run_worker.py new file mode 100644 index 000000000..507bd77ca --- /dev/null +++ b/openai_agents/financial_research_agent/run_worker.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python3 + +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.financial_research_agent.workflows.financial_research_workflow import ( + FinancialResearchWorkflow, +) + + +async def main(): + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + worker = Worker( + client, + task_queue="financial-research-task-queue", + workflows=[FinancialResearchWorkflow], + ) + + print("Starting financial research worker...") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/financial_research_agent/workflows/financial_research_workflow.py b/openai_agents/financial_research_agent/workflows/financial_research_workflow.py new file mode 100644 index 000000000..487e3fd57 --- /dev/null +++ b/openai_agents/financial_research_agent/workflows/financial_research_workflow.py @@ -0,0 +1,13 @@ +from temporalio import workflow + +from openai_agents.financial_research_agent.financial_research_manager import ( + FinancialResearchManager, +) + + +@workflow.defn +class FinancialResearchWorkflow: + @workflow.run + async def run(self, query: str) -> str: + manager = FinancialResearchManager() + return await manager.run(query) diff --git a/openai_agents/handoffs/README.md b/openai_agents/handoffs/README.md new file mode 100644 index 000000000..21717e9ff --- /dev/null +++ b/openai_agents/handoffs/README.md @@ -0,0 +1,44 @@ +# Handoffs Examples + +Agent handoff patterns with message filtering in Temporal workflows. + +*Adapted from [OpenAI Agents SDK handoffs examples](https://github.com/openai/openai-agents-python/tree/main/examples/handoffs)* + +Before running these examples, be sure to review the [prerequisites and background on the integration](../README.md). + +## Running the Examples + +First, start the worker: +```bash +uv run openai_agents/handoffs/run_worker.py +``` + +Then run the workflow: + +### Message Filter Workflow +Demonstrates agent handoffs with message history filtering: +```bash +uv run openai_agents/handoffs/run_message_filter_workflow.py +``` + +## Workflow Pattern + +The workflow demonstrates a 4-step conversation with message filtering: + +1. **Introduction**: User greets first agent with name +2. **Tool Usage**: First agent generates random number using function tool +3. **Agent Switch**: Conversation moves to second agent for general questions +4. **Spanish Handoff**: Second agent detects Spanish and hands off to Spanish specialist + +During the Spanish handoff, message filtering occurs: +- All tool-related messages are removed from history +- First two messages are dropped (demonstration of selective context) +- Filtered conversation continues with Spanish agent + +The workflow returns both the final response and complete message history for inspection. + +## Omitted Examples + +The following patterns from the [reference repository](https://github.com/openai/openai-agents-python/tree/main/examples/handoffs) are not included in this Temporal adaptation: + +- **Message Filter Streaming**: Differs from the included message-filter example only in rendering the same run's output as it streams. The Temporal integration does support that — see [Streaming](../streaming/README.md) — but it is demonstrated there rather than duplicated here. \ No newline at end of file diff --git a/openai_agents/handoffs/run_message_filter_workflow.py b/openai_agents/handoffs/run_message_filter_workflow.py new file mode 100644 index 000000000..c2b2ba3db --- /dev/null +++ b/openai_agents/handoffs/run_message_filter_workflow.py @@ -0,0 +1,42 @@ +import asyncio +import json + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.envconfig import ClientConfig + +from openai_agents.handoffs.workflows.message_filter_workflow import ( + MessageFilterWorkflow, +) + + +async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + # Create client connected to server at the given address + client = await Client.connect( + **config, + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + MessageFilterWorkflow.run, + "Sora", + id="message-filter-workflow", + task_queue="openai-agents-handoffs-task-queue", + ) + + print(f"Final output: {result.final_output}") + print("\n===Final messages===\n") + + # Print the final message history to see the effect of the message filter + for message in result.final_messages: + print(json.dumps(message, indent=2)) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/handoffs/run_worker.py b/openai_agents/handoffs/run_worker.py new file mode 100644 index 000000000..8941f4d85 --- /dev/null +++ b/openai_agents/handoffs/run_worker.py @@ -0,0 +1,42 @@ +from __future__ import annotations + +import asyncio +from datetime import timedelta + +from temporalio.client import Client +from temporalio.contrib.openai_agents import ModelActivityParameters, OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.handoffs.workflows.message_filter_workflow import ( + MessageFilterWorkflow, +) + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=60) + ) + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-handoffs-task-queue", + workflows=[ + MessageFilterWorkflow, + ], + activities=[ + # No custom activities needed for these workflows + ], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/handoffs/workflows/message_filter_workflow.py b/openai_agents/handoffs/workflows/message_filter_workflow.py new file mode 100644 index 000000000..8adc9453f --- /dev/null +++ b/openai_agents/handoffs/workflows/message_filter_workflow.py @@ -0,0 +1,112 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import List + +from agents import Agent, HandoffInputData, Runner, function_tool, handoff +from agents.extensions import handoff_filters +from agents.items import TResponseInputItem +from temporalio import workflow + + +@dataclass +class MessageFilterResult: + final_output: str + final_messages: List[TResponseInputItem] + + +@function_tool +def random_number_tool(max: int) -> int: + """Return a random integer between 0 and the given maximum.""" + return workflow.random().randint(0, max) + + +def spanish_handoff_message_filter( + handoff_message_data: HandoffInputData, +) -> HandoffInputData: + # First, we'll remove any tool-related messages from the message history + handoff_message_data = handoff_filters.remove_all_tools(handoff_message_data) + + # Second, we'll also remove the first two items from the history, just for demonstration + history = ( + tuple(handoff_message_data.input_history[2:]) + if isinstance(handoff_message_data.input_history, tuple) + else handoff_message_data.input_history + ) + + return HandoffInputData( + input_history=history, + pre_handoff_items=tuple(handoff_message_data.pre_handoff_items), + new_items=tuple(handoff_message_data.new_items), + ) + + +@workflow.defn +class MessageFilterWorkflow: + @workflow.run + async def run(self, user_name: str = "Sora") -> MessageFilterResult: + first_agent = Agent( + name="Assistant", + instructions="Be extremely concise.", + tools=[random_number_tool], + ) + + spanish_agent = Agent( + name="Spanish Assistant", + instructions="You only speak Spanish and are extremely concise.", + handoff_description="A Spanish-speaking assistant.", + ) + + second_agent = Agent( + name="Assistant", + instructions=( + "Be a helpful assistant. If the user speaks Spanish, handoff to the Spanish assistant." + ), + handoffs=[ + handoff(spanish_agent, input_filter=spanish_handoff_message_filter) + ], + ) + + # 1. Send a regular message to the first agent + result = await Runner.run(first_agent, input=f"Hi, my name is {user_name}.") + + # 2. Ask it to generate a number + result = await Runner.run( + first_agent, + input=result.to_input_list() + + [ + { + "content": "Can you generate a random number between 0 and 100?", + "role": "user", + } + ], + ) + + # 3. Call the second agent + result = await Runner.run( + second_agent, + input=result.to_input_list() + + [ + { + "content": "I live in New York City. What's the population of the city?", + "role": "user", + } + ], + ) + + # 4. Cause a handoff to occur + result = await Runner.run( + second_agent, + input=result.to_input_list() + + [ + { + "content": "Por favor habla en español. ¿Cuál es mi nombre y dónde vivo?", + "role": "user", + } + ], + ) + + # Return the final result and message history + return MessageFilterResult( + final_output=result.final_output, final_messages=result.to_input_list() + ) diff --git a/openai_agents/hosted_mcp/README.md b/openai_agents/hosted_mcp/README.md new file mode 100644 index 000000000..78a371311 --- /dev/null +++ b/openai_agents/hosted_mcp/README.md @@ -0,0 +1,39 @@ +# Hosted MCP Examples + +Integration with hosted MCP (Model Context Protocol) servers using OpenAI agents in Temporal workflows. + +*Adapted from [OpenAI Agents SDK hosted_mcp examples](https://github.com/openai/openai-agents-python/tree/main/examples/hosted_mcp)* + +Before running these examples, be sure to review the [prerequisites and background on the integration](../README.md). + +## Running the Examples + +First, start the worker (supports all MCP workflows): +```bash +uv run openai_agents/hosted_mcp/run_worker.py +``` + +Then run individual examples in separate terminals: + +### Simple MCP Connection +Connect to a hosted MCP server without approval requirements (trusted servers): +```bash +uv run openai_agents/hosted_mcp/run_simple_mcp_workflow.py +``` + +### MCP with Approval Callbacks +Connect to a hosted MCP server with approval workflow for tool execution: +```bash +uv run openai_agents/hosted_mcp/run_approval_mcp_workflow.py +``` + +## MCP Server Configuration + +Both examples default to using the GitMCP server (`https://gitmcp.io/openai/codex`) which provides repository analysis capabilities. The workflows can be easily modified to use different MCP servers by changing the `server_url` parameter. + +### Approval Workflow Notes + +The approval example demonstrates the callback structure for tool approvals in a Temporal context. In this implementation: + +- The approval callback automatically approves requests for demonstration purposes +- In production environments, approvals would typically be handled by communicating with a human user. Because the approval executes in the Temporal workflow, you can use signals or updates to communicate approval status. diff --git a/openai_agents/hosted_mcp/run_approval_mcp_workflow.py b/openai_agents/hosted_mcp/run_approval_mcp_workflow.py new file mode 100644 index 000000000..8821c78a7 --- /dev/null +++ b/openai_agents/hosted_mcp/run_approval_mcp_workflow.py @@ -0,0 +1,30 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.hosted_mcp.workflows.approval_mcp_workflow import ApprovalMCPWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + ApprovalMCPWorkflow.run, + "Which language is this repo written in?", + id="approval-mcp-workflow", + task_queue="openai-agents-hosted-mcp-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/hosted_mcp/run_simple_mcp_workflow.py b/openai_agents/hosted_mcp/run_simple_mcp_workflow.py new file mode 100644 index 000000000..5e0c064f5 --- /dev/null +++ b/openai_agents/hosted_mcp/run_simple_mcp_workflow.py @@ -0,0 +1,30 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.hosted_mcp.workflows.simple_mcp_workflow import SimpleMCPWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + SimpleMCPWorkflow.run, + "Which language is this repo written in?", + id="simple-mcp-workflow", + task_queue="openai-agents-hosted-mcp-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/hosted_mcp/run_worker.py b/openai_agents/hosted_mcp/run_worker.py new file mode 100644 index 000000000..fb25f7b6b --- /dev/null +++ b/openai_agents/hosted_mcp/run_worker.py @@ -0,0 +1,42 @@ +from __future__ import annotations + +import asyncio +from datetime import timedelta + +from temporalio.client import Client +from temporalio.contrib.openai_agents import ModelActivityParameters, OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.hosted_mcp.workflows.approval_mcp_workflow import ApprovalMCPWorkflow +from openai_agents.hosted_mcp.workflows.simple_mcp_workflow import SimpleMCPWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=60) + ) + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-hosted-mcp-task-queue", + workflows=[ + SimpleMCPWorkflow, + ApprovalMCPWorkflow, + ], + activities=[ + # No custom activities needed for these workflows + ], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/hosted_mcp/workflows/approval_mcp_workflow.py b/openai_agents/hosted_mcp/workflows/approval_mcp_workflow.py new file mode 100644 index 000000000..1b5b7b6f9 --- /dev/null +++ b/openai_agents/hosted_mcp/workflows/approval_mcp_workflow.py @@ -0,0 +1,48 @@ +from __future__ import annotations + +from agents import ( + Agent, + HostedMCPTool, + MCPToolApprovalFunctionResult, + MCPToolApprovalRequest, + Runner, +) +from temporalio import workflow + + +def approval_callback(request: MCPToolApprovalRequest) -> MCPToolApprovalFunctionResult: + """Simple approval callback that logs the request and approves by default. + + In a real application, user input would be provided through a UI or API. + The approval callback executes within the Temporal workflow, so the application + can use signals or updates to receive user input. + """ + workflow.logger.info(f"MCP tool approval requested for: {request.data.name}") + + result: MCPToolApprovalFunctionResult = {"approve": True} + return result + + +@workflow.defn +class ApprovalMCPWorkflow: + @workflow.run + async def run( + self, question: str, server_url: str = "https://gitmcp.io/openai/codex" + ) -> str: + agent = Agent( + name="Assistant", + tools=[ + HostedMCPTool( + tool_config={ + "type": "mcp", + "server_label": "gitmcp", + "server_url": server_url, + "require_approval": "always", + }, + on_approval_request=approval_callback, + ) + ], + ) + + result = await Runner.run(agent, question) + return result.final_output diff --git a/openai_agents/hosted_mcp/workflows/simple_mcp_workflow.py b/openai_agents/hosted_mcp/workflows/simple_mcp_workflow.py new file mode 100644 index 000000000..2fac64bc5 --- /dev/null +++ b/openai_agents/hosted_mcp/workflows/simple_mcp_workflow.py @@ -0,0 +1,28 @@ +from __future__ import annotations + +from agents import Agent, HostedMCPTool, Runner +from temporalio import workflow + + +@workflow.defn +class SimpleMCPWorkflow: + @workflow.run + async def run( + self, question: str, server_url: str = "https://gitmcp.io/openai/codex" + ) -> str: + agent = Agent( + name="Assistant", + tools=[ + HostedMCPTool( + tool_config={ + "type": "mcp", + "server_label": "gitmcp", + "server_url": server_url, + "require_approval": "never", + } + ) + ], + ) + + result = await Runner.run(agent, question) + return result.final_output diff --git a/openai_agents/mcp/README.md b/openai_agents/mcp/README.md new file mode 100644 index 000000000..d9a172f30 --- /dev/null +++ b/openai_agents/mcp/README.md @@ -0,0 +1,91 @@ +# MCP Examples + +Integration with MCP (Model Context Protocol) servers using OpenAI agents in Temporal workflows. + +*Adapted from [OpenAI Agents SDK MCP examples](https://github.com/openai/openai-agents-python/tree/main/examples/mcp)* + +Before running these examples, be sure to review the [prerequisites and background on the integration](../README.md). + + +## Running the Examples + +### Stdio MCP + +First, start the worker: +```bash +uv run openai_agents/mcp/run_file_system_worker.py +``` + +Run the workflow: +```bash +uv run openai_agents/mcp/run_file_system_workflow.py +``` + +This sample assumes that the worker and `run_file_system_workflow.py` are on the same machine. + + +### Streamable HTTP MCP + +First, start the worker: +```bash +uv run openai_agents/mcp/servers/tools_server.py --transport=streamable-http +``` + +Then start the worker: +```bash +uv run openai_agents/mcp/run_streamable_http_worker.py +``` + +Finally, run the workflow: +```bash +uv run openai_agents/mcp/run_streamable_http_workflow.py +``` + +### SSE MCP + +First, start the MCP server: +```bash +uv run openai_agents/mcp/servers/tools_server.py --transport=sse +``` + +Then start the worker: +```bash +uv run openai_agents/mcp/run_sse_worker.py +``` + +Finally, run the workflow: +```bash +uv run openai_agents/mcp/run_sse_workflow.py +``` + +### Prompt Server MCP + +First, start the MCP server: +```bash +uv run openai_agents/mcp/servers/prompt_server.py +``` + +Then start the worker: +```bash +uv run openai_agents/mcp/run_prompt_server_worker.py +``` + +Finally, run the workflow: +```bash +uv run openai_agents/mcp/run_prompt_server_workflow.py +``` + + +### Memory MCP (Research Scratchpad) + +Demonstrates durable note-taking with the Memory MCP server: write seed notes, query by tags, synthesize a brief with citations, then update and delete notes. + +Start the worker: +```bash +uv run openai_agents/mcp/run_memory_research_scratchpad_worker.py +``` + +Run the research scratchpad workflow: +```bash +uv run openai_agents/mcp/run_memory_research_scratchpad_workflow.py +``` diff --git a/openai_agents/mcp/run_file_system_worker.py b/openai_agents/mcp/run_file_system_worker.py new file mode 100644 index 000000000..2ed8dffdf --- /dev/null +++ b/openai_agents/mcp/run_file_system_worker.py @@ -0,0 +1,66 @@ +from __future__ import annotations + +import asyncio +import logging +import os +from datetime import timedelta + +from agents.mcp import MCPServerStdio +from temporalio.client import Client +from temporalio.contrib.openai_agents import ( + ModelActivityParameters, + OpenAIAgentsPlugin, + StatelessMCPServerProvider, +) +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from openai_agents.mcp.workflows.file_system_workflow import FileSystemWorkflow + + +async def main(): + logging.basicConfig(level=logging.INFO) + current_dir = os.path.dirname(os.path.abspath(__file__)) + samples_dir = os.path.join(current_dir, "sample_files") + + file_system_server = StatelessMCPServerProvider( + "FileSystemServer", + lambda: MCPServerStdio( + name="FileSystemServer", + params={ + "command": "npx", + "args": ["-y", "@modelcontextprotocol/server-filesystem", samples_dir], + }, + ), + ) + + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=60) + ), + mcp_server_providers=[file_system_server], + ), + ], + ) + + worker = Worker( + client, + task_queue=f"openai-agents-mcp-filesystem-task-queue", + workflows=[ + FileSystemWorkflow, + ], + activities=[ + # No custom activities needed for these workflows + ], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/mcp/run_file_system_workflow.py b/openai_agents/mcp/run_file_system_workflow.py new file mode 100644 index 000000000..d076d3d5c --- /dev/null +++ b/openai_agents/mcp/run_file_system_workflow.py @@ -0,0 +1,32 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.envconfig import ClientConfig + +from openai_agents.mcp.workflows.file_system_workflow import FileSystemWorkflow + + +async def main(): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + FileSystemWorkflow.run, + id="file-system-workflow", + task_queue="openai-agents-mcp-filesystem-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/mcp/run_memory_research_scratchpad_worker.py b/openai_agents/mcp/run_memory_research_scratchpad_worker.py new file mode 100644 index 000000000..536ab9745 --- /dev/null +++ b/openai_agents/mcp/run_memory_research_scratchpad_worker.py @@ -0,0 +1,63 @@ +from __future__ import annotations + +import asyncio +import logging +from datetime import timedelta + +from agents.mcp import MCPServerStdio +from temporalio.client import Client +from temporalio.contrib.openai_agents import ( + ModelActivityParameters, + OpenAIAgentsPlugin, + StatefulMCPServerProvider, +) +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from openai_agents.mcp.workflows.memory_research_scratchpad_workflow import ( + MemoryResearchScratchpadWorkflow, +) + + +async def main(): + logging.basicConfig(level=logging.INFO) + + memory_server_provider = StatefulMCPServerProvider( + "MemoryServer", + lambda _: MCPServerStdio( + name="MemoryServer", + params={ + "command": "npx", + "args": ["-y", "@modelcontextprotocol/server-memory"], + }, + ), + ) + + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=60) + ), + mcp_server_providers=[memory_server_provider], + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-mcp-memory-task-queue", + workflows=[ + MemoryResearchScratchpadWorkflow, + ], + activities=[], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/mcp/run_memory_research_scratchpad_workflow.py b/openai_agents/mcp/run_memory_research_scratchpad_workflow.py new file mode 100644 index 000000000..bf724f9a9 --- /dev/null +++ b/openai_agents/mcp/run_memory_research_scratchpad_workflow.py @@ -0,0 +1,34 @@ +from __future__ import annotations + +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.envconfig import ClientConfig + +from openai_agents.mcp.workflows.memory_research_scratchpad_workflow import ( + MemoryResearchScratchpadWorkflow, +) + + +async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + result = await client.execute_workflow( + MemoryResearchScratchpadWorkflow.run, + id="memory-research-scratchpad-workflow", + task_queue="openai-agents-mcp-memory-task-queue", + ) + + print(f"Result:\n{result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/mcp/run_prompt_server_worker.py b/openai_agents/mcp/run_prompt_server_worker.py new file mode 100644 index 000000000..08b68faee --- /dev/null +++ b/openai_agents/mcp/run_prompt_server_worker.py @@ -0,0 +1,68 @@ +from __future__ import annotations + +import asyncio +import logging +from datetime import timedelta + +from agents.mcp import MCPServerStreamableHttp +from temporalio.client import Client +from temporalio.contrib.openai_agents import ( + ModelActivityParameters, + OpenAIAgentsPlugin, + StatelessMCPServerProvider, +) +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from openai_agents.mcp.workflows.prompt_server_workflow import PromptServerWorkflow + + +async def main(): + logging.basicConfig(level=logging.INFO) + + print("Setting up worker...\n") + + try: + prompt_server_provider = StatelessMCPServerProvider( + "PromptServer", + lambda: MCPServerStreamableHttp( + name="PromptServer", + params={ + "url": "http://localhost:8000/mcp", + }, + ), + ) + + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=120) + ), + mcp_server_providers=[prompt_server_provider], + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-mcp-prompt-task-queue", + workflows=[ + PromptServerWorkflow, + ], + activities=[ + # No custom activities needed for these workflows + ], + ) + await worker.run() + except Exception as e: + print(f"Worker failed: {e}") + raise + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/mcp/run_prompt_server_workflow.py b/openai_agents/mcp/run_prompt_server_workflow.py new file mode 100644 index 000000000..9cad27250 --- /dev/null +++ b/openai_agents/mcp/run_prompt_server_workflow.py @@ -0,0 +1,32 @@ +from __future__ import annotations + +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.envconfig import ClientConfig + +from openai_agents.mcp.workflows.prompt_server_workflow import PromptServerWorkflow + + +async def main(): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[OpenAIAgentsPlugin()], + ) + + # Execute a workflow + result = await client.execute_workflow( + PromptServerWorkflow.run, + id="prompt-server-workflow", + task_queue="openai-agents-mcp-prompt-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/mcp/run_sse_worker.py b/openai_agents/mcp/run_sse_worker.py new file mode 100644 index 000000000..8ed719bdc --- /dev/null +++ b/openai_agents/mcp/run_sse_worker.py @@ -0,0 +1,68 @@ +from __future__ import annotations + +import asyncio +import logging +from datetime import timedelta + +from agents.mcp import MCPServerSse +from temporalio.client import Client +from temporalio.contrib.openai_agents import ( + ModelActivityParameters, + OpenAIAgentsPlugin, + StatelessMCPServerProvider, +) +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from openai_agents.mcp.workflows.sse_workflow import SseWorkflow + + +async def main(): + logging.basicConfig(level=logging.INFO) + + print("Setting up worker...\n") + + try: + sse_server_provider = StatelessMCPServerProvider( + "SseServer", + lambda: MCPServerSse( + name="SseServer", + params={ + "url": "http://localhost:8000/sse", + }, + ), + ) + + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=60) + ), + mcp_server_providers=[sse_server_provider], + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-mcp-sse-task-queue", + workflows=[ + SseWorkflow, + ], + activities=[ + # No custom activities needed for these workflows + ], + ) + await worker.run() + except Exception as e: + print(f"Worker failed: {e}") + raise + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/mcp/run_sse_workflow.py b/openai_agents/mcp/run_sse_workflow.py new file mode 100644 index 000000000..8effd5fe1 --- /dev/null +++ b/openai_agents/mcp/run_sse_workflow.py @@ -0,0 +1,32 @@ +from __future__ import annotations + +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.envconfig import ClientConfig + +from openai_agents.mcp.workflows.sse_workflow import SseWorkflow + + +async def main(): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[OpenAIAgentsPlugin()], + ) + + # Execute a workflow + result = await client.execute_workflow( + SseWorkflow.run, + id="sse-workflow", + task_queue="openai-agents-mcp-sse-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/mcp/run_streamable_http_worker.py b/openai_agents/mcp/run_streamable_http_worker.py new file mode 100644 index 000000000..724147273 --- /dev/null +++ b/openai_agents/mcp/run_streamable_http_worker.py @@ -0,0 +1,68 @@ +from __future__ import annotations + +import asyncio +import logging +from datetime import timedelta + +from agents.mcp import MCPServerStreamableHttp +from temporalio.client import Client +from temporalio.contrib.openai_agents import ( + ModelActivityParameters, + OpenAIAgentsPlugin, + StatelessMCPServerProvider, +) +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from openai_agents.mcp.workflows.streamable_http_workflow import StreamableHttpWorkflow + + +async def main(): + logging.basicConfig(level=logging.INFO) + + print("Setting up worker...\n") + + try: + streamable_http_server_provider = StatelessMCPServerProvider( + "StreamableHttpServer", + lambda: MCPServerStreamableHttp( + name="StreamableHttpServer", + params={ + "url": "http://localhost:8000/mcp", + }, + ), + ) + + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=60) + ), + mcp_server_providers=[streamable_http_server_provider], + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-mcp-streamable-http-task-queue", + workflows=[ + StreamableHttpWorkflow, + ], + activities=[ + # No custom activities needed for these workflows + ], + ) + await worker.run() + except Exception as e: + print(f"Worker failed: {e}") + raise + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/mcp/run_streamable_http_workflow.py b/openai_agents/mcp/run_streamable_http_workflow.py new file mode 100644 index 000000000..b691e456d --- /dev/null +++ b/openai_agents/mcp/run_streamable_http_workflow.py @@ -0,0 +1,32 @@ +from __future__ import annotations + +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.envconfig import ClientConfig + +from openai_agents.mcp.workflows.streamable_http_workflow import StreamableHttpWorkflow + + +async def main(): + # Create client connected to server at the given address + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect( + **config, + plugins=[OpenAIAgentsPlugin()], + ) + + # Execute a workflow + result = await client.execute_workflow( + StreamableHttpWorkflow.run, + id="streamable-http-workflow", + task_queue="openai-agents-mcp-streamable-http-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/mcp/sample_files/favorite_books.txt b/openai_agents/mcp/sample_files/favorite_books.txt new file mode 100644 index 000000000..c55f457ec --- /dev/null +++ b/openai_agents/mcp/sample_files/favorite_books.txt @@ -0,0 +1,20 @@ +1. To Kill a Mockingbird – Harper Lee +2. Pride and Prejudice – Jane Austen +3. 1984 – George Orwell +4. The Hobbit – J.R.R. Tolkien +5. Harry Potter and the Sorcerer’s Stone – J.K. Rowling +6. The Great Gatsby – F. Scott Fitzgerald +7. Charlotte’s Web – E.B. White +8. Anne of Green Gables – Lucy Maud Montgomery +9. The Alchemist – Paulo Coelho +10. Little Women – Louisa May Alcott +11. The Catcher in the Rye – J.D. Salinger +12. Animal Farm – George Orwell +13. The Chronicles of Narnia: The Lion, the Witch, and the Wardrobe – C.S. Lewis +14. The Book Thief – Markus Zusak +15. A Wrinkle in Time – Madeleine L’Engle +16. The Secret Garden – Frances Hodgson Burnett +17. Moby-Dick – Herman Melville +18. Fahrenheit 451 – Ray Bradbury +19. Jane Eyre – Charlotte Brontë +20. The Little Prince – Antoine de Saint-Exupéry \ No newline at end of file diff --git a/openai_agents/mcp/sample_files/favorite_cities.txt b/openai_agents/mcp/sample_files/favorite_cities.txt new file mode 100644 index 000000000..1d3354f22 --- /dev/null +++ b/openai_agents/mcp/sample_files/favorite_cities.txt @@ -0,0 +1,4 @@ +- In the summer, I love visiting London. +- In the winter, Tokyo is great. +- In the spring, San Francisco. +- In the fall, New York is the best. \ No newline at end of file diff --git a/openai_agents/mcp/sample_files/favorite_songs.txt b/openai_agents/mcp/sample_files/favorite_songs.txt new file mode 100644 index 000000000..d659bb589 --- /dev/null +++ b/openai_agents/mcp/sample_files/favorite_songs.txt @@ -0,0 +1,10 @@ +1. "Here Comes the Sun" – The Beatles +2. "Imagine" – John Lennon +3. "Bohemian Rhapsody" – Queen +4. "Shake It Off" – Taylor Swift +5. "Billie Jean" – Michael Jackson +6. "Uptown Funk" – Mark Ronson ft. Bruno Mars +7. "Don’t Stop Believin’" – Journey +8. "Dancing Queen" – ABBA +9. "Happy" – Pharrell Williams +10. "Wonderwall" – Oasis diff --git a/openai_agents/mcp/servers/prompt_server.py b/openai_agents/mcp/servers/prompt_server.py new file mode 100644 index 000000000..07f025ce6 --- /dev/null +++ b/openai_agents/mcp/servers/prompt_server.py @@ -0,0 +1,58 @@ +from mcp.server.fastmcp import FastMCP + +# Create server +mcp = FastMCP("Prompt Server") + + +# Instruction-generating prompts (user-controlled) +@mcp.prompt() +def generate_code_review_instructions( + focus: str = "general code quality", language: str = "python" +) -> str: + """Generate agent instructions for code review tasks""" + print(f"[debug-server] generate_code_review_instructions({focus}, {language})") + + return f"""You are a senior {language} code review specialist. Your role is to provide comprehensive code analysis with focus on {focus}. + +INSTRUCTIONS: +- Analyze code for quality, security, performance, and best practices +- Provide specific, actionable feedback with examples +- Identify potential bugs, vulnerabilities, and optimization opportunities +- Suggest improvements with code examples when applicable +- Be constructive and educational in your feedback +- Focus particularly on {focus} aspects + +RESPONSE FORMAT: +1. Overall Assessment +2. Specific Issues Found +3. Security Considerations +4. Performance Notes +5. Recommended Improvements +6. Best Practices Suggestions + +Use the available tools to check current time if you need timestamps for your analysis.""" + + +@mcp.prompt() +def generate_review_rubric(target: str = "application code") -> str: + """Generate a scoring rubric for reviewing code or plans""" + return f"""You are evaluating {target}. Score each category 1-5 and justify briefly. + +CATEGORIES: +- Correctness and Reliability +- Security and Risk +- Performance and Efficiency +- Readability and Maintainability +- Testability and Coverage +- Compliance with Style/Guidelines + +FORMAT: +- Overall Score (1-5) +- Category Scores (bulleted) +- Top 3 Issues (with impact level and suggested fix) +- Quick Wins (3 bullets) +""" + + +if __name__ == "__main__": + mcp.run(transport="streamable-http") diff --git a/openai_agents/mcp/servers/tools_server.py b/openai_agents/mcp/servers/tools_server.py new file mode 100644 index 000000000..a329c7ee3 --- /dev/null +++ b/openai_agents/mcp/servers/tools_server.py @@ -0,0 +1,44 @@ +import argparse +import random + +import requests +from mcp.server.fastmcp import FastMCP + +# Create server +mcp = FastMCP("Tools Server") + + +@mcp.tool() +def add(a: int, b: int) -> int: + """Add two numbers""" + print(f"[debug-server] add({a}, {b})") + return a + b + + +@mcp.tool() +def get_secret_word() -> str: + print("[debug-server] get_secret_word()") + return random.choice(["apple", "banana", "cherry"]) + + +@mcp.tool() +def get_current_weather(city: str) -> str: + print(f"[debug-server] get_current_weather({city})") + + endpoint = "https://wttr.in" + response = requests.get(f"{endpoint}/{city}") + return response.text + + +if __name__ == "__main__": + parser = argparse.ArgumentParser(description="MCP Tools Server") + parser.add_argument( + "--transport", + choices=["streamable-http", "sse"], + default="streamable-http", + help="Transport type (default: streamable-http)", + ) + args = parser.parse_args() + + print(f"Starting Tools Server with {args.transport} transport...") + mcp.run(transport=args.transport) diff --git a/openai_agents/mcp/workflows/file_system_workflow.py b/openai_agents/mcp/workflows/file_system_workflow.py new file mode 100644 index 000000000..b3528c185 --- /dev/null +++ b/openai_agents/mcp/workflows/file_system_workflow.py @@ -0,0 +1,40 @@ +from __future__ import annotations + +from agents import Agent, Runner, trace +from agents.mcp import MCPServer +from temporalio import workflow +from temporalio.contrib import openai_agents + + +@workflow.defn +class FileSystemWorkflow: + @workflow.run + async def run(self) -> str: + with trace(workflow_name="MCP File System Example"): + server: MCPServer = openai_agents.workflow.stateless_mcp_server( + "FileSystemServer" + ) + agent = Agent( + name="Assistant", + instructions="Use the tools to read the filesystem and answer questions based on those files.", + mcp_servers=[server], + ) + + # List the files it can read + message = "Read the files and list them." + workflow.logger.info(f"Running: {message}") + result1 = await Runner.run(starting_agent=agent, input=message) + + # Ask about books + message = "What is my #1 favorite book?" + workflow.logger.info(f"Running: {message}") + result2 = await Runner.run(starting_agent=agent, input=message) + + # Ask a question that reads then reasons. + message = ( + "Look at my favorite songs. Suggest one new song that I might like." + ) + workflow.logger.info(f"Running: {message}") + result3 = await Runner.run(starting_agent=agent, input=message) + + return f"{result1.final_output}\n\n{result2.final_output}\n\n{result3.final_output}" diff --git a/openai_agents/mcp/workflows/memory_research_scratchpad_workflow.py b/openai_agents/mcp/workflows/memory_research_scratchpad_workflow.py new file mode 100644 index 000000000..1812a4521 --- /dev/null +++ b/openai_agents/mcp/workflows/memory_research_scratchpad_workflow.py @@ -0,0 +1,122 @@ +from __future__ import annotations + +from agents import Agent, Runner, trace +from agents.model_settings import ModelSettings +from temporalio import workflow +from temporalio.contrib import openai_agents as temporal_openai_agents + +SEED_NOTES = [ + ( + "scratchpad/ai-sum/001", + "Study A (2024-04)", + "Summaries reduced triage time by 22% (n=60).", + ["ai-summarization", "email", "kpi"], + ), + ( + "scratchpad/ai-sum/002", + "User preference", + "Users prefer action-first summaries with 5–8 bullets max.", + ["ai-summarization", "email", "ux"], + ), + ( + "scratchpad/ai-sum/003", + "Risk: misleading summaries", + "Hallucination risk; mitigation: confidence thresholds + easy fallback to original email.", + ["ai-summarization", "email", "risk"], + ), + ( + "scratchpad/ai-sum/004", + "Latency consideration", + "Cold-start latency noticeable on first open; can cache or precompute in background.", + ["ai-summarization", "email", "perf"], + ), + ( + "scratchpad/ai-sum/005", + "Adoption insight", + "Admin controls improve enterprise adoption; opt-in increases trust and perceived control.", + ["ai-summarization", "email", "adoption"], + ), +] + + +@workflow.defn +class MemoryResearchScratchpadWorkflow: + @workflow.run + async def run(self) -> str: + async with temporal_openai_agents.workflow.stateful_mcp_server( + "MemoryServer", + ) as server: + with trace(workflow_name="MCP Memory Scratchpad Example"): + agent = Agent( + name="Research Scratchpad Agent", + instructions=( + "Use the Memory MCP tools to persist, query, update, and delete notes." + " Keep IDs short and consistent. Synthesis must rely only on recalled notes and include simple" + " citations of the form '(Note: id)'. Keep the brief to 5 bullets." + ), + mcp_servers=[server], + model_settings=ModelSettings(tool_choice="required"), + ) + + # Step 1: Write seed notes to memory + write_prompt_lines = [ + "Store the following notes in memory. Use the given id and tags for each entry.", + "After storing, confirm each (id, tags) that was written.", + "", + ] + for note_id, title, content, tags in SEED_NOTES: + # Store tags as separate observation lines so search can reliably match them + tag_obs = ", ".join([f"tag: {t}" for t in tags]) + write_prompt_lines.append( + f"- id: {note_id}; title: {title}; content: {content}; observations: [{tag_obs}]" + ) + write_prompt = "\n".join(write_prompt_lines) + workflow.logger.info("Writing seed notes to memory") + r1 = await Runner.run(starting_agent=agent, input=write_prompt) + + # Step 2: Query by tags + query_prompt = ( + "Search memory for notes that contain BOTH observations 'tag: ai-summarization' and 'tag: email'. " + "If the search returns empty, list entities with the name prefix 'scratchpad/ai-sum/' and filter to those that have both tag observations. " + "For the resulting ids, call retrieve_entities to fetch their observations, then return a normalized list of (id, title, 1–2 key points) based on the retrieved entities." + ) + workflow.logger.info("Querying notes by tags") + r2 = await Runner.run( + starting_agent=agent, + input=query_prompt, + previous_response_id=r1.last_response_id, + ) + + # Step 3: Synthesis with citations + synth_prompt = ( + "Using only the recalled notes, produce a 5-bullet brief. " + "Include one citation per bullet in the form '(Note: id)'. Do not introduce new facts." + ) + workflow.logger.info("Synthesizing brief from recalled notes") + r3 = await Runner.run( + starting_agent=agent, + input=synth_prompt, + previous_response_id=r2.last_response_id, + ) + + # Step 4: Update and re-query (optional demonstration) + update_prompt = ( + "Update the note 'scratchpad/ai-sum/003' to include more precise mitigation:" + " 'threshold=0.7; fallback to full email on low confidence'. Then delete the note" + " 'scratchpad/ai-sum/005'. Finally, list only the remaining 'risk' notes with (id, updated content)." + ) + workflow.logger.info( + "Updating one note and deleting another, then re-listing risk notes" + ) + r4 = await Runner.run( + starting_agent=agent, + input=update_prompt, + previous_response_id=r3.last_response_id, + ) + + return ( + f"WRITE CONFIRMATIONS:\n{r1.final_output}\n\n" + f"QUERY RESULTS:\n{r2.final_output}\n\n" + f"SYNTHESIS:\n{r3.final_output}\n\n" + f"UPDATES:\n{r4.final_output}" + ) diff --git a/openai_agents/mcp/workflows/prompt_server_workflow.py b/openai_agents/mcp/workflows/prompt_server_workflow.py new file mode 100644 index 000000000..0a8735610 --- /dev/null +++ b/openai_agents/mcp/workflows/prompt_server_workflow.py @@ -0,0 +1,79 @@ +from __future__ import annotations + +from agents import Agent, Runner, trace +from agents.mcp import MCPServer +from temporalio import workflow +from temporalio.contrib import openai_agents + + +@workflow.defn +class PromptServerWorkflow: + @workflow.run + async def run(self) -> str: + with trace(workflow_name="Prompt Server Example"): + outputs: list[str] = [] + server: MCPServer = openai_agents.workflow.stateless_mcp_server( + "PromptServer" + ) + + # Show available prompts + workflow.logger.info("=== AVAILABLE PROMPTS ===") + outputs.append("=== AVAILABLE PROMPTS ===") + prompts_result = await server.list_prompts() + workflow.logger.info("User can select from these prompts:") + outputs.append("User can select from these prompts:") + for i, prompt in enumerate(prompts_result.prompts, 1): + line = f" {i}. {prompt.name} - {prompt.description}" + workflow.logger.info(line) + outputs.append(line) + workflow.logger.info("") + outputs.append("") + + # Demo code review with user-selected prompt + workflow.logger.info("=== CODE REVIEW DEMO ===") + + # Get instructions from prompt + workflow.logger.info( + "Getting instructions from prompt: generate_code_review_instructions" + ) + try: + prompt_result = await server.get_prompt( + "generate_code_review_instructions", + {"focus": "security vulnerabilities", "language": "python"}, + ) + content = prompt_result.messages[0].content + instructions = ( + content.text if hasattr(content, "text") else str(content) + ) + workflow.logger.info("Generated instructions") + preview = instructions[:200].replace("\n", " ") + ( + "..." if len(instructions) > 200 else "" + ) + outputs.append("=== INSTRUCTIONS (PREVIEW) ===") + outputs.append(preview) + except Exception as e: + workflow.logger.info(f"Failed to get instructions: {e}") + instructions = f"You are a helpful assistant. Error: {e}" + outputs.append(f"Failed to get instructions: {e}") + + agent = Agent( + name="Code Reviewer Agent", + instructions=instructions, + ) + + message = """Please review this code: + +def process_user_input(user_input): + command = f"echo {user_input}" + os.system(command) + return "Command executed" + +""" + + workflow.logger.info(f"Running: {message[:60]}...") + outputs.append("=== REVIEW OUTPUT ===") + result = await Runner.run(starting_agent=agent, input=message) + workflow.logger.info(result.final_output) + outputs.append(result.final_output) + workflow.logger.info("\n" + "=" * 50 + "\n") + return "\n".join(outputs) diff --git a/openai_agents/mcp/workflows/sse_workflow.py b/openai_agents/mcp/workflows/sse_workflow.py new file mode 100644 index 000000000..c8b80e033 --- /dev/null +++ b/openai_agents/mcp/workflows/sse_workflow.py @@ -0,0 +1,38 @@ +from __future__ import annotations + +from agents import Agent, Runner, trace +from agents.mcp import MCPServer +from agents.model_settings import ModelSettings +from temporalio import workflow +from temporalio.contrib import openai_agents + + +@workflow.defn +class SseWorkflow: + @workflow.run + async def run(self) -> str: + with trace(workflow_name="SSE Example"): + server: MCPServer = openai_agents.workflow.stateless_mcp_server("SseServer") + agent = Agent( + name="Assistant", + instructions="Use the tools to answer the questions.", + mcp_servers=[server], + model_settings=ModelSettings(tool_choice="required"), + ) + + # Use the `add` tool to add two numbers + message = "Add these numbers: 7 and 22." + workflow.logger.info(f"Running: {message}") + result1 = await Runner.run(starting_agent=agent, input=message) + + # Run the `get_weather` tool + message = "What's the weather in Tokyo?" + workflow.logger.info(f"Running: {message}") + result2 = await Runner.run(starting_agent=agent, input=message) + + # Run the `get_secret_word` tool + message = "What's the secret word?" + workflow.logger.info(f"Running: {message}") + result3 = await Runner.run(starting_agent=agent, input=message) + + return f"{result1.final_output}\n\n{result2.final_output}\n\n{result3.final_output}" diff --git a/openai_agents/mcp/workflows/streamable_http_workflow.py b/openai_agents/mcp/workflows/streamable_http_workflow.py new file mode 100644 index 000000000..98b7d5766 --- /dev/null +++ b/openai_agents/mcp/workflows/streamable_http_workflow.py @@ -0,0 +1,40 @@ +from __future__ import annotations + +from agents import Agent, Runner, trace +from agents.mcp import MCPServer +from agents.model_settings import ModelSettings +from temporalio import workflow +from temporalio.contrib import openai_agents + + +@workflow.defn +class StreamableHttpWorkflow: + @workflow.run + async def run(self) -> str: + with trace(workflow_name="Streamable HTTP Example"): + server: MCPServer = openai_agents.workflow.stateless_mcp_server( + "StreamableHttpServer" + ) + agent = Agent( + name="Assistant", + instructions="Use the tools to answer the questions.", + mcp_servers=[server], + model_settings=ModelSettings(tool_choice="required"), + ) + + # Use the `add` tool to add two numbers + message = "Add these numbers: 7 and 22." + workflow.logger.info(f"Running: {message}") + result1 = await Runner.run(starting_agent=agent, input=message) + + # Run the `get_weather` tool + message = "What's the weather in Tokyo?" + workflow.logger.info(f"Running: {message}") + result2 = await Runner.run(starting_agent=agent, input=message) + + # Run the `get_secret_word` tool + message = "What's the secret word?" + workflow.logger.info(f"Running: {message}") + result3 = await Runner.run(starting_agent=agent, input=message) + + return f"{result1.final_output}\n\n{result2.final_output}\n\n{result3.final_output}" diff --git a/openai_agents/model_providers/README.md b/openai_agents/model_providers/README.md new file mode 100644 index 000000000..df8f286e8 --- /dev/null +++ b/openai_agents/model_providers/README.md @@ -0,0 +1,67 @@ +# Model Providers Examples + +Custom LLM provider integration examples for OpenAI Agents SDK with Temporal workflows. + +*Adapted from [OpenAI Agents SDK model providers examples](https://github.com/openai/openai-agents-python/tree/main/examples/model_providers)* + +Before running these examples, be sure to review the [prerequisites and background on the integration](../README.md). + +## Running the Examples + +### Currently Implemented + +#### LiteLLM Auto +Uses built-in LiteLLM support to connect to various model providers. + +Start the LiteLLM provider worker: +```bash +# Set the required environment variable for your chosen provider +export ANTHROPIC_API_KEY="your_anthropic_api_key" # For Anthropic + +uv run openai_agents/model_providers/run_litellm_provider_worker.py +``` + +Then run the example in a separate terminal: +```bash +uv run openai_agents/model_providers/run_litellm_auto_workflow.py +``` + +The example uses Anthropic Claude by default but can be modified to use other LiteLLM-supported providers. + +Find more LiteLLM providers at: https://docs.litellm.ai/docs/providers + +### Extra + +#### GPT-OSS with Ollama + +This example demonstrates tool calling using the gpt-oss reasoning model with a local Ollama server. +Running this example requires sufficiently powerful hardware (and involves a 14 GB model download. +It is adapted from the [OpenAI Cookbook example](https://cookbook.openai.com/articles/gpt-oss/run-locally-ollama#agents-sdk-integration). + + +Make sure you have [Ollama](https://ollama.com/) installed: +```bash +ollama serve +``` + +Download the `gpt-oss` model: +```bash +ollama pull gpt-oss:20b +``` + +Start the gpt-oss worker: +```bash +uv run openai_agents/model_providers/run_gpt_oss_worker.py +``` + +Then run the example in a separate terminal: +```bash +uv run openai_agents/model_providers/run_gpt_oss_workflow.py +``` + +### Not Yet Implemented + +- **Custom Example Agent** - Custom OpenAI client integration +- **Custom Example Global** - Global default client configuration +- **Custom Example Provider** - Custom ModelProvider pattern +- **LiteLLM Provider** - Interactive model/API key input \ No newline at end of file diff --git a/openai_agents/model_providers/run_gpt_oss_worker.py b/openai_agents/model_providers/run_gpt_oss_worker.py new file mode 100644 index 000000000..59798a1d4 --- /dev/null +++ b/openai_agents/model_providers/run_gpt_oss_worker.py @@ -0,0 +1,68 @@ +import asyncio +import logging +from datetime import timedelta +from typing import Optional + +from agents import ( + Model, + ModelProvider, + OpenAIChatCompletionsModel, + set_tracing_disabled, +) +from openai import AsyncOpenAI +from temporalio.client import Client +from temporalio.contrib.openai_agents import ModelActivityParameters, OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.model_providers.workflows.gpt_oss_workflow import GptOssWorkflow + +ollama_client = AsyncOpenAI( + base_url="http://localhost:11434/v1", # Local Ollama API endpoint + api_key="ollama", # Ignored by Ollama +) + + +class CustomModelProvider(ModelProvider): + def get_model(self, model_name: Optional[str]) -> Model: + model = OpenAIChatCompletionsModel( + model=model_name if model_name else "gpt-oss:20b", + openai_client=ollama_client, + ) + return model + + +async def main(): + # Disable Agents SDK tracing — the default exporter sends traces to OpenAI's + # backend, which requires an OpenAI API key not available in these samples. + # Call here rather than in the workflow because it's a global side effect. + set_tracing_disabled(disabled=True) + + # Configure logging to show workflow debug messages + logging.basicConfig(level=logging.WARNING) + logging.getLogger("temporalio.workflow").setLevel(logging.DEBUG) + + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=30) + ), + model_provider=CustomModelProvider(), + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-model-providers-task-queue", + workflows=[ + GptOssWorkflow, + ], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/model_providers/run_gpt_oss_workflow.py b/openai_agents/model_providers/run_gpt_oss_workflow.py new file mode 100644 index 000000000..35df5979d --- /dev/null +++ b/openai_agents/model_providers/run_gpt_oss_workflow.py @@ -0,0 +1,27 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.model_providers.workflows.gpt_oss_workflow import GptOssWorkflow + + +async def main(): + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + result = await client.execute_workflow( + GptOssWorkflow.run, + "What's the weather in Tokyo?", + id="litellm-gpt-oss-workflow-id", + task_queue="openai-agents-model-providers-task-queue", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/model_providers/run_litellm_auto_workflow.py b/openai_agents/model_providers/run_litellm_auto_workflow.py new file mode 100644 index 000000000..0e4e05f14 --- /dev/null +++ b/openai_agents/model_providers/run_litellm_auto_workflow.py @@ -0,0 +1,29 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.model_providers.workflows.litellm_auto_workflow import ( + LitellmAutoWorkflow, +) + + +async def main(): + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + result = await client.execute_workflow( + LitellmAutoWorkflow.run, + "What's the weather in Tokyo?", + id="litellm-auto-workflow-id", + task_queue="openai-agents-model-providers-task-queue", + ) + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/model_providers/run_litellm_provider_worker.py b/openai_agents/model_providers/run_litellm_provider_worker.py new file mode 100644 index 000000000..3441013c7 --- /dev/null +++ b/openai_agents/model_providers/run_litellm_provider_worker.py @@ -0,0 +1,45 @@ +import asyncio +from datetime import timedelta + +from agents import set_tracing_disabled +from agents.extensions.models.litellm_provider import LitellmProvider +from temporalio.client import Client +from temporalio.contrib.openai_agents import ModelActivityParameters, OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.model_providers.workflows.litellm_auto_workflow import ( + LitellmAutoWorkflow, +) + + +async def main(): + # Disable Agents SDK tracing — the default exporter sends traces to OpenAI's + # backend, which requires an OpenAI API key not available in these samples. + # Call here rather than in the workflow because it's a global side effect. + set_tracing_disabled(disabled=True) + + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=30) + ), + model_provider=LitellmProvider(), + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-model-providers-task-queue", + workflows=[ + LitellmAutoWorkflow, + ], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/model_providers/workflows/gpt_oss_workflow.py b/openai_agents/model_providers/workflows/gpt_oss_workflow.py new file mode 100644 index 000000000..821844b3e --- /dev/null +++ b/openai_agents/model_providers/workflows/gpt_oss_workflow.py @@ -0,0 +1,24 @@ +from __future__ import annotations + +from agents import Agent, Runner, function_tool +from temporalio import workflow + + +@workflow.defn +class GptOssWorkflow: + @workflow.run + async def run(self, prompt: str) -> str: + @function_tool + def get_weather(city: str): + workflow.logger.debug(f"Getting weather for {city}") + return f"The weather in {city} is sunny." + + agent = Agent( + name="Assistant", + instructions="You only respond in haikus. When asked about the weather always use the tool to get the current weather..", + model="gpt-oss:20b", + tools=[get_weather], + ) + + result = await Runner.run(agent, prompt) + return result.final_output diff --git a/openai_agents/model_providers/workflows/litellm_auto_workflow.py b/openai_agents/model_providers/workflows/litellm_auto_workflow.py new file mode 100644 index 000000000..9fe3d40b7 --- /dev/null +++ b/openai_agents/model_providers/workflows/litellm_auto_workflow.py @@ -0,0 +1,23 @@ +from __future__ import annotations + +from agents import Agent, Runner, function_tool +from temporalio import workflow + + +@workflow.defn +class LitellmAutoWorkflow: + @workflow.run + async def run(self, prompt: str) -> str: + @function_tool + def get_weather(city: str): + return f"The weather in {city} is sunny." + + agent = Agent( + name="Assistant", + instructions="You only respond in haikus.", + model="anthropic/claude-3-5-sonnet-20240620", + tools=[get_weather], + ) + + result = await Runner.run(agent, prompt) + return result.final_output diff --git a/openai_agents/reasoning_content/README.md b/openai_agents/reasoning_content/README.md new file mode 100644 index 000000000..52ad48372 --- /dev/null +++ b/openai_agents/reasoning_content/README.md @@ -0,0 +1,37 @@ +# Reasoning Content + +Example demonstrating how to use the reasoning content feature with models that support it, running in the context of Temporal's durable execution. + +*Adapted from [OpenAI Agents SDK reasoning content](https://github.com/openai/openai-agents-python/tree/main/examples/reasoning_content)* + +## Overview + +Some models, like deepseek-reasoner, provide a reasoning_content field in addition to the regular content. This example shows how to access and use this reasoning content within Temporal workflows. The reasoning content contains the model's step-by-step thinking process before providing the final answer. + +## Architecture + +This example uses an activity to handle the OpenAI model calls. The workflow orchestrates the process by calling the `get_reasoning_response` activity, which uses the OpenAI provider to get a response from a reasoning-capable model and extracts both reasoning content and regular content. + +The model calls are run in an activity rather than directly in the workflow because Temporal's the involve I/O. + +## Running the Example + +First, start the worker: +```bash +uv run openai_agents/reasoning_content/run_worker.py +``` + +Then run the reasoning content workflow: +```bash +uv run openai_agents/reasoning_content/run_reasoning_content_workflow.py +``` + +## Requirements + +- Set your `OPENAI_API_KEY` environment variable +- Use a model that supports reasoning content (e.g., `deepseek-reasoner`) +- Optionally set `EXAMPLE_MODEL_NAME` environment variable to specify the model + +## Note on Streaming + +The original OpenAI Agents SDK example includes a streaming variant. This example keeps only the non-streaming approach for brevity; the integration does support streaming model output to external subscribers, which is covered in [Streaming](../streaming/README.md). \ No newline at end of file diff --git a/openai_agents/reasoning_content/activities/reasoning_activities.py b/openai_agents/reasoning_content/activities/reasoning_activities.py new file mode 100644 index 000000000..1f7ef9ef8 --- /dev/null +++ b/openai_agents/reasoning_content/activities/reasoning_activities.py @@ -0,0 +1,53 @@ +import os +from typing import Any, cast + +from agents import ModelSettings +from agents.models.interface import ModelTracing +from agents.models.openai_provider import OpenAIProvider +from openai.types.responses import ResponseOutputRefusal, ResponseOutputText +from temporalio import activity + + +@activity.defn +async def get_reasoning_response( + prompt: str, model_name: str | None = None +) -> tuple[str | None, str | None]: + """ + Activity to get response from a reasoning-capable model. + Returns tuple of (reasoning_content, regular_content). + """ + model_name = model_name or os.getenv("EXAMPLE_MODEL_NAME") or "deepseek-reasoner" + + provider = OpenAIProvider() + model = provider.get_model(model_name) + + response = await model.get_response( + system_instructions="You are a helpful assistant that explains your reasoning step by step.", + input=prompt, + model_settings=ModelSettings(), + tools=[], + output_schema=None, + handoffs=[], + tracing=ModelTracing.DISABLED, + previous_response_id=None, + prompt=None, + conversation_id=None, + ) + + # Extract reasoning content and regular content from the response + reasoning_content = None + regular_content = None + + for item in response.output: + if hasattr(item, "type") and item.type == "reasoning": + reasoning_content = item.summary[0].text + elif hasattr(item, "type") and item.type == "message": + if item.content and len(item.content) > 0: + content_item = item.content[0] + if isinstance(content_item, ResponseOutputText): + regular_content = content_item.text + elif isinstance(content_item, ResponseOutputRefusal): + refusal_item = cast(Any, content_item) + regular_content = refusal_item.refusal + + return reasoning_content, regular_content diff --git a/openai_agents/reasoning_content/run_reasoning_content_workflow.py b/openai_agents/reasoning_content/run_reasoning_content_workflow.py new file mode 100644 index 000000000..79e5d7baa --- /dev/null +++ b/openai_agents/reasoning_content/run_reasoning_content_workflow.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python3 + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.reasoning_content.workflows.reasoning_content_workflow import ( + ReasoningContentWorkflow, + ReasoningResult, +) + + +async def main(): + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Demo prompts that benefit from reasoning + demo_prompts = [ + "What is the square root of 841? Please explain your reasoning.", + "Explain the concept of recursion in programming", + "Write a haiku about recursion in programming", + ] + + model_name = os.getenv("EXAMPLE_MODEL_NAME") or "deepseek-reasoner" + print(f"Using model: {model_name}") + print("Note: This example requires a model that supports reasoning content.") + print("You may need to use a specific model like deepseek-reasoner or similar.\n") + + for i, prompt in enumerate(demo_prompts, 1): + print(f"=== Example {i}: {prompt} ===") + + result: ReasoningResult = await client.execute_workflow( + ReasoningContentWorkflow.run, + args=[prompt, model_name], + id=f"reasoning-content-{i}", + task_queue="reasoning-content-task-queue", + ) + + print(f"\nPrompt: {result.prompt}") + print("\nReasoning Content:") + print(result.reasoning_content or "No reasoning content provided") + print("\nRegular Content:") + print(result.regular_content or "No regular content provided") + print("-" * 50 + "\n") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/reasoning_content/run_worker.py b/openai_agents/reasoning_content/run_worker.py new file mode 100644 index 000000000..51393b2e0 --- /dev/null +++ b/openai_agents/reasoning_content/run_worker.py @@ -0,0 +1,37 @@ +#!/usr/bin/env python3 + +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.reasoning_content.activities.reasoning_activities import ( + get_reasoning_response, +) +from openai_agents.reasoning_content.workflows.reasoning_content_workflow import ( + ReasoningContentWorkflow, +) + + +async def main(): + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + worker = Worker( + client, + task_queue="reasoning-content-task-queue", + workflows=[ReasoningContentWorkflow], + activities=[get_reasoning_response], + ) + + print("Starting reasoning content worker...") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/reasoning_content/workflows/reasoning_content_workflow.py b/openai_agents/reasoning_content/workflows/reasoning_content_workflow.py new file mode 100644 index 000000000..2a584a4bc --- /dev/null +++ b/openai_agents/reasoning_content/workflows/reasoning_content_workflow.py @@ -0,0 +1,33 @@ +from dataclasses import dataclass +from datetime import timedelta + +from temporalio import workflow + +from openai_agents.reasoning_content.activities.reasoning_activities import ( + get_reasoning_response, +) + + +@dataclass +class ReasoningResult: + reasoning_content: str | None + regular_content: str | None + prompt: str + + +@workflow.defn +class ReasoningContentWorkflow: + @workflow.run + async def run(self, prompt: str, model_name: str | None = None) -> ReasoningResult: + # Call the activity to get the reasoning response + reasoning_content, regular_content = await workflow.execute_activity( + get_reasoning_response, + args=[prompt, model_name], + start_to_close_timeout=timedelta(minutes=5), + ) + + return ReasoningResult( + reasoning_content=reasoning_content, + regular_content=regular_content, + prompt=prompt, + ) diff --git a/openai_agents/research_bot/README.md b/openai_agents/research_bot/README.md new file mode 100644 index 000000000..f4f4a074f --- /dev/null +++ b/openai_agents/research_bot/README.md @@ -0,0 +1,35 @@ +# Research Bot + +Multi-agent research system with specialized roles, extended with Temporal's durable execution. + +*Adapted from [OpenAI Agents SDK research bot](https://github.com/openai/openai-agents-python/tree/main/examples/research_bot)* + +## Architecture + +The flow is: + +1. User enters their research topic +2. `planner_agent` comes up with a plan to search the web for information. The plan is a list of search queries, with a search term and a reason for each query. +3. For each search item, we run a `search_agent`, which uses the Web Search tool to search for that term and summarize the results. These all run in parallel. +4. Finally, the `writer_agent` receives the search summaries, and creates a written report. + +## Running the Example + +First, start the worker: +```bash +uv run openai_agents/research_bot/run_worker.py +``` + +Then run the research workflow: +```bash +uv run openai_agents/research_bot/run_research_workflow.py +``` + +## Suggested Improvements + +If you're building your own research bot, some ideas to add to this are: + +1. Retrieval: Add support for fetching relevant information from a vector store. You could use the File Search tool for this. +2. Image and file upload: Allow users to attach PDFs or other files, as baseline context for the research. +3. More planning and thinking: Models often produce better results given more time to think. Improve the planning process to come up with a better plan, and add an evaluation step so that the model can choose to improve its results, search for more stuff, etc. +4. Code execution: Allow running code, which is useful for data analysis. \ No newline at end of file diff --git a/openai_agents/research_bot/agents/planner_agent.py b/openai_agents/research_bot/agents/planner_agent.py new file mode 100644 index 000000000..3e2f26de3 --- /dev/null +++ b/openai_agents/research_bot/agents/planner_agent.py @@ -0,0 +1,29 @@ +from agents import Agent +from pydantic import BaseModel + +PROMPT = ( + "You are a helpful research assistant. Given a query, come up with a set of web searches " + "to perform to best answer the query. Output between 5 and 20 terms to query for." +) + + +class WebSearchItem(BaseModel): + reason: str + "Your reasoning for why this search is important to the query." + + query: str + "The search term to use for the web search." + + +class WebSearchPlan(BaseModel): + searches: list[WebSearchItem] + """A list of web searches to perform to best answer the query.""" + + +def new_planner_agent(): + return Agent( + name="PlannerAgent", + instructions=PROMPT, + model="gpt-4o", + output_type=WebSearchPlan, + ) diff --git a/openai_agents/research_bot/agents/research_manager.py b/openai_agents/research_bot/agents/research_manager.py new file mode 100644 index 000000000..62a77a070 --- /dev/null +++ b/openai_agents/research_bot/agents/research_manager.py @@ -0,0 +1,80 @@ +from __future__ import annotations + +import asyncio + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + # TODO: Restore progress updates + from agents import RunConfig, Runner, custom_span, trace + + from openai_agents.research_bot.agents.planner_agent import ( + WebSearchItem, + WebSearchPlan, + new_planner_agent, + ) + from openai_agents.research_bot.agents.search_agent import new_search_agent + from openai_agents.research_bot.agents.writer_agent import ( + ReportData, + new_writer_agent, + ) + + +class ResearchManager: + def __init__(self): + self.run_config = RunConfig() + self.search_agent = new_search_agent() + self.planner_agent = new_planner_agent() + self.writer_agent = new_writer_agent() + + async def run(self, query: str) -> str: + with trace("Research trace"): + search_plan = await self._plan_searches(query) + search_results = await self._perform_searches(search_plan) + report = await self._write_report(query, search_results) + + return report.markdown_report + + async def _plan_searches(self, query: str) -> WebSearchPlan: + result = await Runner.run( + self.planner_agent, + f"Query: {query}", + run_config=self.run_config, + ) + return result.final_output_as(WebSearchPlan) + + async def _perform_searches(self, search_plan: WebSearchPlan) -> list[str]: + with custom_span("Search the web"): + num_completed = 0 + tasks = [ + asyncio.create_task(self._search(item)) for item in search_plan.searches + ] + results = [] + for task in workflow.as_completed(tasks): + result = await task + if result is not None: + results.append(result) + num_completed += 1 + return results + + async def _search(self, item: WebSearchItem) -> str | None: + input = f"Search term: {item.query}\nReason for searching: {item.reason}" + try: + result = await Runner.run( + self.search_agent, + input, + run_config=self.run_config, + ) + return str(result.final_output) + except Exception: + return None + + async def _write_report(self, query: str, search_results: list[str]) -> ReportData: + input = f"Original query: {query}\nSummarized search results: {search_results}" + result = await Runner.run( + self.writer_agent, + input, + run_config=self.run_config, + ) + + return result.final_output_as(ReportData) diff --git a/openai_agents/research_bot/agents/search_agent.py b/openai_agents/research_bot/agents/search_agent.py new file mode 100644 index 000000000..43c30ed88 --- /dev/null +++ b/openai_agents/research_bot/agents/search_agent.py @@ -0,0 +1,20 @@ +from agents import Agent, WebSearchTool +from agents.model_settings import ModelSettings + +INSTRUCTIONS = ( + "You are a research assistant. Given a search term, you search the web for that term and " + "produce a concise summary of the results. The summary must 2-3 paragraphs and less than 300 " + "words. Capture the main points. Write succinctly, no need to have complete sentences or good " + "grammar. This will be consumed by someone synthesizing a report, so its vital you capture the " + "essence and ignore any fluff. Do not include any additional commentary other than the summary " + "itself." +) + + +def new_search_agent(): + return Agent( + name="Search agent", + instructions=INSTRUCTIONS, + tools=[WebSearchTool()], + model_settings=ModelSettings(tool_choice="required"), + ) diff --git a/openai_agents/research_bot/agents/writer_agent.py b/openai_agents/research_bot/agents/writer_agent.py new file mode 100644 index 000000000..9d8a34b0b --- /dev/null +++ b/openai_agents/research_bot/agents/writer_agent.py @@ -0,0 +1,33 @@ +# Agent used to synthesize a final report from the individual summaries. +from agents import Agent +from pydantic import BaseModel + +PROMPT = ( + "You are a senior researcher tasked with writing a cohesive report for a research query. " + "You will be provided with the original query, and some initial research done by a research " + "assistant.\n" + "You should first come up with an outline for the report that describes the structure and " + "flow of the report. Then, generate the report and return that as your final output.\n" + "The final output should be in markdown format, and it should be lengthy and detailed. Aim " + "for 5-10 pages of content, at least 1000 words." +) + + +class ReportData(BaseModel): + short_summary: str + """A short 2-3 sentence summary of the findings.""" + + markdown_report: str + """The final report""" + + follow_up_questions: list[str] + """Suggested topics to research further""" + + +def new_writer_agent(): + return Agent( + name="WriterAgent", + instructions=PROMPT, + model="o3-mini", + output_type=ReportData, + ) diff --git a/openai_agents/research_bot/run_research_workflow.py b/openai_agents/research_bot/run_research_workflow.py new file mode 100644 index 000000000..e2739ef55 --- /dev/null +++ b/openai_agents/research_bot/run_research_workflow.py @@ -0,0 +1,30 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.research_bot.workflows.research_bot_workflow import ResearchWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + ResearchWorkflow.run, + "Caribbean vacation spots in April, optimizing for surfing, hiking and water sports", + id="research-workflow", + task_queue="openai-agents-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/research_bot/run_worker.py b/openai_agents/research_bot/run_worker.py new file mode 100644 index 000000000..fd6827d6e --- /dev/null +++ b/openai_agents/research_bot/run_worker.py @@ -0,0 +1,37 @@ +from __future__ import annotations + +import asyncio +from datetime import timedelta + +from temporalio.client import Client +from temporalio.contrib.openai_agents import ModelActivityParameters, OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.research_bot.workflows.research_bot_workflow import ResearchWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=120) + ) + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-task-queue", + workflows=[ + ResearchWorkflow, + ], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/research_bot/workflows/research_bot_workflow.py b/openai_agents/research_bot/workflows/research_bot_workflow.py new file mode 100644 index 000000000..c2523c8c9 --- /dev/null +++ b/openai_agents/research_bot/workflows/research_bot_workflow.py @@ -0,0 +1,10 @@ +from temporalio import workflow + +from openai_agents.research_bot.agents.research_manager import ResearchManager + + +@workflow.defn +class ResearchWorkflow: + @workflow.run + async def run(self, query: str) -> str: + return await ResearchManager().run(query) diff --git a/openai_agents/streaming/README.md b/openai_agents/streaming/README.md new file mode 100644 index 000000000..0085953c3 --- /dev/null +++ b/openai_agents/streaming/README.md @@ -0,0 +1,130 @@ +# Streaming OpenAI Agents + +> **Experimental.** These samples use the streaming support in +> `temporalio.contrib.openai_agents` together with +> `temporalio.contrib.workflow_streams`. Both are experimental and their APIs +> may change in future versions. + +*Adapted from the [OpenAI Agents SDK basic examples](https://github.com/openai/openai-agents-python/tree/main/examples/basic)* + +Before running these examples, be sure to review the [prerequisites and background on the integration](../README.md). + +The OpenAI Agents SDK streams model output via `Runner.run_streamed`, which +yields events as the model produces them. Inside a Temporal workflow the model +call runs in an activity, so the workflow cannot iterate the live HTTP stream +directly. Instead the plugin runs `model.stream_response()` in a streaming +activity, and that activity publishes each event to the workflow's +[`WorkflowStream`](../../workflow_streams/README.md) so external subscribers +see events as they are produced. + +Publishing is batched: the activity coalesces events over +`ModelActivityParameters.streaming_batch_interval` (default 100ms) before +signalling the workflow. Call this **buffered token streaming** — deltas reach +subscribers within a batch window of being produced, not on every byte. At +typical model speeds one batch carries several tokens, so output arrives in +small bursts rather than glyph-by-glyph. Lower the interval for smoother +output at the cost of more signals. + +Two things to know before reading the samples: + +* `streaming_topic` is **required** for `Runner.run_streamed`. If it is unset, + `run_streamed` raises before scheduling any activity. +* The workflow must host a `WorkflowStream`. It has to be constructed from a + method named `__init__` — `WorkflowStream` inspects its caller's frame and + raises otherwise — and `@workflow.init` is what makes the workflow's run + argument (carrying `stream_state` for continue-as-new) available there. + +## Running the Examples + +First, start the worker (supports both examples): + +```bash +uv run openai_agents/streaming/run_worker.py +``` + +Then run either example in another terminal. + +### `stream_text` — buffered text deltas + +Adapted from [`examples/basic/stream_text.py`][upstream-text]. The workflow +just calls `Runner.run_streamed`; the subscriber renders the +`ResponseTextDeltaEvent`s the streaming activity publishes on the `events` +topic. + +Subscribers receive **native OpenAI events** (`TResponseStreamEvent`), because +the activity publishes them straight from `Model.stream_response`. That differs +from `stream_events()` inside the workflow, which yields the agents-SDK +`StreamEvent` union — raw model events arrive there wrapped as +`RawResponsesStreamEvent.data`. + +[upstream-text]: https://github.com/openai/openai-agents-python/blob/main/examples/basic/stream_text.py + +```bash +uv run openai_agents/streaming/run_stream_text_workflow.py +``` + +### `stream_items` — agent-level events with a tool call + +Adapted from [`examples/basic/stream_items.py`][upstream-items]. Renders agent +updates, tool calls, tool outputs, and message outputs as a play-by-play. + +The agents SDK builds those higher-level events from the model output, so they +exist only inside the workflow — the streaming activity never sees them. This +workflow therefore does its own publishing: it iterates +`result.stream_events()` and forwards each event of interest to an `items` +topic as a small serializable `ItemEvent`. (The agents-SDK event types carry +the originating `Agent`, which holds tool callables and so cannot be +serialized.) `stream_events()` resolves a turn at a time — each model call is +one activity — so a multi-turn run like this one reaches the subscriber +progressively rather than in one lump. + +[upstream-items]: https://github.com/openai/openai-agents-python/blob/main/examples/basic/stream_items.py + +```bash +uv run openai_agents/streaming/run_stream_items_workflow.py +``` + +## How it works + +1. The workflow constructs a `WorkflowStream` in `@workflow.init`. +2. `OpenAIAgentsPlugin` is configured with `streaming_topic="events"`, which + routes `Runner.run_streamed` to `invoke_model_activity_streaming`. +3. Inside that activity each event from the live HTTP stream is both collected + (returned to the workflow when the activity completes) and published to the + stream via `WorkflowStreamClient.from_within_activity()`. +4. Just before returning, the workflow publishes a terminator on a separate + `done` topic, then sleeps briefly so the subscriber's next poll can drain + the tail of the stream — the log lives in workflow memory and disappears + when the run completes. +5. External code subscribes with + `WorkflowStreamClient.create(...).subscribe([...], result_type=RawValue)` + and breaks on the terminator. `RawValue` keeps the payloads undecoded so + each topic can be decoded against its own type. If the workflow reaches a + terminal state without publishing a terminator (a failure, say), the + iterator exhausts on its own and the following `handle.result()` raises. + +In the workflow, `stream_events()` resolves only after the model activity +returns, so the workflow itself does not see deltas as they arrive — the +streaming benefit is for external observers. + +## Notes + +* Streaming is incompatible with `use_local_activity=True`: local activities + support neither heartbeats nor the workflow stream signal channel. +* The streaming activity heartbeats on a background task, so set + `heartbeat_timeout` well below `start_to_close_timeout` to detect a stuck + model call early. +* Delivery is at-least-once per activity attempt. An attempt that fails + mid-response leaves its partial events on the stream — they are flushed + before the failure is reported — and the retry publishes a whole new + response. `stream_events()` in the workflow only sees the successful attempt, + so the workflow's return value stays correct while a naive subscriber renders + the truncated attempt followed by the full one. + + The plugin's streaming activity publishes no retry marker, so subscribers + detect this in band: every OpenAI stream event carries a `sequence_number` + that starts at 0 per response, and a number that fails to advance means a new + attempt. `run_stream_text_workflow.py` prints a notice at that seam; + `workflow_streams/run_llm.py` shows the fuller treatment, where an activity + you own publishes an explicit `RetryEvent` from `activity.info().attempt` and + the consumer erases the failed attempt's output. diff --git a/openai_agents/streaming/__init__.py b/openai_agents/streaming/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/openai_agents/streaming/activities/__init__.py b/openai_agents/streaming/activities/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/openai_agents/streaming/activities/joke_activities.py b/openai_agents/streaming/activities/joke_activities.py new file mode 100644 index 000000000..7fe1c4992 --- /dev/null +++ b/openai_agents/streaming/activities/joke_activities.py @@ -0,0 +1,11 @@ +from __future__ import annotations + +import random + +from temporalio import activity + + +@activity.defn +async def how_many_jokes() -> int: + """Return a random integer of jokes to tell between 1 and 10 (inclusive).""" + return random.randint(1, 10) diff --git a/openai_agents/streaming/run_stream_items_workflow.py b/openai_agents/streaming/run_stream_items_workflow.py new file mode 100644 index 000000000..93698d358 --- /dev/null +++ b/openai_agents/streaming/run_stream_items_workflow.py @@ -0,0 +1,65 @@ +"""Start StreamItemsWorkflow and render its run as a play-by-play.""" + +from __future__ import annotations + +import asyncio +import uuid + +from temporalio.client import Client +from temporalio.common import RawValue +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from openai_agents.streaming.shared import ( + TASK_QUEUE, + TOPIC_DONE, + TOPIC_ITEMS, + ItemEvent, +) +from openai_agents.streaming.workflows.stream_items_workflow import ( + StreamItemsInput, + StreamItemsWorkflow, +) + + +async def main() -> None: + client = await Client.connect( + "localhost:7233", + plugins=[OpenAIAgentsPlugin()], + ) + + workflow_id = f"stream-items-{uuid.uuid4().hex[:8]}" + handle = await client.start_workflow( + StreamItemsWorkflow.run, + StreamItemsInput(), + id=workflow_id, + task_queue=TASK_QUEUE, + ) + + stream = WorkflowStreamClient.create(client, workflow_id) + converter = client.data_converter.payload_converter + + print("=== Run starting ===") + # result_type=RawValue so the two topics can be decoded per item.topic. + # The raw model events the streaming activity publishes on TOPIC_EVENTS are + # on the stream too; this subscriber just isn't interested in them. + async for item in stream.subscribe([TOPIC_ITEMS, TOPIC_DONE], result_type=RawValue): + if item.topic == TOPIC_DONE: + break + event = converter.from_payload(item.data.payload, ItemEvent) + if event.kind == "agent_updated": + print(f"Agent updated: {event.detail}") + elif event.kind == "tool_call": + print(f"-- Tool was called: {event.detail}") + elif event.kind == "tool_output": + print(f"-- Tool output: {event.detail}") + elif event.kind == "message_output": + print(f"-- Message output:\n {event.detail}") + + result = await handle.result() + print("=== Run complete ===") + print(result) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/streaming/run_stream_text_workflow.py b/openai_agents/streaming/run_stream_text_workflow.py new file mode 100644 index 000000000..5b3181a2d --- /dev/null +++ b/openai_agents/streaming/run_stream_text_workflow.py @@ -0,0 +1,98 @@ +"""Start StreamTextWorkflow and render its model output as it streams. + +Delivery is at-least-once per model-activity attempt: an attempt that fails +mid-response leaves its partial deltas on the stream, and the retry publishes +a whole new response. Unlike ``workflow_streams/activities/llm_activity.py``, +which publishes an explicit ``RetryEvent`` on ``activity.info().attempt > 1``, +the plugin's streaming activity emits no retry marker — so this subscriber +infers a new attempt from the stream itself and says so, rather than silently +running the two responses together. (``workflow_streams/run_llm.py`` goes a +step further and erases the failed attempt's output with ANSI escapes.) +""" + +from __future__ import annotations + +import asyncio +import uuid +from typing import Any, cast + +from agents.items import TResponseStreamEvent +from openai.types.responses import ResponseCompletedEvent, ResponseTextDeltaEvent +from temporalio.client import Client +from temporalio.common import RawValue +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from openai_agents.streaming.shared import TASK_QUEUE, TOPIC_DONE, TOPIC_EVENTS +from openai_agents.streaming.workflows.stream_text_workflow import ( + StreamTextInput, + StreamTextWorkflow, +) + +# TResponseStreamEvent is a typing.Annotated union rather than a class, so it +# needs a cast to satisfy from_payload's type[T] signature. The plugin's +# pydantic converter resolves the union's discriminator at runtime. +EVENT_TYPE = cast(type, TResponseStreamEvent) + + +async def main() -> None: + # The plugin's data converter is what decodes the OpenAI event payloads + # published on TOPIC_EVENTS. + client = await Client.connect( + "localhost:7233", + plugins=[OpenAIAgentsPlugin()], + ) + + workflow_id = f"stream-text-{uuid.uuid4().hex[:8]}" + handle = await client.start_workflow( + StreamTextWorkflow.run, + StreamTextInput(prompt="Please tell me 5 jokes."), + id=workflow_id, + task_queue=TASK_QUEUE, + ) + + stream = WorkflowStreamClient.create(client, workflow_id) + converter = client.data_converter.payload_converter + + # A single iterator over both topics — one subscriber, no cancellation race + # between concurrent ones. result_type=RawValue delivers the underlying + # Payload so heterogeneous topics can be decoded per item.topic. The loop + # ends on the in-band terminator, or by the iterator exhausting if the + # workflow reaches a terminal state without publishing one (e.g. on + # failure); either way handle.result() below surfaces the outcome. + last_sequence = -1 + response_in_flight = False + async for item in stream.subscribe( + [TOPIC_EVENTS, TOPIC_DONE], result_type=RawValue + ): + if item.topic == TOPIC_DONE: + break + # Subscribers receive native OpenAI events, not the agents-SDK + # StreamEvent wrappers that stream_events() yields in the workflow. + event: Any = converter.from_payload(item.data.payload, EVENT_TYPE) + + # Every event carries a sequence_number that starts at 0 per response, + # so a number that does not advance means a new response is streaming. + # That is a retry only if the previous one never completed: each turn + # of a multi-turn run is its own response and restarts the count too. + # The retry is an independently sampled answer rather than a + # continuation, so mark the seam instead of letting the failed + # attempt's partial text run into the new one. The workflow's return + # value is unaffected — stream_events() there sees only the attempt + # that succeeded. + sequence = event.sequence_number + if sequence <= last_sequence and response_in_flight: + print("\n\n[model activity retried — output restarts here]\n") + last_sequence = sequence + response_in_flight = not isinstance(event, ResponseCompletedEvent) + + if isinstance(event, ResponseTextDeltaEvent): + print(event.delta, end="", flush=True) + + result = await handle.result() + print("\n--- final result ---") + print(result) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/streaming/run_worker.py b/openai_agents/streaming/run_worker.py new file mode 100644 index 000000000..99a754702 --- /dev/null +++ b/openai_agents/streaming/run_worker.py @@ -0,0 +1,54 @@ +from __future__ import annotations + +import asyncio +import logging +from datetime import timedelta + +from temporalio.client import Client +from temporalio.contrib.openai_agents import ( + ModelActivityParameters, + OpenAIAgentsPlugin, +) +from temporalio.worker import Worker + +from openai_agents.streaming.activities.joke_activities import how_many_jokes +from openai_agents.streaming.shared import TASK_QUEUE, TOPIC_EVENTS +from openai_agents.streaming.workflows.stream_items_workflow import ( + StreamItemsWorkflow, +) +from openai_agents.streaming.workflows.stream_text_workflow import ( + StreamTextWorkflow, +) + + +async def main() -> None: + logging.basicConfig(level=logging.INFO) + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + # The streaming activity heartbeats on a background task, + # so a heartbeat_timeout well under start_to_close_timeout + # detects a stuck model call early. + heartbeat_timeout=timedelta(seconds=10), + start_to_close_timeout=timedelta(minutes=5), + # Required for Runner.run_streamed: the topic the streaming + # activity publishes raw model events to. + streaming_topic=TOPIC_EVENTS, + ), + ), + ], + ) + + worker = Worker( + client, + task_queue=TASK_QUEUE, + workflows=[StreamTextWorkflow, StreamItemsWorkflow], + activities=[how_many_jokes], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/streaming/shared.py b/openai_agents/streaming/shared.py new file mode 100644 index 000000000..467ec3ce1 --- /dev/null +++ b/openai_agents/streaming/shared.py @@ -0,0 +1,42 @@ +from __future__ import annotations + +from dataclasses import dataclass +from datetime import timedelta + +TASK_QUEUE = "openai-agents-streaming-task-queue" + +# Topic the streaming activity publishes raw model stream events to. Must match +# OpenAIAgentsPlugin(model_params=ModelActivityParameters(streaming_topic=...)). +# Events on this topic are native OpenAI `TResponseStreamEvent`s, not the +# agents-SDK `StreamEvent` wrappers that `stream_events()` yields. +TOPIC_EVENTS = "events" + +# Topic the stream_items workflow publishes its own higher-level events to. The +# agents SDK builds those from the model output inside the workflow, so the +# workflow — not the activity — is what publishes them. +TOPIC_ITEMS = "items" + +# Topic the workflow publishes a terminator to once Runner.run_streamed has +# finished. Subscribers watch both topics and break on the terminator, rather +# than racing handle.result() against their next poll. +TOPIC_DONE = "done" + +# How long a workflow holds its run open after publishing the terminator, so a +# subscriber's next poll can drain the tail of the stream. The log lives in +# workflow memory, so it disappears when the run completes. +DRAIN_INTERVAL = timedelta(milliseconds=500) + + +@dataclass +class ItemEvent: + """One step of a run, as published on TOPIC_ITEMS. + + The agents-SDK event types (`RunItemStreamEvent` and friends) carry the + originating `Agent`, which holds tool callables and so is not + serializable. Samples publish their own flattened event instead. + """ + + kind: str + """One of "agent_updated", "tool_call", "tool_output", "message_output".""" + + detail: str diff --git a/openai_agents/streaming/workflows/__init__.py b/openai_agents/streaming/workflows/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/openai_agents/streaming/workflows/stream_items_workflow.py b/openai_agents/streaming/workflows/stream_items_workflow.py new file mode 100644 index 000000000..57aec09b0 --- /dev/null +++ b/openai_agents/streaming/workflows/stream_items_workflow.py @@ -0,0 +1,101 @@ +"""Streaming counterpart to the OpenAI Agents SDK ``stream_items.py`` example. + +Adapted from https://github.com/openai/openai-agents-python/blob/main/examples/basic/stream_items.py + +The upstream example renders higher-level events as they arrive: agent +updates, tool calls, tool outputs, and message outputs. Those are built by the +agents SDK from the model's output, so unlike the raw model events in +``stream_text_workflow`` they exist only inside the workflow — the streaming +activity never sees them. + +So this workflow does the publishing itself: it iterates +``result.stream_events()`` and forwards each interesting event to its own +topic. ``stream_events()`` resolves a turn at a time (each model call is one +activity), so a multi-turn run like this one — model call, tool call, model +call — reaches the subscriber as a play-by-play rather than in one lump. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from datetime import timedelta + +from agents import Agent, ItemHelpers, Runner +from temporalio import workflow +from temporalio.contrib import openai_agents as temporal_agents +from temporalio.contrib.workflow_streams import WorkflowStream, WorkflowStreamState + +from openai_agents.streaming.activities.joke_activities import how_many_jokes +from openai_agents.streaming.shared import ( + DRAIN_INTERVAL, + TOPIC_DONE, + TOPIC_ITEMS, + ItemEvent, +) + + +@dataclass +class StreamItemsInput: + prompt: str = "Hello" + # Carries stream state across continue-as-new. None on a fresh start. + stream_state: WorkflowStreamState | None = None + + +@workflow.defn +class StreamItemsWorkflow: + @workflow.init + def __init__(self, input: StreamItemsInput) -> None: + # WorkflowStream requires construction from a method named __init__ + # (it checks its caller's frame and raises otherwise), and + # @workflow.init is what makes the run argument — and the + # stream_state it carries across continue-as-new — available here. + self.stream = WorkflowStream(prior_state=input.stream_state) + self.items = self.stream.topic(TOPIC_ITEMS, type=ItemEvent) + self.done = self.stream.topic(TOPIC_DONE, type=bool) + + @workflow.run + async def run(self, input: StreamItemsInput) -> str: + agent = Agent( + name="Joker", + instructions=( + "First call the `how_many_jokes` tool, then tell that many jokes." + ), + tools=[ + temporal_agents.workflow.activity_as_tool( + how_many_jokes, start_to_close_timeout=timedelta(seconds=10) + ) + ], + ) + result = Runner.run_streamed(agent, input=input.prompt) + + messages: list[str] = [] + async for event in result.stream_events(): + if event.type == "agent_updated_stream_event": + self.items.publish( + ItemEvent(kind="agent_updated", detail=event.new_agent.name) + ) + elif event.type == "run_item_stream_event": + item = event.item + if item.type == "tool_call_item": + name = getattr(item.raw_item, "name", "Unknown Tool") + self.items.publish(ItemEvent(kind="tool_call", detail=name)) + elif item.type == "tool_call_output_item": + self.items.publish( + ItemEvent(kind="tool_output", detail=str(item.output)) + ) + elif item.type == "message_output_item": + text = ItemHelpers.text_message_output(item) + messages.append(text) + self.items.publish(ItemEvent(kind="message_output", detail=text)) + + self.done.publish(True) + # Brief pause so the subscriber's next poll can drain the tail of the + # stream — the log lives in workflow memory and is gone once this run + # completes. + await workflow.sleep(DRAIN_INTERVAL) + # final_output is typed Any and is None when a run ends without + # message output, so assert the str this signature promises rather + # than letting a None through. + if not messages: + return result.final_output_as(str, raise_if_incorrect_type=True) + return "\n\n".join(messages) diff --git a/openai_agents/streaming/workflows/stream_text_workflow.py b/openai_agents/streaming/workflows/stream_text_workflow.py new file mode 100644 index 000000000..abbd8b23c --- /dev/null +++ b/openai_agents/streaming/workflows/stream_text_workflow.py @@ -0,0 +1,83 @@ +"""Streaming counterpart to the OpenAI Agents SDK ``stream_text.py`` example. + +Adapted from https://github.com/openai/openai-agents-python/blob/main/examples/basic/stream_text.py + +The upstream example calls ``Runner.run_streamed`` and iterates raw +``ResponseTextDeltaEvent``s as they arrive over HTTP. Inside a Temporal +workflow the model call runs in an activity, so the workflow cannot iterate +the live HTTP stream directly. The plugin's streaming support runs +``model.stream_response()`` inside the activity and publishes each event to +the workflow's stream, where external subscribers see them as they are +produced. + +The workflow itself only needs to: + +1. host a ``WorkflowStream`` so the streaming activity has somewhere to + publish to; +2. call ``Runner.run_streamed`` (rather than ``Runner.run``) so the agents + framework drives the streaming activity. + +``stream_events()`` inside the workflow resolves only once the activity +returns, so in-workflow consumption is over the final list — not +deltas-as-they-arrive. Streaming is for external observers. +""" + +from __future__ import annotations + +from dataclasses import dataclass + +from agents import Agent, Runner +from openai.types.responses import ResponseTextDeltaEvent +from temporalio import workflow +from temporalio.contrib.workflow_streams import WorkflowStream, WorkflowStreamState + +from openai_agents.streaming.shared import DRAIN_INTERVAL, TOPIC_DONE + + +@dataclass +class StreamTextInput: + prompt: str + # Carries stream state across continue-as-new. None on a fresh start. + stream_state: WorkflowStreamState | None = None + + +@workflow.defn +class StreamTextWorkflow: + @workflow.init + def __init__(self, input: StreamTextInput) -> None: + # WorkflowStream requires construction from a method named __init__ + # (it checks its caller's frame and raises otherwise), and + # @workflow.init is what makes the run argument — and the + # stream_state it carries across continue-as-new — available here. + self.stream = WorkflowStream(prior_state=input.stream_state) + self.done = self.stream.topic(TOPIC_DONE, type=bool) + + @workflow.run + async def run(self, input: StreamTextInput) -> str: + agent = Agent( + name="Joker", + instructions="You are a helpful assistant.", + ) + result = Runner.run_streamed(agent, input=input.prompt) + + # The workflow only sees these events once the activity returns, so + # the loop just counts them. External subscribers receive them as the + # activity publishes them. + deltas = 0 + async for event in result.stream_events(): + if event.type == "raw_response_event" and isinstance( + event.data, ResponseTextDeltaEvent + ): + deltas += 1 + workflow.logger.info("collected %d delta events", deltas) + + # In-band terminator so the subscriber can stop without racing the + # workflow's completion, then a brief pause to let its next poll + # deliver the tail of the stream — the log lives in workflow memory + # and is gone once this run completes. + self.done.publish(True) + await workflow.sleep(DRAIN_INTERVAL) + # final_output is typed Any and is None when a run ends without + # message output, so assert the str this signature promises rather + # than letting a None through. + return result.final_output_as(str, raise_if_incorrect_type=True) diff --git a/openai_agents/tools/README.md b/openai_agents/tools/README.md new file mode 100644 index 000000000..6f65e432d --- /dev/null +++ b/openai_agents/tools/README.md @@ -0,0 +1,61 @@ +# Tools Examples + +Demonstrations of various OpenAI agent tools integrated with Temporal workflows. + +*Adapted from [OpenAI Agents SDK tools examples](https://github.com/openai/openai-agents-python/tree/main/examples/tools)* + +Before running these examples, be sure to review the [prerequisites and background on the integration](../README.md). + +## Setup + +### Knowledge Base Setup (Required for File Search) +Create a vector store with sample documents for file search testing: +```bash +uv run openai_agents/tools/setup_knowledge_base.py +``` + +This script: +- Creates 6 sample documents +- Uploads files to OpenAI with proper cleanup using context managers +- Creates an assistant with vector store for file search capabilities +- Updates workflow files with the new vector store ID automatically + +## Running the Examples + +First, start the worker (supports all tools): +```bash +uv run openai_agents/tools/run_worker.py +``` + +Then run individual examples in separate terminals: + +### Code Interpreter +Execute Python code for mathematical calculations and data analysis: +```bash +uv run openai_agents/tools/run_code_interpreter_workflow.py +``` + +### File Search +Search through uploaded documents using vector similarity: +```bash +uv run openai_agents/tools/run_file_search_workflow.py +``` + +### Image Generation +Generate images: +```bash +uv run openai_agents/tools/run_image_generator_workflow.py +``` + +### Web Search +Search the web for current information with location context: +```bash +uv run openai_agents/tools/run_web_search_workflow.py +``` + + +## Omitted Examples + +The following tools from the [reference repository](https://github.com/openai/openai-agents-python/tree/main/examples/tools) are not included in this Temporal adaptation: + +- **Computer Use**: Complex browser automation not suitable for distributed systems implementation. \ No newline at end of file diff --git a/openai_agents/tools/run_code_interpreter_workflow.py b/openai_agents/tools/run_code_interpreter_workflow.py new file mode 100644 index 000000000..2b8197124 --- /dev/null +++ b/openai_agents/tools/run_code_interpreter_workflow.py @@ -0,0 +1,32 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.tools.workflows.code_interpreter_workflow import ( + CodeInterpreterWorkflow, +) + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + CodeInterpreterWorkflow.run, + "What is the square root of 273 * 312821 plus 1782?", + id="code-interpreter-workflow", + task_queue="openai-agents-tools-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/tools/run_file_search_workflow.py b/openai_agents/tools/run_file_search_workflow.py new file mode 100644 index 000000000..09b8bb574 --- /dev/null +++ b/openai_agents/tools/run_file_search_workflow.py @@ -0,0 +1,33 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.tools.workflows.file_search_workflow import FileSearchWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + FileSearchWorkflow.run, + args=[ + "Be concise, and tell me 1 sentence about Arrakis I might not know.", + "vs_68855c27140c8191849b5f1887d8d335", # Vector store with Arrakis knowledge + ], + id="file-search-workflow", + task_queue="openai-agents-tools-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/tools/run_image_generator_workflow.py b/openai_agents/tools/run_image_generator_workflow.py new file mode 100644 index 000000000..77a60d267 --- /dev/null +++ b/openai_agents/tools/run_image_generator_workflow.py @@ -0,0 +1,60 @@ +import asyncio +import base64 +import os +import subprocess +import sys +import tempfile + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.tools.workflows.image_generator_workflow import ( + ImageGeneratorWorkflow, +) + + +def open_file(path: str) -> None: + if sys.platform.startswith("darwin"): + subprocess.run(["open", path], check=False) # macOS + elif os.name == "nt": # Windows + os.startfile(path) # type: ignore + elif os.name == "posix": + subprocess.run(["xdg-open", path], check=False) # Linux/Unix + else: + print(f"Don't know how to open files on this platform: {sys.platform}") + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + ImageGeneratorWorkflow.run, + "Create an image of a frog eating a pizza, comic book style.", + id="image-generator-workflow", + task_queue="openai-agents-tools-task-queue", + ) + + print(f"Text result: {result.final_output}") + + if result.image_data: + # Save and open the image + with tempfile.NamedTemporaryFile(suffix=".png", delete=False) as tmp: + tmp.write(base64.b64decode(result.image_data)) + temp_path = tmp.name + + print(f"Image saved to: {temp_path}") + # Open the image + open_file(temp_path) + else: + print("No image data found in result") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/tools/run_web_search_workflow.py b/openai_agents/tools/run_web_search_workflow.py new file mode 100644 index 000000000..dd7f992f0 --- /dev/null +++ b/openai_agents/tools/run_web_search_workflow.py @@ -0,0 +1,33 @@ +import asyncio + +from temporalio.client import Client +from temporalio.contrib.openai_agents import OpenAIAgentsPlugin + +from openai_agents.tools.workflows.web_search_workflow import WebSearchWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin(), + ], + ) + + # Execute a workflow + result = await client.execute_workflow( + WebSearchWorkflow.run, + args=[ + "search the web for 'local sports news' and give me 1 interesting update in a sentence.", + "New York", + ], + id="web-search-workflow", + task_queue="openai-agents-tools-task-queue", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/tools/run_worker.py b/openai_agents/tools/run_worker.py new file mode 100644 index 000000000..a58df4706 --- /dev/null +++ b/openai_agents/tools/run_worker.py @@ -0,0 +1,50 @@ +from __future__ import annotations + +import asyncio +from datetime import timedelta + +from temporalio.client import Client +from temporalio.contrib.openai_agents import ModelActivityParameters, OpenAIAgentsPlugin +from temporalio.worker import Worker + +from openai_agents.tools.workflows.code_interpreter_workflow import ( + CodeInterpreterWorkflow, +) +from openai_agents.tools.workflows.file_search_workflow import FileSearchWorkflow +from openai_agents.tools.workflows.image_generator_workflow import ( + ImageGeneratorWorkflow, +) +from openai_agents.tools.workflows.web_search_workflow import WebSearchWorkflow + + +async def main(): + # Create client connected to server at the given address + client = await Client.connect( + "localhost:7233", + plugins=[ + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=60) + ) + ), + ], + ) + + worker = Worker( + client, + task_queue="openai-agents-tools-task-queue", + workflows=[ + CodeInterpreterWorkflow, + FileSearchWorkflow, + ImageGeneratorWorkflow, + WebSearchWorkflow, + ], + activities=[ + # No custom activities needed for these workflows + ], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/tools/setup_knowledge_base.py b/openai_agents/tools/setup_knowledge_base.py new file mode 100644 index 000000000..fc467805e --- /dev/null +++ b/openai_agents/tools/setup_knowledge_base.py @@ -0,0 +1,270 @@ +#!/usr/bin/env python3 +""" +Setup script to create vector store with sample documents for testing FileSearchWorkflow. +Creates documents about Arrakis/Dune and uploads them to OpenAI for file search testing. +""" + +import asyncio +import os +import tempfile +from contextlib import asynccontextmanager +from pathlib import Path +from typing import Dict, List + +from openai import AsyncOpenAI + +# Sample knowledge base content +KNOWLEDGE_BASE = { + "arrakis_overview": """ +Arrakis: The Desert Planet + +Arrakis, also known as Dune, is the third planet of the Canopus system. This harsh desert world is the sole source of the spice melange, the most valuable substance in the known universe. + +Key characteristics: +- Single biome: Desert covering the entire planet +- No natural precipitation +- Extreme temperature variations between day and night +- Home to the giant sandworms (Shai-Hulud) +- Indigenous population: the Fremen + +The planet's ecology is entirely dependent on the sandworms, which produce the spice as a byproduct of their life cycle. Water is incredibly scarce, leading to the development of stillsuits and other water conservation technologies. +""", + "spice_melange": """ +The Spice Melange + +Melange, commonly known as "the spice," is the most important substance in the Dune universe. This geriatric spice extends life, expands consciousness, and is essential for space navigation. + +Properties of Spice: +- Extends human lifespan significantly +- Enhances mental abilities and prescient vision +- Required for Guild Navigators to fold space +- Highly addictive with fatal withdrawal symptoms +- Turns eyes blue over time (the "Eyes of Ibad") + +Production: +The spice is created through the interaction of sandworms with pre-spice masses in the deep desert. The presence of water is toxic to sandworms, making Arrakis the only known source of spice in the universe. + +Economic Impact: +Control of spice production grants immense political and economic power, making Arrakis the most strategically important planet in the Imperium. +""", + "sandworms": """ +Sandworms of Arrakis + +The sandworms, known to the Fremen as Shai-Hulud ("Old Man of the Desert"), are colossal creatures that dominate Arrakis. These massive beings can grow to lengths of over 400 meters and live for thousands of years. + +Characteristics: +- Enormous size: up to 400+ meters in length +- Extreme sensitivity to water and moisture +- Produce the spice melange as part of their life cycle +- Territorial and attracted to rhythmic vibrations +- Crystalline teeth capable of crushing rock and metal + +Life Cycle: +Sandworms begin as sandtrout, small creatures that sequester water. They eventually metamorphose into the giant sandworms through a complex process involving spice production. + +Cultural Significance: +The Fremen worship sandworms as semi-divine beings and have developed elaborate rituals around them, including the dangerous practice of sandworm riding. +""", + "fremen_culture": """ +The Fremen of Arrakis + +The Fremen are the indigenous people of Arrakis, perfectly adapted to life in the harsh desert environment. Their culture revolves around water conservation, survival, and reverence for the sandworms. + +Cultural Practices: +- Water discipline: Every drop of moisture is preserved +- Stillsuits: Advanced technology to recycle body moisture +- Desert survival skills passed down through generations +- Ritualistic relationship with sandworms +- Sietch communities: Hidden underground settlements + +Religious Beliefs: +The Fremen follow a syncretic religion combining elements of Islam, Buddhism, and Christianity, adapted to their desert environment. They believe in prophecies of a messiah who will transform Arrakis. + +Military Prowess: +Despite their seemingly primitive lifestyle, the Fremen are formidable warriors, using their intimate knowledge of the desert and unconventional tactics to great effect. +""", + "house_atreides": """ +House Atreides and Arrakis + +House Atreides, led by Duke Leto Atreides, was granted control of Arrakis by Emperor Shaddam IV in a political trap designed to destroy the noble house. This transition from House Harkonnen marked the beginning of the events in Dune. + +Key Figures: +- Duke Leto Atreides: Noble leader focused on honor and justice +- Lady Jessica: Bene Gesserit concubine and mother of Paul +- Paul Atreides: Heir to the duchy and potential Kwisatz Haderach +- Duncan Idaho: Loyal swordmaster and warrior +- Gurney Halleck: Weapons master and troubadour + +The Atreides approach to ruling Arrakis differed dramatically from the Harkonnens, seeking to work with the Fremen rather than exploit them. This philosophy, while noble, ultimately led to their downfall when the Emperor and Harkonnens betrayed them. + +Legacy: +Though House Atreides was destroyed in the coup, Paul's survival and alliance with the Fremen would eventually lead to an even greater destiny. +""", + "ecology_arrakis": """ +The Ecology of Arrakis + +Arrakis presents a unique ecosystem entirely based on the water cycle created by sandworms and sandtrout. This closed ecological system has evolved over millennia to support life in extreme desert conditions. + +Water Cycle: +- Sandtrout sequester all available water deep underground +- This creates the desert conditions necessary for spice production +- Adult sandworms are killed by water, maintaining the cycle +- Plants and animals have evolved extreme water conservation + +Flora and Fauna: +- Desert plants with deep root systems and water storage +- Small desert animals adapted to minimal water consumption +- No large surface water bodies exist naturally +- All life forms show evolutionary adaptation to water scarcity + +The ecosystem is incredibly fragile - any significant introduction of water could disrupt the entire balance and potentially eliminate spice production, fundamentally changing the planet and the universe's economy. +""", +} + + +@asynccontextmanager +async def temporary_files(content_dict: Dict[str, str]): + """Context manager to create and cleanup temporary files.""" + temp_files = [] + try: + for name, content in content_dict.items(): + temp_file = tempfile.NamedTemporaryFile( + mode="w", suffix=".txt", prefix=f"{name}_", delete=False + ) + temp_file.write(content) + temp_file.close() + temp_files.append((name, temp_file.name)) + + yield temp_files + finally: + for _, temp_path in temp_files: + try: + os.unlink(temp_path) + except OSError: + pass + + +async def upload_files_to_openai(temp_files: List[tuple[str, str]]) -> List[str]: + """Upload temporary files to OpenAI and return file IDs.""" + client = AsyncOpenAI() + file_ids = [] + + for name, temp_path in temp_files: + try: + with open(temp_path, "rb") as f: + file_obj = await client.files.create(file=f, purpose="assistants") + file_ids.append(file_obj.id) + print(f"Uploaded {name}: {file_obj.id}") + except Exception as e: + print(f"Error uploading {name}: {e}") + + return file_ids + + +async def create_vector_store_with_assistant(file_ids: List[str]) -> str: + """Create an assistant with vector store containing the uploaded files.""" + client = AsyncOpenAI() + + try: + assistant = await client.beta.assistants.create( + name="Arrakis Knowledge Assistant", + instructions="You are an expert on Arrakis and the Dune universe. Use the uploaded files to answer questions about the desert planet, spice, sandworms, Fremen culture, and related topics.", + model="gpt-4o", + tools=[{"type": "file_search"}], + tool_resources={ + "file_search": { + "vector_stores": [ + { + "file_ids": file_ids, + "metadata": {"name": "Arrakis Knowledge Base"}, + } + ] + } + }, + ) + + # Extract vector store ID from assistant + if assistant.tool_resources and assistant.tool_resources.file_search: + vector_store_ids = assistant.tool_resources.file_search.vector_store_ids + if vector_store_ids: + return vector_store_ids[0] + + raise Exception("No vector store ID found in assistant response") + + except Exception as e: + print(f"Error creating assistant: {e}") + raise + + +def update_workflow_files(vector_store_id: str): + """Update workflow files with the new vector store ID.""" + import re + + files_to_update = ["run_file_search_workflow.py"] + + # Pattern to match any vector store ID with the specific comment + pattern = r'(vs_[a-f0-9]+)",\s*#\s*Vector store with Arrakis knowledge' + replacement = f'{vector_store_id}", # Vector store with Arrakis knowledge' + + for filename in files_to_update: + file_path = Path(__file__).parent / filename + if file_path.exists(): + try: + content = file_path.read_text() + if re.search(pattern, content): + updated_content = re.sub(pattern, replacement, content) + file_path.write_text(updated_content) + print(f"Updated {filename} with vector store ID") + else: + print(f"No matching pattern found in {filename}") + except Exception as e: + print(f"Error updating {filename}: {e}") + + +async def main(): + """Main function to set up the knowledge base.""" + # Check for API key + if not os.getenv("OPENAI_API_KEY"): + print("Error: OPENAI_API_KEY environment variable not set") + print("Please set your OpenAI API key:") + print("export OPENAI_API_KEY='your-api-key-here'") + return + + print("Setting up Arrakis knowledge base...") + + try: + # Create temporary files and upload them + async with temporary_files(KNOWLEDGE_BASE) as temp_files: + print(f"Created {len(temp_files)} temporary files") + + file_ids = await upload_files_to_openai(temp_files) + + if not file_ids: + print("Error: No files were successfully uploaded") + return + + print(f"Successfully uploaded {len(file_ids)} files") + + # Create vector store via assistant + vector_store_id = await create_vector_store_with_assistant(file_ids) + + print(f"Created vector store: {vector_store_id}") + + # Update workflow files + update_workflow_files(vector_store_id) + + print() + print("=" * 60) + print("KNOWLEDGE BASE SETUP COMPLETE") + print("=" * 60) + print(f"Vector Store ID: {vector_store_id}") + print(f"Files indexed: {len(file_ids)}") + print("Content: Arrakis/Dune universe knowledge") + print("=" * 60) + + except Exception as e: + print(f"Setup failed: {e}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/openai_agents/tools/workflows/code_interpreter_workflow.py b/openai_agents/tools/workflows/code_interpreter_workflow.py new file mode 100644 index 000000000..6715bc505 --- /dev/null +++ b/openai_agents/tools/workflows/code_interpreter_workflow.py @@ -0,0 +1,25 @@ +from __future__ import annotations + +from agents import Agent, CodeInterpreterTool, Runner +from temporalio import workflow + + +@workflow.defn +class CodeInterpreterWorkflow: + @workflow.run + async def run(self, question: str) -> str: + agent = Agent( + name="Code interpreter", + instructions="You love doing math.", + tools=[ + CodeInterpreterTool( + tool_config={ + "type": "code_interpreter", + "container": {"type": "auto"}, + }, + ) + ], + ) + + result = await Runner.run(agent, question) + return result.final_output diff --git a/openai_agents/tools/workflows/file_search_workflow.py b/openai_agents/tools/workflows/file_search_workflow.py new file mode 100644 index 000000000..915dcec42 --- /dev/null +++ b/openai_agents/tools/workflows/file_search_workflow.py @@ -0,0 +1,24 @@ +from __future__ import annotations + +from agents import Agent, FileSearchTool, Runner +from temporalio import workflow + + +@workflow.defn +class FileSearchWorkflow: + @workflow.run + async def run(self, question: str, vector_store_id: str) -> str: + agent = Agent( + name="File searcher", + instructions="You are a helpful agent.", + tools=[ + FileSearchTool( + max_num_results=3, + vector_store_ids=[vector_store_id], + include_search_results=True, + ) + ], + ) + + result = await Runner.run(agent, question) + return result.final_output diff --git a/openai_agents/tools/workflows/image_generator_workflow.py b/openai_agents/tools/workflows/image_generator_workflow.py new file mode 100644 index 000000000..202341256 --- /dev/null +++ b/openai_agents/tools/workflows/image_generator_workflow.py @@ -0,0 +1,46 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import Optional + +from agents import Agent, ImageGenerationTool, Runner +from openai.types.responses.response_output_item import ImageGenerationCall +from temporalio import workflow + + +@dataclass +class ImageGenerationResult: + final_output: str + image_data: Optional[str] = None + + +@workflow.defn +class ImageGeneratorWorkflow: + @workflow.run + async def run(self, prompt: str) -> ImageGenerationResult: + agent = Agent( + name="Image generator", + instructions="You are a helpful agent.", + tools=[ + ImageGenerationTool( + tool_config={"type": "image_generation", "quality": "low"}, + ) + ], + ) + + result = await Runner.run(agent, prompt) + + # Extract image data if available + image_data = None + for item in result.new_items: + if ( + item.type == "tool_call_item" + and isinstance(item.raw_item, ImageGenerationCall) + and (img_result := item.raw_item.result) + ): + image_data = img_result + break + + return ImageGenerationResult( + final_output=result.final_output, image_data=image_data + ) diff --git a/openai_agents/tools/workflows/web_search_workflow.py b/openai_agents/tools/workflows/web_search_workflow.py new file mode 100644 index 000000000..8b505ac14 --- /dev/null +++ b/openai_agents/tools/workflows/web_search_workflow.py @@ -0,0 +1,20 @@ +from __future__ import annotations + +from agents import Agent, Runner, WebSearchTool +from temporalio import workflow + + +@workflow.defn +class WebSearchWorkflow: + @workflow.run + async def run(self, question: str, user_city: str = "New York") -> str: + agent = Agent( + name="Web searcher", + instructions="You are a helpful agent.", + tools=[ + WebSearchTool(user_location={"type": "approximate", "city": user_city}) + ], + ) + + result = await Runner.run(agent, question) + return result.final_output diff --git a/patching/README.md b/patching/README.md index 61106f317..24744075d 100644 --- a/patching/README.md +++ b/patching/README.md @@ -8,15 +8,15 @@ To run, first see [README.md](../README.md) for prerequisites. Then follow the p This stage is for existing running workflows. To simulate our initial workflow, run the worker in a separate terminal: - poetry run python worker.py --workflow initial + uv run patching/worker.py --workflow initial Now we can start this workflow: - poetry run python starter.py --start-workflow initial-workflow-id + uv run patching/starter.py --start-workflow initial-workflow-id This will output "Started workflow with ID initial-workflow-id and ...". Now query this workflow: - poetry run python starter.py --query-workflow initial-workflow-id + uv run patching/starter.py --query-workflow initial-workflow-id This will output "Query result for ID initial-workflow-id: pre-patch". @@ -25,21 +25,21 @@ This will output "Query result for ID initial-workflow-id: pre-patch". This stage is for needing to run old and new workflows at the same time. To simulate our patched workflow, stop the worker from before and start it again with the patched workflow: - poetry run python worker.py --workflow patched + uv run patching/worker.py --workflow patched Now let's start another workflow with this patched code: - poetry run python starter.py --start-workflow patched-workflow-id + uv run patching/starter.py --start-workflow patched-workflow-id This will output "Started workflow with ID patched-workflow-id and ...". Now query the old workflow that's still running: - poetry run python starter.py --query-workflow initial-workflow-id + uv run patching/starter.py --query-workflow initial-workflow-id This will output "Query result for ID initial-workflow-id: pre-patch" since it is pre-patch. But if we execute a query against the new code: - poetry run python starter.py --query-workflow patched-workflow-id + uv run patching/starter.py --query-workflow patched-workflow-id We get "Query result for ID patched-workflow-id: post-patch". This is how old workflow code can take old paths and new workflow code can take new paths. @@ -50,22 +50,22 @@ Once we know that all workflows that started with the initial code from "Stage 1 the patch so we can deprecate it. To use the patch deprecated workflow, stop the workflow from before and start it again with: - poetry run python worker.py --workflow patch-deprecated + uv run patching/worker.py --workflow patch-deprecated All workflows in "Stage 2" and any new workflows will work. Now let's start another workflow with this patch deprecated code: - poetry run python starter.py --start-workflow patch-deprecated-workflow-id + uv run patching/starter.py --start-workflow patch-deprecated-workflow-id This will output "Started workflow with ID patch-deprecated-workflow-id and ...". Now query the patched workflow that's still running: - poetry run python starter.py --query-workflow patched-workflow-id + uv run patching/starter.py --query-workflow patched-workflow-id This will output "Query result for ID patched-workflow-id: post-patch". And if we execute a query against the latest workflow: - poetry run python starter.py --query-workflow patch-deprecated-workflow-id + uv run patching/starter.py --query-workflow patch-deprecated-workflow-id As expected, this will output "Query result for ID patch-deprecated-workflow-id: post-patch". @@ -75,22 +75,22 @@ Once we know we don't even have any workflows running on "Stage 2" or before (i. both code paths), we can just remove the patch deprecation altogether. To use the patch complete workflow, stop the workflow from before and start it again with: - poetry run python worker.py --workflow patch-complete + uv run patching/worker.py --workflow patch-complete All workflows in "Stage 3" and any new workflows will work. Now let's start another workflow with this patch complete code: - poetry run python starter.py --start-workflow patch-complete-workflow-id + uv run patching/starter.py --start-workflow patch-complete-workflow-id This will output "Started workflow with ID patch-complete-workflow-id and ...". Now query the patch deprecated workflow that's still running: - poetry run python starter.py --query-workflow patch-deprecated-workflow-id + uv run patching/starter.py --query-workflow patch-deprecated-workflow-id This will output "Query result for ID patch-deprecated-workflow-id: post-patch". And if we execute a query against the latest workflow: - poetry run python starter.py --query-workflow patch-complete-workflow-id + uv run patching/starter.py --query-workflow patch-complete-workflow-id As expected, this will output "Query result for ID patch-complete-workflow-id: post-patch". diff --git a/patching/starter.py b/patching/starter.py index 9e6d7f31d..f1b92f324 100644 --- a/patching/starter.py +++ b/patching/starter.py @@ -2,6 +2,7 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig # Since it's just used for typing purposes, it doesn't matter which one we # import @@ -17,7 +18,9 @@ async def main(): raise RuntimeError("Either --start-workflow or --query-workflow is required") # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) if args.start_workflow: handle = await client.start_workflow( diff --git a/patching/worker.py b/patching/worker.py index 8f1e3c820..417c8ef9c 100644 --- a/patching/worker.py +++ b/patching/worker.py @@ -2,6 +2,7 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker from patching.activities import post_patch_activity, pre_patch_activity @@ -30,7 +31,9 @@ async def main(): raise RuntimeError("Unrecognized workflow") # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( diff --git a/poetry.lock b/poetry.lock deleted file mode 100644 index d0dda4a43..000000000 --- a/poetry.lock +++ /dev/null @@ -1,1798 +0,0 @@ -# This file is automatically @generated by Poetry and should not be changed by hand. - -[[package]] -name = "aiohttp" -version = "3.8.4" -description = "Async http client/server framework (asyncio)" -category = "dev" -optional = false -python-versions = ">=3.6" -files = [ - {file = "aiohttp-3.8.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:5ce45967538fb747370308d3145aa68a074bdecb4f3a300869590f725ced69c1"}, - {file = "aiohttp-3.8.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b744c33b6f14ca26b7544e8d8aadff6b765a80ad6164fb1a430bbadd593dfb1a"}, - {file = "aiohttp-3.8.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1a45865451439eb320784918617ba54b7a377e3501fb70402ab84d38c2cd891b"}, - {file = "aiohttp-3.8.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a86d42d7cba1cec432d47ab13b6637bee393a10f664c425ea7b305d1301ca1a3"}, - {file = "aiohttp-3.8.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ee3c36df21b5714d49fc4580247947aa64bcbe2939d1b77b4c8dcb8f6c9faecc"}, - {file = "aiohttp-3.8.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:176a64b24c0935869d5bbc4c96e82f89f643bcdf08ec947701b9dbb3c956b7dd"}, - {file = "aiohttp-3.8.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c844fd628851c0bc309f3c801b3a3d58ce430b2ce5b359cd918a5a76d0b20cb5"}, - {file = "aiohttp-3.8.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5393fb786a9e23e4799fec788e7e735de18052f83682ce2dfcabaf1c00c2c08e"}, - {file = "aiohttp-3.8.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e4b09863aae0dc965c3ef36500d891a3ff495a2ea9ae9171e4519963c12ceefd"}, - {file = "aiohttp-3.8.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:adfbc22e87365a6e564c804c58fc44ff7727deea782d175c33602737b7feadb6"}, - {file = "aiohttp-3.8.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:147ae376f14b55f4f3c2b118b95be50a369b89b38a971e80a17c3fd623f280c9"}, - {file = "aiohttp-3.8.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:eafb3e874816ebe2a92f5e155f17260034c8c341dad1df25672fb710627c6949"}, - {file = "aiohttp-3.8.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c6cc15d58053c76eacac5fa9152d7d84b8d67b3fde92709195cb984cfb3475ea"}, - {file = "aiohttp-3.8.4-cp310-cp310-win32.whl", hash = "sha256:59f029a5f6e2d679296db7bee982bb3d20c088e52a2977e3175faf31d6fb75d1"}, - {file = "aiohttp-3.8.4-cp310-cp310-win_amd64.whl", hash = "sha256:fe7ba4a51f33ab275515f66b0a236bcde4fb5561498fe8f898d4e549b2e4509f"}, - {file = "aiohttp-3.8.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:3d8ef1a630519a26d6760bc695842579cb09e373c5f227a21b67dc3eb16cfea4"}, - {file = "aiohttp-3.8.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5b3f2e06a512e94722886c0827bee9807c86a9f698fac6b3aee841fab49bbfb4"}, - {file = "aiohttp-3.8.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3a80464982d41b1fbfe3154e440ba4904b71c1a53e9cd584098cd41efdb188ef"}, - {file = "aiohttp-3.8.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8b631e26df63e52f7cce0cce6507b7a7f1bc9b0c501fcde69742130b32e8782f"}, - {file = "aiohttp-3.8.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3f43255086fe25e36fd5ed8f2ee47477408a73ef00e804cb2b5cba4bf2ac7f5e"}, - {file = "aiohttp-3.8.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4d347a172f866cd1d93126d9b239fcbe682acb39b48ee0873c73c933dd23bd0f"}, - {file = "aiohttp-3.8.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a3fec6a4cb5551721cdd70473eb009d90935b4063acc5f40905d40ecfea23e05"}, - {file = "aiohttp-3.8.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:80a37fe8f7c1e6ce8f2d9c411676e4bc633a8462844e38f46156d07a7d401654"}, - {file = "aiohttp-3.8.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d1e6a862b76f34395a985b3cd39a0d949ca80a70b6ebdea37d3ab39ceea6698a"}, - {file = "aiohttp-3.8.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:cd468460eefef601ece4428d3cf4562459157c0f6523db89365202c31b6daebb"}, - {file = "aiohttp-3.8.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:618c901dd3aad4ace71dfa0f5e82e88b46ef57e3239fc7027773cb6d4ed53531"}, - {file = "aiohttp-3.8.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:652b1bff4f15f6287550b4670546a2947f2a4575b6c6dff7760eafb22eacbf0b"}, - {file = "aiohttp-3.8.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80575ba9377c5171407a06d0196b2310b679dc752d02a1fcaa2bc20b235dbf24"}, - {file = "aiohttp-3.8.4-cp311-cp311-win32.whl", hash = "sha256:bbcf1a76cf6f6dacf2c7f4d2ebd411438c275faa1dc0c68e46eb84eebd05dd7d"}, - {file = "aiohttp-3.8.4-cp311-cp311-win_amd64.whl", hash = "sha256:6e74dd54f7239fcffe07913ff8b964e28b712f09846e20de78676ce2a3dc0bfc"}, - {file = "aiohttp-3.8.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:880e15bb6dad90549b43f796b391cfffd7af373f4646784795e20d92606b7a51"}, - {file = "aiohttp-3.8.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb96fa6b56bb536c42d6a4a87dfca570ff8e52de2d63cabebfd6fb67049c34b6"}, - {file = "aiohttp-3.8.4-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4a6cadebe132e90cefa77e45f2d2f1a4b2ce5c6b1bfc1656c1ddafcfe4ba8131"}, - {file = "aiohttp-3.8.4-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f352b62b45dff37b55ddd7b9c0c8672c4dd2eb9c0f9c11d395075a84e2c40f75"}, - {file = "aiohttp-3.8.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7ab43061a0c81198d88f39aaf90dae9a7744620978f7ef3e3708339b8ed2ef01"}, - {file = "aiohttp-3.8.4-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c9cb1565a7ad52e096a6988e2ee0397f72fe056dadf75d17fa6b5aebaea05622"}, - {file = "aiohttp-3.8.4-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:1b3ea7edd2d24538959c1c1abf97c744d879d4e541d38305f9bd7d9b10c9ec41"}, - {file = "aiohttp-3.8.4-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:7c7837fe8037e96b6dd5cfcf47263c1620a9d332a87ec06a6ca4564e56bd0f36"}, - {file = "aiohttp-3.8.4-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:3b90467ebc3d9fa5b0f9b6489dfb2c304a1db7b9946fa92aa76a831b9d587e99"}, - {file = "aiohttp-3.8.4-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:cab9401de3ea52b4b4c6971db5fb5c999bd4260898af972bf23de1c6b5dd9d71"}, - {file = "aiohttp-3.8.4-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:d1f9282c5f2b5e241034a009779e7b2a1aa045f667ff521e7948ea9b56e0c5ff"}, - {file = "aiohttp-3.8.4-cp36-cp36m-win32.whl", hash = "sha256:5e14f25765a578a0a634d5f0cd1e2c3f53964553a00347998dfdf96b8137f777"}, - {file = "aiohttp-3.8.4-cp36-cp36m-win_amd64.whl", hash = "sha256:4c745b109057e7e5f1848c689ee4fb3a016c8d4d92da52b312f8a509f83aa05e"}, - {file = "aiohttp-3.8.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:aede4df4eeb926c8fa70de46c340a1bc2c6079e1c40ccf7b0eae1313ffd33519"}, - {file = "aiohttp-3.8.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ddaae3f3d32fc2cb4c53fab020b69a05c8ab1f02e0e59665c6f7a0d3a5be54f"}, - {file = "aiohttp-3.8.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c4eb3b82ca349cf6fadcdc7abcc8b3a50ab74a62e9113ab7a8ebc268aad35bb9"}, - {file = "aiohttp-3.8.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9bcb89336efa095ea21b30f9e686763f2be4478f1b0a616969551982c4ee4c3b"}, - {file = "aiohttp-3.8.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c08e8ed6fa3d477e501ec9db169bfac8140e830aa372d77e4a43084d8dd91ab"}, - {file = "aiohttp-3.8.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c6cd05ea06daca6ad6a4ca3ba7fe7dc5b5de063ff4daec6170ec0f9979f6c332"}, - {file = "aiohttp-3.8.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:b7a00a9ed8d6e725b55ef98b1b35c88013245f35f68b1b12c5cd4100dddac333"}, - {file = "aiohttp-3.8.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:de04b491d0e5007ee1b63a309956eaed959a49f5bb4e84b26c8f5d49de140fa9"}, - {file = "aiohttp-3.8.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:40653609b3bf50611356e6b6554e3a331f6879fa7116f3959b20e3528783e699"}, - {file = "aiohttp-3.8.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:dbf3a08a06b3f433013c143ebd72c15cac33d2914b8ea4bea7ac2c23578815d6"}, - {file = "aiohttp-3.8.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:854f422ac44af92bfe172d8e73229c270dc09b96535e8a548f99c84f82dde241"}, - {file = "aiohttp-3.8.4-cp37-cp37m-win32.whl", hash = "sha256:aeb29c84bb53a84b1a81c6c09d24cf33bb8432cc5c39979021cc0f98c1292a1a"}, - {file = "aiohttp-3.8.4-cp37-cp37m-win_amd64.whl", hash = "sha256:db3fc6120bce9f446d13b1b834ea5b15341ca9ff3f335e4a951a6ead31105480"}, - {file = "aiohttp-3.8.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:fabb87dd8850ef0f7fe2b366d44b77d7e6fa2ea87861ab3844da99291e81e60f"}, - {file = "aiohttp-3.8.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:91f6d540163f90bbaef9387e65f18f73ffd7c79f5225ac3d3f61df7b0d01ad15"}, - {file = "aiohttp-3.8.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:d265f09a75a79a788237d7f9054f929ced2e69eb0bb79de3798c468d8a90f945"}, - {file = "aiohttp-3.8.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3d89efa095ca7d442a6d0cbc755f9e08190ba40069b235c9886a8763b03785da"}, - {file = "aiohttp-3.8.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4dac314662f4e2aa5009977b652d9b8db7121b46c38f2073bfeed9f4049732cd"}, - {file = "aiohttp-3.8.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fe11310ae1e4cd560035598c3f29d86cef39a83d244c7466f95c27ae04850f10"}, - {file = "aiohttp-3.8.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6ddb2a2026c3f6a68c3998a6c47ab6795e4127315d2e35a09997da21865757f8"}, - {file = "aiohttp-3.8.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e75b89ac3bd27d2d043b234aa7b734c38ba1b0e43f07787130a0ecac1e12228a"}, - {file = "aiohttp-3.8.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6e601588f2b502c93c30cd5a45bfc665faaf37bbe835b7cfd461753068232074"}, - {file = "aiohttp-3.8.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a5d794d1ae64e7753e405ba58e08fcfa73e3fad93ef9b7e31112ef3c9a0efb52"}, - {file = "aiohttp-3.8.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:a1f4689c9a1462f3df0a1f7e797791cd6b124ddbee2b570d34e7f38ade0e2c71"}, - {file = "aiohttp-3.8.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:3032dcb1c35bc330134a5b8a5d4f68c1a87252dfc6e1262c65a7e30e62298275"}, - {file = "aiohttp-3.8.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8189c56eb0ddbb95bfadb8f60ea1b22fcfa659396ea36f6adcc521213cd7b44d"}, - {file = "aiohttp-3.8.4-cp38-cp38-win32.whl", hash = "sha256:33587f26dcee66efb2fff3c177547bd0449ab7edf1b73a7f5dea1e38609a0c54"}, - {file = "aiohttp-3.8.4-cp38-cp38-win_amd64.whl", hash = "sha256:e595432ac259af2d4630008bf638873d69346372d38255774c0e286951e8b79f"}, - {file = "aiohttp-3.8.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:5a7bdf9e57126dc345b683c3632e8ba317c31d2a41acd5800c10640387d193ed"}, - {file = "aiohttp-3.8.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:22f6eab15b6db242499a16de87939a342f5a950ad0abaf1532038e2ce7d31567"}, - {file = "aiohttp-3.8.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:7235604476a76ef249bd64cb8274ed24ccf6995c4a8b51a237005ee7a57e8643"}, - {file = "aiohttp-3.8.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ea9eb976ffdd79d0e893869cfe179a8f60f152d42cb64622fca418cd9b18dc2a"}, - {file = "aiohttp-3.8.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:92c0cea74a2a81c4c76b62ea1cac163ecb20fb3ba3a75c909b9fa71b4ad493cf"}, - {file = "aiohttp-3.8.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:493f5bc2f8307286b7799c6d899d388bbaa7dfa6c4caf4f97ef7521b9cb13719"}, - {file = "aiohttp-3.8.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0a63f03189a6fa7c900226e3ef5ba4d3bd047e18f445e69adbd65af433add5a2"}, - {file = "aiohttp-3.8.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:10c8cefcff98fd9168cdd86c4da8b84baaa90bf2da2269c6161984e6737bf23e"}, - {file = "aiohttp-3.8.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:bca5f24726e2919de94f047739d0a4fc01372801a3672708260546aa2601bf57"}, - {file = "aiohttp-3.8.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:03baa76b730e4e15a45f81dfe29a8d910314143414e528737f8589ec60cf7391"}, - {file = "aiohttp-3.8.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:8c29c77cc57e40f84acef9bfb904373a4e89a4e8b74e71aa8075c021ec9078c2"}, - {file = "aiohttp-3.8.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:03543dcf98a6619254b409be2d22b51f21ec66272be4ebda7b04e6412e4b2e14"}, - {file = "aiohttp-3.8.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:17b79c2963db82086229012cff93ea55196ed31f6493bb1ccd2c62f1724324e4"}, - {file = "aiohttp-3.8.4-cp39-cp39-win32.whl", hash = "sha256:34ce9f93a4a68d1272d26030655dd1b58ff727b3ed2a33d80ec433561b03d67a"}, - {file = "aiohttp-3.8.4-cp39-cp39-win_amd64.whl", hash = "sha256:41a86a69bb63bb2fc3dc9ad5ea9f10f1c9c8e282b471931be0268ddd09430b04"}, - {file = "aiohttp-3.8.4.tar.gz", hash = "sha256:bf2e1a9162c1e441bf805a1fd166e249d574ca04e03b34f97e2928769e91ab5c"}, -] - -[package.dependencies] -aiosignal = ">=1.1.2" -async-timeout = ">=4.0.0a3,<5.0" -attrs = ">=17.3.0" -charset-normalizer = ">=2.0,<4.0" -frozenlist = ">=1.1.1" -multidict = ">=4.5,<7.0" -yarl = ">=1.0,<2.0" - -[package.extras] -speedups = ["Brotli", "aiodns", "cchardet"] - -[[package]] -name = "aiosignal" -version = "1.3.1" -description = "aiosignal: a list of registered asynchronous callbacks" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "aiosignal-1.3.1-py3-none-any.whl", hash = "sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17"}, - {file = "aiosignal-1.3.1.tar.gz", hash = "sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc"}, -] - -[package.dependencies] -frozenlist = ">=1.1.0" - -[[package]] -name = "async-timeout" -version = "4.0.2" -description = "Timeout context manager for asyncio programs" -category = "dev" -optional = false -python-versions = ">=3.6" -files = [ - {file = "async-timeout-4.0.2.tar.gz", hash = "sha256:2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15"}, - {file = "async_timeout-4.0.2-py3-none-any.whl", hash = "sha256:8ca1e4fcf50d07413d66d1a5e416e42cfdf5851c981d679a09851a6853383b3c"}, -] - -[[package]] -name = "attrs" -version = "23.1.0" -description = "Classes Without Boilerplate" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "attrs-23.1.0-py3-none-any.whl", hash = "sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04"}, - {file = "attrs-23.1.0.tar.gz", hash = "sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015"}, -] - -[package.extras] -cov = ["attrs[tests]", "coverage[toml] (>=5.3)"] -dev = ["attrs[docs,tests]", "pre-commit"] -docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"] -tests = ["attrs[tests-no-zope]", "zope-interface"] -tests-no-zope = ["cloudpickle", "hypothesis", "mypy (>=1.1.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] - -[[package]] -name = "backoff" -version = "2.2.1" -description = "Function decoration for backoff and retry" -category = "dev" -optional = false -python-versions = ">=3.7,<4.0" -files = [ - {file = "backoff-2.2.1-py3-none-any.whl", hash = "sha256:63579f9a0628e06278f7e47b7d7d5b6ce20dc65c5e96a6f3ca99a6adca0396e8"}, - {file = "backoff-2.2.1.tar.gz", hash = "sha256:03f829f5bb1923180821643f8753b0502c3b682293992485b0eef2807afa5cba"}, -] - -[[package]] -name = "black" -version = "22.12.0" -description = "The uncompromising code formatter." -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "black-22.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9eedd20838bd5d75b80c9f5487dbcb06836a43833a37846cf1d8c1cc01cef59d"}, - {file = "black-22.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:159a46a4947f73387b4d83e87ea006dbb2337eab6c879620a3ba52699b1f4351"}, - {file = "black-22.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d30b212bffeb1e252b31dd269dfae69dd17e06d92b87ad26e23890f3efea366f"}, - {file = "black-22.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:7412e75863aa5c5411886804678b7d083c7c28421210180d67dfd8cf1221e1f4"}, - {file = "black-22.12.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c116eed0efb9ff870ded8b62fe9f28dd61ef6e9ddd28d83d7d264a38417dcee2"}, - {file = "black-22.12.0-cp37-cp37m-win_amd64.whl", hash = "sha256:1f58cbe16dfe8c12b7434e50ff889fa479072096d79f0a7f25e4ab8e94cd8350"}, - {file = "black-22.12.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:77d86c9f3db9b1bf6761244bc0b3572a546f5fe37917a044e02f3166d5aafa7d"}, - {file = "black-22.12.0-cp38-cp38-win_amd64.whl", hash = "sha256:82d9fe8fee3401e02e79767016b4907820a7dc28d70d137eb397b92ef3cc5bfc"}, - {file = "black-22.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:101c69b23df9b44247bd88e1d7e90154336ac4992502d4197bdac35dd7ee3320"}, - {file = "black-22.12.0-cp39-cp39-win_amd64.whl", hash = "sha256:559c7a1ba9a006226f09e4916060982fd27334ae1998e7a38b3f33a37f7a2148"}, - {file = "black-22.12.0-py3-none-any.whl", hash = "sha256:436cc9167dd28040ad90d3b404aec22cedf24a6e4d7de221bec2730ec0c97bcf"}, - {file = "black-22.12.0.tar.gz", hash = "sha256:229351e5a18ca30f447bf724d007f890f97e13af070bb6ad4c0a441cd7596a2f"}, -] - -[package.dependencies] -click = ">=8.0.0" -mypy-extensions = ">=0.4.3" -pathspec = ">=0.9.0" -platformdirs = ">=2" -tomli = {version = ">=1.1.0", markers = "python_full_version < \"3.11.0a7\""} -typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""} - -[package.extras] -colorama = ["colorama (>=0.4.3)"] -d = ["aiohttp (>=3.7.4)"] -jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] -uvloop = ["uvloop (>=0.15.2)"] - -[[package]] -name = "certifi" -version = "2023.5.7" -description = "Python package for providing Mozilla's CA Bundle." -category = "dev" -optional = false -python-versions = ">=3.6" -files = [ - {file = "certifi-2023.5.7-py3-none-any.whl", hash = "sha256:c6c2e98f5c7869efca1f8916fed228dd91539f9f1b444c314c06eef02980c716"}, - {file = "certifi-2023.5.7.tar.gz", hash = "sha256:0f0d56dc5a6ad56fd4ba36484d6cc34451e1c6548c61daad8c320169f91eddc7"}, -] - -[[package]] -name = "cffi" -version = "1.15.1" -description = "Foreign Function Interface for Python calling C code." -category = "dev" -optional = false -python-versions = "*" -files = [ - {file = "cffi-1.15.1-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:a66d3508133af6e8548451b25058d5812812ec3798c886bf38ed24a98216fab2"}, - {file = "cffi-1.15.1-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:470c103ae716238bbe698d67ad020e1db9d9dba34fa5a899b5e21577e6d52ed2"}, - {file = "cffi-1.15.1-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:9ad5db27f9cabae298d151c85cf2bad1d359a1b9c686a275df03385758e2f914"}, - {file = "cffi-1.15.1-cp27-cp27m-win32.whl", hash = "sha256:b3bbeb01c2b273cca1e1e0c5df57f12dce9a4dd331b4fa1635b8bec26350bde3"}, - {file = "cffi-1.15.1-cp27-cp27m-win_amd64.whl", hash = "sha256:e00b098126fd45523dd056d2efba6c5a63b71ffe9f2bbe1a4fe1716e1d0c331e"}, - {file = "cffi-1.15.1-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:d61f4695e6c866a23a21acab0509af1cdfd2c013cf256bbf5b6b5e2695827162"}, - {file = "cffi-1.15.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b"}, - {file = "cffi-1.15.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:39d39875251ca8f612b6f33e6b1195af86d1b3e60086068be9cc053aa4376e21"}, - {file = "cffi-1.15.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:285d29981935eb726a4399badae8f0ffdff4f5050eaa6d0cfc3f64b857b77185"}, - {file = "cffi-1.15.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3eb6971dcff08619f8d91607cfc726518b6fa2a9eba42856be181c6d0d9515fd"}, - {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:21157295583fe8943475029ed5abdcf71eb3911894724e360acff1d61c1d54bc"}, - {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5635bd9cb9731e6d4a1132a498dd34f764034a8ce60cef4f5319c0541159392f"}, - {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2012c72d854c2d03e45d06ae57f40d78e5770d252f195b93f581acf3ba44496e"}, - {file = "cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd86c085fae2efd48ac91dd7ccffcfc0571387fe1193d33b6394db7ef31fe2a4"}, - {file = "cffi-1.15.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01"}, - {file = "cffi-1.15.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:59c0b02d0a6c384d453fece7566d1c7e6b7bae4fc5874ef2ef46d56776d61c9e"}, - {file = "cffi-1.15.1-cp310-cp310-win32.whl", hash = "sha256:cba9d6b9a7d64d4bd46167096fc9d2f835e25d7e4c121fb2ddfc6528fb0413b2"}, - {file = "cffi-1.15.1-cp310-cp310-win_amd64.whl", hash = "sha256:ce4bcc037df4fc5e3d184794f27bdaab018943698f4ca31630bc7f84a7b69c6d"}, - {file = "cffi-1.15.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3d08afd128ddaa624a48cf2b859afef385b720bb4b43df214f85616922e6a5ac"}, - {file = "cffi-1.15.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3799aecf2e17cf585d977b780ce79ff0dc9b78d799fc694221ce814c2c19db83"}, - {file = "cffi-1.15.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a591fe9e525846e4d154205572a029f653ada1a78b93697f3b5a8f1f2bc055b9"}, - {file = "cffi-1.15.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c"}, - {file = "cffi-1.15.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325"}, - {file = "cffi-1.15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c"}, - {file = "cffi-1.15.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef"}, - {file = "cffi-1.15.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8"}, - {file = "cffi-1.15.1-cp311-cp311-win32.whl", hash = "sha256:a0f100c8912c114ff53e1202d0078b425bee3649ae34d7b070e9697f93c5d52d"}, - {file = "cffi-1.15.1-cp311-cp311-win_amd64.whl", hash = "sha256:04ed324bda3cda42b9b695d51bb7d54b680b9719cfab04227cdd1e04e5de3104"}, - {file = "cffi-1.15.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50a74364d85fd319352182ef59c5c790484a336f6db772c1a9231f1c3ed0cbd7"}, - {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e263d77ee3dd201c3a142934a086a4450861778baaeeb45db4591ef65550b0a6"}, - {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cec7d9412a9102bdc577382c3929b337320c4c4c4849f2c5cdd14d7368c5562d"}, - {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4289fc34b2f5316fbb762d75362931e351941fa95fa18789191b33fc4cf9504a"}, - {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:173379135477dc8cac4bc58f45db08ab45d228b3363adb7af79436135d028405"}, - {file = "cffi-1.15.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:6975a3fac6bc83c4a65c9f9fcab9e47019a11d3d2cf7f3c0d03431bf145a941e"}, - {file = "cffi-1.15.1-cp36-cp36m-win32.whl", hash = "sha256:2470043b93ff09bf8fb1d46d1cb756ce6132c54826661a32d4e4d132e1977adf"}, - {file = "cffi-1.15.1-cp36-cp36m-win_amd64.whl", hash = "sha256:30d78fbc8ebf9c92c9b7823ee18eb92f2e6ef79b45ac84db507f52fbe3ec4497"}, - {file = "cffi-1.15.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:198caafb44239b60e252492445da556afafc7d1e3ab7a1fb3f0584ef6d742375"}, - {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5ef34d190326c3b1f822a5b7a45f6c4535e2f47ed06fec77d3d799c450b2651e"}, - {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8102eaf27e1e448db915d08afa8b41d6c7ca7a04b7d73af6514df10a3e74bd82"}, - {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5df2768244d19ab7f60546d0c7c63ce1581f7af8b5de3eb3004b9b6fc8a9f84b"}, - {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a8c4917bd7ad33e8eb21e9a5bbba979b49d9a97acb3a803092cbc1133e20343c"}, - {file = "cffi-1.15.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0e2642fe3142e4cc4af0799748233ad6da94c62a8bec3a6648bf8ee68b1c7426"}, - {file = "cffi-1.15.1-cp37-cp37m-win32.whl", hash = "sha256:e229a521186c75c8ad9490854fd8bbdd9a0c9aa3a524326b55be83b54d4e0ad9"}, - {file = "cffi-1.15.1-cp37-cp37m-win_amd64.whl", hash = "sha256:a0b71b1b8fbf2b96e41c4d990244165e2c9be83d54962a9a1d118fd8657d2045"}, - {file = "cffi-1.15.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:320dab6e7cb2eacdf0e658569d2575c4dad258c0fcc794f46215e1e39f90f2c3"}, - {file = "cffi-1.15.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e74c6b51a9ed6589199c787bf5f9875612ca4a8a0785fb2d4a84429badaf22a"}, - {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a5c84c68147988265e60416b57fc83425a78058853509c1b0629c180094904a5"}, - {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3b926aa83d1edb5aa5b427b4053dc420ec295a08e40911296b9eb1b6170f6cca"}, - {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:87c450779d0914f2861b8526e035c5e6da0a3199d8f1add1a665e1cbc6fc6d02"}, - {file = "cffi-1.15.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f2c9f67e9821cad2e5f480bc8d83b8742896f1242dba247911072d4fa94c192"}, - {file = "cffi-1.15.1-cp38-cp38-win32.whl", hash = "sha256:8b7ee99e510d7b66cdb6c593f21c043c248537a32e0bedf02e01e9553a172314"}, - {file = "cffi-1.15.1-cp38-cp38-win_amd64.whl", hash = "sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5"}, - {file = "cffi-1.15.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:54a2db7b78338edd780e7ef7f9f6c442500fb0d41a5a4ea24fff1c929d5af585"}, - {file = "cffi-1.15.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0"}, - {file = "cffi-1.15.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7473e861101c9e72452f9bf8acb984947aa1661a7704553a9f6e4baa5ba64415"}, - {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6c9a799e985904922a4d207a94eae35c78ebae90e128f0c4e521ce339396be9d"}, - {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3bcde07039e586f91b45c88f8583ea7cf7a0770df3a1649627bf598332cb6984"}, - {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:33ab79603146aace82c2427da5ca6e58f2b3f2fb5da893ceac0c42218a40be35"}, - {file = "cffi-1.15.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5d598b938678ebf3c67377cdd45e09d431369c3b1a5b331058c338e201f12b27"}, - {file = "cffi-1.15.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:db0fbb9c62743ce59a9ff687eb5f4afbe77e5e8403d6697f7446e5f609976f76"}, - {file = "cffi-1.15.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:98d85c6a2bef81588d9227dde12db8a7f47f639f4a17c9ae08e773aa9c697bf3"}, - {file = "cffi-1.15.1-cp39-cp39-win32.whl", hash = "sha256:40f4774f5a9d4f5e344f31a32b5096977b5d48560c5592e2f3d2c4374bd543ee"}, - {file = "cffi-1.15.1-cp39-cp39-win_amd64.whl", hash = "sha256:70df4e3b545a17496c9b3f41f5115e69a4f2e77e94e1d2a8e1070bc0c38c8a3c"}, - {file = "cffi-1.15.1.tar.gz", hash = "sha256:d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9"}, -] - -[package.dependencies] -pycparser = "*" - -[[package]] -name = "charset-normalizer" -version = "3.1.0" -description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -category = "dev" -optional = false -python-versions = ">=3.7.0" -files = [ - {file = "charset-normalizer-3.1.0.tar.gz", hash = "sha256:34e0a2f9c370eb95597aae63bf85eb5e96826d81e3dcf88b8886012906f509b5"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e0ac8959c929593fee38da1c2b64ee9778733cdf03c482c9ff1d508b6b593b2b"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d7fc3fca01da18fbabe4625d64bb612b533533ed10045a2ac3dd194bfa656b60"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:04eefcee095f58eaabe6dc3cc2262f3bcd776d2c67005880894f447b3f2cb9c1"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:20064ead0717cf9a73a6d1e779b23d149b53daf971169289ed2ed43a71e8d3b0"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1435ae15108b1cb6fffbcea2af3d468683b7afed0169ad718451f8db5d1aff6f"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c84132a54c750fda57729d1e2599bb598f5fa0344085dbde5003ba429a4798c0"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:75f2568b4189dda1c567339b48cba4ac7384accb9c2a7ed655cd86b04055c795"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:11d3bcb7be35e7b1bba2c23beedac81ee893ac9871d0ba79effc7fc01167db6c"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:891cf9b48776b5c61c700b55a598621fdb7b1e301a550365571e9624f270c203"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:5f008525e02908b20e04707a4f704cd286d94718f48bb33edddc7d7b584dddc1"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:b06f0d3bf045158d2fb8837c5785fe9ff9b8c93358be64461a1089f5da983137"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:49919f8400b5e49e961f320c735388ee686a62327e773fa5b3ce6721f7e785ce"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:22908891a380d50738e1f978667536f6c6b526a2064156203d418f4856d6e86a"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-win32.whl", hash = "sha256:12d1a39aa6b8c6f6248bb54550efcc1c38ce0d8096a146638fd4738e42284448"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:65ed923f84a6844de5fd29726b888e58c62820e0769b76565480e1fdc3d062f8"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9a3267620866c9d17b959a84dd0bd2d45719b817245e49371ead79ed4f710d19"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6734e606355834f13445b6adc38b53c0fd45f1a56a9ba06c2058f86893ae8017"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f8303414c7b03f794347ad062c0516cee0e15f7a612abd0ce1e25caf6ceb47df"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aaf53a6cebad0eae578f062c7d462155eada9c172bd8c4d250b8c1d8eb7f916a"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3dc5b6a8ecfdc5748a7e429782598e4f17ef378e3e272eeb1340ea57c9109f41"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e1b25e3ad6c909f398df8921780d6a3d120d8c09466720226fc621605b6f92b1"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0ca564606d2caafb0abe6d1b5311c2649e8071eb241b2d64e75a0d0065107e62"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b82fab78e0b1329e183a65260581de4375f619167478dddab510c6c6fb04d9b6"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:bd7163182133c0c7701b25e604cf1611c0d87712e56e88e7ee5d72deab3e76b5"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:11d117e6c63e8f495412d37e7dc2e2fff09c34b2d09dbe2bee3c6229577818be"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:cf6511efa4801b9b38dc5546d7547d5b5c6ef4b081c60b23e4d941d0eba9cbeb"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:abc1185d79f47c0a7aaf7e2412a0eb2c03b724581139193d2d82b3ad8cbb00ac"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cb7b2ab0188829593b9de646545175547a70d9a6e2b63bf2cd87a0a391599324"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-win32.whl", hash = "sha256:c36bcbc0d5174a80d6cccf43a0ecaca44e81d25be4b7f90f0ed7bcfbb5a00909"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:cca4def576f47a09a943666b8f829606bcb17e2bc2d5911a46c8f8da45f56755"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:0c95f12b74681e9ae127728f7e5409cbbef9cd914d5896ef238cc779b8152373"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fca62a8301b605b954ad2e9c3666f9d97f63872aa4efcae5492baca2056b74ab"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ac0aa6cd53ab9a31d397f8303f92c42f534693528fafbdb997c82bae6e477ad9"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c3af8e0f07399d3176b179f2e2634c3ce9c1301379a6b8c9c9aeecd481da494f"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a5fc78f9e3f501a1614a98f7c54d3969f3ad9bba8ba3d9b438c3bc5d047dd28"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:628c985afb2c7d27a4800bfb609e03985aaecb42f955049957814e0491d4006d"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:74db0052d985cf37fa111828d0dd230776ac99c740e1a758ad99094be4f1803d"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:1e8fcdd8f672a1c4fc8d0bd3a2b576b152d2a349782d1eb0f6b8e52e9954731d"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:04afa6387e2b282cf78ff3dbce20f0cc071c12dc8f685bd40960cc68644cfea6"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:dd5653e67b149503c68c4018bf07e42eeed6b4e956b24c00ccdf93ac79cdff84"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:d2686f91611f9e17f4548dbf050e75b079bbc2a82be565832bc8ea9047b61c8c"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-win32.whl", hash = "sha256:4155b51ae05ed47199dc5b2a4e62abccb274cee6b01da5b895099b61b1982974"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-win_amd64.whl", hash = "sha256:322102cdf1ab682ecc7d9b1c5eed4ec59657a65e1c146a0da342b78f4112db23"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:e633940f28c1e913615fd624fcdd72fdba807bf53ea6925d6a588e84e1151531"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:3a06f32c9634a8705f4ca9946d667609f52cf130d5548881401f1eb2c39b1e2c"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7381c66e0561c5757ffe616af869b916c8b4e42b367ab29fedc98481d1e74e14"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3573d376454d956553c356df45bb824262c397c6e26ce43e8203c4c540ee0acb"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e89df2958e5159b811af9ff0f92614dabf4ff617c03a4c1c6ff53bf1c399e0e1"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:78cacd03e79d009d95635e7d6ff12c21eb89b894c354bd2b2ed0b4763373693b"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:de5695a6f1d8340b12a5d6d4484290ee74d61e467c39ff03b39e30df62cf83a0"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1c60b9c202d00052183c9be85e5eaf18a4ada0a47d188a83c8f5c5b23252f649"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:f645caaf0008bacf349875a974220f1f1da349c5dbe7c4ec93048cdc785a3326"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:ea9f9c6034ea2d93d9147818f17c2a0860d41b71c38b9ce4d55f21b6f9165a11"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:80d1543d58bd3d6c271b66abf454d437a438dff01c3e62fdbcd68f2a11310d4b"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:73dc03a6a7e30b7edc5b01b601e53e7fc924b04e1835e8e407c12c037e81adbd"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:6f5c2e7bc8a4bf7c426599765b1bd33217ec84023033672c1e9a8b35eaeaaaf8"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-win32.whl", hash = "sha256:12a2b561af122e3d94cdb97fe6fb2bb2b82cef0cdca131646fdb940a1eda04f0"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:3160a0fd9754aab7d47f95a6b63ab355388d890163eb03b2d2b87ab0a30cfa59"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:38e812a197bf8e71a59fe55b757a84c1f946d0ac114acafaafaf21667a7e169e"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6baf0baf0d5d265fa7944feb9f7451cc316bfe30e8df1a61b1bb08577c554f31"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:8f25e17ab3039b05f762b0a55ae0b3632b2e073d9c8fc88e89aca31a6198e88f"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3747443b6a904001473370d7810aa19c3a180ccd52a7157aacc264a5ac79265e"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b116502087ce8a6b7a5f1814568ccbd0e9f6cfd99948aa59b0e241dc57cf739f"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d16fd5252f883eb074ca55cb622bc0bee49b979ae4e8639fff6ca3ff44f9f854"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:21fa558996782fc226b529fdd2ed7866c2c6ec91cee82735c98a197fae39f706"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6f6c7a8a57e9405cad7485f4c9d3172ae486cfef1344b5ddd8e5239582d7355e"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ac3775e3311661d4adace3697a52ac0bab17edd166087d493b52d4f4f553f9f0"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:10c93628d7497c81686e8e5e557aafa78f230cd9e77dd0c40032ef90c18f2230"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:6f4f4668e1831850ebcc2fd0b1cd11721947b6dc7c00bf1c6bd3c929ae14f2c7"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:0be65ccf618c1e7ac9b849c315cc2e8a8751d9cfdaa43027d4f6624bd587ab7e"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:53d0a3fa5f8af98a1e261de6a3943ca631c526635eb5817a87a59d9a57ebf48f"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-win32.whl", hash = "sha256:a04f86f41a8916fe45ac5024ec477f41f886b3c435da2d4e3d2709b22ab02af1"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:830d2948a5ec37c386d3170c483063798d7879037492540f10a475e3fd6f244b"}, - {file = "charset_normalizer-3.1.0-py3-none-any.whl", hash = "sha256:3d9098b479e78c85080c98e1e35ff40b4a31d8953102bb0fd7d1b6f8a2111a3d"}, -] - -[[package]] -name = "click" -version = "8.1.3" -description = "Composable command line interface toolkit" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "click-8.1.3-py3-none-any.whl", hash = "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"}, - {file = "click-8.1.3.tar.gz", hash = "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"}, -] - -[package.dependencies] -colorama = {version = "*", markers = "platform_system == \"Windows\""} - -[[package]] -name = "colorama" -version = "0.4.6" -description = "Cross-platform colored terminal text." -category = "dev" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" -files = [ - {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, - {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, -] - -[[package]] -name = "cryptography" -version = "38.0.4" -description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." -category = "dev" -optional = false -python-versions = ">=3.6" -files = [ - {file = "cryptography-38.0.4-cp36-abi3-macosx_10_10_universal2.whl", hash = "sha256:2fa36a7b2cc0998a3a4d5af26ccb6273f3df133d61da2ba13b3286261e7efb70"}, - {file = "cryptography-38.0.4-cp36-abi3-macosx_10_10_x86_64.whl", hash = "sha256:1f13ddda26a04c06eb57119caf27a524ccae20533729f4b1e4a69b54e07035eb"}, - {file = "cryptography-38.0.4-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:2ec2a8714dd005949d4019195d72abed84198d877112abb5a27740e217e0ea8d"}, - {file = "cryptography-38.0.4-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50a1494ed0c3f5b4d07650a68cd6ca62efe8b596ce743a5c94403e6f11bf06c1"}, - {file = "cryptography-38.0.4-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a10498349d4c8eab7357a8f9aa3463791292845b79597ad1b98a543686fb1ec8"}, - {file = "cryptography-38.0.4-cp36-abi3-manylinux_2_24_x86_64.whl", hash = "sha256:10652dd7282de17990b88679cb82f832752c4e8237f0c714be518044269415db"}, - {file = "cryptography-38.0.4-cp36-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:bfe6472507986613dc6cc00b3d492b2f7564b02b3b3682d25ca7f40fa3fd321b"}, - {file = "cryptography-38.0.4-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:ce127dd0a6a0811c251a6cddd014d292728484e530d80e872ad9806cfb1c5b3c"}, - {file = "cryptography-38.0.4-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:53049f3379ef05182864d13bb9686657659407148f901f3f1eee57a733fb4b00"}, - {file = "cryptography-38.0.4-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:8a4b2bdb68a447fadebfd7d24855758fe2d6fecc7fed0b78d190b1af39a8e3b0"}, - {file = "cryptography-38.0.4-cp36-abi3-win32.whl", hash = "sha256:1d7e632804a248103b60b16fb145e8df0bc60eed790ece0d12efe8cd3f3e7744"}, - {file = "cryptography-38.0.4-cp36-abi3-win_amd64.whl", hash = "sha256:8e45653fb97eb2f20b8c96f9cd2b3a0654d742b47d638cf2897afbd97f80fa6d"}, - {file = "cryptography-38.0.4-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ca57eb3ddaccd1112c18fc80abe41db443cc2e9dcb1917078e02dfa010a4f353"}, - {file = "cryptography-38.0.4-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:c9e0d79ee4c56d841bd4ac6e7697c8ff3c8d6da67379057f29e66acffcd1e9a7"}, - {file = "cryptography-38.0.4-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:0e70da4bdff7601b0ef48e6348339e490ebfb0cbe638e083c9c41fb49f00c8bd"}, - {file = "cryptography-38.0.4-pp38-pypy38_pp73-macosx_10_10_x86_64.whl", hash = "sha256:998cd19189d8a747b226d24c0207fdaa1e6658a1d3f2494541cb9dfbf7dcb6d2"}, - {file = "cryptography-38.0.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:67461b5ebca2e4c2ab991733f8ab637a7265bb582f07c7c88914b5afb88cb95b"}, - {file = "cryptography-38.0.4-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:4eb85075437f0b1fd8cd66c688469a0c4119e0ba855e3fef86691971b887caf6"}, - {file = "cryptography-38.0.4-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:3178d46f363d4549b9a76264f41c6948752183b3f587666aff0555ac50fd7876"}, - {file = "cryptography-38.0.4-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:6391e59ebe7c62d9902c24a4d8bcbc79a68e7c4ab65863536127c8a9cd94043b"}, - {file = "cryptography-38.0.4-pp39-pypy39_pp73-macosx_10_10_x86_64.whl", hash = "sha256:78e47e28ddc4ace41dd38c42e6feecfdadf9c3be2af389abbfeef1ff06822285"}, - {file = "cryptography-38.0.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2fb481682873035600b5502f0015b664abc26466153fab5c6bc92c1ea69d478b"}, - {file = "cryptography-38.0.4-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:4367da5705922cf7070462e964f66e4ac24162e22ab0a2e9d31f1b270dd78083"}, - {file = "cryptography-38.0.4-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:b4cad0cea995af760f82820ab4ca54e5471fc782f70a007f31531957f43e9dee"}, - {file = "cryptography-38.0.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:80ca53981ceeb3241998443c4964a387771588c4e4a5d92735a493af868294f9"}, - {file = "cryptography-38.0.4.tar.gz", hash = "sha256:175c1a818b87c9ac80bb7377f5520b7f31b3ef2a0004e2420319beadedb67290"}, -] - -[package.dependencies] -cffi = ">=1.12" - -[package.extras] -docs = ["sphinx (>=1.6.5,!=1.8.0,!=3.1.0,!=3.1.1)", "sphinx-rtd-theme"] -docstest = ["pyenchant (>=1.6.11)", "sphinxcontrib-spelling (>=4.0.1)", "twine (>=1.12.0)"] -pep8test = ["black", "flake8", "flake8-import-order", "pep8-naming"] -sdist = ["setuptools-rust (>=0.11.4)"] -ssh = ["bcrypt (>=3.1.5)"] -test = ["hypothesis (>=1.11.4,!=3.79.2)", "iso8601", "pretend", "pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-subtests", "pytest-xdist", "pytz"] - -[[package]] -name = "dacite" -version = "1.8.1" -description = "Simple creation of data classes from dictionaries." -category = "dev" -optional = false -python-versions = ">=3.6" -files = [ - {file = "dacite-1.8.1-py3-none-any.whl", hash = "sha256:cc31ad6fdea1f49962ea42db9421772afe01ac5442380d9a99fcf3d188c61afe"}, -] - -[package.extras] -dev = ["black", "coveralls", "mypy", "pre-commit", "pylint", "pytest (>=5)", "pytest-benchmark", "pytest-cov"] - -[[package]] -name = "deprecated" -version = "1.2.14" -description = "Python @deprecated decorator to deprecate old python classes, functions or methods." -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -files = [ - {file = "Deprecated-1.2.14-py2.py3-none-any.whl", hash = "sha256:6fac8b097794a90302bdbb17b9b815e732d3c4720583ff1b198499d78470466c"}, - {file = "Deprecated-1.2.14.tar.gz", hash = "sha256:e5323eb936458dccc2582dc6f9c322c852a775a27065ff2b0c4970b9d53d01b3"}, -] - -[package.dependencies] -wrapt = ">=1.10,<2" - -[package.extras] -dev = ["PyTest", "PyTest-Cov", "bump2version (<1)", "sphinx (<2)", "tox"] - -[[package]] -name = "exceptiongroup" -version = "1.1.1" -description = "Backport of PEP 654 (exception groups)" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "exceptiongroup-1.1.1-py3-none-any.whl", hash = "sha256:232c37c63e4f682982c8b6459f33a8981039e5fb8756b2074364e5055c498c9e"}, - {file = "exceptiongroup-1.1.1.tar.gz", hash = "sha256:d484c3090ba2889ae2928419117447a14daf3c1231d5e30d0aae34f354f01785"}, -] - -[package.extras] -test = ["pytest (>=6)"] - -[[package]] -name = "frozenlist" -version = "1.3.3" -description = "A list-like structure which implements collections.abc.MutableSequence" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "frozenlist-1.3.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ff8bf625fe85e119553b5383ba0fb6aa3d0ec2ae980295aaefa552374926b3f4"}, - {file = "frozenlist-1.3.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:dfbac4c2dfcc082fcf8d942d1e49b6aa0766c19d3358bd86e2000bf0fa4a9cf0"}, - {file = "frozenlist-1.3.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b1c63e8d377d039ac769cd0926558bb7068a1f7abb0f003e3717ee003ad85530"}, - {file = "frozenlist-1.3.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7fdfc24dcfce5b48109867c13b4cb15e4660e7bd7661741a391f821f23dfdca7"}, - {file = "frozenlist-1.3.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2c926450857408e42f0bbc295e84395722ce74bae69a3b2aa2a65fe22cb14b99"}, - {file = "frozenlist-1.3.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1841e200fdafc3d51f974d9d377c079a0694a8f06de2e67b48150328d66d5483"}, - {file = "frozenlist-1.3.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f470c92737afa7d4c3aacc001e335062d582053d4dbe73cda126f2d7031068dd"}, - {file = "frozenlist-1.3.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:783263a4eaad7c49983fe4b2e7b53fa9770c136c270d2d4bbb6d2192bf4d9caf"}, - {file = "frozenlist-1.3.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:924620eef691990dfb56dc4709f280f40baee568c794b5c1885800c3ecc69816"}, - {file = "frozenlist-1.3.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:ae4dc05c465a08a866b7a1baf360747078b362e6a6dbeb0c57f234db0ef88ae0"}, - {file = "frozenlist-1.3.3-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:bed331fe18f58d844d39ceb398b77d6ac0b010d571cba8267c2e7165806b00ce"}, - {file = "frozenlist-1.3.3-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:02c9ac843e3390826a265e331105efeab489ffaf4dd86384595ee8ce6d35ae7f"}, - {file = "frozenlist-1.3.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:9545a33965d0d377b0bc823dcabf26980e77f1b6a7caa368a365a9497fb09420"}, - {file = "frozenlist-1.3.3-cp310-cp310-win32.whl", hash = "sha256:d5cd3ab21acbdb414bb6c31958d7b06b85eeb40f66463c264a9b343a4e238642"}, - {file = "frozenlist-1.3.3-cp310-cp310-win_amd64.whl", hash = "sha256:b756072364347cb6aa5b60f9bc18e94b2f79632de3b0190253ad770c5df17db1"}, - {file = "frozenlist-1.3.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:b4395e2f8d83fbe0c627b2b696acce67868793d7d9750e90e39592b3626691b7"}, - {file = "frozenlist-1.3.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:14143ae966a6229350021384870458e4777d1eae4c28d1a7aa47f24d030e6678"}, - {file = "frozenlist-1.3.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5d8860749e813a6f65bad8285a0520607c9500caa23fea6ee407e63debcdbef6"}, - {file = "frozenlist-1.3.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:23d16d9f477bb55b6154654e0e74557040575d9d19fe78a161bd33d7d76808e8"}, - {file = "frozenlist-1.3.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:eb82dbba47a8318e75f679690190c10a5e1f447fbf9df41cbc4c3afd726d88cb"}, - {file = "frozenlist-1.3.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9309869032abb23d196cb4e4db574232abe8b8be1339026f489eeb34a4acfd91"}, - {file = "frozenlist-1.3.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a97b4fe50b5890d36300820abd305694cb865ddb7885049587a5678215782a6b"}, - {file = "frozenlist-1.3.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c188512b43542b1e91cadc3c6c915a82a5eb95929134faf7fd109f14f9892ce4"}, - {file = "frozenlist-1.3.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:303e04d422e9b911a09ad499b0368dc551e8c3cd15293c99160c7f1f07b59a48"}, - {file = "frozenlist-1.3.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:0771aed7f596c7d73444c847a1c16288937ef988dc04fb9f7be4b2aa91db609d"}, - {file = "frozenlist-1.3.3-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:66080ec69883597e4d026f2f71a231a1ee9887835902dbe6b6467d5a89216cf6"}, - {file = "frozenlist-1.3.3-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:41fe21dc74ad3a779c3d73a2786bdf622ea81234bdd4faf90b8b03cad0c2c0b4"}, - {file = "frozenlist-1.3.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f20380df709d91525e4bee04746ba612a4df0972c1b8f8e1e8af997e678c7b81"}, - {file = "frozenlist-1.3.3-cp311-cp311-win32.whl", hash = "sha256:f30f1928162e189091cf4d9da2eac617bfe78ef907a761614ff577ef4edfb3c8"}, - {file = "frozenlist-1.3.3-cp311-cp311-win_amd64.whl", hash = "sha256:a6394d7dadd3cfe3f4b3b186e54d5d8504d44f2d58dcc89d693698e8b7132b32"}, - {file = "frozenlist-1.3.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:8df3de3a9ab8325f94f646609a66cbeeede263910c5c0de0101079ad541af332"}, - {file = "frozenlist-1.3.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0693c609e9742c66ba4870bcee1ad5ff35462d5ffec18710b4ac89337ff16e27"}, - {file = "frozenlist-1.3.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cd4210baef299717db0a600d7a3cac81d46ef0e007f88c9335db79f8979c0d3d"}, - {file = "frozenlist-1.3.3-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:394c9c242113bfb4b9aa36e2b80a05ffa163a30691c7b5a29eba82e937895d5e"}, - {file = "frozenlist-1.3.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6327eb8e419f7d9c38f333cde41b9ae348bec26d840927332f17e887a8dcb70d"}, - {file = "frozenlist-1.3.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2e24900aa13212e75e5b366cb9065e78bbf3893d4baab6052d1aca10d46d944c"}, - {file = "frozenlist-1.3.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:3843f84a6c465a36559161e6c59dce2f2ac10943040c2fd021cfb70d58c4ad56"}, - {file = "frozenlist-1.3.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:84610c1502b2461255b4c9b7d5e9c48052601a8957cd0aea6ec7a7a1e1fb9420"}, - {file = "frozenlist-1.3.3-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:c21b9aa40e08e4f63a2f92ff3748e6b6c84d717d033c7b3438dd3123ee18f70e"}, - {file = "frozenlist-1.3.3-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:efce6ae830831ab6a22b9b4091d411698145cb9b8fc869e1397ccf4b4b6455cb"}, - {file = "frozenlist-1.3.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:40de71985e9042ca00b7953c4f41eabc3dc514a2d1ff534027f091bc74416401"}, - {file = "frozenlist-1.3.3-cp37-cp37m-win32.whl", hash = "sha256:180c00c66bde6146a860cbb81b54ee0df350d2daf13ca85b275123bbf85de18a"}, - {file = "frozenlist-1.3.3-cp37-cp37m-win_amd64.whl", hash = "sha256:9bbbcedd75acdfecf2159663b87f1bb5cfc80e7cd99f7ddd9d66eb98b14a8411"}, - {file = "frozenlist-1.3.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:034a5c08d36649591be1cbb10e09da9f531034acfe29275fc5454a3b101ce41a"}, - {file = "frozenlist-1.3.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ba64dc2b3b7b158c6660d49cdb1d872d1d0bf4e42043ad8d5006099479a194e5"}, - {file = "frozenlist-1.3.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:47df36a9fe24054b950bbc2db630d508cca3aa27ed0566c0baf661225e52c18e"}, - {file = "frozenlist-1.3.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:008a054b75d77c995ea26629ab3a0c0d7281341f2fa7e1e85fa6153ae29ae99c"}, - {file = "frozenlist-1.3.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:841ea19b43d438a80b4de62ac6ab21cfe6827bb8a9dc62b896acc88eaf9cecba"}, - {file = "frozenlist-1.3.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e235688f42b36be2b6b06fc37ac2126a73b75fb8d6bc66dd632aa35286238703"}, - {file = "frozenlist-1.3.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca713d4af15bae6e5d79b15c10c8522859a9a89d3b361a50b817c98c2fb402a2"}, - {file = "frozenlist-1.3.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9ac5995f2b408017b0be26d4a1d7c61bce106ff3d9e3324374d66b5964325448"}, - {file = "frozenlist-1.3.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:a4ae8135b11652b08a8baf07631d3ebfe65a4c87909dbef5fa0cdde440444ee4"}, - {file = "frozenlist-1.3.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4ea42116ceb6bb16dbb7d526e242cb6747b08b7710d9782aa3d6732bd8d27649"}, - {file = "frozenlist-1.3.3-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:810860bb4bdce7557bc0febb84bbd88198b9dbc2022d8eebe5b3590b2ad6c842"}, - {file = "frozenlist-1.3.3-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:ee78feb9d293c323b59a6f2dd441b63339a30edf35abcb51187d2fc26e696d13"}, - {file = "frozenlist-1.3.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:0af2e7c87d35b38732e810befb9d797a99279cbb85374d42ea61c1e9d23094b3"}, - {file = "frozenlist-1.3.3-cp38-cp38-win32.whl", hash = "sha256:899c5e1928eec13fd6f6d8dc51be23f0d09c5281e40d9cf4273d188d9feeaf9b"}, - {file = "frozenlist-1.3.3-cp38-cp38-win_amd64.whl", hash = "sha256:7f44e24fa70f6fbc74aeec3e971f60a14dde85da364aa87f15d1be94ae75aeef"}, - {file = "frozenlist-1.3.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:2b07ae0c1edaa0a36339ec6cce700f51b14a3fc6545fdd32930d2c83917332cf"}, - {file = "frozenlist-1.3.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:ebb86518203e12e96af765ee89034a1dbb0c3c65052d1b0c19bbbd6af8a145e1"}, - {file = "frozenlist-1.3.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5cf820485f1b4c91e0417ea0afd41ce5cf5965011b3c22c400f6d144296ccbc0"}, - {file = "frozenlist-1.3.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5c11e43016b9024240212d2a65043b70ed8dfd3b52678a1271972702d990ac6d"}, - {file = "frozenlist-1.3.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8fa3c6e3305aa1146b59a09b32b2e04074945ffcfb2f0931836d103a2c38f936"}, - {file = "frozenlist-1.3.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:352bd4c8c72d508778cf05ab491f6ef36149f4d0cb3c56b1b4302852255d05d5"}, - {file = "frozenlist-1.3.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:65a5e4d3aa679610ac6e3569e865425b23b372277f89b5ef06cf2cdaf1ebf22b"}, - {file = "frozenlist-1.3.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1e2c1185858d7e10ff045c496bbf90ae752c28b365fef2c09cf0fa309291669"}, - {file = "frozenlist-1.3.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f163d2fd041c630fed01bc48d28c3ed4a3b003c00acd396900e11ee5316b56bb"}, - {file = "frozenlist-1.3.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:05cdb16d09a0832eedf770cb7bd1fe57d8cf4eaf5aced29c4e41e3f20b30a784"}, - {file = "frozenlist-1.3.3-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:8bae29d60768bfa8fb92244b74502b18fae55a80eac13c88eb0b496d4268fd2d"}, - {file = "frozenlist-1.3.3-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:eedab4c310c0299961ac285591acd53dc6723a1ebd90a57207c71f6e0c2153ab"}, - {file = "frozenlist-1.3.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:3bbdf44855ed8f0fbcd102ef05ec3012d6a4fd7c7562403f76ce6a52aeffb2b1"}, - {file = "frozenlist-1.3.3-cp39-cp39-win32.whl", hash = "sha256:efa568b885bca461f7c7b9e032655c0c143d305bf01c30caf6db2854a4532b38"}, - {file = "frozenlist-1.3.3-cp39-cp39-win_amd64.whl", hash = "sha256:cfe33efc9cb900a4c46f91a5ceba26d6df370ffddd9ca386eb1d4f0ad97b9ea9"}, - {file = "frozenlist-1.3.3.tar.gz", hash = "sha256:58bcc55721e8a90b88332d6cd441261ebb22342e238296bb330968952fbb3a6a"}, -] - -[[package]] -name = "gevent" -version = "23.9.1" -description = "Coroutine-based network library" -category = "dev" -optional = false -python-versions = ">=3.8" -files = [ - {file = "gevent-23.9.1-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:a3c5e9b1f766a7a64833334a18539a362fb563f6c4682f9634dea72cbe24f771"}, - {file = "gevent-23.9.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b101086f109168b23fa3586fccd1133494bdb97f86920a24dc0b23984dc30b69"}, - {file = "gevent-23.9.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:36a549d632c14684bcbbd3014a6ce2666c5f2a500f34d58d32df6c9ea38b6535"}, - {file = "gevent-23.9.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:272cffdf535978d59c38ed837916dfd2b5d193be1e9e5dcc60a5f4d5025dd98a"}, - {file = "gevent-23.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dcb8612787a7f4626aa881ff15ff25439561a429f5b303048f0fca8a1c781c39"}, - {file = "gevent-23.9.1-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:d57737860bfc332b9b5aa438963986afe90f49645f6e053140cfa0fa1bdae1ae"}, - {file = "gevent-23.9.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:5f3c781c84794926d853d6fb58554dc0dcc800ba25c41d42f6959c344b4db5a6"}, - {file = "gevent-23.9.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:dbb22a9bbd6a13e925815ce70b940d1578dbe5d4013f20d23e8a11eddf8d14a7"}, - {file = "gevent-23.9.1-cp310-cp310-win_amd64.whl", hash = "sha256:707904027d7130ff3e59ea387dddceedb133cc742b00b3ffe696d567147a9c9e"}, - {file = "gevent-23.9.1-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:45792c45d60f6ce3d19651d7fde0bc13e01b56bb4db60d3f32ab7d9ec467374c"}, - {file = "gevent-23.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e24c2af9638d6c989caffc691a039d7c7022a31c0363da367c0d32ceb4a0648"}, - {file = "gevent-23.9.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e1ead6863e596a8cc2a03e26a7a0981f84b6b3e956101135ff6d02df4d9a6b07"}, - {file = "gevent-23.9.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65883ac026731ac112184680d1f0f1e39fa6f4389fd1fc0bf46cc1388e2599f9"}, - {file = "gevent-23.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bf7af500da05363e66f122896012acb6e101a552682f2352b618e541c941a011"}, - {file = "gevent-23.9.1-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:c3e5d2fa532e4d3450595244de8ccf51f5721a05088813c1abd93ad274fe15e7"}, - {file = "gevent-23.9.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c84d34256c243b0a53d4335ef0bc76c735873986d478c53073861a92566a8d71"}, - {file = "gevent-23.9.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:ada07076b380918829250201df1d016bdafb3acf352f35e5693b59dceee8dd2e"}, - {file = "gevent-23.9.1-cp311-cp311-win_amd64.whl", hash = "sha256:921dda1c0b84e3d3b1778efa362d61ed29e2b215b90f81d498eb4d8eafcd0b7a"}, - {file = "gevent-23.9.1-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:ed7a048d3e526a5c1d55c44cb3bc06cfdc1947d06d45006cc4cf60dedc628904"}, - {file = "gevent-23.9.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7c1abc6f25f475adc33e5fc2dbcc26a732608ac5375d0d306228738a9ae14d3b"}, - {file = "gevent-23.9.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4368f341a5f51611411ec3fc62426f52ac3d6d42eaee9ed0f9eebe715c80184e"}, - {file = "gevent-23.9.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:52b4abf28e837f1865a9bdeef58ff6afd07d1d888b70b6804557e7908032e599"}, - {file = "gevent-23.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:52e9f12cd1cda96603ce6b113d934f1aafb873e2c13182cf8e86d2c5c41982ea"}, - {file = "gevent-23.9.1-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:de350fde10efa87ea60d742901e1053eb2127ebd8b59a7d3b90597eb4e586599"}, - {file = "gevent-23.9.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:fde6402c5432b835fbb7698f1c7f2809c8d6b2bd9d047ac1f5a7c1d5aa569303"}, - {file = "gevent-23.9.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:dd6c32ab977ecf7c7b8c2611ed95fa4aaebd69b74bf08f4b4960ad516861517d"}, - {file = "gevent-23.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:455e5ee8103f722b503fa45dedb04f3ffdec978c1524647f8ba72b4f08490af1"}, - {file = "gevent-23.9.1-cp38-cp38-macosx_11_0_universal2.whl", hash = "sha256:7ccf0fd378257cb77d91c116e15c99e533374a8153632c48a3ecae7f7f4f09fe"}, - {file = "gevent-23.9.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d163d59f1be5a4c4efcdd13c2177baaf24aadf721fdf2e1af9ee54a998d160f5"}, - {file = "gevent-23.9.1-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:7532c17bc6c1cbac265e751b95000961715adef35a25d2b0b1813aa7263fb397"}, - {file = "gevent-23.9.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:78eebaf5e73ff91d34df48f4e35581ab4c84e22dd5338ef32714264063c57507"}, - {file = "gevent-23.9.1-cp38-cp38-win32.whl", hash = "sha256:f632487c87866094546a74eefbca2c74c1d03638b715b6feb12e80120960185a"}, - {file = "gevent-23.9.1-cp38-cp38-win_amd64.whl", hash = "sha256:62d121344f7465e3739989ad6b91f53a6ca9110518231553fe5846dbe1b4518f"}, - {file = "gevent-23.9.1-cp39-cp39-macosx_11_0_universal2.whl", hash = "sha256:bf456bd6b992eb0e1e869e2fd0caf817f0253e55ca7977fd0e72d0336a8c1c6a"}, - {file = "gevent-23.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:43daf68496c03a35287b8b617f9f91e0e7c0d042aebcc060cadc3f049aadd653"}, - {file = "gevent-23.9.1-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:7c28e38dcde327c217fdafb9d5d17d3e772f636f35df15ffae2d933a5587addd"}, - {file = "gevent-23.9.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:fae8d5b5b8fa2a8f63b39f5447168b02db10c888a3e387ed7af2bd1b8612e543"}, - {file = "gevent-23.9.1-cp39-cp39-win32.whl", hash = "sha256:2c7b5c9912378e5f5ccf180d1fdb1e83f42b71823483066eddbe10ef1a2fcaa2"}, - {file = "gevent-23.9.1-cp39-cp39-win_amd64.whl", hash = "sha256:a2898b7048771917d85a1d548fd378e8a7b2ca963db8e17c6d90c76b495e0e2b"}, - {file = "gevent-23.9.1.tar.gz", hash = "sha256:72c002235390d46f94938a96920d8856d4ffd9ddf62a303a0d7c118894097e34"}, -] - -[package.dependencies] -cffi = {version = ">=1.12.2", markers = "platform_python_implementation == \"CPython\" and sys_platform == \"win32\""} -greenlet = [ - {version = ">=2.0.0", markers = "platform_python_implementation == \"CPython\" and python_version < \"3.11\""}, - {version = ">=3.0rc3", markers = "platform_python_implementation == \"CPython\" and python_version >= \"3.11\""}, -] -"zope.event" = "*" -"zope.interface" = "*" - -[package.extras] -dnspython = ["dnspython (>=1.16.0,<2.0)", "idna"] -docs = ["furo", "repoze.sphinx.autointerface", "sphinx", "sphinxcontrib-programoutput", "zope.schema"] -monitor = ["psutil (>=5.7.0)"] -recommended = ["cffi (>=1.12.2)", "dnspython (>=1.16.0,<2.0)", "idna", "psutil (>=5.7.0)"] -test = ["cffi (>=1.12.2)", "coverage (>=5.0)", "dnspython (>=1.16.0,<2.0)", "idna", "objgraph", "psutil (>=5.7.0)", "requests", "setuptools"] - -[[package]] -name = "googleapis-common-protos" -version = "1.59.0" -description = "Common protobufs used in Google APIs" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "googleapis-common-protos-1.59.0.tar.gz", hash = "sha256:4168fcb568a826a52f23510412da405abd93f4d23ba544bb68d943b14ba3cb44"}, - {file = "googleapis_common_protos-1.59.0-py2.py3-none-any.whl", hash = "sha256:b287dc48449d1d41af0c69f4ea26242b5ae4c3d7249a38b0984c86a4caffff1f"}, -] - -[package.dependencies] -protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0dev" - -[package.extras] -grpc = ["grpcio (>=1.44.0,<2.0.0dev)"] - -[[package]] -name = "greenlet" -version = "3.0.0" -description = "Lightweight in-process concurrent programming" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "greenlet-3.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e09dea87cc91aea5500262993cbd484b41edf8af74f976719dd83fe724644cd6"}, - {file = "greenlet-3.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f47932c434a3c8d3c86d865443fadc1fbf574e9b11d6650b656e602b1797908a"}, - {file = "greenlet-3.0.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bdfaeecf8cc705d35d8e6de324bf58427d7eafb55f67050d8f28053a3d57118c"}, - {file = "greenlet-3.0.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6a68d670c8f89ff65c82b936275369e532772eebc027c3be68c6b87ad05ca695"}, - {file = "greenlet-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:38ad562a104cd41e9d4644f46ea37167b93190c6d5e4048fcc4b80d34ecb278f"}, - {file = "greenlet-3.0.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:02a807b2a58d5cdebb07050efe3d7deaf915468d112dfcf5e426d0564aa3aa4a"}, - {file = "greenlet-3.0.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:b1660a15a446206c8545edc292ab5c48b91ff732f91b3d3b30d9a915d5ec4779"}, - {file = "greenlet-3.0.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:813720bd57e193391dfe26f4871186cf460848b83df7e23e6bef698a7624b4c9"}, - {file = "greenlet-3.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:aa15a2ec737cb609ed48902b45c5e4ff6044feb5dcdfcf6fa8482379190330d7"}, - {file = "greenlet-3.0.0-cp310-universal2-macosx_11_0_x86_64.whl", hash = "sha256:7709fd7bb02b31908dc8fd35bfd0a29fc24681d5cc9ac1d64ad07f8d2b7db62f"}, - {file = "greenlet-3.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:211ef8d174601b80e01436f4e6905aca341b15a566f35a10dd8d1e93f5dbb3b7"}, - {file = "greenlet-3.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6512592cc49b2c6d9b19fbaa0312124cd4c4c8a90d28473f86f92685cc5fef8e"}, - {file = "greenlet-3.0.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:871b0a8835f9e9d461b7fdaa1b57e3492dd45398e87324c047469ce2fc9f516c"}, - {file = "greenlet-3.0.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b505fcfc26f4148551826a96f7317e02c400665fa0883fe505d4fcaab1dabfdd"}, - {file = "greenlet-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:123910c58234a8d40eaab595bc56a5ae49bdd90122dde5bdc012c20595a94c14"}, - {file = "greenlet-3.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:96d9ea57292f636ec851a9bb961a5cc0f9976900e16e5d5647f19aa36ba6366b"}, - {file = "greenlet-3.0.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0b72b802496cccbd9b31acea72b6f87e7771ccfd7f7927437d592e5c92ed703c"}, - {file = "greenlet-3.0.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:527cd90ba3d8d7ae7dceb06fda619895768a46a1b4e423bdb24c1969823b8362"}, - {file = "greenlet-3.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:37f60b3a42d8b5499be910d1267b24355c495064f271cfe74bf28b17b099133c"}, - {file = "greenlet-3.0.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:1482fba7fbed96ea7842b5a7fc11d61727e8be75a077e603e8ab49d24e234383"}, - {file = "greenlet-3.0.0-cp312-cp312-macosx_13_0_arm64.whl", hash = "sha256:be557119bf467d37a8099d91fbf11b2de5eb1fd5fc5b91598407574848dc910f"}, - {file = "greenlet-3.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:73b2f1922a39d5d59cc0e597987300df3396b148a9bd10b76a058a2f2772fc04"}, - {file = "greenlet-3.0.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d1e22c22f7826096ad503e9bb681b05b8c1f5a8138469b255eb91f26a76634f2"}, - {file = "greenlet-3.0.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1d363666acc21d2c204dd8705c0e0457d7b2ee7a76cb16ffc099d6799744ac99"}, - {file = "greenlet-3.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:334ef6ed8337bd0b58bb0ae4f7f2dcc84c9f116e474bb4ec250a8bb9bd797a66"}, - {file = "greenlet-3.0.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6672fdde0fd1a60b44fb1751a7779c6db487e42b0cc65e7caa6aa686874e79fb"}, - {file = "greenlet-3.0.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:952256c2bc5b4ee8df8dfc54fc4de330970bf5d79253c863fb5e6761f00dda35"}, - {file = "greenlet-3.0.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:269d06fa0f9624455ce08ae0179430eea61085e3cf6457f05982b37fd2cefe17"}, - {file = "greenlet-3.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:9adbd8ecf097e34ada8efde9b6fec4dd2a903b1e98037adf72d12993a1c80b51"}, - {file = "greenlet-3.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c6b5ce7f40f0e2f8b88c28e6691ca6806814157ff05e794cdd161be928550f4c"}, - {file = "greenlet-3.0.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ecf94aa539e97a8411b5ea52fc6ccd8371be9550c4041011a091eb8b3ca1d810"}, - {file = "greenlet-3.0.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:80dcd3c938cbcac986c5c92779db8e8ce51a89a849c135172c88ecbdc8c056b7"}, - {file = "greenlet-3.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e52a712c38e5fb4fd68e00dc3caf00b60cb65634d50e32281a9d6431b33b4af1"}, - {file = "greenlet-3.0.0-cp37-cp37m-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d5539f6da3418c3dc002739cb2bb8d169056aa66e0c83f6bacae0cd3ac26b423"}, - {file = "greenlet-3.0.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:343675e0da2f3c69d3fb1e894ba0a1acf58f481f3b9372ce1eb465ef93cf6fed"}, - {file = "greenlet-3.0.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:abe1ef3d780de56defd0c77c5ba95e152f4e4c4e12d7e11dd8447d338b85a625"}, - {file = "greenlet-3.0.0-cp37-cp37m-win32.whl", hash = "sha256:e693e759e172fa1c2c90d35dea4acbdd1d609b6936115d3739148d5e4cd11947"}, - {file = "greenlet-3.0.0-cp37-cp37m-win_amd64.whl", hash = "sha256:bdd696947cd695924aecb3870660b7545a19851f93b9d327ef8236bfc49be705"}, - {file = "greenlet-3.0.0-cp37-universal2-macosx_11_0_x86_64.whl", hash = "sha256:cc3e2679ea13b4de79bdc44b25a0c4fcd5e94e21b8f290791744ac42d34a0353"}, - {file = "greenlet-3.0.0-cp38-cp38-macosx_11_0_universal2.whl", hash = "sha256:63acdc34c9cde42a6534518e32ce55c30f932b473c62c235a466469a710bfbf9"}, - {file = "greenlet-3.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4a1a6244ff96343e9994e37e5b4839f09a0207d35ef6134dce5c20d260d0302c"}, - {file = "greenlet-3.0.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b822fab253ac0f330ee807e7485769e3ac85d5eef827ca224feaaefa462dc0d0"}, - {file = "greenlet-3.0.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8060b32d8586e912a7b7dac2d15b28dbbd63a174ab32f5bc6d107a1c4143f40b"}, - {file = "greenlet-3.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:621fcb346141ae08cb95424ebfc5b014361621b8132c48e538e34c3c93ac7365"}, - {file = "greenlet-3.0.0-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6bb36985f606a7c49916eff74ab99399cdfd09241c375d5a820bb855dfb4af9f"}, - {file = "greenlet-3.0.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:10b5582744abd9858947d163843d323d0b67be9432db50f8bf83031032bc218d"}, - {file = "greenlet-3.0.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:f351479a6914fd81a55c8e68963609f792d9b067fb8a60a042c585a621e0de4f"}, - {file = "greenlet-3.0.0-cp38-cp38-win32.whl", hash = "sha256:9de687479faec7db5b198cc365bc34addd256b0028956501f4d4d5e9ca2e240a"}, - {file = "greenlet-3.0.0-cp38-cp38-win_amd64.whl", hash = "sha256:3fd2b18432e7298fcbec3d39e1a0aa91ae9ea1c93356ec089421fabc3651572b"}, - {file = "greenlet-3.0.0-cp38-universal2-macosx_11_0_x86_64.whl", hash = "sha256:3c0d36f5adc6e6100aedbc976d7428a9f7194ea79911aa4bf471f44ee13a9464"}, - {file = "greenlet-3.0.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:4cd83fb8d8e17633ad534d9ac93719ef8937568d730ef07ac3a98cb520fd93e4"}, - {file = "greenlet-3.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6a5b2d4cdaf1c71057ff823a19d850ed5c6c2d3686cb71f73ae4d6382aaa7a06"}, - {file = "greenlet-3.0.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2e7dcdfad252f2ca83c685b0fa9fba00e4d8f243b73839229d56ee3d9d219314"}, - {file = "greenlet-3.0.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c94e4e924d09b5a3e37b853fe5924a95eac058cb6f6fb437ebb588b7eda79870"}, - {file = "greenlet-3.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ad6fb737e46b8bd63156b8f59ba6cdef46fe2b7db0c5804388a2d0519b8ddb99"}, - {file = "greenlet-3.0.0-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d55db1db455c59b46f794346efce896e754b8942817f46a1bada2d29446e305a"}, - {file = "greenlet-3.0.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:56867a3b3cf26dc8a0beecdb4459c59f4c47cdd5424618c08515f682e1d46692"}, - {file = "greenlet-3.0.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:9a812224a5fb17a538207e8cf8e86f517df2080c8ee0f8c1ed2bdaccd18f38f4"}, - {file = "greenlet-3.0.0-cp39-cp39-win32.whl", hash = "sha256:0d3f83ffb18dc57243e0151331e3c383b05e5b6c5029ac29f754745c800f8ed9"}, - {file = "greenlet-3.0.0-cp39-cp39-win_amd64.whl", hash = "sha256:831d6f35037cf18ca5e80a737a27d822d87cd922521d18ed3dbc8a6967be50ce"}, - {file = "greenlet-3.0.0-cp39-universal2-macosx_11_0_x86_64.whl", hash = "sha256:a048293392d4e058298710a54dfaefcefdf49d287cd33fb1f7d63d55426e4355"}, - {file = "greenlet-3.0.0.tar.gz", hash = "sha256:19834e3f91f485442adc1ee440171ec5d9a4840a1f7bd5ed97833544719ce10b"}, -] - -[package.extras] -docs = ["Sphinx"] -test = ["objgraph", "psutil"] - -[[package]] -name = "grpcio" -version = "1.54.2" -description = "HTTP/2-based RPC framework" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "grpcio-1.54.2-cp310-cp310-linux_armv7l.whl", hash = "sha256:40e1cbf69d6741b40f750f3cccc64326f927ac6145a9914d33879e586002350c"}, - {file = "grpcio-1.54.2-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:2288d76e4d4aa7ef3fe7a73c1c470b66ea68e7969930e746a8cd8eca6ef2a2ea"}, - {file = "grpcio-1.54.2-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:c0e3155fc5335ec7b3b70f15230234e529ca3607b20a562b6c75fb1b1218874c"}, - {file = "grpcio-1.54.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9bf88004fe086c786dc56ef8dd6cb49c026833fdd6f42cb853008bce3f907148"}, - {file = "grpcio-1.54.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2be88c081e33f20630ac3343d8ad9f1125f32987968e9c8c75c051c9800896e8"}, - {file = "grpcio-1.54.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:33d40954199bddbb6a78f8f6f2b2082660f381cd2583ec860a6c2fa7c8400c08"}, - {file = "grpcio-1.54.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b52d00d1793d290c81ad6a27058f5224a7d5f527867e5b580742e1bd211afeee"}, - {file = "grpcio-1.54.2-cp310-cp310-win32.whl", hash = "sha256:881d058c5ccbea7cc2c92085a11947b572498a27ef37d3eef4887f499054dca8"}, - {file = "grpcio-1.54.2-cp310-cp310-win_amd64.whl", hash = "sha256:0212e2f7fdf7592e4b9d365087da30cb4d71e16a6f213120c89b4f8fb35a3ab3"}, - {file = "grpcio-1.54.2-cp311-cp311-linux_armv7l.whl", hash = "sha256:1e623e0cf99a0ac114f091b3083a1848dbc64b0b99e181473b5a4a68d4f6f821"}, - {file = "grpcio-1.54.2-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:66233ccd2a9371158d96e05d082043d47dadb18cbb294dc5accfdafc2e6b02a7"}, - {file = "grpcio-1.54.2-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:4cb283f630624ebb16c834e5ac3d7880831b07cbe76cb08ab7a271eeaeb8943e"}, - {file = "grpcio-1.54.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2a1e601ee31ef30a9e2c601d0867e236ac54c922d32ed9f727b70dd5d82600d5"}, - {file = "grpcio-1.54.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f8da84bbc61a4e92af54dc96344f328e5822d574f767e9b08e1602bb5ddc254a"}, - {file = "grpcio-1.54.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:5008964885e8d23313c8e5ea0d44433be9bfd7e24482574e8cc43c02c02fc796"}, - {file = "grpcio-1.54.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a2f5a1f1080ccdc7cbaf1171b2cf384d852496fe81ddedeb882d42b85727f610"}, - {file = "grpcio-1.54.2-cp311-cp311-win32.whl", hash = "sha256:b74ae837368cfffeb3f6b498688a123e6b960951be4dec0e869de77e7fa0439e"}, - {file = "grpcio-1.54.2-cp311-cp311-win_amd64.whl", hash = "sha256:8cdbcbd687e576d48f7886157c95052825ca9948c0ed2afdc0134305067be88b"}, - {file = "grpcio-1.54.2-cp37-cp37m-linux_armv7l.whl", hash = "sha256:782f4f8662a2157c4190d0f99eaaebc602899e84fb1e562a944e5025929e351c"}, - {file = "grpcio-1.54.2-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:714242ad0afa63a2e6dabd522ae22e1d76e07060b5af2ddda5474ba4f14c2c94"}, - {file = "grpcio-1.54.2-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:f900ed4ad7a0f1f05d35f955e0943944d5a75f607a836958c6b8ab2a81730ef2"}, - {file = "grpcio-1.54.2-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:96a41817d2c763b1d0b32675abeb9179aa2371c72aefdf74b2d2b99a1b92417b"}, - {file = "grpcio-1.54.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70fcac7b94f4c904152809a050164650ac81c08e62c27aa9f156ac518029ebbe"}, - {file = "grpcio-1.54.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:fd6c6c29717724acf9fc1847c4515d57e4dc12762452457b9cb37461f30a81bb"}, - {file = "grpcio-1.54.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:c2392f5b5d84b71d853918687d806c1aa4308109e5ca158a16e16a6be71041eb"}, - {file = "grpcio-1.54.2-cp37-cp37m-win_amd64.whl", hash = "sha256:51630c92591d6d3fe488a7c706bd30a61594d144bac7dee20c8e1ce78294f474"}, - {file = "grpcio-1.54.2-cp38-cp38-linux_armv7l.whl", hash = "sha256:b04202453941a63b36876a7172b45366dc0cde10d5fd7855c0f4a4e673c0357a"}, - {file = "grpcio-1.54.2-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:89dde0ac72a858a44a2feb8e43dc68c0c66f7857a23f806e81e1b7cc7044c9cf"}, - {file = "grpcio-1.54.2-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:09d4bfd84686cd36fd11fd45a0732c7628308d094b14d28ea74a81db0bce2ed3"}, - {file = "grpcio-1.54.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7fc2b4edb938c8faa4b3c3ea90ca0dd89b7565a049e8e4e11b77e60e4ed2cc05"}, - {file = "grpcio-1.54.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:61f7203e2767800edee7a1e1040aaaf124a35ce0c7fe0883965c6b762defe598"}, - {file = "grpcio-1.54.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:e416c8baf925b5a1aff31f7f5aecc0060b25d50cce3a5a7255dc5cf2f1d4e5eb"}, - {file = "grpcio-1.54.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:dc80c9c6b608bf98066a038e0172013a49cfa9a08d53335aefefda2c64fc68f4"}, - {file = "grpcio-1.54.2-cp38-cp38-win32.whl", hash = "sha256:8d6192c37a30a115f4663592861f50e130caed33efc4eec24d92ec881c92d771"}, - {file = "grpcio-1.54.2-cp38-cp38-win_amd64.whl", hash = "sha256:46a057329938b08e5f0e12ea3d7aed3ecb20a0c34c4a324ef34e00cecdb88a12"}, - {file = "grpcio-1.54.2-cp39-cp39-linux_armv7l.whl", hash = "sha256:2296356b5c9605b73ed6a52660b538787094dae13786ba53080595d52df13a98"}, - {file = "grpcio-1.54.2-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:c72956972e4b508dd39fdc7646637a791a9665b478e768ffa5f4fe42123d5de1"}, - {file = "grpcio-1.54.2-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:9bdbb7624d65dc0ed2ed8e954e79ab1724526f09b1efa88dcd9a1815bf28be5f"}, - {file = "grpcio-1.54.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c44e1a765b31e175c391f22e8fc73b2a2ece0e5e6ff042743d8109b5d2eff9f"}, - {file = "grpcio-1.54.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5cc928cfe6c360c1df636cf7991ab96f059666ac7b40b75a769410cc6217df9c"}, - {file = "grpcio-1.54.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:a08920fa1a97d4b8ee5db2f31195de4a9def1a91bc003544eb3c9e6b8977960a"}, - {file = "grpcio-1.54.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:4864f99aac207e3e45c5e26c6cbb0ad82917869abc2f156283be86c05286485c"}, - {file = "grpcio-1.54.2-cp39-cp39-win32.whl", hash = "sha256:b38b3de8cff5bc70f8f9c615f51b48eff7313fc9aca354f09f81b73036e7ddfa"}, - {file = "grpcio-1.54.2-cp39-cp39-win_amd64.whl", hash = "sha256:be48496b0e00460717225e7680de57c38be1d8629dc09dadcd1b3389d70d942b"}, - {file = "grpcio-1.54.2.tar.gz", hash = "sha256:50a9f075eeda5097aa9a182bb3877fe1272875e45370368ac0ee16ab9e22d019"}, -] - -[package.extras] -protobuf = ["grpcio-tools (>=1.54.2)"] - -[[package]] -name = "idna" -version = "3.4" -description = "Internationalized Domain Names in Applications (IDNA)" -category = "dev" -optional = false -python-versions = ">=3.5" -files = [ - {file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"}, - {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, -] - -[[package]] -name = "importlib-metadata" -version = "6.0.1" -description = "Read metadata from Python packages" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "importlib_metadata-6.0.1-py3-none-any.whl", hash = "sha256:1543daade821c89b1c4a55986c326f36e54f2e6ca3bad96be4563d0acb74dcd4"}, - {file = "importlib_metadata-6.0.1.tar.gz", hash = "sha256:950127d57e35a806d520817d3e92eec3f19fdae9f0cd99da77a407c5aabefba3"}, -] - -[package.dependencies] -zipp = ">=0.5" - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -perf = ["ipython"] -testing = ["flake8 (<5)", "flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)"] - -[[package]] -name = "iniconfig" -version = "2.0.0" -description = "brain-dead simple config-ini parsing" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, - {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, -] - -[[package]] -name = "isort" -version = "5.11.5" -description = "A Python utility / library to sort Python imports." -category = "dev" -optional = false -python-versions = ">=3.7.0" -files = [ - {file = "isort-5.11.5-py3-none-any.whl", hash = "sha256:ba1d72fb2595a01c7895a5128f9585a5cc4b6d395f1c8d514989b9a7eb2a8746"}, - {file = "isort-5.11.5.tar.gz", hash = "sha256:6be1f76a507cb2ecf16c7cf14a37e41609ca082330be4e3436a18ef74add55db"}, -] - -[package.extras] -colors = ["colorama (>=0.4.3,<0.5.0)"] -pipfile-deprecated-finder = ["pip-shims (>=0.5.2)", "pipreqs", "requirementslib"] -plugins = ["setuptools"] -requirements-deprecated-finder = ["pip-api", "pipreqs"] - -[[package]] -name = "multidict" -version = "6.0.4" -description = "multidict implementation" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8"}, - {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:eeb6dcc05e911516ae3d1f207d4b0520d07f54484c49dfc294d6e7d63b734171"}, - {file = "multidict-6.0.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d6d635d5209b82a3492508cf5b365f3446afb65ae7ebd755e70e18f287b0adf7"}, - {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c048099e4c9e9d615545e2001d3d8a4380bd403e1a0578734e0d31703d1b0c0b"}, - {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ea20853c6dbbb53ed34cb4d080382169b6f4554d394015f1bef35e881bf83547"}, - {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:16d232d4e5396c2efbbf4f6d4df89bfa905eb0d4dc5b3549d872ab898451f569"}, - {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:36c63aaa167f6c6b04ef2c85704e93af16c11d20de1d133e39de6a0e84582a93"}, - {file = "multidict-6.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:64bdf1086b6043bf519869678f5f2757f473dee970d7abf6da91ec00acb9cb98"}, - {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:43644e38f42e3af682690876cff722d301ac585c5b9e1eacc013b7a3f7b696a0"}, - {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:7582a1d1030e15422262de9f58711774e02fa80df0d1578995c76214f6954988"}, - {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ddff9c4e225a63a5afab9dd15590432c22e8057e1a9a13d28ed128ecf047bbdc"}, - {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ee2a1ece51b9b9e7752e742cfb661d2a29e7bcdba2d27e66e28a99f1890e4fa0"}, - {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a2e4369eb3d47d2034032a26c7a80fcb21a2cb22e1173d761a162f11e562caa5"}, - {file = "multidict-6.0.4-cp310-cp310-win32.whl", hash = "sha256:574b7eae1ab267e5f8285f0fe881f17efe4b98c39a40858247720935b893bba8"}, - {file = "multidict-6.0.4-cp310-cp310-win_amd64.whl", hash = "sha256:4dcbb0906e38440fa3e325df2359ac6cb043df8e58c965bb45f4e406ecb162cc"}, - {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03"}, - {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:64da238a09d6039e3bd39bb3aee9c21a5e34f28bfa5aa22518581f910ff94af3"}, - {file = "multidict-6.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba"}, - {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9"}, - {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c5cb09abb18c1ea940fb99360ea0396f34d46566f157122c92dfa069d3e0e982"}, - {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:666daae833559deb2d609afa4490b85830ab0dfca811a98b70a205621a6109fe"}, - {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:11bdf3f5e1518b24530b8241529d2050014c884cf18b6fc69c0c2b30ca248710"}, - {file = "multidict-6.0.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7d18748f2d30f94f498e852c67d61261c643b349b9d2a581131725595c45ec6c"}, - {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:458f37be2d9e4c95e2d8866a851663cbc76e865b78395090786f6cd9b3bbf4f4"}, - {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:b1a2eeedcead3a41694130495593a559a668f382eee0727352b9a41e1c45759a"}, - {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7d6ae9d593ef8641544d6263c7fa6408cc90370c8cb2bbb65f8d43e5b0351d9c"}, - {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5979b5632c3e3534e42ca6ff856bb24b2e3071b37861c2c727ce220d80eee9ed"}, - {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:dcfe792765fab89c365123c81046ad4103fcabbc4f56d1c1997e6715e8015461"}, - {file = "multidict-6.0.4-cp311-cp311-win32.whl", hash = "sha256:3601a3cece3819534b11d4efc1eb76047488fddd0c85a3948099d5da4d504636"}, - {file = "multidict-6.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:81a4f0b34bd92df3da93315c6a59034df95866014ac08535fc819f043bfd51f0"}, - {file = "multidict-6.0.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:67040058f37a2a51ed8ea8f6b0e6ee5bd78ca67f169ce6122f3e2ec80dfe9b78"}, - {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:853888594621e6604c978ce2a0444a1e6e70c8d253ab65ba11657659dcc9100f"}, - {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:39ff62e7d0f26c248b15e364517a72932a611a9b75f35b45be078d81bdb86603"}, - {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:af048912e045a2dc732847d33821a9d84ba553f5c5f028adbd364dd4765092ac"}, - {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1e8b901e607795ec06c9e42530788c45ac21ef3aaa11dbd0c69de543bfb79a9"}, - {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62501642008a8b9871ddfccbf83e4222cf8ac0d5aeedf73da36153ef2ec222d2"}, - {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:99b76c052e9f1bc0721f7541e5e8c05db3941eb9ebe7b8553c625ef88d6eefde"}, - {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:509eac6cf09c794aa27bcacfd4d62c885cce62bef7b2c3e8b2e49d365b5003fe"}, - {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:21a12c4eb6ddc9952c415f24eef97e3e55ba3af61f67c7bc388dcdec1404a067"}, - {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:5cad9430ab3e2e4fa4a2ef4450f548768400a2ac635841bc2a56a2052cdbeb87"}, - {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ab55edc2e84460694295f401215f4a58597f8f7c9466faec545093045476327d"}, - {file = "multidict-6.0.4-cp37-cp37m-win32.whl", hash = "sha256:5a4dcf02b908c3b8b17a45fb0f15b695bf117a67b76b7ad18b73cf8e92608775"}, - {file = "multidict-6.0.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6ed5f161328b7df384d71b07317f4d8656434e34591f20552c7bcef27b0ab88e"}, - {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5fc1b16f586f049820c5c5b17bb4ee7583092fa0d1c4e28b5239181ff9532e0c"}, - {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1502e24330eb681bdaa3eb70d6358e818e8e8f908a22a1851dfd4e15bc2f8161"}, - {file = "multidict-6.0.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b692f419760c0e65d060959df05f2a531945af31fda0c8a3b3195d4efd06de11"}, - {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45e1ecb0379bfaab5eef059f50115b54571acfbe422a14f668fc8c27ba410e7e"}, - {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ddd3915998d93fbcd2566ddf9cf62cdb35c9e093075f862935573d265cf8f65d"}, - {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:59d43b61c59d82f2effb39a93c48b845efe23a3852d201ed2d24ba830d0b4cf2"}, - {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cc8e1d0c705233c5dd0c5e6460fbad7827d5d36f310a0fadfd45cc3029762258"}, - {file = "multidict-6.0.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6aa0418fcc838522256761b3415822626f866758ee0bc6632c9486b179d0b52"}, - {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6748717bb10339c4760c1e63da040f5f29f5ed6e59d76daee30305894069a660"}, - {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4d1a3d7ef5e96b1c9e92f973e43aa5e5b96c659c9bc3124acbbd81b0b9c8a951"}, - {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4372381634485bec7e46718edc71528024fcdc6f835baefe517b34a33c731d60"}, - {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d"}, - {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:4b9d9e4e2b37daddb5c23ea33a3417901fa7c7b3dee2d855f63ee67a0b21e5b1"}, - {file = "multidict-6.0.4-cp38-cp38-win32.whl", hash = "sha256:e41b7e2b59679edfa309e8db64fdf22399eec4b0b24694e1b2104fb789207779"}, - {file = "multidict-6.0.4-cp38-cp38-win_amd64.whl", hash = "sha256:d6c254ba6e45d8e72739281ebc46ea5eb5f101234f3ce171f0e9f5cc86991480"}, - {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:16ab77bbeb596e14212e7bab8429f24c1579234a3a462105cda4a66904998664"}, - {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bc779e9e6f7fda81b3f9aa58e3a6091d49ad528b11ed19f6621408806204ad35"}, - {file = "multidict-6.0.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4ceef517eca3e03c1cceb22030a3e39cb399ac86bff4e426d4fc6ae49052cc60"}, - {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:281af09f488903fde97923c7744bb001a9b23b039a909460d0f14edc7bf59706"}, - {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:52f2dffc8acaba9a2f27174c41c9e57f60b907bb9f096b36b1a1f3be71c6284d"}, - {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b41156839806aecb3641f3208c0dafd3ac7775b9c4c422d82ee2a45c34ba81ca"}, - {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d5e3fc56f88cc98ef8139255cf8cd63eb2c586531e43310ff859d6bb3a6b51f1"}, - {file = "multidict-6.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8316a77808c501004802f9beebde51c9f857054a0c871bd6da8280e718444449"}, - {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf"}, - {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bf6774e60d67a9efe02b3616fee22441d86fab4c6d335f9d2051d19d90a40063"}, - {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:e69924bfcdda39b722ef4d9aa762b2dd38e4632b3641b1d9a57ca9cd18f2f83a"}, - {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:6b181d8c23da913d4ff585afd1155a0e1194c0b50c54fcfe286f70cdaf2b7176"}, - {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:52509b5be062d9eafc8170e53026fbc54cf3b32759a23d07fd935fb04fc22d95"}, - {file = "multidict-6.0.4-cp39-cp39-win32.whl", hash = "sha256:27c523fbfbdfd19c6867af7346332b62b586eed663887392cff78d614f9ec313"}, - {file = "multidict-6.0.4-cp39-cp39-win_amd64.whl", hash = "sha256:33029f5734336aa0d4c0384525da0387ef89148dc7191aae00ca5fb23d7aafc2"}, - {file = "multidict-6.0.4.tar.gz", hash = "sha256:3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49"}, -] - -[[package]] -name = "mypy" -version = "0.961" -description = "Optional static typing for Python" -category = "dev" -optional = false -python-versions = ">=3.6" -files = [ - {file = "mypy-0.961-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:697540876638ce349b01b6786bc6094ccdaba88af446a9abb967293ce6eaa2b0"}, - {file = "mypy-0.961-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b117650592e1782819829605a193360a08aa99f1fc23d1d71e1a75a142dc7e15"}, - {file = "mypy-0.961-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:bdd5ca340beffb8c44cb9dc26697628d1b88c6bddf5c2f6eb308c46f269bb6f3"}, - {file = "mypy-0.961-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:3e09f1f983a71d0672bbc97ae33ee3709d10c779beb613febc36805a6e28bb4e"}, - {file = "mypy-0.961-cp310-cp310-win_amd64.whl", hash = "sha256:e999229b9f3198c0c880d5e269f9f8129c8862451ce53a011326cad38b9ccd24"}, - {file = "mypy-0.961-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b24be97351084b11582fef18d79004b3e4db572219deee0212078f7cf6352723"}, - {file = "mypy-0.961-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f4a21d01fc0ba4e31d82f0fff195682e29f9401a8bdb7173891070eb260aeb3b"}, - {file = "mypy-0.961-cp36-cp36m-win_amd64.whl", hash = "sha256:439c726a3b3da7ca84a0199a8ab444cd8896d95012c4a6c4a0d808e3147abf5d"}, - {file = "mypy-0.961-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:5a0b53747f713f490affdceef835d8f0cb7285187a6a44c33821b6d1f46ed813"}, - {file = "mypy-0.961-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:0e9f70df36405c25cc530a86eeda1e0867863d9471fe76d1273c783df3d35c2e"}, - {file = "mypy-0.961-cp37-cp37m-win_amd64.whl", hash = "sha256:b88f784e9e35dcaa075519096dc947a388319cb86811b6af621e3523980f1c8a"}, - {file = "mypy-0.961-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:d5aaf1edaa7692490f72bdb9fbd941fbf2e201713523bdb3f4038be0af8846c6"}, - {file = "mypy-0.961-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9f5f5a74085d9a81a1f9c78081d60a0040c3efb3f28e5c9912b900adf59a16e6"}, - {file = "mypy-0.961-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:f4b794db44168a4fc886e3450201365c9526a522c46ba089b55e1f11c163750d"}, - {file = "mypy-0.961-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:64759a273d590040a592e0f4186539858c948302c653c2eac840c7a3cd29e51b"}, - {file = "mypy-0.961-cp38-cp38-win_amd64.whl", hash = "sha256:63e85a03770ebf403291ec50097954cc5caf2a9205c888ce3a61bd3f82e17569"}, - {file = "mypy-0.961-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:5f1332964963d4832a94bebc10f13d3279be3ce8f6c64da563d6ee6e2eeda932"}, - {file = "mypy-0.961-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:006be38474216b833eca29ff6b73e143386f352e10e9c2fbe76aa8549e5554f5"}, - {file = "mypy-0.961-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:9940e6916ed9371809b35b2154baf1f684acba935cd09928952310fbddaba648"}, - {file = "mypy-0.961-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:a5ea0875a049de1b63b972456542f04643daf320d27dc592d7c3d9cd5d9bf950"}, - {file = "mypy-0.961-cp39-cp39-win_amd64.whl", hash = "sha256:1ece702f29270ec6af25db8cf6185c04c02311c6bb21a69f423d40e527b75c56"}, - {file = "mypy-0.961-py3-none-any.whl", hash = "sha256:03c6cc893e7563e7b2949b969e63f02c000b32502a1b4d1314cabe391aa87d66"}, - {file = "mypy-0.961.tar.gz", hash = "sha256:f730d56cb924d371c26b8eaddeea3cc07d78ff51c521c6d04899ac6904b75492"}, -] - -[package.dependencies] -mypy-extensions = ">=0.4.3" -tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typing-extensions = ">=3.10" - -[package.extras] -dmypy = ["psutil (>=4.0)"] -python2 = ["typed-ast (>=1.4.0,<2)"] -reports = ["lxml"] - -[[package]] -name = "mypy-extensions" -version = "1.0.0" -description = "Type system extensions for programs checked with the mypy type checker." -category = "dev" -optional = false -python-versions = ">=3.5" -files = [ - {file = "mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d"}, - {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"}, -] - -[[package]] -name = "opentelemetry-api" -version = "1.18.0" -description = "OpenTelemetry Python API" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "opentelemetry_api-1.18.0-py3-none-any.whl", hash = "sha256:d05bcc94ec239fd76fd90d784c5e3ad081a8a1ac2ffc8a2c83a49ace052d1492"}, - {file = "opentelemetry_api-1.18.0.tar.gz", hash = "sha256:2bbf29739fcef268c419e3bf1735566c2e7f81026c14bcc78b62a0b97f8ecf2f"}, -] - -[package.dependencies] -deprecated = ">=1.2.6" -importlib-metadata = ">=6.0.0,<6.1.0" -setuptools = ">=16.0" - -[[package]] -name = "opentelemetry-exporter-otlp-proto-common" -version = "1.18.0" -description = "OpenTelemetry Protobuf encoding" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "opentelemetry_exporter_otlp_proto_common-1.18.0-py3-none-any.whl", hash = "sha256:276073ccc8c6e6570fe05ca8ca0de77d662bc89bc614ec8bfbc855112f7e25e3"}, - {file = "opentelemetry_exporter_otlp_proto_common-1.18.0.tar.gz", hash = "sha256:4d9883d6929aabe75e485950bbe8b149a14d95e50b1570426832daa6913b0871"}, -] - -[package.dependencies] -opentelemetry-proto = "1.18.0" - -[[package]] -name = "opentelemetry-exporter-otlp-proto-grpc" -version = "1.18.0" -description = "OpenTelemetry Collector Protobuf over gRPC Exporter" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "opentelemetry_exporter_otlp_proto_grpc-1.18.0-py3-none-any.whl", hash = "sha256:c773bc9df2c9d6464f0d5936963399b2fc440f0616c1277f29512d540ad7e0a2"}, - {file = "opentelemetry_exporter_otlp_proto_grpc-1.18.0.tar.gz", hash = "sha256:8eddfde4267da876871e62f1b58369986bdb7e47e43032c498f1ea807d7191c4"}, -] - -[package.dependencies] -backoff = {version = ">=1.10.0,<3.0.0", markers = "python_version >= \"3.7\""} -deprecated = ">=1.2.6" -googleapis-common-protos = ">=1.52,<2.0" -grpcio = ">=1.0.0,<2.0.0" -opentelemetry-api = ">=1.15,<2.0" -opentelemetry-exporter-otlp-proto-common = "1.18.0" -opentelemetry-proto = "1.18.0" -opentelemetry-sdk = ">=1.18.0,<1.19.0" - -[package.extras] -test = ["pytest-grpc"] - -[[package]] -name = "opentelemetry-proto" -version = "1.18.0" -description = "OpenTelemetry Python Proto" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "opentelemetry_proto-1.18.0-py3-none-any.whl", hash = "sha256:34d1c49283f0246a58761d9322d5a79702a09afda0bb181bb6378ed26862e446"}, - {file = "opentelemetry_proto-1.18.0.tar.gz", hash = "sha256:4f38d01049c3926b9fd09833574bfb5e172d84c8ca85e2ab7f4b5a198d75aeef"}, -] - -[package.dependencies] -protobuf = ">=3.19,<5.0" - -[[package]] -name = "opentelemetry-sdk" -version = "1.18.0" -description = "OpenTelemetry Python SDK" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "opentelemetry_sdk-1.18.0-py3-none-any.whl", hash = "sha256:a097cc1e0db6ff33b4d250a9350dc17975d24a22aa667fca2866e60c51306723"}, - {file = "opentelemetry_sdk-1.18.0.tar.gz", hash = "sha256:cd3230930a2ab288b1df149d261e9cd2bd48dee54ad18465a777831cb6779e90"}, -] - -[package.dependencies] -opentelemetry-api = "1.18.0" -opentelemetry-semantic-conventions = "0.39b0" -setuptools = ">=16.0" -typing-extensions = ">=3.7.4" - -[[package]] -name = "opentelemetry-semantic-conventions" -version = "0.39b0" -description = "OpenTelemetry Semantic Conventions" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "opentelemetry_semantic_conventions-0.39b0-py3-none-any.whl", hash = "sha256:0dd7a9dc0dfde2335f643705bba8f7c44182c797bc208b7601f0b8e8211cfd5c"}, - {file = "opentelemetry_semantic_conventions-0.39b0.tar.gz", hash = "sha256:06a9f198574e0dab6ebc072b59d89092cf9f115638a8a02157586769b6b7a69a"}, -] - -[[package]] -name = "packaging" -version = "23.1" -description = "Core utilities for Python packages" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "packaging-23.1-py3-none-any.whl", hash = "sha256:994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61"}, - {file = "packaging-23.1.tar.gz", hash = "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"}, -] - -[[package]] -name = "pathspec" -version = "0.11.1" -description = "Utility library for gitignore style pattern matching of file paths." -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "pathspec-0.11.1-py3-none-any.whl", hash = "sha256:d8af70af76652554bd134c22b3e8a1cc46ed7d91edcdd721ef1a0c51a84a5293"}, - {file = "pathspec-0.11.1.tar.gz", hash = "sha256:2798de800fa92780e33acca925945e9a19a133b715067cf165b8866c15a31687"}, -] - -[[package]] -name = "platformdirs" -version = "3.5.1" -description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "platformdirs-3.5.1-py3-none-any.whl", hash = "sha256:e2378146f1964972c03c085bb5662ae80b2b8c06226c54b2ff4aa9483e8a13a5"}, - {file = "platformdirs-3.5.1.tar.gz", hash = "sha256:412dae91f52a6f84830f39a8078cecd0e866cb72294a5c66808e74d5e88d251f"}, -] - -[package.extras] -docs = ["furo (>=2023.3.27)", "proselint (>=0.13)", "sphinx (>=6.2.1)", "sphinx-autodoc-typehints (>=1.23,!=1.23.4)"] -test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.3.1)", "pytest-cov (>=4)", "pytest-mock (>=3.10)"] - -[[package]] -name = "pluggy" -version = "1.0.0" -description = "plugin and hook calling mechanisms for python" -category = "dev" -optional = false -python-versions = ">=3.6" -files = [ - {file = "pluggy-1.0.0-py2.py3-none-any.whl", hash = "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"}, - {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"}, -] - -[package.extras] -dev = ["pre-commit", "tox"] -testing = ["pytest", "pytest-benchmark"] - -[[package]] -name = "protobuf" -version = "4.23.2" -description = "" -category = "main" -optional = false -python-versions = ">=3.7" -files = [ - {file = "protobuf-4.23.2-cp310-abi3-win32.whl", hash = "sha256:384dd44cb4c43f2ccddd3645389a23ae61aeb8cfa15ca3a0f60e7c3ea09b28b3"}, - {file = "protobuf-4.23.2-cp310-abi3-win_amd64.whl", hash = "sha256:09310bce43353b46d73ba7e3bca78273b9bc50349509b9698e64d288c6372c2a"}, - {file = "protobuf-4.23.2-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:b2cfab63a230b39ae603834718db74ac11e52bccaaf19bf20f5cce1a84cf76df"}, - {file = "protobuf-4.23.2-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:c52cfcbfba8eb791255edd675c1fe6056f723bf832fa67f0442218f8817c076e"}, - {file = "protobuf-4.23.2-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:86df87016d290143c7ce3be3ad52d055714ebaebb57cc659c387e76cfacd81aa"}, - {file = "protobuf-4.23.2-cp37-cp37m-win32.whl", hash = "sha256:281342ea5eb631c86697e1e048cb7e73b8a4e85f3299a128c116f05f5c668f8f"}, - {file = "protobuf-4.23.2-cp37-cp37m-win_amd64.whl", hash = "sha256:ce744938406de1e64b91410f473736e815f28c3b71201302612a68bf01517fea"}, - {file = "protobuf-4.23.2-cp38-cp38-win32.whl", hash = "sha256:6c081863c379bb1741be8f8193e893511312b1d7329b4a75445d1ea9955be69e"}, - {file = "protobuf-4.23.2-cp38-cp38-win_amd64.whl", hash = "sha256:25e3370eda26469b58b602e29dff069cfaae8eaa0ef4550039cc5ef8dc004511"}, - {file = "protobuf-4.23.2-cp39-cp39-win32.whl", hash = "sha256:efabbbbac1ab519a514579ba9ec52f006c28ae19d97915951f69fa70da2c9e91"}, - {file = "protobuf-4.23.2-cp39-cp39-win_amd64.whl", hash = "sha256:54a533b971288af3b9926e53850c7eb186886c0c84e61daa8444385a4720297f"}, - {file = "protobuf-4.23.2-py3-none-any.whl", hash = "sha256:8da6070310d634c99c0db7df48f10da495cc283fd9e9234877f0cd182d43ab7f"}, - {file = "protobuf-4.23.2.tar.gz", hash = "sha256:20874e7ca4436f683b64ebdbee2129a5a2c301579a67d1a7dda2cdf62fb7f5f7"}, -] - -[[package]] -name = "pycparser" -version = "2.21" -description = "C parser in Python" -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -files = [ - {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, - {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"}, -] - -[[package]] -name = "pydantic" -version = "1.10.9" -description = "Data validation and settings management using python type hints" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "pydantic-1.10.9-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e692dec4a40bfb40ca530e07805b1208c1de071a18d26af4a2a0d79015b352ca"}, - {file = "pydantic-1.10.9-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3c52eb595db83e189419bf337b59154bdcca642ee4b2a09e5d7797e41ace783f"}, - {file = "pydantic-1.10.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:939328fd539b8d0edf244327398a667b6b140afd3bf7e347cf9813c736211896"}, - {file = "pydantic-1.10.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b48d3d634bca23b172f47f2335c617d3fcb4b3ba18481c96b7943a4c634f5c8d"}, - {file = "pydantic-1.10.9-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:f0b7628fb8efe60fe66fd4adadd7ad2304014770cdc1f4934db41fe46cc8825f"}, - {file = "pydantic-1.10.9-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:e1aa5c2410769ca28aa9a7841b80d9d9a1c5f223928ca8bec7e7c9a34d26b1d4"}, - {file = "pydantic-1.10.9-cp310-cp310-win_amd64.whl", hash = "sha256:eec39224b2b2e861259d6f3c8b6290d4e0fbdce147adb797484a42278a1a486f"}, - {file = "pydantic-1.10.9-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d111a21bbbfd85c17248130deac02bbd9b5e20b303338e0dbe0faa78330e37e0"}, - {file = "pydantic-1.10.9-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2e9aec8627a1a6823fc62fb96480abe3eb10168fd0d859ee3d3b395105ae19a7"}, - {file = "pydantic-1.10.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:07293ab08e7b4d3c9d7de4949a0ea571f11e4557d19ea24dd3ae0c524c0c334d"}, - {file = "pydantic-1.10.9-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7ee829b86ce984261d99ff2fd6e88f2230068d96c2a582f29583ed602ef3fc2c"}, - {file = "pydantic-1.10.9-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:4b466a23009ff5cdd7076eb56aca537c745ca491293cc38e72bf1e0e00de5b91"}, - {file = "pydantic-1.10.9-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:7847ca62e581e6088d9000f3c497267868ca2fa89432714e21a4fb33a04d52e8"}, - {file = "pydantic-1.10.9-cp311-cp311-win_amd64.whl", hash = "sha256:7845b31959468bc5b78d7b95ec52fe5be32b55d0d09983a877cca6aedc51068f"}, - {file = "pydantic-1.10.9-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:517a681919bf880ce1dac7e5bc0c3af1e58ba118fd774da2ffcd93c5f96eaece"}, - {file = "pydantic-1.10.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:67195274fd27780f15c4c372f4ba9a5c02dad6d50647b917b6a92bf00b3d301a"}, - {file = "pydantic-1.10.9-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2196c06484da2b3fded1ab6dbe182bdabeb09f6318b7fdc412609ee2b564c49a"}, - {file = "pydantic-1.10.9-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:6257bb45ad78abacda13f15bde5886efd6bf549dd71085e64b8dcf9919c38b60"}, - {file = "pydantic-1.10.9-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:3283b574b01e8dbc982080d8287c968489d25329a463b29a90d4157de4f2baaf"}, - {file = "pydantic-1.10.9-cp37-cp37m-win_amd64.whl", hash = "sha256:5f8bbaf4013b9a50e8100333cc4e3fa2f81214033e05ac5aa44fa24a98670a29"}, - {file = "pydantic-1.10.9-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b9cd67fb763248cbe38f0593cd8611bfe4b8ad82acb3bdf2b0898c23415a1f82"}, - {file = "pydantic-1.10.9-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:f50e1764ce9353be67267e7fd0da08349397c7db17a562ad036aa7c8f4adfdb6"}, - {file = "pydantic-1.10.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:73ef93e5e1d3c8e83f1ff2e7fdd026d9e063c7e089394869a6e2985696693766"}, - {file = "pydantic-1.10.9-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:128d9453d92e6e81e881dd7e2484e08d8b164da5507f62d06ceecf84bf2e21d3"}, - {file = "pydantic-1.10.9-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:ad428e92ab68798d9326bb3e5515bc927444a3d71a93b4a2ca02a8a5d795c572"}, - {file = "pydantic-1.10.9-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:fab81a92f42d6d525dd47ced310b0c3e10c416bbfae5d59523e63ea22f82b31e"}, - {file = "pydantic-1.10.9-cp38-cp38-win_amd64.whl", hash = "sha256:963671eda0b6ba6926d8fc759e3e10335e1dc1b71ff2a43ed2efd6996634dafb"}, - {file = "pydantic-1.10.9-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:970b1bdc6243ef663ba5c7e36ac9ab1f2bfecb8ad297c9824b542d41a750b298"}, - {file = "pydantic-1.10.9-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:7e1d5290044f620f80cf1c969c542a5468f3656de47b41aa78100c5baa2b8276"}, - {file = "pydantic-1.10.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:83fcff3c7df7adff880622a98022626f4f6dbce6639a88a15a3ce0f96466cb60"}, - {file = "pydantic-1.10.9-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0da48717dc9495d3a8f215e0d012599db6b8092db02acac5e0d58a65248ec5bc"}, - {file = "pydantic-1.10.9-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:0a2aabdc73c2a5960e87c3ffebca6ccde88665616d1fd6d3db3178ef427b267a"}, - {file = "pydantic-1.10.9-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:9863b9420d99dfa9c064042304868e8ba08e89081428a1c471858aa2af6f57c4"}, - {file = "pydantic-1.10.9-cp39-cp39-win_amd64.whl", hash = "sha256:e7c9900b43ac14110efa977be3da28931ffc74c27e96ee89fbcaaf0b0fe338e1"}, - {file = "pydantic-1.10.9-py3-none-any.whl", hash = "sha256:6cafde02f6699ce4ff643417d1a9223716ec25e228ddc3b436fe7e2d25a1f305"}, - {file = "pydantic-1.10.9.tar.gz", hash = "sha256:95c70da2cd3b6ddf3b9645ecaa8d98f3d80c606624b6d245558d202cd23ea3be"}, -] - -[package.dependencies] -typing-extensions = ">=4.2.0" - -[package.extras] -dotenv = ["python-dotenv (>=0.10.4)"] -email = ["email-validator (>=1.0.3)"] - -[[package]] -name = "pytest" -version = "7.3.1" -description = "pytest: simple powerful testing with Python" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "pytest-7.3.1-py3-none-any.whl", hash = "sha256:3799fa815351fea3a5e96ac7e503a96fa51cc9942c3753cda7651b93c1cfa362"}, - {file = "pytest-7.3.1.tar.gz", hash = "sha256:434afafd78b1d78ed0addf160ad2b77a30d35d4bdf8af234fe621919d9ed15e3"}, -] - -[package.dependencies] -colorama = {version = "*", markers = "sys_platform == \"win32\""} -exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} -iniconfig = "*" -packaging = "*" -pluggy = ">=0.12,<2.0" -tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} - -[package.extras] -testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"] - -[[package]] -name = "pytest-asyncio" -version = "0.18.3" -description = "Pytest support for asyncio" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "pytest-asyncio-0.18.3.tar.gz", hash = "sha256:7659bdb0a9eb9c6e3ef992eef11a2b3e69697800ad02fb06374a210d85b29f91"}, - {file = "pytest_asyncio-0.18.3-1-py3-none-any.whl", hash = "sha256:16cf40bdf2b4fb7fc8e4b82bd05ce3fbcd454cbf7b92afc445fe299dabb88213"}, - {file = "pytest_asyncio-0.18.3-py3-none-any.whl", hash = "sha256:8fafa6c52161addfd41ee7ab35f11836c5a16ec208f93ee388f752bea3493a84"}, -] - -[package.dependencies] -pytest = ">=6.1.0" - -[package.extras] -testing = ["coverage (==6.2)", "flaky (>=3.5.0)", "hypothesis (>=5.7.1)", "mypy (==0.931)", "pytest-trio (>=0.7.0)"] - -[[package]] -name = "python-dateutil" -version = "2.8.2" -description = "Extensions to the standard Python datetime module" -category = "main" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" -files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, -] - -[package.dependencies] -six = ">=1.5" - -[[package]] -name = "pyyaml" -version = "6.0.1" -description = "YAML parser and emitter for Python" -category = "dev" -optional = false -python-versions = ">=3.6" -files = [ - {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"}, - {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, - {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"}, - {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, - {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, - {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, - {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, - {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"}, - {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, - {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, - {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, - {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, - {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, - {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, - {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, - {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"}, - {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"}, - {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"}, - {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"}, - {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"}, - {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"}, - {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"}, - {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, - {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"}, - {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, - {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, - {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, - {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, - {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"}, - {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, - {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, - {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, -] - -[[package]] -name = "sentry-sdk" -version = "1.25.1" -description = "Python client for Sentry (https://sentry.io)" -category = "dev" -optional = false -python-versions = "*" -files = [ - {file = "sentry-sdk-1.25.1.tar.gz", hash = "sha256:aa796423eb6a2f4a8cd7a5b02ba6558cb10aab4ccdc0537f63a47b038c520c38"}, - {file = "sentry_sdk-1.25.1-py2.py3-none-any.whl", hash = "sha256:79afb7c896014038e358401ad1d36889f97a129dfa8031c49b3f238cd1aa3935"}, -] - -[package.dependencies] -certifi = "*" -urllib3 = {version = ">=1.26.11", markers = "python_version >= \"3.6\""} - -[package.extras] -aiohttp = ["aiohttp (>=3.5)"] -arq = ["arq (>=0.23)"] -beam = ["apache-beam (>=2.12)"] -bottle = ["bottle (>=0.12.13)"] -celery = ["celery (>=3)"] -chalice = ["chalice (>=1.16.0)"] -django = ["django (>=1.8)"] -falcon = ["falcon (>=1.4)"] -fastapi = ["fastapi (>=0.79.0)"] -flask = ["blinker (>=1.1)", "flask (>=0.11)", "markupsafe"] -grpcio = ["grpcio (>=1.21.1)"] -httpx = ["httpx (>=0.16.0)"] -huey = ["huey (>=2)"] -loguru = ["loguru (>=0.5)"] -opentelemetry = ["opentelemetry-distro (>=0.35b0)"] -pure-eval = ["asttokens", "executing", "pure-eval"] -pymongo = ["pymongo (>=3.1)"] -pyspark = ["pyspark (>=2.4.4)"] -quart = ["blinker (>=1.1)", "quart (>=0.16.1)"] -rq = ["rq (>=0.6)"] -sanic = ["sanic (>=0.8)"] -sqlalchemy = ["sqlalchemy (>=1.2)"] -starlette = ["starlette (>=0.19.1)"] -starlite = ["starlite (>=1.48)"] -tornado = ["tornado (>=5)"] - -[[package]] -name = "setuptools" -version = "67.8.0" -description = "Easily download, build, install, upgrade, and uninstall Python packages" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "setuptools-67.8.0-py3-none-any.whl", hash = "sha256:5df61bf30bb10c6f756eb19e7c9f3b473051f48db77fddbe06ff2ca307df9a6f"}, - {file = "setuptools-67.8.0.tar.gz", hash = "sha256:62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102"}, -] - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (==0.8.3)", "sphinx-reredirects", "sphinxcontrib-towncrier"] -testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pip-run (>=8.8)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] -testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] - -[[package]] -name = "six" -version = "1.16.0" -description = "Python 2 and 3 compatibility utilities" -category = "main" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" -files = [ - {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, - {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, -] - -[[package]] -name = "temporalio" -version = "1.5.0" -description = "Temporal.io Python SDK" -category = "main" -optional = false -python-versions = ">=3.8,<4.0" -files = [ - {file = "temporalio-1.5.0-cp38-abi3-macosx_10_9_x86_64.whl", hash = "sha256:a95811fff7aaca3ea513f5f080706323682a94e50aee1d85d50b31b7dcb53a46"}, - {file = "temporalio-1.5.0-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:3748516bc4e302fb0ab8e44ae3bffd9689eb033a1d49f69ff2d93432e943ec1d"}, - {file = "temporalio-1.5.0-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:87fbb275844b6a8912861c0b40fb2fd4f18eb12445f231c78703560fc4707c9c"}, - {file = "temporalio-1.5.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:536becaf9c9f544f8ed122dc8bcd706d8db1f65e2e38e0cc47dd81acefdaeb3c"}, - {file = "temporalio-1.5.0-cp38-abi3-win_amd64.whl", hash = "sha256:a06ddd545b3d8a5f31adfe86b31408463886827694cdb0b9f5fba24a3c6954ef"}, - {file = "temporalio-1.5.0.tar.gz", hash = "sha256:813224a360f60fba42e7d48786ea3ba4c804993e55df030c986acc58a4823464"}, -] - -[package.dependencies] -opentelemetry-api = {version = ">=1.11.1,<2.0.0", optional = true, markers = "extra == \"opentelemetry\""} -opentelemetry-sdk = {version = ">=1.11.1,<2.0.0", optional = true, markers = "extra == \"opentelemetry\""} -protobuf = ">=3.20" -python-dateutil = {version = ">=2.8.2,<3.0.0", markers = "python_version < \"3.11\""} -types-protobuf = ">=3.20" -typing-extensions = ">=4.2.0,<5.0.0" - -[package.extras] -grpc = ["grpcio (>=1.59.0,<2.0.0)"] -opentelemetry = ["opentelemetry-api (>=1.11.1,<2.0.0)", "opentelemetry-sdk (>=1.11.1,<2.0.0)"] - -[[package]] -name = "tomli" -version = "2.0.1" -description = "A lil' TOML parser" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, -] - -[[package]] -name = "types-protobuf" -version = "4.23.0.1" -description = "Typing stubs for protobuf" -category = "main" -optional = false -python-versions = "*" -files = [ - {file = "types-protobuf-4.23.0.1.tar.gz", hash = "sha256:7bd5ea122a057b11a82b785d9de464932a1e9175fe977a4128adef11d7f35547"}, - {file = "types_protobuf-4.23.0.1-py3-none-any.whl", hash = "sha256:c926104f69ea62103846681b35b690d8d100ecf86c6cdda16c850a1313a272e4"}, -] - -[[package]] -name = "types-pyyaml" -version = "6.0.12.12" -description = "Typing stubs for PyYAML" -category = "dev" -optional = false -python-versions = "*" -files = [ - {file = "types-PyYAML-6.0.12.12.tar.gz", hash = "sha256:334373d392fde0fdf95af5c3f1661885fa10c52167b14593eb856289e1855062"}, - {file = "types_PyYAML-6.0.12.12-py3-none-any.whl", hash = "sha256:c05bc6c158facb0676674b7f11fe3960db4f389718e19e62bd2b84d6205cfd24"}, -] - -[[package]] -name = "typing-extensions" -version = "4.6.3" -description = "Backported and Experimental Type Hints for Python 3.7+" -category = "main" -optional = false -python-versions = ">=3.7" -files = [ - {file = "typing_extensions-4.6.3-py3-none-any.whl", hash = "sha256:88a4153d8505aabbb4e13aacb7c486c2b4a33ca3b3f807914a9b4c844c471c26"}, - {file = "typing_extensions-4.6.3.tar.gz", hash = "sha256:d91d5919357fe7f681a9f2b5b4cb2a5f1ef0a1e9f59c4d8ff0d3491e05c0ffd5"}, -] - -[[package]] -name = "urllib3" -version = "2.0.3" -description = "HTTP library with thread-safe connection pooling, file post, and more." -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "urllib3-2.0.3-py3-none-any.whl", hash = "sha256:48e7fafa40319d358848e1bc6809b208340fafe2096f1725d05d67443d0483d1"}, - {file = "urllib3-2.0.3.tar.gz", hash = "sha256:bee28b5e56addb8226c96f7f13ac28cb4c301dd5ea8a6ca179c0b9835e032825"}, -] - -[package.extras] -brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] -secure = ["certifi", "cryptography (>=1.9)", "idna (>=2.0.0)", "pyopenssl (>=17.1.0)", "urllib3-secure-extra"] -socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] -zstd = ["zstandard (>=0.18.0)"] - -[[package]] -name = "wrapt" -version = "1.15.0" -description = "Module for decorators, wrappers and monkey patching." -category = "dev" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" -files = [ - {file = "wrapt-1.15.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:ca1cccf838cd28d5a0883b342474c630ac48cac5df0ee6eacc9c7290f76b11c1"}, - {file = "wrapt-1.15.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:e826aadda3cae59295b95343db8f3d965fb31059da7de01ee8d1c40a60398b29"}, - {file = "wrapt-1.15.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:5fc8e02f5984a55d2c653f5fea93531e9836abbd84342c1d1e17abc4a15084c2"}, - {file = "wrapt-1.15.0-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:96e25c8603a155559231c19c0349245eeb4ac0096fe3c1d0be5c47e075bd4f46"}, - {file = "wrapt-1.15.0-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:40737a081d7497efea35ab9304b829b857f21558acfc7b3272f908d33b0d9d4c"}, - {file = "wrapt-1.15.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:f87ec75864c37c4c6cb908d282e1969e79763e0d9becdfe9fe5473b7bb1e5f09"}, - {file = "wrapt-1.15.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:1286eb30261894e4c70d124d44b7fd07825340869945c79d05bda53a40caa079"}, - {file = "wrapt-1.15.0-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:493d389a2b63c88ad56cdc35d0fa5752daac56ca755805b1b0c530f785767d5e"}, - {file = "wrapt-1.15.0-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:58d7a75d731e8c63614222bcb21dd992b4ab01a399f1f09dd82af17bbfc2368a"}, - {file = "wrapt-1.15.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:21f6d9a0d5b3a207cdf7acf8e58d7d13d463e639f0c7e01d82cdb671e6cb7923"}, - {file = "wrapt-1.15.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ce42618f67741d4697684e501ef02f29e758a123aa2d669e2d964ff734ee00ee"}, - {file = "wrapt-1.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41d07d029dd4157ae27beab04d22b8e261eddfc6ecd64ff7000b10dc8b3a5727"}, - {file = "wrapt-1.15.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:54accd4b8bc202966bafafd16e69da9d5640ff92389d33d28555c5fd4f25ccb7"}, - {file = "wrapt-1.15.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2fbfbca668dd15b744418265a9607baa970c347eefd0db6a518aaf0cfbd153c0"}, - {file = "wrapt-1.15.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:76e9c727a874b4856d11a32fb0b389afc61ce8aaf281ada613713ddeadd1cfec"}, - {file = "wrapt-1.15.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e20076a211cd6f9b44a6be58f7eeafa7ab5720eb796975d0c03f05b47d89eb90"}, - {file = "wrapt-1.15.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a74d56552ddbde46c246b5b89199cb3fd182f9c346c784e1a93e4dc3f5ec9975"}, - {file = "wrapt-1.15.0-cp310-cp310-win32.whl", hash = "sha256:26458da5653aa5b3d8dc8b24192f574a58984c749401f98fff994d41d3f08da1"}, - {file = "wrapt-1.15.0-cp310-cp310-win_amd64.whl", hash = "sha256:75760a47c06b5974aa5e01949bf7e66d2af4d08cb8c1d6516af5e39595397f5e"}, - {file = "wrapt-1.15.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ba1711cda2d30634a7e452fc79eabcadaffedf241ff206db2ee93dd2c89a60e7"}, - {file = "wrapt-1.15.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:56374914b132c702aa9aa9959c550004b8847148f95e1b824772d453ac204a72"}, - {file = "wrapt-1.15.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a89ce3fd220ff144bd9d54da333ec0de0399b52c9ac3d2ce34b569cf1a5748fb"}, - {file = "wrapt-1.15.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3bbe623731d03b186b3d6b0d6f51865bf598587c38d6f7b0be2e27414f7f214e"}, - {file = "wrapt-1.15.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3abbe948c3cbde2689370a262a8d04e32ec2dd4f27103669a45c6929bcdbfe7c"}, - {file = "wrapt-1.15.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b67b819628e3b748fd3c2192c15fb951f549d0f47c0449af0764d7647302fda3"}, - {file = "wrapt-1.15.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:7eebcdbe3677e58dd4c0e03b4f2cfa346ed4049687d839adad68cc38bb559c92"}, - {file = "wrapt-1.15.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:74934ebd71950e3db69960a7da29204f89624dde411afbfb3b4858c1409b1e98"}, - {file = "wrapt-1.15.0-cp311-cp311-win32.whl", hash = "sha256:bd84395aab8e4d36263cd1b9308cd504f6cf713b7d6d3ce25ea55670baec5416"}, - {file = "wrapt-1.15.0-cp311-cp311-win_amd64.whl", hash = "sha256:a487f72a25904e2b4bbc0817ce7a8de94363bd7e79890510174da9d901c38705"}, - {file = "wrapt-1.15.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:4ff0d20f2e670800d3ed2b220d40984162089a6e2c9646fdb09b85e6f9a8fc29"}, - {file = "wrapt-1.15.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:9ed6aa0726b9b60911f4aed8ec5b8dd7bf3491476015819f56473ffaef8959bd"}, - {file = "wrapt-1.15.0-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:896689fddba4f23ef7c718279e42f8834041a21342d95e56922e1c10c0cc7afb"}, - {file = "wrapt-1.15.0-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:75669d77bb2c071333417617a235324a1618dba66f82a750362eccbe5b61d248"}, - {file = "wrapt-1.15.0-cp35-cp35m-win32.whl", hash = "sha256:fbec11614dba0424ca72f4e8ba3c420dba07b4a7c206c8c8e4e73f2e98f4c559"}, - {file = "wrapt-1.15.0-cp35-cp35m-win_amd64.whl", hash = "sha256:fd69666217b62fa5d7c6aa88e507493a34dec4fa20c5bd925e4bc12fce586639"}, - {file = "wrapt-1.15.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b0724f05c396b0a4c36a3226c31648385deb6a65d8992644c12a4963c70326ba"}, - {file = "wrapt-1.15.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bbeccb1aa40ab88cd29e6c7d8585582c99548f55f9b2581dfc5ba68c59a85752"}, - {file = "wrapt-1.15.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:38adf7198f8f154502883242f9fe7333ab05a5b02de7d83aa2d88ea621f13364"}, - {file = "wrapt-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:578383d740457fa790fdf85e6d346fda1416a40549fe8db08e5e9bd281c6a475"}, - {file = "wrapt-1.15.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:a4cbb9ff5795cd66f0066bdf5947f170f5d63a9274f99bdbca02fd973adcf2a8"}, - {file = "wrapt-1.15.0-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:af5bd9ccb188f6a5fdda9f1f09d9f4c86cc8a539bd48a0bfdc97723970348418"}, - {file = "wrapt-1.15.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:b56d5519e470d3f2fe4aa7585f0632b060d532d0696c5bdfb5e8319e1d0f69a2"}, - {file = "wrapt-1.15.0-cp36-cp36m-win32.whl", hash = "sha256:77d4c1b881076c3ba173484dfa53d3582c1c8ff1f914c6461ab70c8428b796c1"}, - {file = "wrapt-1.15.0-cp36-cp36m-win_amd64.whl", hash = "sha256:077ff0d1f9d9e4ce6476c1a924a3332452c1406e59d90a2cf24aeb29eeac9420"}, - {file = "wrapt-1.15.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:5c5aa28df055697d7c37d2099a7bc09f559d5053c3349b1ad0c39000e611d317"}, - {file = "wrapt-1.15.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3a8564f283394634a7a7054b7983e47dbf39c07712d7b177b37e03f2467a024e"}, - {file = "wrapt-1.15.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:780c82a41dc493b62fc5884fb1d3a3b81106642c5c5c78d6a0d4cbe96d62ba7e"}, - {file = "wrapt-1.15.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e169e957c33576f47e21864cf3fc9ff47c223a4ebca8960079b8bd36cb014fd0"}, - {file = "wrapt-1.15.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:b02f21c1e2074943312d03d243ac4388319f2456576b2c6023041c4d57cd7019"}, - {file = "wrapt-1.15.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:f2e69b3ed24544b0d3dbe2c5c0ba5153ce50dcebb576fdc4696d52aa22db6034"}, - {file = "wrapt-1.15.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:d787272ed958a05b2c86311d3a4135d3c2aeea4fc655705f074130aa57d71653"}, - {file = "wrapt-1.15.0-cp37-cp37m-win32.whl", hash = "sha256:02fce1852f755f44f95af51f69d22e45080102e9d00258053b79367d07af39c0"}, - {file = "wrapt-1.15.0-cp37-cp37m-win_amd64.whl", hash = "sha256:abd52a09d03adf9c763d706df707c343293d5d106aea53483e0ec8d9e310ad5e"}, - {file = "wrapt-1.15.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cdb4f085756c96a3af04e6eca7f08b1345e94b53af8921b25c72f096e704e145"}, - {file = "wrapt-1.15.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:230ae493696a371f1dbffaad3dafbb742a4d27a0afd2b1aecebe52b740167e7f"}, - {file = "wrapt-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:63424c681923b9f3bfbc5e3205aafe790904053d42ddcc08542181a30a7a51bd"}, - {file = "wrapt-1.15.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6bcbfc99f55655c3d93feb7ef3800bd5bbe963a755687cbf1f490a71fb7794b"}, - {file = "wrapt-1.15.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c99f4309f5145b93eca6e35ac1a988f0dc0a7ccf9ccdcd78d3c0adf57224e62f"}, - {file = "wrapt-1.15.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b130fe77361d6771ecf5a219d8e0817d61b236b7d8b37cc045172e574ed219e6"}, - {file = "wrapt-1.15.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:96177eb5645b1c6985f5c11d03fc2dbda9ad24ec0f3a46dcce91445747e15094"}, - {file = "wrapt-1.15.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:d5fe3e099cf07d0fb5a1e23d399e5d4d1ca3e6dfcbe5c8570ccff3e9208274f7"}, - {file = "wrapt-1.15.0-cp38-cp38-win32.whl", hash = "sha256:abd8f36c99512755b8456047b7be10372fca271bf1467a1caa88db991e7c421b"}, - {file = "wrapt-1.15.0-cp38-cp38-win_amd64.whl", hash = "sha256:b06fa97478a5f478fb05e1980980a7cdf2712015493b44d0c87606c1513ed5b1"}, - {file = "wrapt-1.15.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2e51de54d4fb8fb50d6ee8327f9828306a959ae394d3e01a1ba8b2f937747d86"}, - {file = "wrapt-1.15.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0970ddb69bba00670e58955f8019bec4a42d1785db3faa043c33d81de2bf843c"}, - {file = "wrapt-1.15.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76407ab327158c510f44ded207e2f76b657303e17cb7a572ffe2f5a8a48aa04d"}, - {file = "wrapt-1.15.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cd525e0e52a5ff16653a3fc9e3dd827981917d34996600bbc34c05d048ca35cc"}, - {file = "wrapt-1.15.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9d37ac69edc5614b90516807de32d08cb8e7b12260a285ee330955604ed9dd29"}, - {file = "wrapt-1.15.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:078e2a1a86544e644a68422f881c48b84fef6d18f8c7a957ffd3f2e0a74a0d4a"}, - {file = "wrapt-1.15.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:2cf56d0e237280baed46f0b5316661da892565ff58309d4d2ed7dba763d984b8"}, - {file = "wrapt-1.15.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:7dc0713bf81287a00516ef43137273b23ee414fe41a3c14be10dd95ed98a2df9"}, - {file = "wrapt-1.15.0-cp39-cp39-win32.whl", hash = "sha256:46ed616d5fb42f98630ed70c3529541408166c22cdfd4540b88d5f21006b0eff"}, - {file = "wrapt-1.15.0-cp39-cp39-win_amd64.whl", hash = "sha256:eef4d64c650f33347c1f9266fa5ae001440b232ad9b98f1f43dfe7a79435c0a6"}, - {file = "wrapt-1.15.0-py3-none-any.whl", hash = "sha256:64b1df0f83706b4ef4cfb4fb0e4c2669100fd7ecacfb59e091fad300d4e04640"}, - {file = "wrapt-1.15.0.tar.gz", hash = "sha256:d06730c6aed78cee4126234cf2d071e01b44b915e725a6cb439a879ec9754a3a"}, -] - -[[package]] -name = "yarl" -version = "1.9.2" -description = "Yet another URL library" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "yarl-1.9.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8c2ad583743d16ddbdf6bb14b5cd76bf43b0d0006e918809d5d4ddf7bde8dd82"}, - {file = "yarl-1.9.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:82aa6264b36c50acfb2424ad5ca537a2060ab6de158a5bd2a72a032cc75b9eb8"}, - {file = "yarl-1.9.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c0c77533b5ed4bcc38e943178ccae29b9bcf48ffd1063f5821192f23a1bd27b9"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee4afac41415d52d53a9833ebae7e32b344be72835bbb589018c9e938045a560"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9bf345c3a4f5ba7f766430f97f9cc1320786f19584acc7086491f45524a551ac"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2a96c19c52ff442a808c105901d0bdfd2e28575b3d5f82e2f5fd67e20dc5f4ea"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:891c0e3ec5ec881541f6c5113d8df0315ce5440e244a716b95f2525b7b9f3608"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c3a53ba34a636a256d767c086ceb111358876e1fb6b50dfc4d3f4951d40133d5"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:566185e8ebc0898b11f8026447eacd02e46226716229cea8db37496c8cdd26e0"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:2b0738fb871812722a0ac2154be1f049c6223b9f6f22eec352996b69775b36d4"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:32f1d071b3f362c80f1a7d322bfd7b2d11e33d2adf395cc1dd4df36c9c243095"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:e9fdc7ac0d42bc3ea78818557fab03af6181e076a2944f43c38684b4b6bed8e3"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:56ff08ab5df8429901ebdc5d15941b59f6253393cb5da07b4170beefcf1b2528"}, - {file = "yarl-1.9.2-cp310-cp310-win32.whl", hash = "sha256:8ea48e0a2f931064469bdabca50c2f578b565fc446f302a79ba6cc0ee7f384d3"}, - {file = "yarl-1.9.2-cp310-cp310-win_amd64.whl", hash = "sha256:50f33040f3836e912ed16d212f6cc1efb3231a8a60526a407aeb66c1c1956dde"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:646d663eb2232d7909e6601f1a9107e66f9791f290a1b3dc7057818fe44fc2b6"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:aff634b15beff8902d1f918012fc2a42e0dbae6f469fce134c8a0dc51ca423bb"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a83503934c6273806aed765035716216cc9ab4e0364f7f066227e1aaea90b8d0"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b25322201585c69abc7b0e89e72790469f7dad90d26754717f3310bfe30331c2"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:22a94666751778629f1ec4280b08eb11815783c63f52092a5953faf73be24191"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ec53a0ea2a80c5cd1ab397925f94bff59222aa3cf9c6da938ce05c9ec20428d"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:159d81f22d7a43e6eabc36d7194cb53f2f15f498dbbfa8edc8a3239350f59fe7"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:832b7e711027c114d79dffb92576acd1bd2decc467dec60e1cac96912602d0e6"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:95d2ecefbcf4e744ea952d073c6922e72ee650ffc79028eb1e320e732898d7e8"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:d4e2c6d555e77b37288eaf45b8f60f0737c9efa3452c6c44626a5455aeb250b9"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:783185c75c12a017cc345015ea359cc801c3b29a2966c2655cd12b233bf5a2be"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:b8cc1863402472f16c600e3e93d542b7e7542a540f95c30afd472e8e549fc3f7"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:822b30a0f22e588b32d3120f6d41e4ed021806418b4c9f0bc3048b8c8cb3f92a"}, - {file = "yarl-1.9.2-cp311-cp311-win32.whl", hash = "sha256:a60347f234c2212a9f0361955007fcf4033a75bf600a33c88a0a8e91af77c0e8"}, - {file = "yarl-1.9.2-cp311-cp311-win_amd64.whl", hash = "sha256:be6b3fdec5c62f2a67cb3f8c6dbf56bbf3f61c0f046f84645cd1ca73532ea051"}, - {file = "yarl-1.9.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:38a3928ae37558bc1b559f67410df446d1fbfa87318b124bf5032c31e3447b74"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac9bb4c5ce3975aeac288cfcb5061ce60e0d14d92209e780c93954076c7c4367"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3da8a678ca8b96c8606bbb8bfacd99a12ad5dd288bc6f7979baddd62f71c63ef"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:13414591ff516e04fcdee8dc051c13fd3db13b673c7a4cb1350e6b2ad9639ad3"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bf74d08542c3a9ea97bb8f343d4fcbd4d8f91bba5ec9d5d7f792dbe727f88938"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6e7221580dc1db478464cfeef9b03b95c5852cc22894e418562997df0d074ccc"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:494053246b119b041960ddcd20fd76224149cfea8ed8777b687358727911dd33"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:52a25809fcbecfc63ac9ba0c0fb586f90837f5425edfd1ec9f3372b119585e45"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:e65610c5792870d45d7b68c677681376fcf9cc1c289f23e8e8b39c1485384185"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:1b1bba902cba32cdec51fca038fd53f8beee88b77efc373968d1ed021024cc04"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:662e6016409828ee910f5d9602a2729a8a57d74b163c89a837de3fea050c7582"}, - {file = "yarl-1.9.2-cp37-cp37m-win32.whl", hash = "sha256:f364d3480bffd3aa566e886587eaca7c8c04d74f6e8933f3f2c996b7f09bee1b"}, - {file = "yarl-1.9.2-cp37-cp37m-win_amd64.whl", hash = "sha256:6a5883464143ab3ae9ba68daae8e7c5c95b969462bbe42e2464d60e7e2698368"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5610f80cf43b6202e2c33ba3ec2ee0a2884f8f423c8f4f62906731d876ef4fac"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b9a4e67ad7b646cd6f0938c7ebfd60e481b7410f574c560e455e938d2da8e0f4"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:83fcc480d7549ccebe9415d96d9263e2d4226798c37ebd18c930fce43dfb9574"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5fcd436ea16fee7d4207c045b1e340020e58a2597301cfbcfdbe5abd2356c2fb"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:84e0b1599334b1e1478db01b756e55937d4614f8654311eb26012091be109d59"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3458a24e4ea3fd8930e934c129b676c27452e4ebda80fbe47b56d8c6c7a63a9e"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:838162460b3a08987546e881a2bfa573960bb559dfa739e7800ceeec92e64417"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f4e2d08f07a3d7d3e12549052eb5ad3eab1c349c53ac51c209a0e5991bbada78"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:de119f56f3c5f0e2fb4dee508531a32b069a5f2c6e827b272d1e0ff5ac040333"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:149ddea5abf329752ea5051b61bd6c1d979e13fbf122d3a1f9f0c8be6cb6f63c"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:674ca19cbee4a82c9f54e0d1eee28116e63bc6fd1e96c43031d11cbab8b2afd5"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:9b3152f2f5677b997ae6c804b73da05a39daa6a9e85a512e0e6823d81cdad7cc"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5415d5a4b080dc9612b1b63cba008db84e908b95848369aa1da3686ae27b6d2b"}, - {file = "yarl-1.9.2-cp38-cp38-win32.whl", hash = "sha256:f7a3d8146575e08c29ed1cd287068e6d02f1c7bdff8970db96683b9591b86ee7"}, - {file = "yarl-1.9.2-cp38-cp38-win_amd64.whl", hash = "sha256:63c48f6cef34e6319a74c727376e95626f84ea091f92c0250a98e53e62c77c72"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:75df5ef94c3fdc393c6b19d80e6ef1ecc9ae2f4263c09cacb178d871c02a5ba9"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c027a6e96ef77d401d8d5a5c8d6bc478e8042f1e448272e8d9752cb0aff8b5c8"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f3b078dbe227f79be488ffcfc7a9edb3409d018e0952cf13f15fd6512847f3f7"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:59723a029760079b7d991a401386390c4be5bfec1e7dd83e25a6a0881859e716"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b03917871bf859a81ccb180c9a2e6c1e04d2f6a51d953e6a5cdd70c93d4e5a2a"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c1012fa63eb6c032f3ce5d2171c267992ae0c00b9e164efe4d73db818465fac3"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a74dcbfe780e62f4b5a062714576f16c2f3493a0394e555ab141bf0d746bb955"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c56986609b057b4839968ba901944af91b8e92f1725d1a2d77cbac6972b9ed1"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:2c315df3293cd521033533d242d15eab26583360b58f7ee5d9565f15fee1bef4"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:b7232f8dfbd225d57340e441d8caf8652a6acd06b389ea2d3222b8bc89cbfca6"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:53338749febd28935d55b41bf0bcc79d634881195a39f6b2f767870b72514caf"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:066c163aec9d3d073dc9ffe5dd3ad05069bcb03fcaab8d221290ba99f9f69ee3"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8288d7cd28f8119b07dd49b7230d6b4562f9b61ee9a4ab02221060d21136be80"}, - {file = "yarl-1.9.2-cp39-cp39-win32.whl", hash = "sha256:b124e2a6d223b65ba8768d5706d103280914d61f5cae3afbc50fc3dfcc016623"}, - {file = "yarl-1.9.2-cp39-cp39-win_amd64.whl", hash = "sha256:61016e7d582bc46a5378ffdd02cd0314fb8ba52f40f9cf4d9a5e7dbef88dee18"}, - {file = "yarl-1.9.2.tar.gz", hash = "sha256:04ab9d4b9f587c06d801c2abfe9317b77cdf996c65a90d5e84ecc45010823571"}, -] - -[package.dependencies] -idna = ">=2.0" -multidict = ">=4.0" - -[[package]] -name = "zipp" -version = "3.15.0" -description = "Backport of pathlib-compatible object wrapper for zip files" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "zipp-3.15.0-py3-none-any.whl", hash = "sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556"}, - {file = "zipp-3.15.0.tar.gz", hash = "sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b"}, -] - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)"] - -[[package]] -name = "zope-event" -version = "5.0" -description = "Very basic event publishing system" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "zope.event-5.0-py3-none-any.whl", hash = "sha256:2832e95014f4db26c47a13fdaef84cef2f4df37e66b59d8f1f4a8f319a632c26"}, - {file = "zope.event-5.0.tar.gz", hash = "sha256:bac440d8d9891b4068e2b5a2c5e2c9765a9df762944bda6955f96bb9b91e67cd"}, -] - -[package.dependencies] -setuptools = "*" - -[package.extras] -docs = ["Sphinx"] -test = ["zope.testrunner"] - -[[package]] -name = "zope-interface" -version = "6.1" -description = "Interfaces for Python" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "zope.interface-6.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:43b576c34ef0c1f5a4981163b551a8781896f2a37f71b8655fd20b5af0386abb"}, - {file = "zope.interface-6.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:67be3ca75012c6e9b109860820a8b6c9a84bfb036fbd1076246b98e56951ca92"}, - {file = "zope.interface-6.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9b9bc671626281f6045ad61d93a60f52fd5e8209b1610972cf0ef1bbe6d808e3"}, - {file = "zope.interface-6.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bbe81def9cf3e46f16ce01d9bfd8bea595e06505e51b7baf45115c77352675fd"}, - {file = "zope.interface-6.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6dc998f6de015723196a904045e5a2217f3590b62ea31990672e31fbc5370b41"}, - {file = "zope.interface-6.1-cp310-cp310-win_amd64.whl", hash = "sha256:239a4a08525c080ff833560171d23b249f7f4d17fcbf9316ef4159f44997616f"}, - {file = "zope.interface-6.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9ffdaa5290422ac0f1688cb8adb1b94ca56cee3ad11f29f2ae301df8aecba7d1"}, - {file = "zope.interface-6.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:34c15ca9248f2e095ef2e93af2d633358c5f048c49fbfddf5fdfc47d5e263736"}, - {file = "zope.interface-6.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b012d023b4fb59183909b45d7f97fb493ef7a46d2838a5e716e3155081894605"}, - {file = "zope.interface-6.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:97806e9ca3651588c1baaebb8d0c5ee3db95430b612db354c199b57378312ee8"}, - {file = "zope.interface-6.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fddbab55a2473f1d3b8833ec6b7ac31e8211b0aa608df5ab09ce07f3727326de"}, - {file = "zope.interface-6.1-cp311-cp311-win_amd64.whl", hash = "sha256:a0da79117952a9a41253696ed3e8b560a425197d4e41634a23b1507efe3273f1"}, - {file = "zope.interface-6.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:e8bb9c990ca9027b4214fa543fd4025818dc95f8b7abce79d61dc8a2112b561a"}, - {file = "zope.interface-6.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b51b64432eed4c0744241e9ce5c70dcfecac866dff720e746d0a9c82f371dfa7"}, - {file = "zope.interface-6.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aa6fd016e9644406d0a61313e50348c706e911dca29736a3266fc9e28ec4ca6d"}, - {file = "zope.interface-6.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0c8cf55261e15590065039696607f6c9c1aeda700ceee40c70478552d323b3ff"}, - {file = "zope.interface-6.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e30506bcb03de8983f78884807e4fd95d8db6e65b69257eea05d13d519b83ac0"}, - {file = "zope.interface-6.1-cp312-cp312-win_amd64.whl", hash = "sha256:e33e86fd65f369f10608b08729c8f1c92ec7e0e485964670b4d2633a4812d36b"}, - {file = "zope.interface-6.1-cp37-cp37m-macosx_11_0_x86_64.whl", hash = "sha256:2f8d89721834524a813f37fa174bac074ec3d179858e4ad1b7efd4401f8ac45d"}, - {file = "zope.interface-6.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:13b7d0f2a67eb83c385880489dbb80145e9d344427b4262c49fbf2581677c11c"}, - {file = "zope.interface-6.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ef43ee91c193f827e49599e824385ec7c7f3cd152d74cb1dfe02cb135f264d83"}, - {file = "zope.interface-6.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e441e8b7d587af0414d25e8d05e27040d78581388eed4c54c30c0c91aad3a379"}, - {file = "zope.interface-6.1-cp37-cp37m-win_amd64.whl", hash = "sha256:f89b28772fc2562ed9ad871c865f5320ef761a7fcc188a935e21fe8b31a38ca9"}, - {file = "zope.interface-6.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:70d2cef1bf529bff41559be2de9d44d47b002f65e17f43c73ddefc92f32bf00f"}, - {file = "zope.interface-6.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:ad54ed57bdfa3254d23ae04a4b1ce405954969c1b0550cc2d1d2990e8b439de1"}, - {file = "zope.interface-6.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ef467d86d3cfde8b39ea1b35090208b0447caaabd38405420830f7fd85fbdd56"}, - {file = "zope.interface-6.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6af47f10cfc54c2ba2d825220f180cc1e2d4914d783d6fc0cd93d43d7bc1c78b"}, - {file = "zope.interface-6.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c9559138690e1bd4ea6cd0954d22d1e9251e8025ce9ede5d0af0ceae4a401e43"}, - {file = "zope.interface-6.1-cp38-cp38-win_amd64.whl", hash = "sha256:964a7af27379ff4357dad1256d9f215047e70e93009e532d36dcb8909036033d"}, - {file = "zope.interface-6.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:387545206c56b0315fbadb0431d5129c797f92dc59e276b3ce82db07ac1c6179"}, - {file = "zope.interface-6.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:57d0a8ce40ce440f96a2c77824ee94bf0d0925e6089df7366c2272ccefcb7941"}, - {file = "zope.interface-6.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ebc4d34e7620c4f0da7bf162c81978fce0ea820e4fa1e8fc40ee763839805f3"}, - {file = "zope.interface-6.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5a804abc126b33824a44a7aa94f06cd211a18bbf31898ba04bd0924fbe9d282d"}, - {file = "zope.interface-6.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1f294a15f7723fc0d3b40701ca9b446133ec713eafc1cc6afa7b3d98666ee1ac"}, - {file = "zope.interface-6.1-cp39-cp39-win_amd64.whl", hash = "sha256:a41f87bb93b8048fe866fa9e3d0c51e27fe55149035dcf5f43da4b56732c0a40"}, - {file = "zope.interface-6.1.tar.gz", hash = "sha256:2fdc7ccbd6eb6b7df5353012fbed6c3c5d04ceaca0038f75e601060e95345309"}, -] - -[package.dependencies] -setuptools = "*" - -[package.extras] -docs = ["Sphinx", "repoze.sphinx.autointerface", "sphinx-rtd-theme"] -test = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] -testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] - -[metadata] -lock-version = "2.0" -python-versions = "^3.8" -content-hash = "07feac8cfaea6155fefd4d2b88bf56b929f636081ad34fb72ad23561e3dc1c5a" diff --git a/polling/frequent/README.md b/polling/frequent/README.md index 33b6bc0aa..9968e18c6 100644 --- a/polling/frequent/README.md +++ b/polling/frequent/README.md @@ -6,12 +6,13 @@ To ensure that polling Activity is restarted in a timely manner, we make sure th To run, first see [README.md](../../README.md) for prerequisites. -Then, run the following from this directory to run the sample: +Then, run the following from the root directory to run the sample: -```bash -poetry run python run_worker.py -poetry run python run_frequent.py -``` + uv run polling/frequent/run_worker.py + +Then, in another terminal, run the following to execute the workflow: + + uv run polling/frequent/run_frequent.py The Workflow will continue to poll the service and heartbeat on every iteration until it succeeds. diff --git a/polling/frequent/activities.py b/polling/frequent/activities.py index bc667b7fe..a112b4173 100644 --- a/polling/frequent/activities.py +++ b/polling/frequent/activities.py @@ -1,23 +1,26 @@ import asyncio -from dataclasses import dataclass from temporalio import activity -from polling.test_service import TestService - - -@dataclass -class ComposeGreetingInput: - greeting: str - name: str +from polling.test_service import ComposeGreetingInput, get_service_result @activity.defn async def compose_greeting(input: ComposeGreetingInput) -> str: - test_service = TestService() while True: try: - result = test_service.get_service_result(input) - return result - except Exception: + try: + result = await get_service_result(input) + activity.logger.info(f"Exiting activity ${result}") + return result + except Exception: + # swallow exception since service is down + activity.logger.debug("Failed, trying again shortly", exc_info=True) + activity.heartbeat("Invoking activity") + await asyncio.sleep(1) + except asyncio.CancelledError: + # activity was either cancelled or workflow was completed or worker shut down + # if you need to clean up you can catch this. + # Here we are just reraising the exception + raise diff --git a/polling/frequent/run_frequent.py b/polling/frequent/run_frequent.py index bc43ccfde..420480925 100644 --- a/polling/frequent/run_frequent.py +++ b/polling/frequent/run_frequent.py @@ -1,11 +1,16 @@ import asyncio from temporalio.client import Client -from workflows import GreetingWorkflow +from temporalio.envconfig import ClientConfig + +from polling.frequent.workflows import GreetingWorkflow async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + result = await client.execute_workflow( GreetingWorkflow.run, "World", diff --git a/polling/frequent/run_worker.py b/polling/frequent/run_worker.py index 97b327fff..cf5ccb789 100644 --- a/polling/frequent/run_worker.py +++ b/polling/frequent/run_worker.py @@ -1,13 +1,17 @@ import asyncio -from activities import compose_greeting from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker -from workflows import GreetingWorkflow + +from polling.frequent.activities import compose_greeting +from polling.frequent.workflows import GreetingWorkflow async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) worker = Worker( client, diff --git a/polling/frequent/workflows.py b/polling/frequent/workflows.py index c5329ad9a..0dac0a494 100644 --- a/polling/frequent/workflows.py +++ b/polling/frequent/workflows.py @@ -3,7 +3,7 @@ from temporalio import workflow with workflow.unsafe.imports_passed_through(): - from activities import ComposeGreetingInput, compose_greeting + from polling.frequent.activities import ComposeGreetingInput, compose_greeting @workflow.defn diff --git a/polling/infrequent/README.md b/polling/infrequent/README.md index 7c0a32256..7e86ea438 100644 --- a/polling/infrequent/README.md +++ b/polling/infrequent/README.md @@ -11,12 +11,14 @@ This will enable the Activity to be retried exactly on the set interval. To run, first see [README.md](../../README.md) for prerequisites. -Then, run the following from this directory to run the sample: +Then, run the following from the root directory to run the sample: + + uv run polling/infrequent/run_worker.py + +Then, in another terminal, run the following to execute the workflow: + + uv run polling/infrequent/run_infrequent.py -```bash -poetry run python run_worker.py -poetry run python run_infrequent.py -``` Since the test service simulates being _down_ for four polling attempts and then returns _OK_ on the fifth poll attempt, the Workflow will perform four Activity retries with a 60-second poll interval, and then return the service result on the successful fifth attempt. diff --git a/polling/infrequent/activities.py b/polling/infrequent/activities.py index 2bd715878..b3db1aed7 100644 --- a/polling/infrequent/activities.py +++ b/polling/infrequent/activities.py @@ -1,19 +1,10 @@ -from dataclasses import dataclass - from temporalio import activity -from polling.test_service import TestService - - -@dataclass -class ComposeGreetingInput: - greeting: str - name: str +from polling.test_service import ComposeGreetingInput, get_service_result @activity.defn async def compose_greeting(input: ComposeGreetingInput) -> str: - test_service = TestService() # If this raises an exception because it's not done yet, the activity will # continually be scheduled for retry - return await test_service.get_service_result(input) + return await get_service_result(input) diff --git a/polling/infrequent/run_infrequent.py b/polling/infrequent/run_infrequent.py index 0056a36c2..8a0ea8713 100644 --- a/polling/infrequent/run_infrequent.py +++ b/polling/infrequent/run_infrequent.py @@ -1,11 +1,16 @@ import asyncio from temporalio.client import Client -from workflows import GreetingWorkflow +from temporalio.envconfig import ClientConfig + +from polling.infrequent.workflows import GreetingWorkflow async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + result = await client.execute_workflow( GreetingWorkflow.run, "World", diff --git a/polling/infrequent/run_worker.py b/polling/infrequent/run_worker.py index 27db61de7..f52a8082b 100644 --- a/polling/infrequent/run_worker.py +++ b/polling/infrequent/run_worker.py @@ -1,13 +1,17 @@ import asyncio -from activities import compose_greeting from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker -from workflows import GreetingWorkflow + +from polling.infrequent.activities import compose_greeting +from polling.infrequent.workflows import GreetingWorkflow async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) worker = Worker( client, diff --git a/polling/infrequent/workflows.py b/polling/infrequent/workflows.py index 013a3b91b..35769573b 100644 --- a/polling/infrequent/workflows.py +++ b/polling/infrequent/workflows.py @@ -4,7 +4,7 @@ from temporalio.common import RetryPolicy with workflow.unsafe.imports_passed_through(): - from activities import ComposeGreetingInput, compose_greeting + from polling.infrequent.activities import ComposeGreetingInput, compose_greeting @workflow.defn diff --git a/polling/periodic_sequence/README.md b/polling/periodic_sequence/README.md index 65fe06698..8c5cb9501 100644 --- a/polling/periodic_sequence/README.md +++ b/polling/periodic_sequence/README.md @@ -6,12 +6,14 @@ This is a rare scenario where polling requires execution of a Sequence of Activi To run, first see [README.md](../../README.md) for prerequisites. -Then, run the following from this directory to run the sample: +Then, run the following from the root directory to run the sample: + + uv run polling/periodic_sequence/run_worker.py + +Then, in another terminal, run the following to execute the workflow: + + uv run polling/periodic_sequence/run_periodic.py -```bash -poetry run python run_worker.py -poetry run python run_periodic.py -``` This will start a Workflow and Child Workflow to periodically poll an Activity. The Parent Workflow is not aware about the Child Workflow calling Continue-As-New, and it gets notified when it completes (or fails). \ No newline at end of file diff --git a/polling/periodic_sequence/activities.py b/polling/periodic_sequence/activities.py index 1a1196c6c..87b698904 100644 --- a/polling/periodic_sequence/activities.py +++ b/polling/periodic_sequence/activities.py @@ -1,14 +1,8 @@ -from dataclasses import dataclass +from typing import Any, NoReturn from temporalio import activity -@dataclass -class ComposeGreetingInput: - greeting: str - name: str - - @activity.defn -async def compose_greeting(input: ComposeGreetingInput) -> str: +async def compose_greeting(input: Any) -> NoReturn: raise RuntimeError("Service is down") diff --git a/polling/periodic_sequence/run_periodic.py b/polling/periodic_sequence/run_periodic.py index 5853d4676..393fb8be4 100644 --- a/polling/periodic_sequence/run_periodic.py +++ b/polling/periodic_sequence/run_periodic.py @@ -1,11 +1,16 @@ import asyncio from temporalio.client import Client -from workflows import GreetingWorkflow +from temporalio.envconfig import ClientConfig + +from polling.periodic_sequence.workflows import GreetingWorkflow async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + result = await client.execute_workflow( GreetingWorkflow.run, "World", diff --git a/polling/periodic_sequence/run_worker.py b/polling/periodic_sequence/run_worker.py index 8c0591f9e..9689ef2fd 100644 --- a/polling/periodic_sequence/run_worker.py +++ b/polling/periodic_sequence/run_worker.py @@ -1,13 +1,17 @@ import asyncio -from activities import compose_greeting from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker -from workflows import ChildWorkflow, GreetingWorkflow + +from polling.periodic_sequence.activities import compose_greeting +from polling.periodic_sequence.workflows import ChildWorkflow, GreetingWorkflow async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) worker = Worker( client, diff --git a/polling/periodic_sequence/workflows.py b/polling/periodic_sequence/workflows.py index 12045bc8f..3c6d7555c 100644 --- a/polling/periodic_sequence/workflows.py +++ b/polling/periodic_sequence/workflows.py @@ -6,7 +6,8 @@ from temporalio.exceptions import ActivityError with workflow.unsafe.imports_passed_through(): - from activities import ComposeGreetingInput, compose_greeting + from polling.periodic_sequence.activities import compose_greeting + from polling.test_service import ComposeGreetingInput @workflow.defn @@ -37,6 +38,5 @@ async def run(self, name: str) -> str: except ActivityError: workflow.logger.error("Activity failed, retrying in 1 seconds") await asyncio.sleep(1) - workflow.continue_as_new(name) - raise Exception("Polling failed after all attempts") + workflow.continue_as_new(name) diff --git a/polling/test_service.py b/polling/test_service.py index 5bcec7cdf..994b98ce4 100644 --- a/polling/test_service.py +++ b/polling/test_service.py @@ -1,14 +1,30 @@ -class TestService: - def __init__(self): - self.try_attempts = 0 - self.error_attempts = 5 - - def get_service_result(self, input): - print( - f"Attempt {self.try_attempts}" - f" of {self.error_attempts} to invoke service" - ) - self.try_attempts += 1 - if self.try_attempts % self.error_attempts == 0: - return f"{input.greeting}, {input.name}!" - raise Exception("service is down") +from dataclasses import dataclass +from typing import Counter + +from temporalio import activity +from temporalio.exceptions import ApplicationError, ApplicationErrorCategory + +attempts = Counter[str | None]() +ERROR_ATTEMPTS = 5 + + +@dataclass +class ComposeGreetingInput: + greeting: str + name: str + + +async def get_service_result(input): + workflow_id = activity.info().workflow_id + attempts[workflow_id] += 1 + + print(f"Attempt {attempts[workflow_id]} of {ERROR_ATTEMPTS} to invoke service") + if attempts[workflow_id] == ERROR_ATTEMPTS: + return f"{input.greeting}, {input.name}!" + raise ApplicationError( + message="service is down", + # Set the error as BENIGN to indicate it is an expected error. + # BENIGN errors have activity failure logs downgraded to DEBUG level + # and do not emit activity failure metrics. + category=ApplicationErrorCategory.BENIGN, + ) diff --git a/prometheus/README.md b/prometheus/README.md index 6f605d62f..c0b5eb8f2 100644 --- a/prometheus/README.md +++ b/prometheus/README.md @@ -2,16 +2,16 @@ This sample shows how to have SDK Prometheus metrics made available via HTTP. -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory to start the +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the worker: - poetry run python worker.py + uv run prometheus/worker.py This will start the worker and the metrics will be visible for this process at http://127.0.0.1:9000/metrics. Then, in another terminal, run the following to execute a workflow: - poetry run python starter.py + uv run prometheus/starter.py After executing the workflow, the process will stay open so the metrics if this separate process can be accessed at http://127.0.0.1:9001/metrics. \ No newline at end of file diff --git a/prometheus/starter.py b/prometheus/starter.py index b94f56014..571aee077 100644 --- a/prometheus/starter.py +++ b/prometheus/starter.py @@ -1,6 +1,7 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig from prometheus.worker import GreetingWorkflow, init_runtime_with_prometheus @@ -10,9 +11,12 @@ async def main(): runtime = init_runtime_with_prometheus(9001) + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Connect client client = await Client.connect( - "localhost:7233", + **config, runtime=runtime, ) diff --git a/prometheus/worker.py b/prometheus/worker.py index 5e7d64ab1..b41b75c53 100644 --- a/prometheus/worker.py +++ b/prometheus/worker.py @@ -3,6 +3,7 @@ from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.runtime import PrometheusConfig, Runtime, TelemetryConfig from temporalio.worker import Worker @@ -38,9 +39,12 @@ def init_runtime_with_prometheus(port: int) -> Runtime: async def main(): runtime = init_runtime_with_prometheus(9000) + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Connect client client = await Client.connect( - "localhost:7233", + **config, runtime=runtime, ) diff --git a/pydantic_converter/README.md b/pydantic_converter/README.md index 5914fa3d2..e215e7359 100644 --- a/pydantic_converter/README.md +++ b/pydantic_converter/README.md @@ -1,31 +1,19 @@ # Pydantic Converter Sample -This sample shows how to create a custom Pydantic converter to properly serialize Pydantic models. +This sample shows how to use the Pydantic data converter. -For this sample, the optional `pydantic` dependency group must be included. To include, run: +For this sample, the optional `pydantic_converter` dependency group must be included. To include, run: - poetry install --with pydantic + uv sync --group pydantic-converter -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory to start the +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the worker: - poetry run python worker.py + uv run pydantic_converter/worker.py This will start the worker. Then, in another terminal, run the following to execute the workflow: - poetry run python starter.py + uv run pydantic_converter/starter.py In the worker terminal, the workflow and its activity will log that it received the Pydantic models. In the starter terminal, the Pydantic models in the workflow result will be logged. - -### Notes - -This is the preferred way to use Pydantic models with Temporal Python SDK. The converter code is small and meant to -embed into other projects. - -This sample also demonstrates use of `datetime` inside of Pydantic models. Due to a known issue with the Temporal -sandbox, this class is seen by Pydantic as `date` instead of `datetime` upon deserialization. This is due to a -[known Python issue](https://github.com/python/cpython/issues/89010) where, when we proxy the `datetime` class in the -sandbox to prevent non-deterministic calls like `now()`, `issubclass` fails for the proxy type causing Pydantic to think -it's a `date` instead. In `worker.py`, we have shown a workaround of disabling restrictions on `datetime` which solves -this issue but no longer protects against workflow developers making non-deterministic calls in that module. \ No newline at end of file diff --git a/pydantic_converter/starter.py b/pydantic_converter/starter.py index 5aceca6e0..47766be66 100644 --- a/pydantic_converter/starter.py +++ b/pydantic_converter/starter.py @@ -4,16 +4,23 @@ from ipaddress import IPv4Address from temporalio.client import Client +from temporalio.contrib.pydantic import pydantic_data_converter +from temporalio.envconfig import ClientConfig -from pydantic_converter.converter import pydantic_data_converter from pydantic_converter.worker import MyPydanticModel, MyWorkflow async def main(): logging.basicConfig(level=logging.INFO) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Connect client using the Pydantic converter + client = await Client.connect( - "localhost:7233", data_converter=pydantic_data_converter + **config, + data_converter=pydantic_data_converter, ) # Run workflow @@ -29,7 +36,7 @@ async def main(): some_date=datetime(2001, 2, 3, 4, 5, 6), ), ], - id=f"pydantic_converter-workflow-id", + id="pydantic_converter-workflow-id", task_queue="pydantic_converter-task-queue", ) logging.info("Got models from client: %s" % result) diff --git a/pydantic_converter/worker.py b/pydantic_converter/worker.py index b7e0bedf9..8acc11254 100644 --- a/pydantic_converter/worker.py +++ b/pydantic_converter/worker.py @@ -1,5 +1,4 @@ import asyncio -import dataclasses import logging from datetime import datetime, timedelta from ipaddress import IPv4Address @@ -7,18 +6,14 @@ from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker -from temporalio.worker.workflow_sandbox import ( - SandboxedWorkflowRunner, - SandboxRestrictions, -) -# We always want to pass through external modules to the sandbox that we know -# are safe for workflow use +# Always pass through external modules to the sandbox that you know are safe for +# workflow use with workflow.unsafe.imports_passed_through(): from pydantic import BaseModel - - from pydantic_converter.converter import pydantic_data_converter + from temporalio.contrib.pydantic import pydantic_data_converter class MyPydanticModel(BaseModel): @@ -42,37 +37,19 @@ async def run(self, models: List[MyPydanticModel]) -> List[MyPydanticModel]: ) -# Due to known issues with Pydantic's use of issubclass and our inability to -# override the check in sandbox, Pydantic will think datetime is actually date -# in the sandbox. At the expense of protecting against datetime.now() use in -# workflows, we're going to remove datetime module restrictions. See sdk-python -# README's discussion of known sandbox issues for more details. -def new_sandbox_runner() -> SandboxedWorkflowRunner: - # TODO(cretz): Use with_child_unrestricted when https://github.com/temporalio/sdk-python/issues/254 - # is fixed and released - invalid_module_member_children = dict( - SandboxRestrictions.invalid_module_members_default.children - ) - del invalid_module_member_children["datetime"] - return SandboxedWorkflowRunner( - restrictions=dataclasses.replace( - SandboxRestrictions.default, - invalid_module_members=dataclasses.replace( - SandboxRestrictions.invalid_module_members_default, - children=invalid_module_member_children, - ), - ) - ) - - interrupt_event = asyncio.Event() async def main(): logging.basicConfig(level=logging.INFO) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Connect client using the Pydantic converter client = await Client.connect( - "localhost:7233", data_converter=pydantic_data_converter + **config, + data_converter=pydantic_data_converter, ) # Run a worker for the workflow @@ -81,7 +58,6 @@ async def main(): task_queue="pydantic_converter-task-queue", workflows=[MyWorkflow], activities=[my_activity], - workflow_runner=new_sandbox_runner(), ): # Wait until interrupted print("Worker started, ctrl+c to exit") diff --git a/pydantic_converter_v1/README.md b/pydantic_converter_v1/README.md new file mode 100644 index 000000000..526e69303 --- /dev/null +++ b/pydantic_converter_v1/README.md @@ -0,0 +1,31 @@ +# Pydantic v1 Converter Sample + +**This sample shows how to use Pydantic v1 with Temporal. This is not recommended: use Pydantic v2 if possible, and use the +main [pydantic_converter](../pydantic_converter/README.md) sample.** + +To install, run: + + uv sync --group pydantic-converter + uv run pip uninstall pydantic pydantic-core + uv run pip install pydantic==1.10 + +To run, first see the root [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the +worker: + + uv run pydantic_converter_v1/worker.py + +This will start the worker. Then, in another terminal, run the following to execute the workflow: + + uv run pydantic_converter_v1/starter.py + +In the worker terminal, the workflow and its activity will log that it received the Pydantic models. In the starter +terminal, the Pydantic models in the workflow result will be logged. + +### Notes + +This sample also demonstrates use of `datetime` inside of Pydantic v1 models. Due to a known issue with the Temporal +sandbox, this class is seen by Pydantic v1 as `date` instead of `datetime` upon deserialization. This is due to a +[known Python issue](https://github.com/python/cpython/issues/89010) where, when we proxy the `datetime` class in the +sandbox to prevent non-deterministic calls like `now()`, `issubclass` fails for the proxy type causing Pydantic v1 to think +it's a `date` instead. In `worker.py`, we have shown a workaround of disabling restrictions on `datetime` which solves +this issue but no longer protects against workflow developers making non-deterministic calls in that module. \ No newline at end of file diff --git a/pydantic_converter_v1/__init__.py b/pydantic_converter_v1/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pydantic_converter/converter.py b/pydantic_converter_v1/converter.py similarity index 89% rename from pydantic_converter/converter.py rename to pydantic_converter_v1/converter.py index a3c1cee66..81997e81b 100644 --- a/pydantic_converter/converter.py +++ b/pydantic_converter_v1/converter.py @@ -42,9 +42,11 @@ class PydanticPayloadConverter(CompositePayloadConverter): def __init__(self) -> None: super().__init__( *( - c - if not isinstance(c, JSONPlainPayloadConverter) - else PydanticJSONPayloadConverter() + ( + c + if not isinstance(c, JSONPlainPayloadConverter) + else PydanticJSONPayloadConverter() + ) for c in DefaultPayloadConverter.default_encoding_payload_converters ) ) diff --git a/pydantic_converter_v1/starter.py b/pydantic_converter_v1/starter.py new file mode 100644 index 000000000..33b0ad280 --- /dev/null +++ b/pydantic_converter_v1/starter.py @@ -0,0 +1,46 @@ +import asyncio +import logging +from datetime import datetime +from ipaddress import IPv4Address + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from pydantic_converter_v1.converter import pydantic_data_converter +from pydantic_converter_v1.worker import MyPydanticModel, MyWorkflow + + +async def main(): + logging.basicConfig(level=logging.INFO) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + # Connect client using the Pydantic converter + + client = await Client.connect( + **config, + data_converter=pydantic_data_converter, + ) + + # Run workflow + result = await client.execute_workflow( + MyWorkflow.run, + [ + MyPydanticModel( + some_ip=IPv4Address("127.0.0.1"), + some_date=datetime(2000, 1, 2, 3, 4, 5), + ), + MyPydanticModel( + some_ip=IPv4Address("127.0.0.2"), + some_date=datetime(2001, 2, 3, 4, 5, 6), + ), + ], + id="pydantic_converter-workflow-id", + task_queue="pydantic_converter-task-queue", + ) + logging.info("Got models from client: %s" % result) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/pydantic_converter_v1/worker.py b/pydantic_converter_v1/worker.py new file mode 100644 index 000000000..5ff65e1e2 --- /dev/null +++ b/pydantic_converter_v1/worker.py @@ -0,0 +1,104 @@ +import asyncio +import dataclasses +import logging +from datetime import datetime, timedelta +from ipaddress import IPv4Address +from typing import List + +from temporalio import activity, workflow +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker +from temporalio.worker.workflow_sandbox import ( + SandboxedWorkflowRunner, + SandboxRestrictions, +) + +# We always want to pass through external modules to the sandbox that we know +# are safe for workflow use +with workflow.unsafe.imports_passed_through(): + from pydantic import BaseModel + + from pydantic_converter_v1.converter import pydantic_data_converter + + +class MyPydanticModel(BaseModel): + some_ip: IPv4Address + some_date: datetime + + +@activity.defn +async def my_activity(models: List[MyPydanticModel]) -> List[MyPydanticModel]: + activity.logger.info("Got models in activity: %s" % models) + return models + + +@workflow.defn +class MyWorkflow: + @workflow.run + async def run(self, models: List[MyPydanticModel]) -> List[MyPydanticModel]: + workflow.logger.info("Got models in workflow: %s" % models) + return await workflow.execute_activity( + my_activity, models, start_to_close_timeout=timedelta(minutes=1) + ) + + +# Due to known issues with Pydantic's use of issubclass and our inability to +# override the check in sandbox, Pydantic will think datetime is actually date +# in the sandbox. At the expense of protecting against datetime.now() use in +# workflows, we're going to remove datetime module restrictions. See sdk-python +# README's discussion of known sandbox issues for more details. +def new_sandbox_runner() -> SandboxedWorkflowRunner: + # TODO(cretz): Use with_child_unrestricted when https://github.com/temporalio/sdk-python/issues/254 + # is fixed and released + invalid_module_member_children = dict( + SandboxRestrictions.invalid_module_members_default.children + ) + del invalid_module_member_children["datetime"] + return SandboxedWorkflowRunner( + restrictions=dataclasses.replace( + SandboxRestrictions.default, + invalid_module_members=dataclasses.replace( + SandboxRestrictions.invalid_module_members_default, + children=invalid_module_member_children, + ), + ) + ) + + +interrupt_event = asyncio.Event() + + +async def main(): + logging.basicConfig(level=logging.INFO) + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + + # Connect client using the Pydantic converter + + client = await Client.connect( + **config, + data_converter=pydantic_data_converter, + ) + + # Run a worker for the workflow + async with Worker( + client, + task_queue="pydantic_converter-task-queue", + workflows=[MyWorkflow], + activities=[my_activity], + workflow_runner=new_sandbox_runner(), + ): + # Wait until interrupted + print("Worker started, ctrl+c to exit") + await interrupt_event.wait() + print("Shutting down") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/pyproject.toml b/pyproject.toml index 7a42f7756..4d8422610 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,69 +1,128 @@ -[tool.poetry] +[project] name = "temporalio-samples" version = "0.1a1" description = "Temporal.io Python SDK samples" -license = "MIT" -authors = ["Temporal Technologies Inc "] +authors = [{ name = "Temporal Technologies Inc", email = "sdk@temporal.io" }] +requires-python = ">=3.10" readme = "README.md" -homepage = "https://github.com/temporalio/samples-python" -repository = "https://github.com/temporalio/samples-python" -documentation = "https://docs.temporal.io/docs/python" -packages = [ - { include = "**/*.py", from = "." } -] +license = "MIT" +dependencies = ["temporalio>=1.31.0,<2", "protobuf>=5.29.6,<6"] -[tool.poetry.urls] +[project.urls] +Homepage = "https://github.com/temporalio/samples-python" +Repository = "https://github.com/temporalio/samples-python" +Documentation = "https://docs.temporal.io/docs/python" "Bug Tracker" = "https://github.com/temporalio/samples-python/issues" -[tool.poetry.dependencies] -python = "^3.8" -temporalio = "^1.5.0" - -[tool.poetry.dev-dependencies] -black = "^22.3.0" -isort = "^5.10.1" -mypy = "^0.961" -pytest = "^7.1.2" -pytest-asyncio = "^0.18.3" - -# All sample-specific dependencies are in optional groups below, named after the -# sample they apply to - -[tool.poetry.group.dsl] -optional = true -dependencies = { pyyaml = "^6.0.1", types-pyyaml = "^6.0.12", dacite = "^1.8.1" } - -[tool.poetry.group.encryption] -optional = true -dependencies = { cryptography = "^38.0.1", aiohttp = "^3.8.1" } - -[tool.poetry.group.gevent] -optional = true -dependencies = { gevent = { version = "^23.9.1", python = ">=3.8" } } +[dependency-groups] +dev = [ + "ruff>=0.5.0,<0.6", + "mypy>=1.4.1,<2", + "pytest>=7.1.2,<8", + "pytest-asyncio>=0.18.3,<0.19", + "fakeredis>=2,<3", + "frozenlist>=1.4.0,<2", + "pyright>=1.1.394", + "types-pyyaml>=6.0.12.20241230,<7", + "pytest-pretty>=1.3.0", + "poethepoet>=0.36.0", +] +bedrock = ["boto3>=1.34.92,<2"] +deepagents = [ + "deepagents>=0.6.12,<0.7 ; python_version >= '3.11'", + "langchain>=1.3.11,<2 ; python_version >= '3.11'", + "langchain-core>=1.4.8,<2 ; python_version >= '3.11'", + "langchain-anthropic>=1.4.7,<2 ; python_version >= '3.11'", + "temporalio[langsmith]>=1.31.0 ; python_version >= '3.11'", +] +dsl = ["pyyaml>=6.0.1,<7", "types-pyyaml>=6.0.12,<7", "dacite>=1.8.1,<2"] +encryption = ["cryptography>=38.0.1,<39", "aiohttp>=3.13.3,<4"] +external-storage = [ + "aioboto3>=15.1.0,<15.2", + "aiohttp>=3.13.3,<4", + "moto[server]>=4.0.0", + "types_aiobotocore_s3>=2.25.2", +] +external-storage-redis = ["redis>=5.0.0,<8"] +gevent = ["gevent>=25.4.2 ; python_version >= '3.8'"] +google-adk = ["temporalio[google-adk] >= 1.31.0", "google-adk>=2.2.0,<3"] +google-genai = [ + "mcp>=1.0.0", + "temporalio[google-genai,pydantic]>=1.31.0", +] +langfuse-tracing = [ + "openai>=1.4.0", + "temporalio[opentelemetry]>=1.30.0,<2", + # Langfuse's OTLP endpoint is HTTP-only (no gRPC), so use the http exporter. + "opentelemetry-exporter-otlp-proto-http>=1.30.0,<2", + "openinference-instrumentation-openai>=0.1.52", + "opentelemetry-instrumentation-openai-v2>=2.1b0", +] +langsmith-tracing = [ + "openai>=1.4.0", + "langsmith>=0.7.0", + "temporalio[pydantic,langsmith]>=1.31.0", +] +langgraph = [ + "langgraph>=1.1.3", + "langchain>=0.3.0", + "langchain-anthropic>=0.3.0", + "temporalio[langgraph,langsmith]>=1.31.0", +] +litellm = ["litellm>=1.85.0,<2"] +nexus = ["nexus-rpc>=1.1.0,<2"] +open-telemetry = [ + "temporalio[opentelemetry]", + "opentelemetry-exporter-otlp-proto-grpc", +] +openai-agents = [ + "openai-agents[litellm] >= 0.14.1", + "temporalio[openai-agents,opentelemetry] >= 1.31.0", + "requests>=2.32.0,<3", +] +pydantic-converter = ["pydantic>=2.10.6,<3"] +sentry = ["sentry-sdk>=2.13.0"] +strands-agents = [ + "strands-agents>=1.39.0", + "strands-agents-tools>=0.5.2", + "mcp>=1.0.0", + "boto3>=1.34.92,<2", + "temporalio[strands-agents,pydantic]>=1.31.0", +] +trio-async = ["trio>=0.28.0,<0.29", "trio-asyncio>=0.15.0,<0.16"] +cloud-export-to-parquet = [ + "pandas>=2.3.3,<3 ; python_version >= '3.10' and python_version < '4.0'", + "numpy>=1.26.0,<2 ; python_version >= '3.10' and python_version < '3.13'", + "boto3>=1.34.89,<2", + "pyarrow>=19.0.1", +] -[tool.poetry.group.open_telemetry] -optional = true -[tool.poetry.group.open_telemetry.dependencies] -temporalio = { version = "*", extras = ["opentelemetry"] } -opentelemetry-exporter-otlp-proto-grpc = "1.18.0" +[tool.uv] +constraint-dependencies = [ + # yarl 1.24.0 was published without an sdist and only has cp310 wheels, so it cannot + # install on the Python 3.14 CI jobs. + "yarl!=1.24.0", +] -[tool.poetry.group.pydantic] -optional = true -dependencies = { pydantic = "^1.10.4" } +[tool.setuptools.packages.find] +exclude = ["lambda_worker*"] -[tool.poetry.group.sentry] -optional = true -dependencies = { sentry-sdk = "^1.11.0" } +[build-system] +requires = ["setuptools>=77"] +build-backend = "setuptools.build_meta" [tool.poe.tasks] -format = [{cmd = "black ."}, {cmd = "isort ."}] -lint = [{cmd = "black --check ."}, {cmd = "isort --check-only ."}, {ref = "lint-types" }] -lint-types = "mypy --check-untyped-defs --namespace-packages ." -test = "pytest" - -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" +format = [ + { cmd = "uv run ruff check --select I --fix" }, + { cmd = "uv run ruff format" }, +] +lint = [ + { cmd = "uv run ruff check --select I" }, + { cmd = "uv run ruff format --check" }, + { ref = "lint-types" }, +] +lint-types = "uv run --all-groups --no-group cloud-export-to-parquet mypy --check-untyped-defs --namespace-packages ." +test = "uv run --all-groups --no-group cloud-export-to-parquet pytest" [tool.pytest.ini_options] asyncio_mode = "auto" @@ -71,13 +130,14 @@ log_cli = true log_cli_level = "INFO" log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)" -[tool.isort] -profile = "black" -skip_gitignore = true +[tool.ruff] +target-version = "py310" +extend-exclude = ["lambda_worker"] [tool.mypy] ignore_missing_imports = true namespace_packages = true +exclude = ["lambda_worker/"] [[tool.mypy.overrides]] module = "aiohttp.*" diff --git a/replay/README.md b/replay/README.md index 3a67868a2..e9fc9ccf8 100644 --- a/replay/README.md +++ b/replay/README.md @@ -3,18 +3,18 @@ This sample shows you how you can verify changes to workflow code are compatible with existing workflow histories. -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory to start the +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the worker: - poetry run python worker.py + uv run replay/worker.py This will start the worker. Then, in another terminal, run the following to execute a workflow: - poetry run python starter.py + uv run replay/starter.py Next, run the replayer: - poetry run python replayer.py + uv run replay/replayer.py Which should produce some output like: diff --git a/replay/replayer.py b/replay/replayer.py index 49f163131..4787b33b9 100644 --- a/replay/replayer.py +++ b/replay/replayer.py @@ -1,6 +1,7 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Replayer from replay.worker import JustActivity, JustTimer, TimerThenActivity @@ -8,7 +9,9 @@ async def main(): # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Fetch the histories of the workflows to be replayed workflows = client.list_workflows('WorkflowId="replayer-workflow-id"') diff --git a/replay/starter.py b/replay/starter.py index daf070988..228e50c3b 100644 --- a/replay/starter.py +++ b/replay/starter.py @@ -1,13 +1,16 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig from replay.worker import JustActivity, JustTimer, TimerThenActivity async def main(): # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a few workflows # Importantly, normally we would *not* advise re-using the same workflow ID for all of these, diff --git a/replay/worker.py b/replay/worker.py index 3aebc099d..4ac57da28 100644 --- a/replay/worker.py +++ b/replay/worker.py @@ -5,6 +5,7 @@ from temporalio import activity, workflow from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker @@ -71,7 +72,9 @@ async def main(): logging.basicConfig(level=logging.INFO) # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow async with Worker( diff --git a/resource_pool/README.md b/resource_pool/README.md new file mode 100644 index 000000000..5b746d7b5 --- /dev/null +++ b/resource_pool/README.md @@ -0,0 +1,48 @@ +# Resource Pool Sample + +This sample shows how to use a long-lived `ResourcePoolWorkflow` to allocate `resources` to `ResourceUserWorkflows`. +Each `ResourceUserWorkflow` runs several activities while it has ownership of a resource. Note that +`ResourcePoolWorkflow` is making resource allocation decisions based on in-memory state. + +Run the following from the root directory to start the worker: + + uv run resource_pool/worker.py + +This will start the worker. Then, in another terminal, run the following to execute several `ResourceUserWorkflows`. + + uv run resource_pool/starter.py + +You should see output indicating that the `ResourcePoolWorkflow` serialized access to each resource. + +You can query the set of current resource resource holders with: + + temporal workflow query --workflow-id resource_pool --name get_current_holders + +# Other approaches + +There are simpler ways to manage concurrent access to resources. Consider using resource-specific workers/task queues, +and limiting the number of activity slots on the workers. The golang SDK also [sessions](https://docs.temporal.io/develop/go/sessions) +that allow workflows to pin themselves to workers. + +The technique in this sample is capable of more complex resource allocation than the options above, but it doesn't scale +as well. Specifically, it can: +- Manage access to a set of resources that is decoupled from the set of workers and task queues +- Run arbitrary code to place workloads on resources as they become available + +# Caveats + +This sample uses true locking (not leasing!) to avoid complexity and scaling concerns associated with heartbeating via +signals. Locking carries a risk where failure to unlock permanently removing a resource from the pool. However, with +Temporal's durable execution guarantees, this can only happen if: + +- A ResourceUserWorkflows times out (prohibited in the sample code) +- An operator terminates a ResourceUserWorkflows. (Temporal recommends canceling workflows instead of terminating them whenever possible.) +- You shut down your workers and never restart them (unhandled, but irrelevant) + +If a leak were to happen, you could discover the identity of the leaker using the query above, then: + + temporal workflow signal --workflow-id resource_pool --name release_resource --input '{ "release_key": "" }' + +Performance: A single ResourcePoolWorkflow scales to tens, but not hundreds, of request/release events per second. It is +best suited for allocating resources to long-running workflows. Actual performance will depend on your temporal server's +persistence layer. \ No newline at end of file diff --git a/resource_pool/__init__.py b/resource_pool/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/resource_pool/pool_client/__init__.py b/resource_pool/pool_client/__init__.py new file mode 100644 index 000000000..b8471d8a7 --- /dev/null +++ b/resource_pool/pool_client/__init__.py @@ -0,0 +1,2 @@ +from .resource_pool_client import ResourcePoolClient +from .resource_pool_workflow import ResourcePoolWorkflow diff --git a/resource_pool/pool_client/resource_pool_client.py b/resource_pool/pool_client/resource_pool_client.py new file mode 100644 index 000000000..b7183afa6 --- /dev/null +++ b/resource_pool/pool_client/resource_pool_client.py @@ -0,0 +1,101 @@ +from contextlib import asynccontextmanager +from datetime import timedelta +from typing import AsyncGenerator, Optional + +from temporalio import workflow + +from resource_pool.pool_client.resource_pool_workflow import ResourcePoolWorkflow +from resource_pool.shared import ( + AcquiredResource, + AcquireRequest, + AcquireResponse, + DetachedResource, +) + + +# Use this class in workflow code that that needs to run on locked resources. +class ResourcePoolClient: + def __init__(self, pool_workflow_id: str) -> None: + self.pool_workflow_id = pool_workflow_id + self.acquired_resources: list[AcquiredResource] = [] + + signal_name = f"assign_resource_{self.pool_workflow_id}" + if workflow.get_signal_handler(signal_name) is None: + workflow.set_signal_handler(signal_name, self._handle_acquire_response) + else: + raise RuntimeError( + f"{signal_name} already registered - if you use multiple ResourcePoolClients within the " + f"same workflow, they must use different pool_workflow_ids" + ) + + def _handle_acquire_response(self, response: AcquireResponse) -> None: + self.acquired_resources.append( + AcquiredResource( + resource=response.resource, release_key=response.release_key + ) + ) + + async def _send_acquire_signal(self) -> None: + await workflow.get_external_workflow_handle_for( + ResourcePoolWorkflow.run, self.pool_workflow_id + ).signal("acquire_resource", AcquireRequest(workflow.info().workflow_id)) + + async def _send_release_signal(self, acquired_resource: AcquiredResource) -> None: + await workflow.get_external_workflow_handle_for( + ResourcePoolWorkflow.run, self.pool_workflow_id + ).signal( + "release_resource", + AcquireResponse( + resource=acquired_resource.resource, + release_key=acquired_resource.release_key, + ), + ) + + @asynccontextmanager + async def acquire_resource( + self, + *, + reattach: Optional[DetachedResource] = None, + max_wait_time: timedelta = timedelta(minutes=5), + ) -> AsyncGenerator[AcquiredResource, None]: + _warn_when_workflow_has_timeouts() + + if reattach is None: + await self._send_acquire_signal() + await workflow.wait_condition( + lambda: len(self.acquired_resources) > 0, timeout=max_wait_time + ) + resource = self.acquired_resources.pop(0) + else: + resource = AcquiredResource( + resource=reattach.resource, release_key=reattach.release_key + ) + + # Can't happen, but the typechecker doesn't know about workflow.wait_condition + if resource is None: + raise RuntimeError("resource was None when it can't be") + + # During the yield, the calling workflow owns the resource. Note that this is a lock, not a lease! Our + # finally block will release the resource if an activity fails. This is why we asserted the lack of + # workflow-level timeouts above - the finally block wouldn't run if there was a timeout. + try: + yield resource + finally: + if not resource.detached: + await self._send_release_signal(resource) + + +def _warn_when_workflow_has_timeouts() -> None: + def has_timeout(timeout: Optional[timedelta]) -> bool: + # After continue_as_new, timeouts are 0, even if they were None before continue_as_new (and were not set in the + # continue_as_new call). + return timeout is not None and timeout > timedelta(0) + + if has_timeout(workflow.info().run_timeout): + workflow.logger.warning( + f"ResourceLockingWorkflow cannot have a run_timeout (found {workflow.info().run_timeout}) - this will leak locks" + ) + if has_timeout(workflow.info().execution_timeout): + workflow.logger.warning( + f"ResourceLockingWorkflow cannot have an execution_timeout (found {workflow.info().execution_timeout}) - this will leak locks" + ) diff --git a/resource_pool/pool_client/resource_pool_workflow.py b/resource_pool/pool_client/resource_pool_workflow.py new file mode 100644 index 000000000..2321f82d6 --- /dev/null +++ b/resource_pool/pool_client/resource_pool_workflow.py @@ -0,0 +1,149 @@ +from dataclasses import dataclass +from typing import Optional + +from temporalio import workflow +from temporalio.exceptions import ApplicationError + +from resource_pool.shared import AcquireRequest, AcquireResponse + + +# Internal to this workflow, we'll associate randomly generated release signal names with each acquire request. +@dataclass +class InternalAcquireRequest(AcquireRequest): + release_signal: Optional[str] + + +@dataclass +class ResourcePoolWorkflowInput: + # Key is resource, value is current holder of the resource (None if not held) + resources: dict[str, Optional[InternalAcquireRequest]] + waiters: list[InternalAcquireRequest] + + +@workflow.defn +class ResourcePoolWorkflow: + @workflow.init + def __init__(self, input: ResourcePoolWorkflowInput) -> None: + self.resources = input.resources + self.waiters = input.waiters + self.release_key_to_resource: dict[str, str] = {} + + for resource, holder in self.resources.items(): + if holder is not None and holder.release_signal is not None: + self.release_key_to_resource[holder.release_signal] = resource + + @workflow.signal + async def add_resources(self, resources: list[str]) -> None: + for resource in resources: + if resource in self.resources: + workflow.logger.warning( + f"Ignoring attempt to add already-existing resource: {resource}" + ) + else: + self.resources[resource] = None + + @workflow.signal + async def acquire_resource(self, request: AcquireRequest) -> None: + self.waiters.append( + InternalAcquireRequest(workflow_id=request.workflow_id, release_signal=None) + ) + workflow.logger.info( + f"workflow_id={request.workflow_id} is waiting for a resource" + ) + + @workflow.signal + async def release_resource(self, acquire_response: AcquireResponse) -> None: + release_key = acquire_response.release_key + resource = self.release_key_to_resource.get(release_key) + if resource is None: + workflow.logger.warning(f"Ignoring unknown release_key: {release_key}") + return + + holder = self.resources[resource] + if holder is None: + workflow.logger.warning( + f"Ignoring request to release resource that is not held: {resource}" + ) + return + + # Remove the current holder + workflow.logger.info( + f"workflow_id={holder.workflow_id} released resource {resource}" + ) + self.resources[resource] = None + del self.release_key_to_resource[release_key] + + @workflow.query + def get_current_holders(self) -> dict[str, Optional[InternalAcquireRequest]]: + return self.resources + + async def assign_resource( + self, resource: str, internal_request: InternalAcquireRequest + ) -> None: + workflow.logger.info( + f"workflow_id={internal_request.workflow_id} acquired resource {resource}" + ) + + requester = workflow.get_external_workflow_handle(internal_request.workflow_id) + try: + release_signal = str(workflow.uuid4()) + await requester.signal( + f"assign_resource_{workflow.info().workflow_id}", + AcquireResponse(release_key=release_signal, resource=resource), + ) + + internal_request.release_signal = release_signal + self.resources[resource] = internal_request + self.release_key_to_resource[release_signal] = resource + except ApplicationError as e: + if e.type == "ExternalWorkflowExecutionNotFound": + workflow.logger.info( + f"Could not assign resource {resource} to {internal_request.workflow_id}: {e.message}" + ) + else: + raise e + + async def assign_next_resource(self) -> bool: + if len(self.waiters) == 0: + return False + + next_free_resource = self.get_free_resource() + if next_free_resource is None: + return False + + next_waiter = self.waiters.pop(0) + await self.assign_resource(next_free_resource, next_waiter) + return True + + def get_free_resource(self) -> Optional[str]: + return next( + (resource for resource, holder in self.resources.items() if holder is None), + None, + ) + + def can_assign_resource(self) -> bool: + return len(self.waiters) > 0 and self.get_free_resource() is not None + + def should_continue_as_new(self) -> bool: + return ( + workflow.info().is_continue_as_new_suggested() + and workflow.all_handlers_finished() + ) + + @workflow.run + async def run(self, _: ResourcePoolWorkflowInput) -> None: + while True: + await workflow.wait_condition( + lambda: self.can_assign_resource() or self.should_continue_as_new() + ) + + if await self.assign_next_resource(): + continue + + if self.should_continue_as_new(): + workflow.continue_as_new( + ResourcePoolWorkflowInput( + resources=self.resources, + waiters=self.waiters, + ) + ) diff --git a/resource_pool/resource_user_workflow.py b/resource_pool/resource_user_workflow.py new file mode 100644 index 000000000..80ee7fba4 --- /dev/null +++ b/resource_pool/resource_user_workflow.py @@ -0,0 +1,88 @@ +import asyncio +from dataclasses import dataclass, field +from datetime import timedelta +from typing import Optional + +from temporalio import activity, workflow + +from resource_pool.pool_client import ResourcePoolClient +from resource_pool.shared import DetachedResource + + +@dataclass +class UseResourceActivityInput: + resource: str + iteration: str + + +@activity.defn +async def use_resource(input: UseResourceActivityInput) -> None: + info = activity.info() + activity.logger.info( + f"{info.workflow_id} starts using {input.resource} the {input.iteration} time" + ) + await asyncio.sleep(3) + activity.logger.info( + f"{info.workflow_id} done using {input.resource} the {input.iteration} time" + ) + + +@dataclass +class ResourceUserWorkflowInput: + # The id of the resource pool workflow to request a resource from + resource_pool_workflow_id: str + + # If set, this workflow will fail after the "first" or "second" activity. + iteration_to_fail_after: Optional[str] + + # If True, this workflow will continue as new after the last activity. The next iteration will run more activities, + # but will not continue as new. + should_continue_as_new: bool + + # Used to transfer resource ownership between iterations during continue_as_new + already_acquired_resource: Optional[DetachedResource] = field(default=None) + + +class FailWorkflowException(Exception): + pass + + +# Wait this long for a resource before giving up +MAX_RESOURCE_WAIT_TIME = timedelta(minutes=5) + + +@workflow.defn(failure_exception_types=[FailWorkflowException]) +class ResourceUserWorkflow: + @workflow.run + async def run(self, input: ResourceUserWorkflowInput) -> None: + pool_client = ResourcePoolClient(input.resource_pool_workflow_id) + + async with pool_client.acquire_resource( + reattach=input.already_acquired_resource + ) as acquired_resource: + for iteration in ["first", "second"]: + await workflow.execute_activity( + use_resource, + UseResourceActivityInput(acquired_resource.resource, iteration), + start_to_close_timeout=timedelta(seconds=10), + ) + + if iteration == input.iteration_to_fail_after: + workflow.logger.info( + f"Failing after iteration {input.iteration_to_fail_after}" + ) + raise FailWorkflowException() + + # This workflow only continues as new so it can demonstrate how to pass acquired resources across + # iterations. Ordinarily, such a short workflow would not use continue as new. + if input.should_continue_as_new: + detached_resource = acquired_resource.detach() + + next_input = ResourceUserWorkflowInput( + resource_pool_workflow_id=input.resource_pool_workflow_id, + iteration_to_fail_after=input.iteration_to_fail_after, + should_continue_as_new=False, + already_acquired_resource=detached_resource, + ) + + workflow.continue_as_new(next_input) diff --git a/resource_pool/shared.py b/resource_pool/shared.py new file mode 100644 index 000000000..3930bb722 --- /dev/null +++ b/resource_pool/shared.py @@ -0,0 +1,31 @@ +from dataclasses import dataclass, field + +RESOURCE_POOL_WORKFLOW_ID = "resource_pool" + + +@dataclass +class AcquireRequest: + workflow_id: str + + +@dataclass +class AcquireResponse: + release_key: str + resource: str + + +@dataclass +class DetachedResource: + resource: str + release_key: str + + +@dataclass +class AcquiredResource: + resource: str + release_key: str + detached: bool = field(default=False) + + def detach(self) -> DetachedResource: + self.detached = True + return DetachedResource(resource=self.resource, release_key=self.release_key) diff --git a/resource_pool/starter.py b/resource_pool/starter.py new file mode 100644 index 000000000..2a50357a0 --- /dev/null +++ b/resource_pool/starter.py @@ -0,0 +1,69 @@ +import asyncio +from typing import Any + +from temporalio.client import Client, WorkflowFailureError, WorkflowHandle +from temporalio.common import WorkflowIDConflictPolicy +from temporalio.envconfig import ClientConfig + +from resource_pool.pool_client.resource_pool_workflow import ( + ResourcePoolWorkflow, + ResourcePoolWorkflowInput, +) +from resource_pool.resource_user_workflow import ( + ResourceUserWorkflow, + ResourceUserWorkflowInput, +) +from resource_pool.shared import RESOURCE_POOL_WORKFLOW_ID + + +async def main() -> None: + # Connect client + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Initialize the resource pool + resource_pool_handle = await client.start_workflow( + workflow=ResourcePoolWorkflow.run, + arg=ResourcePoolWorkflowInput( + resources={"resource_a": None, "resource_b": None}, + waiters=[], + ), + id=RESOURCE_POOL_WORKFLOW_ID, + task_queue="resource_pool-task-queue", + id_conflict_policy=WorkflowIDConflictPolicy.USE_EXISTING, + ) + + # Start the ResourceUserWorkflows + resource_user_handles: list[WorkflowHandle[Any, Any]] = [] + for i in range(0, 4): + input = ResourceUserWorkflowInput( + resource_pool_workflow_id=RESOURCE_POOL_WORKFLOW_ID, + iteration_to_fail_after=None, + should_continue_as_new=False, + ) + if i == 0: + input.should_continue_as_new = True + if i == 1: + input.iteration_to_fail_after = "first" + + handle = await client.start_workflow( + workflow=ResourceUserWorkflow.run, + arg=input, + id=f"resource-user-workflow-{i}", + task_queue="resource_pool-task-queue", + ) + resource_user_handles.append(handle) + + for handle in resource_user_handles: + try: + await handle.result() + except WorkflowFailureError: + pass + + # Clean up after ourselves. In the real world, the resource pool workflow would run forever. + await resource_pool_handle.terminate() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/resource_pool/worker.py b/resource_pool/worker.py new file mode 100644 index 000000000..253e5f8e3 --- /dev/null +++ b/resource_pool/worker.py @@ -0,0 +1,34 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from resource_pool.pool_client.resource_pool_workflow import ResourcePoolWorkflow +from resource_pool.resource_user_workflow import ResourceUserWorkflow, use_resource + + +async def main() -> None: + logging.basicConfig(level=logging.INFO) + + # Start client + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Run a worker for the workflow + worker = Worker( + client, + task_queue="resource_pool-task-queue", + workflows=[ResourcePoolWorkflow, ResourceUserWorkflow], + activities=[ + use_resource, + ], + ) + + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/schedules/README.md b/schedules/README.md index 9bf40ca01..e5eed069f 100644 --- a/schedules/README.md +++ b/schedules/README.md @@ -2,20 +2,20 @@ These samples show how to schedule a Workflow Execution and control certain action. -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory to run the `schedules/` sample: +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to run the `schedules/` sample: - poetry run python run_worker.py - poetry run python start_schedule.py + uv run schedules/run_worker.py + uv run schedules/start_schedule.py -Replace `start_schedule.py` in the command with any other example filename to run it instead. +Replace `schedules/start_schedule.py` in the command with any other example filename to run it instead. - poetry run python backfill_schedule.py - poetry run python delete_schedule.py - poetry run python describe_schedule.py - poetry run python list_schedule.py - poetry run python pause_schedule.py - python run python trigger_schedule.py - poetry run python update_schedule.py + uv run schedules/backfill_schedule.py + uv run schedules/delete_schedule.py + uv run schedules/describe_schedule.py + uv run schedules/list_schedule.py + uv run schedules/pause_schedule.py + uv run schedules/trigger_schedule.py + uv run schedules/update_schedule.py - create: Creates a new Schedule. Newly created Schedules return a Schedule ID to be used in other Schedule commands. - backfill: Backfills the Schedule by going through the specified time periods as if they passed right now. diff --git a/schedules/backfill_schedule.py b/schedules/backfill_schedule.py index 656584091..708ad07f2 100644 --- a/schedules/backfill_schedule.py +++ b/schedules/backfill_schedule.py @@ -2,10 +2,14 @@ from datetime import datetime, timedelta from temporalio.client import Client, ScheduleBackfill, ScheduleOverlapPolicy +from temporalio.envconfig import ClientConfig async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + handle = client.get_schedule_handle( "workflow-schedule-id", ) @@ -16,7 +20,7 @@ async def main(): end_at=now - timedelta(minutes=9), overlap=ScheduleOverlapPolicy.ALLOW_ALL, ), - ), + ) if __name__ == "__main__": diff --git a/schedules/delete_schedule.py b/schedules/delete_schedule.py index b62656360..d7b643942 100644 --- a/schedules/delete_schedule.py +++ b/schedules/delete_schedule.py @@ -1,10 +1,14 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + handle = client.get_schedule_handle( "workflow-schedule-id", ) diff --git a/schedules/describe_schedule.py b/schedules/describe_schedule.py index 22bb832d6..0db3fba5d 100644 --- a/schedules/describe_schedule.py +++ b/schedules/describe_schedule.py @@ -1,10 +1,14 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + handle = client.get_schedule_handle( "workflow-schedule-id", ) diff --git a/schedules/list_schedule.py b/schedules/list_schedule.py index a863aeee7..15c0fd6a9 100644 --- a/schedules/list_schedule.py +++ b/schedules/list_schedule.py @@ -1,10 +1,13 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig async def main() -> None: - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) async for schedule in await client.list_schedules(): print(f"List Schedule Info: {schedule.info}.") diff --git a/schedules/pause_schedule.py b/schedules/pause_schedule.py index a6f8721c7..79a9ca030 100644 --- a/schedules/pause_schedule.py +++ b/schedules/pause_schedule.py @@ -1,10 +1,14 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + handle = client.get_schedule_handle( "workflow-schedule-id", ) diff --git a/schedules/run_worker.py b/schedules/run_worker.py index 5252b1f7f..00d14aaaf 100644 --- a/schedules/run_worker.py +++ b/schedules/run_worker.py @@ -1,13 +1,17 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker from your_activities import your_activity from your_workflows import YourSchedulesWorkflow async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + worker = Worker( client, task_queue="schedules-task-queue", diff --git a/schedules/start_schedule.py b/schedules/start_schedule.py index 6089be952..ead6202be 100644 --- a/schedules/start_schedule.py +++ b/schedules/start_schedule.py @@ -9,11 +9,15 @@ ScheduleSpec, ScheduleState, ) +from temporalio.envconfig import ClientConfig from your_workflows import YourSchedulesWorkflow async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + await client.create_schedule( "workflow-schedule-id", Schedule( diff --git a/schedules/trigger_schedule.py b/schedules/trigger_schedule.py index ca1f38f17..30939d321 100644 --- a/schedules/trigger_schedule.py +++ b/schedules/trigger_schedule.py @@ -1,10 +1,14 @@ import asyncio from temporalio.client import Client +from temporalio.envconfig import ClientConfig async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + handle = client.get_schedule_handle( "workflow-schedule-id", ) diff --git a/schedules/update_schedule.py b/schedules/update_schedule.py index 979c23a86..709eeda35 100644 --- a/schedules/update_schedule.py +++ b/schedules/update_schedule.py @@ -6,10 +6,14 @@ ScheduleUpdate, ScheduleUpdateInput, ) +from temporalio.envconfig import ClientConfig async def main(): - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + handle = client.get_schedule_handle( "workflow-schedule-id", ) diff --git a/sentry/README.md b/sentry/README.md index 45977731b..0062f815f 100644 --- a/sentry/README.md +++ b/sentry/README.md @@ -1,19 +1,42 @@ # Sentry Sample -This sample shows how to configure [Sentry](https://sentry.io) to intercept and capture errors from the Temporal SDK. +This sample shows how to configure [Sentry](https://sentry.io) SDK (version 2) to intercept and capture errors from the Temporal SDK +for workflows and activities. The integration adds some useful context to the errors, such as the activity type, task queue, etc. + +Note: Sentry currently does not support Python 3.14, likewise this sample does not support Python 3.14. + +## Further details + +This is a small modification of the original example Sentry integration in this repo based on SDK v1. The integration +didn't work properly with Sentry SDK v2 due to some internal changes in the Sentry SDK that broke the worker sandbox. +Additionally, the v1 SDK has been deprecated and is only receiving security patches and will reach EOL some time in the future. +If you still need to use Sentry SDK v1, check the original example at this [commit](https://github.com/temporalio/samples-python/blob/090b96d750bafc10d4aad5ad506bb2439c413d5e/sentry). + +## Running the Sample For this sample, the optional `sentry` dependency group must be included. To include, run: - poetry install --with sentry + uv sync --no-default-groups --dev --group sentry + +> Note: this integration breaks when `gevent` is installed (e.g. by the gevent sample) so make sure to only install +> the `sentry` group and run the scripts below as described. To run, first see [README.md](../README.md) for prerequisites. Set `SENTRY_DSN` environment variable to the Sentry DSN. -Then, run the following from this directory to start the worker: +Then, run the following from the root directory to start the worker: - poetry run python worker.py + export SENTRY_DSN= # You'll need a Sentry account to test against + export ENVIRONMENT=dev + uv run sentry/worker.py This will start the worker. Then, in another terminal, run the following to execute the workflow: - poetry run python starter.py + uv run sentry/starter.py + +You should see the activity fail causing an error to be reported to Sentry. + +## Screenshot + +The screenshot below shows the extra tags and context included in the +Sentry error from the exception thrown in the activity. -The workflow should complete with the hello result. If you alter the workflow or the activity to raise an -`ApplicationError` instead, it should appear in Sentry. \ No newline at end of file +![Sentry screenshot](images/sentry.jpeg) diff --git a/sentry/activity.py b/sentry/activity.py new file mode 100644 index 000000000..148cd0d22 --- /dev/null +++ b/sentry/activity.py @@ -0,0 +1,25 @@ +from dataclasses import dataclass + +from temporalio import activity + + +@dataclass +class WorkingActivityInput: + message: str + + +@activity.defn +async def working_activity(input: WorkingActivityInput) -> str: + activity.logger.info("Running activity with parameter %s" % input) + return "Success" + + +@dataclass +class BrokenActivityInput: + message: str + + +@activity.defn +async def broken_activity(input: BrokenActivityInput) -> str: + activity.logger.info("Running activity with parameter %s" % input) + raise Exception("Activity failed!") diff --git a/sentry/images/sentry.jpeg b/sentry/images/sentry.jpeg new file mode 100644 index 000000000..0f62825bb Binary files /dev/null and b/sentry/images/sentry.jpeg differ diff --git a/sentry/interceptor.py b/sentry/interceptor.py index f1737ed23..d016acef4 100644 --- a/sentry/interceptor.py +++ b/sentry/interceptor.py @@ -1,5 +1,6 @@ +import logging from dataclasses import asdict, is_dataclass -from typing import Any, Optional, Type, Union +from typing import Any, Optional, Type from temporalio import activity, workflow from temporalio.worker import ( @@ -12,59 +13,65 @@ ) with workflow.unsafe.imports_passed_through(): - from sentry_sdk import Hub, capture_exception, set_context, set_tag + import sentry_sdk -def _set_common_workflow_tags(info: Union[workflow.Info, activity.Info]): - set_tag("temporal.workflow.type", info.workflow_type) - set_tag("temporal.workflow.id", info.workflow_id) +logger = logging.getLogger(__name__) class _SentryActivityInboundInterceptor(ActivityInboundInterceptor): async def execute_activity(self, input: ExecuteActivityInput) -> Any: # https://docs.sentry.io/platforms/python/troubleshooting/#addressing-concurrency-issues - with Hub(Hub.current): - set_tag("temporal.execution_type", "activity") - set_tag("module", input.fn.__module__ + "." + input.fn.__qualname__) - + with sentry_sdk.isolation_scope() as scope: + scope.set_tag("temporal.execution_type", "activity") + scope.set_tag("module", input.fn.__module__ + "." + input.fn.__qualname__) activity_info = activity.info() - _set_common_workflow_tags(activity_info) - set_tag("temporal.activity.id", activity_info.activity_id) - set_tag("temporal.activity.type", activity_info.activity_type) - set_tag("temporal.activity.task_queue", activity_info.task_queue) - set_tag("temporal.workflow.namespace", activity_info.workflow_namespace) - set_tag("temporal.workflow.run_id", activity_info.workflow_run_id) + scope.set_tag("temporal.workflow.type", activity_info.workflow_type) + scope.set_tag("temporal.workflow.id", activity_info.workflow_id) + scope.set_tag("temporal.activity.id", activity_info.activity_id) + scope.set_tag("temporal.activity.type", activity_info.activity_type) + scope.set_tag("temporal.activity.task_queue", activity_info.task_queue) + scope.set_tag( + "temporal.workflow.namespace", activity_info.workflow_namespace + ) + scope.set_tag("temporal.workflow.run_id", activity_info.workflow_run_id) try: return await super().execute_activity(input) except Exception as e: - if len(input.args) == 1 and is_dataclass(input.args[0]): - set_context("temporal.activity.input", asdict(input.args[0])) - set_context("temporal.activity.info", activity.info().__dict__) - capture_exception() + if len(input.args) == 1: + [arg] = input.args + if is_dataclass(arg) and not isinstance(arg, type): + scope.set_context("temporal.activity.input", asdict(arg)) + scope.set_context("temporal.activity.info", activity.info().__dict__) + scope.capture_exception() raise e class _SentryWorkflowInterceptor(WorkflowInboundInterceptor): async def execute_workflow(self, input: ExecuteWorkflowInput) -> Any: # https://docs.sentry.io/platforms/python/troubleshooting/#addressing-concurrency-issues - with Hub(Hub.current): - set_tag("temporal.execution_type", "workflow") - set_tag("module", input.run_fn.__module__ + "." + input.run_fn.__qualname__) + with sentry_sdk.isolation_scope() as scope: + scope.set_tag("temporal.execution_type", "workflow") + scope.set_tag( + "module", input.run_fn.__module__ + "." + input.run_fn.__qualname__ + ) workflow_info = workflow.info() - _set_common_workflow_tags(workflow_info) - set_tag("temporal.workflow.task_queue", workflow_info.task_queue) - set_tag("temporal.workflow.namespace", workflow_info.namespace) - set_tag("temporal.workflow.run_id", workflow_info.run_id) + scope.set_tag("temporal.workflow.type", workflow_info.workflow_type) + scope.set_tag("temporal.workflow.id", workflow_info.workflow_id) + scope.set_tag("temporal.workflow.task_queue", workflow_info.task_queue) + scope.set_tag("temporal.workflow.namespace", workflow_info.namespace) + scope.set_tag("temporal.workflow.run_id", workflow_info.run_id) try: return await super().execute_workflow(input) except Exception as e: - if len(input.args) == 1 and is_dataclass(input.args[0]): - set_context("temporal.workflow.input", asdict(input.args[0])) - set_context("temporal.workflow.info", workflow.info().__dict__) - + if len(input.args) == 1: + [arg] = input.args + if is_dataclass(arg) and not isinstance(arg, type): + scope.set_context("temporal.workflow.input", asdict(arg)) + scope.set_context("temporal.workflow.info", workflow.info().__dict__) if not workflow.unsafe.is_replaying(): with workflow.unsafe.sandbox_unrestricted(): - capture_exception() + scope.capture_exception() raise e @@ -74,9 +81,6 @@ class SentryInterceptor(Interceptor): def intercept_activity( self, next: ActivityInboundInterceptor ) -> ActivityInboundInterceptor: - """Implementation of - :py:meth:`temporalio.worker.Interceptor.intercept_activity`. - """ return _SentryActivityInboundInterceptor(super().intercept_activity(next)) def workflow_interceptor_class( diff --git a/sentry/starter.py b/sentry/starter.py index 9d0a0dc7c..aa3f6271e 100644 --- a/sentry/starter.py +++ b/sentry/starter.py @@ -1,23 +1,29 @@ import asyncio -import os from temporalio.client import Client +from temporalio.envconfig import ClientConfig -from sentry.worker import GreetingWorkflow +from sentry.workflow import SentryExampleWorkflow, SentryExampleWorkflowInput async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + # Connect client - client = await Client.connect("localhost:7233") + client = await Client.connect(**config) # Run workflow - result = await client.execute_workflow( - GreetingWorkflow.run, - "World", - id="sentry-workflow-id", - task_queue="sentry-task-queue", - ) - print(f"Workflow result: {result}") + try: + result = await client.execute_workflow( + SentryExampleWorkflow.run, + SentryExampleWorkflowInput(option="broken"), + id="sentry-workflow-id", + task_queue="sentry-task-queue", + ) + print(f"Workflow result: {result}") + except Exception: + print("Workflow failed - check Sentry for details") if __name__ == "__main__": diff --git a/sentry/worker.py b/sentry/worker.py index 1db0826ba..1bcd153e1 100644 --- a/sentry/worker.py +++ b/sentry/worker.py @@ -1,64 +1,96 @@ import asyncio -import logging import os -from dataclasses import dataclass -from datetime import timedelta import sentry_sdk -from temporalio import activity, workflow +from sentry_sdk.integrations.asyncio import AsyncioIntegration +from sentry_sdk.types import Event, Hint from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker +from temporalio.worker.workflow_sandbox import ( + SandboxedWorkflowRunner, + SandboxRestrictions, +) +from sentry.activity import broken_activity, working_activity from sentry.interceptor import SentryInterceptor +from sentry.workflow import SentryExampleWorkflow +interrupt_event = asyncio.Event() -@dataclass -class ComposeGreetingInput: - greeting: str - name: str +def before_send(event: Event, hint: Hint) -> Event | None: + # Filter out __ShutdownRequested events raised by the worker's internals + if str(hint.get("exc_info", [None])[0].__name__) == "_ShutdownRequested": + return None -@activity.defn -async def compose_greeting(input: ComposeGreetingInput) -> str: - activity.logger.info("Running activity with parameter %s" % input) - return f"{input.greeting}, {input.name}!" + return event -@workflow.defn -class GreetingWorkflow: - @workflow.run - async def run(self, name: str) -> str: - workflow.logger.info("Running workflow with parameter %s" % name) - return await workflow.execute_activity( - compose_greeting, - ComposeGreetingInput("Hello", name), - start_to_close_timeout=timedelta(seconds=10), +def initialise_sentry() -> None: + sentry_dsn = os.environ.get("SENTRY_DSN") + if not sentry_dsn: + print( + "SENTRY_DSN environment variable is not set. Sentry will not be initialized." ) + return + environment = os.environ.get("ENVIRONMENT") + sentry_sdk.init( + dsn=sentry_dsn, + environment=environment, + integrations=[ + AsyncioIntegration(), + ], + attach_stacktrace=True, + before_send=before_send, + ) + print(f"Sentry SDK initialized for environment: {environment!r}") -async def main(): - # Uncomment the line below to see logging - # logging.basicConfig(level=logging.INFO) +async def main(): # Initialize the Sentry SDK - sentry_sdk.init( - dsn=os.environ.get("SENTRY_DSN"), - ) + initialise_sentry() + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") # Start client - client = await Client.connect("localhost:7233") + client = await Client.connect(**config) # Run a worker for the workflow - worker = Worker( + async with Worker( client, task_queue="sentry-task-queue", - workflows=[GreetingWorkflow], - activities=[compose_greeting], + workflows=[SentryExampleWorkflow], + activities=[broken_activity, working_activity], interceptors=[SentryInterceptor()], # Use SentryInterceptor for error reporting - ) - - await worker.run() + workflow_runner=SandboxedWorkflowRunner( + restrictions=SandboxRestrictions.default.with_passthrough_modules( + "sentry_sdk" + ) + ), + ): + # Wait until interrupted + print("Worker started, ctrl+c to exit") + await interrupt_event.wait() + print("Shutting down") if __name__ == "__main__": - asyncio.run(main()) + # Note: "Addressing Concurrency Issues" section in Sentry docs recommends using + # the AsyncioIntegration: "If you do concurrency with asyncio coroutines, make + # sure to use the AsyncioIntegration which will clone the correct scope in your Tasks" + # See https://docs.sentry.io/platforms/python/troubleshooting/ + # + # However, this captures all unhandled exceptions in the event loop. + # So handle shutdown gracefully to avoid CancelledError and KeyboardInterrupt + # exceptions being captured as errors. Sentry also captures the worker's + # _ShutdownRequested exception, which is probably not useful. We've filtered this + # out in Sentry's before_send function. + loop = asyncio.new_event_loop() + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/sentry/workflow.py b/sentry/workflow.py new file mode 100644 index 000000000..4cb779eaf --- /dev/null +++ b/sentry/workflow.py @@ -0,0 +1,38 @@ +import typing +from dataclasses import dataclass +from datetime import timedelta + +from temporalio import workflow +from temporalio.common import RetryPolicy + +from sentry.activity import WorkingActivityInput, working_activity + +with workflow.unsafe.imports_passed_through(): + from sentry.activity import BrokenActivityInput, broken_activity + + +@dataclass +class SentryExampleWorkflowInput: + option: typing.Literal["working", "broken"] + + +@workflow.defn +class SentryExampleWorkflow: + @workflow.run + async def run(self, input: SentryExampleWorkflowInput) -> str: + workflow.logger.info("Running workflow with parameter %r" % input) + + if input.option == "working": + return await workflow.execute_activity( + working_activity, + WorkingActivityInput(message="Hello, Temporal!"), + start_to_close_timeout=timedelta(seconds=10), + retry_policy=RetryPolicy(maximum_attempts=1), + ) + + return await workflow.execute_activity( + broken_activity, + BrokenActivityInput(message="Hello, Temporal!"), + start_to_close_timeout=timedelta(seconds=10), + retry_policy=RetryPolicy(maximum_attempts=1), + ) diff --git a/sleep_for_days/README.md b/sleep_for_days/README.md new file mode 100644 index 000000000..5117fcdb2 --- /dev/null +++ b/sleep_for_days/README.md @@ -0,0 +1,18 @@ +# Sleep for Days + +This sample demonstrates how to create a Temporal workflow that runs forever, sending an email every 30 days. + +To run, first see the main [README.md](../README.md) for prerequisites. + +Then create two terminals. + +Run the worker in one terminal: + + uv run sleep_for_days/worker.py + +And execute the workflow in the other terminal: + + uv run sleep_for_days/starter.py + +This sample will run indefinitely until you send a signal to `complete`. See how to send a signal via Temporal CLI [here](https://docs.temporal.io/cli/workflow#signal). + diff --git a/sleep_for_days/__init__.py b/sleep_for_days/__init__.py new file mode 100644 index 000000000..04611d30b --- /dev/null +++ b/sleep_for_days/__init__.py @@ -0,0 +1 @@ +TASK_QUEUE = "sleep-for-days-task-queue" diff --git a/sleep_for_days/activities.py b/sleep_for_days/activities.py new file mode 100644 index 000000000..309720980 --- /dev/null +++ b/sleep_for_days/activities.py @@ -0,0 +1,18 @@ +from dataclasses import dataclass + +from temporalio import activity + + +@dataclass +class SendEmailInput: + email_msg: str + + +@activity.defn() +async def send_email(input: SendEmailInput) -> str: + """ + A stub Activity for sending an email. + """ + result = f"Email message: {input.email_msg}, sent" + activity.logger.info(result) + return result diff --git a/sleep_for_days/starter.py b/sleep_for_days/starter.py new file mode 100644 index 000000000..98dc083d4 --- /dev/null +++ b/sleep_for_days/starter.py @@ -0,0 +1,28 @@ +import asyncio +import uuid +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from sleep_for_days import TASK_QUEUE +from sleep_for_days.workflows import SleepForDaysWorkflow + + +async def main(client: Optional[Client] = None): + if not client: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + wf_handle = await client.start_workflow( + SleepForDaysWorkflow.run, + id=f"sleep-for-days-workflow-id-{uuid.uuid4()}", + task_queue=TASK_QUEUE, + ) + # Wait for workflow completion (runs indefinitely until it receives a signal) + print(await wf_handle.result()) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/sleep_for_days/worker.py b/sleep_for_days/worker.py new file mode 100644 index 000000000..59799607a --- /dev/null +++ b/sleep_for_days/worker.py @@ -0,0 +1,30 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from sleep_for_days import TASK_QUEUE +from sleep_for_days.activities import send_email +from sleep_for_days.workflows import SleepForDaysWorkflow + + +async def main(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + worker = Worker( + client, + task_queue=TASK_QUEUE, + workflows=[SleepForDaysWorkflow], + activities=[send_email], + ) + + await worker.run() + + +if __name__ == "__main__": + logging.basicConfig(level=logging.INFO) + asyncio.run(main()) diff --git a/sleep_for_days/workflows.py b/sleep_for_days/workflows.py new file mode 100644 index 000000000..eff0b273a --- /dev/null +++ b/sleep_for_days/workflows.py @@ -0,0 +1,37 @@ +import asyncio +from dataclasses import dataclass +from datetime import timedelta + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from sleep_for_days.activities import SendEmailInput, send_email + + +@workflow.defn() +class SleepForDaysWorkflow: + def __init__(self) -> None: + self.is_complete = False + + @workflow.run + async def run(self) -> str: + while not self.is_complete: + await workflow.execute_activity( + send_email, + SendEmailInput("30 days until the next email"), + start_to_close_timeout=timedelta(seconds=10), + ) + await workflow.wait( + [ + asyncio.create_task(workflow.sleep(timedelta(days=30))), + asyncio.create_task( + workflow.wait_condition(lambda: self.is_complete) + ), + ], + return_when=asyncio.FIRST_COMPLETED, + ) + return "done!" + + @workflow.signal + def complete(self): + self.is_complete = True diff --git a/strands_plugin/README.md b/strands_plugin/README.md new file mode 100644 index 000000000..3fb4e2de7 --- /dev/null +++ b/strands_plugin/README.md @@ -0,0 +1,78 @@ +# Strands Agents Samples + +These samples demonstrate the [Temporal Strands plugin](https://github.com/temporalio/sdk-python/tree/main/temporalio/contrib/strands), which runs [Strands Agents](https://strandsagents.com/) inside Temporal Workflows. Model invocations, tool calls, and MCP tool calls all execute as Temporal Activities, so you get durable execution, Temporal-managed retries, and timeouts. + +## Samples + +| Sample | Description | +|--------|-------------| +| [hello_world](hello_world) | Minimal `TemporalAgent` invocation. Start here. | +| [tools](tools) | Three tool patterns side by side: in-workflow `@tool`, custom `@activity.defn` wrapped via `activity_as_tool`, and a `strands_tools` tool wrapped as a Temporal activity. | +| [human_in_the_loop](human_in_the_loop) | Pause a tool call on `BeforeToolCallEvent.interrupt()`, resume via Temporal signal. The canonical Strands HITL pattern. | +| [activity_interrupt](activity_interrupt) | Raise `InterruptException` from a Temporal activity to surface a HITL prompt across the activity boundary. Plugin-specific feature. | +| [hooks](hooks) | `HookProvider` with both an in-workflow callback and an `activity_as_hook` callback for I/O. | +| [mcp](mcp) | Connect to an MCP server (`FastMCP` echo) via `TemporalMCPClient`. | +| [structured_output](structured_output) | Pydantic-typed agent output via `structured_output_model`. | +| [streaming](streaming) | Forward model chunks to an external subscriber via `streaming_topic` + `WorkflowStream`. | +| [continue_as_new](continue_as_new) | Chat-style workflow that hands off `agent.messages` when history grows large. | + +## Prerequisites + +1. Install dependencies: + + ```bash + uv sync --group strands-agents + ``` + +2. Configure AWS credentials. The samples use the plugin's default `BedrockModel()`, which picks up the standard AWS SDK credential chain. Make sure the credentials grant access to a Bedrock model in your selected region (e.g., `us-west-2`). + + ```bash + export AWS_REGION=us-west-2 + # plus AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY or an SSO profile + ``` + + You can pick a specific model by passing it to `BedrockModel(model_id="...")` in each sample's worker. + +3. Start a local dev server with the [Temporal CLI](https://docs.temporal.io/cli): + + ```bash + temporal server start-dev + ``` + +## Running a Sample + +Each sample has two scripts. Start the Worker first, then the Workflow starter in a separate terminal: + +```bash +# Terminal 1: start the Worker +uv run strands_plugin//run_worker.py + +# Terminal 2: start the Workflow +uv run strands_plugin//run_workflow.py +``` + +For example, to run the tools sample: + +```bash +# Terminal 1 +uv run strands_plugin/tools/run_worker.py + +# Terminal 2 +uv run strands_plugin/tools/run_workflow.py +``` + +## Key Features Demonstrated + +- **Durable model invocation** — every model call runs in an `invoke_model` activity with configurable timeouts and retries. +- **Three ways to define tools** — pure Strands `@tool`, custom Temporal activities, and ecosystem `strands_tools` wrapped as activities. +- **Human-in-the-loop** — both hook-based (`BeforeToolCallEvent.interrupt()`) and tool-body (`raise InterruptException`) styles. +- **Hook system** — deterministic in-workflow callbacks plus I/O callbacks dispatched via `activity_as_hook`. +- **MCP integration** — connect to MCP servers at worker startup; tool calls dispatched through per-server activities. +- **Structured output** — Pydantic-typed agent results via the plugin's `pydantic_data_converter`. +- **Streaming** — forward model chunks live to external subscribers. +- **Long-lived chats** — hand off `agent.messages` via `continue-as-new` to stay under Temporal's history limit. + +## Related + +- [Temporal Strands plugin docs](https://github.com/temporalio/sdk-python/tree/main/temporalio/contrib/strands) +- [Strands Agents](https://strandsagents.com/) diff --git a/strands_plugin/__init__.py b/strands_plugin/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/strands_plugin/activity_interrupt/README.md b/strands_plugin/activity_interrupt/README.md new file mode 100644 index 000000000..bda67700a --- /dev/null +++ b/strands_plugin/activity_interrupt/README.md @@ -0,0 +1,34 @@ +# Activity Interrupt + +A `@activity.defn`-wrapped tool raises `InterruptException(Interrupt(...))` directly. The plugin's failure converter preserves the `Interrupt` payload across the activity boundary, so the agent stops with `stop_reason == "interrupt"` just like in the hook-based [human_in_the_loop](../human_in_the_loop) sample. + +When to reach for this style instead of a hook: + +- The decision to pause depends on data that's only visible inside the activity (a permissions service, a row in a database, etc.). +- You don't want to load that data into workflow context just to make the call. + +## What This Sample Demonstrates + +- Raising `InterruptException` from a Temporal activity tool +- The plugin's failure converter carrying `Interrupt` across the activity boundary +- Why `StrandsPlugin` must be attached to the **client** (not just the worker) + +## Running the Sample + +```bash +# Terminal 1 +uv run strands_plugin/activity_interrupt/run_worker.py + +# Terminal 2 +uv run strands_plugin/activity_interrupt/run_workflow.py +``` + +The starter requests deletion of a "protected" resource. The `delete_thing` activity raises an interrupt for protected names; the starter signals `"approve"` to release it. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `delete_thing` activity that raises `InterruptException`, plus the workflow that handles resumption | +| `run_worker.py` | `StrandsPlugin` on the client + worker, registers the activity | +| `run_workflow.py` | Starts the workflow and signals approval | diff --git a/strands_plugin/activity_interrupt/__init__.py b/strands_plugin/activity_interrupt/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/strands_plugin/activity_interrupt/run_worker.py b/strands_plugin/activity_interrupt/run_worker.py new file mode 100644 index 000000000..bfbf96003 --- /dev/null +++ b/strands_plugin/activity_interrupt/run_worker.py @@ -0,0 +1,37 @@ +"""Worker for the activity interrupt sample.""" + +# @@@SNIPSTART python-strands-activity-interrupt-worker +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.activity_interrupt.workflow import ( + ActivityInterruptWorkflow, + delete_thing, +) + + +async def main() -> None: + plugin = StrandsPlugin() + # The plugin MUST be on the client so its failure converter is installed. + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="strands-activity-interrupt", + workflows=[ActivityInterruptWorkflow], + activities=[delete_thing], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/strands_plugin/activity_interrupt/run_workflow.py b/strands_plugin/activity_interrupt/run_workflow.py new file mode 100644 index 000000000..7125c8237 --- /dev/null +++ b/strands_plugin/activity_interrupt/run_workflow.py @@ -0,0 +1,40 @@ +"""Start the activity interrupt workflow.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin + +from strands_plugin.activity_interrupt.workflow import ActivityInterruptWorkflow + + +async def main() -> None: + # The starter also goes through the plugin's failure converter so the + # Interrupt payload deserializes cleanly when the workflow result is read. + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[StrandsPlugin()], + ) + + handle = await client.start_workflow( + ActivityInterruptWorkflow.run, + "Please delete the 'system' user.", + id="strands-activity-interrupt", + task_queue="strands-activity-interrupt", + ) + + reason = None + while reason is None: + await asyncio.sleep(0.5) + reason = await handle.query(ActivityInterruptWorkflow.pending_approval) + print(f"Approval requested: {reason}") + + await handle.signal(ActivityInterruptWorkflow.approve, "approve") + + result = await handle.result() + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/activity_interrupt/workflow.py b/strands_plugin/activity_interrupt/workflow.py new file mode 100644 index 000000000..bf815630b --- /dev/null +++ b/strands_plugin/activity_interrupt/workflow.py @@ -0,0 +1,82 @@ +"""Activity interrupt: ``InterruptException`` raised from a Temporal activity. + +The plugin's failure converter preserves the ``Interrupt`` payload across the +activity boundary, so a Temporal activity can pause the agent for human input +the same way a hook can. + +For this to work, ``StrandsPlugin`` must be attached to the **client** (not +just the worker) so the failure converter is installed on the data converter. +The worker in this sample does exactly that. +""" + +from datetime import timedelta + +from strands.interrupt import Interrupt, InterruptException +from strands.types.interrupt import InterruptResponseContent +from temporalio import activity, workflow +from temporalio.contrib.strands import TemporalAgent +from temporalio.contrib.strands.workflow import activity_as_tool + +# Tracks names that have been approved out-of-band. In a real system, this +# would be a row in a policy database; the human reviewer flips a flag during +# the pause, and the activity's next attempt reads the new value and proceeds. +_APPROVED: set[str] = set() + + +# @@@SNIPSTART python-strands-activity-interrupt-activity +@activity.defn +async def delete_thing(name: str) -> str: + if name not in _APPROVED: + _APPROVED.add(name) + raise InterruptException( + Interrupt( + id=f"delete:{name}", + name="approval", + reason=f"approve delete of protected resource '{name}'?", + ) + ) + return f"deleted {name}" + + +# @@@SNIPEND + + +@workflow.defn +class ActivityInterruptWorkflow: + def __init__(self) -> None: + self.agent = TemporalAgent( + start_to_close_timeout=timedelta(seconds=60), + tools=[ + activity_as_tool( + delete_thing, + start_to_close_timeout=timedelta(seconds=30), + ), + ], + ) + self._approval: str | None = None + self._pending_reason: str | None = None + + @workflow.signal + def approve(self, response: str) -> None: + self._approval = response + + @workflow.query + def pending_approval(self) -> str | None: + return self._pending_reason + + @workflow.run + async def run(self, prompt: str) -> str: + result = await self.agent.invoke_async(prompt) + while result.stop_reason == "interrupt": + interrupts = list(result.interrupts or []) + self._pending_reason = interrupts[0].reason if interrupts else None + await workflow.wait_condition(lambda: self._approval is not None) + response = self._approval + self._approval = None + self._pending_reason = None + responses: list[InterruptResponseContent] = [ + {"interruptResponse": {"interruptId": i.id, "response": response}} + for i in interrupts + ] + result = await self.agent.invoke_async(responses) + return str(result) diff --git a/strands_plugin/continue_as_new/README.md b/strands_plugin/continue_as_new/README.md new file mode 100644 index 000000000..bffae4aee --- /dev/null +++ b/strands_plugin/continue_as_new/README.md @@ -0,0 +1,30 @@ +# Continue-as-new + +A chat-style workflow accumulates history with every turn and will eventually hit Temporal's per-workflow history limit. `workflow.info().is_continue_as_new_suggested()` flips `True` once the server decides history has grown large enough; this sample waits on it — alongside the `end_chat` signal — with `workflow.wait_condition(...)`, then hands off to a fresh run with `agent.messages` as input. + +## What This Sample Demonstrates + +- Driving a multi-turn chat with **updates**, so each caller gets the assistant's reply back from the same call +- Seeding a new `TemporalAgent` with prior `agent.messages` +- Using `workflow.info().is_continue_as_new_suggested()` + `workflow.continue_as_new(...)` to keep the workflow alive indefinitely +- Draining in-flight update handlers with `workflow.all_handlers_finished` before continue-as-new + +## Running the Sample + +```bash +# Terminal 1 +uv run strands_plugin/continue_as_new/run_worker.py + +# Terminal 2 +uv run strands_plugin/continue_as_new/run_workflow.py +``` + +The starter calls the `turn` update for each user message and prints the assistant's reply, then signals `end_chat`. In a real chatbot, a UI would drive the updates and the workflow would run indefinitely, continuing-as-new whenever history gets large. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `ChatInput`, `ChatWorkflow` with `turn` update, `end_chat` signal, and `messages` query | +| `run_worker.py` | Registers `StrandsPlugin`, starts the worker | +| `run_workflow.py` | Starts the chat, sends a few turns, ends it | diff --git a/strands_plugin/continue_as_new/__init__.py b/strands_plugin/continue_as_new/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/strands_plugin/continue_as_new/run_worker.py b/strands_plugin/continue_as_new/run_worker.py new file mode 100644 index 000000000..6cd092e4d --- /dev/null +++ b/strands_plugin/continue_as_new/run_worker.py @@ -0,0 +1,30 @@ +"""Worker for the chat continue-as-new sample.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.continue_as_new.workflow import ChatWorkflow + + +async def main() -> None: + plugin = StrandsPlugin() + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="strands-chat", + workflows=[ChatWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/continue_as_new/run_workflow.py b/strands_plugin/continue_as_new/run_workflow.py new file mode 100644 index 000000000..2a98f4212 --- /dev/null +++ b/strands_plugin/continue_as_new/run_workflow.py @@ -0,0 +1,38 @@ +"""Start the chat workflow, send a few turns, then end it.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin + +from strands_plugin.continue_as_new.workflow import ChatInput, ChatWorkflow + + +async def main() -> None: + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[StrandsPlugin()], + ) + + handle = await client.start_workflow( + ChatWorkflow.run, + ChatInput(), + id="strands-chat", + task_queue="strands-chat", + ) + + for prompt in [ + "Hi! What is durable execution?", + "Give me a one-sentence summary.", + ]: + reply = await handle.execute_update(ChatWorkflow.turn, prompt) + print(f"user: {prompt}") + print(f"assistant: {reply}\n") + + await handle.signal(ChatWorkflow.end_chat) + await handle.result() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/continue_as_new/workflow.py b/strands_plugin/continue_as_new/workflow.py new file mode 100644 index 000000000..223a5c429 --- /dev/null +++ b/strands_plugin/continue_as_new/workflow.py @@ -0,0 +1,64 @@ +"""Chat-style workflow that continues-as-new before history grows too large. + +Each user turn arrives as a Temporal **update**, so the caller gets the +assistant's reply back from the same call. Once Temporal suggests +continue-as-new, the workflow drains any in-flight update handlers and hands +``agent.messages`` off to a fresh run. +""" + +# @@@SNIPSTART python-strands-continue-as-new-workflow +import asyncio +from dataclasses import dataclass, field +from datetime import timedelta + +from strands.types.content import Messages +from temporalio import workflow +from temporalio.contrib.strands import TemporalAgent + + +@dataclass +class ChatInput: + messages: Messages = field(default_factory=list) + + +@workflow.defn +class ChatWorkflow: + def __init__(self) -> None: + self._done = False + self._lock = asyncio.Lock() + self._agent: TemporalAgent | None = None + + @workflow.update + async def turn(self, prompt: str) -> str: + await workflow.wait_condition(lambda: self._agent is not None) + async with self._lock: + assert self._agent is not None + result = await self._agent.invoke_async(prompt) + return str(result).strip() + + @workflow.signal + def end_chat(self) -> None: + self._done = True + + @workflow.query + def messages(self) -> Messages: + return list(self._agent.messages) if self._agent else [] + + @workflow.run + async def run(self, input: ChatInput) -> None: + self._agent = TemporalAgent( + start_to_close_timeout=timedelta(seconds=60), + messages=list(input.messages), + ) + + await workflow.wait_condition( + lambda: self._done or workflow.info().is_continue_as_new_suggested() + ) + + await workflow.wait_condition(workflow.all_handlers_finished) + + if not self._done: + workflow.continue_as_new(ChatInput(messages=self._agent.messages)) + + +# @@@SNIPEND diff --git a/strands_plugin/hello_world/README.md b/strands_plugin/hello_world/README.md new file mode 100644 index 000000000..186b3580e --- /dev/null +++ b/strands_plugin/hello_world/README.md @@ -0,0 +1,29 @@ +# Hello World + +The simplest Strands + Temporal sample: one `TemporalAgent` invoked once. Every model call runs as an `invoke_model` Temporal activity, so it gets durable retries, timeouts, and crash recovery for free. + +## What This Sample Demonstrates + +- Wiring `StrandsPlugin` onto the client and worker +- Constructing a `TemporalAgent` with no explicit model (defaults to `BedrockModel()`) +- Invoking the agent from a `@workflow.defn` + +## Running the Sample + +Prerequisites: `uv sync --group strands-agents`, AWS credentials with Bedrock access, and a running Temporal dev server (`temporal server start-dev`). + +```bash +# Terminal 1 +uv run strands_plugin/hello_world/run_worker.py + +# Terminal 2 +uv run strands_plugin/hello_world/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `HelloWorldWorkflow` with a single `TemporalAgent` | +| `run_worker.py` | Registers `StrandsPlugin`, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/strands_plugin/hello_world/__init__.py b/strands_plugin/hello_world/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/strands_plugin/hello_world/run_worker.py b/strands_plugin/hello_world/run_worker.py new file mode 100644 index 000000000..17b9ed9da --- /dev/null +++ b/strands_plugin/hello_world/run_worker.py @@ -0,0 +1,32 @@ +"""Worker for the hello world sample.""" + +# @@@SNIPSTART python-strands-hello-world-worker +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.hello_world.workflow import HelloWorldWorkflow + + +async def main() -> None: + plugin = StrandsPlugin() + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="strands-hello-world", + workflows=[HelloWorldWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/strands_plugin/hello_world/run_workflow.py b/strands_plugin/hello_world/run_workflow.py new file mode 100644 index 000000000..ae26a0ea6 --- /dev/null +++ b/strands_plugin/hello_world/run_workflow.py @@ -0,0 +1,27 @@ +"""Start the hello world workflow.""" + +# @@@SNIPSTART python-strands-hello-world-run-workflow +import asyncio +import os + +from temporalio.client import Client + +from strands_plugin.hello_world.workflow import HelloWorldWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + HelloWorldWorkflow.run, + "Write a haiku about durable execution.", + id="strands-hello-world", + task_queue="strands-hello-world", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/strands_plugin/hello_world/workflow.py b/strands_plugin/hello_world/workflow.py new file mode 100644 index 000000000..4ee98d9d0 --- /dev/null +++ b/strands_plugin/hello_world/workflow.py @@ -0,0 +1,21 @@ +"""Minimal Temporal + Strands workflow: one agent, one prompt.""" + +# @@@SNIPSTART python-strands-hello-world-workflow +from datetime import timedelta + +from temporalio import workflow +from temporalio.contrib.strands import TemporalAgent + + +@workflow.defn +class HelloWorldWorkflow: + def __init__(self) -> None: + self.agent = TemporalAgent(start_to_close_timeout=timedelta(seconds=60)) + + @workflow.run + async def run(self, prompt: str) -> str: + result = await self.agent.invoke_async(prompt) + return str(result) + + +# @@@SNIPEND diff --git a/strands_plugin/hooks/README.md b/strands_plugin/hooks/README.md new file mode 100644 index 000000000..dcdf44897 --- /dev/null +++ b/strands_plugin/hooks/README.md @@ -0,0 +1,34 @@ +# Hooks + +Strands' [hook system](https://strandsagents.com/) lets you subscribe callbacks to lifecycle events (`BeforeToolCallEvent`, `AfterToolCallEvent`, `BeforeModelCallEvent`, etc.). With the Temporal plugin, hook callbacks run in workflow context — so they must be deterministic — but you can dispatch I/O via `activity_as_hook`. + +This sample wires two callbacks to `AfterToolCallEvent`: + +1. An **in-workflow** callback that appends to per-workflow state. Pure data, deterministic across replay. +2. An **activity-backed** callback (`activity_as_hook(persist_tool_call, ...)`) that calls a Temporal activity for the actual audit write. The `activity_input=` selector pulls a serializable value out of the event. + +## What This Sample Demonstrates + +- Subscribing multiple callbacks to one hook event +- Mixing deterministic in-workflow callbacks with off-workflow activity callbacks +- The `activity_input=` selector for `activity_as_hook` + +## Running the Sample + +```bash +# Terminal 1 +uv run strands_plugin/hooks/run_worker.py + +# Terminal 2 +uv run strands_plugin/hooks/run_workflow.py +``` + +The Temporal UI will show one `invoke_model` activity per agent turn plus a `persist_tool_call` activity per tool call. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `echo` tool, `AuditHook` (in-workflow + activity-backed), `HooksWorkflow` | +| `run_worker.py` | Registers `StrandsPlugin` + `persist_tool_call`, starts worker | +| `run_workflow.py` | Executes the workflow and prints the list of fired events | diff --git a/strands_plugin/hooks/__init__.py b/strands_plugin/hooks/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/strands_plugin/hooks/run_worker.py b/strands_plugin/hooks/run_worker.py new file mode 100644 index 000000000..e03a1b9d1 --- /dev/null +++ b/strands_plugin/hooks/run_worker.py @@ -0,0 +1,31 @@ +"""Worker for the hooks sample.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.hooks.workflow import HooksWorkflow, persist_tool_call + + +async def main() -> None: + plugin = StrandsPlugin() + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="strands-hooks", + workflows=[HooksWorkflow], + activities=[persist_tool_call], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/hooks/run_workflow.py b/strands_plugin/hooks/run_workflow.py new file mode 100644 index 000000000..0959cf3ef --- /dev/null +++ b/strands_plugin/hooks/run_workflow.py @@ -0,0 +1,25 @@ +"""Start the hooks workflow.""" + +import asyncio +import os + +from temporalio.client import Client + +from strands_plugin.hooks.workflow import HooksWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + fired = await client.execute_workflow( + HooksWorkflow.run, + "Echo 'hello' once.", + id="strands-hooks", + task_queue="strands-hooks", + ) + + print(f"Tools that fired AfterToolCallEvent: {fired}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/hooks/workflow.py b/strands_plugin/hooks/workflow.py new file mode 100644 index 000000000..2535cc249 --- /dev/null +++ b/strands_plugin/hooks/workflow.py @@ -0,0 +1,73 @@ +"""Two-hook audit example. + +``AuditHook`` subscribes two callbacks to ``AfterToolCallEvent``: + +* An in-workflow callback that mutates per-workflow state. It runs in workflow + context, so it must be deterministic — pure data manipulation only. +* An ``activity_as_hook`` callback that dispatches to a Temporal activity. Use + this for anything with I/O: writing to an audit log, calling out to a + metrics system, alerting, etc. +""" + +from datetime import timedelta + +from strands import tool +from strands.hooks import HookProvider, HookRegistry +from strands.hooks.events import AfterToolCallEvent +from temporalio import activity, workflow +from temporalio.contrib.strands import TemporalAgent +from temporalio.contrib.strands.workflow import activity_as_hook + + +# @@@SNIPSTART python-strands-hooks-activity +@activity.defn +async def persist_tool_call(tool_name: str) -> None: + # In production, write to a database / S3 / your audit pipeline. + activity.logger.info(f"audit: tool {tool_name} completed") + + +# @@@SNIPEND + + +@tool +def echo(text: str) -> str: + return text + + +# @@@SNIPSTART python-strands-hooks-provider +class AuditHook(HookProvider): + def __init__(self) -> None: + self.fired: list[str] = [] + + def register_hooks(self, registry: HookRegistry, **kwargs: object) -> None: + registry.add_callback(AfterToolCallEvent, self._record) + registry.add_callback( + AfterToolCallEvent, + activity_as_hook( + persist_tool_call, + activity_input=lambda event: event.tool_use["name"], + start_to_close_timeout=timedelta(seconds=15), + ), + ) + + def _record(self, event: AfterToolCallEvent) -> None: + self.fired.append(event.tool_use["name"]) + + +# @@@SNIPEND + + +@workflow.defn +class HooksWorkflow: + def __init__(self) -> None: + self.hook = AuditHook() + self.agent = TemporalAgent( + start_to_close_timeout=timedelta(seconds=60), + tools=[echo], + hooks=[self.hook], + ) + + @workflow.run + async def run(self, prompt: str) -> list[str]: + await self.agent.invoke_async(prompt) + return self.hook.fired diff --git a/strands_plugin/human_in_the_loop/README.md b/strands_plugin/human_in_the_loop/README.md new file mode 100644 index 000000000..84d7ca76e --- /dev/null +++ b/strands_plugin/human_in_the_loop/README.md @@ -0,0 +1,29 @@ +# Human-in-the-loop (Hook-based) + +The canonical Strands HITL pattern. A `BeforeToolCallEvent` hook gates a sensitive tool behind human approval by calling `event.interrupt(...)`. The agent stops with `stop_reason == "interrupt"`; the workflow waits on a Temporal signal for the response, then resumes with `InterruptResponseContent`. + +## What This Sample Demonstrates + +- Using `HookProvider` + `BeforeToolCallEvent` to interrupt before a tool runs +- Pairing Strands' interrupt machinery with Temporal signals + queries +- Resuming the agent with `[{"interruptResponse": ...}]` content + +## Running the Sample + +```bash +# Terminal 1 +uv run strands_plugin/human_in_the_loop/run_worker.py + +# Terminal 2 +uv run strands_plugin/human_in_the_loop/run_workflow.py +``` + +The starter script queries the workflow until an approval is pending, prints the reason, then signals `"approve"`. To exercise the denial path, change the signal to anything other than `"approve"`. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `delete_file` tool, `ApprovalHook`, `HumanInTheLoopWorkflow` | +| `run_worker.py` | Registers `StrandsPlugin`, starts the worker | +| `run_workflow.py` | Starts the workflow, polls for the approval, sends the signal | diff --git a/strands_plugin/human_in_the_loop/__init__.py b/strands_plugin/human_in_the_loop/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/strands_plugin/human_in_the_loop/run_worker.py b/strands_plugin/human_in_the_loop/run_worker.py new file mode 100644 index 000000000..13f4ee3a5 --- /dev/null +++ b/strands_plugin/human_in_the_loop/run_worker.py @@ -0,0 +1,30 @@ +"""Worker for the hook-based HITL sample.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.human_in_the_loop.workflow import HumanInTheLoopWorkflow + + +async def main() -> None: + plugin = StrandsPlugin() + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="strands-human-in-the-loop", + workflows=[HumanInTheLoopWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/human_in_the_loop/run_workflow.py b/strands_plugin/human_in_the_loop/run_workflow.py new file mode 100644 index 000000000..b106d25c2 --- /dev/null +++ b/strands_plugin/human_in_the_loop/run_workflow.py @@ -0,0 +1,35 @@ +"""Start the hook-based HITL workflow and send an approval signal.""" + +import asyncio +import os + +from temporalio.client import Client + +from strands_plugin.human_in_the_loop.workflow import HumanInTheLoopWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + handle = await client.start_workflow( + HumanInTheLoopWorkflow.run, + "Please delete /tmp/sensitive.txt", + id="strands-human-in-the-loop", + task_queue="strands-human-in-the-loop", + ) + + # Poll until the agent reaches the approval interrupt. + reason = None + while reason is None: + await asyncio.sleep(0.5) + reason = await handle.query(HumanInTheLoopWorkflow.pending_approval) + print(f"Approval requested: {reason}") + + await handle.signal(HumanInTheLoopWorkflow.approve, "approve") + + result = await handle.result() + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/human_in_the_loop/workflow.py b/strands_plugin/human_in_the_loop/workflow.py new file mode 100644 index 000000000..edeec98b0 --- /dev/null +++ b/strands_plugin/human_in_the_loop/workflow.py @@ -0,0 +1,80 @@ +"""Hook-based human-in-the-loop: pause on ``BeforeToolCallEvent.interrupt()``. + +A hook gates the ``delete_file`` tool behind human approval. The agent stops +with ``stop_reason == "interrupt"``; the workflow waits for a signal carrying +the approval response, then resumes the agent with the response. +""" + +from datetime import timedelta + +from strands import tool +from strands.hooks import HookProvider, HookRegistry +from strands.hooks.events import BeforeToolCallEvent +from strands.types.interrupt import InterruptResponseContent +from temporalio import workflow +from temporalio.contrib.strands import TemporalAgent + + +@tool +def delete_file(path: str) -> str: + return f"deleted {path}" + + +# @@@SNIPSTART python-strands-human-in-the-loop-hook +class ApprovalHook(HookProvider): + def register_hooks(self, registry: HookRegistry, **kwargs: object) -> None: + registry.add_callback(BeforeToolCallEvent, self._gate) + + def _gate(self, event: BeforeToolCallEvent) -> None: + if event.tool_use["name"] != "delete_file": + return + approval = event.interrupt( + "approval", + reason=f"approve delete of {event.tool_use['input']['path']}?", + ) + if approval != "approve": + event.cancel_tool = "denied" + + +# @@@SNIPEND + + +# @@@SNIPSTART python-strands-human-in-the-loop-workflow +@workflow.defn +class HumanInTheLoopWorkflow: + def __init__(self) -> None: + self.agent = TemporalAgent( + start_to_close_timeout=timedelta(seconds=60), + tools=[delete_file], + hooks=[ApprovalHook()], + ) + self._approval: str | None = None + self._pending_reason: str | None = None + + @workflow.signal + def approve(self, response: str) -> None: + self._approval = response + + @workflow.query + def pending_approval(self) -> str | None: + return self._pending_reason + + @workflow.run + async def run(self, prompt: str) -> str: + result = await self.agent.invoke_async(prompt) + while result.stop_reason == "interrupt": + interrupts = list(result.interrupts or []) + self._pending_reason = interrupts[0].reason if interrupts else None + await workflow.wait_condition(lambda: self._approval is not None) + response = self._approval + self._approval = None + self._pending_reason = None + responses: list[InterruptResponseContent] = [ + {"interruptResponse": {"interruptId": i.id, "response": response}} + for i in interrupts + ] + result = await self.agent.invoke_async(responses) + return str(result) + + +# @@@SNIPEND diff --git a/strands_plugin/mcp/README.md b/strands_plugin/mcp/README.md new file mode 100644 index 000000000..a8328536a --- /dev/null +++ b/strands_plugin/mcp/README.md @@ -0,0 +1,32 @@ +# MCP + +Connect a Strands agent to an [MCP](https://modelcontextprotocol.io/) server through `TemporalMCPClient`. The plugin opens the MCP session at worker startup, enumerates tools, and dispatches each tool call through a dedicated `-call-tool` Temporal activity. + +The included `echo_mcp_server.py` is a one-tool FastMCP server (returns the message it was given). Swap it for any real MCP server (filesystem, Postgres, GitHub, etc.) by changing the factory in `run_worker.py`. + +## What This Sample Demonstrates + +- Registering an MCP server with `StrandsPlugin(mcp_clients=...)` +- Referencing it from a workflow via `TemporalMCPClient(server="...")` +- Running MCP tool calls as durable Temporal activities + +## Running the Sample + +```bash +# Terminal 1 +uv run strands_plugin/mcp/run_worker.py + +# Terminal 2 +uv run strands_plugin/mcp/run_workflow.py +``` + +The worker spawns `echo_mcp_server.py` itself; you don't need to start it separately. The Temporal UI will show one `invoke_model` per agent turn plus `echo-call-tool` activities for each MCP tool invocation. + +## Files + +| File | Description | +|------|-------------| +| `echo_mcp_server.py` | FastMCP server exposing a single `echo` tool | +| `workflow.py` | `MCPWorkflow` with `TemporalMCPClient(server="echo")` | +| `run_worker.py` | Spawns the MCP server and starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/strands_plugin/mcp/__init__.py b/strands_plugin/mcp/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/strands_plugin/mcp/echo_mcp_server.py b/strands_plugin/mcp/echo_mcp_server.py new file mode 100644 index 000000000..4f3d35319 --- /dev/null +++ b/strands_plugin/mcp/echo_mcp_server.py @@ -0,0 +1,19 @@ +"""Tiny FastMCP server: exposes a single ``echo`` tool over stdio. + +The worker launches this script as a subprocess and connects to it via the +MCP stdio transport. Replace it with any real MCP server in production. +""" + +from mcp.server.fastmcp import FastMCP + +mcp = FastMCP("echo-server") + + +@mcp.tool() +def echo(message: str) -> str: + """Return the input message unchanged.""" + return message + + +if __name__ == "__main__": + mcp.run() diff --git a/strands_plugin/mcp/run_worker.py b/strands_plugin/mcp/run_worker.py new file mode 100644 index 000000000..772870e87 --- /dev/null +++ b/strands_plugin/mcp/run_worker.py @@ -0,0 +1,54 @@ +"""Worker for the MCP sample. + +The worker launches the ``echo_mcp_server.py`` script as a subprocess at +startup. The plugin opens a stdio MCP session, enumerates tools once, and +caches the schema for the worker's lifetime. +""" + +# @@@SNIPSTART python-strands-mcp-worker +import asyncio +import os +import sys +from pathlib import Path + +from mcp import StdioServerParameters, stdio_client +from strands.tools.mcp.mcp_client import MCPClient +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.mcp.workflow import MCPWorkflow + +ECHO_SERVER = Path(__file__).parent / "echo_mcp_server.py" + + +def _make_echo_client() -> MCPClient: + return MCPClient( + lambda: stdio_client( + StdioServerParameters( + command=sys.executable, + args=[str(ECHO_SERVER)], + ) + ) + ) + + +async def main() -> None: + plugin = StrandsPlugin(mcp_clients={"echo": _make_echo_client}) + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="strands-mcp", + workflows=[MCPWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/strands_plugin/mcp/run_workflow.py b/strands_plugin/mcp/run_workflow.py new file mode 100644 index 000000000..7b9a6765a --- /dev/null +++ b/strands_plugin/mcp/run_workflow.py @@ -0,0 +1,25 @@ +"""Start the MCP workflow.""" + +import asyncio +import os + +from temporalio.client import Client + +from strands_plugin.mcp.workflow import MCPWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + MCPWorkflow.run, + "Use the echo tool to echo the message 'hello from MCP'.", + id="strands-mcp", + task_queue="strands-mcp", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/mcp/workflow.py b/strands_plugin/mcp/workflow.py new file mode 100644 index 000000000..d83689c6a --- /dev/null +++ b/strands_plugin/mcp/workflow.py @@ -0,0 +1,34 @@ +"""Workflow that uses an MCP server through ``TemporalMCPClient``. + +The plugin connects to each registered MCP server at worker startup and +caches the tool manifest. ``TemporalMCPClient`` on the workflow side is a +pure handle that references the server by name and carries the activity +options for each tool call. +""" + +# @@@SNIPSTART python-strands-mcp-workflow +from datetime import timedelta + +from temporalio import workflow +from temporalio.contrib.strands import TemporalAgent, TemporalMCPClient + + +@workflow.defn +class MCPWorkflow: + def __init__(self) -> None: + echo = TemporalMCPClient( + server="echo", + start_to_close_timeout=timedelta(seconds=30), + ) + self.agent = TemporalAgent( + start_to_close_timeout=timedelta(seconds=60), + tools=[echo], + ) + + @workflow.run + async def run(self, prompt: str) -> str: + result = await self.agent.invoke_async(prompt) + return str(result) + + +# @@@SNIPEND diff --git a/strands_plugin/streaming/README.md b/strands_plugin/streaming/README.md new file mode 100644 index 000000000..598dde942 --- /dev/null +++ b/strands_plugin/streaming/README.md @@ -0,0 +1,29 @@ +# Streaming + +Strands' model stream produces a sequence of `StreamEvent`s (token deltas, tool-use chunks, message-stop, etc.). With `TemporalAgent(streaming_topic="events")`, the model activity publishes each chunk onto a workflow-hosted `WorkflowStream`; external subscribers read it via `WorkflowStreamClient`. Chunks are batched on `streaming_batch_interval` (default 100ms) to keep activity overhead low. + +## What This Sample Demonstrates + +- Hosting a `WorkflowStream` on a workflow +- `TemporalAgent(streaming_topic=...)` publishing model events +- An external subscriber reading `StreamEvent`s in real time via `WorkflowStreamClient` + +## Running the Sample + +```bash +# Terminal 1 +uv run strands_plugin/streaming/run_worker.py + +# Terminal 2 +uv run strands_plugin/streaming/run_workflow.py +``` + +The starter prints text deltas as they arrive, then the final workflow result. + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `StreamingWorkflow` hosting `WorkflowStream` + `TemporalAgent(streaming_topic="events")` | +| `run_worker.py` | Registers `StrandsPlugin`, starts the worker | +| `run_workflow.py` | Starts the workflow and subscribes to the `events` topic | diff --git a/strands_plugin/streaming/__init__.py b/strands_plugin/streaming/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/strands_plugin/streaming/run_worker.py b/strands_plugin/streaming/run_worker.py new file mode 100644 index 000000000..d009de1e4 --- /dev/null +++ b/strands_plugin/streaming/run_worker.py @@ -0,0 +1,30 @@ +"""Worker for the streaming sample.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.streaming.workflow import StreamingWorkflow + + +async def main() -> None: + plugin = StrandsPlugin() + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="strands-streaming", + workflows=[StreamingWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/streaming/run_workflow.py b/strands_plugin/streaming/run_workflow.py new file mode 100644 index 000000000..9a78b464f --- /dev/null +++ b/strands_plugin/streaming/run_workflow.py @@ -0,0 +1,51 @@ +"""Start the streaming workflow and consume model events live.""" + +# @@@SNIPSTART python-strands-streaming-client +import asyncio +import os +from datetime import timedelta + +from strands.types.streaming import StreamEvent +from temporalio.client import Client +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from strands_plugin.streaming.workflow import StreamingWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + workflow_id = "strands-streaming" + + handle = await client.start_workflow( + StreamingWorkflow.run, + "Count from 1 to 5, one number per sentence.", + id=workflow_id, + task_queue="strands-streaming", + ) + + async def consume() -> None: + stream = WorkflowStreamClient.create(client, workflow_id) + async for item in stream.subscribe( + ["events"], + from_offset=0, + result_type=StreamEvent, + poll_cooldown=timedelta(milliseconds=50), + ): + event: StreamEvent = item.data + if "contentBlockDelta" in event: + delta = event["contentBlockDelta"].get("delta", {}) + if "text" in delta: + print(delta["text"], end="", flush=True) + elif "messageStop" in event: + print() + return + + consume_task = asyncio.create_task(consume()) + result = await handle.result() + await asyncio.wait_for(consume_task, timeout=10.0) + print(f"Final result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/strands_plugin/streaming/workflow.py b/strands_plugin/streaming/workflow.py new file mode 100644 index 000000000..416f6e6e2 --- /dev/null +++ b/strands_plugin/streaming/workflow.py @@ -0,0 +1,32 @@ +"""Workflow that streams model chunks to an external subscriber. + +``TemporalAgent(streaming_topic="events")`` publishes each ``StreamEvent`` from +inside the model activity onto a workflow-hosted ``WorkflowStream``. +Subscribers connect via ``WorkflowStreamClient`` and read the topic in real +time. Chunks are batched on the ``streaming_batch_interval`` (default 100ms). +""" + +# @@@SNIPSTART python-strands-streaming-workflow +from datetime import timedelta + +from temporalio import workflow +from temporalio.contrib.strands import TemporalAgent +from temporalio.contrib.workflow_streams import WorkflowStream + + +@workflow.defn +class StreamingWorkflow: + def __init__(self) -> None: + self.stream = WorkflowStream() + self.agent = TemporalAgent( + start_to_close_timeout=timedelta(seconds=60), + streaming_topic="events", + ) + + @workflow.run + async def run(self, prompt: str) -> str: + result = await self.agent.invoke_async(prompt) + return str(result) + + +# @@@SNIPEND diff --git a/strands_plugin/structured_output/README.md b/strands_plugin/structured_output/README.md new file mode 100644 index 000000000..e913f187a --- /dev/null +++ b/strands_plugin/structured_output/README.md @@ -0,0 +1,27 @@ +# Structured Output + +`TemporalAgent` accepts a `structured_output_model=` Pydantic class and returns the agent's response coerced into that model. The plugin installs Temporal's `pydantic_data_converter` by default, so the typed value serializes cleanly across the activity and workflow boundary. + +## What This Sample Demonstrates + +- `TemporalAgent(structured_output_model=PersonInfo, ...)` +- Pulling `result.structured_output` out of the agent result +- The plugin's auto-configured pydantic data converter — no extra setup needed to ship Pydantic types in workflow inputs/outputs + +## Running the Sample + +```bash +# Terminal 1 +uv run strands_plugin/structured_output/run_worker.py + +# Terminal 2 +uv run strands_plugin/structured_output/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | `PersonInfo` model and `StructuredOutputWorkflow` | +| `run_worker.py` | Registers `StrandsPlugin`, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the typed result | diff --git a/strands_plugin/structured_output/__init__.py b/strands_plugin/structured_output/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/strands_plugin/structured_output/run_worker.py b/strands_plugin/structured_output/run_worker.py new file mode 100644 index 000000000..032526f5d --- /dev/null +++ b/strands_plugin/structured_output/run_worker.py @@ -0,0 +1,30 @@ +"""Worker for the structured output sample.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.structured_output.workflow import StructuredOutputWorkflow + + +async def main() -> None: + plugin = StrandsPlugin() + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="strands-structured-output", + workflows=[StructuredOutputWorkflow], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/structured_output/run_workflow.py b/strands_plugin/structured_output/run_workflow.py new file mode 100644 index 000000000..9116ae6a9 --- /dev/null +++ b/strands_plugin/structured_output/run_workflow.py @@ -0,0 +1,30 @@ +"""Start the structured output workflow.""" + +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin + +from strands_plugin.structured_output.workflow import StructuredOutputWorkflow + + +async def main() -> None: + # Plugin on the client so the pydantic data converter is installed. + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[StrandsPlugin()], + ) + + person = await client.execute_workflow( + StructuredOutputWorkflow.run, + "John Smith is a 30 year-old software engineer.", + id="strands-structured-output", + task_queue="strands-structured-output", + ) + + print(f"name={person.name} age={person.age} occupation={person.occupation}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/structured_output/workflow.py b/strands_plugin/structured_output/workflow.py new file mode 100644 index 000000000..3ee6a7a60 --- /dev/null +++ b/strands_plugin/structured_output/workflow.py @@ -0,0 +1,38 @@ +"""Structured output: agent returns a typed Pydantic model. + +``TemporalAgent(structured_output_model=PersonInfo)`` makes Strands coerce the +model's final response into an instance of ``PersonInfo``. The plugin installs +``pydantic_data_converter`` by default, so the typed value flows back across +the activity/workflow boundary without extra wiring. +""" + +# @@@SNIPSTART python-strands-structured-output-workflow +from datetime import timedelta + +from pydantic import BaseModel, Field +from temporalio import workflow +from temporalio.contrib.strands import TemporalAgent + + +class PersonInfo(BaseModel): + name: str = Field(description="Name of the person") + age: int = Field(description="Age of the person") + occupation: str = Field(description="Occupation of the person") + + +@workflow.defn +class StructuredOutputWorkflow: + def __init__(self) -> None: + self.agent = TemporalAgent( + start_to_close_timeout=timedelta(seconds=60), + structured_output_model=PersonInfo, + ) + + @workflow.run + async def run(self, prompt: str) -> PersonInfo: + result = await self.agent.invoke_async(prompt) + assert isinstance(result.structured_output, PersonInfo) + return result.structured_output + + +# @@@SNIPEND diff --git a/strands_plugin/tools/README.md b/strands_plugin/tools/README.md new file mode 100644 index 000000000..13fc32d84 --- /dev/null +++ b/strands_plugin/tools/README.md @@ -0,0 +1,35 @@ +# Tools + +Three Strands tool patterns wired into one `TemporalAgent`: + +| Pattern | When to use it | +|---------|----------------| +| `@tool` from `strands` | Pure, deterministic logic with no I/O. Runs in workflow context. | +| `@activity.defn` wrapped via `activity_as_tool` | Anything with I/O, non-determinism, or significant runtime — gets durable retries and timeouts. | +| `strands_tools.` wrapped in an `@activity.defn` | Reuse Strands ecosystem tools (`environment`, `http_request`, `python_repl`, …) while keeping workflow code deterministic. | + +A single prompt exercises all three. The resulting Temporal history shows an `invoke_model` for each model turn, plus `fetch_weather` and `environment` activity calls; the `letter_counter` call runs in-workflow and doesn't show up as an activity. + +## What This Sample Demonstrates + +- Three coexisting tool surfaces on one agent +- `activity_as_tool` (from `temporalio.contrib.strands.workflow`) carrying per-tool activity options (timeouts) +- Wrapping `strands_tools` tools so runtime host access happens in an activity + +## Running the Sample + +```bash +# Terminal 1 +uv run strands_plugin/tools/run_worker.py + +# Terminal 2 +uv run strands_plugin/tools/run_workflow.py +``` + +## Files + +| File | Description | +|------|-------------| +| `workflow.py` | The three tools, the `TemporalAgent`, and `ToolsWorkflow` | +| `run_worker.py` | Registers `StrandsPlugin` + the two activities, starts the worker | +| `run_workflow.py` | Executes the workflow and prints the result | diff --git a/strands_plugin/tools/__init__.py b/strands_plugin/tools/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/strands_plugin/tools/run_worker.py b/strands_plugin/tools/run_worker.py new file mode 100644 index 000000000..bffa83e31 --- /dev/null +++ b/strands_plugin/tools/run_worker.py @@ -0,0 +1,37 @@ +"""Worker for the tools sample.""" + +# @@@SNIPSTART python-strands-tools-worker +import asyncio +import os + +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.tools.workflow import ( + ToolsWorkflow, + environment_activity, + fetch_weather, +) + + +async def main() -> None: + plugin = StrandsPlugin() + client = await Client.connect( + os.environ.get("TEMPORAL_ADDRESS", "localhost:7233"), + plugins=[plugin], + ) + + worker = Worker( + client, + task_queue="strands-tools", + workflows=[ToolsWorkflow], + activities=[fetch_weather, environment_activity], + ) + print("Worker started. Ctrl+C to exit.") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) +# @@@SNIPEND diff --git a/strands_plugin/tools/run_workflow.py b/strands_plugin/tools/run_workflow.py new file mode 100644 index 000000000..04256c737 --- /dev/null +++ b/strands_plugin/tools/run_workflow.py @@ -0,0 +1,30 @@ +"""Start the tools workflow.""" + +import asyncio +import os + +from temporalio.client import Client + +from strands_plugin.tools.workflow import ToolsWorkflow + + +async def main() -> None: + client = await Client.connect(os.environ.get("TEMPORAL_ADDRESS", "localhost:7233")) + + result = await client.execute_workflow( + ToolsWorkflow.run, + ( + "Please do three things:\n" + "1. Count the letter R's in 'strawberry'.\n" + "2. Fetch the weather in San Francisco.\n" + "3. Validate that the PATH environment variable exists." + ), + id="strands-tools", + task_queue="strands-tools", + ) + + print(f"Result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/strands_plugin/tools/workflow.py b/strands_plugin/tools/workflow.py new file mode 100644 index 000000000..34aecd3cb --- /dev/null +++ b/strands_plugin/tools/workflow.py @@ -0,0 +1,101 @@ +"""Three tool patterns wired into one Strands agent. + +1. ``@tool letter_counter`` — pure Strands tool, runs deterministically in + workflow context. +2. ``@activity.defn fetch_weather`` — custom Temporal activity wrapped with + ``activity_as_tool``; suitable for I/O and non-deterministic work. +3. ``environment`` (from ``strands_tools``) — third-party Strands tool wrapped + in a thin ``@activity.defn`` so its runtime host access runs in an activity. +""" + +from datetime import timedelta +from typing import Any, cast + +from strands import tool +from strands.types.tools import ToolUse +from strands_tools import environment # type: ignore[import-untyped] +from temporalio import activity, workflow +from temporalio.contrib.strands import TemporalAgent +from temporalio.contrib.strands.workflow import activity_as_tool + + +@tool +def letter_counter(word: str, letter: str) -> int: + """Count how many times ``letter`` appears in ``word`` (case-insensitive).""" + return word.lower().count(letter.lower()) + + +# @@@SNIPSTART python-strands-tools-activity +@activity.defn +async def fetch_weather(city: str) -> dict: + """Stub weather lookup — replace with a real HTTP call in production.""" + return { + "city": city, + "temperature_f": 72, + "conditions": "sunny", + } + + +# @@@SNIPEND + + +@activity.defn(name="environment") +async def environment_activity( + action: str, + name: str | None = None, + value: str | None = None, + prefix: str | None = None, + masked: bool | None = None, +) -> dict: + """Run ``strands_tools.environment`` inside an activity. + + Environment variables are runtime host state. Wrapping this tool in an + activity keeps that non-deterministic access out of workflow replay. + """ + tool_input: dict[str, Any] = {"action": action} + if name is not None: + tool_input["name"] = name + if value is not None: + tool_input["value"] = value + if prefix is not None: + tool_input["prefix"] = prefix + if masked is not None: + tool_input["masked"] = masked + + tool_use = cast( + ToolUse, + { + "toolUseId": "environment", + "name": "environment", + "input": tool_input, + }, + ) + return environment.environment(tool_use) + + +# @@@SNIPSTART python-strands-tools-workflow +@workflow.defn +class ToolsWorkflow: + def __init__(self) -> None: + self.agent = TemporalAgent( + start_to_close_timeout=timedelta(seconds=60), + tools=[ + letter_counter, + activity_as_tool( + fetch_weather, + start_to_close_timeout=timedelta(seconds=30), + ), + activity_as_tool( + environment_activity, + start_to_close_timeout=timedelta(seconds=30), + ), + ], + ) + + @workflow.run + async def run(self, prompt: str) -> str: + result = await self.agent.invoke_async(prompt) + return str(result) + + +# @@@SNIPEND diff --git a/tests/conftest.py b/tests/conftest.py index 95294fb43..b857e0d96 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -41,7 +41,9 @@ def event_loop(): async def env(request) -> AsyncGenerator[WorkflowEnvironment, None]: env_type = request.config.getoption("--workflow-environment") if env_type == "local": - env = await WorkflowEnvironment.start_local() + env = await WorkflowEnvironment.start_local( + dev_server_download_version="v1.7.4-standalone-nexus-operations", + ) elif env_type == "time-skipping": env = await WorkflowEnvironment.start_time_skipping() else: diff --git a/tests/context_propagation/__init__.py b/tests/context_propagation/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/context_propagation/workflow_test.py b/tests/context_propagation/workflow_test.py new file mode 100644 index 000000000..8de2120d1 --- /dev/null +++ b/tests/context_propagation/workflow_test.py @@ -0,0 +1,46 @@ +import uuid + +from temporalio import activity +from temporalio.client import Client +from temporalio.exceptions import ApplicationError +from temporalio.worker import Worker + +from context_propagation.interceptor import ContextPropagationInterceptor +from context_propagation.shared import user_id +from context_propagation.workflows import SayHelloWorkflow + + +async def test_workflow_with_context_propagator(client: Client): + # Mock out the activity to assert the context value + @activity.defn(name="say_hello_activity") + async def say_hello_activity_mock(name: str) -> str: + try: + assert user_id.get() == "test-user" + except Exception as err: + raise ApplicationError("Assertion fail", non_retryable=True) from err + return f"Mock for {name}" + + # Replace interceptors in client + new_config = client.config() + new_config["interceptors"] = [ContextPropagationInterceptor()] + client = Client(**new_config) + task_queue = f"tq-{uuid.uuid4()}" + + async with Worker( + client, + task_queue=task_queue, + activities=[say_hello_activity_mock], + workflows=[SayHelloWorkflow], + ): + # Set the user during start/signal, but unset after + token = user_id.set("test-user") + handle = await client.start_workflow( + SayHelloWorkflow.run, + "some-name", + id=f"wf-{uuid.uuid4()}", + task_queue=task_queue, + ) + await handle.signal(SayHelloWorkflow.signal_complete) + user_id.reset(token) + result = await handle.result() + assert result == "Mock for some-name" diff --git a/tests/custom_metric/__init__.py b/tests/custom_metric/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/custom_metric/workflow_test.py b/tests/custom_metric/workflow_test.py new file mode 100644 index 000000000..bac5c07fd --- /dev/null +++ b/tests/custom_metric/workflow_test.py @@ -0,0 +1,34 @@ +import uuid +from concurrent.futures import ThreadPoolExecutor + +from temporalio import activity +from temporalio.client import Client +from temporalio.worker import Worker + +from custom_metric.worker import StartTwoActivitiesWorkflow + +_TASK_QUEUE = "custom-metric-task-queue" + +activity_counter = 0 + + +async def test_custom_metric_workflow(client: Client): + @activity.defn(name="print_and_sleep") + async def print_message_mock(): + global activity_counter + activity_counter += 1 + + async with Worker( + client, + task_queue=_TASK_QUEUE, + workflows=[StartTwoActivitiesWorkflow], + activities=[print_message_mock], + activity_executor=ThreadPoolExecutor(5), + ): + result = await client.execute_workflow( + StartTwoActivitiesWorkflow.run, + id=str(uuid.uuid4()), + task_queue=_TASK_QUEUE, + ) + assert result is None + assert activity_counter == 2 diff --git a/tests/deepagents_plugin/__init__.py b/tests/deepagents_plugin/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/deepagents_plugin/conftest.py b/tests/deepagents_plugin/conftest.py new file mode 100644 index 000000000..a40e6d163 --- /dev/null +++ b/tests/deepagents_plugin/conftest.py @@ -0,0 +1,54 @@ +"""Collection guard for the Deep Agents plugin tests. + +The plugin ships as the `temporalio[deepagents]` extra and requires +Python >= 3.11. It is merged to sdk-python main but the current PyPI +release (1.31.0) predates the merge, so the `deepagents` dependency group +cannot install it yet and the canonical `poe test` run +(`uv run --all-groups pytest`) does not have it. These test modules import +`temporalio.contrib.deepagents` at module load, which would raise +`ImportError` during collection whenever the plugin is absent (any +interpreter) or the interpreter is < 3.11 — failing the whole session. + +A module-level `pytest.mark.skipif` cannot help here: the mark is only read +*after* the module is imported, so the import error fires first. `collect_ignore` +is evaluated before any test module is imported, so it skips these files +cleanly when the plugin is unavailable while still running them once it is +installed on 3.11+ (interim: from sdk-python main per the suite README; +after the release that ships the extra: via the `deepagents` group, at which +point this guard becomes a no-op and the suite runs in CI). + +The guard performs a real (guarded) import rather than `find_spec`: the +subpackage can exist on disk while its runtime deps do not — e.g. a +plugin-carrying `temporalio` build installed without its extra deps — and +only an actual import proves the test modules can load. The version check +runs first so the import is never attempted on interpreters the plugin does +not support. When the guard is active, `pytest_report_header` announces it +so the non-collection is visible in CI output rather than silent. +""" + +import sys + +collect_ignore_glob: list[str] = [] + +_plugin_available = False +if sys.version_info >= (3, 11): + try: + import temporalio.contrib.deepagents # noqa: F401 + + _plugin_available = True + except ImportError: + _plugin_available = False + +if not _plugin_available: + collect_ignore_glob = ["*_test.py"] + + +def pytest_report_header(config) -> str | None: + """Make the guard visible in the pytest header instead of silent.""" + if collect_ignore_glob: + return ( + "deepagents_plugin: temporalio.contrib.deepagents not importable " + "on this interpreter/environment; sample tests NOT collected " + "(see tests/deepagents_plugin/conftest.py)" + ) + return None diff --git a/tests/deepagents_plugin/continue_as_new_test.py b/tests/deepagents_plugin/continue_as_new_test.py new file mode 100644 index 000000000..0a2420d44 --- /dev/null +++ b/tests/deepagents_plugin/continue_as_new_test.py @@ -0,0 +1,116 @@ +import uuid +from typing import Any + +from temporalio import workflow +from temporalio.client import Client, WorkflowExecutionStatus +from temporalio.contrib.deepagents import DeepAgentsPlugin, run_deep_agent +from temporalio.contrib.deepagents.testing import mock_model_provider +from temporalio.worker import Worker + +from deepagents_plugin.continue_as_new.workflow import LongResearchAgent + + +async def test_continue_as_new(client: Client) -> None: + # The sample defers to the server-suggested mode, which a short scripted + # run never triggers, so this exercises the run_deep_agent contract on the + # real sample workflow without a continue-as-new. The first arg is the + # messages mapping (the run_deep_agent contract), not a bare string. + plugin = DeepAgentsPlugin( + model_provider=mock_model_provider(["The research is complete: done."]), + ) + task_queue = f"deepagents-continue-as-new-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[LongResearchAgent], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + LongResearchAgent.run, + {"messages": [{"role": "user", "content": "Summarize durable execution."}]}, + id=f"deepagents-continue-as-new-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert "complete" in result + + +class _ScriptedAgent: + """A stand-in compiled agent that appends one message per turn and keeps a + todo pending until the conversation grows, forcing continue-as-new. + + It is not a LangChain object — it just satisfies the ``ainvoke`` shape that + ``run_deep_agent`` drives, so the continue-as-new path is exercised without a + model provider or the LangChain import tree. + """ + + async def ainvoke(self, input: Any) -> dict: + messages = list(input.get("messages", [])) if isinstance(input, dict) else [] + messages = [*messages, "step"] + done = len(messages) >= 3 + return { + "messages": messages, + "todos": [ + {"content": "research", "status": "completed" if done else "pending"} + ], + } + + +@workflow.defn +class _ContinueAsNewProbe: + @workflow.run + async def run(self, input: dict, state_snapshot: dict | None = None) -> dict: + # Threshold of 1 continues-as-new as soon as there is pending work. + # ``input`` is threaded straight through, exactly as LongResearchAgent + # does — re-wrapping it would nest a dict where a message is expected and + # corrupt the carried conversation. + return await run_deep_agent( + _ScriptedAgent(), + input, + continue_as_new_after=1, + state_snapshot=state_snapshot, + ) + + +async def test_continue_as_new_carries_conversation(client: Client) -> None: + # Low threshold + persistent pending work actually triggers + # workflow.continue_as_new, so this guards the scenario's headline feature: + # the carried conversation must survive the boundary well-formed. + plugin = DeepAgentsPlugin() + task_queue = f"deepagents-continue-as-new-probe-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[_ContinueAsNewProbe], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + _ContinueAsNewProbe.run, + {"messages": ["start"]}, + id=f"deepagents-continue-as-new-probe-{uuid.uuid4()}", + task_queue=task_queue, + ) + result = await handle.result() + + # Reaching >= 3 messages is only possible if each pre-continue-as-new + # snapshot was carried into the continued run and merged. Every carried + # message stays a plain string — no nested-dict corruption from re-wrapping + # the input across the boundary. + assert len(result["messages"]) >= 3, result + assert all(isinstance(m, str) for m in result["messages"]), result + assert result["todos"][0]["status"] == "completed" + # The boundary really happened: a loop-in-one-run implementation would + # produce the same final result, so pin the FIRST run's close event. + first = client.get_workflow_handle(handle.id, run_id=handle.first_execution_run_id) + desc = await first.describe() + assert desc.status == WorkflowExecutionStatus.CONTINUED_AS_NEW, desc.status diff --git a/tests/deepagents_plugin/filesystem_backend_test.py b/tests/deepagents_plugin/filesystem_backend_test.py new file mode 100644 index 000000000..f7e8712de --- /dev/null +++ b/tests/deepagents_plugin/filesystem_backend_test.py @@ -0,0 +1,68 @@ +import uuid + +from langchain_core.messages import AIMessage +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.contrib.deepagents.testing import mock_model_provider +from temporalio.worker import Worker + +from deepagents_plugin.filesystem_backend.workflow import FilesystemAgent +from tests.deepagents_plugin.helpers import BACKEND_OP, count_scheduled_activities + + +async def test_filesystem_backend(client: Client, tmp_path) -> None: + # Script the agent's built-in file tools: write the note, read it back, then + # report. Each file op crosses the activity boundary via TemporalBackend, so + # the real disk write happens in an activity, not in workflow code. + write_turn = AIMessage( + content="", + tool_calls=[ + { + "name": "write_file", + "args": {"file_path": "/notes.txt", "content": "hello"}, + "id": "call-write", + } + ], + ) + read_turn = AIMessage( + content="", + tool_calls=[ + { + "name": "read_file", + "args": {"file_path": "/notes.txt"}, + "id": "call-read", + } + ], + ) + final = AIMessage(content="The note says: hello") + plugin = DeepAgentsPlugin( + model_provider=mock_model_provider([write_turn, read_turn, final]), + ) + task_queue = f"deepagents-filesystem-backend-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[FilesystemAgent], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + FilesystemAgent.run, + args=[str(tmp_path), "Write 'hello' to notes.txt and read it back."], + id=f"deepagents-filesystem-backend-{uuid.uuid4()}", + task_queue=task_queue, + ) + result = await handle.result() + + assert "hello" in result + # The write really landed on disk... + assert (tmp_path / "notes.txt").read_text() == "hello" + # ...and the file ops really crossed the activity boundary (write + read as + # backend_op activities) — the on-disk assert alone cannot distinguish an + # in-workflow write in this single-process test. + counts = await count_scheduled_activities(handle) + assert counts[BACKEND_OP] >= 2, counts diff --git a/tests/deepagents_plugin/hello_world_test.py b/tests/deepagents_plugin/hello_world_test.py new file mode 100644 index 000000000..4c6c46a0a --- /dev/null +++ b/tests/deepagents_plugin/hello_world_test.py @@ -0,0 +1,44 @@ +import uuid + +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.contrib.deepagents.testing import mock_model_provider +from temporalio.worker import Worker + +from deepagents_plugin.hello_world.workflow import HelloWorldAgent +from tests.deepagents_plugin.helpers import INVOKE_MODEL, count_scheduled_activities + + +async def test_hello_world(client: Client) -> None: + # A scripted model so the test runs offline (no ANTHROPIC_API_KEY needed). + plugin = DeepAgentsPlugin( + model_provider=mock_model_provider( + ["Temporal is a durable execution platform."] + ), + ) + task_queue = f"deepagents-hello-world-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HelloWorldAgent], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + HelloWorldAgent.run, + "What is Temporal?", + id=f"deepagents-hello-world-{uuid.uuid4()}", + task_queue=task_queue, + ) + result = await handle.result() + + assert "durable" in result + # The model call really ran as a `deepagents.invoke_model` activity — the + # durability the plugin exists to provide, which a content-only assertion + # cannot distinguish from an in-workflow call. + counts = await count_scheduled_activities(handle) + assert counts[INVOKE_MODEL] >= 1, counts diff --git a/tests/deepagents_plugin/helpers.py b/tests/deepagents_plugin/helpers.py new file mode 100644 index 000000000..7d2f8e4ae --- /dev/null +++ b/tests/deepagents_plugin/helpers.py @@ -0,0 +1,27 @@ +"""Shared helpers for the Deep Agents plugin sample tests.""" + +from collections import Counter + +from temporalio.api.enums.v1 import EventType +from temporalio.client import WorkflowHandle + +INVOKE_MODEL = "deepagents.invoke_model" +INVOKE_MODEL_STREAMING = "deepagents.invoke_model_streaming" +INVOKE_TOOL = "deepagents.invoke_tool" +BACKEND_OP = "deepagents.backend_op" + + +async def count_scheduled_activities(handle: WorkflowHandle) -> Counter: + """Count ``ActivityTaskScheduled`` events in the history by activity type. + + The plugin's whole point is that model/tool/backend calls run as activities; + asserting on the history proves that routing actually happened, where a + content-only assertion would still pass if a call silently ran in-workflow. + """ + counts: Counter = Counter() + async for event in handle.fetch_history_events(): + if event.event_type == EventType.EVENT_TYPE_ACTIVITY_TASK_SCHEDULED: + counts[ + event.activity_task_scheduled_event_attributes.activity_type.name + ] += 1 + return counts diff --git a/tests/deepagents_plugin/human_in_the_loop_test.py b/tests/deepagents_plugin/human_in_the_loop_test.py new file mode 100644 index 000000000..bf137d359 --- /dev/null +++ b/tests/deepagents_plugin/human_in_the_loop_test.py @@ -0,0 +1,144 @@ +import asyncio +import uuid + +import pytest +from langchain_core.messages import AIMessage +from temporalio.client import Client, WorkflowUpdateFailedError +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.contrib.deepagents.testing import mock_model_provider +from temporalio.worker import Worker + +from deepagents_plugin.human_in_the_loop.workflow import HumanInTheLoopAgent +from tests.deepagents_plugin.helpers import INVOKE_TOOL, count_scheduled_activities + + +async def test_human_in_the_loop_approve(client: Client) -> None: + # First model turn asks to book the trip (the guarded tool → interrupt); + # after the human approves, the second turn reports the booking. + ask = AIMessage( + content="", + tool_calls=[{"name": "book_trip", "args": {"city": "Rome"}, "id": "c1"}], + ) + done = AIMessage(content="Booked a trip to Rome.") + plugin = DeepAgentsPlugin(model_provider=mock_model_provider([ask, done])) + task_queue = f"deepagents-human-in-the-loop-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HumanInTheLoopAgent], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + HumanInTheLoopAgent.run, + "Rome", + id=f"deepagents-human-in-the-loop-{uuid.uuid4()}", + task_queue=task_queue, + ) + + # Wait for the agent to pause (surfaced via the query), then approve via + # an update. Bounded poll so a regression fails fast. + for _ in range(100): + if await handle.query(HumanInTheLoopAgent.pending_approval) is not None: + break + await asyncio.sleep(0.1) + else: + raise AssertionError("workflow never surfaced the pending approval") + + await handle.execute_update(HumanInTheLoopAgent.resume, "approve") + result = await handle.result() + + assert "Rome" in result + # The approved book_trip really executed as an invoke_tool activity after + # the resume — not just claimed by the scripted final message. + counts = await count_scheduled_activities(handle) + assert counts[INVOKE_TOOL] == 1, counts + + +async def test_resume_validator_rejects_invalid_decision(client: Client) -> None: + # The workflow's documented contract: the update validator keeps decisions + # other than approve/reject out of workflow history entirely. + ask = AIMessage( + content="", + tool_calls=[{"name": "book_trip", "args": {"city": "Rome"}, "id": "c1"}], + ) + done = AIMessage(content="Booked a trip to Rome.") + plugin = DeepAgentsPlugin(model_provider=mock_model_provider([ask, done])) + task_queue = f"deepagents-hitl-invalid-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HumanInTheLoopAgent], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + HumanInTheLoopAgent.run, + "Rome", + id=f"deepagents-hitl-invalid-{uuid.uuid4()}", + task_queue=task_queue, + ) + for _ in range(100): + if await handle.query(HumanInTheLoopAgent.pending_approval) is not None: + break + await asyncio.sleep(0.1) + else: + raise AssertionError("workflow never surfaced the pending approval") + + with pytest.raises(WorkflowUpdateFailedError): + await handle.execute_update(HumanInTheLoopAgent.resume, "maybe") + + # The workflow is still healthy and resumable after the rejection. + await handle.execute_update(HumanInTheLoopAgent.resume, "approve") + assert "Rome" in await handle.result() + + +async def test_human_in_the_loop_reject(client: Client) -> None: + # The reject path: the guarded tool must never execute, and the agent + # reports back based on the rejection. + ask = AIMessage( + content="", + tool_calls=[{"name": "book_trip", "args": {"city": "Rome"}, "id": "c1"}], + ) + final = AIMessage(content="Understood — not booking the trip.") + plugin = DeepAgentsPlugin(model_provider=mock_model_provider([ask, final])) + task_queue = f"deepagents-hitl-reject-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HumanInTheLoopAgent], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + HumanInTheLoopAgent.run, + "Rome", + id=f"deepagents-hitl-reject-{uuid.uuid4()}", + task_queue=task_queue, + ) + for _ in range(100): + if await handle.query(HumanInTheLoopAgent.pending_approval) is not None: + break + await asyncio.sleep(0.1) + else: + raise AssertionError("workflow never surfaced the pending approval") + + await handle.execute_update(HumanInTheLoopAgent.resume, "reject") + result = await handle.result() + + assert "not booking" in result.lower() + counts = await count_scheduled_activities(handle) + # The rejected tool never ran as an activity. + assert counts[INVOKE_TOOL] == 0, counts diff --git a/tests/deepagents_plugin/react_agent_test.py b/tests/deepagents_plugin/react_agent_test.py new file mode 100644 index 000000000..a5b52ed90 --- /dev/null +++ b/tests/deepagents_plugin/react_agent_test.py @@ -0,0 +1,56 @@ +import uuid + +from langchain_core.messages import AIMessage +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.contrib.deepagents.testing import mock_model_provider +from temporalio.worker import Worker + +from deepagents_plugin.react_agent.workflow import ReactAgent, get_weather +from tests.deepagents_plugin.helpers import INVOKE_TOOL, count_scheduled_activities + + +async def test_react_agent(client: Client) -> None: + # Script the model through the tool loop: call get_weather, then web_search, + # then answer. The tools run for real (get_weather as an activity, web_search + # wrapped via tool_as_activity); only the model turns are scripted. + call_weather = AIMessage( + content="", + tool_calls=[{"name": "get_weather", "args": {"city": "Paris"}, "id": "c1"}], + ) + call_search = AIMessage( + content="", + tool_calls=[{"name": "web_search", "args": {"query": "Temporal"}, "id": "c2"}], + ) + final = AIMessage(content="It is sunny in Paris and Temporal keeps code durable.") + plugin = DeepAgentsPlugin( + model_provider=mock_model_provider([call_weather, call_search, final]), + ) + task_queue = f"deepagents-react-agent-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[ReactAgent], + activities=[get_weather], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + ReactAgent.run, + "What's the weather in Paris, and what is Temporal?", + id=f"deepagents-react-agent-{uuid.uuid4()}", + task_queue=task_queue, + ) + result = await handle.result() + + assert "durable" in result + # Both tool seams really crossed the activity boundary: get_weather ran as + # the user's own activity (activity_as_tool) and web_search ran through the + # plugin's invoke_tool activity (tool_as_activity). + counts = await count_scheduled_activities(handle) + assert counts["get_weather"] == 1, counts + assert counts[INVOKE_TOOL] == 1, counts diff --git a/tests/deepagents_plugin/streaming_test.py b/tests/deepagents_plugin/streaming_test.py new file mode 100644 index 000000000..5cd82ffe9 --- /dev/null +++ b/tests/deepagents_plugin/streaming_test.py @@ -0,0 +1,82 @@ +import asyncio +import uuid +from datetime import timedelta + +from langchain_core.load import load +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.contrib.deepagents.testing import mock_model_provider +from temporalio.contrib.workflow_streams import WorkflowStreamClient +from temporalio.worker import Worker + +from deepagents_plugin.streaming.workflow import STREAMING_TOPIC, StreamingWorkflow +from tests.deepagents_plugin.helpers import ( + INVOKE_MODEL, + INVOKE_MODEL_STREAMING, + count_scheduled_activities, +) + + +async def test_streaming(client: Client) -> None: + # streaming_topic=... flips model dispatch to the streaming activity, which + # publishes chunks to the topic while still returning the aggregated message + # as the durable result. An in-test subscriber collects the chunks. + expected = "Streamed answer." + plugin = DeepAgentsPlugin( + model_provider=mock_model_provider([expected]), + streaming_topic=STREAMING_TOPIC, + ) + task_queue = f"deepagents-streaming-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[StreamingWorkflow], + max_cached_workflows=0, + ): + workflow_id = f"deepagents-streaming-{uuid.uuid4()}" + handle = await client.start_workflow( + StreamingWorkflow.run, + "Write a sentence about durable execution.", + id=workflow_id, + task_queue=task_queue, + ) + + chunks: list[str] = [] + + async def consume() -> None: + stream = WorkflowStreamClient.create(client, workflow_id) + async for item in stream.subscribe( + [STREAMING_TOPIC], + from_offset=0, + result_type=dict, + poll_cooldown=timedelta(milliseconds=10), + ): + text = getattr(load(item.data), "content", "") + if text: + chunks.append(text) + # The subscription is open-ended; return once the full answer + # has been observed. + if expected in "".join(chunks): + return + + consume_task = asyncio.create_task(consume()) + result = await handle.result() + # No fixed sleep: the subscriber exits as soon as it has seen the + # streamed content; the timeout only bounds a regression. + await asyncio.wait_for(consume_task, timeout=10.0) + + # The durable result matches the non-streaming path... + assert expected in result + # ...and the same content was streamed out to the subscriber. + assert chunks, "expected at least one streamed chunk" + assert expected in "".join(chunks) + # Dispatch really flipped to the streaming activity: with streaming_topic + # set, the model call ran as invoke_model_streaming, not invoke_model. + counts = await count_scheduled_activities(handle) + assert counts[INVOKE_MODEL_STREAMING] == 1, counts + assert counts[INVOKE_MODEL] == 0, counts diff --git a/tests/deepagents_plugin/subagents_test.py b/tests/deepagents_plugin/subagents_test.py new file mode 100644 index 000000000..f76a582e8 --- /dev/null +++ b/tests/deepagents_plugin/subagents_test.py @@ -0,0 +1,69 @@ +import uuid + +from langchain_core.messages import AIMessage +from temporalio.client import Client +from temporalio.contrib.deepagents import DeepAgentsPlugin +from temporalio.contrib.deepagents.testing import mock_model_provider +from temporalio.worker import Worker + +from deepagents_plugin.subagents.workflow import SubagentsWorkflow +from tests.deepagents_plugin.helpers import INVOKE_MODEL, count_scheduled_activities + + +async def test_subagents(client: Client) -> None: + # Script the delegation end-to-end: the coordinator calls the built-in + # `task` tool, the researcher sub-agent (sharing the provider's response + # queue) reports findings, and the coordinator synthesizes them. This + # exercises the scenario's headline — durability propagating across the + # agent tree — rather than letting the coordinator answer in one turn. + delegate = AIMessage( + content="", + tool_calls=[ + { + "name": "task", + "args": { + "description": ( + "Research how Temporal handles workflow retries and " + "report your findings." + ), + "subagent_type": "researcher", + }, + "id": "call-task", + } + ], + ) + findings = AIMessage( + content="Findings: retries are governed by per-activity RetryPolicy." + ) + final = AIMessage( + content="Coordinated research answer: Temporal retries are policy-driven." + ) + plugin = DeepAgentsPlugin( + model_provider=mock_model_provider([delegate, findings, final]), + ) + task_queue = f"deepagents-subagents-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[SubagentsWorkflow], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + SubagentsWorkflow.run, + "Investigate durable execution and report back.", + id=f"deepagents-subagents-{uuid.uuid4()}", + task_queue=task_queue, + ) + result = await handle.result() + + assert "Coordinated" in result + # Three model activities prove the delegation really ran: the coordinator's + # delegating turn, the researcher's turn, and the synthesis turn — the + # sub-agent's model call became an activity with no per-sub-agent wiring. + counts = await count_scheduled_activities(handle) + assert counts[INVOKE_MODEL] >= 3, counts diff --git a/tests/eager_wf_start/__init__.py b/tests/eager_wf_start/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/eager_wf_start/workflow_test.py b/tests/eager_wf_start/workflow_test.py new file mode 100644 index 000000000..1080f5bcd --- /dev/null +++ b/tests/eager_wf_start/workflow_test.py @@ -0,0 +1,29 @@ +import uuid + +from temporalio.client import Client +from temporalio.worker import Worker + +from eager_wf_start.activities import greeting +from eager_wf_start.workflows import EagerWorkflow + + +async def test_eager_wf_start(client: Client): + task_queue_name = str(uuid.uuid4()) + + async with Worker( + client, + task_queue=task_queue_name, + workflows=[EagerWorkflow], + activities=[greeting], + ): + handle = await client.start_workflow( + EagerWorkflow.run, + "Temporal", + id=f"workflow-{uuid.uuid4()}", + task_queue=task_queue_name, + request_eager_start=True, + ) + print("HANDLE", handle.__temporal_eagerly_started) + assert handle.__temporal_eagerly_started + result = await handle.result() + assert result == "Hello Temporal!" diff --git a/tests/external_storage_redis/__init__.py b/tests/external_storage_redis/__init__.py new file mode 100644 index 000000000..0d45e2f52 --- /dev/null +++ b/tests/external_storage_redis/__init__.py @@ -0,0 +1 @@ +"""Tests for the Redis external storage sample.""" diff --git a/tests/external_storage_redis/conftest.py b/tests/external_storage_redis/conftest.py new file mode 100644 index 000000000..b6736ab3a --- /dev/null +++ b/tests/external_storage_redis/conftest.py @@ -0,0 +1,39 @@ +"""Shared fixtures for Redis external storage tests.""" + +from __future__ import annotations + +from collections.abc import AsyncIterator +from typing import TYPE_CHECKING + +import fakeredis.aioredis +import pytest +import pytest_asyncio + +from external_storage_redis import RedisStorageDriverClient +from external_storage_redis.redis_asyncio import new_redis_asyncio_client + +if TYPE_CHECKING: + from redis.asyncio.client import Redis + +KEY_PREFIX = "test:payloads" + + +@pytest_asyncio.fixture +async def redis_asyncio_client() -> AsyncIterator[Redis]: + """Yield a fake Redis client with an empty database for each test.""" + client = fakeredis.aioredis.FakeRedis(decode_responses=False) + await client.flushdb() + try: + yield client + finally: + aclose = getattr(client, "aclose", None) + if aclose is not None: + await aclose() + else: + await client.close() + + +@pytest.fixture +def driver_client(redis_asyncio_client: Redis) -> RedisStorageDriverClient: + """Wrap the redis.asyncio client in a RedisStorageDriverClient adapter.""" + return new_redis_asyncio_client(redis_asyncio_client) diff --git a/tests/external_storage_redis/test_redis.py b/tests/external_storage_redis/test_redis.py new file mode 100644 index 000000000..33b871a27 --- /dev/null +++ b/tests/external_storage_redis/test_redis.py @@ -0,0 +1,745 @@ +"""Unit tests for RedisStorageDriver using fakeredis.""" + +from __future__ import annotations + +import asyncio +import hashlib +import subprocess +import sys +from collections.abc import Callable, Coroutine +from datetime import timedelta +from functools import wraps +from typing import Any +from unittest.mock import MagicMock + +import fakeredis.aioredis +import pytest +from temporalio.api.common.v1 import Payload +from temporalio.converter import ( + JSONPlainPayloadConverter, + StorageDriverActivityInfo, + StorageDriverClaim, + StorageDriverRetrieveContext, + StorageDriverStoreContext, + StorageDriverWorkflowInfo, +) +from temporalio.exceptions import ApplicationError + +from external_storage_redis import RedisStorageDriver, RedisStorageDriverClient +from external_storage_redis.redis_asyncio import new_redis_asyncio_client +from tests.external_storage_redis.conftest import KEY_PREFIX + +_CONVERTER = JSONPlainPayloadConverter() + + +def test_redis_asyncio_adapter_import_is_workflow_safe() -> None: + completed = subprocess.run( + [ + sys.executable, + "-c", + ( + "import sys; " + "import external_storage_redis.redis_asyncio; " + "print(any(name.startswith('redis.asyncio') for name in sys.modules))" + ), + ], + check=True, + capture_output=True, + text=True, + ) + assert completed.stdout.strip() == "False" + + +def make_payload(value: str = "hello") -> Payload: + payload = _CONVERTER.to_payload(value) + assert payload is not None + return payload + + +def make_store_context( + target: StorageDriverActivityInfo | StorageDriverWorkflowInfo | None = None, +) -> StorageDriverStoreContext: + return StorageDriverStoreContext(target=target) + + +def make_workflow_context( + namespace: str = "my-namespace", + workflow_id: str = "my-workflow", + workflow_type: str | None = None, + run_id: str | None = None, +) -> StorageDriverStoreContext: + return make_store_context( + target=StorageDriverWorkflowInfo( + id=workflow_id, + type=workflow_type, + run_id=run_id, + namespace=namespace, + ) + ) + + +def make_activity_context( + namespace: str = "my-namespace", + activity_id: str | None = "my-activity", + activity_type: str | None = None, + run_id: str | None = None, +) -> StorageDriverStoreContext: + return make_store_context( + target=StorageDriverActivityInfo( + id=activity_id, + type=activity_type, + run_id=run_id, + namespace=namespace, + ) + ) + + +async def _list_keys(redis_asyncio_client: Any) -> list[str]: + raw_keys = await redis_asyncio_client.keys("*") + return sorted(key.decode() if isinstance(key, bytes) else key for key in raw_keys) + + +async def _wait_for_key_absent(redis_asyncio_client: Any, key: str) -> None: + async def _poll() -> None: + while await redis_asyncio_client.exists(key): + await asyncio.sleep(0.01) + + await asyncio.wait_for(_poll(), timeout=2) + + +class CountingDriverClient(RedisStorageDriverClient): + """RedisStorageDriverClient wrapper that counts calls.""" + + def __init__(self, delegate: RedisStorageDriverClient) -> None: + self._delegate = delegate + self.get_count = 0 + self.set_if_absent_count = 0 + self.insert_count = 0 + + async def get(self, *, key: str) -> bytes | None: + self.get_count += 1 + return await self._delegate.get(key=key) + + async def set_if_absent( + self, + *, + key: str, + data: bytes, + ttl: timedelta | None = None, + ) -> bool: + self.set_if_absent_count += 1 + inserted = await self._delegate.set_if_absent(key=key, data=data, ttl=ttl) + if inserted: + self.insert_count += 1 + return inserted + + +class FailOnceDriverClient(RedisStorageDriverClient): + """RedisStorageDriverClient wrapper that fails one call then blocks.""" + + def __init__(self, delegate: RedisStorageDriverClient, fail_on: str) -> None: + self._delegate = delegate + self._fail_on = fail_on + self._call_count = 0 + self.cancelled: list[bool] = [] + + async def _maybe_fail(self) -> None: + self._call_count += 1 + if self._call_count == 1: + raise ConnectionError("Redis connection lost") + try: + await asyncio.sleep(60) + except asyncio.CancelledError: + self.cancelled.append(True) + raise + + async def get(self, *, key: str) -> bytes | None: + if self._fail_on == "get": + await self._maybe_fail() + return await self._delegate.get(key=key) + + async def set_if_absent( + self, + *, + key: str, + data: bytes, + ttl: timedelta | None = None, + ) -> bool: + if self._fail_on == "set_if_absent": + await self._maybe_fail() + return await self._delegate.set_if_absent(key=key, data=data, ttl=ttl) + + +class _AsyncBarrier: + """Minimal asyncio.Barrier equivalent for Python <3.11.""" + + def __init__(self, parties: int) -> None: + self._parties = parties + self._count = 0 + self._event = asyncio.Event() + + async def wait(self) -> None: + self._count += 1 + if self._count >= self._parties: + self._event.set() + else: + await self._event.wait() + + +def _barrier_wrapper( + fn: Callable[..., Coroutine[Any, Any, Any]], barrier: _AsyncBarrier +) -> Callable[..., Coroutine[Any, Any, Any]]: + """Wrap an async method to wait at a barrier before proceeding.""" + + @wraps(fn) + async def wrapper(*args: Any, **kwargs: Any) -> Any: + await asyncio.wait_for(barrier.wait(), timeout=5) + return await fn(*args, **kwargs) + + return wrapper + + +@pytest.fixture +def counting_driver_client( + driver_client: RedisStorageDriverClient, +) -> CountingDriverClient: + """Wrap the driver client in a counting decorator.""" + return CountingDriverClient(driver_client) + + +class TestRedisStorageDriverInit: + def test_default_name(self) -> None: + driver = RedisStorageDriver(client=MagicMock(spec=RedisStorageDriverClient)) + assert driver.name() == "redis" + + def test_custom_name(self) -> None: + driver = RedisStorageDriver( + client=MagicMock(spec=RedisStorageDriverClient), + driver_name="my-redis", + ) + assert driver.name() == "my-redis" + + def test_type(self) -> None: + driver = RedisStorageDriver(client=MagicMock(spec=RedisStorageDriverClient)) + assert driver.type() == "redis" + + def test_ttl_zero_raises(self) -> None: + with pytest.raises(ValueError, match="ttl must be greater than zero"): + RedisStorageDriver( + client=MagicMock(spec=RedisStorageDriverClient), + ttl=timedelta(0), + ) + + def test_ttl_negative_raises(self) -> None: + with pytest.raises(ValueError, match="ttl must be greater than zero"): + RedisStorageDriver( + client=MagicMock(spec=RedisStorageDriverClient), + ttl=timedelta(seconds=-1), + ) + + def test_max_payload_size_zero_raises(self) -> None: + with pytest.raises( + ValueError, match="max_payload_size must be greater than zero" + ): + RedisStorageDriver( + client=MagicMock(spec=RedisStorageDriverClient), + max_payload_size=0, + ) + + def test_max_payload_size_negative_raises(self) -> None: + with pytest.raises( + ValueError, match="max_payload_size must be greater than zero" + ): + RedisStorageDriver( + client=MagicMock(spec=RedisStorageDriverClient), + max_payload_size=-1, + ) + + +class TestRedisStorageDriverKeyConstruction: + async def test_key_context_none( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + [claim] = await driver.store(make_store_context(), [payload]) + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + assert claim.claim_data["key"] == f"{KEY_PREFIX}:v0:d:sha256:{expected_hash}" + + async def test_key_context_workflow( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + ctx = make_workflow_context(namespace="ns1", workflow_id="wf1") + [claim] = await driver.store(ctx, [payload]) + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + assert ( + claim.claim_data["key"] + == f"{KEY_PREFIX}:v0:ns:ns1:wt:null:wi:wf1:ri:null:d:sha256:{expected_hash}" + ) + + async def test_key_context_workflow_with_type_and_run_id( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + ctx = make_workflow_context( + namespace="ns1", + workflow_id="wf1", + workflow_type="MyWorkflow", + run_id="run-abc", + ) + [claim] = await driver.store(ctx, [payload]) + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + assert ( + claim.claim_data["key"] + == f"{KEY_PREFIX}:v0:ns:ns1:wt:MyWorkflow:wi:wf1:ri:run-abc:d:sha256:{expected_hash}" + ) + + async def test_key_context_activity( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + ctx = make_activity_context(namespace="ns1", activity_id="act1") + [claim] = await driver.store(ctx, [payload]) + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + assert ( + claim.claim_data["key"] + == f"{KEY_PREFIX}:v0:ns:ns1:at:null:ai:act1:ri:null:d:sha256:{expected_hash}" + ) + + async def test_key_context_activity_with_type_and_run_id( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + ctx = make_activity_context( + namespace="ns1", + activity_id="act1", + activity_type="MyActivity", + run_id="run-abc", + ) + [claim] = await driver.store(ctx, [payload]) + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + assert ( + claim.claim_data["key"] + == f"{KEY_PREFIX}:v0:ns:ns1:at:MyActivity:ai:act1:ri:run-abc:d:sha256:{expected_hash}" + ) + + async def test_key_preserves_case( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + ctx = make_workflow_context(namespace="MyNamespace", workflow_id="MyWorkflow") + [claim] = await driver.store(ctx, [payload]) + key = claim.claim_data["key"] + assert "MyNamespace" in key + assert "MyWorkflow" in key + + async def test_key_urlencodes_workflow_id_with_slashes( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + ctx = make_workflow_context(namespace="ns1", workflow_id="order/123/v2") + [claim] = await driver.store(ctx, [payload]) + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + assert ( + claim.claim_data["key"] + == f"{KEY_PREFIX}:v0:ns:ns1:wt:null:wi:order%2F123%2Fv2:ri:null:d:sha256:{expected_hash}" + ) + + async def test_key_urlencodes_workflow_id_with_special_chars( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + ctx = make_workflow_context(namespace="ns1", workflow_id="wf#1 &foo=bar") + [claim] = await driver.store(ctx, [payload]) + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + assert ( + claim.claim_data["key"] + == f"{KEY_PREFIX}:v0:ns:ns1:wt:null:wi:wf%231%20%26foo%3Dbar:ri:null:d:sha256:{expected_hash}" + ) + + async def test_key_urlencodes_activity_id( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + ctx = make_activity_context(namespace="ns1", activity_id="act/1#2") + [claim] = await driver.store(ctx, [payload]) + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + assert ( + claim.claim_data["key"] + == f"{KEY_PREFIX}:v0:ns:ns1:at:null:ai:act%2F1%232:ri:null:d:sha256:{expected_hash}" + ) + + async def test_key_urlencodes_namespace( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + ctx = make_workflow_context(namespace="my/ns#1", workflow_id="wf1") + [claim] = await driver.store(ctx, [payload]) + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + assert ( + claim.claim_data["key"] + == f"{KEY_PREFIX}:v0:ns:my%2Fns%231:wt:null:wi:wf1:ri:null:d:sha256:{expected_hash}" + ) + + async def test_key_urlencoded_roundtrip( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload("special-char-roundtrip") + ctx = make_workflow_context(namespace="ns/1", workflow_id="wf/2#3") + [claim] = await driver.store(ctx, [payload]) + [retrieved] = await driver.retrieve(StorageDriverRetrieveContext(), [claim]) + assert retrieved == payload + + +class TestRedisStorageDriverStoreRetrieve: + async def test_store_returns_claim_with_key_and_hash( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload() + [claim] = await driver.store(make_store_context(), [payload]) + assert claim.claim_data["key"].startswith(f"{KEY_PREFIX}:v0:") + assert claim.claim_data["hash_algorithm"] == "sha256" + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + assert claim.claim_data["hash_value"] == expected_hash + + async def test_roundtrip_single_payload( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload("round-trip value") + [claim] = await driver.store(make_store_context(), [payload]) + [retrieved] = await driver.retrieve(StorageDriverRetrieveContext(), [claim]) + assert retrieved == payload + + async def test_roundtrip_multiple_payloads( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payloads = [make_payload(f"value-{i}") for i in range(3)] + claims = await driver.store(make_store_context(), payloads) + retrieved = await driver.retrieve(StorageDriverRetrieveContext(), claims) + assert retrieved == payloads + + async def test_empty_payloads_returns_empty_list( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + assert await driver.store(make_store_context(), []) == [] + assert await driver.retrieve(StorageDriverRetrieveContext(), []) == [] + + async def test_content_addressable_deduplication( + self, redis_asyncio_client: Any, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload("same-value") + claims = await driver.store(make_store_context(), [payload, payload]) + assert claims[0].claim_data["key"] == claims[1].claim_data["key"] + assert await _list_keys(redis_asyncio_client) == [claims[0].claim_data["key"]] + + async def test_set_if_absent_only_inserts_once( + self, counting_driver_client: CountingDriverClient + ) -> None: + driver = RedisStorageDriver( + client=counting_driver_client, + key_prefix=KEY_PREFIX, + ) + payload = make_payload("insert-once") + + await driver.store(make_store_context(), [payload]) + await driver.store(make_store_context(), [payload]) + + assert counting_driver_client.set_if_absent_count == 2 + assert counting_driver_client.insert_count == 1 + + async def test_duplicate_store_preserves_data( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload("preserve-me") + + [claim1] = await driver.store(make_store_context(), [payload]) + [claim2] = await driver.store(make_store_context(), [payload]) + assert claim1 == claim2 + + [retrieved] = await driver.retrieve(StorageDriverRetrieveContext(), [claim2]) + assert retrieved == payload + + async def test_ttl_is_applied_on_first_write( + self, redis_asyncio_client: Any, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver( + client=driver_client, + key_prefix=KEY_PREFIX, + ttl=timedelta(seconds=5), + ) + [claim] = await driver.store(make_store_context(), [make_payload("ttl")]) + ttl_ms = await redis_asyncio_client.pttl(claim.claim_data["key"]) + assert 0 < ttl_ms <= 5000 + + async def test_ttl_is_not_refreshed_on_duplicate_write( + self, redis_asyncio_client: Any, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver( + client=driver_client, + key_prefix=KEY_PREFIX, + ttl=timedelta(seconds=5), + ) + payload = make_payload("ttl-stable") + [claim] = await driver.store(make_store_context(), [payload]) + first_ttl_ms = await redis_asyncio_client.pttl(claim.claim_data["key"]) + await asyncio.sleep(0.02) + await driver.store(make_store_context(), [payload]) + second_ttl_ms = await redis_asyncio_client.pttl(claim.claim_data["key"]) + assert 0 < second_ttl_ms < first_ttl_ms + + async def test_retrieve_validates_hash( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload("check-integrity") + [claim] = await driver.store(make_store_context(), [payload]) + + tampered_claim = StorageDriverClaim( + claim_data={ + **claim.claim_data, + "hash_value": "0" * 64, + }, + ) + with pytest.raises( + ValueError, + match=r"RedisStorageDriver integrity check failed \[key=.+\]: expected sha256:.+, got sha256:.+", + ): + await driver.retrieve(StorageDriverRetrieveContext(), [tampered_claim]) + + async def test_retrieve_rejects_unsupported_hash_algorithm( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload("unsupported-algo") + [claim] = await driver.store(make_store_context(), [payload]) + + bad_claim = StorageDriverClaim( + claim_data={ + **claim.claim_data, + "hash_algorithm": "md5", + }, + ) + with pytest.raises( + ValueError, + match=r"RedisStorageDriver unsupported hash algorithm \[key=.+\]: expected sha256, got md5", + ): + await driver.retrieve(StorageDriverRetrieveContext(), [bad_claim]) + + async def test_retrieve_without_hash_in_claim( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payload = make_payload("no-hash-claim") + [claim] = await driver.store(make_store_context(), [payload]) + + legacy_claim = StorageDriverClaim( + claim_data={ + "key": claim.claim_data["key"], + }, + ) + [retrieved] = await driver.retrieve( + StorageDriverRetrieveContext(), [legacy_claim] + ) + assert retrieved == payload + + async def test_retrieve_missing_key_raises_non_retryable_application_error( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + claim = StorageDriverClaim( + claim_data={"key": f"{KEY_PREFIX}:v0:d:sha256:missing"} + ) + with pytest.raises(ApplicationError) as exc_info: + await driver.retrieve(StorageDriverRetrieveContext(), [claim]) + assert exc_info.value.message == ( + f"Payload not found for key '{KEY_PREFIX}:v0:d:sha256:missing'" + ) + assert exc_info.value.type == "PayloadNotFoundError" + assert exc_info.value.non_retryable is True + + async def test_expired_key_raises_non_retryable_application_error( + self, redis_asyncio_client: Any, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver( + client=driver_client, + key_prefix=KEY_PREFIX, + ttl=timedelta(milliseconds=10), + ) + [claim] = await driver.store(make_store_context(), [make_payload("expire-me")]) + await _wait_for_key_absent(redis_asyncio_client, claim.claim_data["key"]) + with pytest.raises(ApplicationError) as exc_info: + await driver.retrieve(StorageDriverRetrieveContext(), [claim]) + assert exc_info.value.type == "PayloadNotFoundError" + assert exc_info.value.non_retryable is True + + async def test_payload_exceeds_max_size_raises( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver( + client=driver_client, + key_prefix=KEY_PREFIX, + max_payload_size=10, + ) + with pytest.raises( + ValueError, + match=r"Payload size \d+ bytes exceeds the configured max_payload_size of 10 bytes", + ): + await driver.store(make_store_context(), [make_payload("exceeds-limit")]) + + async def test_payload_at_max_size_succeeds( + self, driver_client: RedisStorageDriverClient + ) -> None: + payload = make_payload("x") + driver = RedisStorageDriver( + client=driver_client, + key_prefix=KEY_PREFIX, + max_payload_size=len(payload.SerializeToString()), + ) + await driver.store(make_store_context(), [payload]) + + +class TestRedisAsyncioAdapter: + async def test_decode_responses_client_raises(self) -> None: + client = fakeredis.aioredis.FakeRedis(decode_responses=True) + try: + await client.set("adapter:text", b"abc") + adapter = new_redis_asyncio_client(client) + with pytest.raises(TypeError, match="decode_responses=False"): + await adapter.get(key="adapter:text") + finally: + aclose = getattr(client, "aclose", None) + if aclose is not None: + await aclose() + else: + await client.close() + + +class TestRedisStorageDriverErrors: + async def test_store_client_failure_raises( + self, driver_client: RedisStorageDriverClient + ) -> None: + faulty_client = FailOnceDriverClient( + delegate=driver_client, fail_on="set_if_absent" + ) + driver = RedisStorageDriver(client=faulty_client, key_prefix=KEY_PREFIX) + payload = make_payload() + expected_hash = hashlib.sha256(payload.SerializeToString()).hexdigest() + expected_key = f"{KEY_PREFIX}:v0:d:sha256:{expected_hash}" + with pytest.raises(RuntimeError) as exc_info: + await driver.store(make_store_context(), [payload]) + assert ( + str(exc_info.value) + == f"RedisStorageDriver store failed [key={expected_key}]" + ) + assert isinstance(exc_info.value.__cause__, ConnectionError) + + async def test_retrieve_client_failure_raises( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + [claim] = await driver.store(make_store_context(), [make_payload("value")]) + + faulty_client = FailOnceDriverClient(delegate=driver_client, fail_on="get") + driver = RedisStorageDriver(client=faulty_client, key_prefix=KEY_PREFIX) + with pytest.raises(RuntimeError) as exc_info: + await driver.retrieve(StorageDriverRetrieveContext(), [claim]) + assert ( + str(exc_info.value) + == f"RedisStorageDriver retrieve failed [key={claim.claim_data['key']}]" + ) + assert isinstance(exc_info.value.__cause__, ConnectionError) + + +class TestRedisStorageDriverConcurrency: + async def test_store_payloads_concurrently( + self, driver_client: RedisStorageDriverClient + ) -> None: + num_payloads = 5 + barrier = _AsyncBarrier(num_payloads) + driver_client.set_if_absent = _barrier_wrapper( # type: ignore[method-assign] + driver_client.set_if_absent, + barrier, + ) + + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payloads = [make_payload(f"concurrent-store-{i}") for i in range(num_payloads)] + + claims = await driver.store(make_store_context(), payloads) + assert len(claims) == num_payloads + + async def test_retrieve_payloads_concurrently( + self, driver_client: RedisStorageDriverClient + ) -> None: + num_payloads = 5 + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payloads = [ + make_payload(f"concurrent-retrieve-{i}") for i in range(num_payloads) + ] + claims = await driver.store(make_store_context(), payloads) + + barrier = _AsyncBarrier(num_payloads) + driver_client.get = _barrier_wrapper(driver_client.get, barrier) # type: ignore[method-assign] + + retrieved = await driver.retrieve(StorageDriverRetrieveContext(), claims) + assert retrieved == payloads + + async def test_store_cancels_remaining_on_failure( + self, driver_client: RedisStorageDriverClient + ) -> None: + faulty_client = FailOnceDriverClient( + delegate=driver_client, + fail_on="set_if_absent", + ) + driver = RedisStorageDriver(client=faulty_client, key_prefix=KEY_PREFIX) + payloads = [make_payload(f"cancel-store-{i}") for i in range(3)] + + with pytest.raises( + RuntimeError, + match=r"RedisStorageDriver store failed \[key=.+\]", + ) as exc_info: + await driver.store(make_store_context(), payloads) + + assert isinstance(exc_info.value.__cause__, ConnectionError) + assert str(exc_info.value.__cause__) == "Redis connection lost" + assert ( + len(faulty_client.cancelled) == 2 + ), "Expected 2 remaining tasks to be cancelled" + + async def test_retrieve_cancels_remaining_on_failure( + self, driver_client: RedisStorageDriverClient + ) -> None: + driver = RedisStorageDriver(client=driver_client, key_prefix=KEY_PREFIX) + payloads = [make_payload(f"cancel-retrieve-{i}") for i in range(3)] + claims = await driver.store(make_store_context(), payloads) + + faulty_client = FailOnceDriverClient(delegate=driver_client, fail_on="get") + driver = RedisStorageDriver(client=faulty_client, key_prefix=KEY_PREFIX) + + with pytest.raises( + RuntimeError, + match=r"RedisStorageDriver retrieve failed \[key=.+\]", + ) as exc_info: + await driver.retrieve(StorageDriverRetrieveContext(), claims) + + assert isinstance(exc_info.value.__cause__, ConnectionError) + assert str(exc_info.value.__cause__) == "Redis connection lost" + assert ( + len(faulty_client.cancelled) == 2 + ), "Expected 2 remaining tasks to be cancelled" diff --git a/tests/external_storage_redis/test_redis_worker.py b/tests/external_storage_redis/test_redis_worker.py new file mode 100644 index 000000000..60c1e4ce9 --- /dev/null +++ b/tests/external_storage_redis/test_redis_worker.py @@ -0,0 +1,522 @@ +"""Worker integration tests for RedisStorageDriver key structure.""" + +from __future__ import annotations + +import dataclasses +import hashlib +import uuid +from collections.abc import AsyncIterator, Callable, Sequence +from datetime import timedelta +from typing import Any + +import pytest +import pytest_asyncio +import temporalio.converter +from temporalio.client import Client, WorkflowFailureError +from temporalio.converter import ExternalStorage, JSONPlainPayloadConverter +from temporalio.exceptions import ActivityError, ApplicationError +from temporalio.service import RPCError +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from external_storage_redis import RedisStorageDriver, RedisStorageDriverClient +from external_storage_redis.redis_asyncio import new_redis_asyncio_client +from tests.external_storage_redis.conftest import KEY_PREFIX +from tests.external_storage_redis.workflows import ( + LARGE, + LARGE_2, + ChildWorkflow, + DocumentIngestionWorkflow, + LargeIOWorkflow, + LargeOutputNoRetryWorkflow, + ModelTrainingWorkflow, + OrderFulfillmentWorkflow, + ParentWithChildWorkflow, + PaymentProcessingWorkflow, + SignalQueryUpdateWorkflow, + download_document, + extract_text, + index_document, + large_io_activity, + large_output_activity, +) + +_THRESHOLD = 256 + + +def new_worker( + client: Client, + *workflows: type, + activities: Sequence[Callable[..., Any]] = (), + task_queue: str | None = None, + **kwargs: Any, +) -> Worker: + return Worker( + client, + task_queue=task_queue or str(uuid.uuid4()), + workflows=workflows, + activities=activities, + **kwargs, + ) + + +class FailingSetClient(RedisStorageDriverClient): + """Redis client wrapper that fails all writes.""" + + def __init__(self, delegate: RedisStorageDriverClient) -> None: + self._delegate = delegate + + async def get(self, *, key: str) -> bytes | None: + return await self._delegate.get(key=key) + + async def set_if_absent( + self, + *, + key: str, + data: bytes, + ttl: timedelta | None = None, + ) -> bool: + del key, data, ttl + raise ConnectionError("Redis is unavailable") + + +@pytest_asyncio.fixture +async def tmprl_client( + env: WorkflowEnvironment, redis_asyncio_client: Any +) -> AsyncIterator[Client]: + """Temporal client wired with ExternalStorage backed by fake Redis.""" + driver = RedisStorageDriver( + client=new_redis_asyncio_client(redis_asyncio_client), + key_prefix=KEY_PREFIX, + ) + yield await Client.connect( + env.client.service_client.config.target_host, + namespace=env.client.namespace, + data_converter=dataclasses.replace( + temporalio.converter.default(), + external_storage=ExternalStorage( + drivers=[driver], + payload_size_threshold=_THRESHOLD, + ), + ), + ) + + +async def _list_keys(redis_asyncio_client: Any) -> list[str]: + raw_keys = await redis_asyncio_client.keys(f"{KEY_PREFIX}:*") + return sorted(key.decode() if isinstance(key, bytes) else key for key in raw_keys) + + +def _skip_if_standalone_activity_disabled(err: RPCError) -> None: + if "Standalone activity is disabled" in str(err): + pytest.skip( + "Standalone Activity is not supported by this Temporal dev server build" + ) + + +async def test_redis_driver_workflow_input_key( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + async with new_worker( + tmprl_client, LargeIOWorkflow, activities=[large_io_activity] + ) as worker: + await tmprl_client.execute_workflow( + LargeIOWorkflow.run, + LARGE, + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 2 + assert all( + f"{KEY_PREFIX}:v0:ns:default:wt:LargeIOWorkflow:wi:{workflow_id}:ri:" in key + for key in keys + ) + assert sum(1 for key in keys if ":ri:null:" in key) == 1 + assert sum(1 for key in keys if ":ri:null:" not in key) == 1 + + +async def test_redis_driver_workflow_output_key( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + async with new_worker( + tmprl_client, LargeIOWorkflow, activities=[large_io_activity] + ) as worker: + result = await tmprl_client.execute_workflow( + LargeIOWorkflow.run, + "small", + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + assert result == LARGE + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 1 + assert ( + f"{KEY_PREFIX}:v0:ns:default:wt:LargeIOWorkflow:wi:{workflow_id}:ri:" in keys[0] + ) + assert ":ri:null:" not in keys[0] + + +async def test_redis_driver_workflow_activity_input_key( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + async with new_worker( + tmprl_client, LargeIOWorkflow, activities=[large_io_activity] + ) as worker: + await tmprl_client.execute_workflow( + LargeIOWorkflow.run, + LARGE, + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 2 + assert all( + f"{KEY_PREFIX}:v0:ns:default:wt:LargeIOWorkflow:wi:{workflow_id}:ri:" in key + for key in keys + ) + assert all(":ai:" not in key for key in keys) + + +async def test_redis_driver_workflow_activity_output_key( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + async with new_worker( + tmprl_client, LargeIOWorkflow, activities=[large_io_activity] + ) as worker: + await tmprl_client.execute_workflow( + LargeIOWorkflow.run, + "small", + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 1 + assert ( + f"{KEY_PREFIX}:v0:ns:default:wt:LargeIOWorkflow:wi:{workflow_id}:ri:" in keys[0] + ) + assert ":ri:null:" not in keys[0] + + +async def test_redis_driver_standalone_activity_input_key( + env: WorkflowEnvironment, + tmprl_client: Client, + redis_asyncio_client: Any, +) -> None: + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/2741" + ) + activity_id = str(uuid.uuid4()) + task_queue = str(uuid.uuid4()) + async with new_worker( + tmprl_client, activities=[large_io_activity], task_queue=task_queue + ): + try: + await tmprl_client.execute_activity( + large_io_activity, + LARGE, + id=activity_id, + task_queue=task_queue, + start_to_close_timeout=timedelta(seconds=5), + ) + except RPCError as err: + _skip_if_standalone_activity_disabled(err) + raise + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 2 + assert all( + f"{KEY_PREFIX}:v0:ns:default:at:large_io_activity:ai:{activity_id}:ri:" in key + for key in keys + ) + assert all(":wt:" not in key for key in keys) + assert sum(1 for key in keys if ":ri:null:" in key) == 1 + assert sum(1 for key in keys if ":ri:null:" not in key) == 1 + + +async def test_redis_driver_standalone_activity_output_key( + env: WorkflowEnvironment, + tmprl_client: Client, + redis_asyncio_client: Any, +) -> None: + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/2741" + ) + activity_id = str(uuid.uuid4()) + task_queue = str(uuid.uuid4()) + async with new_worker( + tmprl_client, activities=[large_output_activity], task_queue=task_queue + ): + try: + await tmprl_client.execute_activity( + large_output_activity, + id=activity_id, + task_queue=task_queue, + start_to_close_timeout=timedelta(seconds=5), + ) + except RPCError as err: + _skip_if_standalone_activity_disabled(err) + raise + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 1 + assert ( + f"{KEY_PREFIX}:v0:ns:default:at:large_output_activity:ai:{activity_id}:ri:" + in keys[0] + ) + assert ":ri:null:" not in keys[0] + assert ":wt:" not in keys[0] + + +async def test_redis_driver_signal_arg_key( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + async with new_worker(tmprl_client, SignalQueryUpdateWorkflow) as worker: + handle = await tmprl_client.start_workflow( + SignalQueryUpdateWorkflow.run, + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + await handle.signal(SignalQueryUpdateWorkflow.finish, LARGE) + await handle.result() + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 2 + assert any( + f"{KEY_PREFIX}:v0:ns:default:wt:null:wi:{workflow_id}:ri:null:" in key + for key in keys + ) + assert any( + f"{KEY_PREFIX}:v0:ns:default:wt:SignalQueryUpdateWorkflow:wi:{workflow_id}:" + in key + for key in keys + ) + + +async def test_redis_driver_query_result_key( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + async with new_worker(tmprl_client, SignalQueryUpdateWorkflow) as worker: + handle = await tmprl_client.start_workflow( + SignalQueryUpdateWorkflow.run, + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + result = await handle.query(SignalQueryUpdateWorkflow.get_value, LARGE) + assert result == LARGE + await handle.signal(SignalQueryUpdateWorkflow.finish, "done") + await handle.result() + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 2 + assert any( + f"{KEY_PREFIX}:v0:ns:default:wt:null:wi:{workflow_id}:ri:null:" in key + for key in keys + ) + assert any( + f"{KEY_PREFIX}:v0:ns:default:wt:SignalQueryUpdateWorkflow:wi:{workflow_id}:" + in key + for key in keys + ) + + +async def test_redis_driver_update_result_key( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + async with new_worker(tmprl_client, SignalQueryUpdateWorkflow) as worker: + handle = await tmprl_client.start_workflow( + SignalQueryUpdateWorkflow.run, + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + result = await handle.execute_update(SignalQueryUpdateWorkflow.do_update, LARGE) + assert result == LARGE + await handle.signal(SignalQueryUpdateWorkflow.finish, "done") + await handle.result() + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 2 + assert any( + f"{KEY_PREFIX}:v0:ns:default:wt:null:wi:{workflow_id}:ri:null:" in key + for key in keys + ) + assert any( + f"{KEY_PREFIX}:v0:ns:default:wt:SignalQueryUpdateWorkflow:wi:{workflow_id}:" + in key + for key in keys + ) + + +async def test_redis_driver_child_workflow_input_key( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + async with new_worker( + tmprl_client, ParentWithChildWorkflow, ChildWorkflow + ) as worker: + await tmprl_client.execute_workflow( + ParentWithChildWorkflow.run, + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + keys = await _list_keys(redis_asyncio_client) + child_workflow_id = f"{workflow_id}-child" + assert len(keys) == 1 + assert ( + f"{KEY_PREFIX}:v0:ns:default:wt:ChildWorkflow:wi:{child_workflow_id}:ri:" + in keys[0] + ) + + +async def test_redis_driver_identifier_casing( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = f"MyWorkflow-{uuid.uuid4()}" + async with new_worker( + tmprl_client, LargeIOWorkflow, activities=[large_io_activity] + ) as worker: + await tmprl_client.execute_workflow( + LargeIOWorkflow.run, + LARGE, + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 2 + assert all( + f"{KEY_PREFIX}:v0:ns:default:wt:LargeIOWorkflow:wi:{workflow_id}:ri:" in key + for key in keys + ) + + +async def test_redis_driver_content_dedup( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + async with new_worker( + tmprl_client, + DocumentIngestionWorkflow, + activities=[download_document, extract_text, index_document], + ) as worker: + await tmprl_client.execute_workflow( + DocumentIngestionWorkflow.run, + "doc-001", + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 2 + assert all( + f"{KEY_PREFIX}:v0:ns:default:wt:DocumentIngestionWorkflow:wi:{workflow_id}:ri:" + in key + for key in keys + ) + assert keys[0] != keys[1] + + +async def test_redis_driver_single_workflow_same_key_namespace( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + async with new_worker(tmprl_client, ModelTrainingWorkflow) as worker: + handle = await tmprl_client.start_workflow( + ModelTrainingWorkflow.run, + LARGE, + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + metrics = await handle.execute_update( + ModelTrainingWorkflow.get_metrics, "checkpoint-1" + ) + assert metrics == LARGE_2 + await handle.signal(ModelTrainingWorkflow.apply_overrides, LARGE) + await handle.signal(ModelTrainingWorkflow.complete) + await handle.result() + keys = await _list_keys(redis_asyncio_client) + assert len(keys) == 4 + assert all(f":wi:{workflow_id}:" in key for key in keys) + + +async def test_redis_driver_parent_child_independent_key_namespaces( + tmprl_client: Client, redis_asyncio_client: Any +) -> None: + workflow_id = str(uuid.uuid4()) + payment_id = f"{workflow_id}-payment" + async with new_worker( + tmprl_client, OrderFulfillmentWorkflow, PaymentProcessingWorkflow + ) as worker: + await tmprl_client.execute_workflow( + OrderFulfillmentWorkflow.run, + LARGE, + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + keys = await _list_keys(redis_asyncio_client) + parent_keys = [key for key in keys if f":wi:{workflow_id}:" in key] + child_keys = [key for key in keys if f":wi:{payment_id}:" in key] + assert len(parent_keys) == 3 + assert len(child_keys) == 1 + + +async def test_redis_store_failure_surfaces_in_workflow_history( + env: WorkflowEnvironment, driver_client: RedisStorageDriverClient +) -> None: + driver = RedisStorageDriver( + client=FailingSetClient(driver_client), + key_prefix=KEY_PREFIX, + ) + bad_client = await Client.connect( + env.client.service_client.config.target_host, + namespace=env.client.namespace, + data_converter=dataclasses.replace( + temporalio.converter.default(), + external_storage=ExternalStorage( + drivers=[driver], + payload_size_threshold=_THRESHOLD, + ), + ), + ) + workflow_id = str(uuid.uuid4()) + async with new_worker( + bad_client, LargeOutputNoRetryWorkflow, activities=[large_output_activity] + ) as worker: + with pytest.raises(WorkflowFailureError) as exc_info: + await bad_client.execute_workflow( + LargeOutputNoRetryWorkflow.run, + id=workflow_id, + task_queue=worker.task_queue, + execution_timeout=timedelta(seconds=5), + ) + + large_payload = JSONPlainPayloadConverter().to_payload(LARGE) + assert large_payload is not None + expected_hash = hashlib.sha256(large_payload.SerializeToString()).hexdigest() + + activity_error = exc_info.value.__cause__ + assert isinstance(activity_error, ActivityError) + app_error = activity_error.__cause__ + assert isinstance(app_error, ApplicationError) + assert app_error.type == "RuntimeError" + msg = app_error.message + assert "RedisStorageDriver store failed [key=" in msg + assert ( + f"{KEY_PREFIX}:v0:ns:default:wt:LargeOutputNoRetryWorkflow:wi:{workflow_id}:ri:" + in msg + ) + assert f":d:sha256:{expected_hash}]" in msg diff --git a/tests/external_storage_redis/workflows.py b/tests/external_storage_redis/workflows.py new file mode 100644 index 000000000..1440ffbbc --- /dev/null +++ b/tests/external_storage_redis/workflows.py @@ -0,0 +1,194 @@ +"""Workflows and activities used by the Redis external storage tests.""" + +from __future__ import annotations + +from datetime import timedelta + +from temporalio import activity, workflow +from temporalio.common import RetryPolicy + +LARGE = "x" * 356 # ~358 bytes as a JSON string, above the 256-byte test threshold +LARGE_2 = "y" * 356 # distinct large payload with a different SHA-256 hash + + +@activity.defn +async def large_io_activity(_data: str) -> str: + return LARGE + + +@activity.defn +async def large_output_activity() -> str: + """Return a large payload with no retries; used to test store failures.""" + return LARGE + + +@workflow.defn +class LargeOutputNoRetryWorkflow: + """Execute one activity that returns a large payload with no retries.""" + + @workflow.run + async def run(self) -> str: + return await workflow.execute_activity( + large_output_activity, + schedule_to_close_timeout=timedelta(seconds=10), + retry_policy=RetryPolicy(maximum_attempts=1), + ) + + +@workflow.defn +class LargeIOWorkflow: + """Pass workflow input to an activity and return a large output.""" + + @workflow.run + async def run(self, data: str) -> str: + await workflow.execute_activity( + large_io_activity, + data, + schedule_to_close_timeout=timedelta(seconds=10), + ) + return LARGE + + +@activity.defn +async def download_document(document_id: str) -> str: + """Download the raw document content from remote storage.""" + del document_id + return LARGE + + +@activity.defn +async def extract_text(raw_content: str) -> str: + """Extract and normalize text from the raw document content.""" + del raw_content + return LARGE_2 + + +@activity.defn +async def index_document(text: str) -> str: + """Index the extracted text into the search index.""" + del text + return "idx-00001" + + +@workflow.defn +class DocumentIngestionWorkflow: + """Download, extract, and index a document through large payload hops.""" + + @workflow.run + async def run(self, document_id: str) -> str: + raw_content = await workflow.execute_activity( + download_document, + document_id, + schedule_to_close_timeout=timedelta(seconds=10), + ) + extracted_text = await workflow.execute_activity( + extract_text, + raw_content, + schedule_to_close_timeout=timedelta(seconds=10), + ) + return await workflow.execute_activity( + index_document, + extracted_text, + schedule_to_close_timeout=timedelta(seconds=10), + ) + + +@workflow.defn +class ChildWorkflow: + @workflow.run + async def run(self, data: str) -> str: + return f"{len(data)}" + + +@workflow.defn +class ParentWithChildWorkflow: + """Delegate work to a child workflow whose ID is ``{parent_id}-child``.""" + + @workflow.run + async def run(self) -> str: + child_id = f"{workflow.info().workflow_id}-child" + return await workflow.execute_child_workflow( + ChildWorkflow.run, + LARGE, + id=child_id, + execution_timeout=timedelta(seconds=10), + ) + + +@workflow.defn +class PaymentProcessingWorkflow: + """Process payment for an order and return a large confirmation payload.""" + + @workflow.run + async def run(self, order_details: str) -> str: + del order_details + return LARGE_2 + + +@workflow.defn +class OrderFulfillmentWorkflow: + """Coordinate order fulfillment by delegating payment to a child workflow.""" + + @workflow.run + async def run(self, order_details: str) -> str: + payment_id = f"{workflow.info().workflow_id}-payment" + return await workflow.execute_child_workflow( + PaymentProcessingWorkflow.run, + order_details, + id=payment_id, + execution_timeout=timedelta(seconds=10), + ) + + +@workflow.defn +class ModelTrainingWorkflow: + """Simulate a long-running training job with large cross-boundary payloads.""" + + def __init__(self) -> None: + self._done = False + + @workflow.run + async def run(self, training_config: str) -> str: + del training_config + await workflow.wait_condition(lambda: self._done) + return LARGE + + @workflow.signal + async def apply_overrides(self, override_params: str) -> None: + """Inject updated configuration into the running training job.""" + del override_params + + @workflow.signal + async def complete(self) -> None: + self._done = True + + @workflow.update + async def get_metrics(self, checkpoint_id: str) -> str: + """Return the current training metrics snapshot.""" + del checkpoint_id + return LARGE_2 + + +@workflow.defn +class SignalQueryUpdateWorkflow: + """Long-running workflow that accepts a signal, query, and update.""" + + def __init__(self) -> None: + self._done = False + + @workflow.run + async def run(self) -> str: + await workflow.wait_condition(lambda: self._done) + return LARGE + + @workflow.signal + async def finish(self, _data: str) -> None: + self._done = True + + @workflow.query + def get_value(self, _data: str) -> str: + return LARGE + + @workflow.update + async def do_update(self, _data: str) -> str: + return LARGE diff --git a/tests/google_adk_agents/__init__.py b/tests/google_adk_agents/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/google_adk_agents/_mock_model.py b/tests/google_adk_agents/_mock_model.py new file mode 100644 index 000000000..aaa657e12 --- /dev/null +++ b/tests/google_adk_agents/_mock_model.py @@ -0,0 +1,59 @@ +from __future__ import annotations + +from collections.abc import AsyncGenerator +from typing import Any + +import pytest +from google.adk.models import BaseLlm, LLMRegistry +from google.adk.models.llm_request import LlmRequest +from google.adk.models.llm_response import LlmResponse +from google.genai.types import Content, FunctionCall, Part + +MODEL = "gemini-2.5-flash" + + +def text(s: str) -> LlmResponse: + return LlmResponse(content=Content(role="model", parts=[Part(text=s)])) + + +def tool_call(name: str, args: dict[str, Any]) -> LlmResponse: + return LlmResponse( + content=Content( + role="model", + parts=[Part(function_call=FunctionCall(name=name, args=args))], + ) + ) + + +def patch_model( + monkeypatch: pytest.MonkeyPatch, + responses: list[LlmResponse], + *, + stream_chunks: bool = False, + captured: list[LlmRequest] | None = None, +) -> None: + script = list(responses) + orig_new_llm = LLMRegistry.new_llm # staticmethod + + class _Mock(BaseLlm): + async def generate_content_async( + self, llm_request: LlmRequest, stream: bool = False + ) -> AsyncGenerator[LlmResponse, None]: + if captured is not None: + captured.append(llm_request) + if stream_chunks: + # The streaming sample is single-turn, so yield every scripted + # chunk on this one call. + while script: + yield script.pop(0) + return + if not script: + raise AssertionError("mock model script exhausted") + yield script.pop(0) + + def fake_new_llm(model: str) -> BaseLlm: + if model == MODEL: + return _Mock(model=model) + return orig_new_llm(model) + + monkeypatch.setattr(LLMRegistry, "new_llm", staticmethod(fake_new_llm)) diff --git a/tests/google_adk_agents/agent_patterns_test.py b/tests/google_adk_agents/agent_patterns_test.py new file mode 100644 index 000000000..d9a3c2592 --- /dev/null +++ b/tests/google_adk_agents/agent_patterns_test.py @@ -0,0 +1,44 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.worker import Worker + +from google_adk_agents.agent_patterns.workflows.multi_agent_workflow import ( + MultiAgentWorkflow, +) +from tests.google_adk_agents._mock_model import patch_model, text, tool_call + + +async def test_agent_patterns(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + patch_model( + monkeypatch, + [ + tool_call("transfer_to_agent", {"agent_name": "researcher"}), + tool_call("transfer_to_agent", {"agent_name": "writer"}), + text("snow on the mountain"), + ], + ) + + task_queue = f"google-adk-agents-agent-patterns-{uuid.uuid4()}" + plugin = GoogleAdkPlugin() + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[MultiAgentWorkflow], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + MultiAgentWorkflow.run, + "mountains", + id=f"google-adk-agents-agent-patterns-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "snow on the mountain" diff --git a/tests/google_adk_agents/basic_test.py b/tests/google_adk_agents/basic_test.py new file mode 100644 index 000000000..a1354e4bb --- /dev/null +++ b/tests/google_adk_agents/basic_test.py @@ -0,0 +1,37 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.worker import Worker + +from google_adk_agents.basic.workflows.hello_world_workflow import ( + HelloWorldAgentWorkflow, +) +from tests.google_adk_agents._mock_model import patch_model, text + + +async def test_basic(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + patch_model(monkeypatch, [text("a quiet haiku")]) + + task_queue = f"google-adk-agents-basic-{uuid.uuid4()}" + plugin = GoogleAdkPlugin() + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HelloWorldAgentWorkflow], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + HelloWorldAgentWorkflow.run, + "Say hi", + id=f"google-adk-agents-basic-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "a quiet haiku" diff --git a/tests/google_adk_agents/chatbot_test.py b/tests/google_adk_agents/chatbot_test.py new file mode 100644 index 000000000..af01dc826 --- /dev/null +++ b/tests/google_adk_agents/chatbot_test.py @@ -0,0 +1,57 @@ +import uuid + +import pytest +from google.adk.models.llm_request import LlmRequest +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.worker import Worker + +from google_adk_agents.chatbot.workflows.chatbot_workflow import ( + ChatbotAgentWorkflow, +) +from tests.google_adk_agents._mock_model import patch_model, text + + +async def test_chatbot(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + captured: list[LlmRequest] = [] + patch_model( + monkeypatch, [text("first reply"), text("second reply")], captured=captured + ) + + task_queue = f"google-adk-agents-chatbot-{uuid.uuid4()}" + plugin = GoogleAdkPlugin() + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[ChatbotAgentWorkflow], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + ChatbotAgentWorkflow.run, + id=f"google-adk-agents-chatbot-{uuid.uuid4()}", + task_queue=task_queue, + ) + + first = await handle.execute_update(ChatbotAgentWorkflow.message, "Hello") + second = await handle.execute_update(ChatbotAgentWorkflow.message, "Again") + + await handle.terminate() + + assert first == "first reply" + assert second == "second reply" + + # The second turn reuses the same session, so its request carries the first + # turn's history. + turn_two_history = "\n".join( + part.text + for content in captured[1].contents + for part in (content.parts or []) + if part.text + ) + assert "Hello" in turn_two_history + assert "first reply" in turn_two_history diff --git a/tests/google_adk_agents/mcp_test.py b/tests/google_adk_agents/mcp_test.py new file mode 100644 index 000000000..ae8729d0b --- /dev/null +++ b/tests/google_adk_agents/mcp_test.py @@ -0,0 +1,47 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import ( + GoogleAdkPlugin, + TemporalMcpToolSetProvider, +) +from temporalio.worker import Worker + +from google_adk_agents.mcp.toolsets import echo_toolset +from google_adk_agents.mcp.workflows.echo_workflow import EchoMcpWorkflow +from tests.google_adk_agents._mock_model import patch_model, text, tool_call + + +async def test_mcp(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + patch_model( + monkeypatch, + [ + tool_call("echo", {"message": "hello from MCP"}), + text("Done!"), + ], + ) + + task_queue = f"google-adk-agents-mcp-{uuid.uuid4()}" + plugin = GoogleAdkPlugin( + toolset_providers=[TemporalMcpToolSetProvider("echo", echo_toolset)] + ) + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[EchoMcpWorkflow], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + EchoMcpWorkflow.run, + "Echo 'hello from MCP'.", + id=f"google-adk-agents-mcp-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "Done!" diff --git a/tests/google_adk_agents/streaming_test.py b/tests/google_adk_agents/streaming_test.py new file mode 100644 index 000000000..5c1d78a87 --- /dev/null +++ b/tests/google_adk_agents/streaming_test.py @@ -0,0 +1,68 @@ +import asyncio +import uuid +from datetime import timedelta + +import pytest +from google.adk.models.llm_response import LlmResponse +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.contrib.workflow_streams import WorkflowStreamClient +from temporalio.worker import Worker + +from google_adk_agents.streaming.workflows.streaming_workflow import ( + StreamingAgentWorkflow, +) +from tests.google_adk_agents._mock_model import patch_model, text + + +async def test_streaming(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + patch_model( + monkeypatch, + [text("Once "), text("upon a robot.")], + stream_chunks=True, + ) + + task_queue = f"google-adk-agents-streaming-{uuid.uuid4()}" + plugin = GoogleAdkPlugin() + workflow_id = f"google-adk-agents-streaming-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[StreamingAgentWorkflow], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + StreamingAgentWorkflow.run, + "Tell me a story", + id=workflow_id, + task_queue=task_queue, + ) + + stream = WorkflowStreamClient.create(client, workflow_id) + chunks: list[str] = [] + + async def collect() -> None: + async for item in stream.subscribe( + ["responses"], + from_offset=0, + result_type=LlmResponse, + poll_cooldown=timedelta(milliseconds=50), + ): + response = item.data + if response.content and response.content.parts: + for part in response.content.parts: + if part.text: + chunks.append(part.text) + if len(chunks) >= 2: + return + + collect_task = asyncio.create_task(collect()) + assert await handle.result() == "upon a robot." + await asyncio.wait_for(collect_task, timeout=10.0) + + assert chunks == ["Once ", "upon a robot."] diff --git a/tests/google_adk_agents/tools_test.py b/tests/google_adk_agents/tools_test.py new file mode 100644 index 000000000..d80817e35 --- /dev/null +++ b/tests/google_adk_agents/tools_test.py @@ -0,0 +1,43 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.google_adk_agents import GoogleAdkPlugin +from temporalio.worker import Worker + +from google_adk_agents.tools.activities.weather_activity import get_weather +from google_adk_agents.tools.workflows.weather_workflow import WeatherAgentWorkflow +from tests.google_adk_agents._mock_model import patch_model, text, tool_call + + +async def test_tools(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + patch_model( + monkeypatch, + [ + tool_call("get_weather", {"city": "New York"}), + text("It is warm and sunny."), + ], + ) + + task_queue = f"google-adk-agents-tools-{uuid.uuid4()}" + plugin = GoogleAdkPlugin() + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[WeatherAgentWorkflow], + activities=[get_weather], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + WeatherAgentWorkflow.run, + "Weather in New York?", + id=f"google-adk-agents-tools-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "It is warm and sunny." diff --git a/tests/google_genai/__init__.py b/tests/google_genai/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/google_genai/chat_test.py b/tests/google_genai/chat_test.py new file mode 100644 index 000000000..504a630b4 --- /dev/null +++ b/tests/google_genai/chat_test.py @@ -0,0 +1,43 @@ +import uuid + +from temporalio.client import Client +from temporalio.contrib.google_genai.testing import GeminiTestServer, text_response +from temporalio.worker import Worker + +from google_genai.chat.workflow import ChatWorkflow + + +async def test_chat(client: Client) -> None: + server = GeminiTestServer( + [ + text_response("Got it — your favorite color is teal."), + text_response("Your favorite color is teal."), + ] + ) + + config = client.config() + config["plugins"] = [*config["plugins"], server.plugin()] + client = Client(**config) + + task_queue = f"google-genai-chat-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[ChatWorkflow], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + ChatWorkflow.run, + [ + "My favorite color is teal. Remember that.", + "What is my favorite color?", + ], + id=f"google-genai-chat-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == [ + "Got it — your favorite color is teal.", + "Your favorite color is teal.", + ] + assert len(server.requests) == 2 diff --git a/tests/google_genai/hello_world_test.py b/tests/google_genai/hello_world_test.py new file mode 100644 index 000000000..c612885c1 --- /dev/null +++ b/tests/google_genai/hello_world_test.py @@ -0,0 +1,32 @@ +import uuid + +from temporalio.client import Client +from temporalio.contrib.google_genai.testing import GeminiTestServer, text_response +from temporalio.worker import Worker + +from google_genai.hello_world.workflow import HelloWorldWorkflow + + +async def test_hello_world(client: Client) -> None: + server = GeminiTestServer([text_response("A haiku, for you.")]) + + config = client.config() + config["plugins"] = [*config["plugins"], server.plugin()] + client = Client(**config) + + task_queue = f"google-genai-hello-world-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[HelloWorldWorkflow], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + HelloWorldWorkflow.run, + "Write a haiku.", + id=f"google-genai-hello-world-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "A haiku, for you." + assert len(server.requests) == 1 diff --git a/tests/google_genai/mcp_test.py b/tests/google_genai/mcp_test.py new file mode 100644 index 000000000..e5913ad1c --- /dev/null +++ b/tests/google_genai/mcp_test.py @@ -0,0 +1,81 @@ +import sys +import uuid +from collections.abc import AsyncIterator +from contextlib import asynccontextmanager +from pathlib import Path +from typing import Any + +from google import genai +from google.genai.types import HttpResponse as SdkHttpResponse +from mcp import ClientSession, StdioServerParameters +from mcp.client.stdio import stdio_client +from temporalio.client import Client +from temporalio.contrib.google_genai import GoogleGenAIPlugin +from temporalio.contrib.google_genai.testing import ( + function_call_response, + text_response, +) +from temporalio.worker import Worker + +from google_genai.mcp.workflow import McpWorkflow + +ECHO_SERVER = str( + Path(__file__).parents[2] / "google_genai" / "mcp" / "echo_mcp_server.py" +) + + +@asynccontextmanager +async def _echo_session() -> AsyncIterator[ClientSession]: + params = StdioServerParameters(command=sys.executable, args=[ECHO_SERVER]) + async with stdio_client(params) as (read, write): + async with ClientSession(read, write) as session: + await session.initialize() + yield session + + +def _mcp_plugin(responses: list[str]) -> GoogleGenAIPlugin: + """A plugin with scripted model HTTP plus a real echo MCP server. + + Mirrors what ``GeminiTestServer.plugin()`` does for the model HTTP layer, + but also registers an MCP server (which ``GeminiTestServer`` does not), so + the MCP ``list_tools`` / ``call_tool`` activities run for real. + """ + genai_client = genai.Client(api_key="fake-test-key") + index = {"i": 0} + + async def fake_async_request(*_args: Any, **_kwargs: Any) -> SdkHttpResponse: + body = responses[index["i"]] + index["i"] += 1 + return SdkHttpResponse(headers={"content-type": "application/json"}, body=body) + + genai_client._api_client.async_request = fake_async_request # type: ignore[assignment] + return GoogleGenAIPlugin(genai_client, mcp_servers={"echo": _echo_session}) + + +async def test_mcp(client: Client) -> None: + plugin = _mcp_plugin( + [ + function_call_response("echo", {"message": "durable execution"}), + text_response("The echo tool returned: durable execution"), + ] + ) + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + task_queue = f"google-genai-mcp-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[McpWorkflow], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + McpWorkflow.run, + "Use the echo tool to echo back the phrase: durable execution.", + id=f"google-genai-mcp-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert "durable execution" in result diff --git a/tests/google_genai/streaming_test.py b/tests/google_genai/streaming_test.py new file mode 100644 index 000000000..dec695586 --- /dev/null +++ b/tests/google_genai/streaming_test.py @@ -0,0 +1,53 @@ +import uuid +from datetime import timedelta + +from google.genai import types +from temporalio.client import Client +from temporalio.contrib.google_genai.testing import GeminiTestServer, text_response +from temporalio.contrib.workflow_streams import WorkflowStreamClient +from temporalio.worker import Worker + +from google_genai.streaming.workflow import StreamingWorkflow + + +async def test_streaming_publishes_to_workflow_stream(client: Client) -> None: + server = GeminiTestServer([text_response("Hello from Gemini stream")]) + + config = client.config() + config["plugins"] = [*config["plugins"], server.plugin()] + client = Client(**config) + + task_queue = f"google-genai-streaming-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[StreamingWorkflow], + max_cached_workflows=0, + ): + wf_id = f"google-genai-streaming-{uuid.uuid4()}" + handle = await client.start_workflow( + StreamingWorkflow.run, + "say hi", + id=wf_id, + task_queue=task_queue, + execution_timeout=timedelta(seconds=15), + ) + + # Consume the published chunk from the "gemini" topic. + stream = WorkflowStreamClient.create(client, wf_id) + received: list[types.GenerateContentResponse] = [] + async for item in stream.subscribe( + ["gemini"], + from_offset=0, + result_type=types.GenerateContentResponse, + poll_cooldown=timedelta(milliseconds=20), + ): + received.append(item.data) + break # one scripted chunk + + await handle.signal(StreamingWorkflow.finish) + result = await handle.result() + + assert result == "Hello from Gemini stream" + assert len(received) == 1 + assert received[0].text == "Hello from Gemini stream" diff --git a/tests/google_genai/structured_output_test.py b/tests/google_genai/structured_output_test.py new file mode 100644 index 000000000..6e93c2ede --- /dev/null +++ b/tests/google_genai/structured_output_test.py @@ -0,0 +1,45 @@ +import json +import uuid + +from temporalio.client import Client +from temporalio.contrib.google_genai.testing import GeminiTestServer, text_response +from temporalio.worker import Worker + +from google_genai.structured_output.workflow import ( + Recipe, + StructuredOutputWorkflow, +) + + +async def test_structured_output(client: Client) -> None: + recipe_json = json.dumps( + { + "name": "Avocado Toast", + "ingredients": ["bread", "avocado", "salt"], + "steps": ["Toast the bread.", "Mash the avocado on top.", "Season."], + } + ) + server = GeminiTestServer([text_response(recipe_json)]) + + config = client.config() + config["plugins"] = [*config["plugins"], server.plugin()] + client = Client(**config) + + task_queue = f"google-genai-structured-output-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[StructuredOutputWorkflow], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + StructuredOutputWorkflow.run, + "Give me a simple recipe for avocado toast.", + id=f"google-genai-structured-output-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert isinstance(result, Recipe) + assert result.name == "Avocado Toast" + assert result.ingredients == ["bread", "avocado", "salt"] + assert len(result.steps) == 3 diff --git a/tests/google_genai/tools_test.py b/tests/google_genai/tools_test.py new file mode 100644 index 000000000..b657fd1fd --- /dev/null +++ b/tests/google_genai/tools_test.py @@ -0,0 +1,46 @@ +import uuid + +from temporalio.client import Client +from temporalio.contrib.google_genai.testing import ( + GeminiTestServer, + function_call_response, + text_response, +) +from temporalio.worker import Worker + +from google_genai.tools.workflow import ToolsWorkflow, get_weather + + +async def test_tools(client: Client) -> None: + server = GeminiTestServer( + [ + function_call_response("get_weather", {"city": "Tokyo"}), + function_call_response( + "recommend_thing_to_do", {"weather": "It's 72F and sunny in Tokyo."} + ), + text_response("It's sunny in Tokyo — go for a hike!"), + ] + ) + + config = client.config() + config["plugins"] = [*config["plugins"], server.plugin()] + client = Client(**config) + + task_queue = f"google-genai-tools-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[ToolsWorkflow], + activities=[get_weather], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + ToolsWorkflow.run, + "What's the weather in Tokyo, and what should I do there?", + id=f"google-genai-tools-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "It's sunny in Tokyo — go for a hike!" + # One model turn per response: two tool calls and a final text answer. + assert len(server.requests) == 3 diff --git a/tests/hello/hello_activity_choice_test.py b/tests/hello/hello_activity_choice_test.py index 236634de3..1dadbb88b 100644 --- a/tests/hello/hello_activity_choice_test.py +++ b/tests/hello/hello_activity_choice_test.py @@ -20,13 +20,12 @@ ] -@pytest.mark.asyncio @pytest.mark.parametrize( "activity_func, order_amount, expected_result", activity_test_data ) -async def test_order_fruit(activity_func, order_amount, expected_result): +def test_order_fruit(activity_func, order_amount, expected_result): activity_environment = ActivityEnvironment() - result = await activity_environment.run(activity_func, order_amount) + result = activity_environment.run(activity_func, order_amount) assert result == expected_result diff --git a/tests/hello/hello_activity_test.py b/tests/hello/hello_activity_test.py index 4bd8e40e0..5bf9c1b8a 100644 --- a/tests/hello/hello_activity_test.py +++ b/tests/hello/hello_activity_test.py @@ -1,4 +1,5 @@ import uuid +from concurrent.futures import ThreadPoolExecutor from temporalio import activity from temporalio.client import Client @@ -18,6 +19,7 @@ async def test_execute_workflow(client: Client): client, task_queue=task_queue_name, workflows=[GreetingWorkflow], + activity_executor=ThreadPoolExecutor(5), activities=[compose_greeting], ): assert "Hello, World!" == await client.execute_workflow( diff --git a/tests/hello/hello_cancellation_test.py b/tests/hello/hello_cancellation_test.py index 2d4b946ed..b511b50b8 100644 --- a/tests/hello/hello_cancellation_test.py +++ b/tests/hello/hello_cancellation_test.py @@ -1,5 +1,6 @@ import asyncio import uuid +from concurrent.futures import ThreadPoolExecutor import pytest from temporalio.client import Client, WorkflowExecutionStatus, WorkflowFailureError @@ -21,6 +22,7 @@ async def test_cancel_workflow(client: Client): task_queue=task_queue_name, workflows=[CancellationWorkflow], activities=[cleanup_activity, never_complete_activity], + activity_executor=ThreadPoolExecutor(5), ): handle = await client.start_workflow( CancellationWorkflow.run, diff --git a/tests/hello/hello_change_log_level_test.py b/tests/hello/hello_change_log_level_test.py new file mode 100644 index 000000000..e83e08c45 --- /dev/null +++ b/tests/hello/hello_change_log_level_test.py @@ -0,0 +1,42 @@ +import asyncio +import io +import logging +import uuid + +from temporalio.client import Client +from temporalio.worker import Worker + +from hello.hello_change_log_level import LOG_MESSAGE, GreetingWorkflow + + +async def test_workflow_with_log_capture(client: Client): + log_stream = io.StringIO() + handler = logging.StreamHandler(log_stream) + handler.setLevel(logging.ERROR) + + logger = logging.getLogger() + logger.addHandler(handler) + logger.setLevel(logging.DEBUG) + + task_queue = f"tq-{uuid.uuid4()}" + + async with Worker( + client, + task_queue=task_queue, + workflows=[GreetingWorkflow], + ): + handle = await client.start_workflow( + GreetingWorkflow.run, + id=f"wf-{uuid.uuid4()}", + task_queue=task_queue, + ) + await asyncio.sleep( + 0.2 + ) # small wait to ensure the workflow has started, failed, and logged + await handle.terminate() + + logger.removeHandler(handler) + handler.flush() + + logs = log_stream.getvalue() + assert LOG_MESSAGE in logs diff --git a/tests/hello/hello_standalone_activity_test.py b/tests/hello/hello_standalone_activity_test.py new file mode 100644 index 000000000..d40b09fa4 --- /dev/null +++ b/tests/hello/hello_standalone_activity_test.py @@ -0,0 +1,31 @@ +import uuid +from concurrent.futures import ThreadPoolExecutor +from datetime import timedelta + +import pytest +from temporalio.client import Client +from temporalio.worker import Worker + +from hello_standalone_activity.my_activity import ComposeGreetingInput, compose_greeting + + +async def test_execute_standalone_activity(client: Client): + pytest.skip( + "Standalone Activity is not yet supported by `temporal server start-dev`" + ) + task_queue_name = str(uuid.uuid4()) + + async with Worker( + client, + task_queue=task_queue_name, + activities=[compose_greeting], + activity_executor=ThreadPoolExecutor(5), + ): + result = await client.execute_activity( + compose_greeting, + args=[ComposeGreetingInput("Hello", "World")], + id=str(uuid.uuid4()), + task_queue=task_queue_name, + start_to_close_timeout=timedelta(seconds=10), + ) + assert result == "Hello, World!" diff --git a/tests/hello/hello_update_test.py b/tests/hello/hello_update_test.py new file mode 100644 index 000000000..f7664ecb3 --- /dev/null +++ b/tests/hello/hello_update_test.py @@ -0,0 +1,25 @@ +import uuid + +import pytest +from temporalio.client import Client, WorkflowExecutionStatus +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from hello.hello_update import GreetingWorkflow + + +async def test_update_workflow(client: Client, env: WorkflowEnvironment): + task_queue_name = str(uuid.uuid4()) + async with Worker(client, task_queue=task_queue_name, workflows=[GreetingWorkflow]): + handle = await client.start_workflow( + GreetingWorkflow.run, id=str(uuid.uuid4()), task_queue=task_queue_name + ) + + assert WorkflowExecutionStatus.RUNNING == (await handle.describe()).status + + update_result = await handle.execute_update( + GreetingWorkflow.update_workflow_status + ) + assert "Workflow status updated" == update_result + assert "Hello, World!" == (await handle.result()) + assert WorkflowExecutionStatus.COMPLETED == (await handle.describe()).status diff --git a/tests/hello_nexus/hello_nexus_test.py b/tests/hello_nexus/hello_nexus_test.py new file mode 100644 index 000000000..fecfe17cb --- /dev/null +++ b/tests/hello_nexus/hello_nexus_test.py @@ -0,0 +1,48 @@ +import asyncio +import sys + +import pytest +from temporalio.client import Client +from temporalio.testing import WorkflowEnvironment + +import hello_nexus.caller.app +import hello_nexus.caller.workflows +import hello_nexus.handler.worker +from tests.helpers.nexus import create_nexus_endpoint, delete_nexus_endpoint + + +async def test_nexus_service_basic(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip("Nexus tests don't work under the Java test server") + + if sys.version_info[:2] < (3, 10): + pytest.skip("Sample is written for Python >= 3.10") + + create_response = await create_nexus_endpoint( + name=hello_nexus.caller.workflows.NEXUS_ENDPOINT, + task_queue=hello_nexus.handler.worker.TASK_QUEUE, + client=client, + ) + try: + handler_worker_task = asyncio.create_task( + hello_nexus.handler.worker.main( + client, + ) + ) + await asyncio.sleep(1) + results = await hello_nexus.caller.app.execute_caller_workflow( + client, + ) + hello_nexus.handler.worker.interrupt_event.set() + await handler_worker_task + hello_nexus.handler.worker.interrupt_event.clear() + assert [r.message for r in results] == [ + "Hello world from sync operation!", + "Hello world from workflow run operation!", + ] + finally: + await delete_nexus_endpoint( + id=create_response.endpoint.id, + version=create_response.endpoint.version, + client=client, + ) diff --git a/tests/helpers/__init__.py b/tests/helpers/__init__.py new file mode 100644 index 000000000..a387e5291 --- /dev/null +++ b/tests/helpers/__init__.py @@ -0,0 +1,24 @@ +import asyncio +import time +from collections.abc import Awaitable, Callable +from datetime import timedelta +from typing import TypeVar + +T = TypeVar("T") + + +async def assert_eventually( + fn: Callable[[], Awaitable[T]], + *, + timeout: timedelta = timedelta(seconds=10), + interval: timedelta = timedelta(milliseconds=200), +) -> T: + start_sec = time.monotonic() + while True: + try: + res = await fn() + return res + except AssertionError: + if timedelta(seconds=time.monotonic() - start_sec) >= timeout: + raise + await asyncio.sleep(interval.total_seconds()) diff --git a/tests/helpers/nexus.py b/tests/helpers/nexus.py new file mode 100644 index 000000000..b9ce68995 --- /dev/null +++ b/tests/helpers/nexus.py @@ -0,0 +1,36 @@ +import temporalio.api +import temporalio.api.nexus +import temporalio.api.nexus.v1 +import temporalio.api.operatorservice +import temporalio.api.operatorservice.v1 +from temporalio.client import Client + + +# TODO: copied from sdk-python tests/helpers/nexus +async def create_nexus_endpoint( + name: str, task_queue: str, client: Client +) -> temporalio.api.operatorservice.v1.CreateNexusEndpointResponse: + return await client.operator_service.create_nexus_endpoint( + temporalio.api.operatorservice.v1.CreateNexusEndpointRequest( + spec=temporalio.api.nexus.v1.EndpointSpec( + name=name, + target=temporalio.api.nexus.v1.EndpointTarget( + worker=temporalio.api.nexus.v1.EndpointTarget.Worker( + namespace=client.namespace, + task_queue=task_queue, + ) + ), + ) + ) + ) + + +async def delete_nexus_endpoint( + id: str, version: int, client: Client +) -> temporalio.api.operatorservice.v1.DeleteNexusEndpointResponse: + return await client.operator_service.delete_nexus_endpoint( + temporalio.api.operatorservice.v1.DeleteNexusEndpointRequest( + id=id, + version=version, + ) + ) diff --git a/tests/langfuse_tracing/__init__.py b/tests/langfuse_tracing/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/langfuse_tracing/conftest.py b/tests/langfuse_tracing/conftest.py new file mode 100644 index 000000000..3a542c9e4 --- /dev/null +++ b/tests/langfuse_tracing/conftest.py @@ -0,0 +1,19 @@ +from typing import Iterator + +import opentelemetry.trace +import pytest +from opentelemetry.util._once import Once + + +@pytest.fixture +def reset_otel_tracer_provider() -> Iterator[None]: + """Reset global OpenTelemetry tracer provider state around a test. + + OpenTelemetry only allows the global tracer provider to be set once per + process; tests that install their own provider need this reset. + """ + opentelemetry.trace._TRACER_PROVIDER_SET_ONCE = Once() + opentelemetry.trace._TRACER_PROVIDER = None + yield + opentelemetry.trace._TRACER_PROVIDER_SET_ONCE = Once() + opentelemetry.trace._TRACER_PROVIDER = None diff --git a/tests/langfuse_tracing/helpers.py b/tests/langfuse_tracing/helpers.py new file mode 100644 index 000000000..7c224ae9b --- /dev/null +++ b/tests/langfuse_tracing/helpers.py @@ -0,0 +1,30 @@ +"""Test helpers for the langfuse_tracing sample tests.""" + +from typing import Iterable, List, Optional + +from opentelemetry.sdk.trace import ReadableSpan + + +def dump_spans( + spans: Iterable[ReadableSpan], + *, + parent_id: Optional[int] = None, + indent_depth: int = 0, +) -> List[str]: + """Render spans as an indented tree, one line per span. + + Mirrors the helper used by the Temporal Python SDK's own OpenTelemetry + tests so span hierarchies can be asserted with a whole-tree equality. + """ + ret: List[str] = [] + for span in spans: + if (not span.parent and parent_id is None) or ( + span.parent and span.parent.span_id == parent_id + ): + ret.append(f"{' ' * indent_depth}{span.name}") + ret += dump_spans( + spans, + parent_id=span.context.span_id if span.context else None, + indent_depth=indent_depth + 1, + ) + return ret diff --git a/tests/langfuse_tracing/test_ticket_triage.py b/tests/langfuse_tracing/test_ticket_triage.py new file mode 100644 index 000000000..315a4d1ac --- /dev/null +++ b/tests/langfuse_tracing/test_ticket_triage.py @@ -0,0 +1,167 @@ +"""Tests for the ticket triage sample. + +These run without Langfuse or an LLM: the LLM activities are mocked (each +opens a custom span to prove trace context propagates into activities) and +spans are captured with an in-memory exporter. The worker runs with the +workflow cache disabled, so every workflow task replays the workflow from the +start of history — asserting the whole span tree with deep equality proves +spans are emitted exactly once despite replay. +""" + +import uuid +from typing import Any + +import opentelemetry.trace +from opentelemetry import trace +from opentelemetry.sdk.trace.export import SimpleSpanProcessor +from opentelemetry.sdk.trace.export.in_memory_span_exporter import InMemorySpanExporter +from temporalio import activity +from temporalio.client import Client +from temporalio.contrib.opentelemetry import OpenTelemetryPlugin, create_tracer_provider +from temporalio.worker import Replayer, Worker + +from langfuse_tracing.ticket_triage.activities import ( + AccountInfo, + ApprovalDecision, + Classification, + DraftReplyInput, + Ticket, +) +from langfuse_tracing.ticket_triage.workflows import TicketTriageWorkflow +from tests.langfuse_tracing.helpers import dump_spans + +TICKET = Ticket( + ticket_id="T-1", + customer_email="ada@acme.example", + subject="Charged twice", + body="Please refund the duplicate charge.", +) + + +@activity.defn(name="classify_ticket") +async def classify_ticket_mocked(ticket: Ticket) -> Classification: + with trace.get_tracer(__name__).start_as_current_span("mock llm classify"): + return Classification(category="billing", priority="high") + + +@activity.defn(name="lookup_account") +async def lookup_account_mocked(customer_email: str) -> AccountInfo: + with trace.get_tracer(__name__).start_as_current_span("mock account lookup"): + return AccountInfo( + customer_email=customer_email, account_name="Acme Corp", plan="enterprise" + ) + + +@activity.defn(name="draft_reply") +async def draft_reply_mocked(input: DraftReplyInput) -> str: + with trace.get_tracer(__name__).start_as_current_span("mock llm draft"): + return "Sorry about that - refund on the way." + + +def _install_in_memory_exporter() -> InMemorySpanExporter: + exporter = InMemorySpanExporter() + provider = create_tracer_provider() + provider.add_span_processor(SimpleSpanProcessor(exporter)) + opentelemetry.trace.set_tracer_provider(provider) + return exporter + + +def _client_with_plugin(client: Client) -> Client: + config = client.config() + config["plugins"] = [OpenTelemetryPlugin(add_temporal_spans=True)] + return Client(**config) + + +async def _run_workflow(client: Client, task_queue: str, approved: bool) -> Any: + handle = await client.start_workflow( + TicketTriageWorkflow.run, + TICKET, + id=f"ticket-triage-test-{uuid.uuid4()}", + task_queue=task_queue, + ) + await handle.execute_update( + TicketTriageWorkflow.approve, + ApprovalDecision(approved=approved, reviewer="test-reviewer"), + ) + await handle.result() + return handle + + +EXPECTED_APPROVED = [ + "ticket-triage test", + " StartWorkflow:TicketTriageWorkflow", + " RunWorkflow:TicketTriageWorkflow", + " triage", + " StartActivity:classify_ticket", + " RunActivity:classify_ticket", + " mock llm classify", + " StartActivity:lookup_account", + " RunActivity:lookup_account", + " mock account lookup", + " StartActivity:draft_reply", + " RunActivity:draft_reply", + " mock llm draft", + " StartWorkflowUpdate:approve", + " ValidateUpdate:approve", + " HandleUpdate:approve", +] + + +async def test_spans_emitted_exactly_once_under_replay_stress( + client: Client, reset_otel_tracer_provider: Any +) -> None: + exporter = _install_in_memory_exporter() + new_client = _client_with_plugin(client) + task_queue = f"tq-{uuid.uuid4()}" + + async with Worker( + new_client, + task_queue=task_queue, + workflows=[TicketTriageWorkflow], + activities=[classify_ticket_mocked, lookup_account_mocked, draft_reply_mocked], + # Disable the workflow cache: every workflow task replays the workflow + # from the start of history. Tracing must still emit each span once. + max_cached_workflows=0, + ): + with trace.get_tracer(__name__).start_as_current_span("ticket-triage test"): + handle = await _run_workflow(new_client, task_queue, approved=True) + + spans = exporter.get_finished_spans() + assert dump_spans(spans) == EXPECTED_APPROVED + span_ids = [s.context.span_id for s in spans if s.context] + assert len(set(span_ids)) == len(span_ids) + + # Replaying the finished workflow's real history must emit zero new spans. + history = await handle.fetch_history() + before = len(exporter.get_finished_spans()) + replayer = Replayer( + workflows=[TicketTriageWorkflow], + plugins=[OpenTelemetryPlugin(add_temporal_spans=True)], + ) + await replayer.replay_workflow(history) + assert len(exporter.get_finished_spans()) == before + + +async def test_declined_path_span_tree( + client: Client, reset_otel_tracer_provider: Any +) -> None: + exporter = _install_in_memory_exporter() + new_client = _client_with_plugin(client) + task_queue = f"tq-{uuid.uuid4()}" + + async with Worker( + new_client, + task_queue=task_queue, + workflows=[TicketTriageWorkflow], + activities=[classify_ticket_mocked, lookup_account_mocked, draft_reply_mocked], + max_cached_workflows=0, + ): + with trace.get_tracer(__name__).start_as_current_span("ticket-triage test"): + await _run_workflow(new_client, task_queue, approved=False) + + expected = [ + line + for line in EXPECTED_APPROVED + if "draft" not in line # declined tickets never reach draft_reply + ] + assert dump_spans(exporter.get_finished_spans()) == expected diff --git a/tests/langgraph_plugin/__init__.py b/tests/langgraph_plugin/__init__.py new file mode 100644 index 000000000..133a43fdf --- /dev/null +++ b/tests/langgraph_plugin/__init__.py @@ -0,0 +1 @@ +"""LangGraph plugin sample tests.""" diff --git a/tests/langgraph_plugin/continue_as_new_test.py b/tests/langgraph_plugin/continue_as_new_test.py new file mode 100644 index 000000000..71392f5f7 --- /dev/null +++ b/tests/langgraph_plugin/continue_as_new_test.py @@ -0,0 +1,34 @@ +import uuid +from datetime import timedelta + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.continue_as_new.workflow import ( + PipelineInput, + PipelineWorkflow, + make_pipeline_graph, +) + + +async def test_continue_as_new_graph_api(client: Client) -> None: + """Input 10: 10*2=20 -> 20+50=70 -> 70*3=210.""" + task_queue = f"continue-as-new-test-{uuid.uuid4()}" + plugin = LangGraphPlugin(graphs={"pipeline": make_pipeline_graph()}) + + async with Worker( + client, + task_queue=task_queue, + workflows=[PipelineWorkflow], + plugins=[plugin], + ): + result = await client.execute_workflow( + PipelineWorkflow.run, + PipelineInput(data=10), + id=f"continue-as-new-{uuid.uuid4()}", + task_queue=task_queue, + execution_timeout=timedelta(seconds=60), + ) + + assert result == 210 diff --git a/tests/langgraph_plugin/functional_continue_as_new_test.py b/tests/langgraph_plugin/functional_continue_as_new_test.py new file mode 100644 index 000000000..9d627d629 --- /dev/null +++ b/tests/langgraph_plugin/functional_continue_as_new_test.py @@ -0,0 +1,47 @@ +import sys +import uuid +from datetime import timedelta + +import pytest +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.continue_as_new.workflow import ( + PipelineFunctionalWorkflow, + PipelineInput, + activity_options, + all_tasks, + pipeline_entrypoint, +) + +pytestmark = pytest.mark.skipif( + sys.version_info < (3, 11), + reason="LangGraph Functional API requires Python >= 3.11 for async context propagation", +) + + +async def test_functional_continue_as_new(client: Client) -> None: + """Input 10: 10*2=20 -> 20+50=70 -> 70*3=210.""" + task_queue = f"functional-continue-test-{uuid.uuid4()}" + plugin = LangGraphPlugin( + entrypoints={"pipeline": pipeline_entrypoint}, + tasks=all_tasks, + activity_options=activity_options, + ) + + async with Worker( + client, + task_queue=task_queue, + workflows=[PipelineFunctionalWorkflow], + plugins=[plugin], + ): + result = await client.execute_workflow( + PipelineFunctionalWorkflow.run, + PipelineInput(data=10), + id=f"functional-continue-{uuid.uuid4()}", + task_queue=task_queue, + execution_timeout=timedelta(seconds=60), + ) + + assert result == {"result": 210} diff --git a/tests/langgraph_plugin/functional_control_flow_test.py b/tests/langgraph_plugin/functional_control_flow_test.py new file mode 100644 index 000000000..a8fd337af --- /dev/null +++ b/tests/langgraph_plugin/functional_control_flow_test.py @@ -0,0 +1,59 @@ +import sys +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.control_flow.workflow import ( + ControlFlowWorkflow, + activity_options, + all_tasks, + control_flow_pipeline, +) + +pytestmark = pytest.mark.skipif( + sys.version_info < (3, 11), + reason="LangGraph Functional API requires Python >= 3.11 for async context propagation", +) + + +async def test_functional_control_flow(client: Client) -> None: + task_queue = f"functional-control-flow-test-{uuid.uuid4()}" + plugin = LangGraphPlugin( + entrypoints={"control-flow": control_flow_pipeline}, + tasks=all_tasks, + activity_options=activity_options, + ) + + items = [ + "Fix login bug", + "URGENT: Production outage", + "Update README", + "INVALID:", + "Urgent: Security patch", + ] + + async with Worker( + client, + task_queue=task_queue, + workflows=[ControlFlowWorkflow], + plugins=[plugin], + ): + result = await client.execute_workflow( + ControlFlowWorkflow.run, + items, + id=f"functional-control-flow-{uuid.uuid4()}", + task_queue=task_queue, + ) + + # "INVALID:" should be filtered out + assert result["total"] == 4 + # Check urgent vs normal routing + urgent = [r for r in result["results"] if r.startswith("[PRIORITY]")] + normal = [r for r in result["results"] if r.startswith("[STANDARD]")] + assert len(urgent) == 2 + assert len(normal) == 2 + assert "2 urgent" in result["summary"] + assert "2 normal" in result["summary"] diff --git a/tests/langgraph_plugin/functional_hello_world_test.py b/tests/langgraph_plugin/functional_hello_world_test.py new file mode 100644 index 000000000..4603ddbad --- /dev/null +++ b/tests/langgraph_plugin/functional_hello_world_test.py @@ -0,0 +1,43 @@ +import sys +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.hello_world.workflow import ( + HelloWorldFunctionalWorkflow, + activity_options, + all_tasks, + hello_entrypoint, +) + +pytestmark = pytest.mark.skipif( + sys.version_info < (3, 11), + reason="LangGraph Functional API requires Python >= 3.11 for async context propagation", +) + + +async def test_functional_hello_world(client: Client) -> None: + task_queue = f"functional-hello-test-{uuid.uuid4()}" + plugin = LangGraphPlugin( + entrypoints={"hello-world": hello_entrypoint}, + tasks=all_tasks, + activity_options=activity_options, + ) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HelloWorldFunctionalWorkflow], + plugins=[plugin], + ): + result = await client.execute_workflow( + HelloWorldFunctionalWorkflow.run, + "test query", + id=f"functional-hello-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == {"result": "Processed: test query"} diff --git a/tests/langgraph_plugin/functional_human_in_the_loop_test.py b/tests/langgraph_plugin/functional_human_in_the_loop_test.py new file mode 100644 index 000000000..746647f88 --- /dev/null +++ b/tests/langgraph_plugin/functional_human_in_the_loop_test.py @@ -0,0 +1,58 @@ +import asyncio +import sys +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.human_in_the_loop.workflow import ( + ChatbotFunctionalWorkflow, + activity_options, + all_tasks, + chatbot_entrypoint, +) + +pytestmark = pytest.mark.skipif( + sys.version_info < (3, 11), + reason="LangGraph Functional API and interrupt() require Python >= 3.11 for async context propagation", +) + + +async def test_functional_human_in_the_loop_approve(client: Client) -> None: + task_queue = f"functional-hitl-test-{uuid.uuid4()}" + plugin = LangGraphPlugin( + entrypoints={"chatbot": chatbot_entrypoint}, + tasks=all_tasks, + activity_options=activity_options, + ) + + async with Worker( + client, + task_queue=task_queue, + workflows=[ChatbotFunctionalWorkflow], + plugins=[plugin], + ): + handle = await client.start_workflow( + ChatbotFunctionalWorkflow.run, + "test message", + id=f"functional-hitl-{uuid.uuid4()}", + task_queue=task_queue, + ) + + # Poll for draft to be ready + draft = None + for _ in range(40): + await asyncio.sleep(0.25) + draft = await handle.query(ChatbotFunctionalWorkflow.get_draft) + if draft is not None: + break + assert draft is not None + assert "test message" in draft + + # Approve + await handle.signal(ChatbotFunctionalWorkflow.provide_feedback, "approve") + result = await handle.result() + + assert result["response"] == draft diff --git a/tests/langgraph_plugin/functional_react_agent_test.py b/tests/langgraph_plugin/functional_react_agent_test.py new file mode 100644 index 000000000..088cd5c47 --- /dev/null +++ b/tests/langgraph_plugin/functional_react_agent_test.py @@ -0,0 +1,44 @@ +import sys +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.functional_api.react_agent.workflow import ( + ReactAgentFunctionalWorkflow, + activity_options, + all_tasks, + react_agent_entrypoint, +) + +pytestmark = pytest.mark.skipif( + sys.version_info < (3, 11), + reason="LangGraph Functional API requires Python >= 3.11 for async context propagation", +) + + +async def test_functional_react_agent(client: Client) -> None: + task_queue = f"functional-react-agent-test-{uuid.uuid4()}" + plugin = LangGraphPlugin( + entrypoints={"react-agent": react_agent_entrypoint}, + tasks=all_tasks, + activity_options=activity_options, + ) + + async with Worker( + client, + task_queue=task_queue, + workflows=[ReactAgentFunctionalWorkflow], + plugins=[plugin], + ): + result = await client.execute_workflow( + ReactAgentFunctionalWorkflow.run, + "Tell me about San Francisco", + id=f"functional-react-agent-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert "San Francisco" in result["answer"] + assert result["steps"] == 2 # two tool calls diff --git a/tests/langgraph_plugin/hello_world_test.py b/tests/langgraph_plugin/hello_world_test.py new file mode 100644 index 000000000..430989e57 --- /dev/null +++ b/tests/langgraph_plugin/hello_world_test.py @@ -0,0 +1,50 @@ +import uuid + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.hello_world.workflow import ( + HelloWorldWorkflow, + make_hello_graph, +) + + +async def test_hello_world_graph_api(client: Client) -> None: + task_queue = f"hello-world-test-{uuid.uuid4()}" + plugin = LangGraphPlugin(graphs={"hello-world": make_hello_graph()}) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HelloWorldWorkflow], + plugins=[plugin], + ): + result = await client.execute_workflow( + HelloWorldWorkflow.run, + "test query", + id=f"hello-world-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "Processed: test query" + + +async def test_hello_world_empty_string(client: Client) -> None: + task_queue = f"hello-world-empty-test-{uuid.uuid4()}" + plugin = LangGraphPlugin(graphs={"hello-world": make_hello_graph()}) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HelloWorldWorkflow], + plugins=[plugin], + ): + result = await client.execute_workflow( + HelloWorldWorkflow.run, + "", + id=f"hello-world-empty-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "Processed: " diff --git a/tests/langgraph_plugin/human_in_the_loop_test.py b/tests/langgraph_plugin/human_in_the_loop_test.py new file mode 100644 index 000000000..2d0b917f2 --- /dev/null +++ b/tests/langgraph_plugin/human_in_the_loop_test.py @@ -0,0 +1,115 @@ +import asyncio +import sys +import uuid +from unittest.mock import patch + +import pytest +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.human_in_the_loop.workflow import ( + ChatbotWorkflow, + make_chatbot_graph, +) + +pytestmark = pytest.mark.skipif( + sys.version_info < (3, 11), + reason="langgraph.types.interrupt() requires Python >= 3.11 for async context propagation", +) + + +class _FakeMessage: + def __init__(self, content: str) -> None: + self.content = content + + +class _EchoModel: + """Stand-in for a chat model that echoes the prompt back as its response.""" + + async def ainvoke(self, prompt: str) -> _FakeMessage: + return _FakeMessage(prompt) + + +def _fake_init_chat_model(*args: object, **kwargs: object) -> _EchoModel: + return _EchoModel() + + +_patch_llm = lambda: patch( + "langgraph_plugin.graph_api.human_in_the_loop.workflow.init_chat_model", + _fake_init_chat_model, +) + + +async def test_human_in_the_loop_approve(client: Client) -> None: + task_queue = f"hitl-test-{uuid.uuid4()}" + plugin = LangGraphPlugin(graphs={"chatbot": make_chatbot_graph()}) + + with _patch_llm(): + async with Worker( + client, + task_queue=task_queue, + workflows=[ChatbotWorkflow], + plugins=[plugin], + ): + handle = await client.start_workflow( + ChatbotWorkflow.run, + "test message", + id=f"hitl-{uuid.uuid4()}", + task_queue=task_queue, + ) + + # Poll for draft to be ready + draft = None + for _ in range(40): + await asyncio.sleep(0.25) + draft = await handle.query(ChatbotWorkflow.get_draft) + if draft is not None: + break + assert draft is not None + assert "test message" in draft + + # Approve + await handle.signal(ChatbotWorkflow.provide_feedback, "approve") + result = await handle.result() + + assert result == draft # approved draft returned as-is + + +async def test_human_in_the_loop_revise(client: Client) -> None: + task_queue = f"hitl-revise-test-{uuid.uuid4()}" + plugin = LangGraphPlugin(graphs={"chatbot": make_chatbot_graph()}) + + with _patch_llm(): + async with Worker( + client, + task_queue=task_queue, + workflows=[ChatbotWorkflow], + plugins=[plugin], + ): + handle = await client.start_workflow( + ChatbotWorkflow.run, + "test message", + id=f"hitl-revise-{uuid.uuid4()}", + task_queue=task_queue, + ) + + # Poll for draft + draft = None + for _ in range(40): + await asyncio.sleep(0.25) + draft = await handle.query(ChatbotWorkflow.get_draft) + if draft is not None: + break + assert draft is not None + + # Send revision feedback + await handle.signal( + ChatbotWorkflow.provide_feedback, "please be more concise" + ) + result = await handle.result() + + # The revision node feeds the draft and feedback into the LLM; the echo + # stand-in returns the revision prompt, which contains both. + assert "please be more concise" in result + assert "test message" in result diff --git a/tests/langgraph_plugin/react_agent_test.py b/tests/langgraph_plugin/react_agent_test.py new file mode 100644 index 000000000..e9db3ec6a --- /dev/null +++ b/tests/langgraph_plugin/react_agent_test.py @@ -0,0 +1,32 @@ +import uuid + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.react_agent.workflow import ( + ReactAgentWorkflow, + make_agent_graph, +) + + +async def test_react_agent_graph_api(client: Client) -> None: + task_queue = f"react-agent-test-{uuid.uuid4()}" + plugin = LangGraphPlugin(graphs={"react-agent": make_agent_graph()}) + + async with Worker( + client, + task_queue=task_queue, + workflows=[ReactAgentWorkflow], + plugins=[plugin], + ): + result = await client.execute_workflow( + ReactAgentWorkflow.run, + "Tell me about San Francisco", + id=f"react-agent-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert "San Francisco" in result + assert "72" in result or "weather" in result.lower() + assert "870,000" in result or "population" in result.lower() diff --git a/tests/langgraph_plugin/streaming_test.py b/tests/langgraph_plugin/streaming_test.py new file mode 100644 index 000000000..80c5047b8 --- /dev/null +++ b/tests/langgraph_plugin/streaming_test.py @@ -0,0 +1,71 @@ +import uuid +from datetime import timedelta +from typing import Any + +from temporalio.client import Client +from temporalio.contrib.langgraph import LangGraphPlugin +from temporalio.contrib.workflow_streams import WorkflowStreamClient +from temporalio.worker import Worker + +from langgraph_plugin.graph_api.streaming.workflow import ( + StreamingWorkflow, + make_streaming_graph, +) + + +async def test_streaming_graph_api(client: Client) -> None: + task_queue = f"streaming-test-{uuid.uuid4()}" + plugin = LangGraphPlugin( + graphs={"streaming": make_streaming_graph()}, + streaming_topic="tokens", + ) + + async with Worker( + client, + task_queue=task_queue, + workflows=[StreamingWorkflow], + plugins=[plugin], + ): + handle = await client.start_workflow( + StreamingWorkflow.run, + "a brave robot", + id=f"streaming-{uuid.uuid4()}", + task_queue=task_queue, + ) + + ws = WorkflowStreamClient.create(client, handle.id) + tokens: list[dict[str, Any]] = [] + progress: list[dict[str, Any]] = [] + async for item in ws.subscribe( + from_offset=0, + result_type=dict, + poll_cooldown=timedelta(milliseconds=10), + ): + if item.topic == "tokens": + tokens.append(item.data) + elif item.topic == "progress": + if item.data.get("done"): + await handle.signal(StreamingWorkflow.ack_stream) + break + progress.append(item.data) + + result = await handle.result() + + # Tokens reassemble into the final story. Streaming is at-least-once per + # activity attempt, so dedupe on seq (keeping first-seen order) before + # reassembling, exactly as an idempotent consumer would. + assert tokens, "expected at least one token" + assert all("seq" in t and "token" in t for t in tokens) + seen: set[int] = set() + deduped: list[dict[str, Any]] = [] + for t in tokens: + if t["seq"] not in seen: + seen.add(t["seq"]) + deduped.append(t) + assembled = "".join(t["token"] for t in deduped).strip() + assert assembled == result + + # Workflow-side astream publish: one chunk per node, in order. + assert [list(chunk)[0] for chunk in progress] == ["outline", "write_story"] + assert result == progress[-1]["write_story"]["story"] + assert "a brave robot" in result diff --git a/tests/langsmith_tracing/__init__.py b/tests/langsmith_tracing/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/langsmith_tracing/conftest.py b/tests/langsmith_tracing/conftest.py new file mode 100644 index 000000000..d66384f80 --- /dev/null +++ b/tests/langsmith_tracing/conftest.py @@ -0,0 +1,21 @@ +"""Shared fixtures for LangSmith tracing tests.""" + +from unittest.mock import MagicMock + +import pytest + + +@pytest.fixture +def mock_ls_client() -> MagicMock: + """Return a mock ``langsmith.Client`` that never makes network calls. + + The samples tests don't assert on trace output — the LangSmith plugin + just needs *some* client object to wire into the worker. ``MagicMock`` + auto-stubs every method the interceptor calls; the explicit ``session`` + and ``tracing_queue`` stubs match what the langsmith library touches + internally. + """ + client = MagicMock() + client.session = MagicMock() + client.tracing_queue = MagicMock() + return client diff --git a/tests/langsmith_tracing/helpers.py b/tests/langsmith_tracing/helpers.py new file mode 100644 index 000000000..afd3d1c4f --- /dev/null +++ b/tests/langsmith_tracing/helpers.py @@ -0,0 +1,8 @@ +"""Shared test helpers for LangSmith tracing tests.""" + +from langsmith_tracing.chatbot.activities import ChatResponse + + +def make_text_response(text: str) -> ChatResponse: + """Build a minimal ChatResponse with a text output.""" + return ChatResponse(id="resp_mock", output_text=text) diff --git a/tests/langsmith_tracing/test_basic.py b/tests/langsmith_tracing/test_basic.py new file mode 100644 index 000000000..cef49054a --- /dev/null +++ b/tests/langsmith_tracing/test_basic.py @@ -0,0 +1,37 @@ +import uuid +from unittest.mock import MagicMock + +from temporalio import activity +from temporalio.client import Client +from temporalio.contrib.langsmith import LangSmithPlugin +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from langsmith_tracing.basic.activities import OpenAIRequest +from langsmith_tracing.basic.workflows import BasicLLMWorkflow + + +async def test_basic_workflow( + client: Client, env: WorkflowEnvironment, mock_ls_client: MagicMock +): + expected_text = "Temporal is a durable execution platform." + + @activity.defn(name="call_openai") + async def mock_call_openai(request: OpenAIRequest) -> str: + return expected_text + + async with Worker( + client, + task_queue="test-langsmith-basic", + workflows=[BasicLLMWorkflow], + activities=[mock_call_openai], + plugins=[LangSmithPlugin(client=mock_ls_client)], + ): + result = await client.execute_workflow( + BasicLLMWorkflow.run, + "What is Temporal?", + id=f"test-basic-{uuid.uuid4().hex[:8]}", + task_queue="test-langsmith-basic", + ) + + assert result == expected_text diff --git a/tests/langsmith_tracing/test_chatbot.py b/tests/langsmith_tracing/test_chatbot.py new file mode 100644 index 000000000..88d98202a --- /dev/null +++ b/tests/langsmith_tracing/test_chatbot.py @@ -0,0 +1,124 @@ +import json +import uuid +from unittest.mock import MagicMock + +from temporalio import activity +from temporalio.client import Client +from temporalio.contrib.langsmith import LangSmithPlugin +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from langsmith_tracing.chatbot.activities import ChatResponse, OpenAIRequest, ToolCall +from langsmith_tracing.chatbot.workflows import ChatbotWorkflow +from tests.langsmith_tracing.helpers import make_text_response + + +def _make_function_call_response( + name: str, arguments: dict, call_id: str = "call_123" +) -> ChatResponse: + return ChatResponse( + id="resp_tool", + tool_calls=[ + ToolCall( + call_id=call_id, + name=name, + arguments=json.dumps(arguments), + ) + ], + ) + + +async def test_chatbot_save_note( + client: Client, env: WorkflowEnvironment, mock_ls_client: MagicMock +): + """Test save_note tool call loop — save_note runs as a workflow method.""" + call_count = 0 + + @activity.defn(name="call_openai") + async def mock_call_openai(request: OpenAIRequest) -> ChatResponse: + nonlocal call_count + call_count += 1 + if call_count == 1: + return _make_function_call_response( + name="save_note", + arguments={"name": "greeting", "content": "Hello world"}, + ) + return make_text_response("Note saved successfully!") + + async with Worker( + client, + task_queue="test-langsmith-chatbot", + workflows=[ChatbotWorkflow], + activities=[mock_call_openai], + plugins=[LangSmithPlugin(client=mock_ls_client)], + ): + wf_handle = await client.start_workflow( + ChatbotWorkflow.run, + id=f"test-chatbot-{uuid.uuid4().hex[:8]}", + task_queue="test-langsmith-chatbot", + ) + + response = await wf_handle.execute_update( + ChatbotWorkflow.message_from_user, "Save a note" + ) + assert response == "Note saved successfully!" + + notes = await wf_handle.query(ChatbotWorkflow.notes) + assert notes == {"greeting": "Hello world"} + + await wf_handle.signal(ChatbotWorkflow.exit) + result = await wf_handle.result() + assert result == "Session ended." + + +async def test_chatbot_read_note( + client: Client, env: WorkflowEnvironment, mock_ls_client: MagicMock +): + """Test read_note tool call loop — saves a note first, then reads it back.""" + call_count = 0 + + @activity.defn(name="call_openai") + async def mock_call_openai(request: OpenAIRequest) -> ChatResponse: + nonlocal call_count + call_count += 1 + if call_count == 1: + return _make_function_call_response( + name="save_note", + arguments={"name": "todo", "content": "Buy milk"}, + call_id="call_save", + ) + if call_count == 2: + return make_text_response("Saved your todo!") + if call_count == 3: + return _make_function_call_response( + name="read_note", + arguments={"name": "todo"}, + call_id="call_read", + ) + return make_text_response("Your todo says: Buy milk") + + async with Worker( + client, + task_queue="test-langsmith-chatbot-read", + workflows=[ChatbotWorkflow], + activities=[mock_call_openai], + plugins=[LangSmithPlugin(client=mock_ls_client)], + ): + wf_handle = await client.start_workflow( + ChatbotWorkflow.run, + id=f"test-chatbot-read-{uuid.uuid4().hex[:8]}", + task_queue="test-langsmith-chatbot-read", + ) + + response = await wf_handle.execute_update( + ChatbotWorkflow.message_from_user, "Save my todo" + ) + assert response == "Saved your todo!" + + response = await wf_handle.execute_update( + ChatbotWorkflow.message_from_user, "Read my todo" + ) + assert response == "Your todo says: Buy milk" + + await wf_handle.signal(ChatbotWorkflow.exit) + await wf_handle.result() diff --git a/tests/litellm_activity/__init__.py b/tests/litellm_activity/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/litellm_activity/activity_test.py b/tests/litellm_activity/activity_test.py new file mode 100644 index 000000000..e8cde1158 --- /dev/null +++ b/tests/litellm_activity/activity_test.py @@ -0,0 +1,45 @@ +from typing import Any + +import pytest +from litellm import ModelResponse + +from litellm_activity import activities +from litellm_activity.shared import LLMRequest + + +async def test_call_litellm(monkeypatch: pytest.MonkeyPatch) -> None: + captured: dict[str, Any] = {} + + async def mock_acompletion(**kwargs: Any) -> ModelResponse: + captured.update(kwargs) + return ModelResponse( + model="test-model", + choices=[ + { + "index": 0, + "finish_reason": "stop", + "message": {"role": "assistant", "content": "Hello from LiteLLM"}, + } + ], + ) + + monkeypatch.setattr(activities, "acompletion", mock_acompletion) + + result = await activities.call_litellm( + LLMRequest( + prompt="Hello", + model="test/model", + system_prompt="Be concise.", + ) + ) + + assert result == "Hello from LiteLLM" + assert captured == { + "model": "test/model", + "messages": [ + {"role": "system", "content": "Be concise."}, + {"role": "user", "content": "Hello"}, + ], + "timeout": 30, + "num_retries": 0, + } diff --git a/tests/litellm_activity/workflow_test.py b/tests/litellm_activity/workflow_test.py new file mode 100644 index 000000000..739de2c7f --- /dev/null +++ b/tests/litellm_activity/workflow_test.py @@ -0,0 +1,34 @@ +import uuid + +from temporalio import activity +from temporalio.client import Client +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from litellm_activity.shared import LLMRequest +from litellm_activity.workflow import LiteLLMWorkflow + + +async def test_litellm_workflow(client: Client, env: WorkflowEnvironment) -> None: + expected = "Temporal makes LLM calls durable." + + @activity.defn(name="call_litellm") + async def mock_call_litellm(request: LLMRequest) -> str: + assert request.prompt == "What does Temporal add to LLM calls?" + return expected + + task_queue = f"test-litellm-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[LiteLLMWorkflow], + activities=[mock_call_litellm], + ): + result = await client.execute_workflow( + LiteLLMWorkflow.run, + LLMRequest(prompt="What does Temporal add to LLM calls?"), + id=f"test-litellm-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == expected diff --git a/tests/message_passing/introduction/test_introduction_sample.py b/tests/message_passing/introduction/test_introduction_sample.py new file mode 100644 index 000000000..17c1b14dc --- /dev/null +++ b/tests/message_passing/introduction/test_introduction_sample.py @@ -0,0 +1,125 @@ +import uuid + +import pytest +from temporalio.client import Client, WorkflowUpdateFailedError +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from message_passing.introduction.starter import TASK_QUEUE +from message_passing.introduction.workflows import ( + GetLanguagesInput, + GreetingWorkflow, + Language, + SetLanguageInput, + call_greeting_service, +) + + +async def test_queries(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + ) + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[GreetingWorkflow], + ): + wf_handle = await client.start_workflow( + GreetingWorkflow.run, + id=str(uuid.uuid4()), + task_queue=TASK_QUEUE, + ) + assert await wf_handle.query(GreetingWorkflow.get_language) == Language.ENGLISH + assert await wf_handle.query( + GreetingWorkflow.get_languages, GetLanguagesInput(include_unsupported=False) + ) == [Language.CHINESE, Language.ENGLISH] + assert await wf_handle.query( + GreetingWorkflow.get_languages, GetLanguagesInput(include_unsupported=True) + ) == [ + Language.ARABIC, + Language.CHINESE, + Language.ENGLISH, + Language.FRENCH, + Language.HINDI, + Language.PORTUGUESE, + Language.SPANISH, + ] + + +async def test_set_language(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + ) + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[GreetingWorkflow], + ): + wf_handle = await client.start_workflow( + GreetingWorkflow.run, + id=str(uuid.uuid4()), + task_queue=TASK_QUEUE, + ) + assert await wf_handle.query(GreetingWorkflow.get_language) == Language.ENGLISH + previous_language = await wf_handle.execute_update( + GreetingWorkflow.set_language, SetLanguageInput(language=Language.CHINESE) + ) + assert previous_language == Language.ENGLISH + assert await wf_handle.query(GreetingWorkflow.get_language) == Language.CHINESE + + +async def test_set_invalid_language(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + ) + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[GreetingWorkflow], + ): + wf_handle = await client.start_workflow( + GreetingWorkflow.run, + id=str(uuid.uuid4()), + task_queue=TASK_QUEUE, + ) + assert await wf_handle.query(GreetingWorkflow.get_language) == Language.ENGLISH + + with pytest.raises(WorkflowUpdateFailedError): + await wf_handle.execute_update( + GreetingWorkflow.set_language, + SetLanguageInput(language=Language.ARABIC), + ) + + +async def test_set_language_that_is_only_available_via_remote_service( + client: Client, env: WorkflowEnvironment +): + """ + Similar to test_set_invalid_language, but this time Arabic is available + since we use the remote service. + """ + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + ) + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[GreetingWorkflow], + activities=[call_greeting_service], + ): + wf_handle = await client.start_workflow( + GreetingWorkflow.run, + id=str(uuid.uuid4()), + task_queue=TASK_QUEUE, + ) + assert await wf_handle.query(GreetingWorkflow.get_language) == Language.ENGLISH + previous_language = await wf_handle.execute_update( + GreetingWorkflow.set_language_using_activity, + SetLanguageInput(language=Language.ARABIC), + ) + assert previous_language == Language.ENGLISH + assert await wf_handle.query(GreetingWorkflow.get_language) == Language.ARABIC diff --git a/tests/message_passing/lazy_initialization/test_lazy_initialization.py b/tests/message_passing/lazy_initialization/test_lazy_initialization.py new file mode 100644 index 000000000..dcf94582e --- /dev/null +++ b/tests/message_passing/lazy_initialization/test_lazy_initialization.py @@ -0,0 +1,60 @@ +import pytest +from temporalio import common +from temporalio.client import Client, WithStartWorkflowOperation +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from message_passing.update_with_start.lazy_initialization.workflows import ( + ShoppingCartItem, + ShoppingCartWorkflow, + get_price, +) + + +async def test_shopping_cart_workflow(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + ) + async with Worker( + client, + task_queue="lazy-initialization-test", + workflows=[ShoppingCartWorkflow], + activities=[get_price], + ): + cart_id = "cart--session-1234" + make_start_op = lambda: WithStartWorkflowOperation( + ShoppingCartWorkflow.run, + id=cart_id, + id_conflict_policy=common.WorkflowIDConflictPolicy.USE_EXISTING, + task_queue="lazy-initialization-test", + ) + start_op_1 = make_start_op() + price = await client.execute_update_with_start_workflow( + ShoppingCartWorkflow.add_item, + ShoppingCartItem(sku="item-1", quantity=2), + start_workflow_operation=start_op_1, + ) + + assert price == 1198 + + workflow_handle = await start_op_1.workflow_handle() + + start_op_2 = make_start_op() + price = await client.execute_update_with_start_workflow( + ShoppingCartWorkflow.add_item, + ShoppingCartItem(sku="item-2", quantity=1), + start_workflow_operation=start_op_2, + ) + assert price == 1797 + + workflow_handle = await start_op_2.workflow_handle() + + await workflow_handle.signal(ShoppingCartWorkflow.checkout) + + finalized_order = await workflow_handle.result() + assert finalized_order.items == [ + (ShoppingCartItem(sku="item-1", quantity=2), 1198), + (ShoppingCartItem(sku="item-2", quantity=1), 599), + ] + assert finalized_order.total == 1797 diff --git a/tests/message_passing/safe_message_handlers/workflow_test.py b/tests/message_passing/safe_message_handlers/workflow_test.py new file mode 100644 index 000000000..8fd28d8dd --- /dev/null +++ b/tests/message_passing/safe_message_handlers/workflow_test.py @@ -0,0 +1,170 @@ +import asyncio +import uuid +from typing import Callable, Sequence + +import pytest +from temporalio.client import Client, WorkflowUpdateFailedError +from temporalio.exceptions import ApplicationError +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from message_passing.safe_message_handlers.activities import ( + assign_nodes_to_job, + find_bad_nodes, + start_cluster, + unassign_nodes_for_job, +) +from message_passing.safe_message_handlers.workflow import ( + ClusterManagerAssignNodesToJobInput, + ClusterManagerDeleteJobInput, + ClusterManagerInput, + ClusterManagerWorkflow, +) + +ACTIVITIES: Sequence[Callable] = [ + assign_nodes_to_job, + unassign_nodes_for_job, + find_bad_nodes, + start_cluster, +] + + +async def test_safe_message_handlers(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + ) + task_queue = f"tq-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[ClusterManagerWorkflow], + activities=ACTIVITIES, + ): + cluster_manager_handle = await client.start_workflow( + ClusterManagerWorkflow.run, + ClusterManagerInput(), + id=f"ClusterManagerWorkflow-{uuid.uuid4()}", + task_queue=task_queue, + ) + await cluster_manager_handle.execute_update( + ClusterManagerWorkflow.wait_until_cluster_started + ) + + allocation_updates = [] + for i in range(6): + allocation_updates.append( + cluster_manager_handle.execute_update( + ClusterManagerWorkflow.assign_nodes_to_job, + ClusterManagerAssignNodesToJobInput( + total_num_nodes=2, job_name=f"task-{i}" + ), + ) + ) + results = await asyncio.gather(*allocation_updates) + for result in results: + assert len(result.nodes_assigned) == 2 + + await asyncio.sleep(1) + + deletion_updates = [] + for i in range(6): + deletion_updates.append( + cluster_manager_handle.execute_update( + ClusterManagerWorkflow.delete_job, + ClusterManagerDeleteJobInput(job_name=f"task-{i}"), + ) + ) + await asyncio.gather(*deletion_updates) + + await cluster_manager_handle.signal(ClusterManagerWorkflow.shutdown_cluster) + + cluster_manager_result = await cluster_manager_handle.result() + assert cluster_manager_result.num_currently_assigned_nodes == 0 + + +async def test_update_idempotency(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + ) + task_queue = f"tq-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[ClusterManagerWorkflow], + activities=ACTIVITIES, + ): + cluster_manager_handle = await client.start_workflow( + ClusterManagerWorkflow.run, + ClusterManagerInput(), + id=f"ClusterManagerWorkflow-{uuid.uuid4()}", + task_queue=task_queue, + ) + + await cluster_manager_handle.execute_update( + ClusterManagerWorkflow.wait_until_cluster_started + ) + + result_1 = await cluster_manager_handle.execute_update( + ClusterManagerWorkflow.assign_nodes_to_job, + ClusterManagerAssignNodesToJobInput( + total_num_nodes=5, job_name="jobby-job" + ), + ) + # simulate that in calling it twice, the operation is idempotent + result_2 = await cluster_manager_handle.execute_update( + ClusterManagerWorkflow.assign_nodes_to_job, + ClusterManagerAssignNodesToJobInput( + total_num_nodes=5, job_name="jobby-job" + ), + ) + # the second call should not assign more nodes (it may return fewer if the health check finds bad nodes + # in between the two signals.) + assert result_1.nodes_assigned >= result_2.nodes_assigned + + +async def test_update_failure(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + ) + task_queue = f"tq-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[ClusterManagerWorkflow], + activities=ACTIVITIES, + ): + cluster_manager_handle = await client.start_workflow( + ClusterManagerWorkflow.run, + ClusterManagerInput(), + id=f"ClusterManagerWorkflow-{uuid.uuid4()}", + task_queue=task_queue, + ) + + await cluster_manager_handle.execute_update( + ClusterManagerWorkflow.wait_until_cluster_started + ) + + await cluster_manager_handle.execute_update( + ClusterManagerWorkflow.assign_nodes_to_job, + ClusterManagerAssignNodesToJobInput( + total_num_nodes=24, job_name="big-task" + ), + ) + try: + # Try to assign too many nodes + await cluster_manager_handle.execute_update( + ClusterManagerWorkflow.assign_nodes_to_job, + ClusterManagerAssignNodesToJobInput( + total_num_nodes=3, job_name="little-task" + ), + ) + except WorkflowUpdateFailedError as e: + assert isinstance(e.cause, ApplicationError) + assert e.cause.message == "Cannot assign 3 nodes; have only 1 available" + finally: + await cluster_manager_handle.signal(ClusterManagerWorkflow.shutdown_cluster) + result = await cluster_manager_handle.result() + assert result.num_currently_assigned_nodes + result.num_bad_nodes == 24 diff --git a/tests/message_passing/waiting_for_handlers/waiting_for_handlers_test.py b/tests/message_passing/waiting_for_handlers/waiting_for_handlers_test.py new file mode 100644 index 000000000..e6d200e3a --- /dev/null +++ b/tests/message_passing/waiting_for_handlers/waiting_for_handlers_test.py @@ -0,0 +1,80 @@ +from enum import Enum + +import pytest +from temporalio import client, worker +from temporalio.testing import WorkflowEnvironment + +from message_passing.waiting_for_handlers import WorkflowExitType, WorkflowInput +from message_passing.waiting_for_handlers.activities import ( + activity_executed_by_update_handler, +) +from message_passing.waiting_for_handlers.starter import TASK_QUEUE +from message_passing.waiting_for_handlers.workflows import WaitingForHandlersWorkflow + + +class UpdateExpect(Enum): + SUCCESS = "success" + FAILURE = "failure" + + +class WorkflowExpect(Enum): + SUCCESS = "success" + FAILURE = "failure" + + +@pytest.mark.parametrize( + ["exit_type_name", "update_expect", "workflow_expect"], + [ + (WorkflowExitType.SUCCESS.name, UpdateExpect.SUCCESS, WorkflowExpect.SUCCESS), + (WorkflowExitType.FAILURE.name, UpdateExpect.SUCCESS, WorkflowExpect.FAILURE), + ( + WorkflowExitType.CANCELLATION.name, + UpdateExpect.SUCCESS, + WorkflowExpect.FAILURE, + ), + ], +) +async def test_waiting_for_handlers( + env: WorkflowEnvironment, + exit_type_name: str, + update_expect: UpdateExpect, + workflow_expect: WorkflowExpect, +): + [exit_type] = [t for t in WorkflowExitType if t.name == exit_type_name] + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + ) + async with worker.Worker( + env.client, + task_queue=TASK_QUEUE, + workflows=[WaitingForHandlersWorkflow], + activities=[ + activity_executed_by_update_handler, + ], + ): + wf_handle = await env.client.start_workflow( + WaitingForHandlersWorkflow.run, + WorkflowInput(exit_type=exit_type), + id="waiting-for-handlers-test", + task_queue=TASK_QUEUE, + ) + up_handle = await wf_handle.start_update( + WaitingForHandlersWorkflow.my_update, + wait_for_stage=client.WorkflowUpdateStage.ACCEPTED, + ) + + if exit_type == WorkflowExitType.CANCELLATION: + await wf_handle.cancel() + + if update_expect == UpdateExpect.SUCCESS: + await up_handle.result() + else: + with pytest.raises(client.WorkflowUpdateFailedError): + await up_handle.result() + + if workflow_expect == WorkflowExpect.SUCCESS: + await wf_handle.result() + else: + with pytest.raises(client.WorkflowFailureError): + await wf_handle.result() diff --git a/tests/message_passing/waiting_for_handlers_and_compensation/waiting_for_handlers_and_compensation_test.py b/tests/message_passing/waiting_for_handlers_and_compensation/waiting_for_handlers_and_compensation_test.py new file mode 100644 index 000000000..2b10d3965 --- /dev/null +++ b/tests/message_passing/waiting_for_handlers_and_compensation/waiting_for_handlers_and_compensation_test.py @@ -0,0 +1,106 @@ +import uuid +from enum import Enum + +import pytest +from temporalio import client, worker +from temporalio.testing import WorkflowEnvironment + +from message_passing.waiting_for_handlers_and_compensation import ( + WorkflowExitType, + WorkflowInput, +) +from message_passing.waiting_for_handlers_and_compensation.activities import ( + activity_executed_by_update_handler, + activity_executed_by_update_handler_to_perform_compensation, + activity_executed_to_perform_workflow_compensation, +) +from message_passing.waiting_for_handlers_and_compensation.starter import TASK_QUEUE +from message_passing.waiting_for_handlers_and_compensation.workflows import ( + WaitingForHandlersAndCompensationWorkflow, +) + + +class UpdateExpect(Enum): + SUCCESS = "success" + FAILURE = "failure" + + +class WorkflowExpect(Enum): + SUCCESS = "success" + FAILURE = "failure" + + +@pytest.mark.parametrize( + ["exit_type_name", "update_expect", "workflow_expect"], + [ + (WorkflowExitType.SUCCESS.name, UpdateExpect.SUCCESS, WorkflowExpect.SUCCESS), + (WorkflowExitType.FAILURE.name, UpdateExpect.FAILURE, WorkflowExpect.FAILURE), + ( + WorkflowExitType.CANCELLATION.name, + UpdateExpect.FAILURE, + WorkflowExpect.FAILURE, + ), + ], +) +async def test_waiting_for_handlers_and_compensation( + env: WorkflowEnvironment, + exit_type_name: str, + update_expect: UpdateExpect, + workflow_expect: WorkflowExpect, +): + [exit_type] = [t for t in WorkflowExitType if t.name == exit_type_name] + if env.supports_time_skipping: + pytest.skip( + "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + ) + async with worker.Worker( + env.client, + task_queue=TASK_QUEUE, + workflows=[WaitingForHandlersAndCompensationWorkflow], + activities=[ + activity_executed_by_update_handler, + activity_executed_by_update_handler_to_perform_compensation, + activity_executed_to_perform_workflow_compensation, + ], + ): + wf_handle = await env.client.start_workflow( + WaitingForHandlersAndCompensationWorkflow.run, + WorkflowInput(exit_type=exit_type), + id=str(uuid.uuid4()), + task_queue=TASK_QUEUE, + ) + up_handle = await wf_handle.start_update( + WaitingForHandlersAndCompensationWorkflow.my_update, + wait_for_stage=client.WorkflowUpdateStage.ACCEPTED, + ) + + if exit_type == WorkflowExitType.CANCELLATION: + await wf_handle.cancel() + + if update_expect == UpdateExpect.SUCCESS: + await up_handle.result() + assert not ( + await wf_handle.query( + WaitingForHandlersAndCompensationWorkflow.update_compensation_done + ) + ) + else: + with pytest.raises(client.WorkflowUpdateFailedError): + await up_handle.result() + assert await wf_handle.query( + WaitingForHandlersAndCompensationWorkflow.update_compensation_done + ) + + if workflow_expect == WorkflowExpect.SUCCESS: + await wf_handle.result() + assert not ( + await wf_handle.query( + WaitingForHandlersAndCompensationWorkflow.workflow_compensation_done + ) + ) + else: + with pytest.raises(client.WorkflowFailureError): + await wf_handle.result() + assert await wf_handle.query( + WaitingForHandlersAndCompensationWorkflow.workflow_compensation_done + ) diff --git a/tests/nexus_messaging/callerpattern_test.py b/tests/nexus_messaging/callerpattern_test.py new file mode 100644 index 000000000..d14b4c29e --- /dev/null +++ b/tests/nexus_messaging/callerpattern_test.py @@ -0,0 +1,119 @@ +import asyncio +import uuid +from typing import Type + +import pytest +from temporalio import workflow +from temporalio.client import Client +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +import nexus_messaging.callerpattern.handler.worker +from nexus_messaging.callerpattern.caller.workflows import CallerWorkflow +from nexus_messaging.callerpattern.service import ( + GetLanguageInput, + GetLanguagesInput, + Language, + NexusGreetingService, + SetLanguageInput, +) +from tests.helpers.nexus import create_nexus_endpoint, delete_nexus_endpoint + +NEXUS_ENDPOINT = "nexus-messaging-nexus-endpoint" + + +@workflow.defn +class TestCallerWorkflow: + """Test workflow that calls Nexus operations and makes assertions.""" + + @workflow.run + async def run(self, user_id: str) -> None: + nexus_client = workflow.create_nexus_client( + service=NexusGreetingService, + endpoint=NEXUS_ENDPOINT, + ) + + supported_languages = await nexus_client.execute_operation( + NexusGreetingService.get_languages, + GetLanguagesInput(include_unsupported=False, user_id=user_id), + ) + assert supported_languages.languages == [Language.CHINESE, Language.ENGLISH] + + initial_language = await nexus_client.execute_operation( + NexusGreetingService.get_language, + GetLanguageInput(user_id=user_id), + ) + assert initial_language == Language.ENGLISH + + previous_language = await nexus_client.execute_operation( + NexusGreetingService.set_language, + SetLanguageInput(language=Language.CHINESE, user_id=user_id), + ) + assert previous_language == Language.ENGLISH + + current_language = await nexus_client.execute_operation( + NexusGreetingService.get_language, + GetLanguageInput(user_id=user_id), + ) + assert current_language == Language.CHINESE + + previous_language = await nexus_client.execute_operation( + NexusGreetingService.set_language, + SetLanguageInput(language=Language.ARABIC, user_id=user_id), + ) + assert previous_language == Language.CHINESE + + current_language = await nexus_client.execute_operation( + NexusGreetingService.get_language, + GetLanguageInput(user_id=user_id), + ) + assert current_language == Language.ARABIC + + +async def test_callerpattern(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip("Nexus tests don't work under the Java test server") + + await _run_caller_workflow(client, TestCallerWorkflow) + + +async def test_callerpattern_caller_workflow(client: Client, env: WorkflowEnvironment): + """Runs the CallerWorkflow from the sample to ensure it executes without errors.""" + if env.supports_time_skipping: + pytest.skip("Nexus tests don't work under the Java test server") + + await _run_caller_workflow(client, CallerWorkflow) + + +async def _run_caller_workflow(client: Client, wf: Type): + create_response = await create_nexus_endpoint( + name=NEXUS_ENDPOINT, + task_queue=nexus_messaging.callerpattern.handler.worker.TASK_QUEUE, + client=client, + ) + try: + handler_worker_task = asyncio.create_task( + nexus_messaging.callerpattern.handler.worker.main(client) + ) + try: + async with Worker( + client, + task_queue="test-caller-task-queue", + workflows=[wf], + ): + await client.execute_workflow( + wf.run, + arg="user-1", + id=str(uuid.uuid4()), + task_queue="test-caller-task-queue", + ) + finally: + nexus_messaging.callerpattern.handler.worker.interrupt_event.set() + await handler_worker_task + nexus_messaging.callerpattern.handler.worker.interrupt_event.clear() + finally: + await delete_nexus_endpoint( + id=create_response.endpoint.id, + version=create_response.endpoint.version, + client=client, + ) diff --git a/tests/nexus_messaging/ondemandpattern_test.py b/tests/nexus_messaging/ondemandpattern_test.py new file mode 100644 index 000000000..75fd761c0 --- /dev/null +++ b/tests/nexus_messaging/ondemandpattern_test.py @@ -0,0 +1,130 @@ +import asyncio +import uuid +from typing import Type + +import pytest +from temporalio import workflow +from temporalio.client import Client +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +import nexus_messaging.ondemandpattern.handler.worker +from nexus_messaging.ondemandpattern.caller.workflows import CallerRemoteWorkflow +from nexus_messaging.ondemandpattern.service import ( + ApproveInput, + GetLanguageInput, + GetLanguagesInput, + Language, + NexusRemoteGreetingService, + RunFromRemoteInput, + SetLanguageInput, +) +from tests.helpers.nexus import create_nexus_endpoint, delete_nexus_endpoint + +NEXUS_ENDPOINT = "nexus-messaging-nexus-endpoint" + + +@workflow.defn +class TestCallerRemoteWorkflow: + """Test workflow that creates remote workflows and makes assertions.""" + + @workflow.run + async def run(self) -> None: + nexus_client = workflow.create_nexus_client( + service=NexusRemoteGreetingService, + endpoint=NEXUS_ENDPOINT, + ) + + workflow_id = f"test-remote-{workflow.uuid4()}" + + # Start a remote workflow. + handle = await nexus_client.start_operation( + NexusRemoteGreetingService.run_from_remote, + RunFromRemoteInput(user_id=workflow_id), + ) + + # Query for supported languages. + languages_output = await nexus_client.execute_operation( + NexusRemoteGreetingService.get_languages, + GetLanguagesInput(include_unsupported=False, user_id=workflow_id), + ) + assert languages_output.languages == [Language.CHINESE, Language.ENGLISH] + + # Check initial language. + initial_language = await nexus_client.execute_operation( + NexusRemoteGreetingService.get_language, + GetLanguageInput(user_id=workflow_id), + ) + assert initial_language == Language.ENGLISH + + # Set language. + previous_language = await nexus_client.execute_operation( + NexusRemoteGreetingService.set_language, + SetLanguageInput(language=Language.ARABIC, user_id=workflow_id), + ) + assert previous_language == Language.ENGLISH + + current_language = await nexus_client.execute_operation( + NexusRemoteGreetingService.get_language, + GetLanguageInput(user_id=workflow_id), + ) + assert current_language == Language.ARABIC + + # Approve and wait for result. + await nexus_client.execute_operation( + NexusRemoteGreetingService.approve, + ApproveInput(name="test", user_id=workflow_id), + ) + + result = await handle + assert "\u0645\u0631\u062d\u0628\u0627" in result # Arabic greeting + + +async def test_ondemandpattern(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip("Nexus tests don't work under the Java test server") + + await _run_caller_workflow(client, TestCallerRemoteWorkflow) + + +async def test_ondemandpattern_caller_workflow( + client: Client, env: WorkflowEnvironment +): + """Runs the CallerRemoteWorkflow from the sample to ensure it executes without errors.""" + if env.supports_time_skipping: + pytest.skip("Nexus tests don't work under the Java test server") + + await _run_caller_workflow(client, CallerRemoteWorkflow) + + +async def _run_caller_workflow(client: Client, wf: Type): + create_response = await create_nexus_endpoint( + name=NEXUS_ENDPOINT, + task_queue=nexus_messaging.ondemandpattern.handler.worker.TASK_QUEUE, + client=client, + ) + try: + handler_worker_task = asyncio.create_task( + nexus_messaging.ondemandpattern.handler.worker.main(client) + ) + try: + async with Worker( + client, + task_queue="test-caller-remote-task-queue", + workflows=[wf], + ): + await client.execute_workflow( + wf.run, + id=str(uuid.uuid4()), + task_queue="test-caller-remote-task-queue", + ) + finally: + nexus_messaging.ondemandpattern.handler.worker.interrupt_event.set() + await handler_worker_task + nexus_messaging.ondemandpattern.handler.worker.interrupt_event.clear() + finally: + await delete_nexus_endpoint( + id=create_response.endpoint.id, + version=create_response.endpoint.version, + client=client, + ) diff --git a/tests/nexus_multiple_args/__init__.py b/tests/nexus_multiple_args/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/nexus_multiple_args/nexus_multiple_args_test.py b/tests/nexus_multiple_args/nexus_multiple_args_test.py new file mode 100644 index 000000000..682b8f208 --- /dev/null +++ b/tests/nexus_multiple_args/nexus_multiple_args_test.py @@ -0,0 +1,50 @@ +import asyncio +import sys + +import pytest +from temporalio.client import Client +from temporalio.testing import WorkflowEnvironment + +import nexus_multiple_args.caller.app +import nexus_multiple_args.caller.workflows +import nexus_multiple_args.handler.worker +from tests.helpers.nexus import create_nexus_endpoint, delete_nexus_endpoint + + +async def test_nexus_multiple_args(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip("Nexus tests don't work under the Java test server") + + if sys.version_info[:2] < (3, 10): + pytest.skip("Sample is written for Python >= 3.10") + + create_response = await create_nexus_endpoint( + name=nexus_multiple_args.caller.workflows.NEXUS_ENDPOINT, + task_queue=nexus_multiple_args.handler.worker.TASK_QUEUE, + client=client, + ) + try: + handler_worker_task = asyncio.create_task( + nexus_multiple_args.handler.worker.main( + client, + ) + ) + await asyncio.sleep(1) + results = await nexus_multiple_args.caller.app.execute_caller_workflow( + client, + ) + nexus_multiple_args.handler.worker.interrupt_event.set() + await handler_worker_task + nexus_multiple_args.handler.worker.interrupt_event.clear() + + # Verify the expected output messages + assert results == ( + "Hello Nexus 👋", + "¡Hola! Nexus 👋", + ) + finally: + await delete_nexus_endpoint( + id=create_response.endpoint.id, + version=create_response.endpoint.version, + client=client, + ) diff --git a/tests/nexus_standalone_operations/__init__.py b/tests/nexus_standalone_operations/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/nexus_standalone_operations/nexus_standalone_operations_test.py b/tests/nexus_standalone_operations/nexus_standalone_operations_test.py new file mode 100644 index 000000000..44d13ca9a --- /dev/null +++ b/tests/nexus_standalone_operations/nexus_standalone_operations_test.py @@ -0,0 +1,78 @@ +import uuid +from datetime import timedelta + +import pytest +from temporalio.client import Client +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from nexus_standalone_operations.handler import HelloWorkflow, MyNexusServiceHandler +from nexus_standalone_operations.service import ( + EchoInput, + EchoOutput, + HelloInput, + HelloOutput, + MyNexusService, +) +from nexus_standalone_operations.worker import TASK_QUEUE +from tests.helpers import assert_eventually +from tests.helpers.nexus import create_nexus_endpoint, delete_nexus_endpoint + + +async def test_nexus_standalone_operations(client: Client, env: WorkflowEnvironment): + if env.supports_time_skipping: + pytest.skip("Time Skipping server does not support standalone nexus operations") + + endpoint_name = f"test-nexus-standalone-{uuid.uuid4()}" + + create_response = await create_nexus_endpoint( + name=endpoint_name, + task_queue=TASK_QUEUE, + client=client, + ) + try: + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[HelloWorkflow], + nexus_service_handlers=[MyNexusServiceHandler()], + ): + nexus_client = client.create_nexus_client( + service=MyNexusService, endpoint=endpoint_name + ) + + # Test sync echo operation + echo_result = None + echo_result = await nexus_client.execute_operation( + MyNexusService.echo, + EchoInput(message="test-echo"), + id=str(uuid.uuid4()), + schedule_to_close_timeout=timedelta(seconds=10), + ) + assert isinstance(echo_result, EchoOutput) + assert echo_result.message == "test-echo" + + # Test async hello operation + hello_result = await nexus_client.execute_operation( + MyNexusService.hello, + HelloInput(name="Test"), + id=str(uuid.uuid4()), + schedule_to_close_timeout=timedelta(seconds=10), + ) + assert isinstance(hello_result, HelloOutput) + assert hello_result.greeting == "Hello, Test!" + + # Test count operations + async def check_count(): + count = await client.count_nexus_operations( + f'Endpoint = "{endpoint_name}"' + ) + assert count.count == 2 + + await assert_eventually(check_count) + finally: + _ = await delete_nexus_endpoint( + id=create_response.endpoint.id, + version=create_response.endpoint.version, + client=client, + ) diff --git a/tests/openai_agents/__init__.py b/tests/openai_agents/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/openai_agents/_mock_model.py b/tests/openai_agents/_mock_model.py new file mode 100644 index 000000000..dc454e3ea --- /dev/null +++ b/tests/openai_agents/_mock_model.py @@ -0,0 +1,173 @@ +"""Scripted streaming model for openai_agents sample tests. + +Each entry in the script drives one ``stream_response`` call — that is, one +model activity: a ``str`` streams that text as deltas followed by a terminal +``ResponseCompletedEvent``, a :class:`ToolCall` emits a function call so the +agent runs the tool and comes back for another turn, and a +:class:`FailMidStream` cuts a response short so the activity is retried. + +The plugin takes a ``model_provider`` directly, so nothing needs patching. +""" + +from __future__ import annotations + +import itertools +from collections.abc import AsyncIterator +from dataclasses import dataclass +from typing import Any, Union + +from agents import ( + AgentOutputSchemaBase, + Handoff, + Model, + ModelProvider, + ModelResponse, + ModelSettings, + ModelTracing, + Tool, + TResponseInputItem, +) +from agents.items import TResponseStreamEvent +from openai.types.responses import ( + Response, + ResponseCompletedEvent, + ResponseFunctionToolCall, + ResponseOutputMessage, + ResponseOutputText, + ResponseTextDeltaEvent, +) + +# Chunk size for text deltas. Small enough that any test text streams as +# several events, so a subscriber that reassembles them is doing real work. +_DELTA_CHARS = 12 + + +@dataclass +class ToolCall: + """Script entry for a turn that calls a tool instead of answering.""" + + name: str + arguments: str = "{}" + + +@dataclass +class FailMidStream: + """Script entry that streams a few deltas and then raises. + + Simulates a model activity that dies partway through a response. The + deltas it published are already on the workflow's stream, and because + entries are consumed one per ``stream_response`` call, the activity's + retry advances to the next script entry — normally the same text in + full, as a real retry would re-sample the whole response. + """ + + text: str + after_deltas: int = 4 + + +# One script entry per stream_response call. +ScriptEntry = Union[str, ToolCall, FailMidStream] + + +def _message(text: str) -> ResponseOutputMessage: + return ResponseOutputMessage( + id="msg_mock", + content=[ResponseOutputText(text=text, annotations=[], type="output_text")], + role="assistant", + status="completed", + type="message", + ) + + +def _response(output: list[Any]) -> Response: + return Response( + id="resp_mock", + created_at=0.0, + model="mock-model", + object="response", + output=output, + parallel_tool_calls=False, + tool_choice="auto", + tools=[], + status="completed", + ) + + +class ScriptedStreamingModel(Model): + """Model that replays a fixed script of turns, one per streamed call.""" + + def __init__(self, script: list[ScriptEntry]) -> None: + self._script = list(script) + self._calls = itertools.count() + + def _next_turn(self) -> ScriptEntry: + if not self._script: + raise AssertionError("ScriptedStreamingModel script exhausted") + return self._script.pop(0) + + async def get_response(self, *args: Any, **kwargs: Any) -> ModelResponse: + """Unimplemented: this mock exists for Runner.run_streamed.""" + raise NotImplementedError + + async def stream_response( + self, + system_instructions: str | None, + input: str | list[TResponseInputItem], + model_settings: ModelSettings, + tools: list[Tool], + output_schema: AgentOutputSchemaBase | None, + handoffs: list[Handoff], + tracing: ModelTracing, + **kwargs: Any, + ) -> AsyncIterator[TResponseStreamEvent]: + turn = self._next_turn() + seq = itertools.count() + + if isinstance(turn, ToolCall): + call = self._tool_call(turn, next(self._calls)) + yield ResponseCompletedEvent( + response=_response([call]), + sequence_number=next(seq), + type="response.completed", + ) + return + + text = turn.text if isinstance(turn, FailMidStream) else turn + for index, start in enumerate(range(0, len(text), _DELTA_CHARS)): + if isinstance(turn, FailMidStream) and index == turn.after_deltas: + raise RuntimeError("scripted mid-stream model failure") + yield ResponseTextDeltaEvent( + content_index=0, + delta=text[start : start + _DELTA_CHARS], + item_id="msg_mock", + logprobs=[], + output_index=0, + sequence_number=next(seq), + type="response.output_text.delta", + ) + yield ResponseCompletedEvent( + response=_response([_message(text)]), + sequence_number=next(seq), + type="response.completed", + ) + + @staticmethod + def _tool_call(turn: ToolCall, index: int) -> ResponseFunctionToolCall: + return ResponseFunctionToolCall( + arguments=turn.arguments, + call_id=f"call_mock_{index}", + name=turn.name, + type="function_call", + id=f"fc_mock_{index}", + status="completed", + ) + + +class ScriptedModelProvider(ModelProvider): + """Hands out one shared model so the script advances across turns.""" + + def __init__(self, script: list[ScriptEntry]) -> None: + self._model = ScriptedStreamingModel(script) + + def get_model(self, model_name: str | None) -> Model: + return self._model diff --git a/tests/openai_agents/streaming_test.py b/tests/openai_agents/streaming_test.py new file mode 100644 index 000000000..e585d32fc --- /dev/null +++ b/tests/openai_agents/streaming_test.py @@ -0,0 +1,229 @@ +import uuid +from datetime import timedelta +from typing import Any, cast + +from agents.items import TResponseStreamEvent +from openai.types.responses import ResponseCompletedEvent, ResponseTextDeltaEvent +from temporalio.client import Client +from temporalio.common import RawValue +from temporalio.contrib.openai_agents import ModelActivityParameters, OpenAIAgentsPlugin +from temporalio.contrib.workflow_streams import WorkflowStreamClient +from temporalio.worker import Worker + +from openai_agents.streaming.activities.joke_activities import how_many_jokes +from openai_agents.streaming.shared import ( + TOPIC_DONE, + TOPIC_EVENTS, + TOPIC_ITEMS, + ItemEvent, +) +from openai_agents.streaming.workflows.stream_items_workflow import ( + StreamItemsInput, + StreamItemsWorkflow, +) +from openai_agents.streaming.workflows.stream_text_workflow import ( + StreamTextInput, + StreamTextWorkflow, +) +from tests.openai_agents._mock_model import ( + FailMidStream, + ScriptedModelProvider, + ScriptEntry, + ToolCall, +) + +JOKES = ( + "Why did the developer go broke? He used up all his cache. " + "Why do programmers prefer dark mode? Light attracts bugs." +) + +# TResponseStreamEvent is a typing.Annotated union rather than a class, so it +# needs a cast to satisfy from_payload's type[T] signature. +EVENT_TYPE = cast(type, TResponseStreamEvent) + +# Fast polling so a test does not spend most of its time waiting on cooldowns. +POLL_COOLDOWN = timedelta(milliseconds=50) + + +def _client_with_plugin(client: Client, script: list[ScriptEntry]) -> Client: + config = client.config() + config["plugins"] = [ + *config["plugins"], + OpenAIAgentsPlugin( + model_params=ModelActivityParameters( + start_to_close_timeout=timedelta(seconds=30), + heartbeat_timeout=timedelta(seconds=10), + streaming_topic=TOPIC_EVENTS, + ), + model_provider=ScriptedModelProvider(script), + ), + ] + return Client(**config) + + +async def test_stream_text(client: Client) -> None: + client = _client_with_plugin(client, [JOKES]) + task_queue = f"openai-agents-stream-text-{uuid.uuid4()}" + workflow_id = f"stream-text-{uuid.uuid4()}" + + async with Worker( + client, + task_queue=task_queue, + workflows=[StreamTextWorkflow], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + StreamTextWorkflow.run, + StreamTextInput(prompt="Please tell me 2 jokes."), + id=workflow_id, + task_queue=task_queue, + ) + + # Same shape as run_stream_text_workflow.py: one iterator over both + # topics, RawValue payloads decoded per item.topic, break on the + # terminator the workflow publishes. + stream = WorkflowStreamClient.create(client, workflow_id) + converter = client.data_converter.payload_converter + deltas: list[str] = [] + saw_terminator = False + async for item in stream.subscribe( + [TOPIC_EVENTS, TOPIC_DONE], + result_type=RawValue, + poll_cooldown=POLL_COOLDOWN, + ): + if item.topic == TOPIC_DONE: + saw_terminator = True + break + event: Any = converter.from_payload(item.data.payload, EVENT_TYPE) + if isinstance(event, ResponseTextDeltaEvent): + deltas.append(event.delta) + + result = await handle.result() + + assert saw_terminator, "subscriber exited without seeing the terminator" + # Subscribers see native OpenAI events, so the deltas arrive unwrapped and + # reassemble into exactly what the workflow returns. + assert len(deltas) > 1, "expected the text to arrive as several deltas" + assert "".join(deltas) == JOKES + assert result == JOKES + + +async def test_retried_attempt_is_detectable(client: Client) -> None: + """A retried model activity re-streams, and subscribers can tell. + + Turn one calls the tool; turn two dies after four deltas and its retry + answers in full. The partial deltas are already on the stream when the + attempt fails, so a subscriber that just concatenates them renders the + truncated text followed by the whole answer. run_stream_text_workflow.py + finds the seam with the rule asserted here: a sequence_number that fails + to advance while a response is still in flight. Turn two's own restart + must not trip it — that one follows a completed response. + """ + client = _client_with_plugin( + client, + [ToolCall("how_many_jokes"), FailMidStream(JOKES, after_deltas=4), JOKES], + ) + task_queue = f"openai-agents-stream-retry-{uuid.uuid4()}" + workflow_id = f"stream-retry-{uuid.uuid4()}" + + async with Worker( + client, + task_queue=task_queue, + workflows=[StreamItemsWorkflow], + activities=[how_many_jokes], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + StreamItemsWorkflow.run, + StreamItemsInput(), + id=workflow_id, + task_queue=task_queue, + ) + + stream = WorkflowStreamClient.create(client, workflow_id) + converter = client.data_converter.payload_converter + all_deltas: list[str] = [] + deltas_since_restart: list[str] = [] + restarts = 0 + last_sequence = -1 + response_in_flight = False + async for item in stream.subscribe( + [TOPIC_EVENTS, TOPIC_DONE], + result_type=RawValue, + poll_cooldown=POLL_COOLDOWN, + ): + if item.topic == TOPIC_DONE: + break + event: Any = converter.from_payload(item.data.payload, EVENT_TYPE) + + sequence = event.sequence_number + if sequence <= last_sequence and response_in_flight: + restarts += 1 + deltas_since_restart = [] + last_sequence = sequence + response_in_flight = not isinstance(event, ResponseCompletedEvent) + + if isinstance(event, ResponseTextDeltaEvent): + all_deltas.append(event.delta) + deltas_since_restart.append(event.delta) + + result = await handle.result() + + assert restarts == 1, "expected exactly one detected retry" + # The failed attempt's partial text is on the stream ahead of the retry's, + # so a naive reassembly is corrupt while the workflow's result is not. + naive = "".join(all_deltas) + assert len(naive) > len(JOKES) and naive.endswith(JOKES) + # Discarding at the seam recovers exactly the successful attempt. + assert "".join(deltas_since_restart) == JOKES + assert result == JOKES + + +async def test_stream_items(client: Client) -> None: + # Turn one calls the tool, turn two answers with the jokes. + client = _client_with_plugin(client, [ToolCall("how_many_jokes"), JOKES]) + task_queue = f"openai-agents-stream-items-{uuid.uuid4()}" + workflow_id = f"stream-items-{uuid.uuid4()}" + + async with Worker( + client, + task_queue=task_queue, + workflows=[StreamItemsWorkflow], + activities=[how_many_jokes], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + StreamItemsWorkflow.run, + StreamItemsInput(), + id=workflow_id, + task_queue=task_queue, + ) + + stream = WorkflowStreamClient.create(client, workflow_id) + converter = client.data_converter.payload_converter + events: list[ItemEvent] = [] + saw_terminator = False + async for item in stream.subscribe( + [TOPIC_ITEMS, TOPIC_DONE], + result_type=RawValue, + poll_cooldown=POLL_COOLDOWN, + ): + if item.topic == TOPIC_DONE: + saw_terminator = True + break + events.append(converter.from_payload(item.data.payload, ItemEvent)) + + result = await handle.result() + + assert saw_terminator, "subscriber exited without seeing the terminator" + assert [e.kind for e in events] == [ + "agent_updated", + "tool_call", + "tool_output", + "message_output", + ] + assert events[0].detail == "Joker" + assert events[1].detail == "how_many_jokes" + assert 1 <= int(events[2].detail) <= 10 + assert events[3].detail == JOKES + assert result == JOKES diff --git a/tests/polling/infrequent/__init__.py b/tests/polling/infrequent/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/polling/infrequent/workflow_test.py b/tests/polling/infrequent/workflow_test.py new file mode 100644 index 000000000..31f3f9878 --- /dev/null +++ b/tests/polling/infrequent/workflow_test.py @@ -0,0 +1,31 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from polling.infrequent.activities import compose_greeting +from polling.infrequent.workflows import GreetingWorkflow + + +async def test_infrequent_polling_workflow(client: Client, env: WorkflowEnvironment): + if not env.supports_time_skipping: + pytest.skip("Too slow to test with time-skipping disabled") + + # Start a worker that hosts the workflow and activity implementations. + task_queue = f"tq-{uuid.uuid4()}" + async with Worker( + client, + task_queue=task_queue, + workflows=[GreetingWorkflow], + activities=[compose_greeting], + ): + handle = await client.start_workflow( + GreetingWorkflow.run, + "Temporal", + id=f"infrequent-polling-{uuid.uuid4()}", + task_queue=task_queue, + ) + result = await handle.result() + assert result == "Hello, Temporal!" diff --git a/tests/pydantic_converter/workflow_test.py b/tests/pydantic_converter/workflow_test.py index a547caf08..c673164ef 100644 --- a/tests/pydantic_converter/workflow_test.py +++ b/tests/pydantic_converter/workflow_test.py @@ -3,15 +3,10 @@ from ipaddress import IPv4Address from temporalio.client import Client +from temporalio.contrib.pydantic import pydantic_data_converter from temporalio.worker import Worker -from pydantic_converter.converter import pydantic_data_converter -from pydantic_converter.worker import ( - MyPydanticModel, - MyWorkflow, - my_activity, - new_sandbox_runner, -) +from pydantic_converter.worker import MyPydanticModel, MyWorkflow, my_activity async def test_workflow_with_pydantic_model(client: Client): @@ -35,7 +30,6 @@ async def test_workflow_with_pydantic_model(client: Client): task_queue=task_queue_name, workflows=[MyWorkflow], activities=[my_activity], - workflow_runner=new_sandbox_runner(), ): result = await client.execute_workflow( MyWorkflow.run, diff --git a/tests/pydantic_converter_v1/__init__.py b/tests/pydantic_converter_v1/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/pydantic_converter_v1/workflow_test.py b/tests/pydantic_converter_v1/workflow_test.py new file mode 100644 index 000000000..fd0af8009 --- /dev/null +++ b/tests/pydantic_converter_v1/workflow_test.py @@ -0,0 +1,46 @@ +import uuid +from datetime import datetime +from ipaddress import IPv4Address + +from temporalio.client import Client +from temporalio.worker import Worker + +from pydantic_converter_v1.converter import pydantic_data_converter +from pydantic_converter_v1.worker import ( + MyPydanticModel, + MyWorkflow, + my_activity, + new_sandbox_runner, +) + + +async def test_workflow_with_pydantic_model(client: Client): + # Replace data converter in client + new_config = client.config() + new_config["data_converter"] = pydantic_data_converter + client = Client(**new_config) + task_queue_name = str(uuid.uuid4()) + + orig_models = [ + MyPydanticModel( + some_ip=IPv4Address("127.0.0.1"), some_date=datetime(2000, 1, 2, 3, 4, 5) + ), + MyPydanticModel( + some_ip=IPv4Address("127.0.0.2"), some_date=datetime(2001, 2, 3, 4, 5, 6) + ), + ] + + async with Worker( + client, + task_queue=task_queue_name, + workflows=[MyWorkflow], + activities=[my_activity], + workflow_runner=new_sandbox_runner(), + ): + result = await client.execute_workflow( + MyWorkflow.run, + orig_models, + id=str(uuid.uuid4()), + task_queue=task_queue_name, + ) + assert orig_models == result diff --git a/tests/resource_pool/__init__.py b/tests/resource_pool/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/resource_pool/workflow_test.py b/tests/resource_pool/workflow_test.py new file mode 100644 index 000000000..0d2eb6547 --- /dev/null +++ b/tests/resource_pool/workflow_test.py @@ -0,0 +1,120 @@ +import asyncio +from collections import defaultdict +from typing import Any, Optional, Sequence + +from temporalio import activity +from temporalio.client import Client, WorkflowFailureError, WorkflowHandle +from temporalio.common import WorkflowIDConflictPolicy +from temporalio.worker import Worker + +from resource_pool.pool_client.resource_pool_workflow import ( + ResourcePoolWorkflow, + ResourcePoolWorkflowInput, +) +from resource_pool.resource_user_workflow import ( + ResourceUserWorkflow, + ResourceUserWorkflowInput, + UseResourceActivityInput, +) +from resource_pool.shared import RESOURCE_POOL_WORKFLOW_ID + +TASK_QUEUE = "resource_pool-task-queue" + + +async def test_resource_pool_workflow(client: Client): + # key is resource, value is a description of resource usage + resource_usage: defaultdict[str, list[Sequence[str]]] = defaultdict(list) + + # Mock out the activity to count executions + @activity.defn(name="use_resource") + async def use_resource_mock(input: UseResourceActivityInput) -> None: + workflow_id = activity.info().workflow_id or "" + resource_usage[input.resource].append((workflow_id, "start")) + # We need a small sleep here to bait out races + await asyncio.sleep(0.05) + resource_usage[input.resource].append((workflow_id, "end")) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[ResourcePoolWorkflow, ResourceUserWorkflow], + activities=[use_resource_mock], + ): + await run_all_workflows(client) + + # Did any workflow run in more than one place? + workflow_id_to_resource: dict[str, str] = {} + for resource, events in resource_usage.items(): + for workflow_id, event in events: + if workflow_id in workflow_id_to_resource: + existing_resource = workflow_id_to_resource[workflow_id] + assert ( + existing_resource == resource + ), f"{workflow_id} ran on both {resource} and {existing_resource}" + else: + workflow_id_to_resource[workflow_id] = resource + + # Did any resource have more than one workflow on it at a time? + for resource, events in resource_usage.items(): + holder: Optional[str] = None + for workflow_id, event in events: + if event == "start": + assert ( + holder is None + ), f"{workflow_id} started on {resource} held by {holder}" + holder = workflow_id + else: + assert ( + holder == workflow_id + ), f"{workflow_id} ended on {resource} held by {holder}" + holder = None + + # Are all the resources free, per the query? + handle: WorkflowHandle[ResourcePoolWorkflow, None] = ( + client.get_workflow_handle_for( + ResourcePoolWorkflow.run, RESOURCE_POOL_WORKFLOW_ID + ) + ) + query_result = await handle.query(ResourcePoolWorkflow.get_current_holders) + assert query_result == {"r_a": None, "r_b": None, "r_c": None} + + +async def run_all_workflows(client: Client): + resource_pool_handle = await client.start_workflow( + workflow=ResourcePoolWorkflow.run, + arg=ResourcePoolWorkflowInput( + resources={"r_a": None, "r_b": None, "r_c": None}, + waiters=[], + ), + id=RESOURCE_POOL_WORKFLOW_ID, + task_queue=TASK_QUEUE, + id_conflict_policy=WorkflowIDConflictPolicy.USE_EXISTING, + ) + + resource_user_handles: list[WorkflowHandle[Any, Any]] = [] + for i in range(0, 8): + input = ResourceUserWorkflowInput( + resource_pool_workflow_id=RESOURCE_POOL_WORKFLOW_ID, + iteration_to_fail_after=None, + should_continue_as_new=False, + ) + if i == 0: + input.should_continue_as_new = True + if i == 1: + input.iteration_to_fail_after = "first" + + handle = await client.start_workflow( + workflow=ResourceUserWorkflow.run, + arg=input, + id=f"resource-user-workflow-{i}", + task_queue=TASK_QUEUE, + ) + resource_user_handles.append(handle) + + for handle in resource_user_handles: + try: + await handle.result() + except WorkflowFailureError: + pass + + await resource_pool_handle.terminate() diff --git a/tests/sentry/fake_sentry_transport.py b/tests/sentry/fake_sentry_transport.py new file mode 100644 index 000000000..7d1b087df --- /dev/null +++ b/tests/sentry/fake_sentry_transport.py @@ -0,0 +1,17 @@ +import sentry_sdk +import sentry_sdk.types + + +class FakeSentryTransport: + """A fake transport that captures Sentry events in memory""" + + # Note: we could extend from sentry_sdk.transport.Transport + # but `sentry_sdk.init` also takes a simple callable that takes + # an Event rather than a serialised Envelope object, so testing + # is easier. + + def __init__(self): + self.events: list[sentry_sdk.types.Event] = [] + + def __call__(self, event: sentry_sdk.types.Event) -> None: + self.events.append(event) diff --git a/tests/sentry/test_interceptor.py b/tests/sentry/test_interceptor.py new file mode 100644 index 000000000..f9f931e8f --- /dev/null +++ b/tests/sentry/test_interceptor.py @@ -0,0 +1,164 @@ +import sys +import unittest.mock +from collections import abc + +import pytest + +if sys.version_info >= (3, 14): + pytest.skip( + "Sentry does not support Python 3.14 yet.", + allow_module_level=True, + ) + +import sentry_sdk +import temporalio.activity +import temporalio.workflow +from sentry_sdk.integrations.asyncio import AsyncioIntegration +from temporalio.client import Client +from temporalio.worker import Worker +from temporalio.worker.workflow_sandbox import ( + SandboxedWorkflowRunner, + SandboxRestrictions, +) + +from sentry.activity import broken_activity, working_activity +from sentry.interceptor import SentryInterceptor +from sentry.workflow import SentryExampleWorkflow, SentryExampleWorkflowInput +from tests.sentry.fake_sentry_transport import FakeSentryTransport + + +@pytest.fixture +def transport() -> FakeSentryTransport: + """Fixture to provide a fake transport for Sentry SDK.""" + return FakeSentryTransport() + + +@pytest.fixture(autouse=True) +def sentry_init(transport: FakeSentryTransport) -> None: + """Initialize Sentry for testing.""" + sentry_sdk.init( + transport=transport, + integrations=[ + AsyncioIntegration(), + ], + ) + + +@pytest.fixture +async def worker(client: Client) -> abc.AsyncIterator[Worker]: + """Fixture to provide a worker for testing.""" + async with Worker( + client, + task_queue="sentry-task-queue", + workflows=[SentryExampleWorkflow], + activities=[broken_activity, working_activity], + interceptors=[SentryInterceptor()], + workflow_runner=SandboxedWorkflowRunner( + restrictions=SandboxRestrictions.default.with_passthrough_modules( + "sentry_sdk" + ) + ), + ) as worker: + yield worker + + +async def test_sentry_interceptor_reports_no_errors_when_workflow_succeeds( + client: Client, worker: Worker, transport: FakeSentryTransport +) -> None: + """Test that Sentry interceptor reports no errors when workflow succeeds.""" + # WHEN + try: + await client.execute_workflow( + SentryExampleWorkflow.run, + SentryExampleWorkflowInput(option="working"), + id="sentry-workflow-id", + task_queue=worker.task_queue, + ) + except Exception: + pytest.fail("Workflow should not raise an exception") + + # THEN + assert len(transport.events) == 0, "No events should be captured" + + +async def test_sentry_interceptor_captures_errors( + client: Client, worker: Worker, transport: FakeSentryTransport +) -> None: + """Test that errors are captured with correct Sentry metadata.""" + # WHEN + try: + await client.execute_workflow( + SentryExampleWorkflow.run, + SentryExampleWorkflowInput(option="broken"), + id="sentry-workflow-id", + task_queue=worker.task_queue, + ) + pytest.fail("Workflow should raise an exception") + except Exception: + pass + + # THEN + # there should be two events: one for the failed activity and one for the failed workflow + assert len(transport.events) == 2, "Two events should be captured" + + # Check the first event - should be the activity exception + # -------------------------------------------------------- + event = transport.events[0] + + # Check exception was captured + assert event["exception"]["values"][0]["type"] == "Exception" + assert event["exception"]["values"][0]["value"] == "Activity failed!" + + # Check useful metadata were captured as tags + assert event["tags"] == { + "temporal.execution_type": "activity", + "module": "sentry.activity.broken_activity", + "temporal.workflow.type": "SentryExampleWorkflow", + "temporal.workflow.id": "sentry-workflow-id", + "temporal.activity.id": "1", + "temporal.activity.type": "broken_activity", + "temporal.activity.task_queue": "sentry-task-queue", + "temporal.workflow.namespace": "default", + "temporal.workflow.run_id": unittest.mock.ANY, + } + + # Check activity input was captured as context + assert event["contexts"]["temporal.activity.input"] == { + "message": "Hello, Temporal!", + } + + # Check activity info was captured as context + activity_info = temporalio.activity.Info( + **event["contexts"]["temporal.activity.info"] # type: ignore + ) + assert activity_info.activity_type == "broken_activity" + + # Check the second event - should be the workflow exception + # --------------------------------------------------------- + event = transport.events[1] + + # Check exception was captured + assert event["exception"]["values"][0]["type"] == "ApplicationError" + assert event["exception"]["values"][0]["value"] == "Activity failed!" + + # Check useful metadata were captured as tags + assert event["tags"] == { + "temporal.execution_type": "workflow", + "module": "sentry.workflow.SentryExampleWorkflow.run", + "temporal.workflow.type": "SentryExampleWorkflow", + "temporal.workflow.id": "sentry-workflow-id", + "temporal.workflow.task_queue": "sentry-task-queue", + "temporal.workflow.namespace": "default", + "temporal.workflow.run_id": unittest.mock.ANY, + } + + # Check workflow input was captured as context + assert event["contexts"]["temporal.workflow.input"] == { + "option": "broken", + } + + # Check workflow info was captured as context + workflow_info = temporalio.workflow.Info( + **event["contexts"]["temporal.workflow.info"] # type: ignore + ) + assert workflow_info.workflow_type == "SentryExampleWorkflow" diff --git a/tests/sleep_for_days/__init__.py b/tests/sleep_for_days/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/sleep_for_days/workflow_test.py b/tests/sleep_for_days/workflow_test.py new file mode 100644 index 000000000..fa3f06864 --- /dev/null +++ b/tests/sleep_for_days/workflow_test.py @@ -0,0 +1,53 @@ +import uuid +from datetime import timedelta + +from temporalio import activity +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from sleep_for_days.starter import TASK_QUEUE +from sleep_for_days.workflows import SendEmailInput, SleepForDaysWorkflow + + +async def test_sleep_for_days_workflow(): + num_activity_executions = 0 + + # Mock out the activity to count executions + @activity.defn(name="send_email") + async def send_email_mock(input: SendEmailInput) -> str: + nonlocal num_activity_executions + num_activity_executions += 1 + return input.email_msg + + async with await WorkflowEnvironment.start_time_skipping() as env: + # if env.supports_time_skipping: + # pytest.skip( + # "Java test server: https://github.com/temporalio/sdk-java/issues/1903" + # ) + async with Worker( + env.client, + task_queue=TASK_QUEUE, + workflows=[SleepForDaysWorkflow], + activities=[send_email_mock], + ): + handle = await env.client.start_workflow( + SleepForDaysWorkflow.run, + id=str(uuid.uuid4()), + task_queue=TASK_QUEUE, + ) + + start_time = await env.get_current_time() + # Time-skip 5 minutes. + await env.sleep(timedelta(minutes=5)) + # Check that the activity has been called, we're now waiting for the sleep to finish. + assert num_activity_executions == 1 + # Time-skip 3 days. + await env.sleep(timedelta(days=90)) + # Expect 3 more activity calls. + assert num_activity_executions == 4 + # Send the signal to complete the workflow. + await handle.signal(SleepForDaysWorkflow.complete) + # Expect no more activity calls to have been made - workflow is complete. + assert num_activity_executions == 4 + # Expect more than 90 days to have passed. + assert (await env.get_current_time() - start_time) > timedelta(days=90) diff --git a/tests/strands_plugin/__init__.py b/tests/strands_plugin/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/strands_plugin/_mock_model.py b/tests/strands_plugin/_mock_model.py new file mode 100644 index 000000000..9f97bedbc --- /dev/null +++ b/tests/strands_plugin/_mock_model.py @@ -0,0 +1,69 @@ +"""Scripted Strands model for sample tests. + +Vendored from the SDK's ``tests/contrib/strands/mock_model.py``. Each entry in +``responses`` drives one ``stream()`` call: a ``str`` yields a text turn, a +``dict`` of ``{"name", "input"}`` yields a tool-use turn. +""" + +from __future__ import annotations + +import json +from collections.abc import AsyncIterable +from typing import Any + +import temporalio.contrib.strands._plugin as _plugin_module +from strands.models import Model +from strands.types.streaming import StreamEvent + + +class MockModel(Model): + def __init__(self, responses: list[str | dict[str, Any]]) -> None: + self._responses = list(responses) + self._tool_call_index = 0 + + def update_config(self, **_model_config: Any) -> None: + return None + + def get_config(self) -> dict[str, Any]: + return {} + + def structured_output(self, *_args: Any, **_kwargs: Any): + raise NotImplementedError + + async def stream(self, *_args: Any, **_kwargs: Any) -> AsyncIterable[StreamEvent]: + if not self._responses: + raise AssertionError("MockModel script exhausted") + response = self._responses.pop(0) + + yield {"messageStart": {"role": "assistant"}} + + if isinstance(response, str): + yield {"contentBlockDelta": {"delta": {"text": response}}} + yield {"contentBlockStop": {}} + yield {"messageStop": {"stopReason": "end_turn"}} + else: + self._tool_call_index += 1 + yield { + "contentBlockStart": { + "start": { + "toolUse": { + "name": response["name"], + "toolUseId": f"mock-tool-{self._tool_call_index}", + }, + }, + }, + } + yield { + "contentBlockDelta": { + "delta": {"toolUse": {"input": json.dumps(response["input"])}}, + }, + } + yield {"contentBlockStop": {}} + yield {"messageStop": {"stopReason": "tool_use"}} + + +def patch_bedrock(monkeypatch: Any, responses: list[Any]) -> None: + """Make the plugin's implicit BedrockModel factory return a scripted MockModel.""" + monkeypatch.setattr( + _plugin_module, "BedrockModel", lambda *a, **kw: MockModel(responses) + ) diff --git a/tests/strands_plugin/activity_interrupt_test.py b/tests/strands_plugin/activity_interrupt_test.py new file mode 100644 index 000000000..27e265239 --- /dev/null +++ b/tests/strands_plugin/activity_interrupt_test.py @@ -0,0 +1,50 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.activity_interrupt.workflow import ( + ActivityInterruptWorkflow, + delete_thing, +) +from tests.strands_plugin._mock_model import patch_bedrock + + +async def test_activity_interrupt( + client: Client, monkeypatch: pytest.MonkeyPatch +) -> None: + patch_bedrock( + monkeypatch, + [ + {"name": "delete_thing", "input": {"name": "system"}}, + {"name": "delete_thing", "input": {"name": "system"}}, + "Done!", + ], + ) + + task_queue = f"strands-activity-interrupt-{uuid.uuid4()}" + plugin = StrandsPlugin() + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[ActivityInterruptWorkflow], + activities=[delete_thing], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + ActivityInterruptWorkflow.run, + "Delete the system user.", + id=f"strands-activity-interrupt-{uuid.uuid4()}", + task_queue=task_queue, + ) + await handle.signal(ActivityInterruptWorkflow.approve, "approve") + result = await handle.result() + + assert result == "Done!\n" diff --git a/tests/strands_plugin/continue_as_new_test.py b/tests/strands_plugin/continue_as_new_test.py new file mode 100644 index 000000000..45c141710 --- /dev/null +++ b/tests/strands_plugin/continue_as_new_test.py @@ -0,0 +1,83 @@ +import asyncio +import uuid + +import pytest +from temporalio.client import Client, WorkflowExecutionStatus +from temporalio.contrib.strands import StrandsPlugin +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from strands_plugin.continue_as_new.workflow import ChatInput, ChatWorkflow +from tests.strands_plugin._mock_model import patch_bedrock + + +async def test_continue_as_new_carries_history( + monkeypatch: pytest.MonkeyPatch, +) -> None: + """Exercise the full chat lifecycle across a continue-as-new boundary. + + Drives enough history that the server suggests continue-as-new, confirms the + original run hands its message history off to a fresh run, then takes another + turn on that resumed run and ends the chat normally. + """ + patch_bedrock(monkeypatch, ["First reply.", "Second reply."]) + + # The server only suggests continue-as-new once history grows past a + # threshold (~4096 events by default). Lower it so a single turn's worth of + # history is enough to trip ``is_continue_as_new_suggested()``. + async with await WorkflowEnvironment.start_local( + dev_server_extra_args=[ + "--dynamic-config-value", + "limit.historyCount.suggestContinueAsNew=5", + ] + ) as env: + config = env.client.config() + config["plugins"] = [*config["plugins"], StrandsPlugin()] + client = Client(**config) + + task_queue = f"strands-chat-{uuid.uuid4()}" + workflow_id = f"strands-chat-{uuid.uuid4()}" + + async with Worker( + client, + task_queue=task_queue, + workflows=[ChatWorkflow], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + ChatWorkflow.run, + ChatInput(), + id=workflow_id, + task_queue=task_queue, + ) + + original_run_id = handle.result_run_id + + # One turn produces enough events to cross the threshold above. + reply1 = await handle.execute_update(ChatWorkflow.turn, "Hello") + assert reply1 == "First reply." + + # The original run should end by continuing-as-new once the in-flight + # turn drains. Pin to its run id; an unpinned handle would follow the + # chain to the fresh (still-running) run instead. + original = client.get_workflow_handle(workflow_id, run_id=original_run_id) + for _ in range(100): + desc = await original.describe() + if desc.status == WorkflowExecutionStatus.CONTINUED_AS_NEW: + break + await asyncio.sleep(0.1) + else: + raise AssertionError("workflow did not continue-as-new") + + # The fresh run resumes with the prior turn's history and accepts a + # new turn, appending to the carried-over messages. + latest = client.get_workflow_handle(workflow_id) + reply2 = await latest.execute_update(ChatWorkflow.turn, "How are you?") + assert reply2 == "Second reply." + + # 2 messages carried across the handoff + 2 from the resumed turn. + messages = await latest.query(ChatWorkflow.messages) + assert len(messages) == 4 + + await latest.signal(ChatWorkflow.end_chat) + await latest.result() diff --git a/tests/strands_plugin/hello_world_test.py b/tests/strands_plugin/hello_world_test.py new file mode 100644 index 000000000..5110ec759 --- /dev/null +++ b/tests/strands_plugin/hello_world_test.py @@ -0,0 +1,35 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.hello_world.workflow import HelloWorldWorkflow +from tests.strands_plugin._mock_model import patch_bedrock + + +async def test_hello_world(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + patch_bedrock(monkeypatch, ["A haiku, for you."]) + + task_queue = f"strands-hello-world-{uuid.uuid4()}" + plugin = StrandsPlugin() + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HelloWorldWorkflow], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + HelloWorldWorkflow.run, + "Write a haiku.", + id=f"strands-hello-world-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "A haiku, for you.\n" diff --git a/tests/strands_plugin/hooks_test.py b/tests/strands_plugin/hooks_test.py new file mode 100644 index 000000000..72d9bff52 --- /dev/null +++ b/tests/strands_plugin/hooks_test.py @@ -0,0 +1,42 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.hooks.workflow import HooksWorkflow, persist_tool_call +from tests.strands_plugin._mock_model import patch_bedrock + + +async def test_hooks(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + patch_bedrock( + monkeypatch, + [ + {"name": "echo", "input": {"text": "hi"}}, + "Done!", + ], + ) + + task_queue = f"strands-hooks-{uuid.uuid4()}" + plugin = StrandsPlugin() + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HooksWorkflow], + activities=[persist_tool_call], + max_cached_workflows=0, + ): + fired = await client.execute_workflow( + HooksWorkflow.run, + "Echo hi.", + id=f"strands-hooks-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert fired == ["echo"] diff --git a/tests/strands_plugin/human_in_the_loop_test.py b/tests/strands_plugin/human_in_the_loop_test.py new file mode 100644 index 000000000..53cd5e844 --- /dev/null +++ b/tests/strands_plugin/human_in_the_loop_test.py @@ -0,0 +1,45 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.human_in_the_loop.workflow import HumanInTheLoopWorkflow +from tests.strands_plugin._mock_model import patch_bedrock + + +async def test_human_in_the_loop_approve( + client: Client, monkeypatch: pytest.MonkeyPatch +) -> None: + patch_bedrock( + monkeypatch, + [ + {"name": "delete_file", "input": {"path": "/tmp/sensitive.txt"}}, + "Done!", + ], + ) + + task_queue = f"strands-hitl-{uuid.uuid4()}" + plugin = StrandsPlugin() + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[HumanInTheLoopWorkflow], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + HumanInTheLoopWorkflow.run, + "Delete /tmp/sensitive.txt", + id=f"strands-hitl-{uuid.uuid4()}", + task_queue=task_queue, + ) + await handle.signal(HumanInTheLoopWorkflow.approve, "approve") + result = await handle.result() + + assert result == "Done!\n" diff --git a/tests/strands_plugin/mcp_test.py b/tests/strands_plugin/mcp_test.py new file mode 100644 index 000000000..9480f81d9 --- /dev/null +++ b/tests/strands_plugin/mcp_test.py @@ -0,0 +1,42 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.mcp.run_worker import _make_echo_client +from strands_plugin.mcp.workflow import MCPWorkflow +from tests.strands_plugin._mock_model import patch_bedrock + + +async def test_mcp(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + patch_bedrock( + monkeypatch, + [ + {"name": "echo", "input": {"message": "hello from MCP"}}, + "Done!", + ], + ) + + task_queue = f"strands-mcp-{uuid.uuid4()}" + plugin = StrandsPlugin(mcp_clients={"echo": _make_echo_client}) + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[MCPWorkflow], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + MCPWorkflow.run, + "Echo hello from MCP.", + id=f"strands-mcp-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "Done!\n" diff --git a/tests/strands_plugin/streaming_test.py b/tests/strands_plugin/streaming_test.py new file mode 100644 index 000000000..1a57aefda --- /dev/null +++ b/tests/strands_plugin/streaming_test.py @@ -0,0 +1,59 @@ +import asyncio +import uuid +from datetime import timedelta + +import pytest +from strands.types.streaming import StreamEvent +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.contrib.workflow_streams import WorkflowStreamClient +from temporalio.worker import Worker + +from strands_plugin.streaming.workflow import StreamingWorkflow +from tests.strands_plugin._mock_model import patch_bedrock + + +async def test_streaming(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + patch_bedrock(monkeypatch, ["Done!"]) + + task_queue = f"strands-streaming-{uuid.uuid4()}" + plugin = StrandsPlugin() + workflow_id = f"strands-streaming-{uuid.uuid4()}" + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[StreamingWorkflow], + max_cached_workflows=0, + ): + handle = await client.start_workflow( + StreamingWorkflow.run, + "Hello", + id=workflow_id, + task_queue=task_queue, + ) + + stream = WorkflowStreamClient.create(client, workflow_id) + events: list[StreamEvent] = [] + + async def collect() -> None: + async for item in stream.subscribe( + ["events"], + from_offset=0, + result_type=StreamEvent, + poll_cooldown=timedelta(milliseconds=50), + ): + events.append(item.data) + if len(events) >= 4: + return + + collect_task = asyncio.create_task(collect()) + assert await handle.result() == "Done!\n" + await asyncio.wait_for(collect_task, timeout=10.0) + + assert any("messageStart" in e for e in events) + assert any("messageStop" in e for e in events) diff --git a/tests/strands_plugin/structured_output_test.py b/tests/strands_plugin/structured_output_test.py new file mode 100644 index 000000000..fba1f10c1 --- /dev/null +++ b/tests/strands_plugin/structured_output_test.py @@ -0,0 +1,54 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.structured_output.workflow import ( + PersonInfo, + StructuredOutputWorkflow, +) +from tests.strands_plugin._mock_model import patch_bedrock + + +async def test_structured_output( + client: Client, monkeypatch: pytest.MonkeyPatch +) -> None: + patch_bedrock( + monkeypatch, + [ + { + "name": "PersonInfo", + "input": { + "name": "John Smith", + "age": 30, + "occupation": "software engineer", + }, + }, + ], + ) + + task_queue = f"strands-structured-output-{uuid.uuid4()}" + plugin = StrandsPlugin() + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[StructuredOutputWorkflow], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + StructuredOutputWorkflow.run, + "John Smith is a 30 year-old software engineer.", + id=f"strands-structured-output-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == PersonInfo( + name="John Smith", age=30, occupation="software engineer" + ) diff --git a/tests/strands_plugin/tools_test.py b/tests/strands_plugin/tools_test.py new file mode 100644 index 000000000..5aa36f883 --- /dev/null +++ b/tests/strands_plugin/tools_test.py @@ -0,0 +1,51 @@ +import uuid + +import pytest +from temporalio.client import Client +from temporalio.contrib.strands import StrandsPlugin +from temporalio.worker import Worker + +from strands_plugin.tools.workflow import ( + ToolsWorkflow, + environment_activity, + fetch_weather, +) +from tests.strands_plugin._mock_model import patch_bedrock + + +async def test_tools(client: Client, monkeypatch: pytest.MonkeyPatch) -> None: + patch_bedrock( + monkeypatch, + [ + { + "name": "letter_counter", + "input": {"word": "strawberry", "letter": "R"}, + }, + {"name": "fetch_weather", "input": {"city": "San Francisco"}}, + {"name": "environment", "input": {"action": "validate", "name": "PATH"}}, + "Done!", + ], + ) + + task_queue = f"strands-tools-{uuid.uuid4()}" + plugin = StrandsPlugin() + + config = client.config() + config["plugins"] = [*config["plugins"], plugin] + client = Client(**config) + + async with Worker( + client, + task_queue=task_queue, + workflows=[ToolsWorkflow], + activities=[fetch_weather, environment_activity], + max_cached_workflows=0, + ): + result = await client.execute_workflow( + ToolsWorkflow.run, + "Use all three tools.", + id=f"strands-tools-{uuid.uuid4()}", + task_queue=task_queue, + ) + + assert result == "Done!\n" diff --git a/tests/trio_async/__init__.py b/tests/trio_async/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/trio_async/workflow_test.py b/tests/trio_async/workflow_test.py new file mode 100644 index 000000000..15d678aac --- /dev/null +++ b/tests/trio_async/workflow_test.py @@ -0,0 +1,51 @@ +import sys +import uuid + +import pytest + +if sys.version_info >= (3, 14): + pytest.skip("trio-asyncio not supported on Python 3.14+", allow_module_level=True) + + +import trio_asyncio +from temporalio.client import Client +from temporalio.worker import Worker + +from trio_async import activities, workflows + + +async def test_workflow_with_trio(client: Client): + @trio_asyncio.aio_as_trio + async def inside_trio(client: Client) -> list[str]: + # Create Trio thread executor + with trio_asyncio.TrioExecutor(max_workers=200) as thread_executor: + task_queue = f"tq-{uuid.uuid4()}" + # Run worker + async with Worker( + client, + task_queue=task_queue, + activities=[ + activities.say_hello_activity_async, + activities.say_hello_activity_sync, + ], + workflows=[workflows.SayHelloWorkflow], + activity_executor=thread_executor, + workflow_task_executor=thread_executor, + ): + # Run workflow and return result + return await client.execute_workflow( + workflows.SayHelloWorkflow.run, + "some-user", + id=f"wf-{uuid.uuid4()}", + task_queue=task_queue, + ) + + if sys.version_info[:2] < (3, 12): + pytest.skip("Trio support requires >= 3.12") + + result = trio_asyncio.run(inside_trio, client) + + assert result == [ + "Hello, some-user! (from asyncio)", + "Hello, some-user! (from thread)", + ] diff --git a/tests/updatable_timer/__init__.py b/tests/updatable_timer/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/updatable_timer/updatable_timer_test.py b/tests/updatable_timer/updatable_timer_test.py new file mode 100644 index 000000000..1f3d8ae03 --- /dev/null +++ b/tests/updatable_timer/updatable_timer_test.py @@ -0,0 +1,33 @@ +import datetime +import logging +import math +import uuid + +from temporalio.client import Client, WorkflowExecutionStatus +from temporalio.testing import WorkflowEnvironment +from temporalio.worker import Worker + +from updatable_timer.workflow import Workflow + + +async def test_updatable_timer_workflow(): + logging.basicConfig(level=logging.DEBUG) + + task_queue_name = str(uuid.uuid4()) + async with await WorkflowEnvironment.start_time_skipping() as env: + async with Worker(env.client, task_queue=task_queue_name, workflows=[Workflow]): + in_a_day = float( + (datetime.datetime.now() + datetime.timedelta(days=1)).timestamp() + ) + in_an_hour = float( + (datetime.datetime.now() + datetime.timedelta(hours=1)).timestamp() + ) + handle = await env.client.start_workflow( + Workflow.run, in_a_day, id=str(uuid.uuid4()), task_queue=task_queue_name + ) + wake_up_time1 = await handle.query(Workflow.get_wake_up_time) + assert math.isclose(wake_up_time1, in_a_day) + await handle.signal(Workflow.update_wake_up_time, in_an_hour) + wake_up_time2 = await handle.query(Workflow.get_wake_up_time) + assert math.isclose(wake_up_time2, in_an_hour) + await handle.result() diff --git a/trio_async/README.md b/trio_async/README.md new file mode 100644 index 000000000..dfa02eab4 --- /dev/null +++ b/trio_async/README.md @@ -0,0 +1,25 @@ +# Trio Async Sample + +This sample shows how to use Temporal asyncio with [Trio](https://trio.readthedocs.io) using +[Trio asyncio](https://trio-asyncio.readthedocs.io). Specifically it demonstrates using a traditional Temporal client +and worker in a Trio setting, and how Trio-based code can run in both asyncio async activities and threaded sync +activities. + +NOTE: This sample only works on Python versions < 3.14. + +For this sample, the optional `trio_async` dependency group must be included. To include, run: + + uv sync --group trio_async + +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the +worker: + + uv run trio_async/worker.py + +This will start the worker. Then, in another terminal, run the following to execute the workflow: + + uv run trio_async/starter.py + +The starter should complete with: + + INFO:root:Workflow result: ['Hello, Temporal! (from asyncio)', 'Hello, Temporal! (from thread)'] \ No newline at end of file diff --git a/trio_async/__init__.py b/trio_async/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/trio_async/activities.py b/trio_async/activities.py new file mode 100644 index 000000000..c253c93ef --- /dev/null +++ b/trio_async/activities.py @@ -0,0 +1,51 @@ +import asyncio +import time + +import trio +import trio_asyncio +from temporalio import activity + + +# An asyncio-based async activity +@activity.defn +async def say_hello_activity_async(name: str) -> str: + # Demonstrate a sleep in both asyncio and Trio, showing that both asyncio + # and Trio primitives can be used + + # First asyncio + activity.logger.info("Sleeping in asyncio") + await asyncio.sleep(0.1) + + # Now Trio. We have to invoke the function separately decorated. + # We cannot use the @trio_as_aio decorator on the activity itself because + # it doesn't use functools wrap or similar so it doesn't respond to things + # like __name__ that @activity.defn needs. + return await say_hello_in_trio_from_asyncio(name) + + +@trio_asyncio.trio_as_aio +async def say_hello_in_trio_from_asyncio(name: str) -> str: + activity.logger.info("Sleeping in Trio (from asyncio)") + await trio.sleep(0.1) + return f"Hello, {name}! (from asyncio)" + + +# A thread-based sync activity +@activity.defn +def say_hello_activity_sync(name: str) -> str: + # Demonstrate a sleep in both threaded and Trio, showing that both + # primitives can be used + + # First, thread-blocking + activity.logger.info("Sleeping normally") + time.sleep(0.1) + + # Now Trio. We have to use Trio's thread sync tools to run trio calls from + # a different thread. + return trio.from_thread.run(say_hello_in_trio_from_sync, name) + + +async def say_hello_in_trio_from_sync(name: str) -> str: + activity.logger.info("Sleeping in Trio (from thread)") + await trio.sleep(0.1) + return f"Hello, {name}! (from thread)" diff --git a/trio_async/starter.py b/trio_async/starter.py new file mode 100644 index 000000000..6535ca986 --- /dev/null +++ b/trio_async/starter.py @@ -0,0 +1,31 @@ +import logging + +import trio_asyncio +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from trio_async import workflows + + +@trio_asyncio.aio_as_trio # Note this decorator which allows asyncio primitives +async def main(): + logging.basicConfig(level=logging.INFO) + + # Connect client + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Execute the workflow + result = await client.execute_workflow( + workflows.SayHelloWorkflow.run, + "Temporal", + id=f"trio-async-workflow-id", + task_queue="trio-async-task-queue", + ) + logging.info(f"Workflow result: {result}") + + +if __name__ == "__main__": + # Note how we're using Trio event loop, not asyncio + trio_asyncio.run(main) diff --git a/trio_async/worker.py b/trio_async/worker.py new file mode 100644 index 000000000..7cb9685f9 --- /dev/null +++ b/trio_async/worker.py @@ -0,0 +1,68 @@ +import asyncio +import logging +import os +import sys + +import trio_asyncio +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from trio_async import activities, workflows + + +@trio_asyncio.aio_as_trio # Note this decorator which allows asyncio primitives +async def main(): + logging.basicConfig(level=logging.INFO) + + # Connect client + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Temporal runs threaded activities and workflow tasks via run_in_executor. + # Due to how trio_asyncio works, you can only do run_in_executor with their + # specific executor. We make sure to give it 200 max since we are using it + # for both activities and workflow tasks and by default the worker supports + # 100 max concurrent activity tasks and 100 max concurrent workflow tasks. + with trio_asyncio.TrioExecutor(max_workers=200) as thread_executor: + # Run a worker for the workflow + async with Worker( + client, + task_queue="trio-async-task-queue", + activities=[ + activities.say_hello_activity_async, + activities.say_hello_activity_sync, + ], + workflows=[workflows.SayHelloWorkflow], + activity_executor=thread_executor, + workflow_task_executor=thread_executor, + ): + # Wait until interrupted + logging.info("Worker started, ctrl+c to exit") + try: + await asyncio.Future() + except asyncio.CancelledError: + # Ignore, happens on ctrl+C + pass + finally: + logging.info("Shutting down") + + +if __name__ == "__main__": + # Note how we're using Trio event loop, not asyncio + try: + trio_asyncio.run(main) + except KeyboardInterrupt: + # Ignore ctrl+c + pass + except BaseException as err: + # On Python 3.11+ Trio represents keyboard interrupt inside an exception + # group + is_interrupt = ( + sys.version_info >= (3, 11) + and isinstance(err, BaseExceptionGroup) + and err.subgroup(KeyboardInterrupt) + ) + if not is_interrupt: + raise diff --git a/trio_async/workflows.py b/trio_async/workflows.py new file mode 100644 index 000000000..adcb47611 --- /dev/null +++ b/trio_async/workflows.py @@ -0,0 +1,30 @@ +from datetime import timedelta + +from temporalio import workflow + +with workflow.unsafe.imports_passed_through(): + from trio_async.activities import say_hello_activity_async, say_hello_activity_sync + + +@workflow.defn +class SayHelloWorkflow: + @workflow.run + async def run(self, name: str) -> list[str]: + # Workflows don't use default asyncio event loop or Trio, they use a + # custom event loop. Therefore Trio primitives should never be used in a + # workflow, only asyncio helpers (which delegate to the custom loop). + return [ + # That these are two different activities for async or sync means + # nothing to the workflow, we just have both to demonstrate the + # activity side + await workflow.execute_activity( + say_hello_activity_async, + name, + start_to_close_timeout=timedelta(minutes=5), + ), + await workflow.execute_activity( + say_hello_activity_sync, + name, + start_to_close_timeout=timedelta(minutes=5), + ), + ] diff --git a/updatable_timer/README.md b/updatable_timer/README.md new file mode 100644 index 000000000..3b738db88 --- /dev/null +++ b/updatable_timer/README.md @@ -0,0 +1,42 @@ +# Updatable Timer Sample + +Demonstrates a helper class which relies on `workflow.wait_condition` to implement a blocking sleep that can be updated at any moment. + +The sample is composed of the three executables: + +* `worker.py` hosts the Workflow Executions. +* `starter.py` starts Workflow Executions. +* `wake_up_timer_updater.py` Signals the Workflow Execution with the new time to wake up. + +First start the Worker: + +```bash +uv run updatable_timer/worker.py +``` +Check the output of the Worker window. The expected output is: + +``` +Worker started, ctrl+c to exit +``` + +Then in a different terminal window start the Workflow Execution: + +```bash +uv run updatable_timer/starter.py +``` +Check the output of the Worker window. The expected output is: +``` +Workflow started: run_id=... +``` + +Then run the updater as many times as you want to change timer to 10 seconds from now: + +```bash +uv run updatable_timer/wake_up_time_updater.py +``` + +Check the output of the worker window. The expected output is: + +``` +Updated wake up time to 10 seconds from now +``` \ No newline at end of file diff --git a/updatable_timer/__init__.py b/updatable_timer/__init__.py new file mode 100644 index 000000000..a5ee5055a --- /dev/null +++ b/updatable_timer/__init__.py @@ -0,0 +1 @@ +TASK_QUEUE = "updatable-timer" diff --git a/updatable_timer/starter.py b/updatable_timer/starter.py new file mode 100644 index 000000000..8ce0f4f95 --- /dev/null +++ b/updatable_timer/starter.py @@ -0,0 +1,36 @@ +import asyncio +import logging +from datetime import datetime, timedelta +from typing import Optional + +from temporalio import exceptions +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from updatable_timer import TASK_QUEUE +from updatable_timer.workflow import Workflow + + +async def main(client: Optional[Client] = None): + logging.basicConfig(level=logging.INFO) + + if not client: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + try: + handle = await client.start_workflow( + Workflow.run, + (datetime.now() + timedelta(days=1)).timestamp(), + id=f"updatable-timer-workflow", + task_queue=TASK_QUEUE, + ) + logging.info(f"Workflow started: run_id={handle.result_run_id}") + except exceptions.WorkflowAlreadyStartedError as e: + logging.info( + f"Workflow already running: workflow_id={e.workflow_id}, run_id={e.run_id}" + ) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/updatable_timer/updatable_timer_lib.py b/updatable_timer/updatable_timer_lib.py new file mode 100644 index 000000000..b90ae8686 --- /dev/null +++ b/updatable_timer/updatable_timer_lib.py @@ -0,0 +1,39 @@ +import asyncio +from datetime import datetime, timedelta + +from temporalio import workflow + + +class UpdatableTimer: + def __init__(self, wake_up_time: datetime) -> None: + self.wake_up_time = wake_up_time + self.wake_up_time_updated = False + + async def sleep(self) -> None: + workflow.logger.info(f"sleep_until: {self.wake_up_time}") + while True: + now = workflow.now() + + sleep_interval = self.wake_up_time - now + if sleep_interval <= timedelta(0): + break + workflow.logger.info(f"Going to sleep for {sleep_interval}") + + try: + self.wake_up_time_updated = False + await workflow.wait_condition( + lambda: self.wake_up_time_updated, + timeout=sleep_interval, + ) + except asyncio.TimeoutError: + # checks condition at the beginning of the loop + continue + workflow.logger.info(f"sleep_until completed") + + def update_wake_up_time(self, wake_up_time: datetime) -> None: + workflow.logger.info(f"update_wake_up_time: {wake_up_time}") + self.wake_up_time = wake_up_time + self.wake_up_time_updated = True + + def get_wake_up_time(self) -> datetime: + return self.wake_up_time diff --git a/updatable_timer/wake_up_time_updater.py b/updatable_timer/wake_up_time_updater.py new file mode 100644 index 000000000..43d248385 --- /dev/null +++ b/updatable_timer/wake_up_time_updater.py @@ -0,0 +1,31 @@ +import asyncio +import logging +from datetime import datetime, timedelta +from typing import Optional + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from updatable_timer.workflow import Workflow + + +async def main(client: Optional[Client] = None): + logging.basicConfig(level=logging.INFO) + + if not client: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + handle = client.get_workflow_handle(workflow_id="updatable-timer-workflow") + # signal workflow about the wake up time change + await handle.signal( + Workflow.update_wake_up_time, + (datetime.now() + timedelta(seconds=10)).timestamp(), + ) + + logging.info("Updated wake up time to 10 seconds from now") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/updatable_timer/worker.py b/updatable_timer/worker.py new file mode 100644 index 000000000..8bb3d47a8 --- /dev/null +++ b/updatable_timer/worker.py @@ -0,0 +1,39 @@ +import asyncio +import logging + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker + +from updatable_timer import TASK_QUEUE +from updatable_timer.workflow import Workflow + +interrupt_event = asyncio.Event() + + +async def main(): + logging.basicConfig(level=logging.INFO) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + async with Worker( + client, + task_queue=TASK_QUEUE, + workflows=[Workflow], + ): + logging.info("Worker started, ctrl+c to exit") + # Wait until interrupted + await interrupt_event.wait() + logging.info("Interrupt received, shutting down...") + + +if __name__ == "__main__": + loop = asyncio.new_event_loop() + asyncio.set_event_loop(loop) + try: + loop.run_until_complete(main()) + except KeyboardInterrupt: + interrupt_event.set() + loop.run_until_complete(loop.shutdown_asyncgens()) diff --git a/updatable_timer/workflow.py b/updatable_timer/workflow.py new file mode 100644 index 000000000..749df6fc1 --- /dev/null +++ b/updatable_timer/workflow.py @@ -0,0 +1,32 @@ +from datetime import datetime, timezone +from typing import Optional + +from temporalio import workflow + +from updatable_timer.updatable_timer_lib import UpdatableTimer + + +@workflow.defn +class Workflow: + @workflow.init + def __init__(self, wake_up_time: float) -> None: + self.timer = UpdatableTimer( + datetime.fromtimestamp(wake_up_time, tz=timezone.utc) + ) + + @workflow.run + async def run(self, wake_up_time: float): + await self.timer.sleep() + + @workflow.signal + async def update_wake_up_time(self, wake_up_time: float) -> None: + workflow.logger.info(f"update_wake_up_time: {wake_up_time}") + + self.timer.update_wake_up_time( + datetime.fromtimestamp(wake_up_time, tz=timezone.utc) + ) + + @workflow.query + def get_wake_up_time(self) -> float: + workflow.logger.info(f"get_wake_up_time") + return float(self.timer.get_wake_up_time().timestamp()) diff --git a/uv.lock b/uv.lock new file mode 100644 index 000000000..202bb9448 --- /dev/null +++ b/uv.lock @@ -0,0 +1,5807 @@ +version = 1 +revision = 3 +requires-python = ">=3.10" +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", + "python_full_version < '3.11'", +] + +[manifest] +constraints = [{ name = "yarl", specifier = "!=1.24.0" }] + +[[package]] +name = "aioboto3" +version = "15.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiobotocore", extra = ["boto3"] }, + { name = "aiofiles" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5c/b1/b0331786c50f6ef881f9a71c3441ccf7b64c7eed210297d882c37ce31713/aioboto3-15.1.0.tar.gz", hash = "sha256:37763bbc6321ceb479106dc63bc84c8fdb59dd02540034a12941aebef2057c5c", size = 234664, upload-time = "2025-08-14T19:49:15.35Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/93/b0/28e3ac89e7119b1cb4e6830664060b96a2b5761291e92a10fb3044b5a11d/aioboto3-15.1.0-py3-none-any.whl", hash = "sha256:66006142a2ccc7d6d07aa260ba291c4922b6767d270ba42f95c59e85d8b3e645", size = 35791, upload-time = "2025-08-14T19:49:14.14Z" }, +] + +[[package]] +name = "aiobotocore" +version = "2.24.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "aioitertools" }, + { name = "botocore" }, + { name = "jmespath" }, + { name = "multidict" }, + { name = "python-dateutil" }, + { name = "wrapt" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b2/ca/ac82c0c699815b6d5b4017f3d8fb2c2d49537f4937f4a0bdf58b4c75d321/aiobotocore-2.24.0.tar.gz", hash = "sha256:b32c0c45d38c22a18ce395a0b5448606c5260603296a152895b5bdb40ab3139d", size = 119597, upload-time = "2025-08-08T18:26:50.373Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e2/68/b29577197aa2e54b50d6f214524790cc1cb27d289585ad7c7bdfe5125285/aiobotocore-2.24.0-py3-none-any.whl", hash = "sha256:72bb1f8eb1b962779a95e1bcc9cf35bc33196ad763b622a40ae7fa9d2e95c87c", size = 84971, upload-time = "2025-08-08T18:26:48.777Z" }, +] + +[package.optional-dependencies] +boto3 = [ + { name = "boto3" }, +] + +[[package]] +name = "aiofiles" +version = "25.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/41/c3/534eac40372d8ee36ef40df62ec129bee4fdb5ad9706e58a29be53b2c970/aiofiles-25.1.0.tar.gz", hash = "sha256:a8d728f0a29de45dc521f18f07297428d56992a742f0cd2701ba86e44d23d5b2", size = 46354, upload-time = "2025-10-09T20:51:04.358Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bc/8a/340a1555ae33d7354dbca4faa54948d76d89a27ceef032c8c3bc661d003e/aiofiles-25.1.0-py3-none-any.whl", hash = "sha256:abe311e527c862958650f9438e859c1fa7568a141b22abcd015e120e86a85695", size = 14668, upload-time = "2025-10-09T20:51:03.174Z" }, +] + +[[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.13.5" +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 = "yarl" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/77/9a/152096d4808df8e4268befa55fba462f440f14beab85e8ad9bf990516918/aiohttp-3.13.5.tar.gz", hash = "sha256:9d98cc980ecc96be6eb4c1994ce35d28d8b1f5e5208a23b421187d1209dbb7d1", size = 7858271, upload-time = "2026-03-31T22:01:03.343Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bd/85/cebc47ee74d8b408749073a1a46c6fcba13d170dc8af7e61996c6c9394ac/aiohttp-3.13.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:02222e7e233295f40e011c1b00e3b0bd451f22cf853a0304c3595633ee47da4b", size = 750547, upload-time = "2026-03-31T21:56:30.024Z" }, + { url = "https://files.pythonhosted.org/packages/05/98/afd308e35b9d3d8c9ec54c0918f1d722c86dc17ddfec272fcdbcce5a3124/aiohttp-3.13.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:bace460460ed20614fa6bc8cb09966c0b8517b8c58ad8046828c6078d25333b5", size = 503535, upload-time = "2026-03-31T21:56:31.935Z" }, + { url = "https://files.pythonhosted.org/packages/6f/4d/926c183e06b09d5270a309eb50fbde7b09782bfd305dec1e800f329834fb/aiohttp-3.13.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8f546a4dc1e6a5edbb9fd1fd6ad18134550e096a5a43f4ad74acfbd834fc6670", size = 497830, upload-time = "2026-03-31T21:56:33.654Z" }, + { url = "https://files.pythonhosted.org/packages/e4/d6/f47d1c690f115a5c2a5e8938cce4a232a5be9aac5c5fb2647efcbbbda333/aiohttp-3.13.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c86969d012e51b8e415a8c6ce96f7857d6a87d6207303ab02d5d11ef0cad2274", size = 1682474, upload-time = "2026-03-31T21:56:35.513Z" }, + { url = "https://files.pythonhosted.org/packages/01/44/056fd37b1bb52eac760303e5196acc74d9d546631b035704ae5927f7b4ac/aiohttp-3.13.5-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b6f6cd1560c5fa427e3b6074bb24d2c64e225afbb7165008903bd42e4e33e28a", size = 1655259, upload-time = "2026-03-31T21:56:37.843Z" }, + { url = "https://files.pythonhosted.org/packages/91/9f/78eb1a20c1c28ae02f6a3c0f4d7b0dcc66abce5290cadd53d78ce3084175/aiohttp-3.13.5-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:636bc362f0c5bbc7372bc3ae49737f9e3030dbce469f0f422c8f38079780363d", size = 1736204, upload-time = "2026-03-31T21:56:39.822Z" }, + { url = "https://files.pythonhosted.org/packages/de/6c/d20d7de23f0b52b8c1d9e2033b2db1ac4dacbb470bb74c56de0f5f86bb4f/aiohttp-3.13.5-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6a7cbeb06d1070f1d14895eeeed4dac5913b22d7b456f2eb969f11f4b3993796", size = 1826198, upload-time = "2026-03-31T21:56:41.378Z" }, + { url = "https://files.pythonhosted.org/packages/2f/86/a6f3ff1fd795f49545a7c74b2c92f62729135d73e7e4055bf74da5a26c82/aiohttp-3.13.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bca9ef7517fd7874a1a08970ae88f497bf5c984610caa0bf40bd7e8450852b95", size = 1681329, upload-time = "2026-03-31T21:56:43.374Z" }, + { url = "https://files.pythonhosted.org/packages/fb/68/84cd3dab6b7b4f3e6fe9459a961acb142aaab846417f6e8905110d7027e5/aiohttp-3.13.5-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:019a67772e034a0e6b9b17c13d0a8fe56ad9fb150fc724b7f3ffd3724288d9e5", size = 1560023, upload-time = "2026-03-31T21:56:45.031Z" }, + { url = "https://files.pythonhosted.org/packages/41/2c/db61b64b0249e30f954a65ab4cb4970ced57544b1de2e3c98ee5dc24165f/aiohttp-3.13.5-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f34ecee82858e41dd217734f0c41a532bd066bcaab636ad830f03a30b2a96f2a", size = 1652372, upload-time = "2026-03-31T21:56:47.075Z" }, + { url = "https://files.pythonhosted.org/packages/25/6f/e96988a6c982d047810c772e28c43c64c300c943b0ed5c1c0c4ce1e1027c/aiohttp-3.13.5-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:4eac02d9af4813ee289cd63a361576da36dba57f5a1ab36377bc2600db0cbb73", size = 1662031, upload-time = "2026-03-31T21:56:48.835Z" }, + { url = "https://files.pythonhosted.org/packages/b7/26/a56feace81f3d347b4052403a9d03754a0ab23f7940780dada0849a38c92/aiohttp-3.13.5-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:4beac52e9fe46d6abf98b0176a88154b742e878fdf209d2248e99fcdf73cd297", size = 1708118, upload-time = "2026-03-31T21:56:50.833Z" }, + { url = "https://files.pythonhosted.org/packages/78/6e/b6173a8ff03d01d5e1a694bc06764b5dad1df2d4ed8f0ceec12bb3277936/aiohttp-3.13.5-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:c180f480207a9b2475f2b8d8bd7204e47aec952d084b2a2be58a782ffcf96074", size = 1548667, upload-time = "2026-03-31T21:56:52.81Z" }, + { url = "https://files.pythonhosted.org/packages/16/13/13296ffe2c132d888b3fe2c195c8b9c0c24c89c3fa5cc2c44464dc23b22e/aiohttp-3.13.5-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:2837fb92951564d6339cedae4a7231692aa9f73cbc4fb2e04263b96844e03b4e", size = 1724490, upload-time = "2026-03-31T21:56:54.541Z" }, + { url = "https://files.pythonhosted.org/packages/7a/b4/1f1c287f4a79782ef36e5a6e62954c85343bc30470d862d30bd5f26c9fa2/aiohttp-3.13.5-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:d9010032a0b9710f58012a1e9c222528763d860ba2ee1422c03473eab47703e7", size = 1667109, upload-time = "2026-03-31T21:56:56.21Z" }, + { url = "https://files.pythonhosted.org/packages/ef/42/8461a2aaf60a8f4ea4549a4056be36b904b0eb03d97ca9a8a2604681a500/aiohttp-3.13.5-cp310-cp310-win32.whl", hash = "sha256:7c4b6668b2b2b9027f209ddf647f2a4407784b5d88b8be4efcc72036f365baf9", size = 439478, upload-time = "2026-03-31T21:56:58.292Z" }, + { url = "https://files.pythonhosted.org/packages/e5/71/06956304cb5ee439dfe8d86e1b2e70088bd88ed1ced1f42fb29e5d855f0e/aiohttp-3.13.5-cp310-cp310-win_amd64.whl", hash = "sha256:cd3db5927bf9167d5a6157ddb2f036f6b6b0ad001ac82355d43e97a4bde76d76", size = 462047, upload-time = "2026-03-31T21:57:00.257Z" }, + { url = "https://files.pythonhosted.org/packages/d6/f5/a20c4ac64aeaef1679e25c9983573618ff765d7aa829fa2b84ae7573169e/aiohttp-3.13.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7ab7229b6f9b5c1ba4910d6c41a9eb11f543eadb3f384df1b4c293f4e73d44d6", size = 757513, upload-time = "2026-03-31T21:57:02.146Z" }, + { url = "https://files.pythonhosted.org/packages/75/0a/39fa6c6b179b53fcb3e4b3d2b6d6cad0180854eda17060c7218540102bef/aiohttp-3.13.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:8f14c50708bb156b3a3ca7230b3d820199d56a48e3af76fa21c2d6087190fe3d", size = 506748, upload-time = "2026-03-31T21:57:04.275Z" }, + { url = "https://files.pythonhosted.org/packages/87/ec/e38ce072e724fd7add6243613f8d1810da084f54175353d25ccf9f9c7e5a/aiohttp-3.13.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e7d2f8616f0ff60bd332022279011776c3ac0faa0f1b463f7bb12326fbc97a1c", size = 501673, upload-time = "2026-03-31T21:57:06.208Z" }, + { url = "https://files.pythonhosted.org/packages/ba/ba/3bc7525d7e2beaa11b309a70d48b0d3cfc3c2089ec6a7d0820d59c657053/aiohttp-3.13.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a2567b72e1ffc3ab25510db43f355b29eeada56c0a622e58dcdb19530eb0a3cb", size = 1763757, upload-time = "2026-03-31T21:57:07.882Z" }, + { url = "https://files.pythonhosted.org/packages/5e/ab/e87744cf18f1bd78263aba24924d4953b41086bd3a31d22452378e9028a0/aiohttp-3.13.5-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:fb0540c854ac9c0c5ad495908fdfd3e332d553ec731698c0e29b1877ba0d2ec6", size = 1720152, upload-time = "2026-03-31T21:57:09.946Z" }, + { url = "https://files.pythonhosted.org/packages/6b/f3/ed17a6f2d742af17b50bae2d152315ed1b164b07a5fd5cc1754d99e4dfa5/aiohttp-3.13.5-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c9883051c6972f58bfc4ebb2116345ee2aa151178e99c3f2b2bbe2af712abd13", size = 1818010, upload-time = "2026-03-31T21:57:12.157Z" }, + { url = "https://files.pythonhosted.org/packages/53/06/ecbc63dc937192e2a5cb46df4d3edb21deb8225535818802f210a6ea5816/aiohttp-3.13.5-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2294172ce08a82fb7c7273485895de1fa1186cc8294cfeb6aef4af42ad261174", size = 1907251, upload-time = "2026-03-31T21:57:14.023Z" }, + { url = "https://files.pythonhosted.org/packages/7e/a5/0521aa32c1ddf3aa1e71dcc466be0b7db2771907a13f18cddaa45967d97b/aiohttp-3.13.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3a807cabd5115fb55af198b98178997a5e0e57dead43eb74a93d9c07d6d4a7dc", size = 1759969, upload-time = "2026-03-31T21:57:16.146Z" }, + { url = "https://files.pythonhosted.org/packages/f6/78/a38f8c9105199dd3b9706745865a8a59d0041b6be0ca0cc4b2ccf1bab374/aiohttp-3.13.5-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:aa6d0d932e0f39c02b80744273cd5c388a2d9bc07760a03164f229c8e02662f6", size = 1616871, upload-time = "2026-03-31T21:57:17.856Z" }, + { url = "https://files.pythonhosted.org/packages/6f/41/27392a61ead8ab38072105c71aa44ff891e71653fe53d576a7067da2b4e8/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:60869c7ac4aaabe7110f26499f3e6e5696eae98144735b12a9c3d9eae2b51a49", size = 1739844, upload-time = "2026-03-31T21:57:19.679Z" }, + { url = "https://files.pythonhosted.org/packages/6e/55/5564e7ae26d94f3214250009a0b1c65a0c6af4bf88924ccb6fdab901de28/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:26d2f8546f1dfa75efa50c3488215a903c0168d253b75fba4210f57ab77a0fb8", size = 1731969, upload-time = "2026-03-31T21:57:22.006Z" }, + { url = "https://files.pythonhosted.org/packages/6d/c5/705a3929149865fc941bcbdd1047b238e4a72bcb215a9b16b9d7a2e8d992/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:f1162a1492032c82f14271e831c8f4b49f2b6078f4f5fc74de2c912fa225d51d", size = 1795193, upload-time = "2026-03-31T21:57:24.256Z" }, + { url = "https://files.pythonhosted.org/packages/a6/19/edabed62f718d02cff7231ca0db4ef1c72504235bc467f7b67adb1679f48/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:8b14eb3262fad0dc2f89c1a43b13727e709504972186ff6a99a3ecaa77102b6c", size = 1606477, upload-time = "2026-03-31T21:57:26.364Z" }, + { url = "https://files.pythonhosted.org/packages/de/fc/76f80ef008675637d88d0b21584596dc27410a990b0918cb1e5776545b5b/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:ca9ac61ac6db4eb6c2a0cd1d0f7e1357647b638ccc92f7e9d8d133e71ed3c6ac", size = 1813198, upload-time = "2026-03-31T21:57:28.316Z" }, + { url = "https://files.pythonhosted.org/packages/e5/67/5b3ac26b80adb20ea541c487f73730dc8fa107d632c998f25bbbab98fcda/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7996023b2ed59489ae4762256c8516df9820f751cf2c5da8ed2fb20ee50abab3", size = 1752321, upload-time = "2026-03-31T21:57:30.549Z" }, + { url = "https://files.pythonhosted.org/packages/88/06/e4a2e49255ea23fa4feeb5ab092d90240d927c15e47b5b5c48dff5a9ce29/aiohttp-3.13.5-cp311-cp311-win32.whl", hash = "sha256:77dfa48c9f8013271011e51c00f8ada19851f013cde2c48fca1ba5e0caf5bb06", size = 439069, upload-time = "2026-03-31T21:57:32.388Z" }, + { url = "https://files.pythonhosted.org/packages/c0/43/8c7163a596dab4f8be12c190cf467a1e07e4734cf90eebb39f7f5d53fc6a/aiohttp-3.13.5-cp311-cp311-win_amd64.whl", hash = "sha256:d3a4834f221061624b8887090637db9ad4f61752001eae37d56c52fddade2dc8", size = 462859, upload-time = "2026-03-31T21:57:34.455Z" }, + { url = "https://files.pythonhosted.org/packages/be/6f/353954c29e7dcce7cf00280a02c75f30e133c00793c7a2ed3776d7b2f426/aiohttp-3.13.5-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:023ecba036ddd840b0b19bf195bfae970083fd7024ce1ac22e9bba90464620e9", size = 748876, upload-time = "2026-03-31T21:57:36.319Z" }, + { url = "https://files.pythonhosted.org/packages/f5/1b/428a7c64687b3b2e9cd293186695affc0e1e54a445d0361743b231f11066/aiohttp-3.13.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:15c933ad7920b7d9a20de151efcd05a6e38302cbf0e10c9b2acb9a42210a2416", size = 499557, upload-time = "2026-03-31T21:57:38.236Z" }, + { url = "https://files.pythonhosted.org/packages/29/47/7be41556bfbb6917069d6a6634bb7dd5e163ba445b783a90d40f5ac7e3a7/aiohttp-3.13.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ab2899f9fa2f9f741896ebb6fa07c4c883bfa5c7f2ddd8cf2aafa86fa981b2d2", size = 500258, upload-time = "2026-03-31T21:57:39.923Z" }, + { url = "https://files.pythonhosted.org/packages/67/84/c9ecc5828cb0b3695856c07c0a6817a99d51e2473400f705275a2b3d9239/aiohttp-3.13.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a60eaa2d440cd4707696b52e40ed3e2b0f73f65be07fd0ef23b6b539c9c0b0b4", size = 1749199, upload-time = "2026-03-31T21:57:41.938Z" }, + { url = "https://files.pythonhosted.org/packages/f0/d3/3c6d610e66b495657622edb6ae7c7fd31b2e9086b4ec50b47897ad6042a9/aiohttp-3.13.5-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:55b3bdd3292283295774ab585160c4004f4f2f203946997f49aac032c84649e9", size = 1721013, upload-time = "2026-03-31T21:57:43.904Z" }, + { url = "https://files.pythonhosted.org/packages/49/a0/24409c12217456df0bae7babe3b014e460b0b38a8e60753d6cb339f6556d/aiohttp-3.13.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c2b2355dc094e5f7d45a7bb262fe7207aa0460b37a0d87027dcf21b5d890e7d5", size = 1781501, upload-time = "2026-03-31T21:57:46.285Z" }, + { url = "https://files.pythonhosted.org/packages/98/9d/b65ec649adc5bccc008b0957a9a9c691070aeac4e41cea18559fef49958b/aiohttp-3.13.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b38765950832f7d728297689ad78f5f2cf79ff82487131c4d26fe6ceecdc5f8e", size = 1878981, upload-time = "2026-03-31T21:57:48.734Z" }, + { url = "https://files.pythonhosted.org/packages/57/d8/8d44036d7eb7b6a8ec4c5494ea0c8c8b94fbc0ed3991c1a7adf230df03bf/aiohttp-3.13.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b18f31b80d5a33661e08c89e202edabf1986e9b49c42b4504371daeaa11b47c1", size = 1767934, upload-time = "2026-03-31T21:57:51.171Z" }, + { url = "https://files.pythonhosted.org/packages/31/04/d3f8211f273356f158e3464e9e45484d3fb8c4ce5eb2f6fe9405c3273983/aiohttp-3.13.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:33add2463dde55c4f2d9635c6ab33ce154e5ecf322bd26d09af95c5f81cfa286", size = 1566671, upload-time = "2026-03-31T21:57:53.326Z" }, + { url = "https://files.pythonhosted.org/packages/41/db/073e4ebe00b78e2dfcacff734291651729a62953b48933d765dc513bf798/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:327cc432fdf1356fb4fbc6fe833ad4e9f6aacb71a8acaa5f1855e4b25910e4a9", size = 1705219, upload-time = "2026-03-31T21:57:55.385Z" }, + { url = "https://files.pythonhosted.org/packages/48/45/7dfba71a2f9fd97b15c95c06819de7eb38113d2cdb6319669195a7d64270/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:7c35b0bf0b48a70b4cb4fc5d7bed9b932532728e124874355de1a0af8ec4bc88", size = 1743049, upload-time = "2026-03-31T21:57:57.341Z" }, + { url = "https://files.pythonhosted.org/packages/18/71/901db0061e0f717d226386a7f471bb59b19566f2cae5f0d93874b017271f/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:df23d57718f24badef8656c49743e11a89fd6f5358fa8a7b96e728fda2abf7d3", size = 1749557, upload-time = "2026-03-31T21:57:59.626Z" }, + { url = "https://files.pythonhosted.org/packages/08/d5/41eebd16066e59cd43728fe74bce953d7402f2b4ddfdfef2c0e9f17ca274/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:02e048037a6501a5ec1f6fc9736135aec6eb8a004ce48838cb951c515f32c80b", size = 1558931, upload-time = "2026-03-31T21:58:01.972Z" }, + { url = "https://files.pythonhosted.org/packages/30/e6/4a799798bf05740e66c3a1161079bda7a3dd8e22ca392481d7a7f9af82a6/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:31cebae8b26f8a615d2b546fee45d5ffb76852ae6450e2a03f42c9102260d6fe", size = 1774125, upload-time = "2026-03-31T21:58:04.007Z" }, + { url = "https://files.pythonhosted.org/packages/84/63/7749337c90f92bc2cb18f9560d67aa6258c7060d1397d21529b8004fcf6f/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:888e78eb5ca55a615d285c3c09a7a91b42e9dd6fc699b166ebd5dee87c9ccf14", size = 1732427, upload-time = "2026-03-31T21:58:06.337Z" }, + { url = "https://files.pythonhosted.org/packages/98/de/cf2f44ff98d307e72fb97d5f5bbae3bfcb442f0ea9790c0bf5c5c2331404/aiohttp-3.13.5-cp312-cp312-win32.whl", hash = "sha256:8bd3ec6376e68a41f9f95f5ed170e2fcf22d4eb27a1f8cb361d0508f6e0557f3", size = 433534, upload-time = "2026-03-31T21:58:08.712Z" }, + { url = "https://files.pythonhosted.org/packages/aa/ca/eadf6f9c8fa5e31d40993e3db153fb5ed0b11008ad5d9de98a95045bed84/aiohttp-3.13.5-cp312-cp312-win_amd64.whl", hash = "sha256:110e448e02c729bcebb18c60b9214a87ba33bac4a9fa5e9a5f139938b56c6cb1", size = 460446, upload-time = "2026-03-31T21:58:10.945Z" }, + { url = "https://files.pythonhosted.org/packages/78/e9/d76bf503005709e390122d34e15256b88f7008e246c4bdbe915cd4f1adce/aiohttp-3.13.5-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a5029cc80718bbd545123cd8fe5d15025eccaaaace5d0eeec6bd556ad6163d61", size = 742930, upload-time = "2026-03-31T21:58:13.155Z" }, + { url = "https://files.pythonhosted.org/packages/57/00/4b7b70223deaebd9bb85984d01a764b0d7bd6526fcdc73cca83bcbe7243e/aiohttp-3.13.5-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4bb6bf5811620003614076bdc807ef3b5e38244f9d25ca5fe888eaccea2a9832", size = 496927, upload-time = "2026-03-31T21:58:15.073Z" }, + { url = "https://files.pythonhosted.org/packages/9c/f5/0fb20fb49f8efdcdce6cd8127604ad2c503e754a8f139f5e02b01626523f/aiohttp-3.13.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a84792f8631bf5a94e52d9cc881c0b824ab42717165a5579c760b830d9392ac9", size = 497141, upload-time = "2026-03-31T21:58:17.009Z" }, + { url = "https://files.pythonhosted.org/packages/3b/86/b7c870053e36a94e8951b803cb5b909bfbc9b90ca941527f5fcafbf6b0fa/aiohttp-3.13.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:57653eac22c6a4c13eb22ecf4d673d64a12f266e72785ab1c8b8e5940d0e8090", size = 1732476, upload-time = "2026-03-31T21:58:18.925Z" }, + { url = "https://files.pythonhosted.org/packages/b5/e5/4e161f84f98d80c03a238671b4136e6530453d65262867d989bbe78244d0/aiohttp-3.13.5-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e5e5f7debc7a57af53fdf5c5009f9391d9f4c12867049d509bf7bb164a6e295b", size = 1706507, upload-time = "2026-03-31T21:58:21.094Z" }, + { url = "https://files.pythonhosted.org/packages/d4/56/ea11a9f01518bd5a2a2fcee869d248c4b8a0cfa0bb13401574fa31adf4d4/aiohttp-3.13.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c719f65bebcdf6716f10e9eff80d27567f7892d8988c06de12bbbd39307c6e3a", size = 1773465, upload-time = "2026-03-31T21:58:23.159Z" }, + { url = "https://files.pythonhosted.org/packages/eb/40/333ca27fb74b0383f17c90570c748f7582501507307350a79d9f9f3c6eb1/aiohttp-3.13.5-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d97f93fdae594d886c5a866636397e2bcab146fd7a132fd6bb9ce182224452f8", size = 1873523, upload-time = "2026-03-31T21:58:25.59Z" }, + { url = "https://files.pythonhosted.org/packages/f0/d2/e2f77eef1acb7111405433c707dc735e63f67a56e176e72e9e7a2cd3f493/aiohttp-3.13.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3df334e39d4c2f899a914f1dba283c1aadc311790733f705182998c6f7cae665", size = 1754113, upload-time = "2026-03-31T21:58:27.624Z" }, + { url = "https://files.pythonhosted.org/packages/fb/56/3f653d7f53c89669301ec9e42c95233e2a0c0a6dd051269e6e678db4fdb0/aiohttp-3.13.5-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fe6970addfea9e5e081401bcbadf865d2b6da045472f58af08427e108d618540", size = 1562351, upload-time = "2026-03-31T21:58:29.918Z" }, + { url = "https://files.pythonhosted.org/packages/ec/a6/9b3e91eb8ae791cce4ee736da02211c85c6f835f1bdfac0594a8a3b7018c/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7becdf835feff2f4f335d7477f121af787e3504b48b449ff737afb35869ba7bb", size = 1693205, upload-time = "2026-03-31T21:58:32.214Z" }, + { url = "https://files.pythonhosted.org/packages/98/fc/bfb437a99a2fcebd6b6eaec609571954de2ed424f01c352f4b5504371dd3/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:676e5651705ad5d8a70aeb8eb6936c436d8ebbd56e63436cb7dd9bb36d2a9a46", size = 1730618, upload-time = "2026-03-31T21:58:34.728Z" }, + { url = "https://files.pythonhosted.org/packages/e4/b6/c8534862126191a034f68153194c389addc285a0f1347d85096d349bbc15/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:9b16c653d38eb1a611cc898c41e76859ca27f119d25b53c12875fd0474ae31a8", size = 1745185, upload-time = "2026-03-31T21:58:36.909Z" }, + { url = "https://files.pythonhosted.org/packages/0b/93/4ca8ee2ef5236e2707e0fd5fecb10ce214aee1ff4ab307af9c558bda3b37/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:999802d5fa0389f58decd24b537c54aa63c01c3219ce17d1214cbda3c2b22d2d", size = 1557311, upload-time = "2026-03-31T21:58:39.38Z" }, + { url = "https://files.pythonhosted.org/packages/57/ae/76177b15f18c5f5d094f19901d284025db28eccc5ae374d1d254181d33f4/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:ec707059ee75732b1ba130ed5f9580fe10ff75180c812bc267ded039db5128c6", size = 1773147, upload-time = "2026-03-31T21:58:41.476Z" }, + { url = "https://files.pythonhosted.org/packages/01/a4/62f05a0a98d88af59d93b7fcac564e5f18f513cb7471696ac286db970d6a/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2d6d44a5b48132053c2f6cd5c8cb14bc67e99a63594e336b0f2af81e94d5530c", size = 1730356, upload-time = "2026-03-31T21:58:44.049Z" }, + { url = "https://files.pythonhosted.org/packages/e4/85/fc8601f59dfa8c9523808281f2da571f8b4699685f9809a228adcc90838d/aiohttp-3.13.5-cp313-cp313-win32.whl", hash = "sha256:329f292ed14d38a6c4c435e465f48bebb47479fd676a0411936cc371643225cc", size = 432637, upload-time = "2026-03-31T21:58:46.167Z" }, + { url = "https://files.pythonhosted.org/packages/c0/1b/ac685a8882896acf0f6b31d689e3792199cfe7aba37969fa91da63a7fa27/aiohttp-3.13.5-cp313-cp313-win_amd64.whl", hash = "sha256:69f571de7500e0557801c0b51f4780482c0ec5fe2ac851af5a92cfce1af1cb83", size = 458896, upload-time = "2026-03-31T21:58:48.119Z" }, + { url = "https://files.pythonhosted.org/packages/5d/ce/46572759afc859e867a5bc8ec3487315869013f59281ce61764f76d879de/aiohttp-3.13.5-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:eb4639f32fd4a9904ab8fb45bf3383ba71137f3d9d4ba25b3b3f3109977c5b8c", size = 745721, upload-time = "2026-03-31T21:58:50.229Z" }, + { url = "https://files.pythonhosted.org/packages/13/fe/8a2efd7626dbe6049b2ef8ace18ffda8a4dfcbe1bcff3ac30c0c7575c20b/aiohttp-3.13.5-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:7e5dc4311bd5ac493886c63cbf76ab579dbe4641268e7c74e48e774c74b6f2be", size = 497663, upload-time = "2026-03-31T21:58:52.232Z" }, + { url = "https://files.pythonhosted.org/packages/9b/91/cc8cc78a111826c54743d88651e1687008133c37e5ee615fee9b57990fac/aiohttp-3.13.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:756c3c304d394977519824449600adaf2be0ccee76d206ee339c5e76b70ded25", size = 499094, upload-time = "2026-03-31T21:58:54.566Z" }, + { url = "https://files.pythonhosted.org/packages/0a/33/a8362cb15cf16a3af7e86ed11962d5cd7d59b449202dc576cdc731310bde/aiohttp-3.13.5-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ecc26751323224cf8186efcf7fbcbc30f4e1d8c7970659daf25ad995e4032a56", size = 1726701, upload-time = "2026-03-31T21:58:56.864Z" }, + { url = "https://files.pythonhosted.org/packages/45/0c/c091ac5c3a17114bd76cbf85d674650969ddf93387876cf67f754204bd77/aiohttp-3.13.5-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:10a75acfcf794edf9d8db50e5a7ec5fc818b2a8d3f591ce93bc7b1210df016d2", size = 1683360, upload-time = "2026-03-31T21:58:59.072Z" }, + { url = "https://files.pythonhosted.org/packages/23/73/bcee1c2b79bc275e964d1446c55c54441a461938e70267c86afaae6fba27/aiohttp-3.13.5-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0f7a18f258d124cd678c5fe072fe4432a4d5232b0657fca7c1847f599233c83a", size = 1773023, upload-time = "2026-03-31T21:59:01.776Z" }, + { url = "https://files.pythonhosted.org/packages/c7/ef/720e639df03004fee2d869f771799d8c23046dec47d5b81e396c7cda583a/aiohttp-3.13.5-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:df6104c009713d3a89621096f3e3e88cc323fd269dbd7c20afe18535094320be", size = 1853795, upload-time = "2026-03-31T21:59:04.568Z" }, + { url = "https://files.pythonhosted.org/packages/bd/c9/989f4034fb46841208de7aeeac2c6d8300745ab4f28c42f629ba77c2d916/aiohttp-3.13.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:241a94f7de7c0c3b616627aaad530fe2cb620084a8b144d3be7b6ecfe95bae3b", size = 1730405, upload-time = "2026-03-31T21:59:07.221Z" }, + { url = "https://files.pythonhosted.org/packages/ce/75/ee1fd286ca7dc599d824b5651dad7b3be7ff8d9a7e7b3fe9820d9180f7db/aiohttp-3.13.5-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c974fb66180e58709b6fc402846f13791240d180b74de81d23913abe48e96d94", size = 1558082, upload-time = "2026-03-31T21:59:09.484Z" }, + { url = "https://files.pythonhosted.org/packages/c3/20/1e9e6650dfc436340116b7aa89ff8cb2bbdf0abc11dfaceaad8f74273a10/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:6e27ea05d184afac78aabbac667450c75e54e35f62238d44463131bd3f96753d", size = 1692346, upload-time = "2026-03-31T21:59:12.068Z" }, + { url = "https://files.pythonhosted.org/packages/d8/40/8ebc6658d48ea630ac7903912fe0dd4e262f0e16825aa4c833c56c9f1f56/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:a79a6d399cef33a11b6f004c67bb07741d91f2be01b8d712d52c75711b1e07c7", size = 1698891, upload-time = "2026-03-31T21:59:14.552Z" }, + { url = "https://files.pythonhosted.org/packages/d8/78/ea0ae5ec8ba7a5c10bdd6e318f1ba5e76fcde17db8275188772afc7917a4/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:c632ce9c0b534fbe25b52c974515ed674937c5b99f549a92127c85f771a78772", size = 1742113, upload-time = "2026-03-31T21:59:17.068Z" }, + { url = "https://files.pythonhosted.org/packages/8a/66/9d308ed71e3f2491be1acb8769d96c6f0c47d92099f3bc9119cada27b357/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:fceedde51fbd67ee2bcc8c0b33d0126cc8b51ef3bbde2f86662bd6d5a6f10ec5", size = 1553088, upload-time = "2026-03-31T21:59:19.541Z" }, + { url = "https://files.pythonhosted.org/packages/da/a6/6cc25ed8dfc6e00c90f5c6d126a98e2cf28957ad06fa1036bd34b6f24a2c/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:f92995dfec9420bb69ae629abf422e516923ba79ba4403bc750d94fb4a6c68c1", size = 1757976, upload-time = "2026-03-31T21:59:22.311Z" }, + { url = "https://files.pythonhosted.org/packages/c1/2b/cce5b0ffe0de99c83e5e36d8f828e4161e415660a9f3e58339d07cce3006/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:20ae0ff08b1f2c8788d6fb85afcb798654ae6ba0b747575f8562de738078457b", size = 1712444, upload-time = "2026-03-31T21:59:24.635Z" }, + { url = "https://files.pythonhosted.org/packages/6c/cf/9e1795b4160c58d29421eafd1a69c6ce351e2f7c8d3c6b7e4ca44aea1a5b/aiohttp-3.13.5-cp314-cp314-win32.whl", hash = "sha256:b20df693de16f42b2472a9c485e1c948ee55524786a0a34345511afdd22246f3", size = 438128, upload-time = "2026-03-31T21:59:27.291Z" }, + { url = "https://files.pythonhosted.org/packages/22/4d/eaedff67fc805aeba4ba746aec891b4b24cebb1a7d078084b6300f79d063/aiohttp-3.13.5-cp314-cp314-win_amd64.whl", hash = "sha256:f85c6f327bf0b8c29da7d93b1cabb6363fb5e4e160a32fa241ed2dce21b73162", size = 464029, upload-time = "2026-03-31T21:59:29.429Z" }, + { url = "https://files.pythonhosted.org/packages/79/11/c27d9332ee20d68dd164dc12a6ecdef2e2e35ecc97ed6cf0d2442844624b/aiohttp-3.13.5-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:1efb06900858bb618ff5cee184ae2de5828896c448403d51fb633f09e109be0a", size = 778758, upload-time = "2026-03-31T21:59:31.547Z" }, + { url = "https://files.pythonhosted.org/packages/04/fb/377aead2e0a3ba5f09b7624f702a964bdf4f08b5b6728a9799830c80041e/aiohttp-3.13.5-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:fee86b7c4bd29bdaf0d53d14739b08a106fdda809ca5fe032a15f52fae5fe254", size = 512883, upload-time = "2026-03-31T21:59:34.098Z" }, + { url = "https://files.pythonhosted.org/packages/bb/a6/aa109a33671f7a5d3bd78b46da9d852797c5e665bfda7d6b373f56bff2ec/aiohttp-3.13.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:20058e23909b9e65f9da62b396b77dfa95965cbe840f8def6e572538b1d32e36", size = 516668, upload-time = "2026-03-31T21:59:36.497Z" }, + { url = "https://files.pythonhosted.org/packages/79/b3/ca078f9f2fa9563c36fb8ef89053ea2bb146d6f792c5104574d49d8acb63/aiohttp-3.13.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8cf20a8d6868cb15a73cab329ffc07291ba8c22b1b88176026106ae39aa6df0f", size = 1883461, upload-time = "2026-03-31T21:59:38.723Z" }, + { url = "https://files.pythonhosted.org/packages/b7/e3/a7ad633ca1ca497b852233a3cce6906a56c3225fb6d9217b5e5e60b7419d/aiohttp-3.13.5-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:330f5da04c987f1d5bdb8ae189137c77139f36bd1cb23779ca1a354a4b027800", size = 1747661, upload-time = "2026-03-31T21:59:41.187Z" }, + { url = "https://files.pythonhosted.org/packages/33/b9/cd6fe579bed34a906d3d783fe60f2fa297ef55b27bb4538438ee49d4dc41/aiohttp-3.13.5-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6f1cbf0c7926d315c3c26c2da41fd2b5d2fe01ac0e157b78caefc51a782196cf", size = 1863800, upload-time = "2026-03-31T21:59:43.84Z" }, + { url = "https://files.pythonhosted.org/packages/c0/3f/2c1e2f5144cefa889c8afd5cf431994c32f3b29da9961698ff4e3811b79a/aiohttp-3.13.5-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:53fc049ed6390d05423ba33103ded7281fe897cf97878f369a527070bd95795b", size = 1958382, upload-time = "2026-03-31T21:59:46.187Z" }, + { url = "https://files.pythonhosted.org/packages/66/1d/f31ec3f1013723b3babe3609e7f119c2c2fb6ef33da90061a705ef3e1bc8/aiohttp-3.13.5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:898703aa2667e3c5ca4c54ca36cd73f58b7a38ef87a5606414799ebce4d3fd3a", size = 1803724, upload-time = "2026-03-31T21:59:48.656Z" }, + { url = "https://files.pythonhosted.org/packages/0e/b4/57712dfc6f1542f067daa81eb61da282fab3e6f1966fca25db06c4fc62d5/aiohttp-3.13.5-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0494a01ca9584eea1e5fbd6d748e61ecff218c51b576ee1999c23db7066417d8", size = 1640027, upload-time = "2026-03-31T21:59:51.284Z" }, + { url = "https://files.pythonhosted.org/packages/25/3c/734c878fb43ec083d8e31bf029daae1beafeae582d1b35da234739e82ee7/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:6cf81fe010b8c17b09495cbd15c1d35afbc8fb405c0c9cf4738e5ae3af1d65be", size = 1806644, upload-time = "2026-03-31T21:59:53.753Z" }, + { url = "https://files.pythonhosted.org/packages/20/a5/f671e5cbec1c21d044ff3078223f949748f3a7f86b14e34a365d74a5d21f/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:c564dd5f09ddc9d8f2c2d0a301cd30a79a2cc1b46dd1a73bef8f0038863d016b", size = 1791630, upload-time = "2026-03-31T21:59:56.239Z" }, + { url = "https://files.pythonhosted.org/packages/0b/63/fb8d0ad63a0b8a99be97deac8c04dacf0785721c158bdf23d679a87aa99e/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:2994be9f6e51046c4f864598fd9abeb4fba6e88f0b2152422c9666dcd4aea9c6", size = 1809403, upload-time = "2026-03-31T21:59:59.103Z" }, + { url = "https://files.pythonhosted.org/packages/59/0c/bfed7f30662fcf12206481c2aac57dedee43fe1c49275e85b3a1e1742294/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:157826e2fa245d2ef46c83ea8a5faf77ca19355d278d425c29fda0beb3318037", size = 1634924, upload-time = "2026-03-31T22:00:02.116Z" }, + { url = "https://files.pythonhosted.org/packages/17/d6/fd518d668a09fd5a3319ae5e984d4d80b9a4b3df4e21c52f02251ef5a32e/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:a8aca50daa9493e9e13c0f566201a9006f080e7c50e5e90d0b06f53146a54500", size = 1836119, upload-time = "2026-03-31T22:00:04.756Z" }, + { url = "https://files.pythonhosted.org/packages/78/b7/15fb7a9d52e112a25b621c67b69c167805cb1f2ab8f1708a5c490d1b52fe/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:3b13560160d07e047a93f23aaa30718606493036253d5430887514715b67c9d9", size = 1772072, upload-time = "2026-03-31T22:00:07.494Z" }, + { url = "https://files.pythonhosted.org/packages/7e/df/57ba7f0c4a553fc2bd8b6321df236870ec6fd64a2a473a8a13d4f733214e/aiohttp-3.13.5-cp314-cp314t-win32.whl", hash = "sha256:9a0f4474b6ea6818b41f82172d799e4b3d29e22c2c520ce4357856fced9af2f8", size = 471819, upload-time = "2026-03-31T22:00:10.277Z" }, + { url = "https://files.pythonhosted.org/packages/62/29/2f8418269e46454a26171bfdd6a055d74febf32234e474930f2f60a17145/aiohttp-3.13.5-cp314-cp314t-win_amd64.whl", hash = "sha256:18a2f6c1182c51baa1d28d68fea51513cb2a76612f038853c0ad3c145423d3d9", size = 505441, upload-time = "2026-03-31T22:00:12.791Z" }, +] + +[[package]] +name = "aioitertools" +version = "0.13.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/fd/3c/53c4a17a05fb9ea2313ee1777ff53f5e001aefd5cc85aa2f4c2d982e1e38/aioitertools-0.13.0.tar.gz", hash = "sha256:620bd241acc0bbb9ec819f1ab215866871b4bbd1f73836a55f799200ee86950c", size = 19322, upload-time = "2025-11-06T22:17:07.609Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/10/a1/510b0a7fadc6f43a6ce50152e69dbd86415240835868bb0bd9b5b88b1e06/aioitertools-0.13.0-py3-none-any.whl", hash = "sha256:0be0292b856f08dfac90e31f4739432f4cb6d7520ab9eb73e143f4f2fa5259be", size = 24182, upload-time = "2025-11-06T22:17:06.502Z" }, +] + +[[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 = "aiosqlite" +version = "0.22.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/4e/8a/64761f4005f17809769d23e518d915db74e6310474e733e3593cfc854ef1/aiosqlite-0.22.1.tar.gz", hash = "sha256:043e0bd78d32888c0a9ca90fc788b38796843360c855a7262a532813133a0650", size = 14821, upload-time = "2025-12-23T19:25:43.997Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/00/b7/e3bf5133d697a08128598c8d0abc5e16377b51465a33756de24fa7dee953/aiosqlite-0.22.1-py3-none-any.whl", hash = "sha256:21c002eb13823fad740196c5a2e9d8e62f6243bd9e7e4a1f87fb5e44ecb4fceb", size = 17405, upload-time = "2025-12-23T19:25:42.139Z" }, +] + +[[package]] +name = "annotated-doc" +version = "0.0.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288, upload-time = "2025-11-10T22:07:42.062Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303, upload-time = "2025-11-10T22:07:40.673Z" }, +] + +[[package]] +name = "annotated-types" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" }, +] + +[[package]] +name = "anthropic" +version = "0.103.1" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +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/fb/57/0b758b08cf4606c94d63a997d67a0063f7438efbaf81cfedd0d7c0c69d67/anthropic-0.103.1.tar.gz", hash = "sha256:21c12f4fc0fdd87a2e80d58479cd0af640062b3cfb82bbfa01c7977acd4defeb", size = 848877, upload-time = "2026-05-19T15:43:27.698Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ad/ec/cf357cf571377a39552c1530390a9b79bbdb6ea463f48fbe4e3624141e3b/anthropic-0.103.1-py3-none-any.whl", hash = "sha256:b9a523fac34e64caf6ee55fdbda213950e6a744b906fce100d34909aad2cd8f4", size = 832551, upload-time = "2026-05-19T15:43:29.663Z" }, +] + +[[package]] +name = "anthropic" +version = "0.121.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +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/0f/ca/3cb2c20ee729736fbd4546d5d8b67e818288529fe70cb7a80dbf80aef70b/anthropic-0.121.0.tar.gz", hash = "sha256:e79d6e08ab3376602fc9a70d4d5ea3540817c76cf7e16658bed790834e1833d6", size = 1013292, upload-time = "2026-08-07T17:11:07.241Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fa/91/b3d41643f1f639927e8c5fb02c3bd8bffe6f1f29e219b3bd4c61e267b15c/anthropic-0.121.0-py3-none-any.whl", hash = "sha256:6048713fa441e59e1cba8363171cd2a86273b25bd213e9c7ac70a523af88b011", size = 1035493, upload-time = "2026-08-07T17:11:08.508Z" }, +] + +[[package]] +name = "antlr4-python3-runtime" +version = "4.13.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/33/5f/2cdf6f7aca3b20d3f316e9f505292e1f256a32089bd702034c29ebde6242/antlr4_python3_runtime-4.13.2.tar.gz", hash = "sha256:909b647e1d2fc2b70180ac586df3933e38919c85f98ccc656a96cd3f25ef3916", size = 117467, upload-time = "2024-08-03T19:00:12.757Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/89/03/a851e84fcbb85214dc637b6378121ef9a0dd61b4c65264675d8a5c9b1ae7/antlr4_python3_runtime-4.13.2-py3-none-any.whl", hash = "sha256:fe3835eb8d33daece0e799090eda89719dbccee7aa39ef94eed3818cafa5a7e8", size = 144462, upload-time = "2024-08-03T19:00:11.134Z" }, +] + +[[package]] +name = "anyio" +version = "4.13.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, + { name = "idna" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/19/14/2c5dd9f512b66549ae92767a9c7b330ae88e1932ca57876909410251fe13/anyio-4.13.0.tar.gz", hash = "sha256:334b70e641fd2221c1505b3890c69882fe4a2df910cba14d97019b90b24439dc", size = 231622, upload-time = "2026-03-24T12:59:09.671Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/da/42/e921fccf5015463e32a3cf6ee7f980a6ed0f395ceeaa45060b61d86486c2/anyio-4.13.0-py3-none-any.whl", hash = "sha256:08b310f9e24a9594186fd75b4f73f4a4152069e3853f1ed8bfbf58369f4ad708", size = 114353, upload-time = "2026-03-24T12:59:08.246Z" }, +] + +[[package]] +name = "async-timeout" +version = "5.0.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a5/ae/136395dfbfe00dfc94da3f3e136d0b13f394cba8f4841120e34226265780/async_timeout-5.0.1.tar.gz", hash = "sha256:d9321a7a3d5a6a5e187e824d2fa0793ce379a202935782d555d6e9d2735677d3", size = 9274, upload-time = "2024-11-06T16:41:39.6Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fe/ba/e2081de779ca30d473f21f5b30e0e737c438205440784c7dfc81efc2b029/async_timeout-5.0.1-py3-none-any.whl", hash = "sha256:39e3809566ff85354557ec2398b55e096c8364bacac9405a7a1fa429e77fe76c", size = 6233, upload-time = "2024-11-06T16:41:37.9Z" }, +] + +[[package]] +name = "attrs" +version = "26.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/9a/8e/82a0fe20a541c03148528be8cac2408564a6c9a0cc7e9171802bc1d26985/attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32", size = 952055, upload-time = "2026-03-19T14:22:25.026Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548, upload-time = "2026-03-19T14:22:23.645Z" }, +] + +[[package]] +name = "authlib" +version = "1.6.12" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cryptography" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d3/30/6691fdc63b35f54a5a65e04fa1e59d827f4d4e8f4a39678ba7d3088ce0c8/authlib-1.6.12.tar.gz", hash = "sha256:0656d8482f28fc8221929d5f35b2bde5d13e10555ebc06b4561b0d622e83b1bd", size = 165368, upload-time = "2026-05-04T08:11:31.826Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cd/51/9b0b5cd4cf683a02db937a6f9bbebcdc9c56558a7bb3763ce7d3512103c3/authlib-1.6.12-py2.py3-none-any.whl", hash = "sha256:e9229ad7fde610b139dd12f5edbe97eab9ee78bfb85691247e767727850b99ab", size = 244473, upload-time = "2026-05-04T08:11:30.354Z" }, +] + +[[package]] +name = "aws-requests-auth" +version = "0.4.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/54/b2/455c0bfcbd772dafd4c9e93c4b713e36790abf9ccbca9b8e661968b29798/aws-requests-auth-0.4.3.tar.gz", hash = "sha256:33593372018b960a31dbbe236f89421678b885c35f0b6a7abfae35bb77e069b2", size = 10096, upload-time = "2020-05-27T23:10:34.742Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/af/11/5dc8be418e1d54bed15eaf3a7461797e5ebb9e6a34869ad750561f35fa5b/aws_requests_auth-0.4.3-py2.py3-none-any.whl", hash = "sha256:646bc37d62140ea1c709d20148f5d43197e6bd2d63909eb36fa4bb2345759977", size = 6838, upload-time = "2020-05-27T23:10:33.658Z" }, +] + +[[package]] +name = "aws-sam-translator" +version = "1.106.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "boto3" }, + { name = "jsonschema" }, + { name = "pydantic" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d3/52/feef23ec9392e2321ab889fa491a1a86d5818d35948bc331cd92dae0087c/aws_sam_translator-1.106.0.tar.gz", hash = "sha256:87712ced7eb6835fea2d4e9674ba7268494aa98f5b186ec5ad684245e2707ef7", size = 355440, upload-time = "2025-12-17T19:07:05.078Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/64/b9/8272f2a22ab1c225ded0fafc702adca0f6631777df9999f7b9b793c48feb/aws_sam_translator-1.106.0-py3-none-any.whl", hash = "sha256:09e58160cdba3539dd37be209bc2accf51f8b71f8d4cc5431e248f794b122644", size = 415433, upload-time = "2025-12-17T19:07:03.285Z" }, +] + +[[package]] +name = "aws-xray-sdk" +version = "2.15.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "botocore" }, + { name = "wrapt" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/14/25/0cbd7a440080def5e6f063720c3b190a25f8aa2938c1e34415dc18241596/aws_xray_sdk-2.15.0.tar.gz", hash = "sha256:794381b96e835314345068ae1dd3b9120bd8b4e21295066c37e8814dbb341365", size = 76315, upload-time = "2025-10-29T20:59:45Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ef/c3/f30a7a63e664acc7c2545ca0491b6ce8264536e0e5cad3965f1d1b91e960/aws_xray_sdk-2.15.0-py2.py3-none-any.whl", hash = "sha256:422d62ad7d52e373eebb90b642eb1bb24657afe03b22a8df4a8b2e5108e278a3", size = 103228, upload-time = "2025-10-29T21:00:24.12Z" }, +] + +[[package]] +name = "beautifulsoup4" +version = "4.14.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "soupsieve" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c3/b0/1c6a16426d389813b48d95e26898aff79abbde42ad353958ad95cc8c9b21/beautifulsoup4-4.14.3.tar.gz", hash = "sha256:6292b1c5186d356bba669ef9f7f051757099565ad9ada5dd630bd9de5fa7fb86", size = 627737, upload-time = "2025-11-30T15:08:26.084Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1a/39/47f9197bdd44df24d67ac8893641e16f386c984a0619ef2ee4c51fbbc019/beautifulsoup4-4.14.3-py3-none-any.whl", hash = "sha256:0918bfe44902e6ad8d57732ba310582e98da931428d231a5ecb9e7c703a735bb", size = 107721, upload-time = "2025-11-30T15:08:24.087Z" }, +] + +[[package]] +name = "blinker" +version = "1.9.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/21/28/9b3f50ce0e048515135495f198351908d99540d69bfdc8c1d15b73dc55ce/blinker-1.9.0.tar.gz", hash = "sha256:b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf", size = 22460, upload-time = "2024-11-08T17:25:47.436Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/10/cb/f2ad4230dc2eb1a74edf38f1a38b9b52277f75bef262d8908e60d957e13c/blinker-1.9.0-py3-none-any.whl", hash = "sha256:ba0efaa9080b619ff2f3459d1d500c57bddea4a6b424b60a91141db6fd2f08bc", size = 8458, upload-time = "2024-11-08T17:25:46.184Z" }, +] + +[[package]] +name = "boto3" +version = "1.39.11" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "botocore" }, + { name = "jmespath" }, + { name = "s3transfer" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b6/2e/ed75ea3ee0fd1afacc3379bc2b7457c67a6b0f0e554e1f7ccbdbaed2351b/boto3-1.39.11.tar.gz", hash = "sha256:3027edf20642fe1d5f9dc50a420d0fe2733073ed6a9f0f047b60fe08c3682132", size = 111869, upload-time = "2025-07-22T19:26:50.867Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/72/66/88566a6484e746c0b075f7c9bb248e8548eda0a486de4460d150a41e2d57/boto3-1.39.11-py3-none-any.whl", hash = "sha256:af8f1dad35eceff7658fab43b39b0f55892b6e3dd12308733521cc24dd2c9a02", size = 139900, upload-time = "2025-07-22T19:26:48.706Z" }, +] + +[[package]] +name = "botocore" +version = "1.39.11" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jmespath" }, + { name = "python-dateutil" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/6d/d0/9d64261186cff650fe63168441edb4f4cd33f085a74c0c54455630a71f91/botocore-1.39.11.tar.gz", hash = "sha256:953b12909d6799350e346ab038e55b6efe622c616f80aef74d7a6683ffdd972c", size = 14217749, upload-time = "2025-07-22T19:26:40.723Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1c/2c/8a0b02d60a1dbbae7faa5af30484b016aa3023f9833dfc0d19b0b770dd6a/botocore-1.39.11-py3-none-any.whl", hash = "sha256:1545352931a8a186f3e977b1e1a4542d7d434796e274c3c62efd0210b5ea76dc", size = 13876276, upload-time = "2025-07-22T19:26:35.164Z" }, +] + +[[package]] +name = "bracex" +version = "3.0.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ac/01/5f394b8bcd6e5b92f73130990960423bbb19711f906bd9fe9ea5557c667c/bracex-3.0.1.tar.gz", hash = "sha256:4e38e32392e4a4780fe15d644bfc7c8514057cfc3861e060b11814ce829c25e4", size = 44019, upload-time = "2026-07-20T13:43:00.335Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b8/8f/6f7273a7adb8d73fc8d21ede4376a3e475e52f98435c6007f69100dec8ca/bracex-3.0.1-py3-none-any.whl", hash = "sha256:6523ad83aeb5098a4ee597cff0f964442ff74e460bd3fafaffab6a013ff2288c", size = 11940, upload-time = "2026-07-20T13:42:59.268Z" }, +] + +[[package]] +name = "certifi" +version = "2026.4.22" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/25/ee/6caf7a40c36a1220410afe15a1cc64993a1f864871f698c0f93acb72842a/certifi-2026.4.22.tar.gz", hash = "sha256:8d455352a37b71bf76a79caa83a3d6c25afee4a385d632127b6afb3963f1c580", size = 137077, upload-time = "2026-04-22T11:26:11.191Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/22/30/7cd8fdcdfbc5b869528b079bfb76dcdf6056b1a2097a662e5e8c04f42965/certifi-2026.4.22-py3-none-any.whl", hash = "sha256:3cb2210c8f88ba2318d29b0388d1023c8492ff72ecdde4ebdaddbb13a31b1c4a", size = 135707, upload-time = "2026-04-22T11:26:09.372Z" }, +] + +[[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 = "cfn-lint" +version = "1.47.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aws-sam-translator" }, + { name = "jsonpatch" }, + { name = "networkx", version = "3.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "networkx", version = "3.6.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "pyyaml" }, + { name = "regex" }, + { name = "sympy" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/10/34/e66811016e7709cab78b0cf896437b922d7537986ac727344663b6cc2044/cfn_lint-1.47.1.tar.gz", hash = "sha256:b2eedbcee3aa104602f79933e3ad74c01f0fa1e226b70327118926fd78d8d3f1", size = 3672271, upload-time = "2026-03-24T15:59:34.526Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a5/88/19802ef0e1ef6259c4bc4b58226c0e7ff8b7ae93806ca32354c007e3480a/cfn_lint-1.47.1-py3-none-any.whl", hash = "sha256:3a4b5dba0fd03c24f2bc0e112a88ad90fa29014971e881b8f1e297d22f398a97", size = 5299292, upload-time = "2026-03-24T15:59:31.86Z" }, +] + +[[package]] +name = "charset-normalizer" +version = "3.4.7" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e7/a1/67fe25fac3c7642725500a3f6cfe5821ad557c3abb11c9d20d12c7008d3e/charset_normalizer-3.4.7.tar.gz", hash = "sha256:ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5", size = 144271, upload-time = "2026-04-02T09:28:39.342Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/26/08/0f303cb0b529e456bb116f2d50565a482694fbb94340bf56d44677e7ed03/charset_normalizer-3.4.7-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:cdd68a1fb318e290a2077696b7eb7a21a49163c455979c639bf5a5dcdc46617d", size = 315182, upload-time = "2026-04-02T09:25:40.673Z" }, + { url = "https://files.pythonhosted.org/packages/24/47/b192933e94b546f1b1fe4df9cc1f84fcdbf2359f8d1081d46dd029b50207/charset_normalizer-3.4.7-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e17b8d5d6a8c47c85e68ca8379def1303fd360c3e22093a807cd34a71cd082b8", size = 209329, upload-time = "2026-04-02T09:25:42.354Z" }, + { url = "https://files.pythonhosted.org/packages/c2/b4/01fa81c5ca6141024d89a8fc15968002b71da7f825dd14113207113fabbd/charset_normalizer-3.4.7-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:511ef87c8aec0783e08ac18565a16d435372bc1ac25a91e6ac7f5ef2b0bff790", size = 231230, upload-time = "2026-04-02T09:25:44.281Z" }, + { url = "https://files.pythonhosted.org/packages/20/f7/7b991776844dfa058017e600e6e55ff01984a063290ca5622c0b63162f68/charset_normalizer-3.4.7-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:007d05ec7321d12a40227aae9e2bc6dca73f3cb21058999a1df9e193555a9dcc", size = 225890, upload-time = "2026-04-02T09:25:45.475Z" }, + { url = "https://files.pythonhosted.org/packages/20/e7/bed0024a0f4ab0c8a9c64d4445f39b30c99bd1acd228291959e3de664247/charset_normalizer-3.4.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cf29836da5119f3c8a8a70667b0ef5fdca3bb12f80fd06487cfa575b3909b393", size = 216930, upload-time = "2026-04-02T09:25:46.58Z" }, + { url = "https://files.pythonhosted.org/packages/e2/ab/b18f0ab31cdd7b3ddb8bb76c4a414aeb8160c9810fdf1bc62f269a539d87/charset_normalizer-3.4.7-cp310-cp310-manylinux_2_31_armv7l.whl", hash = "sha256:12d8baf840cc7889b37c7c770f478adea7adce3dcb3944d02ec87508e2dcf153", size = 202109, upload-time = "2026-04-02T09:25:48.031Z" }, + { url = "https://files.pythonhosted.org/packages/82/e5/7e9440768a06dfb3075936490cb82dbf0ee20a133bf0dd8551fa096914ec/charset_normalizer-3.4.7-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d560742f3c0d62afaccf9f41fe485ed69bd7661a241f86a3ef0f0fb8b1a397af", size = 214684, upload-time = "2026-04-02T09:25:49.245Z" }, + { url = "https://files.pythonhosted.org/packages/71/94/8c61d8da9f062fdf457c80acfa25060ec22bf1d34bbeaca4350f13bcfd07/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:b14b2d9dac08e28bb8046a1a0434b1750eb221c8f5b87a68f4fa11a6f97b5e34", size = 212785, upload-time = "2026-04-02T09:25:50.671Z" }, + { url = "https://files.pythonhosted.org/packages/66/cd/6e9889c648e72c0ab2e5967528bb83508f354d706637bc7097190c874e13/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:bc17a677b21b3502a21f66a8cc64f5bfad4df8a0b8434d661666f8ce90ac3af1", size = 203055, upload-time = "2026-04-02T09:25:51.802Z" }, + { url = "https://files.pythonhosted.org/packages/92/2e/7a951d6a08aefb7eb8e1b54cdfb580b1365afdd9dd484dc4bee9e5d8f258/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:750e02e074872a3fad7f233b47734166440af3cdea0add3e95163110816d6752", size = 232502, upload-time = "2026-04-02T09:25:53.388Z" }, + { url = "https://files.pythonhosted.org/packages/58/d5/abcf2d83bf8e0a1286df55cd0dc1d49af0da4282aa77e986df343e7de124/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:4e5163c14bffd570ef2affbfdd77bba66383890797df43dc8b4cc7d6f500bf53", size = 214295, upload-time = "2026-04-02T09:25:54.765Z" }, + { url = "https://files.pythonhosted.org/packages/47/3a/7d4cd7ed54be99973a0dc176032cba5cb1f258082c31fa6df35cff46acfc/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:6ed74185b2db44f41ef35fd1617c5888e59792da9bbc9190d6c7300617182616", size = 227145, upload-time = "2026-04-02T09:25:55.904Z" }, + { url = "https://files.pythonhosted.org/packages/1d/98/3a45bf8247889cf28262ebd3d0872edff11565b2a1e3064ccb132db3fbb0/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:94e1885b270625a9a828c9793b4d52a64445299baa1fea5a173bf1d3dd9a1a5a", size = 218884, upload-time = "2026-04-02T09:25:57.074Z" }, + { url = "https://files.pythonhosted.org/packages/ad/80/2e8b7f8915ed5c9ef13aa828d82738e33888c485b65ebf744d615040c7ea/charset_normalizer-3.4.7-cp310-cp310-win32.whl", hash = "sha256:6785f414ae0f3c733c437e0f3929197934f526d19dfaa75e18fdb4f94c6fb374", size = 148343, upload-time = "2026-04-02T09:25:58.199Z" }, + { url = "https://files.pythonhosted.org/packages/35/1b/3b8c8c77184af465ee9ad88b5aea46ea6b2e1f7b9dc9502891e37af21e30/charset_normalizer-3.4.7-cp310-cp310-win_amd64.whl", hash = "sha256:6696b7688f54f5af4462118f0bfa7c1621eeb87154f77fa04b9295ce7a8f2943", size = 159174, upload-time = "2026-04-02T09:25:59.322Z" }, + { url = "https://files.pythonhosted.org/packages/be/c1/feb40dca40dbb21e0a908801782d9288c64fc8d8e562c2098e9994c8c21b/charset_normalizer-3.4.7-cp310-cp310-win_arm64.whl", hash = "sha256:66671f93accb62ed07da56613636f3641f1a12c13046ce91ffc923721f23c008", size = 147805, upload-time = "2026-04-02T09:26:00.756Z" }, + { url = "https://files.pythonhosted.org/packages/c2/d7/b5b7020a0565c2e9fa8c09f4b5fa6232feb326b8c20081ccded47ea368fd/charset_normalizer-3.4.7-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7641bb8895e77f921102f72833904dcd9901df5d6d72a2ab8f31d04b7e51e4e7", size = 309705, upload-time = "2026-04-02T09:26:02.191Z" }, + { url = "https://files.pythonhosted.org/packages/5a/53/58c29116c340e5456724ecd2fff4196d236b98f3da97b404bc5e51ac3493/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:202389074300232baeb53ae2569a60901f7efadd4245cf3a3bf0617d60b439d7", size = 206419, upload-time = "2026-04-02T09:26:03.583Z" }, + { url = "https://files.pythonhosted.org/packages/b2/02/e8146dc6591a37a00e5144c63f29fb7c97a734ea8a111190783c0e60ab63/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:30b8d1d8c52a48c2c5690e152c169b673487a2a58de1ec7393196753063fcd5e", size = 227901, upload-time = "2026-04-02T09:26:04.738Z" }, + { url = "https://files.pythonhosted.org/packages/fb/73/77486c4cd58f1267bf17db420e930c9afa1b3be3fe8c8b8ebbebc9624359/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:532bc9bf33a68613fd7d65e4b1c71a6a38d7d42604ecf239c77392e9b4e8998c", size = 222742, upload-time = "2026-04-02T09:26:06.36Z" }, + { url = "https://files.pythonhosted.org/packages/a1/fa/f74eb381a7d94ded44739e9d94de18dc5edc9c17fb8c11f0a6890696c0a9/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2fe249cb4651fd12605b7288b24751d8bfd46d35f12a20b1ba33dea122e690df", size = 214061, upload-time = "2026-04-02T09:26:08.347Z" }, + { url = "https://files.pythonhosted.org/packages/dc/92/42bd3cefcf7687253fb86694b45f37b733c97f59af3724f356fa92b8c344/charset_normalizer-3.4.7-cp311-cp311-manylinux_2_31_armv7l.whl", hash = "sha256:65bcd23054beab4d166035cabbc868a09c1a49d1efe458fe8e4361215df40265", size = 199239, upload-time = "2026-04-02T09:26:09.823Z" }, + { url = "https://files.pythonhosted.org/packages/4c/3d/069e7184e2aa3b3cddc700e3dd267413dc259854adc3380421c805c6a17d/charset_normalizer-3.4.7-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:08e721811161356f97b4059a9ba7bafb23ea5ee2255402c42881c214e173c6b4", size = 210173, upload-time = "2026-04-02T09:26:10.953Z" }, + { url = "https://files.pythonhosted.org/packages/62/51/9d56feb5f2e7074c46f93e0ebdbe61f0848ee246e2f0d89f8e20b89ebb8f/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e060d01aec0a910bdccb8be71faf34e7799ce36950f8294c8bf612cba65a2c9e", size = 209841, upload-time = "2026-04-02T09:26:12.142Z" }, + { url = "https://files.pythonhosted.org/packages/d2/59/893d8f99cc4c837dda1fe2f1139079703deb9f321aabcb032355de13b6c7/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:38c0109396c4cfc574d502df99742a45c72c08eff0a36158b6f04000043dbf38", size = 200304, upload-time = "2026-04-02T09:26:13.711Z" }, + { url = "https://files.pythonhosted.org/packages/7d/1d/ee6f3be3464247578d1ed5c46de545ccc3d3ff933695395c402c21fa6b77/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:1c2a768fdd44ee4a9339a9b0b130049139b8ce3c01d2ce09f67f5a68048d477c", size = 229455, upload-time = "2026-04-02T09:26:14.941Z" }, + { url = "https://files.pythonhosted.org/packages/54/bb/8fb0a946296ea96a488928bdce8ef99023998c48e4713af533e9bb98ef07/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:1a87ca9d5df6fe460483d9a5bbf2b18f620cbed41b432e2bddb686228282d10b", size = 210036, upload-time = "2026-04-02T09:26:16.478Z" }, + { url = "https://files.pythonhosted.org/packages/9a/bc/015b2387f913749f82afd4fcba07846d05b6d784dd16123cb66860e0237d/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:d635aab80466bc95771bb78d5370e74d36d1fe31467b6b29b8b57b2a3cd7d22c", size = 224739, upload-time = "2026-04-02T09:26:17.751Z" }, + { url = "https://files.pythonhosted.org/packages/17/ab/63133691f56baae417493cba6b7c641571a2130eb7bceba6773367ab9ec5/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ae196f021b5e7c78e918242d217db021ed2a6ace2bc6ae94c0fc596221c7f58d", size = 216277, upload-time = "2026-04-02T09:26:18.981Z" }, + { url = "https://files.pythonhosted.org/packages/06/6d/3be70e827977f20db77c12a97e6a9f973631a45b8d186c084527e53e77a4/charset_normalizer-3.4.7-cp311-cp311-win32.whl", hash = "sha256:adb2597b428735679446b46c8badf467b4ca5f5056aae4d51a19f9570301b1ad", size = 147819, upload-time = "2026-04-02T09:26:20.295Z" }, + { url = "https://files.pythonhosted.org/packages/20/d9/5f67790f06b735d7c7637171bbfd89882ad67201891b7275e51116ed8207/charset_normalizer-3.4.7-cp311-cp311-win_amd64.whl", hash = "sha256:8e385e4267ab76874ae30db04c627faaaf0b509e1ccc11a95b3fc3e83f855c00", size = 159281, upload-time = "2026-04-02T09:26:21.74Z" }, + { url = "https://files.pythonhosted.org/packages/ca/83/6413f36c5a34afead88ce6f66684d943d91f233d76dd083798f9602b75ae/charset_normalizer-3.4.7-cp311-cp311-win_arm64.whl", hash = "sha256:d4a48e5b3c2a489fae013b7589308a40146ee081f6f509e047e0e096084ceca1", size = 147843, upload-time = "2026-04-02T09:26:22.901Z" }, + { url = "https://files.pythonhosted.org/packages/0c/eb/4fc8d0a7110eb5fc9cc161723a34a8a6c200ce3b4fbf681bc86feee22308/charset_normalizer-3.4.7-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:eca9705049ad3c7345d574e3510665cb2cf844c2f2dcfe675332677f081cbd46", size = 311328, upload-time = "2026-04-02T09:26:24.331Z" }, + { url = "https://files.pythonhosted.org/packages/f8/e3/0fadc706008ac9d7b9b5be6dc767c05f9d3e5df51744ce4cc9605de7b9f4/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6178f72c5508bfc5fd446a5905e698c6212932f25bcdd4b47a757a50605a90e2", size = 208061, upload-time = "2026-04-02T09:26:25.568Z" }, + { url = "https://files.pythonhosted.org/packages/42/f0/3dd1045c47f4a4604df85ec18ad093912ae1344ac706993aff91d38773a2/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e1421b502d83040e6d7fb2fb18dff63957f720da3d77b2fbd3187ceb63755d7b", size = 229031, upload-time = "2026-04-02T09:26:26.865Z" }, + { url = "https://files.pythonhosted.org/packages/dc/67/675a46eb016118a2fbde5a277a5d15f4f69d5f3f5f338e5ee2f8948fcf43/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:edac0f1ab77644605be2cbba52e6b7f630731fc42b34cb0f634be1a6eface56a", size = 225239, upload-time = "2026-04-02T09:26:28.044Z" }, + { url = "https://files.pythonhosted.org/packages/4b/f8/d0118a2f5f23b02cd166fa385c60f9b0d4f9194f574e2b31cef350ad7223/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5649fd1c7bade02f320a462fdefd0b4bd3ce036065836d4f42e0de958038e116", size = 216589, upload-time = "2026-04-02T09:26:29.239Z" }, + { url = "https://files.pythonhosted.org/packages/b1/f1/6d2b0b261b6c4ceef0fcb0d17a01cc5bc53586c2d4796fa04b5c540bc13d/charset_normalizer-3.4.7-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:203104ed3e428044fd943bc4bf45fa73c0730391f9621e37fe39ecf477b128cb", size = 202733, upload-time = "2026-04-02T09:26:30.5Z" }, + { url = "https://files.pythonhosted.org/packages/6f/c0/7b1f943f7e87cc3db9626ba17807d042c38645f0a1d4415c7a14afb5591f/charset_normalizer-3.4.7-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:298930cec56029e05497a76988377cbd7457ba864beeea92ad7e844fe74cd1f1", size = 212652, upload-time = "2026-04-02T09:26:31.709Z" }, + { url = "https://files.pythonhosted.org/packages/38/dd/5a9ab159fe45c6e72079398f277b7d2b523e7f716acc489726115a910097/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:708838739abf24b2ceb208d0e22403dd018faeef86ddac04319a62ae884c4f15", size = 211229, upload-time = "2026-04-02T09:26:33.282Z" }, + { url = "https://files.pythonhosted.org/packages/d5/ff/531a1cad5ca855d1c1a8b69cb71abfd6d85c0291580146fda7c82857caa1/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:0f7eb884681e3938906ed0434f20c63046eacd0111c4ba96f27b76084cd679f5", size = 203552, upload-time = "2026-04-02T09:26:34.845Z" }, + { url = "https://files.pythonhosted.org/packages/c1/4c/a5fb52d528a8ca41f7598cb619409ece30a169fbdf9cdce592e53b46c3a6/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4dc1e73c36828f982bfe79fadf5919923f8a6f4df2860804db9a98c48824ce8d", size = 230806, upload-time = "2026-04-02T09:26:36.152Z" }, + { url = "https://files.pythonhosted.org/packages/59/7a/071feed8124111a32b316b33ae4de83d36923039ef8cf48120266844285b/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:aed52fea0513bac0ccde438c188c8a471c4e0f457c2dd20cdbf6ea7a450046c7", size = 212316, upload-time = "2026-04-02T09:26:37.672Z" }, + { url = "https://files.pythonhosted.org/packages/fd/35/f7dba3994312d7ba508e041eaac39a36b120f32d4c8662b8814dab876431/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:fea24543955a6a729c45a73fe90e08c743f0b3334bbf3201e6c4bc1b0c7fa464", size = 227274, upload-time = "2026-04-02T09:26:38.93Z" }, + { url = "https://files.pythonhosted.org/packages/8a/2d/a572df5c9204ab7688ec1edc895a73ebded3b023bb07364710b05dd1c9be/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:bb6d88045545b26da47aa879dd4a89a71d1dce0f0e549b1abcb31dfe4a8eac49", size = 218468, upload-time = "2026-04-02T09:26:40.17Z" }, + { url = "https://files.pythonhosted.org/packages/86/eb/890922a8b03a568ca2f336c36585a4713c55d4d67bf0f0c78924be6315ca/charset_normalizer-3.4.7-cp312-cp312-win32.whl", hash = "sha256:2257141f39fe65a3fdf38aeccae4b953e5f3b3324f4ff0daf9f15b8518666a2c", size = 148460, upload-time = "2026-04-02T09:26:41.416Z" }, + { url = "https://files.pythonhosted.org/packages/35/d9/0e7dffa06c5ab081f75b1b786f0aefc88365825dfcd0ac544bdb7b2b6853/charset_normalizer-3.4.7-cp312-cp312-win_amd64.whl", hash = "sha256:5ed6ab538499c8644b8a3e18debabcd7ce684f3fa91cf867521a7a0279cab2d6", size = 159330, upload-time = "2026-04-02T09:26:42.554Z" }, + { url = "https://files.pythonhosted.org/packages/9e/5d/481bcc2a7c88ea6b0878c299547843b2521ccbc40980cb406267088bc701/charset_normalizer-3.4.7-cp312-cp312-win_arm64.whl", hash = "sha256:56be790f86bfb2c98fb742ce566dfb4816e5a83384616ab59c49e0604d49c51d", size = 147828, upload-time = "2026-04-02T09:26:44.075Z" }, + { url = "https://files.pythonhosted.org/packages/c1/3b/66777e39d3ae1ddc77ee606be4ec6d8cbd4c801f65e5a1b6f2b11b8346dd/charset_normalizer-3.4.7-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f496c9c3cc02230093d8330875c4c3cdfc3b73612a5fd921c65d39cbcef08063", size = 309627, upload-time = "2026-04-02T09:26:45.198Z" }, + { url = "https://files.pythonhosted.org/packages/2e/4e/b7f84e617b4854ade48a1b7915c8ccfadeba444d2a18c291f696e37f0d3b/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ea948db76d31190bf08bd371623927ee1339d5f2a0b4b1b4a4439a65298703c", size = 207008, upload-time = "2026-04-02T09:26:46.824Z" }, + { url = "https://files.pythonhosted.org/packages/c4/bb/ec73c0257c9e11b268f018f068f5d00aa0ef8c8b09f7753ebd5f2880e248/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a277ab8928b9f299723bc1a2dabb1265911b1a76341f90a510368ca44ad9ab66", size = 228303, upload-time = "2026-04-02T09:26:48.397Z" }, + { url = "https://files.pythonhosted.org/packages/85/fb/32d1f5033484494619f701e719429c69b766bfc4dbc61aa9e9c8c166528b/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3bec022aec2c514d9cf199522a802bd007cd588ab17ab2525f20f9c34d067c18", size = 224282, upload-time = "2026-04-02T09:26:49.684Z" }, + { url = "https://files.pythonhosted.org/packages/fa/07/330e3a0dda4c404d6da83b327270906e9654a24f6c546dc886a0eb0ffb23/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e044c39e41b92c845bc815e5ae4230804e8e7bc29e399b0437d64222d92809dd", size = 215595, upload-time = "2026-04-02T09:26:50.915Z" }, + { url = "https://files.pythonhosted.org/packages/e3/7c/fc890655786e423f02556e0216d4b8c6bcb6bdfa890160dc66bf52dee468/charset_normalizer-3.4.7-cp313-cp313-manylinux_2_31_armv7l.whl", hash = "sha256:f495a1652cf3fbab2eb0639776dad966c2fb874d79d87ca07f9d5f059b8bd215", size = 201986, upload-time = "2026-04-02T09:26:52.197Z" }, + { url = "https://files.pythonhosted.org/packages/d8/97/bfb18b3db2aed3b90cf54dc292ad79fdd5ad65c4eae454099475cbeadd0d/charset_normalizer-3.4.7-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e712b419df8ba5e42b226c510472b37bd57b38e897d3eca5e8cfd410a29fa859", size = 211711, upload-time = "2026-04-02T09:26:53.49Z" }, + { url = "https://files.pythonhosted.org/packages/6f/a5/a581c13798546a7fd557c82614a5c65a13df2157e9ad6373166d2a3e645d/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7804338df6fcc08105c7745f1502ba68d900f45fd770d5bdd5288ddccb8a42d8", size = 210036, upload-time = "2026-04-02T09:26:54.975Z" }, + { url = "https://files.pythonhosted.org/packages/8c/bf/b3ab5bcb478e4193d517644b0fb2bf5497fbceeaa7a1bc0f4d5b50953861/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:481551899c856c704d58119b5025793fa6730adda3571971af568f66d2424bb5", size = 202998, upload-time = "2026-04-02T09:26:56.303Z" }, + { url = "https://files.pythonhosted.org/packages/e7/4e/23efd79b65d314fa320ec6017b4b5834d5c12a58ba4610aa353af2e2f577/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:f59099f9b66f0d7145115e6f80dd8b1d847176df89b234a5a6b3f00437aa0832", size = 230056, upload-time = "2026-04-02T09:26:57.554Z" }, + { url = "https://files.pythonhosted.org/packages/b9/9f/1e1941bc3f0e01df116e68dc37a55c4d249df5e6fa77f008841aef68264f/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:f59ad4c0e8f6bba240a9bb85504faa1ab438237199d4cce5f622761507b8f6a6", size = 211537, upload-time = "2026-04-02T09:26:58.843Z" }, + { url = "https://files.pythonhosted.org/packages/80/0f/088cbb3020d44428964a6c97fe1edfb1b9550396bf6d278330281e8b709c/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:3dedcc22d73ec993f42055eff4fcfed9318d1eeb9a6606c55892a26964964e48", size = 226176, upload-time = "2026-04-02T09:27:00.437Z" }, + { url = "https://files.pythonhosted.org/packages/6a/9f/130394f9bbe06f4f63e22641d32fc9b202b7e251c9aef4db044324dac493/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:64f02c6841d7d83f832cd97ccf8eb8a906d06eb95d5276069175c696b024b60a", size = 217723, upload-time = "2026-04-02T09:27:02.021Z" }, + { url = "https://files.pythonhosted.org/packages/73/55/c469897448a06e49f8fa03f6caae97074fde823f432a98f979cc42b90e69/charset_normalizer-3.4.7-cp313-cp313-win32.whl", hash = "sha256:4042d5c8f957e15221d423ba781e85d553722fc4113f523f2feb7b188cc34c5e", size = 148085, upload-time = "2026-04-02T09:27:03.192Z" }, + { url = "https://files.pythonhosted.org/packages/5d/78/1b74c5bbb3f99b77a1715c91b3e0b5bdb6fe302d95ace4f5b1bec37b0167/charset_normalizer-3.4.7-cp313-cp313-win_amd64.whl", hash = "sha256:3946fa46a0cf3e4c8cb1cc52f56bb536310d34f25f01ca9b6c16afa767dab110", size = 158819, upload-time = "2026-04-02T09:27:04.454Z" }, + { url = "https://files.pythonhosted.org/packages/68/86/46bd42279d323deb8687c4a5a811fd548cb7d1de10cf6535d099877a9a9f/charset_normalizer-3.4.7-cp313-cp313-win_arm64.whl", hash = "sha256:80d04837f55fc81da168b98de4f4b797ef007fc8a79ab71c6ec9bc4dd662b15b", size = 147915, upload-time = "2026-04-02T09:27:05.971Z" }, + { url = "https://files.pythonhosted.org/packages/97/c8/c67cb8c70e19ef1960b97b22ed2a1567711de46c4ddf19799923adc836c2/charset_normalizer-3.4.7-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:c36c333c39be2dbca264d7803333c896ab8fa7d4d6f0ab7edb7dfd7aea6e98c0", size = 309234, upload-time = "2026-04-02T09:27:07.194Z" }, + { url = "https://files.pythonhosted.org/packages/99/85/c091fdee33f20de70d6c8b522743b6f831a2f1cd3ff86de4c6a827c48a76/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c2aed2e5e41f24ea8ef1590b8e848a79b56f3a5564a65ceec43c9d692dc7d8a", size = 208042, upload-time = "2026-04-02T09:27:08.749Z" }, + { url = "https://files.pythonhosted.org/packages/87/1c/ab2ce611b984d2fd5d86a5a8a19c1ae26acac6bad967da4967562c75114d/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:54523e136b8948060c0fa0bc7b1b50c32c186f2fceee897a495406bb6e311d2b", size = 228706, upload-time = "2026-04-02T09:27:09.951Z" }, + { url = "https://files.pythonhosted.org/packages/a8/29/2b1d2cb00bf085f59d29eb773ce58ec2d325430f8c216804a0a5cd83cbca/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:715479b9a2802ecac752a3b0efa2b0b60285cf962ee38414211abdfccc233b41", size = 224727, upload-time = "2026-04-02T09:27:11.175Z" }, + { url = "https://files.pythonhosted.org/packages/47/5c/032c2d5a07fe4d4855fea851209cca2b6f03ebeb6d4e3afdb3358386a684/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bd6c2a1c7573c64738d716488d2cdd3c00e340e4835707d8fdb8dc1a66ef164e", size = 215882, upload-time = "2026-04-02T09:27:12.446Z" }, + { url = "https://files.pythonhosted.org/packages/2c/c2/356065d5a8b78ed04499cae5f339f091946a6a74f91e03476c33f0ab7100/charset_normalizer-3.4.7-cp314-cp314-manylinux_2_31_armv7l.whl", hash = "sha256:c45e9440fb78f8ddabcf714b68f936737a121355bf59f3907f4e17721b9d1aae", size = 200860, upload-time = "2026-04-02T09:27:13.721Z" }, + { url = "https://files.pythonhosted.org/packages/0c/cd/a32a84217ced5039f53b29f460962abb2d4420def55afabe45b1c3c7483d/charset_normalizer-3.4.7-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3534e7dcbdcf757da6b85a0bbf5b6868786d5982dd959b065e65481644817a18", size = 211564, upload-time = "2026-04-02T09:27:15.272Z" }, + { url = "https://files.pythonhosted.org/packages/44/86/58e6f13ce26cc3b8f4a36b94a0f22ae2f00a72534520f4ae6857c4b81f89/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e8ac484bf18ce6975760921bb6148041faa8fef0547200386ea0b52b5d27bf7b", size = 211276, upload-time = "2026-04-02T09:27:16.834Z" }, + { url = "https://files.pythonhosted.org/packages/8f/fe/d17c32dc72e17e155e06883efa84514ca375f8a528ba2546bee73fc4df81/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:a5fe03b42827c13cdccd08e6c0247b6a6d4b5e3cdc53fd1749f5896adcdc2356", size = 201238, upload-time = "2026-04-02T09:27:18.229Z" }, + { url = "https://files.pythonhosted.org/packages/6a/29/f33daa50b06525a237451cdb6c69da366c381a3dadcd833fa5676bc468b3/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:2d6eb928e13016cea4f1f21d1e10c1cebd5a421bc57ddf5b1142ae3f86824fab", size = 230189, upload-time = "2026-04-02T09:27:19.445Z" }, + { url = "https://files.pythonhosted.org/packages/b6/6e/52c84015394a6a0bdcd435210a7e944c5f94ea1055f5cc5d56c5fe368e7b/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:e74327fb75de8986940def6e8dee4f127cc9752bee7355bb323cc5b2659b6d46", size = 211352, upload-time = "2026-04-02T09:27:20.79Z" }, + { url = "https://files.pythonhosted.org/packages/8c/d7/4353be581b373033fb9198bf1da3cf8f09c1082561e8e922aa7b39bf9fe8/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:d6038d37043bced98a66e68d3aa2b6a35505dc01328cd65217cefe82f25def44", size = 227024, upload-time = "2026-04-02T09:27:22.063Z" }, + { url = "https://files.pythonhosted.org/packages/30/45/99d18aa925bd1740098ccd3060e238e21115fffbfdcb8f3ece837d0ace6c/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7579e913a5339fb8fa133f6bbcfd8e6749696206cf05acdbdca71a1b436d8e72", size = 217869, upload-time = "2026-04-02T09:27:23.486Z" }, + { url = "https://files.pythonhosted.org/packages/5c/05/5ee478aa53f4bb7996482153d4bfe1b89e0f087f0ab6b294fcf92d595873/charset_normalizer-3.4.7-cp314-cp314-win32.whl", hash = "sha256:5b77459df20e08151cd6f8b9ef8ef1f961ef73d85c21a555c7eed5b79410ec10", size = 148541, upload-time = "2026-04-02T09:27:25.146Z" }, + { url = "https://files.pythonhosted.org/packages/48/77/72dcb0921b2ce86420b2d79d454c7022bf5be40202a2a07906b9f2a35c97/charset_normalizer-3.4.7-cp314-cp314-win_amd64.whl", hash = "sha256:92a0a01ead5e668468e952e4238cccd7c537364eb7d851ab144ab6627dbbe12f", size = 159634, upload-time = "2026-04-02T09:27:26.642Z" }, + { url = "https://files.pythonhosted.org/packages/c6/a3/c2369911cd72f02386e4e340770f6e158c7980267da16af8f668217abaa0/charset_normalizer-3.4.7-cp314-cp314-win_arm64.whl", hash = "sha256:67f6279d125ca0046a7fd386d01b311c6363844deac3e5b069b514ba3e63c246", size = 148384, upload-time = "2026-04-02T09:27:28.271Z" }, + { url = "https://files.pythonhosted.org/packages/94/09/7e8a7f73d24dba1f0035fbbf014d2c36828fc1bf9c88f84093e57d315935/charset_normalizer-3.4.7-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:effc3f449787117233702311a1b7d8f59cba9ced946ba727bdc329ec69028e24", size = 330133, upload-time = "2026-04-02T09:27:29.474Z" }, + { url = "https://files.pythonhosted.org/packages/8d/da/96975ddb11f8e977f706f45cddd8540fd8242f71ecdb5d18a80723dcf62c/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fbccdc05410c9ee21bbf16a35f4c1d16123dcdeb8a1d38f33654fa21d0234f79", size = 216257, upload-time = "2026-04-02T09:27:30.793Z" }, + { url = "https://files.pythonhosted.org/packages/e5/e8/1d63bf8ef2d388e95c64b2098f45f84758f6d102a087552da1485912637b/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:733784b6d6def852c814bce5f318d25da2ee65dd4839a0718641c696e09a2960", size = 234851, upload-time = "2026-04-02T09:27:32.44Z" }, + { url = "https://files.pythonhosted.org/packages/9b/40/e5ff04233e70da2681fa43969ad6f66ca5611d7e669be0246c4c7aaf6dc8/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a89c23ef8d2c6b27fd200a42aa4ac72786e7c60d40efdc76e6011260b6e949c4", size = 233393, upload-time = "2026-04-02T09:27:34.03Z" }, + { url = "https://files.pythonhosted.org/packages/be/c1/06c6c49d5a5450f76899992f1ee40b41d076aee9279b49cf9974d2f313d5/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6c114670c45346afedc0d947faf3c7f701051d2518b943679c8ff88befe14f8e", size = 223251, upload-time = "2026-04-02T09:27:35.369Z" }, + { url = "https://files.pythonhosted.org/packages/2b/9f/f2ff16fb050946169e3e1f82134d107e5d4ae72647ec8a1b1446c148480f/charset_normalizer-3.4.7-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:a180c5e59792af262bf263b21a3c49353f25945d8d9f70628e73de370d55e1e1", size = 206609, upload-time = "2026-04-02T09:27:36.661Z" }, + { url = "https://files.pythonhosted.org/packages/69/d5/a527c0cd8d64d2eab7459784fb4169a0ac76e5a6fc5237337982fd61347e/charset_normalizer-3.4.7-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3c9a494bc5ec77d43cea229c4f6db1e4d8fe7e1bbffa8b6f0f0032430ff8ab44", size = 220014, upload-time = "2026-04-02T09:27:38.019Z" }, + { url = "https://files.pythonhosted.org/packages/7e/80/8a7b8104a3e203074dc9aa2c613d4b726c0e136bad1cc734594b02867972/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8d828b6667a32a728a1ad1d93957cdf37489c57b97ae6c4de2860fa749b8fc1e", size = 218979, upload-time = "2026-04-02T09:27:39.37Z" }, + { url = "https://files.pythonhosted.org/packages/02/9a/b759b503d507f375b2b5c153e4d2ee0a75aa215b7f2489cf314f4541f2c0/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:cf1493cd8607bec4d8a7b9b004e699fcf8f9103a9284cc94962cb73d20f9d4a3", size = 209238, upload-time = "2026-04-02T09:27:40.722Z" }, + { url = "https://files.pythonhosted.org/packages/c2/4e/0f3f5d47b86bdb79256e7290b26ac847a2832d9a4033f7eb2cd4bcf4bb5b/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:0c96c3b819b5c3e9e165495db84d41914d6894d55181d2d108cc1a69bfc9cce0", size = 236110, upload-time = "2026-04-02T09:27:42.33Z" }, + { url = "https://files.pythonhosted.org/packages/96/23/bce28734eb3ed2c91dcf93abeb8a5cf393a7b2749725030bb630e554fdd8/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:752a45dc4a6934060b3b0dab47e04edc3326575f82be64bc4fc293914566503e", size = 219824, upload-time = "2026-04-02T09:27:43.924Z" }, + { url = "https://files.pythonhosted.org/packages/2c/6f/6e897c6984cc4d41af319b077f2f600fc8214eb2fe2d6bcb79141b882400/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:8778f0c7a52e56f75d12dae53ae320fae900a8b9b4164b981b9c5ce059cd1fcb", size = 233103, upload-time = "2026-04-02T09:27:45.348Z" }, + { url = "https://files.pythonhosted.org/packages/76/22/ef7bd0fe480a0ae9b656189ec00744b60933f68b4f42a7bb06589f6f576a/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ce3412fbe1e31eb81ea42f4169ed94861c56e643189e1e75f0041f3fe7020abe", size = 225194, upload-time = "2026-04-02T09:27:46.706Z" }, + { url = "https://files.pythonhosted.org/packages/c5/a7/0e0ab3e0b5bc1219bd80a6a0d4d72ca74d9250cb2382b7c699c147e06017/charset_normalizer-3.4.7-cp314-cp314t-win32.whl", hash = "sha256:c03a41a8784091e67a39648f70c5f97b5b6a37f216896d44d2cdcb82615339a0", size = 159827, upload-time = "2026-04-02T09:27:48.053Z" }, + { url = "https://files.pythonhosted.org/packages/7a/1d/29d32e0fb40864b1f878c7f5a0b343ae676c6e2b271a2d55cc3a152391da/charset_normalizer-3.4.7-cp314-cp314t-win_amd64.whl", hash = "sha256:03853ed82eeebbce3c2abfdbc98c96dc205f32a79627688ac9a27370ea61a49c", size = 174168, upload-time = "2026-04-02T09:27:49.795Z" }, + { url = "https://files.pythonhosted.org/packages/de/32/d92444ad05c7a6e41fb2036749777c163baf7a0301a040cb672d6b2b1ae9/charset_normalizer-3.4.7-cp314-cp314t-win_arm64.whl", hash = "sha256:c35abb8bfff0185efac5878da64c45dafd2b37fb0383add1be155a763c1f083d", size = 153018, upload-time = "2026-04-02T09:27:51.116Z" }, + { url = "https://files.pythonhosted.org/packages/db/8f/61959034484a4a7c527811f4721e75d02d653a35afb0b6054474d8185d4c/charset_normalizer-3.4.7-py3-none-any.whl", hash = "sha256:3dce51d0f5e7951f8bb4900c257dad282f49190fdbebecd4ba99bcc41fef404d", size = 61958, upload-time = "2026-04-02T09:28:37.794Z" }, +] + +[[package]] +name = "click" +version = "8.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/23/e4/796662cd90cf80e3a363c99db2b88e0e394b988a575f60a17e16440cd011/click-8.4.0.tar.gz", hash = "sha256:638f1338fe1235c8f4e008e4a8a254fb5c5fbdcbb40ece3c9142ebb78e792973", size = 350843, upload-time = "2026-05-17T00:47:58.425Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ee/ae/8e92f8058baf87f6c7d86ee7e457668690195cc77efedb8d3797a06e3940/click-8.4.0-py3-none-any.whl", hash = "sha256:40c50b7c6c6adac2823d411041ec84f3f103f1b280d5e9ce0d7f998995832f81", size = 116147, upload-time = "2026-05-17T00:47:56.842Z" }, +] + +[[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 = "cryptography" +version = "38.0.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e3/3f/41186b1f2fd86a542d399175f6b8e43f82cd4dfa51235a0b030a042b811a/cryptography-38.0.4.tar.gz", hash = "sha256:175c1a818b87c9ac80bb7377f5520b7f31b3ef2a0004e2420319beadedb67290", size = 599786, upload-time = "2022-11-27T19:02:47.023Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/75/7a/2ea7dd2202638cf1053aaa8fbbaddded0b78c78832b3d03cafa0416a6c84/cryptography-38.0.4-cp36-abi3-macosx_10_10_universal2.whl", hash = "sha256:2fa36a7b2cc0998a3a4d5af26ccb6273f3df133d61da2ba13b3286261e7efb70", size = 5393399, upload-time = "2022-11-27T19:01:41.672Z" }, + { url = "https://files.pythonhosted.org/packages/52/1b/49ebc2b59e9126f1f378ae910e98704d54a3f48b78e2d6d6c8cfe6fbe06f/cryptography-38.0.4-cp36-abi3-macosx_10_10_x86_64.whl", hash = "sha256:1f13ddda26a04c06eb57119caf27a524ccae20533729f4b1e4a69b54e07035eb", size = 2845386, upload-time = "2022-11-27T19:01:46.627Z" }, + { url = "https://files.pythonhosted.org/packages/6d/47/929f07e12ebbcfedddb95397c49677dd82bb5a0bb648582b10d5f65e321c/cryptography-38.0.4-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:2ec2a8714dd005949d4019195d72abed84198d877112abb5a27740e217e0ea8d", size = 3646085, upload-time = "2022-11-27T19:03:08.155Z" }, + { url = "https://files.pythonhosted.org/packages/32/ed/d7de730e1452ed714f2f8eee123669d4819080e03ec523b131d9b709d060/cryptography-38.0.4-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50a1494ed0c3f5b4d07650a68cd6ca62efe8b596ce743a5c94403e6f11bf06c1", size = 3970064, upload-time = "2022-11-27T19:03:10.965Z" }, + { url = "https://files.pythonhosted.org/packages/63/d4/66b3b4ffe51b47a065b5a5a00e6a4c8aa6cdfa4f2453adfa0aac77fd3511/cryptography-38.0.4-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a10498349d4c8eab7357a8f9aa3463791292845b79597ad1b98a543686fb1ec8", size = 4147583, upload-time = "2022-11-27T19:02:22.123Z" }, + { url = "https://files.pythonhosted.org/packages/12/9c/e44f95e71aedc5fefe3425df662dd17c6f94fbf68470b56c4873c43f27d2/cryptography-38.0.4-cp36-abi3-manylinux_2_24_x86_64.whl", hash = "sha256:10652dd7282de17990b88679cb82f832752c4e8237f0c714be518044269415db", size = 4048952, upload-time = "2022-11-27T19:01:55.976Z" }, + { url = "https://files.pythonhosted.org/packages/a2/8f/6c52b1f9d650863e8f67edbe062c04f1c8455579eaace1593d8fe469319a/cryptography-38.0.4-cp36-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:bfe6472507986613dc6cc00b3d492b2f7564b02b3b3682d25ca7f40fa3fd321b", size = 3966337, upload-time = "2022-11-27T19:03:13.798Z" }, + { url = "https://files.pythonhosted.org/packages/26/f8/a81170a816679fca9ccd907b801992acfc03c33f952440421c921af2cc57/cryptography-38.0.4-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:ce127dd0a6a0811c251a6cddd014d292728484e530d80e872ad9806cfb1c5b3c", size = 4166037, upload-time = "2022-11-27T19:02:09.987Z" }, + { url = "https://files.pythonhosted.org/packages/b1/44/6d6cb7cff7f2dbc59fde50e5b82bc6df075e73af89a25eba1a6193c22165/cryptography-38.0.4-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:53049f3379ef05182864d13bb9686657659407148f901f3f1eee57a733fb4b00", size = 4070539, upload-time = "2022-11-27T19:03:16.685Z" }, + { url = "https://files.pythonhosted.org/packages/64/4e/04dced6a515032b7bf3e8f287c7ff73a7d1b438c8394aa50b9fceb4077e2/cryptography-38.0.4-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:8a4b2bdb68a447fadebfd7d24855758fe2d6fecc7fed0b78d190b1af39a8e3b0", size = 4231944, upload-time = "2022-11-27T19:02:34.288Z" }, + { url = "https://files.pythonhosted.org/packages/0f/83/2cc749fdc39345c1343cb29dc38bc7de9a0a55b7761663e098410f98f902/cryptography-38.0.4-cp36-abi3-win32.whl", hash = "sha256:1d7e632804a248103b60b16fb145e8df0bc60eed790ece0d12efe8cd3f3e7744", size = 2073540, upload-time = "2022-11-27T19:02:36.361Z" }, + { url = "https://files.pythonhosted.org/packages/c0/eb/f52b165db2abd662cda0a76efb7579a291fed1a7979cf41146cdc19e0d7a/cryptography-38.0.4-cp36-abi3-win_amd64.whl", hash = "sha256:8e45653fb97eb2f20b8c96f9cd2b3a0654d742b47d638cf2897afbd97f80fa6d", size = 2432391, upload-time = "2022-11-27T19:02:38.848Z" }, +] + +[[package]] +name = "dacite" +version = "1.9.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/55/a0/7ca79796e799a3e782045d29bf052b5cde7439a2bbb17f15ff44f7aacc63/dacite-1.9.2.tar.gz", hash = "sha256:6ccc3b299727c7aa17582f0021f6ae14d5de47c7227932c47fec4cdfefd26f09", size = 22420, upload-time = "2025-02-05T09:27:29.757Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/94/35/386550fd60316d1e37eccdda609b074113298f23cef5bddb2049823fe666/dacite-1.9.2-py3-none-any.whl", hash = "sha256:053f7c3f5128ca2e9aceb66892b1a3c8936d02c686e707bee96e19deef4bc4a0", size = 16600, upload-time = "2025-02-05T09:27:24.345Z" }, +] + +[[package]] +name = "deepagents" +version = "0.6.12" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "langchain", version = "1.3.15", source = { registry = "https://pypi.org/simple" } }, + { name = "langchain-anthropic", version = "1.5.5", source = { registry = "https://pypi.org/simple" } }, + { name = "langchain-core", version = "1.5.4", source = { registry = "https://pypi.org/simple" } }, + { name = "langchain-google-genai" }, + { name = "langsmith", version = "0.8.18", source = { registry = "https://pypi.org/simple" } }, + { name = "wcmatch" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e0/db/a6acdc72a9e90c3f07ed10de35c951734a02d4facb693bb59684ad368801/deepagents-0.6.12.tar.gz", hash = "sha256:1f281c0bc5a63132f62e2ee345c1dc593b23188da6e23016401f6879fbe54b5f", size = 211364, upload-time = "2026-06-25T17:26:52.775Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/98/49/af7219b3c13520fee047bb807cfaefba17f8e4584c551d946773589a4f08/deepagents-0.6.12-py3-none-any.whl", hash = "sha256:28b8fa0119ca0a689e3e18e288c4634e4046062acfc87a1cb34289d3af3a1c88", size = 236120, upload-time = "2026-06-25T17:26:51.736Z" }, +] + +[[package]] +name = "dill" +version = "0.4.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/81/e1/56027a71e31b02ddc53c7d65b01e68edf64dea2932122fe7746a516f75d5/dill-0.4.1.tar.gz", hash = "sha256:423092df4182177d4d8ba8290c8a5b640c66ab35ec7da59ccfa00f6fa3eea5fa", size = 187315, upload-time = "2026-01-19T02:36:56.85Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1e/77/dc8c558f7593132cf8fefec57c4f60c83b16941c574ac5f619abb3ae7933/dill-0.4.1-py3-none-any.whl", hash = "sha256:1e1ce33e978ae97fcfcff5638477032b801c46c7c65cf717f95fbc2248f79a9d", size = 120019, upload-time = "2026-01-19T02:36:55.663Z" }, +] + +[[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 = "docker" +version = "7.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pywin32", marker = "sys_platform == 'win32'" }, + { name = "requests" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/91/9b/4a2ea29aeba62471211598dac5d96825bb49348fa07e906ea930394a83ce/docker-7.1.0.tar.gz", hash = "sha256:ad8c70e6e3f8926cb8a92619b832b4ea5299e2831c14284663184e200546fa6c", size = 117834, upload-time = "2024-05-23T11:13:57.216Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e3/26/57c6fb270950d476074c087527a558ccb6f4436657314bfb6cdf484114c4/docker-7.1.0-py3-none-any.whl", hash = "sha256:c96b93b7f0a746f9e77d325bcfb87422a3d8bd4f03136ae8a85b37f1898d5fc0", size = 147774, upload-time = "2024-05-23T11:13:55.01Z" }, +] + +[[package]] +name = "docstring-parser" +version = "0.18.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e0/4d/f332313098c1de1b2d2ff91cf2674415cc7cddab2ca1b01ae29774bd5fdf/docstring_parser-0.18.0.tar.gz", hash = "sha256:292510982205c12b1248696f44959db3cdd1740237a968ea1e2e7a900eeb2015", size = 29341, upload-time = "2026-04-14T04:09:19.867Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a7/5f/ed01f9a3cdffbd5a008556fc7b2a08ddb1cc6ace7effa7340604b1d16699/docstring_parser-0.18.0-py3-none-any.whl", hash = "sha256:b3fcbed555c47d8479be0796ef7e19c2670d428d72e96da63f3a40122860374b", size = 22484, upload-time = "2026-04-14T04:09:18.638Z" }, +] + +[[package]] +name = "exceptiongroup" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8a/0e/97c33bf5009bdbac74fd2beace167cab3f978feb69cc36f1ef79360d6c4e/exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598", size = 16740, upload-time = "2025-11-21T23:01:53.443Z" }, +] + +[[package]] +name = "fakeredis" +version = "2.35.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "redis" }, + { name = "sortedcontainers" }, + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/43/50/b748233c02fa77e5105238190cc9bb58b852eb1c8b1d0763230d3a5b745a/fakeredis-2.35.1.tar.gz", hash = "sha256:5bae5eba7b9d93cb968944ac40936373cf2397ff71667d4b595df65c3d2e413f", size = 189118, upload-time = "2026-04-12T17:05:58.539Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6f/27/b8b057a23f7777177e92d3a602fd866751b6b45014964548997e92e048fd/fakeredis-2.35.1-py3-none-any.whl", hash = "sha256:67d97e11f562b7870e11e5c30cf182270bfb2dd37f6707dba47cc6d91628d1b9", size = 129678, upload-time = "2026-04-12T17:05:56.86Z" }, +] + +[[package]] +name = "fastapi" +version = "0.137.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-doc" }, + { name = "pydantic" }, + { name = "starlette" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d5/b1/e5b92c59d2c37817e77c1a8c2fc1f79cdcc04c68253e5406b43e3204cba7/fastapi-0.137.1.tar.gz", hash = "sha256:822360704230d9533d8d9475399613525968aa2f0b5bd2a3ccc9f18c88fd541c", size = 408293, upload-time = "2026-06-15T11:28:20.79Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/da/35/380b9a5922f4340e51c309cde09e5bd32e62f02302971bee30dc15aa0624/fastapi-0.137.1-py3-none-any.whl", hash = "sha256:64f6983c59e45c4b9fdc44e57cb8035c2451ee91ea8e8ec042aca37de7cf6b69", size = 121877, upload-time = "2026-06-15T11:28:19.523Z" }, +] + +[[package]] +name = "fastuuid" +version = "0.14.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c3/7d/d9daedf0f2ebcacd20d599928f8913e9d2aea1d56d2d355a93bfa2b611d7/fastuuid-0.14.0.tar.gz", hash = "sha256:178947fc2f995b38497a74172adee64fdeb8b7ec18f2a5934d037641ba265d26", size = 18232, upload-time = "2025-10-19T22:19:22.402Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ad/b2/731a6696e37cd20eed353f69a09f37a984a43c9713764ee3f7ad5f57f7f9/fastuuid-0.14.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:6e6243d40f6c793c3e2ee14c13769e341b90be5ef0c23c82fa6515a96145181a", size = 516760, upload-time = "2025-10-19T22:25:21.509Z" }, + { url = "https://files.pythonhosted.org/packages/c5/79/c73c47be2a3b8734d16e628982653517f80bbe0570e27185d91af6096507/fastuuid-0.14.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:13ec4f2c3b04271f62be2e1ce7e95ad2dd1cf97e94503a3760db739afbd48f00", size = 264748, upload-time = "2025-10-19T22:41:52.873Z" }, + { url = "https://files.pythonhosted.org/packages/24/c5/84c1eea05977c8ba5173555b0133e3558dc628bcf868d6bf1689ff14aedc/fastuuid-0.14.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b2fdd48b5e4236df145a149d7125badb28e0a383372add3fbaac9a6b7a394470", size = 254537, upload-time = "2025-10-19T22:33:55.603Z" }, + { url = "https://files.pythonhosted.org/packages/0e/23/4e362367b7fa17dbed646922f216b9921efb486e7abe02147e4b917359f8/fastuuid-0.14.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f74631b8322d2780ebcf2d2d75d58045c3e9378625ec51865fe0b5620800c39d", size = 278994, upload-time = "2025-10-19T22:26:17.631Z" }, + { url = "https://files.pythonhosted.org/packages/b2/72/3985be633b5a428e9eaec4287ed4b873b7c4c53a9639a8b416637223c4cd/fastuuid-0.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:83cffc144dc93eb604b87b179837f2ce2af44871a7b323f2bfed40e8acb40ba8", size = 280003, upload-time = "2025-10-19T22:23:45.415Z" }, + { url = "https://files.pythonhosted.org/packages/b3/6d/6ef192a6df34e2266d5c9deb39cd3eea986df650cbcfeaf171aa52a059c3/fastuuid-0.14.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a771f135ab4523eb786e95493803942a5d1fc1610915f131b363f55af53b219", size = 303583, upload-time = "2025-10-19T22:26:00.756Z" }, + { url = "https://files.pythonhosted.org/packages/9d/11/8a2ea753c68d4fece29d5d7c6f3f903948cc6e82d1823bc9f7f7c0355db3/fastuuid-0.14.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:4edc56b877d960b4eda2c4232f953a61490c3134da94f3c28af129fb9c62a4f6", size = 460955, upload-time = "2025-10-19T22:36:25.196Z" }, + { url = "https://files.pythonhosted.org/packages/23/42/7a32c93b6ce12642d9a152ee4753a078f372c9ebb893bc489d838dd4afd5/fastuuid-0.14.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:bcc96ee819c282e7c09b2eed2b9bd13084e3b749fdb2faf58c318d498df2efbe", size = 480763, upload-time = "2025-10-19T22:24:28.451Z" }, + { url = "https://files.pythonhosted.org/packages/b9/e9/a5f6f686b46e3ed4ed3b93770111c233baac87dd6586a411b4988018ef1d/fastuuid-0.14.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:7a3c0bca61eacc1843ea97b288d6789fbad7400d16db24e36a66c28c268cfe3d", size = 452613, upload-time = "2025-10-19T22:25:06.827Z" }, + { url = "https://files.pythonhosted.org/packages/b4/c9/18abc73c9c5b7fc0e476c1733b678783b2e8a35b0be9babd423571d44e98/fastuuid-0.14.0-cp310-cp310-win32.whl", hash = "sha256:7f2f3efade4937fae4e77efae1af571902263de7b78a0aee1a1653795a093b2a", size = 155045, upload-time = "2025-10-19T22:28:32.732Z" }, + { url = "https://files.pythonhosted.org/packages/5e/8a/d9e33f4eb4d4f6d9f2c5c7d7e96b5cdbb535c93f3b1ad6acce97ee9d4bf8/fastuuid-0.14.0-cp310-cp310-win_amd64.whl", hash = "sha256:ae64ba730d179f439b0736208b4c279b8bc9c089b102aec23f86512ea458c8a4", size = 156122, upload-time = "2025-10-19T22:23:15.59Z" }, + { url = "https://files.pythonhosted.org/packages/98/f3/12481bda4e5b6d3e698fbf525df4443cc7dce746f246b86b6fcb2fba1844/fastuuid-0.14.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:73946cb950c8caf65127d4e9a325e2b6be0442a224fd51ba3b6ac44e1912ce34", size = 516386, upload-time = "2025-10-19T22:42:40.176Z" }, + { url = "https://files.pythonhosted.org/packages/59/19/2fc58a1446e4d72b655648eb0879b04e88ed6fa70d474efcf550f640f6ec/fastuuid-0.14.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:12ac85024637586a5b69645e7ed986f7535106ed3013640a393a03e461740cb7", size = 264569, upload-time = "2025-10-19T22:25:50.977Z" }, + { url = "https://files.pythonhosted.org/packages/78/29/3c74756e5b02c40cfcc8b1d8b5bac4edbd532b55917a6bcc9113550e99d1/fastuuid-0.14.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:05a8dde1f395e0c9b4be515b7a521403d1e8349443e7641761af07c7ad1624b1", size = 254366, upload-time = "2025-10-19T22:29:49.166Z" }, + { url = "https://files.pythonhosted.org/packages/52/96/d761da3fccfa84f0f353ce6e3eb8b7f76b3aa21fd25e1b00a19f9c80a063/fastuuid-0.14.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:09378a05020e3e4883dfdab438926f31fea15fd17604908f3d39cbeb22a0b4dc", size = 278978, upload-time = "2025-10-19T22:35:41.306Z" }, + { url = "https://files.pythonhosted.org/packages/fc/c2/f84c90167cc7765cb82b3ff7808057608b21c14a38531845d933a4637307/fastuuid-0.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bbb0c4b15d66b435d2538f3827f05e44e2baafcc003dd7d8472dc67807ab8fd8", size = 279692, upload-time = "2025-10-19T22:25:36.997Z" }, + { url = "https://files.pythonhosted.org/packages/af/7b/4bacd03897b88c12348e7bd77943bac32ccf80ff98100598fcff74f75f2e/fastuuid-0.14.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:cd5a7f648d4365b41dbf0e38fe8da4884e57bed4e77c83598e076ac0c93995e7", size = 303384, upload-time = "2025-10-19T22:29:46.578Z" }, + { url = "https://files.pythonhosted.org/packages/c0/a2/584f2c29641df8bd810d00c1f21d408c12e9ad0c0dafdb8b7b29e5ddf787/fastuuid-0.14.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c0a94245afae4d7af8c43b3159d5e3934c53f47140be0be624b96acd672ceb73", size = 460921, upload-time = "2025-10-19T22:36:42.006Z" }, + { url = "https://files.pythonhosted.org/packages/24/68/c6b77443bb7764c760e211002c8638c0c7cce11cb584927e723215ba1398/fastuuid-0.14.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:2b29e23c97e77c3a9514d70ce343571e469098ac7f5a269320a0f0b3e193ab36", size = 480575, upload-time = "2025-10-19T22:28:18.975Z" }, + { url = "https://files.pythonhosted.org/packages/5a/87/93f553111b33f9bb83145be12868c3c475bf8ea87c107063d01377cc0e8e/fastuuid-0.14.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:1e690d48f923c253f28151b3a6b4e335f2b06bf669c68a02665bc150b7839e94", size = 452317, upload-time = "2025-10-19T22:25:32.75Z" }, + { url = "https://files.pythonhosted.org/packages/9e/8c/a04d486ca55b5abb7eaa65b39df8d891b7b1635b22db2163734dc273579a/fastuuid-0.14.0-cp311-cp311-win32.whl", hash = "sha256:a6f46790d59ab38c6aa0e35c681c0484b50dc0acf9e2679c005d61e019313c24", size = 154804, upload-time = "2025-10-19T22:24:15.615Z" }, + { url = "https://files.pythonhosted.org/packages/9c/b2/2d40bf00820de94b9280366a122cbaa60090c8cf59e89ac3938cf5d75895/fastuuid-0.14.0-cp311-cp311-win_amd64.whl", hash = "sha256:e150eab56c95dc9e3fefc234a0eedb342fac433dacc273cd4d150a5b0871e1fa", size = 156099, upload-time = "2025-10-19T22:24:31.646Z" }, + { url = "https://files.pythonhosted.org/packages/02/a2/e78fcc5df65467f0d207661b7ef86c5b7ac62eea337c0c0fcedbeee6fb13/fastuuid-0.14.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:77e94728324b63660ebf8adb27055e92d2e4611645bf12ed9d88d30486471d0a", size = 510164, upload-time = "2025-10-19T22:31:45.635Z" }, + { url = "https://files.pythonhosted.org/packages/2b/b3/c846f933f22f581f558ee63f81f29fa924acd971ce903dab1a9b6701816e/fastuuid-0.14.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:caa1f14d2102cb8d353096bc6ef6c13b2c81f347e6ab9d6fbd48b9dea41c153d", size = 261837, upload-time = "2025-10-19T22:38:38.53Z" }, + { url = "https://files.pythonhosted.org/packages/54/ea/682551030f8c4fa9a769d9825570ad28c0c71e30cf34020b85c1f7ee7382/fastuuid-0.14.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d23ef06f9e67163be38cece704170486715b177f6baae338110983f99a72c070", size = 251370, upload-time = "2025-10-19T22:40:26.07Z" }, + { url = "https://files.pythonhosted.org/packages/14/dd/5927f0a523d8e6a76b70968e6004966ee7df30322f5fc9b6cdfb0276646a/fastuuid-0.14.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0c9ec605ace243b6dbe3bd27ebdd5d33b00d8d1d3f580b39fdd15cd96fd71796", size = 277766, upload-time = "2025-10-19T22:37:23.779Z" }, + { url = "https://files.pythonhosted.org/packages/16/6e/c0fb547eef61293153348f12e0f75a06abb322664b34a1573a7760501336/fastuuid-0.14.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:808527f2407f58a76c916d6aa15d58692a4a019fdf8d4c32ac7ff303b7d7af09", size = 278105, upload-time = "2025-10-19T22:26:56.821Z" }, + { url = "https://files.pythonhosted.org/packages/2d/b1/b9c75e03b768f61cf2e84ee193dc18601aeaf89a4684b20f2f0e9f52b62c/fastuuid-0.14.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2fb3c0d7fef6674bbeacdd6dbd386924a7b60b26de849266d1ff6602937675c8", size = 301564, upload-time = "2025-10-19T22:30:31.604Z" }, + { url = "https://files.pythonhosted.org/packages/fc/fa/f7395fdac07c7a54f18f801744573707321ca0cee082e638e36452355a9d/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ab3f5d36e4393e628a4df337c2c039069344db5f4b9d2a3c9cea48284f1dd741", size = 459659, upload-time = "2025-10-19T22:31:32.341Z" }, + { url = "https://files.pythonhosted.org/packages/66/49/c9fd06a4a0b1f0f048aacb6599e7d96e5d6bc6fa680ed0d46bf111929d1b/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:b9a0ca4f03b7e0b01425281ffd44e99d360e15c895f1907ca105854ed85e2057", size = 478430, upload-time = "2025-10-19T22:26:22.962Z" }, + { url = "https://files.pythonhosted.org/packages/be/9c/909e8c95b494e8e140e8be6165d5fc3f61fdc46198c1554df7b3e1764471/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3acdf655684cc09e60fb7e4cf524e8f42ea760031945aa8086c7eae2eeeabeb8", size = 450894, upload-time = "2025-10-19T22:27:01.647Z" }, + { url = "https://files.pythonhosted.org/packages/90/eb/d29d17521976e673c55ef7f210d4cdd72091a9ec6755d0fd4710d9b3c871/fastuuid-0.14.0-cp312-cp312-win32.whl", hash = "sha256:9579618be6280700ae36ac42c3efd157049fe4dd40ca49b021280481c78c3176", size = 154374, upload-time = "2025-10-19T22:29:19.879Z" }, + { url = "https://files.pythonhosted.org/packages/cc/fc/f5c799a6ea6d877faec0472d0b27c079b47c86b1cdc577720a5386483b36/fastuuid-0.14.0-cp312-cp312-win_amd64.whl", hash = "sha256:d9e4332dc4ba054434a9594cbfaf7823b57993d7d8e7267831c3e059857cf397", size = 156550, upload-time = "2025-10-19T22:27:49.658Z" }, + { url = "https://files.pythonhosted.org/packages/a5/83/ae12dd39b9a39b55d7f90abb8971f1a5f3c321fd72d5aa83f90dc67fe9ed/fastuuid-0.14.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:77a09cb7427e7af74c594e409f7731a0cf887221de2f698e1ca0ebf0f3139021", size = 510720, upload-time = "2025-10-19T22:42:34.633Z" }, + { url = "https://files.pythonhosted.org/packages/53/b0/a4b03ff5d00f563cc7546b933c28cb3f2a07344b2aec5834e874f7d44143/fastuuid-0.14.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:9bd57289daf7b153bfa3e8013446aa144ce5e8c825e9e366d455155ede5ea2dc", size = 262024, upload-time = "2025-10-19T22:30:25.482Z" }, + { url = "https://files.pythonhosted.org/packages/9c/6d/64aee0a0f6a58eeabadd582e55d0d7d70258ffdd01d093b30c53d668303b/fastuuid-0.14.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:ac60fc860cdf3c3f327374db87ab8e064c86566ca8c49d2e30df15eda1b0c2d5", size = 251679, upload-time = "2025-10-19T22:36:14.096Z" }, + { url = "https://files.pythonhosted.org/packages/60/f5/a7e9cda8369e4f7919d36552db9b2ae21db7915083bc6336f1b0082c8b2e/fastuuid-0.14.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab32f74bd56565b186f036e33129da77db8be09178cd2f5206a5d4035fb2a23f", size = 277862, upload-time = "2025-10-19T22:36:23.302Z" }, + { url = "https://files.pythonhosted.org/packages/f0/d3/8ce11827c783affffd5bd4d6378b28eb6cc6d2ddf41474006b8d62e7448e/fastuuid-0.14.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:33e678459cf4addaedd9936bbb038e35b3f6b2061330fd8f2f6a1d80414c0f87", size = 278278, upload-time = "2025-10-19T22:29:43.809Z" }, + { url = "https://files.pythonhosted.org/packages/a2/51/680fb6352d0bbade04036da46264a8001f74b7484e2fd1f4da9e3db1c666/fastuuid-0.14.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1e3cc56742f76cd25ecb98e4b82a25f978ccffba02e4bdce8aba857b6d85d87b", size = 301788, upload-time = "2025-10-19T22:36:06.825Z" }, + { url = "https://files.pythonhosted.org/packages/fa/7c/2014b5785bd8ebdab04ec857635ebd84d5ee4950186a577db9eff0fb8ff6/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cb9a030f609194b679e1660f7e32733b7a0f332d519c5d5a6a0a580991290022", size = 459819, upload-time = "2025-10-19T22:35:31.623Z" }, + { url = "https://files.pythonhosted.org/packages/01/d2/524d4ceeba9160e7a9bc2ea3e8f4ccf1ad78f3bde34090ca0c51f09a5e91/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:09098762aad4f8da3a888eb9ae01c84430c907a297b97166b8abc07b640f2995", size = 478546, upload-time = "2025-10-19T22:26:03.023Z" }, + { url = "https://files.pythonhosted.org/packages/bc/17/354d04951ce114bf4afc78e27a18cfbd6ee319ab1829c2d5fb5e94063ac6/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:1383fff584fa249b16329a059c68ad45d030d5a4b70fb7c73a08d98fd53bcdab", size = 450921, upload-time = "2025-10-19T22:31:02.151Z" }, + { url = "https://files.pythonhosted.org/packages/fb/be/d7be8670151d16d88f15bb121c5b66cdb5ea6a0c2a362d0dcf30276ade53/fastuuid-0.14.0-cp313-cp313-win32.whl", hash = "sha256:a0809f8cc5731c066c909047f9a314d5f536c871a7a22e815cc4967c110ac9ad", size = 154559, upload-time = "2025-10-19T22:36:36.011Z" }, + { url = "https://files.pythonhosted.org/packages/22/1d/5573ef3624ceb7abf4a46073d3554e37191c868abc3aecd5289a72f9810a/fastuuid-0.14.0-cp313-cp313-win_amd64.whl", hash = "sha256:0df14e92e7ad3276327631c9e7cec09e32572ce82089c55cb1bb8df71cf394ed", size = 156539, upload-time = "2025-10-19T22:33:35.898Z" }, + { url = "https://files.pythonhosted.org/packages/16/c9/8c7660d1fe3862e3f8acabd9be7fc9ad71eb270f1c65cce9a2b7a31329ab/fastuuid-0.14.0-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:b852a870a61cfc26c884af205d502881a2e59cc07076b60ab4a951cc0c94d1ad", size = 510600, upload-time = "2025-10-19T22:43:44.17Z" }, + { url = "https://files.pythonhosted.org/packages/4c/f4/a989c82f9a90d0ad995aa957b3e572ebef163c5299823b4027986f133dfb/fastuuid-0.14.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c7502d6f54cd08024c3ea9b3514e2d6f190feb2f46e6dbcd3747882264bb5f7b", size = 262069, upload-time = "2025-10-19T22:43:38.38Z" }, + { url = "https://files.pythonhosted.org/packages/da/6c/a1a24f73574ac995482b1326cf7ab41301af0fabaa3e37eeb6b3df00e6e2/fastuuid-0.14.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1ca61b592120cf314cfd66e662a5b54a578c5a15b26305e1b8b618a6f22df714", size = 251543, upload-time = "2025-10-19T22:32:22.537Z" }, + { url = "https://files.pythonhosted.org/packages/1a/20/2a9b59185ba7a6c7b37808431477c2d739fcbdabbf63e00243e37bd6bf49/fastuuid-0.14.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aa75b6657ec129d0abded3bec745e6f7ab642e6dba3a5272a68247e85f5f316f", size = 277798, upload-time = "2025-10-19T22:33:53.821Z" }, + { url = "https://files.pythonhosted.org/packages/ef/33/4105ca574f6ded0af6a797d39add041bcfb468a1255fbbe82fcb6f592da2/fastuuid-0.14.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a8a0dfea3972200f72d4c7df02c8ac70bad1bb4c58d7e0ec1e6f341679073a7f", size = 278283, upload-time = "2025-10-19T22:29:02.812Z" }, + { url = "https://files.pythonhosted.org/packages/fe/8c/fca59f8e21c4deb013f574eae05723737ddb1d2937ce87cb2a5d20992dc3/fastuuid-0.14.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1bf539a7a95f35b419f9ad105d5a8a35036df35fdafae48fb2fd2e5f318f0d75", size = 301627, upload-time = "2025-10-19T22:35:54.985Z" }, + { url = "https://files.pythonhosted.org/packages/cb/e2/f78c271b909c034d429218f2798ca4e89eeda7983f4257d7865976ddbb6c/fastuuid-0.14.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:9a133bf9cc78fdbd1179cb58a59ad0100aa32d8675508150f3658814aeefeaa4", size = 459778, upload-time = "2025-10-19T22:28:00.999Z" }, + { url = "https://files.pythonhosted.org/packages/1e/f0/5ff209d865897667a2ff3e7a572267a9ced8f7313919f6d6043aed8b1caa/fastuuid-0.14.0-cp314-cp314-musllinux_1_1_i686.whl", hash = "sha256:f54d5b36c56a2d5e1a31e73b950b28a0d83eb0c37b91d10408875a5a29494bad", size = 478605, upload-time = "2025-10-19T22:36:21.764Z" }, + { url = "https://files.pythonhosted.org/packages/e0/c8/2ce1c78f983a2c4987ea865d9516dbdfb141a120fd3abb977ae6f02ba7ca/fastuuid-0.14.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:ec27778c6ca3393ef662e2762dba8af13f4ec1aaa32d08d77f71f2a70ae9feb8", size = 450837, upload-time = "2025-10-19T22:34:37.178Z" }, + { url = "https://files.pythonhosted.org/packages/df/60/dad662ec9a33b4a5fe44f60699258da64172c39bd041da2994422cdc40fe/fastuuid-0.14.0-cp314-cp314-win32.whl", hash = "sha256:e23fc6a83f112de4be0cc1990e5b127c27663ae43f866353166f87df58e73d06", size = 154532, upload-time = "2025-10-19T22:35:18.217Z" }, + { url = "https://files.pythonhosted.org/packages/1f/f6/da4db31001e854025ffd26bc9ba0740a9cbba2c3259695f7c5834908b336/fastuuid-0.14.0-cp314-cp314-win_amd64.whl", hash = "sha256:df61342889d0f5e7a32f7284e55ef95103f2110fee433c2ae7c2c0956d76ac8a", size = 156457, upload-time = "2025-10-19T22:33:44.579Z" }, +] + +[[package]] +name = "filelock" +version = "3.29.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/b5/fe/997687a931ab51049acce6fa1f23e8f01216374ea81374ddee763c493db5/filelock-3.29.0.tar.gz", hash = "sha256:69974355e960702e789734cb4871f884ea6fe50bd8404051a3530bc07809cf90", size = 57571, upload-time = "2026-04-19T15:39:10.068Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/81/47/dd9a212ef6e343a6857485ffe25bba537304f1913bdbed446a23f7f592e1/filelock-3.29.0-py3-none-any.whl", hash = "sha256:96f5f6344709aa1572bbf631c640e4ebeeb519e08da902c39a001882f30ac258", size = 39812, upload-time = "2026-04-19T15:39:08.752Z" }, +] + +[[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 = "flask" +version = "3.1.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "blinker" }, + { name = "click" }, + { name = "itsdangerous" }, + { name = "jinja2" }, + { name = "markupsafe" }, + { name = "werkzeug" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/26/00/35d85dcce6c57fdc871f3867d465d780f302a175ea360f62533f12b27e2b/flask-3.1.3.tar.gz", hash = "sha256:0ef0e52b8a9cd932855379197dd8f94047b359ca0a78695144304cb45f87c9eb", size = 759004, upload-time = "2026-02-19T05:00:57.678Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7f/9c/34f6962f9b9e9c71f6e5ed806e0d0ff03c9d1b0b2340088a0cf4bce09b18/flask-3.1.3-py3-none-any.whl", hash = "sha256:f4bcbefc124291925f1a26446da31a5178f9483862233b23c0c96a20701f670c", size = 103424, upload-time = "2026-02-19T05:00:56.027Z" }, +] + +[[package]] +name = "flask-cors" +version = "6.0.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "flask" }, + { name = "werkzeug" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/70/74/0fc0fa68d62f21daef41017dafab19ef4b36551521260987eb3a5394c7ba/flask_cors-6.0.2.tar.gz", hash = "sha256:6e118f3698249ae33e429760db98ce032a8bf9913638d085ca0f4c5534ad2423", size = 13472, upload-time = "2025-12-12T20:31:42.861Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4f/af/72ad54402e599152de6d067324c46fe6a4f531c7c65baf7e96c63db55eaf/flask_cors-6.0.2-py3-none-any.whl", hash = "sha256:e57544d415dfd7da89a9564e1e3a9e515042df76e12130641ca6f3f2f03b699a", size = 13257, upload-time = "2025-12-12T20:31:41.3Z" }, +] + +[[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 = "2026.4.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d5/8d/1c51c094345df128ca4a990d633fe1a0ff28726c9e6b3c41ba65087bba1d/fsspec-2026.4.0.tar.gz", hash = "sha256:301d8ac70ae90ef3ad05dcf94d6c3754a097f9b5fe4667d2787aa359ec7df7e4", size = 312760, upload-time = "2026-04-29T20:42:38.635Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d5/0c/043d5e551459da400957a1395e0febbf771446ff34291afcbe3d8be2a279/fsspec-2026.4.0-py3-none-any.whl", hash = "sha256:11ef7bb35dab8a394fde6e608221d5cf3e8499401c249bebaeaad760a1a8dec2", size = 203402, upload-time = "2026-04-29T20:42:36.842Z" }, +] + +[[package]] +name = "gevent" +version = "26.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi", marker = "platform_python_implementation == 'CPython' and sys_platform == 'win32'" }, + { name = "greenlet", marker = "platform_python_implementation == 'CPython'" }, + { name = "zope-event" }, + { name = "zope-interface" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/20/27/1062fa31333dc3428a1f5f33cd6598b0552165ba679ca3ba116de42c9e8e/gevent-26.4.0.tar.gz", hash = "sha256:288d03addfccf0d1c67268358b6759b04392bf3bc35d26f3d9a45c82899c292d", size = 6242440, upload-time = "2026-04-09T12:08:19.482Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/69/92/fd1f4016b92591fe7ccf44d01883a3337178a6e9ea4c04e1ddce7a2e3db1/gevent-26.4.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:079dca3fe5e048714e93ab5ce7cbf2ec31709c860979feb117abbbf2b8ae6ad0", size = 2180478, upload-time = "2026-04-08T21:54:11.739Z" }, + { url = "https://files.pythonhosted.org/packages/fc/b9/ac8a6561b9efd141dfbb2d0ae1d2fd3255f9e9ccfeceb64a6917e2ef6625/gevent-26.4.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:df208cd53c7382a4cc8470d39a92fc73b3cf2f0f3379d6c88bb556823a26ccb7", size = 2211145, upload-time = "2026-04-08T21:59:59.318Z" }, + { url = "https://files.pythonhosted.org/packages/aa/2f/2cd44b3a2f60903cae39602045344b434e8621f7145470f0f00e5be8a44a/gevent-26.4.0-cp310-cp310-win_amd64.whl", hash = "sha256:ccaa0f002cfd69c03621ac05243c1a00ed77cee97b363d0108b0e36663e4ca33", size = 1694090, upload-time = "2026-04-08T23:40:50.101Z" }, + { url = "https://files.pythonhosted.org/packages/12/0e/330c4788860520850b7f4c6f84dd8591df5172cfd3f2796c046704ee879e/gevent-26.4.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:201323a5fb9a0646a0c7b384395ca55d60ee83200677919229df0648c4b78e6c", size = 1767278, upload-time = "2026-04-08T22:23:16.491Z" }, + { url = "https://files.pythonhosted.org/packages/cf/27/717593d7cce74a2fd6bee0713793518e0398132303d5267f02dd587c5945/gevent-26.4.0-cp311-cp311-manylinux_2_28_ppc64le.whl", hash = "sha256:82d68a60a4207826db295b4e80a204c9d392ce78ccc15679195faeb9e29d8388", size = 1861609, upload-time = "2026-04-08T22:27:09.302Z" }, + { url = "https://files.pythonhosted.org/packages/fb/af/ce6d4d554d9afc354b46b78eccb032f6add4d27c3eadaa0201ee103fa831/gevent-26.4.0-cp311-cp311-manylinux_2_28_s390x.whl", hash = "sha256:35b037b415ed38369717800250fe5974249525953b46026bef9def20f946dfb0", size = 1803675, upload-time = "2026-04-08T22:34:35.289Z" }, + { url = "https://files.pythonhosted.org/packages/57/09/909166fff7d2ab9523e93bbd56e863df79a856b2857350218be83aef119d/gevent-26.4.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:6d973735d2067607a32cd182893978755eee829a0dc268087592d3b715e63fad", size = 2118034, upload-time = "2026-04-08T21:54:13.293Z" }, + { url = "https://files.pythonhosted.org/packages/83/6b/ab68e1cc09fd6dd7adb9e1c54a47c6328df20aa012ed75526a3244f2ad05/gevent-26.4.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4fbd3ff28a7babbfee750684c4f46ba6eedb3bce69365dd146726986b79fa6c1", size = 1777768, upload-time = "2026-04-08T22:26:51.87Z" }, + { url = "https://files.pythonhosted.org/packages/ff/d3/b75568e7206ea4b89a7e21750381aa4a6f9afcced41d5a80a72b5fcc6b87/gevent-26.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f0a03650ca60c4c5774cbe21333905b95f2f5abd98ea5a3dbf28d93f2a7a5a84", size = 2144355, upload-time = "2026-04-08T22:00:00.684Z" }, + { url = "https://files.pythonhosted.org/packages/f7/32/5f795143351bfbecd05467deec48ea75416bb90eb7a6dd042c7d7e5ec594/gevent-26.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:d00d8c4ca1afab90e478b79679dd53787082c6da8d2f4fdc7667a4440d1e1a7a", size = 1676684, upload-time = "2026-04-08T23:28:04.124Z" }, + { url = "https://files.pythonhosted.org/packages/3d/16/131d3874f50974b355c90a061a12d3fe2292cde0f875a1fa3d8b224f1251/gevent-26.4.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:318a0a73f664113e8d86d0cb0e328e7650e2d7d9c2e045418ab6fb1285831ad3", size = 2928699, upload-time = "2026-04-08T21:25:36.215Z" }, + { url = "https://files.pythonhosted.org/packages/ea/8b/199e59b303adaff7f7365def9ab569c7ecd863363c974548bce3ddc2c89d/gevent-26.4.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:ce7aa033a3f68beb6732d1450a80c1af29e63e0c2d01abad7918cf2507f72fa6", size = 1783821, upload-time = "2026-04-08T22:23:18.73Z" }, + { url = "https://files.pythonhosted.org/packages/e2/2d/b8249c9bd3f386191311c3a9bec4068e192a3f9df2fad92a71a15265ba15/gevent-26.4.0-cp312-cp312-manylinux_2_28_ppc64le.whl", hash = "sha256:a1b897c952baefd72232efaeb3bdb1ca2fa7ae94cbfe68ac21201b03e843190a", size = 1879424, upload-time = "2026-04-08T22:27:10.561Z" }, + { url = "https://files.pythonhosted.org/packages/ef/89/59216985c1f2c11f2f28bbc88e583588ad44cdde823c530ad4e307be6612/gevent-26.4.0-cp312-cp312-manylinux_2_28_s390x.whl", hash = "sha256:7eef2ea508ce41795e20587a5fc868ae4919543097c81a40fbdfd65bc479f54f", size = 1830575, upload-time = "2026-04-08T22:34:37.093Z" }, + { url = "https://files.pythonhosted.org/packages/ee/a9/2d67d2b0aa0ca9d7bb7fe73c3bbb97b3695cb15c338a6ea7734f58da9add/gevent-26.4.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:f7e12fdd28cc9f39a463d8df5172d698c64a8ed385a21d98e7092fd8308a139a", size = 2113898, upload-time = "2026-04-08T21:54:14.9Z" }, + { url = "https://files.pythonhosted.org/packages/95/a3/457d58d9b3e7da17c8456d841c37a32af8d231a1d71237ad201b19129317/gevent-26.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d48e3ee13d7678c24c22f19d441ad6bc220a79f23662d03ff36fae0d62efdb59", size = 1795890, upload-time = "2026-04-08T22:26:53.252Z" }, + { url = "https://files.pythonhosted.org/packages/a7/cc/cbe78f2626643b20275aaa41cd2cc45ba75056e3665bde36bc190af3cae0/gevent-26.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c58c8e034f94329be4dc0979fba3301005a433dbab42cea0b2c33fd736946872", size = 2139791, upload-time = "2026-04-08T22:00:02.375Z" }, + { url = "https://files.pythonhosted.org/packages/f6/df/7875e08b06a95f4577b71708ec470d029fadf873a66eb813a2861d79dfb5/gevent-26.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:1c737e6ac6ce1398df0e3f41c58d982e397c993cbe73ac05b7edbe39e128c9cb", size = 1680530, upload-time = "2026-04-08T23:15:38.714Z" }, + { url = "https://files.pythonhosted.org/packages/3d/be/51809d98bb00846d7756a0b82625024f9302145f3d024846b43f05efeddb/gevent-26.4.0-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:1fe581d41c63cd1d8b12c69561ce53a48ad0d8763b254740d7bfea997335a38c", size = 2951507, upload-time = "2026-04-08T21:25:25.809Z" }, + { url = "https://files.pythonhosted.org/packages/d6/86/89325a62a4e8cc1934e155b383b66491ed21d1e774b13d5054d51fa0ac81/gevent-26.4.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:c503b0c0a681e795255a13e5bb4e41615c3b020c1db93b8dfa04cfeb8f19d5a9", size = 1786029, upload-time = "2026-04-08T22:23:20.395Z" }, + { url = "https://files.pythonhosted.org/packages/a3/ea/04d112844aa992da583cbd280f17a4ba097da338dab347efd0aa5e235645/gevent-26.4.0-cp313-cp313-manylinux_2_28_ppc64le.whl", hash = "sha256:684256c29e3e5d4d0c4d06b772d00574d0dc859dfbb2fd13d318c512b16e1f89", size = 1881326, upload-time = "2026-04-08T22:27:11.822Z" }, + { url = "https://files.pythonhosted.org/packages/a1/33/71900c5ba442f5df89456b6d9fdaa43da2ae7cdd937d8c5667b49323ceb4/gevent-26.4.0-cp313-cp313-manylinux_2_28_s390x.whl", hash = "sha256:73eafd06b158d511f1ec6e5902a45e0ae3b48e745f35e9df97d25f809f537d88", size = 1833123, upload-time = "2026-04-08T22:34:39.001Z" }, + { url = "https://files.pythonhosted.org/packages/d0/af/7df19c92e56842921f34787e1168c7afc52a23b0d1253bba99344809a935/gevent-26.4.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:1a18e543c830a1c07a2efeb33786a57ccac360af70cb42bbaf5a6f5f7ca49300", size = 2114330, upload-time = "2026-04-08T21:54:16.547Z" }, + { url = "https://files.pythonhosted.org/packages/ca/0e/202694960f8d4dda68fd2a73bbcb8251e2d5308339924310ff1fff31bf7c/gevent-26.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:74f1e3a460c43aefcb4ff9ef91aac15abc0b42e5233771e1956574d14ba9cac6", size = 1798427, upload-time = "2026-04-08T22:26:54.462Z" }, + { url = "https://files.pythonhosted.org/packages/75/69/2d056b2a4e3ef1f65f94002725572d1e99163ff79231dbb68ad529e7cb9d/gevent-26.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:954258873ae0bcc97fb41e48db25284fb73454bfefe27db8ceb89225da5502fb", size = 2140100, upload-time = "2026-04-08T22:00:03.966Z" }, + { url = "https://files.pythonhosted.org/packages/fe/a0/1a7f64aa2476c2b44abaecca919a6561bda85234f99fc7ac3c66bcb93050/gevent-26.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:4a9a64c064457c1afaf93ee2815fe0f38be6ecbb92806a6a712f12afc3e26cf5", size = 1680206, upload-time = "2026-04-08T23:01:56.636Z" }, + { url = "https://files.pythonhosted.org/packages/7e/f3/64638a941988f09aa1816e2674eb1efb215b6fa64a97edef6e25177b0845/gevent-26.4.0-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:7ab0f183a6fd2369eef619832eef14f1f2f69c605163c3f2dc41deb799af4a71", size = 2967206, upload-time = "2026-04-08T21:25:44.73Z" }, + { url = "https://files.pythonhosted.org/packages/f6/70/a86be65a51d3ebb92c82a70adc9c5c32b1a9d9579120d0be1db7cf534ce0/gevent-26.4.0-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:7e5906860e632bf965e1966c57e6bfc19dcb79dc262f04fdb0a9d7c12147bf69", size = 1792916, upload-time = "2026-04-08T22:23:22.006Z" }, + { url = "https://files.pythonhosted.org/packages/40/92/18fdb4b28f20129395f1c041773adee99e7fc2bcfff216df93bfb80787d5/gevent-26.4.0-cp314-cp314-manylinux_2_28_ppc64le.whl", hash = "sha256:297a361071dc6708115d4544859321e93b02a6cd5823ba02c0a909530a519d45", size = 1886617, upload-time = "2026-04-08T22:27:13.716Z" }, + { url = "https://files.pythonhosted.org/packages/af/c9/d02222ecf79d10c8a0c2755661485395b58c4bfffaafd88bcc230ce392de/gevent-26.4.0-cp314-cp314-manylinux_2_28_s390x.whl", hash = "sha256:7e74f59e5c9011afa2a9cb7106bb9a59f2a1f74c3d7b272c1b852eb0bc0b8f90", size = 1837660, upload-time = "2026-04-08T22:34:40.823Z" }, + { url = "https://files.pythonhosted.org/packages/46/85/9376d125fa4f7b0f269925d0d622eda0ff8f8dfc8d0c097a096c511fc738/gevent-26.4.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:45d6010a6a981f5a2b3411c4e38fbe305a1b46e4b12db3b4914775927dea7ba4", size = 2119342, upload-time = "2026-04-08T21:54:17.747Z" }, + { url = "https://files.pythonhosted.org/packages/b1/c4/1fe2817daca8e97c365fd739dd4057f71cce26ef600fb8465deb8060c83c/gevent-26.4.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:dc38137ba2f43794c488615aafa2eefd0cc142f484a8274d4c827ed7a031a1e2", size = 1805672, upload-time = "2026-04-08T22:26:55.792Z" }, + { url = "https://files.pythonhosted.org/packages/e7/cc/ccbcbd56e7e85482291fbb90a317f5febf630ec4174a91506f4167ba0912/gevent-26.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:29a225d2d4da37e20c7a246754a64442d0e43e4534b8cc764f89530bb22a4237", size = 2145594, upload-time = "2026-04-08T22:00:05.275Z" }, + { url = "https://files.pythonhosted.org/packages/8e/b9/7dd37b6001d16f692b1bfb6e68cad642beb38b34a753c29bbff312f46e4b/gevent-26.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:d1c08bc9bb6bd79732a26710a99588b5e9b67b668e165dd609704b876f41baab", size = 1703189, upload-time = "2026-04-08T22:48:31.713Z" }, +] + +[[package]] +name = "google-adk" +version = "2.6.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "aiosqlite" }, + { name = "authlib" }, + { name = "click" }, + { name = "fastapi" }, + { name = "google-auth", extra = ["pyopenssl"] }, + { name = "google-genai" }, + { name = "graphviz" }, + { name = "httpx" }, + { name = "jsonschema" }, + { name = "opentelemetry-api" }, + { name = "opentelemetry-sdk" }, + { name = "packaging" }, + { name = "pydantic" }, + { name = "python-dotenv" }, + { name = "python-multipart" }, + { name = "pyyaml" }, + { name = "requests" }, + { name = "starlette" }, + { name = "tenacity" }, + { name = "typing-extensions" }, + { name = "tzlocal" }, + { name = "uvicorn" }, + { name = "watchdog" }, + { name = "websockets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f9/39/d9512c13102d20dd32e4c36b8af3918583a2a1ae4e1f062dec01f648bb59/google_adk-2.6.2.tar.gz", hash = "sha256:e95eee1e18811078a3478e8b4a57922dd8eff0fa4c465b864f0f6174c04bfad8", size = 3721236, upload-time = "2026-08-04T01:20:22.206Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/6f/8bde13dff964e96f2351c5aab0fc8a2ce69a16e1adeaed0c5558331b1f27/google_adk-2.6.2-py3-none-any.whl", hash = "sha256:59908032fa10ba0249aad12fb571d5f5cacb24f1c85e63a6eaec45c7c3ed01f1", size = 4305118, upload-time = "2026-08-04T01:20:20.307Z" }, +] + +[[package]] +name = "google-auth" +version = "2.55.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cryptography" }, + { name = "pyasn1-modules" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/81/1c/70b23fc52b2bb3c70b379f3bd05c4a60ab3a873e30c6bd21c57e0154848a/google_auth-2.55.0.tar.gz", hash = "sha256:fcd3a130f575fa36403d38774af1c64a4fbfbca09215f0589d2372b5119697cb", size = 349379, upload-time = "2026-06-15T22:33:16.466Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/44/71/c0321dc6d63d99946da45f7c06299b934e4f7f7da5c4f14d101bcb39adf1/google_auth-2.55.0-py3-none-any.whl", hash = "sha256:a17cef9dedf98c4ebae2fb0c48c8f75952c877cbc2efe09f329ef16c2783d88a", size = 252400, upload-time = "2026-06-15T22:33:14.992Z" }, +] + +[package.optional-dependencies] +pyopenssl = [ + { name = "pyopenssl" }, +] +requests = [ + { name = "requests" }, +] + +[[package]] +name = "google-genai" +version = "2.12.1" +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/96/59/9ea84cbeb8f09694564d3b0ee9dd59003551b308d47b61f251415df93982/google_genai-2.12.1.tar.gz", hash = "sha256:78c25217885d63dc430ca7c4526853512b164a25a93a8a0d0af5b85971aa1db0", size = 636710, upload-time = "2026-07-16T16:15:02.035Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b6/b4/1369fb413fc2ba7f78acace5590b6e9990c52ab5d1d166aafaa1ae2c28c8/google_genai-2.12.1-py3-none-any.whl", hash = "sha256:686d5ec39bda345151d3ed1bac3915f01f49138b1ea519af2eb98f11cc55ebc4", size = 1023403, upload-time = "2026-07-16T16:14:59.79Z" }, +] + +[[package]] +name = "googleapis-common-protos" +version = "1.75.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b5/c8/f439cffde755cffa462bfbb156278fa6f9d09119719af9814b858fd4f81f/googleapis_common_protos-1.75.0.tar.gz", hash = "sha256:53a062ff3c32552fbd62c11fe23768b78e4ddf0494d5e5fd97d3f4689c75fbbd", size = 151035, upload-time = "2026-05-07T08:04:49.423Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/c8/e2645aa8ed02fd4c7a2f59d68783b65b1f3cbdfe39a6308e156509d1fee8/googleapis_common_protos-1.75.0-py3-none-any.whl", hash = "sha256:961ed60399c457ceb0ee8f285a84c870aabc9c6a832b9d37bb281b5bebde43ed", size = 300631, upload-time = "2026-05-07T08:03:30.345Z" }, +] + +[[package]] +name = "graphql-core" +version = "3.2.8" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/68/c5/36aa96205c3ecbb3d34c7c24189e4553c7ca2ebc7e1dd07432339b980272/graphql_core-3.2.8.tar.gz", hash = "sha256:015457da5d996c924ddf57a43f4e959b0b94fb695b85ed4c29446e508ed65cf3", size = 513181, upload-time = "2026-03-05T19:55:37.332Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/86/41/cb887d9afc5dabd78feefe6ccbaf83ff423c206a7a1b7aeeac05120b2125/graphql_core-3.2.8-py3-none-any.whl", hash = "sha256:cbee07bee1b3ed5e531723685369039f32ff815ef60166686e0162f540f1520c", size = 207349, upload-time = "2026-03-05T19:55:35.911Z" }, +] + +[[package]] +name = "graphviz" +version = "0.21" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f8/b3/3ac91e9be6b761a4b30d66ff165e54439dcd48b83f4e20d644867215f6ca/graphviz-0.21.tar.gz", hash = "sha256:20743e7183be82aaaa8ad6c93f8893c923bd6658a04c32ee115edb3c8a835f78", size = 200434, upload-time = "2025-06-15T09:35:05.824Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/91/4c/e0ce1ef95d4000ebc1c11801f9b944fa5910ecc15b5e351865763d8657f8/graphviz-0.21-py3-none-any.whl", hash = "sha256:54f33de9f4f911d7e84e4191749cac8cc5653f815b06738c54db9a15ab8b1e42", size = 47300, upload-time = "2025-06-15T09:35:04.433Z" }, +] + +[[package]] +name = "greenlet" +version = "3.5.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/3c/3f/dbf99fb14bfeb88c28f16729215478c0e265cacd6dc22270c8f31bb6892f/greenlet-3.5.0.tar.gz", hash = "sha256:d419647372241bc68e957bf38d5c1f98852155e4146bd1e4121adea81f4f01e4", size = 196995, upload-time = "2026-04-27T13:37:15.544Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b0/03/84359833f7e1d49a883e92777637c592306030e30cee5e2b1e6476f95c88/greenlet-3.5.0-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:29ea813b2e1f45fa9649a17853b2b5465c4072fbcb072e5af6cd3a288216574a", size = 283502, upload-time = "2026-04-27T12:20:55.213Z" }, + { url = "https://files.pythonhosted.org/packages/25/ce/6f9f008266273aa14a2e011945797ac5802b97b8b40efe7afe1ee6c1afc9/greenlet-3.5.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:804a70b328e706b785c6ef16187051c394a63dd1a906d89be24b6ad77759f13f", size = 600508, upload-time = "2026-04-27T12:52:37.876Z" }, + { url = "https://files.pythonhosted.org/packages/e0/6d/b0f3272c2368ea2c1aa19a5ad70db0be8f8dff6e6d3d1eb82efa00cbcf19/greenlet-3.5.0-cp310-cp310-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:884f649de075b84739713d41dd4dfd41e2b910bfb769c4a3ea02ec1da52cd9bb", size = 613283, upload-time = "2026-04-27T12:59:37.957Z" }, + { url = "https://files.pythonhosted.org/packages/e5/ae/1db979ff6ae7958d80b288f63d5f6c30df96682700ea9fc340ce994d94a1/greenlet-3.5.0-cp310-cp310-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4d0eadc7e4d9ffb2af4247b606cae307be8e448911e5a0d0b16d72fc3d224cfd", size = 619894, upload-time = "2026-04-27T13:02:35.13Z" }, + { url = "https://files.pythonhosted.org/packages/ed/ac/0b509b6fb93551ce5a01612ee1acda7f7dda4bbb66c99aeb2ab403d205dc/greenlet-3.5.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4b28037cb07768933c54d81bfe47a85f9f402f57d7d69743b991a713b63954eb", size = 613418, upload-time = "2026-04-27T12:25:23.852Z" }, + { url = "https://files.pythonhosted.org/packages/ce/94/b0590e3d1978f02419f30502341c40d72f77eb0a2198119fe27df47714ee/greenlet-3.5.0-cp310-cp310-manylinux_2_39_riscv64.whl", hash = "sha256:f8c30c2225f40dd76c50790f0eb3b5c7c18431efb299e2782083e1981feed243", size = 415681, upload-time = "2026-04-27T13:05:11.494Z" }, + { url = "https://files.pythonhosted.org/packages/03/03/2b2b680ec87aaa97998fb5b8d76658d4d3560386864f17efab33ba7c2e24/greenlet-3.5.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:cda05425526240807408156b6960a17a79a0c760b813573b67027823be760977", size = 1572229, upload-time = "2026-04-27T12:53:23.509Z" }, + { url = "https://files.pythonhosted.org/packages/61/e4/42b259e7a19aff1a270a4bd82caf6353109ed6860c9454e18f37162b83ae/greenlet-3.5.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:9c615f869163e14bb1ced20322d8038fb680b08236521ac3f30cd4c1288785a0", size = 1639886, upload-time = "2026-04-27T12:25:22.325Z" }, + { url = "https://files.pythonhosted.org/packages/6f/b4/733ca47b883b67c57f90d3ecb21055c9ec753597d10754ac201644061f9d/greenlet-3.5.0-cp310-cp310-win_amd64.whl", hash = "sha256:ba8f0bdc2fae6ce915dfd0c16d2d00bca7e4247c1eae4416e06430e522137858", size = 237795, upload-time = "2026-04-27T12:21:40.118Z" }, + { url = "https://files.pythonhosted.org/packages/8b/0f/a91f143f356523ff682309732b175765a9bc2836fd7c081c2c67fedc1ad4/greenlet-3.5.0-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:8f1cc966c126639cd152fdaa52624d2655f492faa79e013fea161de3e6dda082", size = 284726, upload-time = "2026-04-27T12:20:51.402Z" }, + { url = "https://files.pythonhosted.org/packages/95/82/800646c7ffc5dbabd75ddd2f6b519bb898c0c9c969e5d0473bfe5d20bcce/greenlet-3.5.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:362624e6a8e5bca3b8233e45eef33903a100e9539a2b995c364d595dbc4018b3", size = 604264, upload-time = "2026-04-27T12:52:39.494Z" }, + { url = "https://files.pythonhosted.org/packages/ca/ac/354867c0bba812fc33b15bc55aedafedd0aee3c7dd91dfca22444157dc0c/greenlet-3.5.0-cp311-cp311-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5ecd83806b0f4c2f53b1018e0005cd82269ea01d42befc0368730028d850ed1c", size = 616099, upload-time = "2026-04-27T12:59:39.623Z" }, + { url = "https://files.pythonhosted.org/packages/c9/ab/192090c4a5b30df148c22bf4b8895457d739a7c7c5a7b9c41e5dd7f537f2/greenlet-3.5.0-cp311-cp311-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fa94cb2288681e3a11645958f1871d48ee9211bd2f66628fdace505927d6e564", size = 623976, upload-time = "2026-04-27T13:02:37.363Z" }, + { url = "https://files.pythonhosted.org/packages/ff/b0/815bece7399e01cadb69014219eebd0042339875c59a59b0820a46ece356/greenlet-3.5.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0ff251e9a0279522e62f6176412869395a64ddf2b5c5f782ff609a8216a4e662", size = 615198, upload-time = "2026-04-27T12:25:25.928Z" }, + { url = "https://files.pythonhosted.org/packages/24/11/05eb2b9b188c6df7d68a89c99134d644a7af616a40b9808e8e6ced315d5d/greenlet-3.5.0-cp311-cp311-manylinux_2_39_riscv64.whl", hash = "sha256:64d6ac45f7271f48e45f67c95b54ef73534c52ec041fcda8edf520c6d811f4bc", size = 418379, upload-time = "2026-04-27T13:05:12.755Z" }, + { url = "https://files.pythonhosted.org/packages/10/80/3b2c0a895d6698f6ddb31b07942ebfa982f3e30888bc5546a5b5990de8b2/greenlet-3.5.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6d874e79afd41a96e11ff4c5d0bc90a80973e476fda1c2c64985667397df432b", size = 1574927, upload-time = "2026-04-27T12:53:25.81Z" }, + { url = "https://files.pythonhosted.org/packages/44/0e/f354af514a4c61454dbc68e44d47544a5a4d6317e30b77ddfa3a09f4c5f3/greenlet-3.5.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:0ed006e4b86c59de7467eb2601cd1b77b5a7d657d1ee55e30fe30d76451edba4", size = 1642683, upload-time = "2026-04-27T12:25:23.9Z" }, + { url = "https://files.pythonhosted.org/packages/fa/6a/87f38255201e993a1915265ebb80cd7c2c78b04a45744995abbf6b259fd8/greenlet-3.5.0-cp311-cp311-win_amd64.whl", hash = "sha256:703cb211b820dbffbbc55a16bfc6e4583a6e6e990f33a119d2cc8b83211119c8", size = 238115, upload-time = "2026-04-27T12:21:48.845Z" }, + { url = "https://files.pythonhosted.org/packages/e3/f8/450fe3c5938fa737ea4d22699772e6e34e8e24431a47bf4e8a1ceed4a98e/greenlet-3.5.0-cp311-cp311-win_arm64.whl", hash = "sha256:6c18dfb59c70f5a94acd271c72e90128c3c776e41e5f07767908c8c1b74ad339", size = 235017, upload-time = "2026-04-27T12:22:26.768Z" }, + { url = "https://files.pythonhosted.org/packages/ef/32/f2ce6d4cac3e55bc6173f92dbe627e782e1850f89d986c3606feb63aafa7/greenlet-3.5.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:db2910d3c809444e0a20147361f343fe2798e106af8d9d8506f5305302655a9f", size = 286228, upload-time = "2026-04-27T12:20:34.421Z" }, + { url = "https://files.pythonhosted.org/packages/b7/aa/caed9e5adf742315fc7be2a84196373aab4816e540e38ba0d76cb7584d68/greenlet-3.5.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3ec9ea74e7268ace7f9aab1b1a4e730193fc661b39a993cd91c606c32d4a3628", size = 601775, upload-time = "2026-04-27T12:52:41.045Z" }, + { url = "https://files.pythonhosted.org/packages/c7/af/90ae08497400a941595d12774447f752d3dfe0fbb012e35b76bc5c0ff37e/greenlet-3.5.0-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:54d243512da35485fc7a6bf3c178fdda6327a9d6506fcdd62b1abd1e41b2927b", size = 614436, upload-time = "2026-04-27T12:59:41.595Z" }, + { url = "https://files.pythonhosted.org/packages/3f/e9/4eeadf8cb3403ac274245ba75f07844abc7fa5f6787583fc9156ba741e0f/greenlet-3.5.0-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:41353ec2ecedf7aa8f682753a41919f8718031a6edac46b8d3dc7ed9e1ceb136", size = 620610, upload-time = "2026-04-27T13:02:39.194Z" }, + { url = "https://files.pythonhosted.org/packages/2b/e0/2e13df68f367e2f9960616927d60857dd7e56aaadd59a47c644216b2f920/greenlet-3.5.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9d280a7f5c331622c69f97eb167f33577ff2d1df282c41cd15907fc0a3ca198c", size = 611388, upload-time = "2026-04-27T12:25:28.008Z" }, + { url = "https://files.pythonhosted.org/packages/ee/ef/f913b3c0eb7d26d86a2401c5e1546c9d46b657efee724b06f6f4ac5d8824/greenlet-3.5.0-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:58c1c374fe2b3d852f9b6b11a7dff4c85404e51b9a596fd9e89cf904eb09866d", size = 422775, upload-time = "2026-04-27T13:05:14.261Z" }, + { url = "https://files.pythonhosted.org/packages/82/f7/393c64055132ac0d488ef6be549253b7e6274194863967ddc0bc8f5b87b8/greenlet-3.5.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1eb67d5adefb5bd2e182d42678a328979a209e4e82eb93575708185d31d1f588", size = 1570768, upload-time = "2026-04-27T12:53:28.099Z" }, + { url = "https://files.pythonhosted.org/packages/b8/4b/eaf7735253522cf56d1b74d672a58f54fc114702ceaf05def59aae72f6e1/greenlet-3.5.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2628d6c86f6cb0cb45e0c3c54058bbec559f57eaae699447748cb3928150577e", size = 1635983, upload-time = "2026-04-27T12:25:26.903Z" }, + { url = "https://files.pythonhosted.org/packages/4c/fe/4fb3a0805bd5165da5ebf858da7cc01cce8061674106d2cf5bdab32cbfde/greenlet-3.5.0-cp312-cp312-win_amd64.whl", hash = "sha256:d4d9f0624c775f2dfc56ba54d515a8c771044346852a918b405914f6b19d7fd8", size = 238840, upload-time = "2026-04-27T12:23:54.806Z" }, + { url = "https://files.pythonhosted.org/packages/cb/cb/baa584cb00532126ffe12d9787db0a60c5a4f55c27bfe2666df5d4c30a32/greenlet-3.5.0-cp312-cp312-win_arm64.whl", hash = "sha256:83ed9f27f1680b50e89f40f6df348a290ea234b249a4003d366663a12eab94f2", size = 235615, upload-time = "2026-04-27T12:21:38.57Z" }, + { url = "https://files.pythonhosted.org/packages/0c/58/fc576f99037ce19c5aa16628e4c3226b6d1419f72a62c79f5f40576e6eb3/greenlet-3.5.0-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:5a5ed18de6a0f6cc7087f1563f6bd93fc7df1c19165ca01e9bde5a5dc281d106", size = 285066, upload-time = "2026-04-27T12:23:05.033Z" }, + { url = "https://files.pythonhosted.org/packages/4a/ba/b28ddbe6bfad6a8ac196ef0e8cff37bc65b79735995b9e410923fffeeb70/greenlet-3.5.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a717fbc46d8a354fa675f7c1e813485b6ba3885f9bef0cd56e5ba27d758ff5b", size = 604414, upload-time = "2026-04-27T12:52:42.358Z" }, + { url = "https://files.pythonhosted.org/packages/09/06/4b69f8f0b67603a8be2790e55107a190b376f2627fe0eaf5695d85ffb3cd/greenlet-3.5.0-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ddc090c5c1792b10246a78e8c2163ebbe04cf877f9d785c230a7b27b39ad038e", size = 617349, upload-time = "2026-04-27T12:59:43.32Z" }, + { url = "https://files.pythonhosted.org/packages/6a/15/a643b4ecd09969e30b8a150d5919960caae0abe4f5af75ab040b1ab85e78/greenlet-3.5.0-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4964101b8585c144cbda5532b1aa644255126c08a265dae90c16e7a0e63aaa9d", size = 623234, upload-time = "2026-04-27T13:02:40.611Z" }, + { url = "https://files.pythonhosted.org/packages/8a/17/a3918541fd0ddefe024a69de6d16aa7b46d36ac19562adaa63c7fa180eff/greenlet-3.5.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2094acd54b272cb6eae8c03dd87b3fa1820a4cef18d6889c378d503500a1dc13", size = 613927, upload-time = "2026-04-27T12:25:30.28Z" }, + { url = "https://files.pythonhosted.org/packages/77/18/3b13d5ef1275b0ffaf933b05efa21408ac4ca95823c7411d79682e4fdcff/greenlet-3.5.0-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:7022615368890680e67b9965d33f5773aade330d5343bbe25560135aaa849eae", size = 425243, upload-time = "2026-04-27T13:05:15.689Z" }, + { url = "https://files.pythonhosted.org/packages/ee/e1/bd0af6213c7dd33175d8a462d4c1fe1175124ebed4855bc1475a5b5242c2/greenlet-3.5.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5e05ba267789ea87b5a155cf0e810b1ab88bf18e9e8740813945ceb8ee4350ba", size = 1570893, upload-time = "2026-04-27T12:53:29.483Z" }, + { url = "https://files.pythonhosted.org/packages/9b/2a/0789702f864f5382cb476b93d7a9c823c10472658102ccd65f415747d2e2/greenlet-3.5.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0ecec963079cd58cbd14723582384f11f166fd58883c15dcbfb342e0bc9b5846", size = 1636060, upload-time = "2026-04-27T12:25:28.845Z" }, + { url = "https://files.pythonhosted.org/packages/b2/8f/22bf9df92bbff0eb07842b60f7e63bf7675a9742df628437a9f02d09137f/greenlet-3.5.0-cp313-cp313-win_amd64.whl", hash = "sha256:728d9667d8f2f586644b748dbd9bb67e50d6a9381767d1357714ea6825bb3bf5", size = 238740, upload-time = "2026-04-27T12:24:01.341Z" }, + { url = "https://files.pythonhosted.org/packages/b6/b7/9c5c3d653bd4ff614277c049ac676422e2c557db47b4fe43e6313fc005dc/greenlet-3.5.0-cp313-cp313-win_arm64.whl", hash = "sha256:47422135b1d308c14b2c6e758beedb1acd33bb91679f5670edf77bf46244722b", size = 235525, upload-time = "2026-04-27T12:23:12.308Z" }, + { url = "https://files.pythonhosted.org/packages/94/5e/a70f31e3e8d961c4ce589c15b28e4225d63704e431a23932a3808cbcc867/greenlet-3.5.0-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:f35807464c4c58c55f0d31dfa83c541a5615d825c2fe3d2b95360cf7c4e3c0a8", size = 285564, upload-time = "2026-04-27T12:23:08.555Z" }, + { url = "https://files.pythonhosted.org/packages/af/a6/046c0a28e21833e4086918218cfb3d8bed51c075a1b700f20b9d7861c0f4/greenlet-3.5.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:55fa7ea52771be44af0de27d8b80c02cd18c2c3cddde6c847ecebdf72418b6a1", size = 651166, upload-time = "2026-04-27T12:52:43.644Z" }, + { url = "https://files.pythonhosted.org/packages/47/f8/4af27f71c5ff32a7fbc516adb46370d9c4ae2bc7bd3dc7d066ac542b4b15/greenlet-3.5.0-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a97e4821aa710603f94de0da25f25096454d78ffdace5dc77f3a006bc01abba3", size = 663792, upload-time = "2026-04-27T12:59:44.93Z" }, + { url = "https://files.pythonhosted.org/packages/fb/89/2dadb89793c37ee8b4c237857188293e9060dc085f19845c292e00f8e091/greenlet-3.5.0-cp314-cp314-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bf2d8a80bec89ab46221ae45c5373d5ba0bd36c19aa8508e85c6cd7e5106cd37", size = 668086, upload-time = "2026-04-27T13:02:42.314Z" }, + { url = "https://files.pythonhosted.org/packages/a3/59/1bd6d7428d6ed9106efbb8c52310c60fd04f6672490f452aeaa3829aa436/greenlet-3.5.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8f52a464e4ed91780bdfbbdd2b97197f3accaa629b98c200f4dffada759f3ae7", size = 660933, upload-time = "2026-04-27T12:25:33.276Z" }, + { url = "https://files.pythonhosted.org/packages/82/35/75722be7e26a2af4cbd2dc35b0ed382dacf9394b7e75551f76ed1abe87f2/greenlet-3.5.0-cp314-cp314-manylinux_2_39_riscv64.whl", hash = "sha256:1bae92a1dd94c5f9d9493c3a212dd874c202442047cf96446412c862feca83a2", size = 470799, upload-time = "2026-04-27T13:05:17.094Z" }, + { url = "https://files.pythonhosted.org/packages/83/e4/b903e5a5fae1e8a28cdd32a0cfbfd560b668c25b692f67768822ddc5f40f/greenlet-3.5.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:762612baf1161ccb8437c0161c668a688223cba28e1bf038f4eb47b13e39ccdf", size = 1618401, upload-time = "2026-04-27T12:53:31.062Z" }, + { url = "https://files.pythonhosted.org/packages/0e/e3/5ec408a329acb854fb607a122e1ee5fb3ff649f9a97952948a90803c0d8e/greenlet-3.5.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:57a43c6079a89713522bc4bcb9f75070ecf5d3dbad7792bfe42239362cbf2a16", size = 1682038, upload-time = "2026-04-27T12:25:31.838Z" }, + { url = "https://files.pythonhosted.org/packages/91/20/6b165108058767ee643c55c5c4904d591a830ee2b3c7dbd359828fbc829f/greenlet-3.5.0-cp314-cp314-win_amd64.whl", hash = "sha256:3bc59be3945ae9750b9e7d45067d01ae3fe90ea5f9ade99239dabdd6e28a5033", size = 239835, upload-time = "2026-04-27T12:24:54.136Z" }, + { url = "https://files.pythonhosted.org/packages/4e/62/1c498375cee177b55d980c1db319f26470e5309e54698c8f8fc06c0fd539/greenlet-3.5.0-cp314-cp314-win_arm64.whl", hash = "sha256:a96fcee45e03fe30a62669fd16ab5c9d3c172660d3085605cb1e2d1280d3c988", size = 236862, upload-time = "2026-04-27T12:23:24.957Z" }, + { url = "https://files.pythonhosted.org/packages/78/a8/4522939255bb5409af4e87132f915446bf3622c2c292d14d3c38d128ae82/greenlet-3.5.0-cp314-cp314t-macosx_11_0_universal2.whl", hash = "sha256:a10a732421ab4fec934783ce3e54763470d0181db6e3468f9103a275c3ed1853", size = 293614, upload-time = "2026-04-27T12:24:12.874Z" }, + { url = "https://files.pythonhosted.org/packages/15/5e/8744c52e2c027b5a8772a01561934c8835f869733e101f62075c60430340/greenlet-3.5.0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7fc391b1566f2907d17aaebe78f8855dc45675159a775fcf9e61f8ee0078e87f", size = 650723, upload-time = "2026-04-27T12:52:45.412Z" }, + { url = "https://files.pythonhosted.org/packages/00/ef/7b4c39c03cf46ceca512c5d3f914afd85aa30b2cc9a93015b0dd73e4be6c/greenlet-3.5.0-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:680bd0e7ad5e8daa8a4aa89f68fd6adc834b8a8036dc256533f7e08f4a4b01f7", size = 656529, upload-time = "2026-04-27T12:59:46.295Z" }, + { url = "https://files.pythonhosted.org/packages/5f/5c/0602239503b124b70e39355cbdb39361ecfe65b87a5f2f63752c32f5286f/greenlet-3.5.0-cp314-cp314t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1aa4ce8debcd4ea7fb2e150f3036588c41493d1d52c43538924ae1819003f4ce", size = 657015, upload-time = "2026-04-27T13:02:43.973Z" }, + { url = "https://files.pythonhosted.org/packages/0b/b5/c7768f352f5c010f92064d0063f987e7dc0cd290a6d92a34109015ce4aa1/greenlet-3.5.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ddb36c7d6c9c0a65f18c7258634e0c416c6ab59caac8c987b96f80c2ebda0112", size = 654364, upload-time = "2026-04-27T12:25:35.64Z" }, + { url = "https://files.pythonhosted.org/packages/38/51/8699f865f125dc952384cb432b0f7138aa4d8f2969a7d12d0df5b94d054d/greenlet-3.5.0-cp314-cp314t-manylinux_2_39_riscv64.whl", hash = "sha256:728a73687e39ae9ca34e4694cbf2f049d3fbc7174639468d0f67200a97d8f9e2", size = 488275, upload-time = "2026-04-27T13:05:18.28Z" }, + { url = "https://files.pythonhosted.org/packages/ef/d0/079ebe12e4b1fc758857ce5be1a5e73f06870f2101e52611d1e71925ce54/greenlet-3.5.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e5ddf316ced87539144621453c3aef229575825fe60c604e62bedc4003f372b2", size = 1614204, upload-time = "2026-04-27T12:53:32.618Z" }, + { url = "https://files.pythonhosted.org/packages/6d/89/6c2fb63df3596552d20e58fb4d96669243388cf680cff222758812c7bfaa/greenlet-3.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:4a448128607be0de65342dc9b31be7f948ef4cc0bc8832069350abefd310a8f2", size = 1675480, upload-time = "2026-04-27T12:25:34.168Z" }, + { url = "https://files.pythonhosted.org/packages/15/32/77ee8a6c1564fc345a491a4e85b3bf360e4cf26eac98c4532d2fdb96e01f/greenlet-3.5.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d60097128cb0a1cab9ea541186ea13cd7b847b8449a7787c2e2350da0cb82d86", size = 245324, upload-time = "2026-04-27T12:24:40.295Z" }, +] + +[[package]] +name = "griffelib" +version = "2.0.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/9d/82/74f4a3310cdabfbb10da554c3a672847f1ed33c6f61dd472681ce7f1fe67/griffelib-2.0.2.tar.gz", hash = "sha256:3cf20b3bc470e83763ffbf236e0076b1211bac1bc67de13daf494640f2de707e", size = 166461, upload-time = "2026-03-27T11:34:51.091Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/11/8c/c9138d881c79aa0ea9ed83cbd58d5ca75624378b38cee225dcf5c42cc91f/griffelib-2.0.2-py3-none-any.whl", hash = "sha256:925c857658fb1ba40c0772c37acbc2ab650bd794d9c1b9726922e36ea4117ea1", size = 142357, upload-time = "2026-03-27T11:34:46.275Z" }, +] + +[[package]] +name = "grpcio" +version = "1.80.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b7/48/af6173dbca4454f4637a4678b67f52ca7e0c1ed7d5894d89d434fecede05/grpcio-1.80.0.tar.gz", hash = "sha256:29aca15edd0688c22ba01d7cc01cb000d72b2033f4a3c72a81a19b56fd143257", size = 12978905, upload-time = "2026-03-30T08:49:10.502Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9d/cd/bb7b7e54084a344c03d68144450da7ddd5564e51a298ae1662de65f48e2d/grpcio-1.80.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:886457a7768e408cdce226ad1ca67d2958917d306523a0e21e1a2fdaa75c9c9c", size = 6050363, upload-time = "2026-03-30T08:46:20.894Z" }, + { url = "https://files.pythonhosted.org/packages/16/02/1417f5c3460dea65f7a2e3c14e8b31e77f7ffb730e9bfadd89eda7a9f477/grpcio-1.80.0-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:7b641fc3f1dc647bfd80bd713addc68f6d145956f64677e56d9ebafc0bd72388", size = 12026037, upload-time = "2026-03-30T08:46:25.144Z" }, + { url = "https://files.pythonhosted.org/packages/43/98/c910254eedf2cae368d78336a2de0678e66a7317d27c02522392f949b5c6/grpcio-1.80.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:33eb763f18f006dc7fee1e69831d38d23f5eccd15b2e0f92a13ee1d9242e5e02", size = 6602306, upload-time = "2026-03-30T08:46:27.593Z" }, + { url = "https://files.pythonhosted.org/packages/7c/f8/88ca4e78c077b2b2113d95da1e1ab43efd43d723c9a0397d26529c2c1a56/grpcio-1.80.0-cp310-cp310-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:52d143637e3872633fc7dd7c3c6a1c84e396b359f3a72e215f8bf69fd82084fc", size = 7301535, upload-time = "2026-03-30T08:46:29.556Z" }, + { url = "https://files.pythonhosted.org/packages/f9/96/f28660fe2fe0f153288bf4a04e4910b7309d442395135c88ed4f5b3b8b40/grpcio-1.80.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c51bf8ac4575af2e0678bccfb07e47321fc7acb5049b4482832c5c195e04e13a", size = 6808669, upload-time = "2026-03-30T08:46:31.984Z" }, + { url = "https://files.pythonhosted.org/packages/47/eb/3f68a5e955779c00aeef23850e019c1c1d0e032d90633ba49c01ad5a96e0/grpcio-1.80.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:50a9871536d71c4fba24ee856abc03a87764570f0c457dd8db0b4018f379fed9", size = 7409489, upload-time = "2026-03-30T08:46:34.684Z" }, + { url = "https://files.pythonhosted.org/packages/5b/a7/d2f681a4bfb881be40659a309771f3bdfbfdb1190619442816c3f0ffc079/grpcio-1.80.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:a72d84ad0514db063e21887fbacd1fd7acb4d494a564cae22227cd45c7fbf199", size = 8423167, upload-time = "2026-03-30T08:46:36.833Z" }, + { url = "https://files.pythonhosted.org/packages/97/8a/29b4589c204959aa35ce5708400a05bba72181807c45c47b3ec000c39333/grpcio-1.80.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f7691a6788ad9196872f95716df5bc643ebba13c97140b7a5ee5c8e75d1dea81", size = 7846761, upload-time = "2026-03-30T08:46:40.091Z" }, + { url = "https://files.pythonhosted.org/packages/6b/d2/ed143e097230ee121ac5848f6ff14372dba91289b10b536d54fb1b7cbae7/grpcio-1.80.0-cp310-cp310-win32.whl", hash = "sha256:46c2390b59d67f84e882694d489f5b45707c657832d7934859ceb8c33f467069", size = 4156534, upload-time = "2026-03-30T08:46:42.026Z" }, + { url = "https://files.pythonhosted.org/packages/d5/c9/df8279bb49b29409995e95efa85b72973d62f8aeff89abee58c91f393710/grpcio-1.80.0-cp310-cp310-win_amd64.whl", hash = "sha256:dc053420fc75749c961e2a4c906398d7c15725d36ccc04ae6d16093167223b58", size = 4889869, upload-time = "2026-03-30T08:46:44.219Z" }, + { url = "https://files.pythonhosted.org/packages/5d/db/1d56e5f5823257b291962d6c0ce106146c6447f405b60b234c4f222a7cde/grpcio-1.80.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:dfab85db094068ff42e2a3563f60ab3dddcc9d6488a35abf0132daec13209c8a", size = 6055009, upload-time = "2026-03-30T08:46:46.265Z" }, + { url = "https://files.pythonhosted.org/packages/6e/18/c83f3cad64c5ca63bca7e91e5e46b0d026afc5af9d0a9972472ceba294b3/grpcio-1.80.0-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:5c07e82e822e1161354e32da2662f741a4944ea955f9f580ec8fb409dd6f6060", size = 12035295, upload-time = "2026-03-30T08:46:49.099Z" }, + { url = "https://files.pythonhosted.org/packages/0f/8e/e14966b435be2dda99fbe89db9525ea436edc79780431a1c2875a3582644/grpcio-1.80.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ba0915d51fd4ced2db5ff719f84e270afe0e2d4c45a7bdb1e8d036e4502928c2", size = 6610297, upload-time = "2026-03-30T08:46:52.123Z" }, + { url = "https://files.pythonhosted.org/packages/cc/26/d5eb38f42ce0e3fdc8174ea4d52036ef8d58cc4426cb800f2610f625dd75/grpcio-1.80.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:3cb8130ba457d2aa09fa6b7c3ed6b6e4e6a2685fce63cb803d479576c4d80e21", size = 7300208, upload-time = "2026-03-30T08:46:54.859Z" }, + { url = "https://files.pythonhosted.org/packages/25/51/bd267c989f85a17a5b3eea65a6feb4ff672af41ca614e5a0279cc0ea381c/grpcio-1.80.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:09e5e478b3d14afd23f12e49e8b44c8684ac3c5f08561c43a5b9691c54d136ab", size = 6813442, upload-time = "2026-03-30T08:46:57.056Z" }, + { url = "https://files.pythonhosted.org/packages/9e/d9/d80eef735b19e9169e30164bbf889b46f9df9127598a83d174eb13a48b26/grpcio-1.80.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:00168469238b022500e486c1c33916acf2f2a9b2c022202cf8a1885d2e3073c1", size = 7414743, upload-time = "2026-03-30T08:46:59.682Z" }, + { url = "https://files.pythonhosted.org/packages/de/f2/567f5bd5054398ed6b0509b9a30900376dcf2786bd936812098808b49d8d/grpcio-1.80.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8502122a3cc1714038e39a0b071acb1207ca7844208d5ea0d091317555ee7106", size = 8426046, upload-time = "2026-03-30T08:47:02.474Z" }, + { url = "https://files.pythonhosted.org/packages/62/29/73ef0141b4732ff5eacd68430ff2512a65c004696997f70476a83e548e7e/grpcio-1.80.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ce1794f4ea6cc3ca29463f42d665c32ba1b964b48958a66497917fe9069f26e6", size = 7851641, upload-time = "2026-03-30T08:47:05.462Z" }, + { url = "https://files.pythonhosted.org/packages/46/69/abbfa360eb229a8623bab5f5a4f8105e445bd38ce81a89514ba55d281ad0/grpcio-1.80.0-cp311-cp311-win32.whl", hash = "sha256:51b4a7189b0bef2aa30adce3c78f09c83526cf3dddb24c6a96555e3b97340440", size = 4154368, upload-time = "2026-03-30T08:47:08.027Z" }, + { url = "https://files.pythonhosted.org/packages/6f/d4/ae92206d01183b08613e846076115f5ac5991bae358d2a749fa864da5699/grpcio-1.80.0-cp311-cp311-win_amd64.whl", hash = "sha256:02e64bb0bb2da14d947a49e6f120a75e947250aebe65f9629b62bb1f5c14e6e9", size = 4894235, upload-time = "2026-03-30T08:47:10.839Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e8/a2b749265eb3415abc94f2e619bbd9e9707bebdda787e61c593004ec927a/grpcio-1.80.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:c624cc9f1008361014378c9d776de7182b11fe8b2e5a81bc69f23a295f2a1ad0", size = 6015616, upload-time = "2026-03-30T08:47:13.428Z" }, + { url = "https://files.pythonhosted.org/packages/3e/97/b1282161a15d699d1e90c360df18d19165a045ce1c343c7f313f5e8a0b77/grpcio-1.80.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:f49eddcac43c3bf350c0385366a58f36bed8cc2c0ec35ef7b74b49e56552c0c2", size = 12014204, upload-time = "2026-03-30T08:47:15.873Z" }, + { url = "https://files.pythonhosted.org/packages/6e/5e/d319c6e997b50c155ac5a8cb12f5173d5b42677510e886d250d50264949d/grpcio-1.80.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d334591df610ab94714048e0d5b4f3dd5ad1bee74dfec11eee344220077a79de", size = 6563866, upload-time = "2026-03-30T08:47:18.588Z" }, + { url = "https://files.pythonhosted.org/packages/ae/f6/fdd975a2cb4d78eb67769a7b3b3830970bfa2e919f1decf724ae4445f42c/grpcio-1.80.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:0cb517eb1d0d0aaf1d87af7cc5b801d686557c1d88b2619f5e31fab3c2315921", size = 7273060, upload-time = "2026-03-30T08:47:21.113Z" }, + { url = "https://files.pythonhosted.org/packages/db/f0/a3deb5feba60d9538a962913e37bd2e69a195f1c3376a3dd44fe0427e996/grpcio-1.80.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4e78c4ac0d97dc2e569b2f4bcbbb447491167cb358d1a389fc4af71ab6f70411", size = 6782121, upload-time = "2026-03-30T08:47:23.827Z" }, + { url = "https://files.pythonhosted.org/packages/ca/84/36c6dcfddc093e108141f757c407902a05085e0c328007cb090d56646cdf/grpcio-1.80.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2ed770b4c06984f3b47eb0517b1c69ad0b84ef3f40128f51448433be904634cd", size = 7383811, upload-time = "2026-03-30T08:47:26.517Z" }, + { url = "https://files.pythonhosted.org/packages/7c/ef/f3a77e3dc5b471a0ec86c564c98d6adfa3510d38f8ee99010410858d591e/grpcio-1.80.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:256507e2f524092f1473071a05e65a5b10d84b82e3ff24c5b571513cfaa61e2f", size = 8393860, upload-time = "2026-03-30T08:47:29.439Z" }, + { url = "https://files.pythonhosted.org/packages/9b/8d/9d4d27ed7f33d109c50d6b5ce578a9914aa68edab75d65869a17e630a8d1/grpcio-1.80.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9a6284a5d907c37db53350645567c522be314bac859a64a7a5ca63b77bb7958f", size = 7830132, upload-time = "2026-03-30T08:47:33.254Z" }, + { url = "https://files.pythonhosted.org/packages/14/e4/9990b41c6d7a44e1e9dee8ac11d7a9802ba1378b40d77468a7761d1ad288/grpcio-1.80.0-cp312-cp312-win32.whl", hash = "sha256:c71309cfce2f22be26aa4a847357c502db6c621f1a49825ae98aa0907595b193", size = 4140904, upload-time = "2026-03-30T08:47:35.319Z" }, + { url = "https://files.pythonhosted.org/packages/2f/2c/296f6138caca1f4b92a31ace4ae1b87dab692fc16a7a3417af3bb3c805bf/grpcio-1.80.0-cp312-cp312-win_amd64.whl", hash = "sha256:9fe648599c0e37594c4809d81a9e77bd138cc82eb8baa71b6a86af65426723ff", size = 4880944, upload-time = "2026-03-30T08:47:37.831Z" }, + { url = "https://files.pythonhosted.org/packages/2f/3a/7c3c25789e3f069e581dc342e03613c5b1cb012c4e8c7d9d5cf960a75856/grpcio-1.80.0-cp313-cp313-linux_armv7l.whl", hash = "sha256:e9e408fc016dffd20661f0126c53d8a31c2821b5c13c5d67a0f5ed5de93319ad", size = 6017243, upload-time = "2026-03-30T08:47:40.075Z" }, + { url = "https://files.pythonhosted.org/packages/04/19/21a9806eb8240e174fd1ab0cd5b9aa948bb0e05c2f2f55f9d5d7405e6d08/grpcio-1.80.0-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:92d787312e613754d4d8b9ca6d3297e69994a7912a32fa38c4c4e01c272974b0", size = 12010840, upload-time = "2026-03-30T08:47:43.11Z" }, + { url = "https://files.pythonhosted.org/packages/18/3a/23347d35f76f639e807fb7a36fad3068aed100996849a33809591f26eca6/grpcio-1.80.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8ac393b58aa16991a2f1144ec578084d544038c12242da3a215966b512904d0f", size = 6567644, upload-time = "2026-03-30T08:47:46.806Z" }, + { url = "https://files.pythonhosted.org/packages/ff/40/96e07ecb604a6a67ae6ab151e3e35b132875d98bc68ec65f3e5ab3e781d7/grpcio-1.80.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:68e5851ac4b9afe07e7f84483803ad167852570d65326b34d54ca560bfa53fb6", size = 7277830, upload-time = "2026-03-30T08:47:49.643Z" }, + { url = "https://files.pythonhosted.org/packages/9b/e2/da1506ecea1f34a5e365964644b35edef53803052b763ca214ba3870c856/grpcio-1.80.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:873ff5d17d68992ef6605330127425d2fc4e77e612fa3c3e0ed4e668685e3140", size = 6783216, upload-time = "2026-03-30T08:47:52.817Z" }, + { url = "https://files.pythonhosted.org/packages/44/83/3b20ff58d0c3b7f6caaa3af9a4174d4023701df40a3f39f7f1c8e7c48f9d/grpcio-1.80.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:2bea16af2750fd0a899bf1abd9022244418b55d1f37da2202249ba4ba673838d", size = 7385866, upload-time = "2026-03-30T08:47:55.687Z" }, + { url = "https://files.pythonhosted.org/packages/47/45/55c507599c5520416de5eefecc927d6a0d7af55e91cfffb2e410607e5744/grpcio-1.80.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ba0db34f7e1d803a878284cd70e4c63cb6ae2510ba51937bf8f45ba997cefcf7", size = 8391602, upload-time = "2026-03-30T08:47:58.303Z" }, + { url = "https://files.pythonhosted.org/packages/10/bb/dd06f4c24c01db9cf11341b547d0a016b2c90ed7dbbb086a5710df7dd1d7/grpcio-1.80.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8eb613f02d34721f1acf3626dfdb3545bd3c8505b0e52bf8b5710a28d02e8aa7", size = 7826752, upload-time = "2026-03-30T08:48:01.311Z" }, + { url = "https://files.pythonhosted.org/packages/f9/1e/9d67992ba23371fd63d4527096eb8c6b76d74d52b500df992a3343fd7251/grpcio-1.80.0-cp313-cp313-win32.whl", hash = "sha256:93b6f823810720912fd131f561f91f5fed0fda372b6b7028a2681b8194d5d294", size = 4142310, upload-time = "2026-03-30T08:48:04.594Z" }, + { url = "https://files.pythonhosted.org/packages/cf/e6/283326a27da9e2c3038bc93eeea36fb118ce0b2d03922a9cda6688f53c5b/grpcio-1.80.0-cp313-cp313-win_amd64.whl", hash = "sha256:e172cf795a3ba5246d3529e4d34c53db70e888fa582a8ffebd2e6e48bc0cba50", size = 4882833, upload-time = "2026-03-30T08:48:07.363Z" }, + { url = "https://files.pythonhosted.org/packages/c5/6d/e65307ce20f5a09244ba9e9d8476e99fb039de7154f37fb85f26978b59c3/grpcio-1.80.0-cp314-cp314-linux_armv7l.whl", hash = "sha256:3d4147a97c8344d065d01bbf8b6acec2cf86fb0400d40696c8bdad34a64ffc0e", size = 6017376, upload-time = "2026-03-30T08:48:10.005Z" }, + { url = "https://files.pythonhosted.org/packages/69/10/9cef5d9650c72625a699c549940f0abb3c4bfdb5ed45a5ce431f92f31806/grpcio-1.80.0-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:d8e11f167935b3eb089ac9038e1a063e6d7dbe995c0bb4a661e614583352e76f", size = 12018133, upload-time = "2026-03-30T08:48:12.927Z" }, + { url = "https://files.pythonhosted.org/packages/04/82/983aabaad82ba26113caceeb9091706a0696b25da004fe3defb5b346e15b/grpcio-1.80.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f14b618fc30de822681ee986cfdcc2d9327229dc4c98aed16896761cacd468b9", size = 6574748, upload-time = "2026-03-30T08:48:16.386Z" }, + { url = "https://files.pythonhosted.org/packages/07/d7/031666ef155aa0bf399ed7e19439656c38bbd143779ae0861b038ce82abd/grpcio-1.80.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:4ed39fbdcf9b87370f6e8df4e39ca7b38b3e5e9d1b0013c7b6be9639d6578d14", size = 7277711, upload-time = "2026-03-30T08:48:19.627Z" }, + { url = "https://files.pythonhosted.org/packages/e8/43/f437a78f7f4f1d311804189e8f11fb311a01049b2e08557c1068d470cb2e/grpcio-1.80.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2dcc70e9f0ba987526e8e8603a610fb4f460e42899e74e7a518bf3c68fe1bf05", size = 6785372, upload-time = "2026-03-30T08:48:22.373Z" }, + { url = "https://files.pythonhosted.org/packages/93/3d/f6558e9c6296cb4227faa5c43c54a34c68d32654b829f53288313d16a86e/grpcio-1.80.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:448c884b668b868562b1bda833c5fce6272d26e1926ec46747cda05741d302c1", size = 7395268, upload-time = "2026-03-30T08:48:25.638Z" }, + { url = "https://files.pythonhosted.org/packages/06/21/0fdd77e84720b08843c371a2efa6f2e19dbebf56adc72df73d891f5506f0/grpcio-1.80.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:a1dc80fe55685b4a543555e6eef975303b36c8db1023b1599b094b92aa77965f", size = 8392000, upload-time = "2026-03-30T08:48:28.974Z" }, + { url = "https://files.pythonhosted.org/packages/f5/68/67f4947ed55d2e69f2cc199ab9fd85e0a0034d813bbeef84df6d2ba4d4b7/grpcio-1.80.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:31b9ac4ad1aa28ffee5503821fafd09e4da0a261ce1c1281c6c8da0423c83b6e", size = 7828477, upload-time = "2026-03-30T08:48:32.054Z" }, + { url = "https://files.pythonhosted.org/packages/44/b6/8d4096691b2e385e8271911a0de4f35f0a6c7d05aff7098e296c3de86939/grpcio-1.80.0-cp314-cp314-win32.whl", hash = "sha256:367ce30ba67d05e0592470428f0ec1c31714cab9ef19b8f2e37be1f4c7d32fae", size = 4218563, upload-time = "2026-03-30T08:48:34.538Z" }, + { url = "https://files.pythonhosted.org/packages/e5/8c/bbe6baf2557262834f2070cf668515fa308b2d38a4bbf771f8f7872a7036/grpcio-1.80.0-cp314-cp314-win_amd64.whl", hash = "sha256:3b01e1f5464c583d2f567b2e46ff0d516ef979978f72091fd81f5ab7fa6e2e7f", size = 5019457, upload-time = "2026-03-30T08:48:37.308Z" }, +] + +[[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 = "hf-xet" +version = "1.5.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/74/d8/5c06fc76461418326a7decf8367480c35be11a41fd938633929c60a9ec6b/hf_xet-1.5.0.tar.gz", hash = "sha256:e0fb0a34d9f406eed88233e829a67ec016bec5af19e480eac65a233ea289a948", size = 837196, upload-time = "2026-05-06T06:18:15.583Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/68/9b/6912c99070915a4f28119e3c5b52a9abd1eec0ad5cb293b8c967a0c6f5a2/hf_xet-1.5.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:7d70fe2ce97b9db73b9c9b9c81fe3693640aec83416a966c446afea54acfae3c", size = 4023383, upload-time = "2026-05-06T06:17:53.947Z" }, + { url = "https://files.pythonhosted.org/packages/0f/6d/9563cfde59b5d8128a9c7ec972a087f4c782e4f7bac5a85234edfd5d5e49/hf_xet-1.5.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:73a0dae8c71de3b0633a45c73f4a4a5ed09e94b43441d82981a781d4f12baa42", size = 3792751, upload-time = "2026-05-06T06:17:51.791Z" }, + { url = "https://files.pythonhosted.org/packages/07/a5/ed5a0cf35b49a0571af5a8f53416dad1877a718c021c9937c3a53cb45781/hf_xet-1.5.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a60290ec57e9b71767fba7c3645ddafdd0759974b540441510c629c6db6db24a", size = 4456058, upload-time = "2026-05-06T06:17:40.735Z" }, + { url = "https://files.pythonhosted.org/packages/60/fb/3ae8bf2a7a37a4197d0195d7247fd25b3952e15cb8a599e285dfaa6f52b3/hf_xet-1.5.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:e5de0f6deada0dada870bb376a11bcd1f08abf3a968a6d118f33e72d1b1eb480", size = 4250783, upload-time = "2026-05-06T06:17:38.412Z" }, + { url = "https://files.pythonhosted.org/packages/a2/9b/8bae40d4d91525085137196e84eb0ed49cf65b5e96e5c3ecdadd8bd0fac2/hf_xet-1.5.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c799d49f1a5544a0ef7591c0ee75e0d6b93d6f56dc7a4979f59f7518d2872216", size = 4445594, upload-time = "2026-05-06T06:18:04.219Z" }, + { url = "https://files.pythonhosted.org/packages/13/59/c74efbbd4e8728172b2cc72a2bc014d2947a4b7bdced932fbd3f5da1a4e5/hf_xet-1.5.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:2baea1b0b989e5c152fe81425f7745ddc8901280ba3d97c98d8cdece7b706c60", size = 4663995, upload-time = "2026-05-06T06:18:06.1Z" }, + { url = "https://files.pythonhosted.org/packages/73/32/8e1e0410af64cda9b139d1dcebdc993a8ff9c8c7c0e2696ae356d75ccc0d/hf_xet-1.5.0-cp313-cp313t-win_amd64.whl", hash = "sha256:526345b3ed45f374f6317349df489167606736c876241ba984105afe7fd4839d", size = 3966608, upload-time = "2026-05-06T06:18:19.74Z" }, + { url = "https://files.pythonhosted.org/packages/fc/34/a8febc8f4edbea8b3e21b02ebc8b628679b84ba7e45cde624a7736b51500/hf_xet-1.5.0-cp313-cp313t-win_arm64.whl", hash = "sha256:786d28e2eb8315d5035544b9d137b4a842d600c434bb91bf7d0d953cce906ad4", size = 3796946, upload-time = "2026-05-06T06:18:17.568Z" }, + { url = "https://files.pythonhosted.org/packages/2a/20/8fc8996afe5815fa1a6be8e9e5c02f24500f409d599e905800d498a4e14d/hf_xet-1.5.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:872d5601e6deea30d15865ede55d29eac6daf5a534ab417b99b6ef6b076dd96c", size = 4023495, upload-time = "2026-05-06T06:18:01.94Z" }, + { url = "https://files.pythonhosted.org/packages/32/6a/93d84463c00cecb561a7508aa6303e35ee2894294eac14245526924415fe/hf_xet-1.5.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:9929561f5abf4581c8ea79587881dfef6b8abb2a0d8a51915936fc2a614f4e73", size = 3792731, upload-time = "2026-05-06T06:18:00.021Z" }, + { url = "https://files.pythonhosted.org/packages/9d/5a/8ec8e0c863b382d00b3c2e2af6ded6b06371be617144a625903a6d562f4b/hf_xet-1.5.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f7b7bbae318e583a86fb21e5a4a175d6721d628a2874f4bd022d0e660c32a682", size = 4456738, upload-time = "2026-05-06T06:17:49.574Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ca/f7effa1a67717da2bcc6b6c28f71c6ca648c77acaec4e2c32f40cbe16d85/hf_xet-1.5.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:cf7b2dc6f31a4ea754bb50f74cde482dcf5d366d184076d8530b9872787f3761", size = 4251622, upload-time = "2026-05-06T06:17:47.096Z" }, + { url = "https://files.pythonhosted.org/packages/65/f2/19247dba3e231cf77dec59ddfb878f00057635ff773d099c9b59d37812c3/hf_xet-1.5.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8dbcbab554c9ef158ef2c991545c3e970ddd8cc7acdcd0a78c5a41095dab4ded", size = 4445667, upload-time = "2026-05-06T06:18:11.983Z" }, + { url = "https://files.pythonhosted.org/packages/7f/64/6f116801a3bcfb6f59f5c251f48cadc47ea54026441c4a385079286a94fa/hf_xet-1.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5906bf7718d3636dc13402914736abe723492cb730f744834f5f5b67d3a12702", size = 4664619, upload-time = "2026-05-06T06:18:13.771Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e8/069542d37946ed08669b127e1496fa99e78196d71de8d41eda5e9f1b7a58/hf_xet-1.5.0-cp314-cp314t-win_amd64.whl", hash = "sha256:5f3dc2248fc01cc0a00cd392ab497f1ca373fcbc7e3f2da1f452480b384e839e", size = 3966802, upload-time = "2026-05-06T06:18:28.162Z" }, + { url = "https://files.pythonhosted.org/packages/f9/91/fc6fdec27b14d04e88c386ac0a0129732b53fa23f7c4a78f4b83a039c567/hf_xet-1.5.0-cp314-cp314t-win_arm64.whl", hash = "sha256:b285cea1b5bab46b758772716ba8d6854a1a0310fed1c249d678a8b38601e5a0", size = 3797168, upload-time = "2026-05-06T06:18:26.287Z" }, + { url = "https://files.pythonhosted.org/packages/3d/fb/69ff198a82cae7eb1a69fb84d93b3a3e4816564d76817fe541ddc96874eb/hf_xet-1.5.0-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:dad0dc84e941b8ba3c860659fe1fdc35c049d47cce293f003287757e971a8f56", size = 4030814, upload-time = "2026-05-06T06:17:57.933Z" }, + { url = "https://files.pythonhosted.org/packages/9b/ff/edcc2b40162bef3ff78e14ab637e5f3b89243d6aee72f5949d3bb6a5af83/hf_xet-1.5.0-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:fd6e5a9b0fdac4ed03ed45ef79254a655b1aaab514a02202617fbf643f5fdf7a", size = 3798444, upload-time = "2026-05-06T06:17:55.79Z" }, + { url = "https://files.pythonhosted.org/packages/49/4d/103f76b04310e5e57656696cc184690d20c466af0bca3ca88f8c8ea5d4f3/hf_xet-1.5.0-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3531b1823a0e6d77d80f9ed15ca0e00f0d115094f8ac033d5cae88f4564cc949", size = 4465986, upload-time = "2026-05-06T06:17:44.886Z" }, + { url = "https://files.pythonhosted.org/packages/c4/a2/546f47f464737b3edbab6f8ddb57f2599b93d2cbb66f06abb475ccb48651/hf_xet-1.5.0-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:9a0ee58cd18d5ea799f7ed11290bbccbe56bdd8b1d97ca74b9cc49a3945d7a3b", size = 4259865, upload-time = "2026-05-06T06:17:42.639Z" }, + { url = "https://files.pythonhosted.org/packages/95/7f/1be593c1f28613be2e196473481cd81bfc5910795e30a34e8f744f6cac4f/hf_xet-1.5.0-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1e60df5a42e9bed8628b6416af2cba4cba57ae9f02de226a06b020d98e1aab18", size = 4459835, upload-time = "2026-05-06T06:18:08.026Z" }, + { url = "https://files.pythonhosted.org/packages/aa/b2/703569fc881f3284487e68cda7b42179978480da3c438042a6bbbb4a671c/hf_xet-1.5.0-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:4b35549ce62601b84da4ff9b24d970032ace3d4430f52d91bcbb26c901d6c690", size = 4672414, upload-time = "2026-05-06T06:18:09.864Z" }, + { url = "https://files.pythonhosted.org/packages/af/37/1b6def445c567286b50aa3b33828158e135b1be44938dde59f11382a500c/hf_xet-1.5.0-cp37-abi3-win_amd64.whl", hash = "sha256:2806c7c17b4d23f8d88f7c4814f838c3b6150773fe339c20af23e1cfaf2797e4", size = 3977238, upload-time = "2026-05-06T06:18:23.621Z" }, + { url = "https://files.pythonhosted.org/packages/62/94/3b66b148778ee100dcfd69c2ca22b57b41b44d3063ceec934f209e9184ce/hf_xet-1.5.0-cp37-abi3-win_arm64.whl", hash = "sha256:b6c9df403040248c76d808d3e047d64db2d923bae593eb244c41e425cf6cd7be", size = 3806916, upload-time = "2026-05-06T06:18:21.7Z" }, +] + +[[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 = "huggingface-hub" +version = "1.15.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "filelock" }, + { name = "fsspec" }, + { name = "hf-xet", marker = "platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'" }, + { name = "httpx" }, + { name = "packaging" }, + { name = "pyyaml" }, + { name = "tqdm" }, + { name = "typer" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/bb/b6/e22bd20a25299c34b8c5922c1545a6320825b13906eb0f7298edfd034a0b/huggingface_hub-1.15.0.tar.gz", hash = "sha256:28abfdddda3927fd4de6a63cf26ab012498a2c24dae52baf150c5c6edf98a1d5", size = 784100, upload-time = "2026-05-15T11:42:52.149Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6e/11/0b64cc9024329b76d7547c19a67604a61d21d3ba678a69d1b220c29d5112/huggingface_hub-1.15.0-py3-none-any.whl", hash = "sha256:a4a59af04cbc41a3fe3fec429b171ef994ef8c971eda10136746f408dd4e3744", size = 663602, upload-time = "2026-05-15T11:42:50.487Z" }, +] + +[[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.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "zipp" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f3/49/3b30cad09e7771a4982d9975a8cbf64f00d4a1ececb53297f1d9a7be1b10/importlib_metadata-8.7.1.tar.gz", hash = "sha256:49fef1ae6440c182052f407c8d34a68f72efc36db9ca90dc0113398f2fdde8bb", size = 57107, upload-time = "2025-12-21T10:00:19.278Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fa/5e/f8e9a1d23b9c20a551a8a02ea3637b4642e22c2626e3a13a9a29cdea99eb/importlib_metadata-8.7.1-py3-none-any.whl", hash = "sha256:5a1f80bf1daa489495071efbb095d75a634cf28a8bc299581244063b53176151", size = 27865, upload-time = "2025-12-21T10:00:18.329Z" }, +] + +[[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 = "itsdangerous" +version = "2.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/9c/cb/8ac0172223afbccb63986cc25049b154ecfb5e85932587206f42317be31d/itsdangerous-2.2.0.tar.gz", hash = "sha256:e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173", size = 54410, upload-time = "2024-04-16T21:28:15.614Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/04/96/92447566d16df59b2a776c0fb82dbc4d9e07cd95062562af01e408583fc4/itsdangerous-2.2.0-py3-none-any.whl", hash = "sha256:c6242fc49e35958c8b15141343aa660db5fc54d4f13a1db01a3f5891b98700ef", size = 16234, upload-time = "2024-04-16T21:28:14.499Z" }, +] + +[[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.15.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/66/b5/55f06bb281d92fb3cc86d14e1def2bd908bb77693183e7cb1f5a3c388b0c/jiter-0.15.0.tar.gz", hash = "sha256:4251acc80e2b7c9b7b8823456ea0fceeb0734dac2df7636d3c711b38476b5a76", size = 166640, upload-time = "2026-05-19T10:09:48.361Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1d/da/76a2c7e510ba15fe323d9509c223ab272da79ea59f54488f4a78da6426db/jiter-0.15.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:edebcf7d1f601199084bb6e844d7dc67e03e04f6ac786b0332d616635c4ff7a4", size = 310849, upload-time = "2026-05-19T10:06:51.944Z" }, + { url = "https://files.pythonhosted.org/packages/5d/8e/827be942883a4dc0862c48626ff41af3320b1902d136a0bf4b9041f2c567/jiter-0.15.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9f924585cdacf631cd382b657966847bb537bf9ed0a6f9b991da5f05a631480f", size = 314991, upload-time = "2026-05-19T10:06:53.522Z" }, + { url = "https://files.pythonhosted.org/packages/6d/38/be2832be361ba1b9517c76f46d30b64e985be1dd43c974f4c3a4b1844436/jiter-0.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:abbf258599526ad0326fe51e252e24f2bd6f24f1852681b4b78feda3808f1d18", size = 340843, upload-time = "2026-05-19T10:06:55.071Z" }, + { url = "https://files.pythonhosted.org/packages/6d/d8/90f01fb83c0c7ba509303ec93e32a308fbfa167d264860b01c0fd0dbbd06/jiter-0.15.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7c468136b8bd6bb18c8786e4236a1fa27362f24cb23450ba0cb204ab379b8e6f", size = 365116, upload-time = "2026-05-19T10:06:56.893Z" }, + { url = "https://files.pythonhosted.org/packages/91/38/94593d34f8c67a0b6f6cbc027f016ffa9780b3a858a7a86f6fd7a15bcc1e/jiter-0.15.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:05906b93d72f03339e6bb7cf8dc10ebda64a0266126eed6beba79e20abcf5fd4", size = 457970, upload-time = "2026-05-19T10:06:58.707Z" }, + { url = "https://files.pythonhosted.org/packages/df/04/d79962dd49d00c97e2a9b4cacea1947904d02135936960351f9a96d4c1a6/jiter-0.15.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:30ce785d2adb8e32c3f7741442370a74834ec4c01f3c48f0750227a0b4ef27d6", size = 375744, upload-time = "2026-05-19T10:07:00.471Z" }, + { url = "https://files.pythonhosted.org/packages/c3/2e/5d37abe2be0e819c21e2338bebd410e481763ce526a9138c8c3652fa0123/jiter-0.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2fd73e3da91a0a722d67165e849ce2cdc10de0e0d48738c142be8c6c5f310f4c", size = 349609, upload-time = "2026-05-19T10:07:01.829Z" }, + { url = "https://files.pythonhosted.org/packages/7a/90/98768ad2ed90c1fda15d64157de2dfbf73c1c074d4b1bfaca915480bc7cf/jiter-0.15.0-cp310-cp310-manylinux_2_31_riscv64.whl", hash = "sha256:ceb8fc27d38793f9c97149be8302720c5b22e5c195a37bf2c45dc36c4600a512", size = 354366, upload-time = "2026-05-19T10:07:03.587Z" }, + { url = "https://files.pythonhosted.org/packages/d6/c4/fbfb806209f1fe4b7dccdfb07bc62bb044300734a945b06fd64db446ef6a/jiter-0.15.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d726e3ceeb337191324b49de298142f27c3ad10886341555d1d5315b5f252c6a", size = 393519, upload-time = "2026-05-19T10:07:05.08Z" }, + { url = "https://files.pythonhosted.org/packages/37/1c/b9c257cd70cb453b6d10f3ebf0402cdb11669ab455389096f09839670290/jiter-0.15.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:2c8aea7781d2a372227871de4e1a1332aa96f5a89fd76c5e835dafdbad102887", size = 519952, upload-time = "2026-05-19T10:07:06.589Z" }, + { url = "https://files.pythonhosted.org/packages/a9/1a/aa85027db7ab15829c12feebbc33b404f53fc399bd559d85fd0d6365ff0d/jiter-0.15.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:cf4bd113a69c0a740e27cb962ce10630c36d2b8f59d759a651b955ee9d18a823", size = 550770, upload-time = "2026-05-19T10:07:08.228Z" }, + { url = "https://files.pythonhosted.org/packages/d4/54/8c3f65c8a5687925e84708f19d63f7f37d28e2b86a48d951702ad94424d8/jiter-0.15.0-cp310-cp310-win32.whl", hash = "sha256:d92a5cd21fdb083931d546c207aa29633787c5dc5b02daab2d32b843f88a2c53", size = 209303, upload-time = "2026-05-19T10:07:10.006Z" }, + { url = "https://files.pythonhosted.org/packages/d5/72/0528a1eb9f42dd2d8228a0711458628f35924d131f623eaebc35fd23d3d4/jiter-0.15.0-cp310-cp310-win_amd64.whl", hash = "sha256:e58585a58209d72691ce2d62a9147445f5a87beb0bde97fde284c96ae392a3d1", size = 200404, upload-time = "2026-05-19T10:07:11.426Z" }, + { url = "https://files.pythonhosted.org/packages/e4/13/daa722f5765c393576f466378f9dfd29d77c9bed939e0688f96afa3601ea/jiter-0.15.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:0f862193b8696249d22ec433e85fd2ab0ad9596bc3e45e6c0bc55e8aeba97be2", size = 310899, upload-time = "2026-05-19T10:07:12.89Z" }, + { url = "https://files.pythonhosted.org/packages/7f/82/2d2551829b082f4b6d82b9f939b031fb808a10aab1ec0664f82e150bb9a2/jiter-0.15.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1303d4d68a9b051ea90502402063ecf3807da00ad2affa19ca1ae3b90b3c5f67", size = 314963, upload-time = "2026-05-19T10:07:14.539Z" }, + { url = "https://files.pythonhosted.org/packages/2a/0a/8b1a51466f7fe9f31dbe4bc7e0ca848674f9825e0f737b929b97e8c60aa7/jiter-0.15.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:392b8ab019e5502d08aff85c6272209c24bc2cbe706ea82a56368f524236614a", size = 341730, upload-time = "2026-05-19T10:07:15.869Z" }, + { url = "https://files.pythonhosted.org/packages/f6/2a/e71dea19822e2e404e83992a08c1d6b9b617bb944f28c9c2fbd85d02c91e/jiter-0.15.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:773b6eb282ce11ee19f05f6b2d4404fa308e5bbd353b0b80a0262caad6db2cd7", size = 366214, upload-time = "2026-05-19T10:07:17.259Z" }, + { url = "https://files.pythonhosted.org/packages/c4/59/97e1fa539d124a509a00ab7f669289d1c1d236ecabf12948a18f16c91082/jiter-0.15.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8d2c0c44d569ce0f2850f5c926f8caeb5f245fbc84475aeb36efccc2103e6dbd", size = 459527, upload-time = "2026-05-19T10:07:18.741Z" }, + { url = "https://files.pythonhosted.org/packages/d1/7a/4a68d331aef8cf2e2393c14a3aacb635c62aa86071b0229899fb5baaa907/jiter-0.15.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:032396229564bca02440396bd327710719f724f5e7b7e9f7a8eb3faa4a2c2281", size = 375451, upload-time = "2026-05-19T10:07:20.208Z" }, + { url = "https://files.pythonhosted.org/packages/7b/7e/1c445c2b6f0e30a274dc8082e0c3c7825411cce80d726bccd697c98cc8d3/jiter-0.15.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f3d37768fce7f88dd2a8c6091f2325dea27d30d30d5c6e7a1c0f0af77723b708", size = 349428, upload-time = "2026-05-19T10:07:22.372Z" }, + { url = "https://files.pythonhosted.org/packages/00/94/e20d38984fc17a636371bffd2ae0f698124fdc8e75ef969cd2da6ba7cea7/jiter-0.15.0-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:2c9cb907439d20bd0c7d7565ca01ee52234203208433749bae5b516907526928", size = 355405, upload-time = "2026-05-19T10:07:23.916Z" }, + { url = "https://files.pythonhosted.org/packages/94/fa/4d09f814779d0ea80a28ed8e4c6662ec9a4a8ecef0ac52190ebac6262d14/jiter-0.15.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9100ddbec09741cc66feb0fc6773f8bdbd0e3c345689368f260082ff85dcc0cd", size = 393688, upload-time = "2026-05-19T10:07:25.854Z" }, + { url = "https://files.pythonhosted.org/packages/54/9d/8eb5d4fb8bf7e93a75964a5da71a75c67c864baf7fa3f98598187b3c7e57/jiter-0.15.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ae1b0d82ac2d987f9ea512b1c9adfcc71a28de3dea3a6039b54d76cffda9901e", size = 520853, upload-time = "2026-05-19T10:07:27.303Z" }, + { url = "https://files.pythonhosted.org/packages/e7/2c/5e07874e59e623a943a0acf1552a80d05b70f31b402287a8fc6d7ec634c7/jiter-0.15.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8020c99ec13a7db2b6f96cbe82ef4721c88b426a4892f27478044af0284615ef", size = 551016, upload-time = "2026-05-19T10:07:28.846Z" }, + { url = "https://files.pythonhosted.org/packages/22/ed/d2d34422143474cadc15b60d482b1c35683dbc5c63c24346ddd0df09bcaf/jiter-0.15.0-cp311-cp311-win32.whl", hash = "sha256:42bfb257930800cf43e7c62c832402c704ab60797c992faf88d20e903eac8f32", size = 209518, upload-time = "2026-05-19T10:07:30.431Z" }, + { url = "https://files.pythonhosted.org/packages/1d/7d/52778b930e5cc3e52a37d950b1c10494244308b4329b25a0ff0d88303a81/jiter-0.15.0-cp311-cp311-win_amd64.whl", hash = "sha256:860a74063284a2ae9bfedd694f299cc2c68e2696c5f3d440cc9d18bb81b9dd04", size = 200565, upload-time = "2026-05-19T10:07:32.125Z" }, + { url = "https://files.pythonhosted.org/packages/3b/4f/d9b4067feb69b3fa6eb0488e1b59e2ad5b463fe39f59e527eab2aca00bb0/jiter-0.15.0-cp311-cp311-win_arm64.whl", hash = "sha256:37a10c377ce3a4a85f4a67f28b7afe093154cde77eaf248a72e856aa08b4d865", size = 195488, upload-time = "2026-05-19T10:07:33.846Z" }, + { url = "https://files.pythonhosted.org/packages/44/53/4f6bddbcde3c71e56d0aa1337ec95950f3d27dd4153e25aadf0feac71751/jiter-0.15.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:0e90a1c315a0226ec822d973817967f9223b7701546c8c2a7913e7ab0926294d", size = 308793, upload-time = "2026-05-19T10:07:35.25Z" }, + { url = "https://files.pythonhosted.org/packages/01/84/c01099b59a285a1ebba64ae93f62bfa036675340fd1b0045ae65890a0442/jiter-0.15.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8c9004af7c8d67cce7f1aae1026fb55607f4aa600710d08ede3a3ce4aeefe7e0", size = 309570, upload-time = "2026-05-19T10:07:36.919Z" }, + { url = "https://files.pythonhosted.org/packages/58/64/8fb7f9d45bb98190355454cd04dad8d8f27223d6bd52f83af07f637168a6/jiter-0.15.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c210f8b35dc6f30aafd4b4365ca89b9d1189f21ab49b8e68fa6322a847aef138", size = 336783, upload-time = "2026-05-19T10:07:38.694Z" }, + { url = "https://files.pythonhosted.org/packages/c3/b6/f5739011d009b3a30f6a53c5240979030ba29ae46a8c67e3a15759f7c37d/jiter-0.15.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f30bae8bc1c2d613e28e5af3e8cceb09b742f1c8a8a5f839fb67afaffc03b61", size = 363555, upload-time = "2026-05-19T10:07:40.832Z" }, + { url = "https://files.pythonhosted.org/packages/e5/12/98a9d9f766665e8a3b6252454e17cb0c464606a28cf2fa09399b003345fa/jiter-0.15.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c60e71b6d10cfc284c9bf36bd885e8d44c46f688ce50aa91b5edd90181dea687", size = 452255, upload-time = "2026-05-19T10:07:42.62Z" }, + { url = "https://files.pythonhosted.org/packages/e8/d5/60f972840f79c5e7544fce567c56f1e4e50468f996baba3e78d823dd62a6/jiter-0.15.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0ab068bce62a45aa3e7367eceaffb5dde60b7eb853be8dece45132e3d0ff4879", size = 373559, upload-time = "2026-05-19T10:07:44.201Z" }, + { url = "https://files.pythonhosted.org/packages/ee/cf/d46ef1234ba335aabc2f013210db8e0821a22f5e644a2e9449df199ecc23/jiter-0.15.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fa248c9eb220197d363f688818dac2fd4b2f0cd7d843ca7105d652034823427d", size = 346055, upload-time = "2026-05-19T10:07:46.005Z" }, + { url = "https://files.pythonhosted.org/packages/f0/63/4d2749d8d54d230bad9b3a6b0d00cc28c6ff6b2fdffc26a8ccf76cc5a974/jiter-0.15.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:2a77aadd57cac1682e4401a72724d2796d89a4ba129b1a5812aa94ee480826eb", size = 351406, upload-time = "2026-05-19T10:07:47.855Z" }, + { url = "https://files.pythonhosted.org/packages/d9/b9/9965b990035d8773328e0a8c8b457a87bf2b19f6c4126d9d99296be5d16a/jiter-0.15.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2ae901f3a55bfafdde31d289590fa25e3245735a2b1e8c7cc15871710a002871", size = 389357, upload-time = "2026-05-19T10:07:49.665Z" }, + { url = "https://files.pythonhosted.org/packages/2d/55/9ddf903deda1413e87fed792f416b7123daee5b8efbad6a202a7421c36a5/jiter-0.15.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:f0b271b462769543716f92d3a4f90527df6ef5ed05ee95ec4137f513e21e1b77", size = 517263, upload-time = "2026-05-19T10:07:51.537Z" }, + { url = "https://files.pythonhosted.org/packages/e8/76/a0c40ad064d3a20a4fde231e35d56e9a01ce82164278180e82d5daf85469/jiter-0.15.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:2fb6a5d26af81fc0f00f9360a891e05cf755e149bba391c4d563adc54812973d", size = 548646, upload-time = "2026-05-19T10:07:53.196Z" }, + { url = "https://files.pythonhosted.org/packages/23/4f/eca9b954942916ba2f453891b8593ab444cd872396fe66a3936616f236f3/jiter-0.15.0-cp312-cp312-win32.whl", hash = "sha256:c2f6bb8b5216ab9e7873bc08b5d7bef2b8abbb578a3069bf1cd14a45d71d771d", size = 206427, upload-time = "2026-05-19T10:07:55.307Z" }, + { url = "https://files.pythonhosted.org/packages/95/bf/8ead82a87495149542748e828d153fd232a512a22c83b02c4815c1a9c7d8/jiter-0.15.0-cp312-cp312-win_amd64.whl", hash = "sha256:40b2c7e92c44a84d748d21706c68dc6ff8161d80b59c99d774721a0d2317d7c7", size = 197300, upload-time = "2026-05-19T10:07:56.651Z" }, + { url = "https://files.pythonhosted.org/packages/f4/e4/9b8a78fb2d894471bc344e37f1949bdd784bd914d031dba0ba3a40c71dd7/jiter-0.15.0-cp312-cp312-win_arm64.whl", hash = "sha256:cc0bc345cf2df9d1c00ac443f50d543c1ccfa8b0422cb85b1ab70d681c0b255b", size = 192702, upload-time = "2026-05-19T10:07:58.307Z" }, + { url = "https://files.pythonhosted.org/packages/e5/f4/f708c900ecee41b2025ef8413d5351e5649eb2125c506f6720cc69b06f5c/jiter-0.15.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:1c11465f97e2abf45a014b83b730222f8f1c5335e802c7055a67d50de6f1f4e3", size = 307829, upload-time = "2026-05-19T10:07:59.704Z" }, + { url = "https://files.pythonhosted.org/packages/86/59/db537c0949e83668c38481d426b9f2fd5ab758c4ee53a811dd0a510626a0/jiter-0.15.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d1e7b1776f0797956c509e123d0952d10d293a9492dea9f288ab9570ec01d1a5", size = 308445, upload-time = "2026-05-19T10:08:01.184Z" }, + { url = "https://files.pythonhosted.org/packages/37/38/ea0e13b18c30ef951da0d47d39e7fa9edb82a93a62990ffbd7cea9b622d4/jiter-0.15.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:351a341c2105aa430b7047e30f1bf7975f6313b00165d3fc07be2edaf741f279", size = 336181, upload-time = "2026-05-19T10:08:02.688Z" }, + { url = "https://files.pythonhosted.org/packages/58/fc/2303901b16c4ba05865588990a420c0b4156270b44379c20931544a1d962/jiter-0.15.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4ab395feec8d249ec4044e228e98a7033f043426a265df439dc3698823f0a4e4", size = 362985, upload-time = "2026-05-19T10:08:04.394Z" }, + { url = "https://files.pythonhosted.org/packages/5b/6f/11bace093c52e7d4d26c8e606ccd7ae8c972189622469ec0d9e28161e28b/jiter-0.15.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a2a438005b6f22d0273413484d6094d7c2c5d10ec1b3a3bf128e0d1d3ba53258", size = 453292, upload-time = "2026-05-19T10:08:05.967Z" }, + { url = "https://files.pythonhosted.org/packages/22/db/987f2f086ca4d7a6582eb4ccd513f9b26b42d9e4243a087609a3137a8fc7/jiter-0.15.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f18f85e4218d1b40f000f42a92239a7a61a902cd42c65e6c360dbd17dcb20894", size = 373501, upload-time = "2026-05-19T10:08:07.857Z" }, + { url = "https://files.pythonhosted.org/packages/8f/7c/89fbcabb2739b7a5b8dc959a1b6c5761f6484f5fed3486854b3c789bb1de/jiter-0.15.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d1aa62e277fc1cbd80e6deacae6f4d983b41b3d7728e0645c5d741a6149bba45", size = 344683, upload-time = "2026-05-19T10:08:09.431Z" }, + { url = "https://files.pythonhosted.org/packages/30/6f/6cca7692e7dddfec6d8d76c54dc97f2af2a41df4ac0674b999df1f09a5f3/jiter-0.15.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:6550fa135c7deb8ead6af49ed7ff648532ea8334a1447fe34a36315ef79c5c29", size = 350892, upload-time = "2026-05-19T10:08:11.352Z" }, + { url = "https://files.pythonhosted.org/packages/39/14/0338d6190cb8e6d22e677ab1d4eabd4117f67cca70c54cd04b82ff64e068/jiter-0.15.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:066f8f33f18b2419cd8213b2436fa7fbc9c499f315971cfa3ce1f9820c001b1b", size = 388723, upload-time = "2026-05-19T10:08:12.912Z" }, + { url = "https://files.pythonhosted.org/packages/90/31/cc19f4a1bdb6afb09ce6a2f2615aa8d44d994eba0d8e6105ed1af920e736/jiter-0.15.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:75e8a04e91432dde9f1838373cf93d23726c79d3e908d319acf0e796f85592e7", size = 516648, upload-time = "2026-05-19T10:08:14.808Z" }, + { url = "https://files.pythonhosted.org/packages/49/9f/833c541512cd091b63c10c0381973dfe11bc7a503a818c16384417e0c81e/jiter-0.15.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:a97261f1fccb8e50ecd2890a96e46efdc3f57c80a197324c6777827231eca712", size = 547382, upload-time = "2026-05-19T10:08:16.927Z" }, + { url = "https://files.pythonhosted.org/packages/d2/11/e7b70e91f90bc4477e8eee9e8a5f7cf3cb41b4525d6394dc98a714eb8f7f/jiter-0.15.0-cp313-cp313-win32.whl", hash = "sha256:c77496cb10bd7549690fbbab3e5ec05857b83e49276f4a9423a766ddd2afcd4c", size = 205845, upload-time = "2026-05-19T10:08:18.401Z" }, + { url = "https://files.pythonhosted.org/packages/4b/23/5c20d9ad6f02c493e4023e5d2d09e1c1f15fe2753c9102c544aff068a88e/jiter-0.15.0-cp313-cp313-win_amd64.whl", hash = "sha256:b15741f501469009ae0ae90b7147958a664a7dede40aa7ff174a8a4645f546d0", size = 196842, upload-time = "2026-05-19T10:08:20.131Z" }, + { url = "https://files.pythonhosted.org/packages/6b/11/1eb400ef248e8c925fd883fbe325daf5e42cd1b0d308539dd332bd4f7ffc/jiter-0.15.0-cp313-cp313-win_arm64.whl", hash = "sha256:5d6a60072b44c3c2b797a7ddcbcbbf2b34ea3cfd4721580fbfd2a09d9d9b84ba", size = 192212, upload-time = "2026-05-19T10:08:21.807Z" }, + { url = "https://files.pythonhosted.org/packages/8a/60/2fd8d7c79da8acf9b7b277c7616847773779356b92acfc9bb158452174da/jiter-0.15.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:ef1fd24d9413f6209e00d3d5a453e67acfe004a25cc6c8e8484faed4311ab9e8", size = 315065, upload-time = "2026-05-19T10:08:23.218Z" }, + { url = "https://files.pythonhosted.org/packages/46/f4/008fb7d65e8ac2abf00811651a661e025c4ba80bbc6f378450384ddd3aed/jiter-0.15.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:144f8e72cb53dab146347b91cceac01f5481237f2b93b4a339a1ee8f8878b67c", size = 339444, upload-time = "2026-05-19T10:08:24.701Z" }, + { url = "https://files.pythonhosted.org/packages/00/55/90b0c7b9c6896c0f2a591dd36d36b71d22e09674bfef178fa03ba3f81499/jiter-0.15.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:553fcac2ef2cb990877f9fc0833b8b629a3e6a5670b6b5fd58219b41a653ddc4", size = 347779, upload-time = "2026-05-19T10:08:26.408Z" }, + { url = "https://files.pythonhosted.org/packages/51/6b/69666cec5000fd57734c118437394516c749ae8dbeea9fb66d6fef9c4775/jiter-0.15.0-cp313-cp313t-win_amd64.whl", hash = "sha256:774f93f65031856bf14ad9f59bdcab8b8cad501e5ceabd51ba3525f76937a25b", size = 200395, upload-time = "2026-05-19T10:08:28.055Z" }, + { url = "https://files.pythonhosted.org/packages/39/04/a6aa62cd27e8149b0d28df5561f10f6cceaf7935a9ccf3f1c5a05f9a0cd8/jiter-0.15.0-cp313-cp313t-win_arm64.whl", hash = "sha256:f1e1754960f38ec40613a07e5e372df67acb3b890fb383b6fb3de3e49ddbf3c7", size = 190516, upload-time = "2026-05-19T10:08:29.35Z" }, + { url = "https://files.pythonhosted.org/packages/eb/d2/079f350ebf7859d081de30aa890f9e3be68516f754f3ba32366ffff4dcee/jiter-0.15.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:ac0d9ddea4350974be7a221fc25895f251a8fee748c889bdced2141c0fec1a49", size = 308884, upload-time = "2026-05-19T10:08:31.667Z" }, + { url = "https://files.pythonhosted.org/packages/04/4e/a2c30a7f69b48c03b20935d647479106fe932f6e63f75faf53937197e05d/jiter-0.15.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:01a8222cf05ab1128e239421156c207949808acaaea2bdfd33130ae666786e86", size = 310028, upload-time = "2026-05-19T10:08:33.304Z" }, + { url = "https://files.pythonhosted.org/packages/40/90/2e7cdfd3cf8ca967be38c48f5cf474d79f089efaf559a40f15984a77ae69/jiter-0.15.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:182226cbc930c9fab81bc2e41a4da672f89539906dadb05e75670ac07b94f71f", size = 337485, upload-time = "2026-05-19T10:08:35.259Z" }, + { url = "https://files.pythonhosted.org/packages/9b/11/15a1aa28b120b8ee5b4f1fb894c125046225f09847738bd64233d3b84883/jiter-0.15.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:71683c38c825452999b5717fcae07ea708e8c93003e808be4319c1b02e3d176e", size = 364223, upload-time = "2026-05-19T10:08:36.694Z" }, + { url = "https://files.pythonhosted.org/packages/b7/25/f442e8af5f3d0dcf47b39e83a0efd9ee45ea946aa6d04625dc3181eae3b6/jiter-0.15.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:30f2218e6a9e5c18bc10fe6d41ac189c442c88eacf11bad9f28ef95a9bef00e6", size = 456387, upload-time = "2026-05-19T10:08:38.143Z" }, + { url = "https://files.pythonhosted.org/packages/da/f4/37f2d2c9f64f49af7da652ed7532bb5a2372e588e6927c3fdd76f911db65/jiter-0.15.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5157de9f76eb4bc5ea74a1219366a25f945ad305641d74e04f59c54087091aa9", size = 374461, upload-time = "2026-05-19T10:08:39.869Z" }, + { url = "https://files.pythonhosted.org/packages/60/28/edcfbbbf0cb15436f36664a8908a0df47ab9006298d4cd937dc08ea932d6/jiter-0.15.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90c5db5527c221249a876160663ab891ace358c17f7b9c93ec1478b7f0550e5c", size = 345924, upload-time = "2026-05-19T10:08:41.668Z" }, + { url = "https://files.pythonhosted.org/packages/47/13/89fba6398dab7f202b7278c4b4aac122399d2c0183971c4a57a3b7088df5/jiter-0.15.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:3e4540b8e74e4268811ac05db226a6a128ff572e7e0ce3f1163b693cadb184cd", size = 352283, upload-time = "2026-05-19T10:08:43.091Z" }, + { url = "https://files.pythonhosted.org/packages/1b/da/0f6af8cef2c565a1ab44d970f268c43ccaa72707386ea6388e6fe2b6cd26/jiter-0.15.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:62ebd14e47e9aed9df4472afcb2663668ce4d74891cd54f86bf6e44029d6dc89", size = 389985, upload-time = "2026-05-19T10:08:44.915Z" }, + { url = "https://files.pythonhosted.org/packages/a1/ec/b9cb7d6d29e24ee14910266157d2a279d7a8f60ee0df7fa840882976ba64/jiter-0.15.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:0be6f5ad41a809f303f416d17cec92a7a725902fb9b4f3de3d19362ac0ef8554", size = 517695, upload-time = "2026-05-19T10:08:46.486Z" }, + { url = "https://files.pythonhosted.org/packages/64/5e/6d1bda880723aae0ad86b4b763f044362448efe31e3e819635d41cb03451/jiter-0.15.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:813dfbb17d65328bf86e5f0905dd277ba2265d3ca20556e86c0c7035b7182e5a", size = 548868, upload-time = "2026-05-19T10:08:48.026Z" }, + { url = "https://files.pythonhosted.org/packages/0c/72/7de501cf38dcacaf35098796f3a50e0f2e338baba18a58946c618544b809/jiter-0.15.0-cp314-cp314-win32.whl", hash = "sha256:50e51156192722a9c58db112837d3f8ef96fb3c5ecc14e95f409134b08b158ec", size = 206380, upload-time = "2026-05-19T10:08:49.738Z" }, + { url = "https://files.pythonhosted.org/packages/1e/a9/e19addf4b0c1bdce52c6da12351e6bc42c340c45e7c09e2158e46d293ccc/jiter-0.15.0-cp314-cp314-win_amd64.whl", hash = "sha256:30ce1a5d16b5641dc935d50ef775af6a0871e3d14ab05d6fc54dff371b78e558", size = 197687, upload-time = "2026-05-19T10:08:51.088Z" }, + { url = "https://files.pythonhosted.org/packages/f2/c9/776b1db01db25fc6c1d58d1979a37b0a9fe787e5f5b1d062d2eaacb77923/jiter-0.15.0-cp314-cp314-win_arm64.whl", hash = "sha256:510c8b3c17a0ed9ac69850c0438dada3c9b82d9c4d589fcb62002a5a9cf3a866", size = 192571, upload-time = "2026-05-19T10:08:52.451Z" }, + { url = "https://files.pythonhosted.org/packages/a0/f6/45bb4670bacf300fd2c7abadbfb3af376e5f1b6ae75fd9bc069891d15870/jiter-0.15.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7553333dd0930c104a5a0db8df72bf7219fe663d731383b576bb6ed6351c984d", size = 317151, upload-time = "2026-05-19T10:08:53.867Z" }, + { url = "https://files.pythonhosted.org/packages/d7/68/ed635ad5acd7b73e454283083bbb7c8205ad10e88b0d9d7d793b09fe8226/jiter-0.15.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f2143ab06181d2b029eedcb6af3cebe95f11bbac62441781860f98ee9330a6a6", size = 341243, upload-time = "2026-05-19T10:08:55.383Z" }, + { url = "https://files.pythonhosted.org/packages/5d/db/3ff4176b817b8ea33879e71e13d8bc2b0d481a7ed3fe9e080f333d415c16/jiter-0.15.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6eac374c5c975709b69c10f09afd199df74150172156ad10c8d4fd785b7da995", size = 363629, upload-time = "2026-05-19T10:08:56.928Z" }, + { url = "https://files.pythonhosted.org/packages/ab/24/5f8270e0ba9c883582f96f722f8a0b58015c7ce1f8c6d4571cf394e99b6b/jiter-0.15.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b3b3b775e33d3bfaec9899edc526ae97b0da0bf9d071a46124ba419149a414f8", size = 456198, upload-time = "2026-05-19T10:08:58.618Z" }, + { url = "https://files.pythonhosted.org/packages/45/5b/76fc02b0b5c54c3d18c60653156e2f76fde1816f9b4722db68d6ee2c897e/jiter-0.15.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:eda3071db3346334beae1360b46da4606da57bf3528c167b3c38533afaf9f2c5", size = 373710, upload-time = "2026-05-19T10:09:00.151Z" }, + { url = "https://files.pythonhosted.org/packages/c4/52/4310821b0ea9277994d3e1f49fc6a4b34e4800caebacb2c0af81da59a454/jiter-0.15.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c6694a173ecabc12eb60efbc0b474464ead1951ff65cd8b1e72100715c64512b", size = 349901, upload-time = "2026-05-19T10:09:01.621Z" }, + { url = "https://files.pythonhosted.org/packages/93/fe/67648c35b3594fba8854ac64cc8a826d8bcd18324bbdb53d77697c60b6ef/jiter-0.15.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:a254e10b593624d230c365b6d616b22ca0ad65e63a16e6631c2b3466022e6ba8", size = 352438, upload-time = "2026-05-19T10:09:03.216Z" }, + { url = "https://files.pythonhosted.org/packages/cb/28/0a1879d07ad6b3e025a2750027363452ced93c2d16d1c9d4b153ffd51c91/jiter-0.15.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d8d2955167274e15d79a7a020afdd9b39c990eb80b2d89fca695d92dcfdd38ec", size = 388152, upload-time = "2026-05-19T10:09:04.741Z" }, + { url = "https://files.pythonhosted.org/packages/c1/78/46c6f6b56ba85c90021f4afd72ed42f691f8f84daacb5fe27277070e3858/jiter-0.15.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:acf4ee4d1fc55917239fe72972fb292dd773055d05eb040d36f4326e02cc2c0e", size = 517707, upload-time = "2026-05-19T10:09:06.231Z" }, + { url = "https://files.pythonhosted.org/packages/ca/cb/720662d4c88fcad606e826fef5424365527ba43ce4868a479aed8f8c507e/jiter-0.15.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:e7196e56f1cd69af1dbb07dff02dcfb260a50b45a82d409d92a06fedb32473b5", size = 548241, upload-time = "2026-05-19T10:09:08.093Z" }, + { url = "https://files.pythonhosted.org/packages/60/e3/935b8034fd143f21125c87d51404a9e0e1449186a494405721ff5d1d695e/jiter-0.15.0-cp314-cp314t-win32.whl", hash = "sha256:7f6163c0f10b055245f814dcc59f4818da60dfe72f3e72ab89fc24b6bd5e9c52", size = 207950, upload-time = "2026-05-19T10:09:09.616Z" }, + { url = "https://files.pythonhosted.org/packages/93/59/984fd9ece895953dad3e0880a650e766f5a2da2c5514f0eafdaaabbeb5f9/jiter-0.15.0-cp314-cp314t-win_amd64.whl", hash = "sha256:980c256edb05b78a111b99c4de3b1d32e31634b867fd1fc2cf726e7b7bba9854", size = 200055, upload-time = "2026-05-19T10:09:11.367Z" }, + { url = "https://files.pythonhosted.org/packages/0e/a4/cf8d779feb133a27a2e3bc833bccb9e13aa332cdf820497ebf72c10ce8c3/jiter-0.15.0-cp314-cp314t-win_arm64.whl", hash = "sha256:66b1880df2d01e206e8339769d1c7c1753bcb653efd6289e203f6f24ebada0c0", size = 191244, upload-time = "2026-05-19T10:09:12.74Z" }, + { url = "https://files.pythonhosted.org/packages/65/43/1fc62172aa98b50a7de9a25554060db510f85c89cfbed0dfe13e1907a139/jiter-0.15.0-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:411fa4dfa5a7ae3d11491027ffb9beadec3996010a986862db70d91abba1c750", size = 305585, upload-time = "2026-05-19T10:09:35.995Z" }, + { url = "https://files.pythonhosted.org/packages/e8/c4/dd58fcd9e2df83666e5c1c1347bef58ce919cd8efc3ffa38aeea62ce493b/jiter-0.15.0-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:2b0074e2f56eb2dacca1689760fd2852a068f85a0547a157b82cb4cafeb6768b", size = 306936, upload-time = "2026-05-19T10:09:37.435Z" }, + { url = "https://files.pythonhosted.org/packages/39/86/b695e16f1180c07f43ea98e73ecd21cf63fa2e1b0c1103739013784d11ae/jiter-0.15.0-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:913d02d29c9606643418d9ccfc3b72492ab25a6bf7889934e09a3490f8d3438b", size = 342453, upload-time = "2026-05-19T10:09:39.294Z" }, + { url = "https://files.pythonhosted.org/packages/34/56/55d76614af37fe3f22a3347d1e410d2a15da581997cb2da499a625000bb5/jiter-0.15.0-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b15d3ec9b0449c40e85319bdb4caa8b77ab526e74f5532ed94bec15e2f66822c", size = 345606, upload-time = "2026-05-19T10:09:40.727Z" }, + { url = "https://files.pythonhosted.org/packages/73/38/505941b2b092fd5bbbd60a52a880db1173f1690ae6751bed3af1c9ddcb4e/jiter-0.15.0-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:631f13a3d04e97d4e083993b10f4b99530e3a10d953e2eb5e196b7dc7f812ce0", size = 303769, upload-time = "2026-05-19T10:09:42.203Z" }, + { url = "https://files.pythonhosted.org/packages/e7/95/a06692b29e77473f286e1ec1f426d3ca44d7b5843be8ad21d7a5f3fcdcc0/jiter-0.15.0-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:b6c0ffae686c39bf3737be60793783267628783ea42545632c10b291105aee45", size = 305128, upload-time = "2026-05-19T10:09:43.657Z" }, + { url = "https://files.pythonhosted.org/packages/23/85/7270d7ad41d6061a25b950c6bf91d638bd9aacb113200a8c8d57a055fd67/jiter-0.15.0-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d54fb5b31dea401a41af3f8a7d2512e9b6a6a005491e6166c7e4ffab9639a9c", size = 340459, upload-time = "2026-05-19T10:09:45.452Z" }, + { url = "https://files.pythonhosted.org/packages/c8/8d/302cb2057b7513327b4d575cff6b1d066ee6431a5357fc3f8867cd684406/jiter-0.15.0-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:54d5d6090cdc1b7c9e780dfb04949a990adb1e301a2fc0bbcee7de4638d33f9a", size = 344469, upload-time = "2026-05-19T10:09:46.864Z" }, +] + +[[package]] +name = "jmespath" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d3/59/322338183ecda247fb5d1763a6cbe46eff7222eaeebafd9fa65d4bf5cb11/jmespath-1.1.0.tar.gz", hash = "sha256:472c87d80f36026ae83c6ddd0f1d05d4e510134ed462851fd5f754c8c3cbb88d", size = 27377, upload-time = "2026-01-22T16:35:26.279Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/14/2f/967ba146e6d58cf6a652da73885f52fc68001525b4197effc174321d70b4/jmespath-1.1.0-py3-none-any.whl", hash = "sha256:a5663118de4908c91729bea0acadca56526eb2698e83de10cd116ae0f4e97c64", size = 20419, upload-time = "2026-01-22T16:35:24.919Z" }, +] + +[[package]] +name = "joserfc" +version = "1.5.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cryptography" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ec/b4/d49b4ec64feb3332f9255a1deefd8b6ffcbe6c332c205fa86eb33cf48c3a/joserfc-1.5.0.tar.gz", hash = "sha256:4e88d757cf08ec1d370561a15dd6dda8452ad4e335066a9aeb1b426bffe91c56", size = 213086, upload-time = "2025-11-30T06:01:52.073Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/13/6a/71937d4760bf6f3beabc640cf18578683b5247845db5ee4dbd8c66898def/joserfc-1.5.0-py3-none-any.whl", hash = "sha256:eaaded4f4c6717a761baa41b4067307d0c246b9d5e38acd44e80a332f5ddaf24", size = 68388, upload-time = "2025-11-30T06:01:50.43Z" }, +] + +[[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 = "jsonpath-ng" +version = "1.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/32/58/250751940d75c8019659e15482d548a4aa3b6ce122c515102a4bfdac50e3/jsonpath_ng-1.8.0.tar.gz", hash = "sha256:54252968134b5e549ea5b872f1df1168bd7defe1a52fed5a358c194e1943ddc3", size = 74513, upload-time = "2026-02-24T14:42:06.182Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/03/99/33c7d78a3fb70d545fd5411ac67a651c81602cc09c9cf0df383733f068c5/jsonpath_ng-1.8.0-py3-none-any.whl", hash = "sha256:b8dde192f8af58d646fc031fac9c99fe4d00326afc4148f1f043c601a8cfe138", size = 67844, upload-time = "2026-02-28T00:53:19.637Z" }, +] + +[[package]] +name = "jsonpointer" +version = "3.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/18/c7/af399a2e7a67fd18d63c40c5e62d3af4e67b836a2107468b6a5ea24c4304/jsonpointer-3.1.1.tar.gz", hash = "sha256:0b801c7db33a904024f6004d526dcc53bbb8a4a0f4e32bfd10beadf60adf1900", size = 9068, upload-time = "2026-03-23T22:32:32.458Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/6a/a83720e953b1682d2d109d3c2dbb0bc9bf28cc1cbc205be4ef4be5da709d/jsonpointer-3.1.1-py3-none-any.whl", hash = "sha256:8ff8b95779d071ba472cf5bc913028df06031797532f08a7d5b602d8b2a488ca", size = 7659, upload-time = "2026-03-23T22:32:31.568Z" }, +] + +[[package]] +name = "jsonschema" +version = "4.26.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "jsonschema-specifications" }, + { name = "referencing" }, + { name = "rpds-py" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" }, +] + +[[package]] +name = "jsonschema-path" +version = "0.4.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pathable" }, + { name = "pyyaml" }, + { name = "referencing" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/01/86/cfee6dd25843bec0760f456599a4f7e7e40221a934b9229fda0662c859bc/jsonschema_path-0.4.6.tar.gz", hash = "sha256:c89eb635f4d497c9ac328eeff359c489755838806a7d033510a692e9576f5c4b", size = 15302, upload-time = "2026-04-27T18:57:08.412Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6c/43/3d3065c05a04bb550c143bfbb8e4fd7022cd327e1082bf257bac74923783/jsonschema_path-0.4.6-py3-none-any.whl", hash = "sha256:451354b5311fa955c3144e6e4e255388c751c0121c5570ec5bb9291dd42d08c9", size = 19565, upload-time = "2026-04-27T18:57:06.792Z" }, +] + +[[package]] +name = "jsonschema-specifications" +version = "2025.9.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "referencing" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" }, +] + +[[package]] +name = "langchain" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +dependencies = [ + { name = "langchain-core", version = "1.4.0", source = { registry = "https://pypi.org/simple" } }, + { name = "langgraph", version = "1.2.0", source = { registry = "https://pypi.org/simple" } }, + { name = "pydantic" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/11/e5/6350e77a9e2764eaafcb2d581cbf0b800f53c6bc98fdf5ebc85f3a931ded/langchain-1.3.1.tar.gz", hash = "sha256:bc283c220233230f48b8e50ab1fbf1b688bcb206d933fa448d40a9b143177f62", size = 581329, upload-time = "2026-05-15T18:14:55.368Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/78/11/3d7ed10b535413a07ed5e15682abcb77f3c4204ac49586977a495f9b24e6/langchain-1.3.1-py3-none-any.whl", hash = "sha256:154e9c30c90b391eba4315296f6bf6b6fac6b058ddea4cc771a10470968fe36f", size = 114345, upload-time = "2026-05-15T18:14:53.984Z" }, +] + +[[package]] +name = "langchain" +version = "1.3.15" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +dependencies = [ + { name = "langchain-core", version = "1.5.4", source = { registry = "https://pypi.org/simple" } }, + { name = "langgraph", version = "1.2.11", source = { registry = "https://pypi.org/simple" } }, + { name = "pydantic" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/6a/1c/b84579174a8e82ed79f4c3e0cd5a7f2323facc5ccd4d1b8390e7d175b663/langchain-1.3.15.tar.gz", hash = "sha256:ab4b775b9703f7e37babe0b325dbbaef25573bda60ecf79f7850bc875f252795", size = 665047, upload-time = "2026-08-11T19:10:52.455Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/09/8d/ae721f4d68ff79a17110cabc9cb39b4568b0e3f1fe0a379b926c3f81d175/langchain-1.3.15-py3-none-any.whl", hash = "sha256:c0d2d0d51ed7da249e8ab7487173872059a9dd46fb071d905957485b7334f987", size = 147001, upload-time = "2026-08-11T19:10:50.846Z" }, +] + +[[package]] +name = "langchain-anthropic" +version = "1.4.3" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +dependencies = [ + { name = "anthropic", version = "0.103.1", source = { registry = "https://pypi.org/simple" } }, + { name = "langchain-core", version = "1.4.0", source = { registry = "https://pypi.org/simple" } }, + { name = "pydantic" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/fa/e3/d2f9dec95602524b1cfb4be2747ba5bc38d32501b2a56cb4bcb76e80bb45/langchain_anthropic-1.4.3.tar.gz", hash = "sha256:f8a2442463c0629b1b3110eaeaa56fdbdc87df2a802f8c7f5ecf611eb4874ec8", size = 685219, upload-time = "2026-05-03T17:33:27.118Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d3/55/482a1968c95275e8be6d8c1e53b54f0f7be0b8b155ce1608c947a95cf543/langchain_anthropic-1.4.3-py3-none-any.whl", hash = "sha256:65466e0f2f95909a009708f2958e917dfdbfab79c612b4484a30866a85e1f291", size = 50389, upload-time = "2026-05-03T17:33:25.671Z" }, +] + +[[package]] +name = "langchain-anthropic" +version = "1.5.5" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +dependencies = [ + { name = "anthropic", version = "0.121.0", source = { registry = "https://pypi.org/simple" } }, + { name = "langchain-core", version = "1.5.4", source = { registry = "https://pypi.org/simple" } }, + { name = "pydantic" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/38/ce/5fdff0c55c4711da9d87a4a0a066d0b14b633402dc9d441214cc64889be9/langchain_anthropic-1.5.5.tar.gz", hash = "sha256:e8697f13b93fe95b7c7c17679f5d0143c239a8fcf45c0f498349c54482322dc9", size = 720572, upload-time = "2026-08-11T19:16:38.842Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/15/15/5346c52296834684a57aa0df8bb050f0c7d369d642c608724f2b878a7dde/langchain_anthropic-1.5.5-py3-none-any.whl", hash = "sha256:7d3eee3b01db33640bf086064a72ee038bcc27a62f3d6f0ea0de0319bbbf48bc", size = 56486, upload-time = "2026-08-11T19:16:37.459Z" }, +] + +[[package]] +name = "langchain-core" +version = "1.4.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +dependencies = [ + { name = "jsonpatch" }, + { name = "langchain-protocol", version = "0.0.15", source = { registry = "https://pypi.org/simple" } }, + { name = "langsmith", version = "0.8.9", source = { registry = "https://pypi.org/simple" } }, + { name = "packaging" }, + { name = "pydantic" }, + { name = "pyyaml" }, + { name = "tenacity" }, + { name = "typing-extensions" }, + { name = "uuid-utils" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/59/de/679a53472c25860837e32c0442c962fa86e95317a36460e2c9d5c91b17c2/langchain_core-1.4.0.tar.gz", hash = "sha256:1dc341eed802ed9c117c0df3923c991e5e9e226571e5725c194eeb5bd93d1a7f", size = 920260, upload-time = "2026-05-11T18:42:35.919Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0f/1a/86c38c27b81913a1c6c12448cab55defb5a1097c7dc9a4cea83f55477a2d/langchain_core-1.4.0-py3-none-any.whl", hash = "sha256:23cbbdb46e38ddd1dd5247e6167e96013eae74bea4c5949c550809970a9e565c", size = 548120, upload-time = "2026-05-11T18:42:33.992Z" }, +] + +[[package]] +name = "langchain-core" +version = "1.5.4" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +dependencies = [ + { name = "jsonpatch" }, + { name = "langchain-protocol", version = "0.0.18", source = { registry = "https://pypi.org/simple" } }, + { name = "langsmith", version = "0.8.18", source = { registry = "https://pypi.org/simple" } }, + { name = "packaging" }, + { name = "pydantic" }, + { name = "pyyaml" }, + { name = "tenacity" }, + { name = "typing-extensions" }, + { name = "uuid-utils" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9e/18/20c3eec05ccf2fff8e553866bec3bb2f92880aea3cb878603e5a854bd5c0/langchain_core-1.5.4.tar.gz", hash = "sha256:aa76104f30b6c7305f292cb2c364e67cb52c321940ae812d7969471dce32a89a", size = 980540, upload-time = "2026-08-11T18:02:52.239Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ff/9b/2219c2873c182765a2e966015672d725fdf5c9f625ef599e780168661d24/langchain_core-1.5.4-py3-none-any.whl", hash = "sha256:f1d45e84c4e4d6158218b7a8072ebe9b6d4b51e10cb728c0469650a648e18f1b", size = 565086, upload-time = "2026-08-11T18:02:50.16Z" }, +] + +[[package]] +name = "langchain-google-genai" +version = "4.3.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "filetype" }, + { name = "google-genai" }, + { name = "langchain-core", version = "1.5.4", source = { registry = "https://pypi.org/simple" } }, + { name = "pydantic" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/11/98/39b62fb50236fc582449beb96e0392d108bd7baac7ac6158d656bfac1561/langchain_google_genai-4.3.3.tar.gz", hash = "sha256:f051b98aaf223cf9092fc27c280dfec63070fc0022dc513640b2da138c9fa2f0", size = 286010, upload-time = "2026-08-10T18:34:26.499Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b0/70/b6e29470356cbb2c87db2344df44182dac90d69c0cc4b929a805184a54c3/langchain_google_genai-4.3.3-py3-none-any.whl", hash = "sha256:cb189f6eebe801fda4416525a357d82f033efc36713a7c15a45c25eb1e2ddbff", size = 72859, upload-time = "2026-08-10T18:34:25.283Z" }, +] + +[[package]] +name = "langchain-protocol" +version = "0.0.15" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/4f/24/9777489d6fbbee64af0c8f96d4f840239c408cf694f3394672807dafc490/langchain_protocol-0.0.15.tar.gz", hash = "sha256:9ab2d11ee73944754f10e037e717098d3a6796f0e58afa9cadda6154e7655ade", size = 5862, upload-time = "2026-05-01T22:30:04.748Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1d/7a/9c97a7b9cbe4c5dc6a44cdb1545450c28f0c8ce89b9c1f0ee7fbad896263/langchain_protocol-0.0.15-py3-none-any.whl", hash = "sha256:461eb794358f83d5e42635a5797799ffec7b4702314e34edf73ac21e75d3ef79", size = 6982, upload-time = "2026-05-01T22:30:03.877Z" }, +] + +[[package]] +name = "langchain-protocol" +version = "0.0.18" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d2/59/b5959aea96faa9146e2e49a7a22882b3528c62efafe9a6a95beab30c2305/langchain_protocol-0.0.18.tar.gz", hash = "sha256:ec3e11782f1ed0c9db38e5a9ed01b0e7a0d3fba406faa8aef6594b73c56a63e6", size = 6150, upload-time = "2026-06-18T17:08:26.959Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/2e/d82db9eec13ad0f72e7aaad5c4bc730ab111934fdc83c85523206eb9b0a0/langchain_protocol-0.0.18-py3-none-any.whl", hash = "sha256:70b53a86fbf9cedc863555effe44da192ab02d556ddbf2cf95b8873adcf41b5a", size = 7221, upload-time = "2026-06-18T17:08:25.996Z" }, +] + +[[package]] +name = "langgraph" +version = "1.2.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +dependencies = [ + { name = "langchain-core", version = "1.4.0", source = { registry = "https://pypi.org/simple" } }, + { name = "langgraph-checkpoint" }, + { name = "langgraph-prebuilt" }, + { name = "langgraph-sdk", version = "0.3.14", source = { registry = "https://pypi.org/simple" } }, + { name = "pydantic" }, + { name = "xxhash" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/58/61/d5d25e783035aa307d289b37e082258a6061c0fb4caa4a284f3bf1e87169/langgraph-1.2.0.tar.gz", hash = "sha256:4a9baaf62afc5d5f63144a50095140a34b9aa9b7cea695d25326d564775348e7", size = 690248, upload-time = "2026-05-12T03:46:39.164Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f6/e8/e3304ac0015c2bdb04ad9785e4ed65c788855ce7857ce6104dd2f5d322db/langgraph-1.2.0-py3-none-any.whl", hash = "sha256:03fd5895a8d4b70db1ff63ebc3bacead29dd20cd794a8b1a483e7ec9018f7a65", size = 234262, upload-time = "2026-05-12T03:46:37.971Z" }, +] + +[[package]] +name = "langgraph" +version = "1.2.11" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +dependencies = [ + { name = "langchain-core", version = "1.5.4", source = { registry = "https://pypi.org/simple" } }, + { name = "langgraph-checkpoint" }, + { name = "langgraph-prebuilt" }, + { name = "langgraph-sdk", version = "0.4.2", source = { registry = "https://pypi.org/simple" } }, + { name = "pydantic" }, + { name = "xxhash" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/56/0d/c8e7ee98896659e1b6555db0ab115a9ca899844744645d5d894032bab1d7/langgraph-1.2.11.tar.gz", hash = "sha256:9ecfe11e50d338b34b15cf4d8a442642de103e8ae6971320efba84e4542eb363", size = 725753, upload-time = "2026-08-11T14:00:36.945Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0a/7f/c5c30e4be99ff821029c7ac872a480676bb179c9f3df85ea3f38d13f86d4/langgraph-1.2.11-py3-none-any.whl", hash = "sha256:8bab70de7b2d00b5300fb289bcf38d8b241400f3184c1e95e8ce706fb0e8686b", size = 248854, upload-time = "2026-08-11T14:00:35.494Z" }, +] + +[[package]] +name = "langgraph-checkpoint" +version = "4.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "langchain-core", version = "1.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "langchain-core", version = "1.5.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "ormsgpack" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/02/b4/6005c5dd88ad484fe6235d4c43a0d2cee7e91b08ad85a180985c2662df87/langgraph_checkpoint-4.1.0.tar.gz", hash = "sha256:e5bb304e30fc1363ac8fcb5f7dee5ca2185d77fe475b0d01de2c5f91324c2c21", size = 181942, upload-time = "2026-05-12T03:33:49.888Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/93/74/d3be2b41955e20ccd624dba5f6fe9d38dcee385ba470a6e13ed86732fc86/langgraph_checkpoint-4.1.0-py3-none-any.whl", hash = "sha256:8bc2a0466a20c38b865ce6671b42093fd5c041133f32351cae4222e0eeaf7fb5", size = 56047, upload-time = "2026-05-12T03:33:48.548Z" }, +] + +[[package]] +name = "langgraph-prebuilt" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "langchain-core", version = "1.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "langchain-core", version = "1.5.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { 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.3.14" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +dependencies = [ + { name = "httpx" }, + { name = "orjson" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/02/f1/134046c20bc4a4a15d410d1d21c9e298a3e9923777b4cc867b8669bc636b/langgraph_sdk-0.3.14.tar.gz", hash = "sha256:acd1674c538e97f3cdaa610f6dd7e34bc9bad30167f0ccc482dcd563325e81f5", size = 198162, upload-time = "2026-05-05T18:40:03.524Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/34/96/1c9f9fbfe756ddd850a2585e7f1949d8ebb97fdaa7a5eff8f45ed1314670/langgraph_sdk-0.3.14-py3-none-any.whl", hash = "sha256:68935bf6f4924eda92617a9e5dfb4f4281197508c648cb9d62ff083907607f9d", size = 97028, upload-time = "2026-05-05T18:40:02.099Z" }, +] + +[[package]] +name = "langgraph-sdk" +version = "0.4.2" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +dependencies = [ + { name = "httpx" }, + { name = "langchain-core", version = "1.5.4", source = { registry = "https://pypi.org/simple" } }, + { name = "langchain-protocol", version = "0.0.18", source = { registry = "https://pypi.org/simple" } }, + { 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.9" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +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/e4/dd/f4c8a12987318e505b10760d30c3c2d45e8dc87ba8f47a004c753a9e7b35/langsmith-0.8.9.tar.gz", hash = "sha256:f16e37fcd5a8a2d4db30eae0e399a866a65ce5cc86218825c59409ed57a3bf53", size = 4428684, upload-time = "2026-06-03T17:56:09.448Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b5/2f/a701663c9fb4d9630448622a684bc372b4905b9a6dbe2297d55a70fde04e/langsmith-0.8.9-py3-none-any.whl", hash = "sha256:c9519cabc75568d088df045710d1b86eae9780c91054528b2aa7e6cb1fc80c52", size = 403165, upload-time = "2026-06-03T17:56:07.226Z" }, +] + +[[package]] +name = "langsmith" +version = "0.8.18" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +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 = "lazy-object-proxy" +version = "1.12.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/08/a2/69df9c6ba6d316cfd81fe2381e464db3e6de5db45f8c43c6a23504abf8cb/lazy_object_proxy-1.12.0.tar.gz", hash = "sha256:1f5a462d92fd0cfb82f1fab28b51bfb209fabbe6aabf7f0d51472c0c124c0c61", size = 43681, upload-time = "2025-08-22T13:50:06.783Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d6/2b/d5e8915038acbd6c6a9fcb8aaf923dc184222405d3710285a1fec6e262bc/lazy_object_proxy-1.12.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:61d5e3310a4aa5792c2b599a7a78ccf8687292c8eb09cf187cca8f09cf6a7519", size = 26658, upload-time = "2025-08-22T13:42:23.373Z" }, + { url = "https://files.pythonhosted.org/packages/da/8f/91fc00eeea46ee88b9df67f7c5388e60993341d2a406243d620b2fdfde57/lazy_object_proxy-1.12.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c1ca33565f698ac1aece152a10f432415d1a2aa9a42dfe23e5ba2bc255ab91f6", size = 68412, upload-time = "2025-08-22T13:42:24.727Z" }, + { url = "https://files.pythonhosted.org/packages/07/d2/b7189a0e095caedfea4d42e6b6949d2685c354263bdf18e19b21ca9b3cd6/lazy_object_proxy-1.12.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d01c7819a410f7c255b20799b65d36b414379a30c6f1684c7bd7eb6777338c1b", size = 67559, upload-time = "2025-08-22T13:42:25.875Z" }, + { url = "https://files.pythonhosted.org/packages/a3/ad/b013840cc43971582ff1ceaf784d35d3a579650eb6cc348e5e6ed7e34d28/lazy_object_proxy-1.12.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:029d2b355076710505c9545aef5ab3f750d89779310e26ddf2b7b23f6ea03cd8", size = 66651, upload-time = "2025-08-22T13:42:27.427Z" }, + { url = "https://files.pythonhosted.org/packages/7e/6f/b7368d301c15612fcc4cd00412b5d6ba55548bde09bdae71930e1a81f2ab/lazy_object_proxy-1.12.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:cc6e3614eca88b1c8a625fc0a47d0d745e7c3255b21dac0e30b3037c5e3deeb8", size = 66901, upload-time = "2025-08-22T13:42:28.585Z" }, + { url = "https://files.pythonhosted.org/packages/61/1b/c6b1865445576b2fc5fa0fbcfce1c05fee77d8979fd1aa653dd0f179aefc/lazy_object_proxy-1.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:be5fe974e39ceb0d6c9db0663c0464669cf866b2851c73971409b9566e880eab", size = 26536, upload-time = "2025-08-22T13:42:29.636Z" }, + { url = "https://files.pythonhosted.org/packages/01/b3/4684b1e128a87821e485f5a901b179790e6b5bc02f89b7ee19c23be36ef3/lazy_object_proxy-1.12.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1cf69cd1a6c7fe2dbcc3edaa017cf010f4192e53796538cc7d5e1fedbfa4bcff", size = 26656, upload-time = "2025-08-22T13:42:30.605Z" }, + { url = "https://files.pythonhosted.org/packages/3a/03/1bdc21d9a6df9ff72d70b2ff17d8609321bea4b0d3cffd2cea92fb2ef738/lazy_object_proxy-1.12.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:efff4375a8c52f55a145dc8487a2108c2140f0bec4151ab4e1843e52eb9987ad", size = 68832, upload-time = "2025-08-22T13:42:31.675Z" }, + { url = "https://files.pythonhosted.org/packages/3d/4b/5788e5e8bd01d19af71e50077ab020bc5cce67e935066cd65e1215a09ff9/lazy_object_proxy-1.12.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1192e8c2f1031a6ff453ee40213afa01ba765b3dc861302cd91dbdb2e2660b00", size = 69148, upload-time = "2025-08-22T13:42:32.876Z" }, + { url = "https://files.pythonhosted.org/packages/79/0e/090bf070f7a0de44c61659cb7f74c2fe02309a77ca8c4b43adfe0b695f66/lazy_object_proxy-1.12.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:3605b632e82a1cbc32a1e5034278a64db555b3496e0795723ee697006b980508", size = 67800, upload-time = "2025-08-22T13:42:34.054Z" }, + { url = "https://files.pythonhosted.org/packages/cf/d2/b320325adbb2d119156f7c506a5fbfa37fcab15c26d13cf789a90a6de04e/lazy_object_proxy-1.12.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a61095f5d9d1a743e1e20ec6d6db6c2ca511961777257ebd9b288951b23b44fa", size = 68085, upload-time = "2025-08-22T13:42:35.197Z" }, + { url = "https://files.pythonhosted.org/packages/6a/48/4b718c937004bf71cd82af3713874656bcb8d0cc78600bf33bb9619adc6c/lazy_object_proxy-1.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:997b1d6e10ecc6fb6fe0f2c959791ae59599f41da61d652f6c903d1ee58b7370", size = 26535, upload-time = "2025-08-22T13:42:36.521Z" }, + { url = "https://files.pythonhosted.org/packages/0d/1b/b5f5bd6bda26f1e15cd3232b223892e4498e34ec70a7f4f11c401ac969f1/lazy_object_proxy-1.12.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8ee0d6027b760a11cc18281e702c0309dd92da458a74b4c15025d7fc490deede", size = 26746, upload-time = "2025-08-22T13:42:37.572Z" }, + { url = "https://files.pythonhosted.org/packages/55/64/314889b618075c2bfc19293ffa9153ce880ac6153aacfd0a52fcabf21a66/lazy_object_proxy-1.12.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:4ab2c584e3cc8be0dfca422e05ad30a9abe3555ce63e9ab7a559f62f8dbc6ff9", size = 71457, upload-time = "2025-08-22T13:42:38.743Z" }, + { url = "https://files.pythonhosted.org/packages/11/53/857fc2827fc1e13fbdfc0ba2629a7d2579645a06192d5461809540b78913/lazy_object_proxy-1.12.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:14e348185adbd03ec17d051e169ec45686dcd840a3779c9d4c10aabe2ca6e1c0", size = 71036, upload-time = "2025-08-22T13:42:40.184Z" }, + { url = "https://files.pythonhosted.org/packages/2b/24/e581ffed864cd33c1b445b5763d617448ebb880f48675fc9de0471a95cbc/lazy_object_proxy-1.12.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c4fcbe74fb85df8ba7825fa05eddca764138da752904b378f0ae5ab33a36c308", size = 69329, upload-time = "2025-08-22T13:42:41.311Z" }, + { url = "https://files.pythonhosted.org/packages/78/be/15f8f5a0b0b2e668e756a152257d26370132c97f2f1943329b08f057eff0/lazy_object_proxy-1.12.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:563d2ec8e4d4b68ee7848c5ab4d6057a6d703cb7963b342968bb8758dda33a23", size = 70690, upload-time = "2025-08-22T13:42:42.51Z" }, + { url = "https://files.pythonhosted.org/packages/5d/aa/f02be9bbfb270e13ee608c2b28b8771f20a5f64356c6d9317b20043c6129/lazy_object_proxy-1.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:53c7fd99eb156bbb82cbc5d5188891d8fdd805ba6c1e3b92b90092da2a837073", size = 26563, upload-time = "2025-08-22T13:42:43.685Z" }, + { url = "https://files.pythonhosted.org/packages/f4/26/b74c791008841f8ad896c7f293415136c66cc27e7c7577de4ee68040c110/lazy_object_proxy-1.12.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:86fd61cb2ba249b9f436d789d1356deae69ad3231dc3c0f17293ac535162672e", size = 26745, upload-time = "2025-08-22T13:42:44.982Z" }, + { url = "https://files.pythonhosted.org/packages/9b/52/641870d309e5d1fb1ea7d462a818ca727e43bfa431d8c34b173eb090348c/lazy_object_proxy-1.12.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:81d1852fb30fab81696f93db1b1e55a5d1ff7940838191062f5f56987d5fcc3e", size = 71537, upload-time = "2025-08-22T13:42:46.141Z" }, + { url = "https://files.pythonhosted.org/packages/47/b6/919118e99d51c5e76e8bf5a27df406884921c0acf2c7b8a3b38d847ab3e9/lazy_object_proxy-1.12.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:be9045646d83f6c2664c1330904b245ae2371b5c57a3195e4028aedc9f999655", size = 71141, upload-time = "2025-08-22T13:42:47.375Z" }, + { url = "https://files.pythonhosted.org/packages/e5/47/1d20e626567b41de085cf4d4fb3661a56c159feaa73c825917b3b4d4f806/lazy_object_proxy-1.12.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:67f07ab742f1adfb3966c40f630baaa7902be4222a17941f3d85fd1dae5565ff", size = 69449, upload-time = "2025-08-22T13:42:48.49Z" }, + { url = "https://files.pythonhosted.org/packages/58/8d/25c20ff1a1a8426d9af2d0b6f29f6388005fc8cd10d6ee71f48bff86fdd0/lazy_object_proxy-1.12.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:75ba769017b944fcacbf6a80c18b2761a1795b03f8899acdad1f1c39db4409be", size = 70744, upload-time = "2025-08-22T13:42:49.608Z" }, + { url = "https://files.pythonhosted.org/packages/c0/67/8ec9abe15c4f8a4bcc6e65160a2c667240d025cbb6591b879bea55625263/lazy_object_proxy-1.12.0-cp313-cp313-win_amd64.whl", hash = "sha256:7b22c2bbfb155706b928ac4d74c1a63ac8552a55ba7fff4445155523ea4067e1", size = 26568, upload-time = "2025-08-22T13:42:57.719Z" }, + { url = "https://files.pythonhosted.org/packages/23/12/cd2235463f3469fd6c62d41d92b7f120e8134f76e52421413a0ad16d493e/lazy_object_proxy-1.12.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4a79b909aa16bde8ae606f06e6bbc9d3219d2e57fb3e0076e17879072b742c65", size = 27391, upload-time = "2025-08-22T13:42:50.62Z" }, + { url = "https://files.pythonhosted.org/packages/60/9e/f1c53e39bbebad2e8609c67d0830cc275f694d0ea23d78e8f6db526c12d3/lazy_object_proxy-1.12.0-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:338ab2f132276203e404951205fe80c3fd59429b3a724e7b662b2eb539bb1be9", size = 80552, upload-time = "2025-08-22T13:42:51.731Z" }, + { url = "https://files.pythonhosted.org/packages/4c/b6/6c513693448dcb317d9d8c91d91f47addc09553613379e504435b4cc8b3e/lazy_object_proxy-1.12.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8c40b3c9faee2e32bfce0df4ae63f4e73529766893258eca78548bac801c8f66", size = 82857, upload-time = "2025-08-22T13:42:53.225Z" }, + { url = "https://files.pythonhosted.org/packages/12/1c/d9c4aaa4c75da11eb7c22c43d7c90a53b4fca0e27784a5ab207768debea7/lazy_object_proxy-1.12.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:717484c309df78cedf48396e420fa57fc8a2b1f06ea889df7248fdd156e58847", size = 80833, upload-time = "2025-08-22T13:42:54.391Z" }, + { url = "https://files.pythonhosted.org/packages/0b/ae/29117275aac7d7d78ae4f5a4787f36ff33262499d486ac0bf3e0b97889f6/lazy_object_proxy-1.12.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:a6b7ea5ea1ffe15059eb44bcbcb258f97bcb40e139b88152c40d07b1a1dfc9ac", size = 79516, upload-time = "2025-08-22T13:42:55.812Z" }, + { url = "https://files.pythonhosted.org/packages/19/40/b4e48b2c38c69392ae702ae7afa7b6551e0ca5d38263198b7c79de8b3bdf/lazy_object_proxy-1.12.0-cp313-cp313t-win_amd64.whl", hash = "sha256:08c465fb5cd23527512f9bd7b4c7ba6cec33e28aad36fbbe46bf7b858f9f3f7f", size = 27656, upload-time = "2025-08-22T13:42:56.793Z" }, + { url = "https://files.pythonhosted.org/packages/ef/3a/277857b51ae419a1574557c0b12e0d06bf327b758ba94cafc664cb1e2f66/lazy_object_proxy-1.12.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c9defba70ab943f1df98a656247966d7729da2fe9c2d5d85346464bf320820a3", size = 26582, upload-time = "2025-08-22T13:49:49.366Z" }, + { url = "https://files.pythonhosted.org/packages/1a/b6/c5e0fa43535bb9c87880e0ba037cdb1c50e01850b0831e80eb4f4762f270/lazy_object_proxy-1.12.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:6763941dbf97eea6b90f5b06eb4da9418cc088fce0e3883f5816090f9afcde4a", size = 71059, upload-time = "2025-08-22T13:49:50.488Z" }, + { url = "https://files.pythonhosted.org/packages/06/8a/7dcad19c685963c652624702f1a968ff10220b16bfcc442257038216bf55/lazy_object_proxy-1.12.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fdc70d81235fc586b9e3d1aeef7d1553259b62ecaae9db2167a5d2550dcc391a", size = 71034, upload-time = "2025-08-22T13:49:54.224Z" }, + { url = "https://files.pythonhosted.org/packages/12/ac/34cbfb433a10e28c7fd830f91c5a348462ba748413cbb950c7f259e67aa7/lazy_object_proxy-1.12.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:0a83c6f7a6b2bfc11ef3ed67f8cbe99f8ff500b05655d8e7df9aab993a6abc95", size = 69529, upload-time = "2025-08-22T13:49:55.29Z" }, + { url = "https://files.pythonhosted.org/packages/6f/6a/11ad7e349307c3ca4c0175db7a77d60ce42a41c60bcb11800aabd6a8acb8/lazy_object_proxy-1.12.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:256262384ebd2a77b023ad02fbcc9326282bcfd16484d5531154b02bc304f4c5", size = 70391, upload-time = "2025-08-22T13:49:56.35Z" }, + { url = "https://files.pythonhosted.org/packages/59/97/9b410ed8fbc6e79c1ee8b13f8777a80137d4bc189caf2c6202358e66192c/lazy_object_proxy-1.12.0-cp314-cp314-win_amd64.whl", hash = "sha256:7601ec171c7e8584f8ff3f4e440aa2eebf93e854f04639263875b8c2971f819f", size = 26988, upload-time = "2025-08-22T13:49:57.302Z" }, + { url = "https://files.pythonhosted.org/packages/41/a0/b91504515c1f9a299fc157967ffbd2f0321bce0516a3d5b89f6f4cad0355/lazy_object_proxy-1.12.0-pp39.pp310.pp311.graalpy311-none-any.whl", hash = "sha256:c3b2e0af1f7f77c4263759c4824316ce458fabe0fceadcd24ef8ca08b2d1e402", size = 15072, upload-time = "2025-08-22T13:50:05.498Z" }, +] + +[[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 = "litellm" +version = "1.85.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "click" }, + { name = "fastuuid" }, + { name = "httpx" }, + { name = "importlib-metadata" }, + { name = "jinja2" }, + { name = "jsonschema" }, + { name = "openai" }, + { name = "pydantic" }, + { name = "python-dotenv" }, + { name = "tiktoken" }, + { name = "tokenizers" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3b/d5/3c9b560db2ffa9e498655d0dfd74f408bc5b32ede858b5731c2a5fa4c752/litellm-1.85.0.tar.gz", hash = "sha256:babdd569809af913d08a08a7eb55df1ed3e6a3960ee365c6cef4ad031c9bc72a", size = 15344387, upload-time = "2026-05-17T01:59:15.97Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1c/38/e6a4abb062e039d18d59538cc4e6fc370c2c10cd2bff4a2e546acb69dcb9/litellm-1.85.0-py3-none-any.whl", hash = "sha256:2bb449153610691faffd76f5b94a8c29e4b66fc5394156ebf54fd4fe92759b1a", size = 16978229, upload-time = "2026-05-17T01:59:11.902Z" }, +] + +[[package]] +name = "markdown-it-py" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mdurl" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/06/ff/7841249c247aa650a76b9ee4bbaeae59370dc8bfd2f6c01f3630c35eb134/markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49", size = 82454, upload-time = "2026-05-07T12:08:28.36Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a", size = 91687, upload-time = "2026-05-07T12:08:27.182Z" }, +] + +[[package]] +name = "markdownify" +version = "1.2.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "beautifulsoup4" }, + { name = "six" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3f/bc/c8c8eea5335341306b0fa7e1cb33c5e1c8d24ef70ddd684da65f41c49c92/markdownify-1.2.2.tar.gz", hash = "sha256:b274f1b5943180b031b699b199cbaeb1e2ac938b75851849a31fd0c3d6603d09", size = 18816, upload-time = "2025-11-16T19:21:18.565Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/43/ce/f1e3e9d959db134cedf06825fae8d5b294bd368aacdd0831a3975b7c4d55/markdownify-1.2.2-py3-none-any.whl", hash = "sha256:3f02d3cc52714084d6e589f70397b6fc9f2f3a8531481bf35e8cc39f975e186a", size = 15724, upload-time = "2025-11-16T19:21:17.622Z" }, +] + +[[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 = "mcp" +version = "1.27.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "httpx" }, + { name = "httpx-sse" }, + { name = "jsonschema" }, + { name = "pydantic" }, + { name = "pydantic-settings" }, + { name = "pyjwt", extra = ["crypto"] }, + { name = "python-multipart" }, + { name = "pywin32", marker = "sys_platform == 'win32'" }, + { name = "sse-starlette" }, + { name = "starlette" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, + { name = "uvicorn", marker = "sys_platform != 'emscripten'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/38/83/d1efe7c2980d8a3afa476f4e3d42d53dd54c0ab94c27bee5d755b45c8b73/mcp-1.27.1.tar.gz", hash = "sha256:0f47e1820f8f8f941466b39749eb1d1839a04caddca2bc60e9d46e8a99914924", size = 608458, upload-time = "2026-05-08T16:50:12.601Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fd/73/42d9596facebdb533b7f0b86c1b0364ef350d1f8ba78b1052e8a58b48b65/mcp-1.27.1-py3-none-any.whl", hash = "sha256:1af3c4203b329430fde7a87b4fcb6392a041f5cb851fd68fc674016ab4e7c06f", size = 216260, upload-time = "2026-05-08T16:50:10.547Z" }, +] + +[[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 = "moto" +version = "5.2.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "boto3" }, + { name = "botocore" }, + { name = "cryptography" }, + { name = "requests" }, + { name = "responses" }, + { name = "werkzeug" }, + { name = "xmltodict" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f6/e9/c38202162db2e76623176be9f1dbc9aa41228ffa91ee8da2d3986082c3e3/moto-5.2.1.tar.gz", hash = "sha256:ccb2f3e1dfa82e50e054bda98b0be708d244d2668364dcc1d45e8d3de6091bde", size = 8634437, upload-time = "2026-05-10T19:11:57.286Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/15/79/8085b7c1ecd48d0535c3c8444a1d8df2926e457dce8e55fabc332a382c9c/moto-5.2.1-py3-none-any.whl", hash = "sha256:19d2fbd6e613aa5b4e364c52cd5d3cea371643a0f4210689a703227bd2924c5c", size = 6671379, upload-time = "2026-05-10T19:11:53.543Z" }, +] + +[package.optional-dependencies] +server = [ + { name = "antlr4-python3-runtime" }, + { name = "aws-xray-sdk" }, + { name = "cfn-lint" }, + { name = "docker" }, + { name = "flask" }, + { name = "flask-cors" }, + { name = "graphql-core" }, + { name = "joserfc" }, + { name = "jsonpath-ng" }, + { name = "openapi-spec-validator" }, + { name = "py-partiql-parser" }, + { name = "pyparsing" }, + { name = "pyyaml" }, + { name = "setuptools" }, +] + +[[package]] +name = "mpmath" +version = "1.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e0/47/dd32fa426cc72114383ac549964eecb20ecfd886d1e5ccf5340b55b02f57/mpmath-1.3.0.tar.gz", hash = "sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f", size = 508106, upload-time = "2023-03-07T16:47:11.061Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198, upload-time = "2023-03-07T16:47:09.197Z" }, +] + +[[package]] +name = "multidict" +version = "6.7.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1a/c2/c2d94cbe6ac1753f3fc980da97b3d930efe1da3af3c9f5125354436c073d/multidict-6.7.1.tar.gz", hash = "sha256:ec6652a1bee61c53a3e5776b6049172c53b6aaba34f18c9ad04f82712bac623d", size = 102010, upload-time = "2026-01-26T02:46:45.979Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/84/0b/19348d4c98980c4851d2f943f8ebafdece2ae7ef737adcfa5994ce8e5f10/multidict-6.7.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:c93c3db7ea657dd4637d57e74ab73de31bccefe144d3d4ce370052035bc85fb5", size = 77176, upload-time = "2026-01-26T02:42:59.784Z" }, + { url = "https://files.pythonhosted.org/packages/ef/04/9de3f8077852e3d438215c81e9b691244532d2e05b4270e89ce67b7d103c/multidict-6.7.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:974e72a2474600827abaeda71af0c53d9ebbc3c2eb7da37b37d7829ae31232d8", size = 44996, upload-time = "2026-01-26T02:43:01.674Z" }, + { url = "https://files.pythonhosted.org/packages/31/5c/08c7f7fe311f32e83f7621cd3f99d805f45519cd06fafb247628b861da7d/multidict-6.7.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:cdea2e7b2456cfb6694fb113066fd0ec7ea4d67e3a35e1f4cbeea0b448bf5872", size = 44631, upload-time = "2026-01-26T02:43:03.169Z" }, + { url = "https://files.pythonhosted.org/packages/b7/7f/0e3b1390ae772f27501199996b94b52ceeb64fe6f9120a32c6c3f6b781be/multidict-6.7.1-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:17207077e29342fdc2c9a82e4b306f1127bf1ea91f8b71e02d4798a70bb99991", size = 242561, upload-time = "2026-01-26T02:43:04.733Z" }, + { url = "https://files.pythonhosted.org/packages/dd/f4/8719f4f167586af317b69dd3e90f913416c91ca610cac79a45c53f590312/multidict-6.7.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d4f49cb5661344764e4c7c7973e92a47a59b8fc19b6523649ec9dc4960e58a03", size = 242223, upload-time = "2026-01-26T02:43:06.695Z" }, + { url = "https://files.pythonhosted.org/packages/47/ab/7c36164cce64a6ad19c6d9a85377b7178ecf3b89f8fd589c73381a5eedfd/multidict-6.7.1-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a9fc4caa29e2e6ae408d1c450ac8bf19892c5fca83ee634ecd88a53332c59981", size = 222322, upload-time = "2026-01-26T02:43:08.472Z" }, + { url = "https://files.pythonhosted.org/packages/f5/79/a25add6fb38035b5337bc5734f296d9afc99163403bbcf56d4170f97eb62/multidict-6.7.1-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c5f0c21549ab432b57dcc82130f388d84ad8179824cc3f223d5e7cfbfd4143f6", size = 254005, upload-time = "2026-01-26T02:43:10.127Z" }, + { url = "https://files.pythonhosted.org/packages/4a/7b/64a87cf98e12f756fc8bd444b001232ffff2be37288f018ad0d3f0aae931/multidict-6.7.1-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7dfb78d966b2c906ae1d28ccf6e6712a3cd04407ee5088cd276fe8cb42186190", size = 251173, upload-time = "2026-01-26T02:43:11.731Z" }, + { url = "https://files.pythonhosted.org/packages/4b/ac/b605473de2bb404e742f2cc3583d12aedb2352a70e49ae8fce455b50c5aa/multidict-6.7.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9b0d9b91d1aa44db9c1f1ecd0d9d2ae610b2f4f856448664e01a3b35899f3f92", size = 243273, upload-time = "2026-01-26T02:43:13.063Z" }, + { url = "https://files.pythonhosted.org/packages/03/65/11492d6a0e259783720f3bc1d9ea55579a76f1407e31ed44045c99542004/multidict-6.7.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:dd96c01a9dcd4889dcfcf9eb5544ca0c77603f239e3ffab0524ec17aea9a93ee", size = 238956, upload-time = "2026-01-26T02:43:14.843Z" }, + { url = "https://files.pythonhosted.org/packages/5f/a7/7ee591302af64e7c196fb63fe856c788993c1372df765102bd0448e7e165/multidict-6.7.1-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:067343c68cd6612d375710f895337b3a98a033c94f14b9a99eff902f205424e2", size = 233477, upload-time = "2026-01-26T02:43:16.025Z" }, + { url = "https://files.pythonhosted.org/packages/9c/99/c109962d58756c35fd9992fed7f2355303846ea2ff054bb5f5e9d6b888de/multidict-6.7.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:5884a04f4ff56c6120f6ccf703bdeb8b5079d808ba604d4d53aec0d55dc33568", size = 243615, upload-time = "2026-01-26T02:43:17.84Z" }, + { url = "https://files.pythonhosted.org/packages/d5/5f/1973e7c771c86e93dcfe1c9cc55a5481b610f6614acfc28c0d326fe6bfad/multidict-6.7.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:8affcf1c98b82bc901702eb73b6947a1bfa170823c153fe8a47b5f5f02e48e40", size = 249930, upload-time = "2026-01-26T02:43:19.06Z" }, + { url = "https://files.pythonhosted.org/packages/5d/a5/f170fc2268c3243853580203378cd522446b2df632061e0a5409817854c7/multidict-6.7.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:0d17522c37d03e85c8098ec8431636309b2682cf12e58f4dbc76121fb50e4962", size = 243807, upload-time = "2026-01-26T02:43:20.286Z" }, + { url = "https://files.pythonhosted.org/packages/de/01/73856fab6d125e5bc652c3986b90e8699a95e84b48d72f39ade6c0e74a8c/multidict-6.7.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:24c0cf81544ca5e17cfcb6e482e7a82cd475925242b308b890c9452a074d4505", size = 239103, upload-time = "2026-01-26T02:43:21.508Z" }, + { url = "https://files.pythonhosted.org/packages/e7/46/f1220bd9944d8aa40d8ccff100eeeee19b505b857b6f603d6078cb5315b0/multidict-6.7.1-cp310-cp310-win32.whl", hash = "sha256:d82dd730a95e6643802f4454b8fdecdf08667881a9c5670db85bc5a56693f122", size = 41416, upload-time = "2026-01-26T02:43:22.703Z" }, + { url = "https://files.pythonhosted.org/packages/68/00/9b38e272a770303692fc406c36e1a4c740f401522d5787691eb38a8925a8/multidict-6.7.1-cp310-cp310-win_amd64.whl", hash = "sha256:cf37cbe5ced48d417ba045aca1b21bafca67489452debcde94778a576666a1df", size = 46022, upload-time = "2026-01-26T02:43:23.77Z" }, + { url = "https://files.pythonhosted.org/packages/64/65/d8d42490c02ee07b6bbe00f7190d70bb4738b3cce7629aaf9f213ef730dd/multidict-6.7.1-cp310-cp310-win_arm64.whl", hash = "sha256:59bc83d3f66b41dac1e7460aac1d196edc70c9ba3094965c467715a70ecb46db", size = 43238, upload-time = "2026-01-26T02:43:24.882Z" }, + { url = "https://files.pythonhosted.org/packages/ce/f1/a90635c4f88fb913fbf4ce660b83b7445b7a02615bda034b2f8eb38fd597/multidict-6.7.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7ff981b266af91d7b4b3793ca3382e53229088d193a85dfad6f5f4c27fc73e5d", size = 76626, upload-time = "2026-01-26T02:43:26.485Z" }, + { url = "https://files.pythonhosted.org/packages/a6/9b/267e64eaf6fc637a15b35f5de31a566634a2740f97d8d094a69d34f524a4/multidict-6.7.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:844c5bca0b5444adb44a623fb0a1310c2f4cd41f402126bb269cd44c9b3f3e1e", size = 44706, upload-time = "2026-01-26T02:43:27.607Z" }, + { url = "https://files.pythonhosted.org/packages/dd/a4/d45caf2b97b035c57267791ecfaafbd59c68212004b3842830954bb4b02e/multidict-6.7.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f2a0a924d4c2e9afcd7ec64f9de35fcd96915149b2216e1cb2c10a56df483855", size = 44356, upload-time = "2026-01-26T02:43:28.661Z" }, + { url = "https://files.pythonhosted.org/packages/fd/d2/0a36c8473f0cbaeadd5db6c8b72d15bbceeec275807772bfcd059bef487d/multidict-6.7.1-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:8be1802715a8e892c784c0197c2ace276ea52702a0ede98b6310c8f255a5afb3", size = 244355, upload-time = "2026-01-26T02:43:31.165Z" }, + { url = "https://files.pythonhosted.org/packages/5d/16/8c65be997fd7dd311b7d39c7b6e71a0cb449bad093761481eccbbe4b42a2/multidict-6.7.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2e2d2ed645ea29f31c4c7ea1552fcfd7cb7ba656e1eafd4134a6620c9f5fdd9e", size = 246433, upload-time = "2026-01-26T02:43:32.581Z" }, + { url = "https://files.pythonhosted.org/packages/01/fb/4dbd7e848d2799c6a026ec88ad39cf2b8416aa167fcc903baa55ecaa045c/multidict-6.7.1-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:95922cee9a778659e91db6497596435777bd25ed116701a4c034f8e46544955a", size = 225376, upload-time = "2026-01-26T02:43:34.417Z" }, + { url = "https://files.pythonhosted.org/packages/b6/8a/4a3a6341eac3830f6053062f8fbc9a9e54407c80755b3f05bc427295c2d0/multidict-6.7.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6b83cabdc375ffaaa15edd97eb7c0c672ad788e2687004990074d7d6c9b140c8", size = 257365, upload-time = "2026-01-26T02:43:35.741Z" }, + { url = "https://files.pythonhosted.org/packages/f7/a2/dd575a69c1aa206e12d27d0770cdf9b92434b48a9ef0cd0d1afdecaa93c4/multidict-6.7.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:38fb49540705369bab8484db0689d86c0a33a0a9f2c1b197f506b71b4b6c19b0", size = 254747, upload-time = "2026-01-26T02:43:36.976Z" }, + { url = "https://files.pythonhosted.org/packages/5a/56/21b27c560c13822ed93133f08aa6372c53a8e067f11fbed37b4adcdac922/multidict-6.7.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:439cbebd499f92e9aa6793016a8acaa161dfa749ae86d20960189f5398a19144", size = 246293, upload-time = "2026-01-26T02:43:38.258Z" }, + { url = "https://files.pythonhosted.org/packages/5a/a4/23466059dc3854763423d0ad6c0f3683a379d97673b1b89ec33826e46728/multidict-6.7.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6d3bc717b6fe763b8be3f2bee2701d3c8eb1b2a8ae9f60910f1b2860c82b6c49", size = 242962, upload-time = "2026-01-26T02:43:40.034Z" }, + { url = "https://files.pythonhosted.org/packages/1f/67/51dd754a3524d685958001e8fa20a0f5f90a6a856e0a9dcabff69be3dbb7/multidict-6.7.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:619e5a1ac57986dbfec9f0b301d865dddf763696435e2962f6d9cf2fdff2bb71", size = 237360, upload-time = "2026-01-26T02:43:41.752Z" }, + { url = "https://files.pythonhosted.org/packages/64/3f/036dfc8c174934d4b55d86ff4f978e558b0e585cef70cfc1ad01adc6bf18/multidict-6.7.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:0b38ebffd9be37c1170d33bc0f36f4f262e0a09bc1aac1c34c7aa51a7293f0b3", size = 245940, upload-time = "2026-01-26T02:43:43.042Z" }, + { url = "https://files.pythonhosted.org/packages/3d/20/6214d3c105928ebc353a1c644a6ef1408bc5794fcb4f170bb524a3c16311/multidict-6.7.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:10ae39c9cfe6adedcdb764f5e8411d4a92b055e35573a2eaa88d3323289ef93c", size = 253502, upload-time = "2026-01-26T02:43:44.371Z" }, + { url = "https://files.pythonhosted.org/packages/b1/e2/c653bc4ae1be70a0f836b82172d643fcf1dade042ba2676ab08ec08bff0f/multidict-6.7.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:25167cc263257660290fba06b9318d2026e3c910be240a146e1f66dd114af2b0", size = 247065, upload-time = "2026-01-26T02:43:45.745Z" }, + { url = "https://files.pythonhosted.org/packages/c8/11/a854b4154cd3bd8b1fd375e8a8ca9d73be37610c361543d56f764109509b/multidict-6.7.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:128441d052254f42989ef98b7b6a6ecb1e6f708aa962c7984235316db59f50fa", size = 241870, upload-time = "2026-01-26T02:43:47.054Z" }, + { url = "https://files.pythonhosted.org/packages/13/bf/9676c0392309b5fdae322333d22a829715b570edb9baa8016a517b55b558/multidict-6.7.1-cp311-cp311-win32.whl", hash = "sha256:d62b7f64ffde3b99d06b707a280db04fb3855b55f5a06df387236051d0668f4a", size = 41302, upload-time = "2026-01-26T02:43:48.753Z" }, + { url = "https://files.pythonhosted.org/packages/c9/68/f16a3a8ba6f7b6dc92a1f19669c0810bd2c43fc5a02da13b1cbf8e253845/multidict-6.7.1-cp311-cp311-win_amd64.whl", hash = "sha256:bdbf9f3b332abd0cdb306e7c2113818ab1e922dc84b8f8fd06ec89ed2a19ab8b", size = 45981, upload-time = "2026-01-26T02:43:49.921Z" }, + { url = "https://files.pythonhosted.org/packages/ac/ad/9dd5305253fa00cd3c7555dbef69d5bf4133debc53b87ab8d6a44d411665/multidict-6.7.1-cp311-cp311-win_arm64.whl", hash = "sha256:b8c990b037d2fff2f4e33d3f21b9b531c5745b33a49a7d6dbe7a177266af44f6", size = 43159, upload-time = "2026-01-26T02:43:51.635Z" }, + { url = "https://files.pythonhosted.org/packages/8d/9c/f20e0e2cf80e4b2e4b1c365bf5fe104ee633c751a724246262db8f1a0b13/multidict-6.7.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:a90f75c956e32891a4eda3639ce6dd86e87105271f43d43442a3aedf3cddf172", size = 76893, upload-time = "2026-01-26T02:43:52.754Z" }, + { url = "https://files.pythonhosted.org/packages/fe/cf/18ef143a81610136d3da8193da9d80bfe1cb548a1e2d1c775f26b23d024a/multidict-6.7.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3fccb473e87eaa1382689053e4a4618e7ba7b9b9b8d6adf2027ee474597128cd", size = 45456, upload-time = "2026-01-26T02:43:53.893Z" }, + { url = "https://files.pythonhosted.org/packages/a9/65/1caac9d4cd32e8433908683446eebc953e82d22b03d10d41a5f0fefe991b/multidict-6.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b0fa96985700739c4c7853a43c0b3e169360d6855780021bfc6d0f1ce7c123e7", size = 43872, upload-time = "2026-01-26T02:43:55.041Z" }, + { url = "https://files.pythonhosted.org/packages/cf/3b/d6bd75dc4f3ff7c73766e04e705b00ed6dbbaccf670d9e05a12b006f5a21/multidict-6.7.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:cb2a55f408c3043e42b40cc8eecd575afa27b7e0b956dfb190de0f8499a57a53", size = 251018, upload-time = "2026-01-26T02:43:56.198Z" }, + { url = "https://files.pythonhosted.org/packages/fd/80/c959c5933adedb9ac15152e4067c702a808ea183a8b64cf8f31af8ad3155/multidict-6.7.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eb0ce7b2a32d09892b3dd6cc44877a0d02a33241fafca5f25c8b6b62374f8b75", size = 258883, upload-time = "2026-01-26T02:43:57.499Z" }, + { url = "https://files.pythonhosted.org/packages/86/85/7ed40adafea3d4f1c8b916e3b5cc3a8e07dfcdcb9cd72800f4ed3ca1b387/multidict-6.7.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c3a32d23520ee37bf327d1e1a656fec76a2edd5c038bf43eddfa0572ec49c60b", size = 242413, upload-time = "2026-01-26T02:43:58.755Z" }, + { url = "https://files.pythonhosted.org/packages/d2/57/b8565ff533e48595503c785f8361ff9a4fde4d67de25c207cd0ba3befd03/multidict-6.7.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9c90fed18bffc0189ba814749fdcc102b536e83a9f738a9003e569acd540a733", size = 268404, upload-time = "2026-01-26T02:44:00.216Z" }, + { url = "https://files.pythonhosted.org/packages/e0/50/9810c5c29350f7258180dfdcb2e52783a0632862eb334c4896ac717cebcb/multidict-6.7.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:da62917e6076f512daccfbbde27f46fed1c98fee202f0559adec8ee0de67f71a", size = 269456, upload-time = "2026-01-26T02:44:02.202Z" }, + { url = "https://files.pythonhosted.org/packages/f3/8d/5e5be3ced1d12966fefb5c4ea3b2a5b480afcea36406559442c6e31d4a48/multidict-6.7.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bfde23ef6ed9db7eaee6c37dcec08524cb43903c60b285b172b6c094711b3961", size = 256322, upload-time = "2026-01-26T02:44:03.56Z" }, + { url = "https://files.pythonhosted.org/packages/31/6e/d8a26d81ac166a5592782d208dd90dfdc0a7a218adaa52b45a672b46c122/multidict-6.7.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3758692429e4e32f1ba0df23219cd0b4fc0a52f476726fff9337d1a57676a582", size = 253955, upload-time = "2026-01-26T02:44:04.845Z" }, + { url = "https://files.pythonhosted.org/packages/59/4c/7c672c8aad41534ba619bcd4ade7a0dc87ed6b8b5c06149b85d3dd03f0cd/multidict-6.7.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:398c1478926eca669f2fd6a5856b6de9c0acf23a2cb59a14c0ba5844fa38077e", size = 251254, upload-time = "2026-01-26T02:44:06.133Z" }, + { url = "https://files.pythonhosted.org/packages/7b/bd/84c24de512cbafbdbc39439f74e967f19570ce7924e3007174a29c348916/multidict-6.7.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:c102791b1c4f3ab36ce4101154549105a53dc828f016356b3e3bcae2e3a039d3", size = 252059, upload-time = "2026-01-26T02:44:07.518Z" }, + { url = "https://files.pythonhosted.org/packages/fa/ba/f5449385510825b73d01c2d4087bf6d2fccc20a2d42ac34df93191d3dd03/multidict-6.7.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:a088b62bd733e2ad12c50dad01b7d0166c30287c166e137433d3b410add807a6", size = 263588, upload-time = "2026-01-26T02:44:09.382Z" }, + { url = "https://files.pythonhosted.org/packages/d7/11/afc7c677f68f75c84a69fe37184f0f82fce13ce4b92f49f3db280b7e92b3/multidict-6.7.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3d51ff4785d58d3f6c91bdbffcb5e1f7ddfda557727043aa20d20ec4f65e324a", size = 259642, upload-time = "2026-01-26T02:44:10.73Z" }, + { url = "https://files.pythonhosted.org/packages/2b/17/ebb9644da78c4ab36403739e0e6e0e30ebb135b9caf3440825001a0bddcb/multidict-6.7.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc5907494fccf3e7d3f94f95c91d6336b092b5fc83811720fae5e2765890dfba", size = 251377, upload-time = "2026-01-26T02:44:12.042Z" }, + { url = "https://files.pythonhosted.org/packages/ca/a4/840f5b97339e27846c46307f2530a2805d9d537d8b8bd416af031cad7fa0/multidict-6.7.1-cp312-cp312-win32.whl", hash = "sha256:28ca5ce2fd9716631133d0e9a9b9a745ad7f60bac2bccafb56aa380fc0b6c511", size = 41887, upload-time = "2026-01-26T02:44:14.245Z" }, + { url = "https://files.pythonhosted.org/packages/80/31/0b2517913687895f5904325c2069d6a3b78f66cc641a86a2baf75a05dcbb/multidict-6.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:fcee94dfbd638784645b066074b338bc9cc155d4b4bffa4adce1615c5a426c19", size = 46053, upload-time = "2026-01-26T02:44:15.371Z" }, + { url = "https://files.pythonhosted.org/packages/0c/5b/aba28e4ee4006ae4c7df8d327d31025d760ffa992ea23812a601d226e682/multidict-6.7.1-cp312-cp312-win_arm64.whl", hash = "sha256:ba0a9fb644d0c1a2194cf7ffb043bd852cea63a57f66fbd33959f7dae18517bf", size = 43307, upload-time = "2026-01-26T02:44:16.852Z" }, + { url = "https://files.pythonhosted.org/packages/f2/22/929c141d6c0dba87d3e1d38fbdf1ba8baba86b7776469f2bc2d3227a1e67/multidict-6.7.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:2b41f5fed0ed563624f1c17630cb9941cf2309d4df00e494b551b5f3e3d67a23", size = 76174, upload-time = "2026-01-26T02:44:18.509Z" }, + { url = "https://files.pythonhosted.org/packages/c7/75/bc704ae15fee974f8fccd871305e254754167dce5f9e42d88a2def741a1d/multidict-6.7.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:84e61e3af5463c19b67ced91f6c634effb89ef8bfc5ca0267f954451ed4bb6a2", size = 45116, upload-time = "2026-01-26T02:44:19.745Z" }, + { url = "https://files.pythonhosted.org/packages/79/76/55cd7186f498ed080a18440c9013011eb548f77ae1b297206d030eb1180a/multidict-6.7.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:935434b9853c7c112eee7ac891bc4cb86455aa631269ae35442cb316790c1445", size = 43524, upload-time = "2026-01-26T02:44:21.571Z" }, + { url = "https://files.pythonhosted.org/packages/e9/3c/414842ef8d5a1628d68edee29ba0e5bcf235dbfb3ccd3ea303a7fe8c72ff/multidict-6.7.1-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:432feb25a1cb67fe82a9680b4d65fb542e4635cb3166cd9c01560651ad60f177", size = 249368, upload-time = "2026-01-26T02:44:22.803Z" }, + { url = "https://files.pythonhosted.org/packages/f6/32/befed7f74c458b4a525e60519fe8d87eef72bb1e99924fa2b0f9d97a221e/multidict-6.7.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e82d14e3c948952a1a85503817e038cba5905a3352de76b9a465075d072fba23", size = 256952, upload-time = "2026-01-26T02:44:24.306Z" }, + { url = "https://files.pythonhosted.org/packages/03/d6/c878a44ba877f366630c860fdf74bfb203c33778f12b6ac274936853c451/multidict-6.7.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:4cfb48c6ea66c83bcaaf7e4dfa7ec1b6bbcf751b7db85a328902796dfde4c060", size = 240317, upload-time = "2026-01-26T02:44:25.772Z" }, + { url = "https://files.pythonhosted.org/packages/68/49/57421b4d7ad2e9e60e25922b08ceb37e077b90444bde6ead629095327a6f/multidict-6.7.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1d540e51b7e8e170174555edecddbd5538105443754539193e3e1061864d444d", size = 267132, upload-time = "2026-01-26T02:44:27.648Z" }, + { url = "https://files.pythonhosted.org/packages/b7/fe/ec0edd52ddbcea2a2e89e174f0206444a61440b40f39704e64dc807a70bd/multidict-6.7.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:273d23f4b40f3dce4d6c8a821c741a86dec62cded82e1175ba3d99be128147ed", size = 268140, upload-time = "2026-01-26T02:44:29.588Z" }, + { url = "https://files.pythonhosted.org/packages/b0/73/6e1b01cbeb458807aa0831742232dbdd1fa92bfa33f52a3f176b4ff3dc11/multidict-6.7.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9d624335fd4fa1c08a53f8b4be7676ebde19cd092b3895c421045ca87895b429", size = 254277, upload-time = "2026-01-26T02:44:30.902Z" }, + { url = "https://files.pythonhosted.org/packages/6a/b2/5fb8c124d7561a4974c342bc8c778b471ebbeb3cc17df696f034a7e9afe7/multidict-6.7.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:12fad252f8b267cc75b66e8fc51b3079604e8d43a75428ffe193cd9e2195dfd6", size = 252291, upload-time = "2026-01-26T02:44:32.31Z" }, + { url = "https://files.pythonhosted.org/packages/5a/96/51d4e4e06bcce92577fcd488e22600bd38e4fd59c20cb49434d054903bd2/multidict-6.7.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:03ede2a6ffbe8ef936b92cb4529f27f42be7f56afcdab5ab739cd5f27fb1cbf9", size = 250156, upload-time = "2026-01-26T02:44:33.734Z" }, + { url = "https://files.pythonhosted.org/packages/db/6b/420e173eec5fba721a50e2a9f89eda89d9c98fded1124f8d5c675f7a0c0f/multidict-6.7.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:90efbcf47dbe33dcf643a1e400d67d59abeac5db07dc3f27d6bdeae497a2198c", size = 249742, upload-time = "2026-01-26T02:44:35.222Z" }, + { url = "https://files.pythonhosted.org/packages/44/a3/ec5b5bd98f306bc2aa297b8c6f11a46714a56b1e6ef5ebda50a4f5d7c5fb/multidict-6.7.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5c4b9bfc148f5a91be9244d6264c53035c8a0dcd2f51f1c3c6e30e30ebaa1c84", size = 262221, upload-time = "2026-01-26T02:44:36.604Z" }, + { url = "https://files.pythonhosted.org/packages/cd/f7/e8c0d0da0cd1e28d10e624604e1a36bcc3353aaebdfdc3a43c72bc683a12/multidict-6.7.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:401c5a650f3add2472d1d288c26deebc540f99e2fb83e9525007a74cd2116f1d", size = 258664, upload-time = "2026-01-26T02:44:38.008Z" }, + { url = "https://files.pythonhosted.org/packages/52/da/151a44e8016dd33feed44f730bd856a66257c1ee7aed4f44b649fb7edeb3/multidict-6.7.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:97891f3b1b3ffbded884e2916cacf3c6fc87b66bb0dde46f7357404750559f33", size = 249490, upload-time = "2026-01-26T02:44:39.386Z" }, + { url = "https://files.pythonhosted.org/packages/87/af/a3b86bf9630b732897f6fc3f4c4714b90aa4361983ccbdcd6c0339b21b0c/multidict-6.7.1-cp313-cp313-win32.whl", hash = "sha256:e1c5988359516095535c4301af38d8a8838534158f649c05dd1050222321bcb3", size = 41695, upload-time = "2026-01-26T02:44:41.318Z" }, + { url = "https://files.pythonhosted.org/packages/b2/35/e994121b0e90e46134673422dd564623f93304614f5d11886b1b3e06f503/multidict-6.7.1-cp313-cp313-win_amd64.whl", hash = "sha256:960c83bf01a95b12b08fd54324a4eb1d5b52c88932b5cba5d6e712bb3ed12eb5", size = 45884, upload-time = "2026-01-26T02:44:42.488Z" }, + { url = "https://files.pythonhosted.org/packages/ca/61/42d3e5dbf661242a69c97ea363f2d7b46c567da8eadef8890022be6e2ab0/multidict-6.7.1-cp313-cp313-win_arm64.whl", hash = "sha256:563fe25c678aaba333d5399408f5ec3c383ca5b663e7f774dd179a520b8144df", size = 43122, upload-time = "2026-01-26T02:44:43.664Z" }, + { url = "https://files.pythonhosted.org/packages/6d/b3/e6b21c6c4f314bb956016b0b3ef2162590a529b84cb831c257519e7fde44/multidict-6.7.1-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:c76c4bec1538375dad9d452d246ca5368ad6e1c9039dadcf007ae59c70619ea1", size = 83175, upload-time = "2026-01-26T02:44:44.894Z" }, + { url = "https://files.pythonhosted.org/packages/fb/76/23ecd2abfe0957b234f6c960f4ade497f55f2c16aeb684d4ecdbf1c95791/multidict-6.7.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:57b46b24b5d5ebcc978da4ec23a819a9402b4228b8a90d9c656422b4bdd8a963", size = 48460, upload-time = "2026-01-26T02:44:46.106Z" }, + { url = "https://files.pythonhosted.org/packages/c4/57/a0ed92b23f3a042c36bc4227b72b97eca803f5f1801c1ab77c8a212d455e/multidict-6.7.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e954b24433c768ce78ab7929e84ccf3422e46deb45a4dc9f93438f8217fa2d34", size = 46930, upload-time = "2026-01-26T02:44:47.278Z" }, + { url = "https://files.pythonhosted.org/packages/b5/66/02ec7ace29162e447f6382c495dc95826bf931d3818799bbef11e8f7df1a/multidict-6.7.1-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:3bd231490fa7217cc832528e1cd8752a96f0125ddd2b5749390f7c3ec8721b65", size = 242582, upload-time = "2026-01-26T02:44:48.604Z" }, + { url = "https://files.pythonhosted.org/packages/58/18/64f5a795e7677670e872673aca234162514696274597b3708b2c0d276cce/multidict-6.7.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:253282d70d67885a15c8a7716f3a73edf2d635793ceda8173b9ecc21f2fb8292", size = 250031, upload-time = "2026-01-26T02:44:50.544Z" }, + { url = "https://files.pythonhosted.org/packages/c8/ed/e192291dbbe51a8290c5686f482084d31bcd9d09af24f63358c3d42fd284/multidict-6.7.1-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0b4c48648d7649c9335cf1927a8b87fa692de3dcb15faa676c6a6f1f1aabda43", size = 228596, upload-time = "2026-01-26T02:44:51.951Z" }, + { url = "https://files.pythonhosted.org/packages/1e/7e/3562a15a60cf747397e7f2180b0a11dc0c38d9175a650e75fa1b4d325e15/multidict-6.7.1-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:98bc624954ec4d2c7cb074b8eefc2b5d0ce7d482e410df446414355d158fe4ca", size = 257492, upload-time = "2026-01-26T02:44:53.902Z" }, + { url = "https://files.pythonhosted.org/packages/24/02/7d0f9eae92b5249bb50ac1595b295f10e263dd0078ebb55115c31e0eaccd/multidict-6.7.1-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1b99af4d9eec0b49927b4402bcbb58dea89d3e0db8806a4086117019939ad3dd", size = 255899, upload-time = "2026-01-26T02:44:55.316Z" }, + { url = "https://files.pythonhosted.org/packages/00/e3/9b60ed9e23e64c73a5cde95269ef1330678e9c6e34dd4eb6b431b85b5a10/multidict-6.7.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6aac4f16b472d5b7dc6f66a0d49dd57b0e0902090be16594dc9ebfd3d17c47e7", size = 247970, upload-time = "2026-01-26T02:44:56.783Z" }, + { url = "https://files.pythonhosted.org/packages/3e/06/538e58a63ed5cfb0bd4517e346b91da32fde409d839720f664e9a4ae4f9d/multidict-6.7.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:21f830fe223215dffd51f538e78c172ed7c7f60c9b96a2bf05c4848ad49921c3", size = 245060, upload-time = "2026-01-26T02:44:58.195Z" }, + { url = "https://files.pythonhosted.org/packages/b2/2f/d743a3045a97c895d401e9bd29aaa09b94f5cbdf1bd561609e5a6c431c70/multidict-6.7.1-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:f5dd81c45b05518b9aa4da4aa74e1c93d715efa234fd3e8a179df611cc85e5f4", size = 235888, upload-time = "2026-01-26T02:44:59.57Z" }, + { url = "https://files.pythonhosted.org/packages/38/83/5a325cac191ab28b63c52f14f1131f3b0a55ba3b9aa65a6d0bf2a9b921a0/multidict-6.7.1-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:eb304767bca2bb92fb9c5bd33cedc95baee5bb5f6c88e63706533a1c06ad08c8", size = 243554, upload-time = "2026-01-26T02:45:01.054Z" }, + { url = "https://files.pythonhosted.org/packages/20/1f/9d2327086bd15da2725ef6aae624208e2ef828ed99892b17f60c344e57ed/multidict-6.7.1-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:c9035dde0f916702850ef66460bc4239d89d08df4d02023a5926e7446724212c", size = 252341, upload-time = "2026-01-26T02:45:02.484Z" }, + { url = "https://files.pythonhosted.org/packages/e8/2c/2a1aa0280cf579d0f6eed8ee5211c4f1730bd7e06c636ba2ee6aafda302e/multidict-6.7.1-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:af959b9beeb66c822380f222f0e0a1889331597e81f1ded7f374f3ecb0fd6c52", size = 246391, upload-time = "2026-01-26T02:45:03.862Z" }, + { url = "https://files.pythonhosted.org/packages/e5/03/7ca022ffc36c5a3f6e03b179a5ceb829be9da5783e6fe395f347c0794680/multidict-6.7.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:41f2952231456154ee479651491e94118229844dd7226541788be783be2b5108", size = 243422, upload-time = "2026-01-26T02:45:05.296Z" }, + { url = "https://files.pythonhosted.org/packages/dc/1d/b31650eab6c5778aceed46ba735bd97f7c7d2f54b319fa916c0f96e7805b/multidict-6.7.1-cp313-cp313t-win32.whl", hash = "sha256:df9f19c28adcb40b6aae30bbaa1478c389efd50c28d541d76760199fc1037c32", size = 47770, upload-time = "2026-01-26T02:45:06.754Z" }, + { url = "https://files.pythonhosted.org/packages/ac/5b/2d2d1d522e51285bd61b1e20df8f47ae1a9d80839db0b24ea783b3832832/multidict-6.7.1-cp313-cp313t-win_amd64.whl", hash = "sha256:d54ecf9f301853f2c5e802da559604b3e95bb7a3b01a9c295c6ee591b9882de8", size = 53109, upload-time = "2026-01-26T02:45:08.044Z" }, + { url = "https://files.pythonhosted.org/packages/3d/a3/cc409ba012c83ca024a308516703cf339bdc4b696195644a7215a5164a24/multidict-6.7.1-cp313-cp313t-win_arm64.whl", hash = "sha256:5a37ca18e360377cfda1d62f5f382ff41f2b8c4ccb329ed974cc2e1643440118", size = 45573, upload-time = "2026-01-26T02:45:09.349Z" }, + { url = "https://files.pythonhosted.org/packages/91/cc/db74228a8be41884a567e88a62fd589a913708fcf180d029898c17a9a371/multidict-6.7.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:8f333ec9c5eb1b7105e3b84b53141e66ca05a19a605368c55450b6ba208cb9ee", size = 75190, upload-time = "2026-01-26T02:45:10.651Z" }, + { url = "https://files.pythonhosted.org/packages/d5/22/492f2246bb5b534abd44804292e81eeaf835388901f0c574bac4eeec73c5/multidict-6.7.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:a407f13c188f804c759fc6a9f88286a565c242a76b27626594c133b82883b5c2", size = 44486, upload-time = "2026-01-26T02:45:11.938Z" }, + { url = "https://files.pythonhosted.org/packages/f1/4f/733c48f270565d78b4544f2baddc2fb2a245e5a8640254b12c36ac7ac68e/multidict-6.7.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0e161ddf326db5577c3a4cc2d8648f81456e8a20d40415541587a71620d7a7d1", size = 43219, upload-time = "2026-01-26T02:45:14.346Z" }, + { url = "https://files.pythonhosted.org/packages/24/bb/2c0c2287963f4259c85e8bcbba9182ced8d7fca65c780c38e99e61629d11/multidict-6.7.1-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:1e3a8bb24342a8201d178c3b4984c26ba81a577c80d4d525727427460a50c22d", size = 245132, upload-time = "2026-01-26T02:45:15.712Z" }, + { url = "https://files.pythonhosted.org/packages/a7/f9/44d4b3064c65079d2467888794dea218d1601898ac50222ab8a9a8094460/multidict-6.7.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97231140a50f5d447d3164f994b86a0bed7cd016e2682f8650d6a9158e14fd31", size = 252420, upload-time = "2026-01-26T02:45:17.293Z" }, + { url = "https://files.pythonhosted.org/packages/8b/13/78f7275e73fa17b24c9a51b0bd9d73ba64bb32d0ed51b02a746eb876abe7/multidict-6.7.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6b10359683bd8806a200fd2909e7c8ca3a7b24ec1d8132e483d58e791d881048", size = 233510, upload-time = "2026-01-26T02:45:19.356Z" }, + { url = "https://files.pythonhosted.org/packages/4b/25/8167187f62ae3cbd52da7893f58cb036b47ea3fb67138787c76800158982/multidict-6.7.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:283ddac99f7ac25a4acadbf004cb5ae34480bbeb063520f70ce397b281859362", size = 264094, upload-time = "2026-01-26T02:45:20.834Z" }, + { url = "https://files.pythonhosted.org/packages/a1/e7/69a3a83b7b030cf283fb06ce074a05a02322359783424d7edf0f15fe5022/multidict-6.7.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:538cec1e18c067d0e6103aa9a74f9e832904c957adc260e61cd9d8cf0c3b3d37", size = 260786, upload-time = "2026-01-26T02:45:22.818Z" }, + { url = "https://files.pythonhosted.org/packages/fe/3b/8ec5074bcfc450fe84273713b4b0a0dd47c0249358f5d82eb8104ffe2520/multidict-6.7.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7eee46ccb30ff48a1e35bb818cc90846c6be2b68240e42a78599166722cea709", size = 248483, upload-time = "2026-01-26T02:45:24.368Z" }, + { url = "https://files.pythonhosted.org/packages/48/5a/d5a99e3acbca0e29c5d9cba8f92ceb15dce78bab963b308ae692981e3a5d/multidict-6.7.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:fa263a02f4f2dd2d11a7b1bb4362aa7cb1049f84a9235d31adf63f30143469a0", size = 248403, upload-time = "2026-01-26T02:45:25.982Z" }, + { url = "https://files.pythonhosted.org/packages/35/48/e58cd31f6c7d5102f2a4bf89f96b9cf7e00b6c6f3d04ecc44417c00a5a3c/multidict-6.7.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:2e1425e2f99ec5bd36c15a01b690a1a2456209c5deed58f95469ffb46039ccbb", size = 240315, upload-time = "2026-01-26T02:45:27.487Z" }, + { url = "https://files.pythonhosted.org/packages/94/33/1cd210229559cb90b6786c30676bb0c58249ff42f942765f88793b41fdce/multidict-6.7.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:497394b3239fc6f0e13a78a3e1b61296e72bf1c5f94b4c4eb80b265c37a131cd", size = 245528, upload-time = "2026-01-26T02:45:28.991Z" }, + { url = "https://files.pythonhosted.org/packages/64/f2/6e1107d226278c876c783056b7db43d800bb64c6131cec9c8dfb6903698e/multidict-6.7.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:233b398c29d3f1b9676b4b6f75c518a06fcb2ea0b925119fb2c1bc35c05e1601", size = 258784, upload-time = "2026-01-26T02:45:30.503Z" }, + { url = "https://files.pythonhosted.org/packages/4d/c1/11f664f14d525e4a1b5327a82d4de61a1db604ab34c6603bb3c2cc63ad34/multidict-6.7.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:93b1818e4a6e0930454f0f2af7dfce69307ca03cdcfb3739bf4d91241967b6c1", size = 251980, upload-time = "2026-01-26T02:45:32.603Z" }, + { url = "https://files.pythonhosted.org/packages/e1/9f/75a9ac888121d0c5bbd4ecf4eead45668b1766f6baabfb3b7f66a410e231/multidict-6.7.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f33dc2a3abe9249ea5d8360f969ec7f4142e7ac45ee7014d8f8d5acddf178b7b", size = 243602, upload-time = "2026-01-26T02:45:34.043Z" }, + { url = "https://files.pythonhosted.org/packages/9a/e7/50bf7b004cc8525d80dbbbedfdc7aed3e4c323810890be4413e589074032/multidict-6.7.1-cp314-cp314-win32.whl", hash = "sha256:3ab8b9d8b75aef9df299595d5388b14530839f6422333357af1339443cff777d", size = 40930, upload-time = "2026-01-26T02:45:36.278Z" }, + { url = "https://files.pythonhosted.org/packages/e0/bf/52f25716bbe93745595800f36fb17b73711f14da59ed0bb2eba141bc9f0f/multidict-6.7.1-cp314-cp314-win_amd64.whl", hash = "sha256:5e01429a929600e7dab7b166062d9bb54a5eed752384c7384c968c2afab8f50f", size = 45074, upload-time = "2026-01-26T02:45:37.546Z" }, + { url = "https://files.pythonhosted.org/packages/97/ab/22803b03285fa3a525f48217963da3a65ae40f6a1b6f6cf2768879e208f9/multidict-6.7.1-cp314-cp314-win_arm64.whl", hash = "sha256:4885cb0e817aef5d00a2e8451d4665c1808378dc27c2705f1bf4ef8505c0d2e5", size = 42471, upload-time = "2026-01-26T02:45:38.889Z" }, + { url = "https://files.pythonhosted.org/packages/e0/6d/f9293baa6146ba9507e360ea0292b6422b016907c393e2f63fc40ab7b7b5/multidict-6.7.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:0458c978acd8e6ea53c81eefaddbbee9c6c5e591f41b3f5e8e194780fe026581", size = 82401, upload-time = "2026-01-26T02:45:40.254Z" }, + { url = "https://files.pythonhosted.org/packages/7a/68/53b5494738d83558d87c3c71a486504d8373421c3e0dbb6d0db48ad42ee0/multidict-6.7.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:c0abd12629b0af3cf590982c0b413b1e7395cd4ec026f30986818ab95bfaa94a", size = 48143, upload-time = "2026-01-26T02:45:41.635Z" }, + { url = "https://files.pythonhosted.org/packages/37/e8/5284c53310dcdc99ce5d66563f6e5773531a9b9fe9ec7a615e9bc306b05f/multidict-6.7.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:14525a5f61d7d0c94b368a42cff4c9a4e7ba2d52e2672a7b23d84dc86fb02b0c", size = 46507, upload-time = "2026-01-26T02:45:42.99Z" }, + { url = "https://files.pythonhosted.org/packages/e4/fc/6800d0e5b3875568b4083ecf5f310dcf91d86d52573160834fb4bfcf5e4f/multidict-6.7.1-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:17307b22c217b4cf05033dabefe68255a534d637c6c9b0cc8382718f87be4262", size = 239358, upload-time = "2026-01-26T02:45:44.376Z" }, + { url = "https://files.pythonhosted.org/packages/41/75/4ad0973179361cdf3a113905e6e088173198349131be2b390f9fa4da5fc6/multidict-6.7.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7a7e590ff876a3eaf1c02a4dfe0724b6e69a9e9de6d8f556816f29c496046e59", size = 246884, upload-time = "2026-01-26T02:45:47.167Z" }, + { url = "https://files.pythonhosted.org/packages/c3/9c/095bb28b5da139bd41fb9a5d5caff412584f377914bd8787c2aa98717130/multidict-6.7.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:5fa6a95dfee63893d80a34758cd0e0c118a30b8dcb46372bf75106c591b77889", size = 225878, upload-time = "2026-01-26T02:45:48.698Z" }, + { url = "https://files.pythonhosted.org/packages/07/d0/c0a72000243756e8f5a277b6b514fa005f2c73d481b7d9e47cd4568aa2e4/multidict-6.7.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a0543217a6a017692aa6ae5cc39adb75e587af0f3a82288b1492eb73dd6cc2a4", size = 253542, upload-time = "2026-01-26T02:45:50.164Z" }, + { url = "https://files.pythonhosted.org/packages/c0/6b/f69da15289e384ecf2a68837ec8b5ad8c33e973aa18b266f50fe55f24b8c/multidict-6.7.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f99fe611c312b3c1c0ace793f92464d8cd263cc3b26b5721950d977b006b6c4d", size = 252403, upload-time = "2026-01-26T02:45:51.779Z" }, + { url = "https://files.pythonhosted.org/packages/a2/76/b9669547afa5a1a25cd93eaca91c0da1c095b06b6d2d8ec25b713588d3a1/multidict-6.7.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9004d8386d133b7e6135679424c91b0b854d2d164af6ea3f289f8f2761064609", size = 244889, upload-time = "2026-01-26T02:45:53.27Z" }, + { url = "https://files.pythonhosted.org/packages/7e/a9/a50d2669e506dad33cfc45b5d574a205587b7b8a5f426f2fbb2e90882588/multidict-6.7.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e628ef0e6859ffd8273c69412a2465c4be4a9517d07261b33334b5ec6f3c7489", size = 241982, upload-time = "2026-01-26T02:45:54.919Z" }, + { url = "https://files.pythonhosted.org/packages/c5/bb/1609558ad8b456b4827d3c5a5b775c93b87878fd3117ed3db3423dfbce1b/multidict-6.7.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:841189848ba629c3552035a6a7f5bf3b02eb304e9fea7492ca220a8eda6b0e5c", size = 232415, upload-time = "2026-01-26T02:45:56.981Z" }, + { url = "https://files.pythonhosted.org/packages/d8/59/6f61039d2aa9261871e03ab9dc058a550d240f25859b05b67fd70f80d4b3/multidict-6.7.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:ce1bbd7d780bb5a0da032e095c951f7014d6b0a205f8318308140f1a6aba159e", size = 240337, upload-time = "2026-01-26T02:45:58.698Z" }, + { url = "https://files.pythonhosted.org/packages/a1/29/fdc6a43c203890dc2ae9249971ecd0c41deaedfe00d25cb6564b2edd99eb/multidict-6.7.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:b26684587228afed0d50cf804cc71062cc9c1cdf55051c4c6345d372947b268c", size = 248788, upload-time = "2026-01-26T02:46:00.862Z" }, + { url = "https://files.pythonhosted.org/packages/a9/14/a153a06101323e4cf086ecee3faadba52ff71633d471f9685c42e3736163/multidict-6.7.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:9f9af11306994335398293f9958071019e3ab95e9a707dc1383a35613f6abcb9", size = 242842, upload-time = "2026-01-26T02:46:02.824Z" }, + { url = "https://files.pythonhosted.org/packages/41/5f/604ae839e64a4a6efc80db94465348d3b328ee955e37acb24badbcd24d83/multidict-6.7.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:b4938326284c4f1224178a560987b6cf8b4d38458b113d9b8c1db1a836e640a2", size = 240237, upload-time = "2026-01-26T02:46:05.898Z" }, + { url = "https://files.pythonhosted.org/packages/5f/60/c3a5187bf66f6fb546ff4ab8fb5a077cbdd832d7b1908d4365c7f74a1917/multidict-6.7.1-cp314-cp314t-win32.whl", hash = "sha256:98655c737850c064a65e006a3df7c997cd3b220be4ec8fe26215760b9697d4d7", size = 48008, upload-time = "2026-01-26T02:46:07.468Z" }, + { url = "https://files.pythonhosted.org/packages/0c/f7/addf1087b860ac60e6f382240f64fb99f8bfb532bb06f7c542b83c29ca61/multidict-6.7.1-cp314-cp314t-win_amd64.whl", hash = "sha256:497bde6223c212ba11d462853cfa4f0ae6ef97465033e7dc9940cdb3ab5b48e5", size = 53542, upload-time = "2026-01-26T02:46:08.809Z" }, + { url = "https://files.pythonhosted.org/packages/4c/81/4629d0aa32302ef7b2ec65c75a728cc5ff4fa410c50096174c1632e70b3e/multidict-6.7.1-cp314-cp314t-win_arm64.whl", hash = "sha256:2bbd113e0d4af5db41d5ebfe9ccaff89de2120578164f86a5d17d5a576d1e5b2", size = 44719, upload-time = "2026-01-26T02:46:11.146Z" }, + { url = "https://files.pythonhosted.org/packages/81/08/7036c080d7117f28a4af526d794aab6a84463126db031b007717c1a6676e/multidict-6.7.1-py3-none-any.whl", hash = "sha256:55d97cc6dae627efa6a6e548885712d4864b81110ac76fa4e534c03819fa4a56", size = 12319, upload-time = "2026-01-26T02:46:44.004Z" }, +] + +[[package]] +name = "mypy" +version = "1.20.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { 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/04/af/e3d4b3e9ec91a0ff9aabfdb38692952acf49bbb899c2e4c29acb3a6da3ae/mypy-1.20.2.tar.gz", hash = "sha256:e8222c26daaafd9e8626dec58ae36029f82585890589576f769a650dd20fd665", size = 3817349, upload-time = "2026-04-21T17:12:28.473Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/76/97/ce2502df2cecf2ef997b6c6527c4a223b92feb9e7b790cdc8dcd683f3a8a/mypy-1.20.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:cf5a4db6dca263010e2c7bff081c89383c72d187ba2cf4c44759aac970e2f0c4", size = 14457059, upload-time = "2026-04-21T17:06:14.935Z" }, + { url = "https://files.pythonhosted.org/packages/c9/34/417ee60b822cc80c0f3dc9f495ad7fd8dbb8d8b2cf4baf22d4046d25d01d/mypy-1.20.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:7b0e817b518bff7facd7f85ea05b643ad8bdcce684cf29784987b0a7c8e1f997", size = 13346816, upload-time = "2026-04-21T17:10:41.433Z" }, + { url = "https://files.pythonhosted.org/packages/4a/85/e20951978702df58379d0bcc2e8f7ccdca4e78cd7dc66dd3ddbf9b29d517/mypy-1.20.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97d7b9a485b40f8ca425460e89bf1da2814625b2da627c0dcc6aa46c92631d14", size = 13772593, upload-time = "2026-04-21T17:08:11.24Z" }, + { url = "https://files.pythonhosted.org/packages/63/a5/5441a13259ec516c56fd5de0fd96a69a9590ae6c5e5d3e5174aa84b97973/mypy-1.20.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1e1c12f6d2db3d78b909b5f77513c11eb7f2dd2782b96a3ab6dffc7d44575c99", size = 14656635, upload-time = "2026-04-21T17:09:54.042Z" }, + { url = "https://files.pythonhosted.org/packages/3b/51/b89c69157c5e1f19fd125a65d991166a26906e7902f026f00feebbcfa2b9/mypy-1.20.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:89dce27e142d25ffbc154c1819383b69f2e9234dc4ed4766f42e0e8cb264ab5c", size = 14943278, upload-time = "2026-04-21T17:09:15.599Z" }, + { url = "https://files.pythonhosted.org/packages/e9/44/6b0eeecfe96d7cce1d71c66b8e03cb304aa70ec11f1955dc1d6b46aca3c3/mypy-1.20.2-cp310-cp310-win_amd64.whl", hash = "sha256:f376e37f9bf2a946872fc5fd1199c99310748e3c26c7a26683f13f8bdb756cbd", size = 10851915, upload-time = "2026-04-21T17:06:03.5Z" }, + { url = "https://files.pythonhosted.org/packages/3c/36/6593dc88545d75fb96416184be5392da5e2a8e8c2802a8597913e16ae25c/mypy-1.20.2-cp310-cp310-win_arm64.whl", hash = "sha256:6e2b469efd811707bc530fd1effef0f5d6eebcb7fe376affae69025da4b979a2", size = 9786676, upload-time = "2026-04-21T17:07:02.035Z" }, + { url = "https://files.pythonhosted.org/packages/1f/4d/9ebeae211caccbdaddde7ed5e31dfcf57faac66be9b11deb1dc6526c8078/mypy-1.20.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4077797a273e56e8843d001e9dfe4ba10e33323d6ade647ff260e5cd97d9758c", size = 14371307, upload-time = "2026-04-21T17:08:56.442Z" }, + { url = "https://files.pythonhosted.org/packages/95/d7/93473d34b61f04fac1aecc01368485c89c5c4af7a4b9a0cab5d77d04b63f/mypy-1.20.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:cdecf62abcc4292500d7858aeae87a1f8f1150f4c4dd08fb0b336ee79b2a6df3", size = 13258917, upload-time = "2026-04-21T17:05:50.978Z" }, + { url = "https://files.pythonhosted.org/packages/e2/30/3dd903e8bafb7b5f7bf87fcd58f8382086dea2aa19f0a7b357f21f63071b/mypy-1.20.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c566c3a88b6ece59b3d70f65bedef17304f48eb52ff040a6a18214e1917b3254", size = 13700516, upload-time = "2026-04-21T17:11:33.161Z" }, + { url = "https://files.pythonhosted.org/packages/07/05/c61a140aba4c729ac7bc99ae26fc627c78a6e08f5b9dd319244ea71a3d7e/mypy-1.20.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0deb80d062b2479f2c87ae568f89845afc71d11bc41b04179e58165fd9f31e98", size = 14562889, upload-time = "2026-04-21T17:05:27.674Z" }, + { url = "https://files.pythonhosted.org/packages/fd/87/da78243742ffa8a36d98c3010f0d829f93d5da4e6786f1a1a6f2ad616502/mypy-1.20.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:bba9ad231e92a3e424b3e56b65aa17704993425bba97e302c832f9466bb85bac", size = 14803844, upload-time = "2026-04-21T17:10:06.2Z" }, + { url = "https://files.pythonhosted.org/packages/37/52/10a1ddf91b40f843943a3c6db51e2df59c9e237f29d355e95eaab427461f/mypy-1.20.2-cp311-cp311-win_amd64.whl", hash = "sha256:baf593f2765fa3a6b1ef95807dbaa3d25b594f6a52adcc506a6b9cb115e1be67", size = 10846300, upload-time = "2026-04-21T17:12:23.886Z" }, + { url = "https://files.pythonhosted.org/packages/20/02/f9a4415b664c53bd34d6709be59da303abcae986dc4ac847b402edb6fa1e/mypy-1.20.2-cp311-cp311-win_arm64.whl", hash = "sha256:20175a1c0f49863946ec20b7f63255768058ac4f07d2b9ded6a6b46cfb5a9100", size = 9779498, upload-time = "2026-04-21T17:09:23.695Z" }, + { url = "https://files.pythonhosted.org/packages/71/4e/7560e4528db9e9b147e4c0f22660466bf30a0a1fe3d63d1b9d3b0fd354ee/mypy-1.20.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4dbfcf869f6b0517f70cf0030ba6ea1d6645e132337a7d5204a18d8d5636c02b", size = 14539393, upload-time = "2026-04-21T17:07:12.52Z" }, + { url = "https://files.pythonhosted.org/packages/32/d9/34a5efed8124f5a9234f55ac6a4ced4201e2c5b81e1109c49ad23190ec8c/mypy-1.20.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4b6481b228d072315b053210b01ac320e1be243dc17f9e5887ef167f23f5fae4", size = 13361642, upload-time = "2026-04-21T17:06:53.742Z" }, + { url = "https://files.pythonhosted.org/packages/d1/14/eb377acf78c03c92d566a1510cda8137348215b5335085ef662ab82ecd3a/mypy-1.20.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:34397cdced6b90b836e38182076049fdb41424322e0b0728c946b0939ebdf9f6", size = 13740347, upload-time = "2026-04-21T17:12:04.73Z" }, + { url = "https://files.pythonhosted.org/packages/b9/94/7e4634a32b641aa1c112422eed1bbece61ee16205f674190e8b536f884de/mypy-1.20.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a5da6976f20cae27059ea8d0c86e7cef3de720e04c4bb9ee18e3690fdb792066", size = 14734042, upload-time = "2026-04-21T17:07:43.16Z" }, + { url = "https://files.pythonhosted.org/packages/7a/f3/f7e62395cb7f434541b4491a01149a4439e28ace4c0c632bbf5431e92d1f/mypy-1.20.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:56908d7e08318d39f85b1f0c6cfd47b0cac1a130da677630dac0de3e0623e102", size = 14964958, upload-time = "2026-04-21T17:11:00.665Z" }, + { url = "https://files.pythonhosted.org/packages/3e/0d/47e3c3a0ec2a876e35aeac365df3cac7776c36bbd4ed18cc521e1b9d255b/mypy-1.20.2-cp312-cp312-win_amd64.whl", hash = "sha256:d52ad8d78522da1d308789df651ee5379088e77c76cb1994858d40a426b343b9", size = 10911340, upload-time = "2026-04-21T17:10:49.179Z" }, + { url = "https://files.pythonhosted.org/packages/d6/b2/6c852d72e0ea8b01f49da817fb52539993cde327e7d010e0103dc12d0dac/mypy-1.20.2-cp312-cp312-win_arm64.whl", hash = "sha256:785b08db19c9f214dc37d65f7c165d19a30fcecb48abfa30f31b01b5acaabb58", size = 9833947, upload-time = "2026-04-21T17:09:05.267Z" }, + { url = "https://files.pythonhosted.org/packages/5b/c4/b93812d3a192c9bcf5df405bd2f30277cd0e48106a14d1023c7f6ed6e39b/mypy-1.20.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:edfbfca868cdd6bd8d974a60f8a3682f5565d3f5c99b327640cedd24c4264026", size = 14524670, upload-time = "2026-04-21T17:10:30.737Z" }, + { url = "https://files.pythonhosted.org/packages/f3/47/42c122501bff18eaf1e8f457f5c017933452d8acdc52918a9f59f6812955/mypy-1.20.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e2877a02380adfcdbc69071a0f74d6e9dbbf593c0dc9d174e1f223ffd5281943", size = 13336218, upload-time = "2026-04-21T17:08:44.069Z" }, + { url = "https://files.pythonhosted.org/packages/92/8f/75bbc92f41725fbd585fb17b440b1119b576105df1013622983e18640a93/mypy-1.20.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7488448de6007cd5177c6cea0517ac33b4c0f5ee9b5e9f2be51ce75511a85517", size = 13724906, upload-time = "2026-04-21T17:08:01.02Z" }, + { url = "https://files.pythonhosted.org/packages/a1/32/4c49da27a606167391ff0c39aa955707a00edc500572e562f7c36c08a71f/mypy-1.20.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bb9c2fa06887e21d6a3a868762acb82aec34e2c6fd0174064f27c93ede68ad15", size = 14726046, upload-time = "2026-04-21T17:11:22.354Z" }, + { url = "https://files.pythonhosted.org/packages/7f/fc/4e354a1bd70216359deb0c9c54847ee6b32ef78dfb09f5131ff99b494078/mypy-1.20.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9d56a78b646f2e3daa865bc70cd5ec5a46c50045801ca8ff17a0c43abc97e3ee", size = 14955587, upload-time = "2026-04-21T17:12:16.033Z" }, + { url = "https://files.pythonhosted.org/packages/62/b2/c0f2056e9eb8f08c62cafd9715e4584b89132bdc832fcf85d27d07b5f3e5/mypy-1.20.2-cp313-cp313-win_amd64.whl", hash = "sha256:2a4102b03bb7481d9a91a6da8d174740c9c8c4401024684b9ca3b7cc5e49852f", size = 10922681, upload-time = "2026-04-21T17:06:35.842Z" }, + { url = "https://files.pythonhosted.org/packages/e5/14/065e333721f05de8ef683d0aa804c23026bcc287446b61cac657b902ccac/mypy-1.20.2-cp313-cp313-win_arm64.whl", hash = "sha256:a95a9248b0c6fd933a442c03c3b113c3b61320086b88e2c444676d3fd1ca3330", size = 9830560, upload-time = "2026-04-21T17:07:51.023Z" }, + { url = "https://files.pythonhosted.org/packages/ae/d1/b4ec96b0ecc620a4443570c6e95c867903428cfcde4206518eafdd5880c3/mypy-1.20.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:419413398fe250aae057fd2fe50166b61077083c9b82754c341cf4fd73038f30", size = 14524561, upload-time = "2026-04-21T17:06:27.325Z" }, + { url = "https://files.pythonhosted.org/packages/3a/63/d2c2ff4fa66bc49477d32dfa26e8a167ba803ea6a69c5efb416036909d30/mypy-1.20.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:e73c07f23009962885c197ccb9b41356a30cc0e5a1d0c2ea8fd8fb1362d7f924", size = 13363883, upload-time = "2026-04-21T17:11:11.239Z" }, + { url = "https://files.pythonhosted.org/packages/2a/56/983916806bf4eddeaaa2c9230903c3669c6718552a921154e1c5182c701f/mypy-1.20.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0c64e5973df366b747646fc98da921f9d6eba9716d57d1db94a83c026a08e0fb", size = 13742945, upload-time = "2026-04-21T17:08:34.181Z" }, + { url = "https://files.pythonhosted.org/packages/19/65/0cd9285ab010ee8214c83d67c6b49417c40d86ce46f1aa109457b5a9b8d7/mypy-1.20.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a65aa591af023864fd08a97da9974e919452cfe19cb146c8a5dc692626445dc", size = 14706163, upload-time = "2026-04-21T17:05:15.51Z" }, + { url = "https://files.pythonhosted.org/packages/94/97/48ff3b297cafcc94d185243a9190836fb1b01c1b0918fff64e941e973cc9/mypy-1.20.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:4fef51b01e638974a6e69885687e9bd40c8d1e09a6cd291cca0619625cf1f558", size = 14938677, upload-time = "2026-04-21T17:05:39.562Z" }, + { url = "https://files.pythonhosted.org/packages/fd/a1/1b4233d255bdd0b38a1f284feeb1c143ca508c19184964e22f8d837ec851/mypy-1.20.2-cp314-cp314-win_amd64.whl", hash = "sha256:913485a03f1bcf5d279409a9d2b9ed565c151f61c09f29991e5faa14033da4c8", size = 11089322, upload-time = "2026-04-21T17:06:44.29Z" }, + { url = "https://files.pythonhosted.org/packages/78/c2/ce7ee2ba36aeb954ba50f18fa25d9c1188578654b97d02a66a15b6f09531/mypy-1.20.2-cp314-cp314-win_arm64.whl", hash = "sha256:c3bae4f855d965b5453784300c12ffc63a548304ac7f99e55d4dc7c898673aa3", size = 10017775, upload-time = "2026-04-21T17:07:20.732Z" }, + { url = "https://files.pythonhosted.org/packages/4e/a1/9d93a7d0b5859af0ead82b4888b46df6c8797e1bc5e1e262a08518c6d48e/mypy-1.20.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:2de3dcea53babc1c3237a19002bc3d228ce1833278f093b8d619e06e7cc79609", size = 15549002, upload-time = "2026-04-21T17:08:23.107Z" }, + { url = "https://files.pythonhosted.org/packages/00/d2/09a6a10ee1bf0008f6c144d9676f2ca6a12512151b4e0ad0ff6c4fac5337/mypy-1.20.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:52b176444e2e5054dfcbcb8c75b0b719865c96247b37407184bbfca5c353f2c2", size = 14401942, upload-time = "2026-04-21T17:07:31.837Z" }, + { url = "https://files.pythonhosted.org/packages/57/da/9594b75c3c019e805250bed3583bdf4443ff9e6ef08f97e39ae308cb06f2/mypy-1.20.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:688c3312e5dadb573a2c69c82af3a298d43ecf9e6d264e0f95df960b5f6ac19c", size = 15041649, upload-time = "2026-04-21T17:09:34.653Z" }, + { url = "https://files.pythonhosted.org/packages/97/77/f75a65c278e6e8eba2071f7f5a90481891053ecc39878cc444634d892abe/mypy-1.20.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:29752dbbf8cc53f89f6ac096d363314333045c257c9c75cbd189ca2de0455744", size = 15864588, upload-time = "2026-04-21T17:11:44.936Z" }, + { url = "https://files.pythonhosted.org/packages/d7/46/1a4e1c66e96c1a3246ddf5403d122ac9b0a8d2b7e65730b9d6533ba7a6d3/mypy-1.20.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:803203d2b6ea644982c644895c2f78b28d0e208bba7b27d9b921e0ec5eb207c6", size = 16093956, upload-time = "2026-04-21T17:10:17.683Z" }, + { url = "https://files.pythonhosted.org/packages/5a/2c/78a8851264dec38cd736ca5b8bc9380674df0dd0be7792f538916157716c/mypy-1.20.2-cp314-cp314t-win_amd64.whl", hash = "sha256:9bcb8aa397ff0093c824182fd76a935a9ba7ad097fcbef80ae89bf6c1731d8ec", size = 12568661, upload-time = "2026-04-21T17:11:54.473Z" }, + { url = "https://files.pythonhosted.org/packages/83/01/cd7318aa03493322ce275a0e14f4f52b8896335e4e79d4fb8153a7ad2b77/mypy-1.20.2-cp314-cp314t-win_arm64.whl", hash = "sha256:e061b58443f1736f8a37c48978d7ab581636d6ab03e3d4f99e3fa90463bb9382", size = 10389240, upload-time = "2026-04-21T17:09:42.719Z" }, + { url = "https://files.pythonhosted.org/packages/28/9a/f23c163e25b11074188251b0b5a0342625fc1cdb6af604757174fa9acc9b/mypy-1.20.2-py3-none-any.whl", hash = "sha256:a94c5a76ab46c5e6257c7972b6c8cff0574201ca7dc05647e33e795d78680563", size = 2637314, upload-time = "2026-04-21T17:05:54.5Z" }, +] + +[[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 = "networkx" +version = "3.4.2" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +sdist = { url = "https://files.pythonhosted.org/packages/fd/1d/06475e1cd5264c0b870ea2cc6fdb3e37177c1e565c43f56ff17a10e3937f/networkx-3.4.2.tar.gz", hash = "sha256:307c3669428c5362aab27c8a1260aa8f47c4e91d3891f48be0141738d8d053e1", size = 2151368, upload-time = "2024-10-21T12:39:38.695Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b9/54/dd730b32ea14ea797530a4479b2ed46a6fb250f682a9cfb997e968bf0261/networkx-3.4.2-py3-none-any.whl", hash = "sha256:df5d4365b724cf81b8c6a7312509d0c22386097011ad1abe274afd5e9d3bbc5f", size = 1723263, upload-time = "2024-10-21T12:39:36.247Z" }, +] + +[[package]] +name = "networkx" +version = "3.6.1" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +sdist = { url = "https://files.pythonhosted.org/packages/6a/51/63fe664f3908c97be9d2e4f1158eb633317598cfa6e1fc14af5383f17512/networkx-3.6.1.tar.gz", hash = "sha256:26b7c357accc0c8cde558ad486283728b65b6a95d85ee1cd66bafab4c8168509", size = 2517025, upload-time = "2025-12-08T17:02:39.908Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/c9/b2622292ea83fbb4ec318f5b9ab867d0a28ab43c5717bb85b0a5f6b3b0a4/networkx-3.6.1-py3-none-any.whl", hash = "sha256:d47fbf302e7d9cbbb9e2555a0d267983d2aa476bac30e90dfbe5669bd57f3762", size = 2068504, upload-time = "2025-12-08T17:02:38.159Z" }, +] + +[[package]] +name = "nexus-rpc" +version = "1.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/35/d5/cd1ffb202b76ebc1b33c1332a3416e55a39929006982adc2b1eb069aaa9b/nexus_rpc-1.4.0.tar.gz", hash = "sha256:3b8b373d4865671789cc43623e3dc0bcbf192562e40e13727e17f1c149050fba", size = 82367, upload-time = "2026-02-25T22:01:34.053Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/11/52/6327a5f4fda01207205038a106a99848a41c83e933cd23ea2cab3d2ebc6c/nexus_rpc-1.4.0-py3-none-any.whl", hash = "sha256:14c953d3519113f8ccec533a9efdb6b10c28afef75d11cdd6d422640c40b3a49", size = 29645, upload-time = "2026-02-25T22:01:33.122Z" }, +] + +[[package]] +name = "nodeenv" +version = "1.10.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/24/bf/d1bda4f6168e0b2e9e5958945e01910052158313224ada5ce1fb2e1113b8/nodeenv-1.10.0.tar.gz", hash = "sha256:996c191ad80897d076bdfba80a41994c2b47c68e224c542b48feba42ba00f8bb", size = 55611, upload-time = "2025-12-20T14:08:54.006Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/88/b2/d0896bdcdc8d28a7fc5717c305f1a861c26e18c05047949fb371034d98bd/nodeenv-1.10.0-py2.py3-none-any.whl", hash = "sha256:5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827", size = 23438, upload-time = "2025-12-20T14:08:52.782Z" }, +] + +[[package]] +name = "numpy" +version = "1.26.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/65/6e/09db70a523a96d25e115e71cc56a6f9031e7b8cd166c1ac8438307c14058/numpy-1.26.4.tar.gz", hash = "sha256:2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010", size = 15786129, upload-time = "2024-02-06T00:26:44.495Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a7/94/ace0fdea5241a27d13543ee117cbc65868e82213fb31a8eb7fe9ff23f313/numpy-1.26.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9ff0f4f29c51e2803569d7a51c2304de5554655a60c5d776e35b4a41413830d0", size = 20631468, upload-time = "2024-02-05T23:48:01.194Z" }, + { url = "https://files.pythonhosted.org/packages/20/f7/b24208eba89f9d1b58c1668bc6c8c4fd472b20c45573cb767f59d49fb0f6/numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2e4ee3380d6de9c9ec04745830fd9e2eccb3e6cf790d39d7b98ffd19b0dd754a", size = 13966411, upload-time = "2024-02-05T23:48:29.038Z" }, + { url = "https://files.pythonhosted.org/packages/fc/a5/4beee6488160798683eed5bdb7eead455892c3b4e1f78d79d8d3f3b084ac/numpy-1.26.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d209d8969599b27ad20994c8e41936ee0964e6da07478d6c35016bc386b66ad4", size = 14219016, upload-time = "2024-02-05T23:48:54.098Z" }, + { url = "https://files.pythonhosted.org/packages/4b/d7/ecf66c1cd12dc28b4040b15ab4d17b773b87fa9d29ca16125de01adb36cd/numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ffa75af20b44f8dba823498024771d5ac50620e6915abac414251bd971b4529f", size = 18240889, upload-time = "2024-02-05T23:49:25.361Z" }, + { url = "https://files.pythonhosted.org/packages/24/03/6f229fe3187546435c4f6f89f6d26c129d4f5bed40552899fcf1f0bf9e50/numpy-1.26.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:62b8e4b1e28009ef2846b4c7852046736bab361f7aeadeb6a5b89ebec3c7055a", size = 13876746, upload-time = "2024-02-05T23:49:51.983Z" }, + { url = "https://files.pythonhosted.org/packages/39/fe/39ada9b094f01f5a35486577c848fe274e374bbf8d8f472e1423a0bbd26d/numpy-1.26.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a4abb4f9001ad2858e7ac189089c42178fcce737e4169dc61321660f1a96c7d2", size = 18078620, upload-time = "2024-02-05T23:50:22.515Z" }, + { url = "https://files.pythonhosted.org/packages/d5/ef/6ad11d51197aad206a9ad2286dc1aac6a378059e06e8cf22cd08ed4f20dc/numpy-1.26.4-cp310-cp310-win32.whl", hash = "sha256:bfe25acf8b437eb2a8b2d49d443800a5f18508cd811fea3181723922a8a82b07", size = 5972659, upload-time = "2024-02-05T23:50:35.834Z" }, + { url = "https://files.pythonhosted.org/packages/19/77/538f202862b9183f54108557bfda67e17603fc560c384559e769321c9d92/numpy-1.26.4-cp310-cp310-win_amd64.whl", hash = "sha256:b97fe8060236edf3662adfc2c633f56a08ae30560c56310562cb4f95500022d5", size = 15808905, upload-time = "2024-02-05T23:51:03.701Z" }, + { url = "https://files.pythonhosted.org/packages/11/57/baae43d14fe163fa0e4c47f307b6b2511ab8d7d30177c491960504252053/numpy-1.26.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4c66707fabe114439db9068ee468c26bbdf909cac0fb58686a42a24de1760c71", size = 20630554, upload-time = "2024-02-05T23:51:50.149Z" }, + { url = "https://files.pythonhosted.org/packages/1a/2e/151484f49fd03944c4a3ad9c418ed193cfd02724e138ac8a9505d056c582/numpy-1.26.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:edd8b5fe47dab091176d21bb6de568acdd906d1887a4584a15a9a96a1dca06ef", size = 13997127, upload-time = "2024-02-05T23:52:15.314Z" }, + { url = "https://files.pythonhosted.org/packages/79/ae/7e5b85136806f9dadf4878bf73cf223fe5c2636818ba3ab1c585d0403164/numpy-1.26.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ab55401287bfec946ced39700c053796e7cc0e3acbef09993a9ad2adba6ca6e", size = 14222994, upload-time = "2024-02-05T23:52:47.569Z" }, + { url = "https://files.pythonhosted.org/packages/3a/d0/edc009c27b406c4f9cbc79274d6e46d634d139075492ad055e3d68445925/numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:666dbfb6ec68962c033a450943ded891bed2d54e6755e35e5835d63f4f6931d5", size = 18252005, upload-time = "2024-02-05T23:53:15.637Z" }, + { url = "https://files.pythonhosted.org/packages/09/bf/2b1aaf8f525f2923ff6cfcf134ae5e750e279ac65ebf386c75a0cf6da06a/numpy-1.26.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:96ff0b2ad353d8f990b63294c8986f1ec3cb19d749234014f4e7eb0112ceba5a", size = 13885297, upload-time = "2024-02-05T23:53:42.16Z" }, + { url = "https://files.pythonhosted.org/packages/df/a0/4e0f14d847cfc2a633a1c8621d00724f3206cfeddeb66d35698c4e2cf3d2/numpy-1.26.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:60dedbb91afcbfdc9bc0b1f3f402804070deed7392c23eb7a7f07fa857868e8a", size = 18093567, upload-time = "2024-02-05T23:54:11.696Z" }, + { url = "https://files.pythonhosted.org/packages/d2/b7/a734c733286e10a7f1a8ad1ae8c90f2d33bf604a96548e0a4a3a6739b468/numpy-1.26.4-cp311-cp311-win32.whl", hash = "sha256:1af303d6b2210eb850fcf03064d364652b7120803a0b872f5211f5234b399f20", size = 5968812, upload-time = "2024-02-05T23:54:26.453Z" }, + { url = "https://files.pythonhosted.org/packages/3f/6b/5610004206cf7f8e7ad91c5a85a8c71b2f2f8051a0c0c4d5916b76d6cbb2/numpy-1.26.4-cp311-cp311-win_amd64.whl", hash = "sha256:cd25bcecc4974d09257ffcd1f098ee778f7834c3ad767fe5db785be9a4aa9cb2", size = 15811913, upload-time = "2024-02-05T23:54:53.933Z" }, + { url = "https://files.pythonhosted.org/packages/95/12/8f2020a8e8b8383ac0177dc9570aad031a3beb12e38847f7129bacd96228/numpy-1.26.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:b3ce300f3644fb06443ee2222c2201dd3a89ea6040541412b8fa189341847218", size = 20335901, upload-time = "2024-02-05T23:55:32.801Z" }, + { url = "https://files.pythonhosted.org/packages/75/5b/ca6c8bd14007e5ca171c7c03102d17b4f4e0ceb53957e8c44343a9546dcc/numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:03a8c78d01d9781b28a6989f6fa1bb2c4f2d51201cf99d3dd875df6fbd96b23b", size = 13685868, upload-time = "2024-02-05T23:55:56.28Z" }, + { url = "https://files.pythonhosted.org/packages/79/f8/97f10e6755e2a7d027ca783f63044d5b1bc1ae7acb12afe6a9b4286eac17/numpy-1.26.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9fad7dcb1aac3c7f0584a5a8133e3a43eeb2fe127f47e3632d43d677c66c102b", size = 13925109, upload-time = "2024-02-05T23:56:20.368Z" }, + { url = "https://files.pythonhosted.org/packages/0f/50/de23fde84e45f5c4fda2488c759b69990fd4512387a8632860f3ac9cd225/numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:675d61ffbfa78604709862923189bad94014bef562cc35cf61d3a07bba02a7ed", size = 17950613, upload-time = "2024-02-05T23:56:56.054Z" }, + { url = "https://files.pythonhosted.org/packages/4c/0c/9c603826b6465e82591e05ca230dfc13376da512b25ccd0894709b054ed0/numpy-1.26.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ab47dbe5cc8210f55aa58e4805fe224dac469cde56b9f731a4c098b91917159a", size = 13572172, upload-time = "2024-02-05T23:57:21.56Z" }, + { url = "https://files.pythonhosted.org/packages/76/8c/2ba3902e1a0fc1c74962ea9bb33a534bb05984ad7ff9515bf8d07527cadd/numpy-1.26.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:1dda2e7b4ec9dd512f84935c5f126c8bd8b9f2fc001e9f54af255e8c5f16b0e0", size = 17786643, upload-time = "2024-02-05T23:57:56.585Z" }, + { url = "https://files.pythonhosted.org/packages/28/4a/46d9e65106879492374999e76eb85f87b15328e06bd1550668f79f7b18c6/numpy-1.26.4-cp312-cp312-win32.whl", hash = "sha256:50193e430acfc1346175fcbdaa28ffec49947a06918b7b92130744e81e640110", size = 5677803, upload-time = "2024-02-05T23:58:08.963Z" }, + { url = "https://files.pythonhosted.org/packages/16/2e/86f24451c2d530c88daf997cb8d6ac622c1d40d19f5a031ed68a4b73a374/numpy-1.26.4-cp312-cp312-win_amd64.whl", hash = "sha256:08beddf13648eb95f8d867350f6a018a4be2e5ad54c8d8caed89ebca558b2818", size = 15517754, upload-time = "2024-02-05T23:58:36.364Z" }, +] + +[[package]] +name = "openai" +version = "2.37.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/32/50/5901f01ef14e6c27788beb91e54fef5d6204fb5fb9e97402fc8a14de2e32/openai-2.37.0.tar.gz", hash = "sha256:f4bc562cc5f3a43d40d678105572d9d44765f6e0f50c125f63055419b72f4bd9", size = 754706, upload-time = "2026-05-15T22:30:35.428Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ed/4c/bce61680d0699a78a405fd9a67989b175ba020590428831aab2ab1d2be7c/openai-2.37.0-py3-none-any.whl", hash = "sha256:814633888b8f3b1ffd6615697c6e4ef93632d08b7c2e28c8c5ef3556e5a10107", size = 1303238, upload-time = "2026-05-15T22:30:32.767Z" }, +] + +[[package]] +name = "openai-agents" +version = "0.18.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "griffelib" }, + { name = "mcp" }, + { name = "openai" }, + { name = "pydantic" }, + { name = "requests" }, + { name = "typing-extensions" }, + { name = "websockets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e2/53/80500b9001a9cd06bd1f648b0e8ad074abc41899dce35810dce33dccd519/openai_agents-0.18.0.tar.gz", hash = "sha256:7971c7d2c3f4a1e14f552b288d83c24cca33f45cafa5821b2aaa12b77dbe24d9", size = 5509908, upload-time = "2026-07-07T06:02:35.583Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/04/c4/02a294f7511df2b110368ce36cb1c9132c542e446f04e8d0fde5db35fe53/openai_agents-0.18.0-py3-none-any.whl", hash = "sha256:4126b982b23598073e6e15305c4e515a80c0073e7beeb0895cd43611ea86f1b2", size = 859699, upload-time = "2026-07-07T06:02:33.706Z" }, +] + +[package.optional-dependencies] +litellm = [ + { name = "litellm" }, +] + +[[package]] +name = "openapi-schema-validator" +version = "0.8.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jsonschema" }, + { name = "jsonschema-specifications" }, + { name = "pydantic" }, + { name = "pydantic-settings" }, + { name = "referencing" }, + { name = "rfc3339-validator" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/21/4b/67b24b2b23d96ea862be2cca3632a546f67a22461200831213e80c3c6011/openapi_schema_validator-0.8.1.tar.gz", hash = "sha256:4c57266ce8cbfa37bb4eb4d62cdb7d19356c3a468e3535743c4562863e1790da", size = 23134, upload-time = "2026-03-02T08:46:29.807Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6f/87/e9f29f463b230d4b47d65e17858c595153a8ca8c1775f16e406aa82d455d/openapi_schema_validator-0.8.1-py3-none-any.whl", hash = "sha256:0f5859794c5bfa433d478dc5ac5e5768d50adc56b14380c8a6fd3a8113e89c9b", size = 19211, upload-time = "2026-03-02T08:46:28.154Z" }, +] + +[[package]] +name = "openapi-spec-validator" +version = "0.8.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jsonschema" }, + { name = "jsonschema-path" }, + { name = "lazy-object-proxy" }, + { name = "openapi-schema-validator" }, + { name = "pydantic" }, + { name = "pydantic-settings" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/79/3f/aa0c1150627b4e683ae5673486b7d5cf2623a8821601863ee389e430965a/openapi_spec_validator-0.8.5.tar.gz", hash = "sha256:93b04ef5321d5866b2502371123d86333e5c1444f051d323e02525d9e83c7622", size = 1756845, upload-time = "2026-04-24T15:25:21.334Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/64/96/d7dfe1cc0be2df22d7a97ffb0f8bb00b10d92749aa6e64ffa7cc9a041580/openapi_spec_validator-0.8.5-py3-none-any.whl", hash = "sha256:3669106361856934153991e30714616a294865a33f6411a4c25d1dc2d08cfbc2", size = 50334, upload-time = "2026-04-24T15:25:19.65Z" }, +] + +[[package]] +name = "openinference-instrumentation" +version = "0.1.54" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "openinference-semantic-conventions" }, + { name = "opentelemetry-api" }, + { name = "opentelemetry-sdk" }, + { name = "wrapt" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c1/cc/62c1175ee7edc2cbdf95b5b73e0b0f305e759d407bf1bc353ff30a763365/openinference_instrumentation-0.1.54.tar.gz", hash = "sha256:9af9817bb38816ed32856fb4cd813c1a5d9f530ab589c3473b37e06cf406ab28", size = 33938, upload-time = "2026-06-30T19:23:15.648Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/38/e3/c7aa7bb4845e0cfdf477ff87f9a3ec0cd2aa55a34a9f31be84d724cabbb7/openinference_instrumentation-0.1.54-py3-none-any.whl", hash = "sha256:8bc991865c90c804ac9983ef93aa6081a7a2397dd113d3d38b5465cca17892bb", size = 41197, upload-time = "2026-06-30T19:23:14.315Z" }, +] + +[[package]] +name = "openinference-instrumentation-openai" +version = "0.1.52" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "openinference-instrumentation" }, + { name = "openinference-semantic-conventions" }, + { name = "opentelemetry-api" }, + { name = "opentelemetry-instrumentation" }, + { name = "opentelemetry-semantic-conventions" }, + { name = "typing-extensions" }, + { name = "wrapt" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f2/90/c81c7426cb9dca075cef1b5fe16f58c68604b7518f7aaa14d837ec80fde3/openinference_instrumentation_openai-0.1.52.tar.gz", hash = "sha256:5a3dceb742209463e33ab2a4aa82f56bedfa20c25c738de28248509931044ea1", size = 23087, upload-time = "2026-06-11T17:13:35.517Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9b/ff/10d75f37dd006072db725d36a30b343386d6404526eeda877bbe37157abe/openinference_instrumentation_openai-0.1.52-py3-none-any.whl", hash = "sha256:aa96d41cb755e0d9b3d5a09331d991b7424c017c107d0bf196b03d3e5a7dc475", size = 30532, upload-time = "2026-06-11T17:13:34.327Z" }, +] + +[[package]] +name = "openinference-semantic-conventions" +version = "0.1.30" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2c/51/8ba1182ee86fc79793d5ff2d11e7fdcda10ded2d01f3e46ca6fcf0568213/openinference_semantic_conventions-0.1.30.tar.gz", hash = "sha256:81fece76e09c83789e35c393b8b30523481eeabf1008745b955631a53e3221d9", size = 13391, upload-time = "2026-05-22T21:10:44.065Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b6/76/5b7e78cf0de38589b821bbe8e9c29c59a6e76edfb980488d0854cbb90f7c/openinference_semantic_conventions-0.1.30-py3-none-any.whl", hash = "sha256:36d946d3f95f699b7c4b12324ae9c1f02d6c7750df11eece56aa159cff430b3d", size = 10911, upload-time = "2026-05-22T21:10:43.04Z" }, +] + +[[package]] +name = "opentelemetry-api" +version = "1.41.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "importlib-metadata" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/fa/fc/b7564cbef36601aef0d6c9bc01f7badb64be8e862c2e1c3c5c3b43b53e4f/opentelemetry_api-1.41.1.tar.gz", hash = "sha256:0ad1814d73b875f84494387dae86ce0b12c68556331ce6ce8fe789197c949621", size = 71416, upload-time = "2026-04-24T13:15:38.262Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/29/59/3e7118ed140f76b0982ba4321bdaed1997a0473f9720de2d10788a577033/opentelemetry_api-1.41.1-py3-none-any.whl", hash = "sha256:a22df900e75c76dc08440710e51f52f1aa6b451b429298896023e60db5b3139f", size = 69007, upload-time = "2026-04-24T13:15:15.662Z" }, +] + +[[package]] +name = "opentelemetry-exporter-otlp-proto-common" +version = "1.41.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-proto" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ae/fa/f9e3bd3c4d692b3ce9a2880a167d1f79681a1bea11f00d5bf76adc03e6ea/opentelemetry_exporter_otlp_proto_common-1.41.1.tar.gz", hash = "sha256:0e253156ea9c36b0bd3d2440c5c9ba7dd1f3fb64ba7a08fc85fbac536b56e1fb", size = 20409, upload-time = "2026-04-24T13:15:40.924Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/29/48/bce76d3ea772b609757e9bc844e02ab408a6446609bf74fb562062ba6b71/opentelemetry_exporter_otlp_proto_common-1.41.1-py3-none-any.whl", hash = "sha256:10da74dad6a49344b9b7b21b6182e3060373a235fde1528616d5f01f92e66aa9", size = 18366, upload-time = "2026-04-24T13:15:18.917Z" }, +] + +[[package]] +name = "opentelemetry-exporter-otlp-proto-grpc" +version = "1.41.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "googleapis-common-protos" }, + { name = "grpcio" }, + { name = "opentelemetry-api" }, + { name = "opentelemetry-exporter-otlp-proto-common" }, + { name = "opentelemetry-proto" }, + { name = "opentelemetry-sdk" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1e/9b/e4503060b8695579dbaad187dc8cef4554188de68748c88060599b77489e/opentelemetry_exporter_otlp_proto_grpc-1.41.1.tar.gz", hash = "sha256:b05df8fa1333dc9a3fda36b676b96b5095ab6016d3f0c3296d430d629ba1443b", size = 25755, upload-time = "2026-04-24T13:15:41.93Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ac/f2/c54f33c92443d087703e57e52e55f22f111373a5c4c4aa349ea60efe512e/opentelemetry_exporter_otlp_proto_grpc-1.41.1-py3-none-any.whl", hash = "sha256:537926dcef951136992479af1d9cd88f25e33d56c530e9f020ed57774dca2f94", size = 20297, upload-time = "2026-04-24T13:15:20.212Z" }, +] + +[[package]] +name = "opentelemetry-exporter-otlp-proto-http" +version = "1.41.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "googleapis-common-protos" }, + { name = "opentelemetry-api" }, + { name = "opentelemetry-exporter-otlp-proto-common" }, + { name = "opentelemetry-proto" }, + { name = "opentelemetry-sdk" }, + { name = "requests" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/33/5b/9d3c7f70cca10136ba82a81e738dee626c8e7fc61c6887ea9a58bf34c606/opentelemetry_exporter_otlp_proto_http-1.41.1.tar.gz", hash = "sha256:4747a9604c8550ab38c6fd6180e2fcb80de3267060bef2c306bad3cb443302bc", size = 24139, upload-time = "2026-04-24T13:15:42.977Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ba/4d/ef07ff2fc630849f2080ae0ae73a61f67257905b7ac79066640bfa0c5739/opentelemetry_exporter_otlp_proto_http-1.41.1-py3-none-any.whl", hash = "sha256:1a21e8f49c7a946d935551e90947d6c3eb39236723c6624401da0f33d68edcb4", size = 22673, upload-time = "2026-04-24T13:15:21.313Z" }, +] + +[[package]] +name = "opentelemetry-instrumentation" +version = "0.62b1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-semantic-conventions" }, + { name = "packaging" }, + { name = "wrapt" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/52/cb/0523b92c112a6cc70be43724343dc45225d3af134419844d7879a07755d4/opentelemetry_instrumentation-0.62b1.tar.gz", hash = "sha256:90e92a905ba4f84db06ac3aec96701df6c079b2d66e9379f8739f0a1bdcc7f45", size = 34043, upload-time = "2026-04-24T13:22:31.997Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4d/0f/45adbaea1f81b847cffdcee4f4b5f89297e42facf7fac78c7aaac4c38e75/opentelemetry_instrumentation-0.62b1-py3-none-any.whl", hash = "sha256:976fc6e640f2006599e97429c949e622c108d0c17c2059347d1e6c93c707f257", size = 34163, upload-time = "2026-04-24T13:21:31.722Z" }, +] + +[[package]] +name = "opentelemetry-instrumentation-openai-v2" +version = "2.4b0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-instrumentation" }, + { name = "opentelemetry-semantic-conventions" }, + { name = "opentelemetry-util-genai" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/07/5f/d034617f70dbf2a92048b0c3536bc1cce10f88adefd43fd75abd51d918b1/opentelemetry_instrumentation_openai_v2-2.4b0.tar.gz", hash = "sha256:571a2febd05b15808d7c777455d5a74c9abe08c694cb9827a98c5b4258f2adf1", size = 190742, upload-time = "2026-05-01T17:41:50.929Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c3/ed/2e8f3348dfad1dc18c01c2bbc275694e6e6f0c85ccb56257b5516e5af702/opentelemetry_instrumentation_openai_v2-2.4b0-py3-none-any.whl", hash = "sha256:c0c65fe4593fdcb466b55c047138ec71d28a5a3f36c3f0c2c5738343daa31d5c", size = 28027, upload-time = "2026-05-01T17:41:49.768Z" }, +] + +[[package]] +name = "opentelemetry-instrumentation-threading" +version = "0.62b1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-instrumentation" }, + { name = "wrapt" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e7/2d/2537d5990fa341198cbc8ae70b2c3637037061b8ab1196af1d924a275f55/opentelemetry_instrumentation_threading-0.62b1.tar.gz", hash = "sha256:4b3c876907657e3b8b977bfe15d248f2c02db56302c51883724e7ac2f8ce26d2", size = 9180, upload-time = "2026-04-24T13:23:06.15Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/aa/37/a80fb13b76f85b4e433ff44b4ba177615823c36c28dca12e94d2c37de681/opentelemetry_instrumentation_threading-0.62b1-py3-none-any.whl", hash = "sha256:4596e79c47de122eb2e85877c1a8bfed1cd6ab06bd2c29d120ebcf8a708a433a", size = 9335, upload-time = "2026-04-24T13:22:19.419Z" }, +] + +[[package]] +name = "opentelemetry-proto" +version = "1.41.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/99/e8/633c6d8a9c8840338b105907e55c32d3da1983abab5e52f899f72a82c3d1/opentelemetry_proto-1.41.1.tar.gz", hash = "sha256:4b9d2eb631237ea43b80e16c073af438554e32bc7e9e3f8ca4a9582f900020e5", size = 45670, upload-time = "2026-04-24T13:15:49.768Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e4/1e/5cd77035e3e82070e2265a63a760f715aacd3cb16dddc7efee913f297fcc/opentelemetry_proto-1.41.1-py3-none-any.whl", hash = "sha256:0496713b804d127a4147e32849fbaf5683fac8ee98550e8e7679cd706c289720", size = 72076, upload-time = "2026-04-24T13:15:32.542Z" }, +] + +[[package]] +name = "opentelemetry-sdk" +version = "1.41.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-semantic-conventions" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/58/d0/54ee30dab82fb0acda23d144502771ff76ef8728459c83c3e89ef9fb1825/opentelemetry_sdk-1.41.1.tar.gz", hash = "sha256:724b615e1215b5aeacda0abb8a6a8922c9a1853068948bd0bd225a56d0c792e6", size = 230180, upload-time = "2026-04-24T13:15:50.991Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b4/e7/a1420b698aad018e1cf60fdbaaccbe49021fb415e2a0d81c242f4c518f54/opentelemetry_sdk-1.41.1-py3-none-any.whl", hash = "sha256:edee379c126c1bce952b0c812b48fe8ff35b30df0eecf17e98afa4d598b7d85d", size = 180213, upload-time = "2026-04-24T13:15:33.767Z" }, +] + +[[package]] +name = "opentelemetry-semantic-conventions" +version = "0.62b1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9e/de/911ac9e309052aca1b20b2d5549d3db45d1011e1a610e552c6ccdd1b64f8/opentelemetry_semantic_conventions-0.62b1.tar.gz", hash = "sha256:c5cc6e04a7f8c7cdd30be2ed81499fa4e75bfbd52c9cb70d40af1f9cd3619802", size = 145750, upload-time = "2026-04-24T13:15:52.236Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/a6/83dc2ab6fa397ee66fba04fe2e74bdf7be3b3870005359ceb7689103c058/opentelemetry_semantic_conventions-0.62b1-py3-none-any.whl", hash = "sha256:cf506938103d331fbb78eded0d9788095f7fd59016f2bda813c3324e5a74a93c", size = 231620, upload-time = "2026-04-24T13:15:35.454Z" }, +] + +[[package]] +name = "opentelemetry-util-genai" +version = "0.4b0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-instrumentation" }, + { name = "opentelemetry-semantic-conventions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e8/54/545527aba649f6b8aba7b70c855db9089a2b8f234bd6c19beffa73a3163d/opentelemetry_util_genai-0.4b0.tar.gz", hash = "sha256:0235b03c5b3cb5efe5d3c16a5a68e82be34e6530d6707cf1cf122413578c2036", size = 47385, upload-time = "2026-05-01T17:29:17.055Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e8/50/0b86c4159a74802a917fcc2adf22f1af522f03805cc049415221207249e8/opentelemetry_util_genai-0.4b0-py3-none-any.whl", hash = "sha256:ac26db52ad1d86ce3e4ac183f204c37a6e66fdb6d86b71feee60468bcb32ef13", size = 42848, upload-time = "2026-05-01T17:29:15.839Z" }, +] + +[[package]] +name = "orjson" +version = "3.11.9" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7e/0c/964746fcafbd16f8ff53219ad9f6b412b34f345c75f384ad434ceaadb538/orjson-3.11.9.tar.gz", hash = "sha256:4fef17e1f8722c11587a6ef18e35902450221da0028e65dbaaa543619e68e48f", size = 5599163, upload-time = "2026-05-06T15:11:08.309Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/10/5d/b95ca542a001135cc250a49370f282f578c8f4e46cc8617d73775297eea8/orjson-3.11.9-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:135869ef917b8704ea0a94e01620e0c05021c15c52036e4663baffe75e72f8ce", size = 228986, upload-time = "2026-05-06T15:09:14.765Z" }, + { url = "https://files.pythonhosted.org/packages/80/01/be33fbff646e22f93398429ea645f20d2097aea1a6cdc1e6628e70125f83/orjson-3.11.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:115ab5f5f4a0f203cc2a5f0fb09aee503a3f771aa08392949ab5ca230c4fbdbd", size = 132558, upload-time = "2026-05-06T15:09:17.431Z" }, + { url = "https://files.pythonhosted.org/packages/4e/61/73d49333bba660a075daccca10970dc6409ce1cf42ae4046646a19468aad/orjson-3.11.9-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4da3c38a2083ca4aaf9c2a36776cce3e9328e6647b10d118948f3cfb4913ffe4", size = 128213, upload-time = "2026-05-06T15:09:18.719Z" }, + { url = "https://files.pythonhosted.org/packages/1f/7d/30e844b3dac3f74aed66b1f984daf9db3c98c0328c03d965a9e8dc06449e/orjson-3.11.9-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:53b50b0e14084b8f7e29c5ce84c5af0f1160169b30d8a6914231d97d2fe297d4", size = 135430, upload-time = "2026-05-06T15:09:20.257Z" }, + { url = "https://files.pythonhosted.org/packages/16/64/bd815f5c610b3facc204f26ba94e87a9eb49b0d83de3d5fc1eee2402d91b/orjson-3.11.9-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:231742b4a11dad8d5380a435962c57e91b7c37b79be858f4ef1c0df1a259897e", size = 146178, upload-time = "2026-05-06T15:09:21.616Z" }, + { url = "https://files.pythonhosted.org/packages/c7/35/e744fd36c79b339d27beb06068b5a08a8882ef5418804d0ce545a31f718d/orjson-3.11.9-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:34fd2317602587321faab75ab76c623a0117e80841a6413654f04e47f339a8fb", size = 133068, upload-time = "2026-05-06T15:09:23.228Z" }, + { url = "https://files.pythonhosted.org/packages/2a/56/d54152b67b63a0b3e556cfc549d6ce84f74d7f425ddeadc6c8a74d913da7/orjson-3.11.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:71f3db16e69b667b132e0f305a833d5497da302d801508cbb051ed9a9819da47", size = 134217, upload-time = "2026-05-06T15:09:24.847Z" }, + { url = "https://files.pythonhosted.org/packages/0b/ee/66154baf69f71c7164a268a5e888908aec5a0819d13c81d5e2755a257758/orjson-3.11.9-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:0b34789fa0da61cf7bef0546b09c738fb195331e017e477096d129e9105ab03d", size = 141917, upload-time = "2026-05-06T15:09:26.647Z" }, + { url = "https://files.pythonhosted.org/packages/09/d3/c5824260ca8b9d7ba82648d042a3f8f4815d18c15bb98a1f30edd1bb2d83/orjson-3.11.9-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:87e4d4ab280b0c87424d47695bec2182caf8cfc17879ea78dab76680194abc13", size = 415356, upload-time = "2026-05-06T15:09:28.252Z" }, + { url = "https://files.pythonhosted.org/packages/64/cb/509c2e816fe4df641d93dc92f6a89adc8df3ada8ebdee2bd44aba3264c3c/orjson-3.11.9-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:ace6c58523302d3b97b6ac5c38a5298a54b473762b6be82726b4265c41029f92", size = 148112, upload-time = "2026-05-06T15:09:29.783Z" }, + { url = "https://files.pythonhosted.org/packages/db/b5/3ceae56d2e4962979eedb023ba6a46a4bb65f333960379be0ca470686220/orjson-3.11.9-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:97d0d932803c1b164fde11cb542a9efcb1e0f63b184537cca65887147906ff48", size = 137112, upload-time = "2026-05-06T15:09:31.432Z" }, + { url = "https://files.pythonhosted.org/packages/d7/7a/81fa3f2c7bef79b04cf2ab7838e5ac74b1f12511ceab979759b0275d6bb4/orjson-3.11.9-cp310-cp310-win32.whl", hash = "sha256:b3afcf569c15577a9fe64627292daa3e6b3a70f4fb77a5df246a87ec21681b94", size = 131706, upload-time = "2026-05-06T15:09:32.707Z" }, + { url = "https://files.pythonhosted.org/packages/ae/d8/b64600f9083c7f151ad39717a5877fccbeb0ef6d7efcb55f971ce00b6bee/orjson-3.11.9-cp310-cp310-win_amd64.whl", hash = "sha256:8697ab6a080a5c46edaad50e2bc5bd8c7ca5c66442d24104fa44ec74910a8244", size = 127282, upload-time = "2026-05-06T15:09:33.955Z" }, + { url = "https://files.pythonhosted.org/packages/1e/51/3fb9e65ae76ee97bd611869a503fa3fc0a6e81dd8b737cf3003f682df7ff/orjson-3.11.9-cp311-cp311-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:f01c4818b3fc9b0da8e096722a84318071eaa118df35f6ed2344da0e73a5444f", size = 228522, upload-time = "2026-05-06T15:09:35.362Z" }, + { url = "https://files.pythonhosted.org/packages/16/fa/9d54b07cb3f3b0bfd57841478e42d7a0ece4a9f49f9907eecf5a45461687/orjson-3.11.9-cp311-cp311-macosx_15_0_arm64.whl", hash = "sha256:3ebca4179031ee716ed076ffadc29428e900512f6fccee8614c9983157fcf19c", size = 128463, upload-time = "2026-05-06T15:09:37.063Z" }, + { url = "https://files.pythonhosted.org/packages/88/b1/6ceafc2eefd0a553e3be77ce6c49d107e772485d9568629376171c50e634/orjson-3.11.9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:48ee05097750de0ff69ed5b7bbcf0732182fd57a24043dcc2a1da780a5ead3a5", size = 132306, upload-time = "2026-05-06T15:09:38.299Z" }, + { url = "https://files.pythonhosted.org/packages/ea/76/f11311285324a40aab1e3031385c50b635a7cd0734fdaf60c7e89a696f60/orjson-3.11.9-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a6082706765a95a6680d812e1daf1c0cfe8adec7831b3ff3b625693f3b461b1c", size = 127988, upload-time = "2026-05-06T15:09:39.597Z" }, + { url = "https://files.pythonhosted.org/packages/9e/85/0ef63bcf1337f44031ce9b91b1919563f62a37527b3ea4368bb15a22e5d7/orjson-3.11.9-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:277fefe9d76ee17eb14debf399e3533d4d63b5f677a4d3719eb763536af1f4bd", size = 135188, upload-time = "2026-05-06T15:09:40.957Z" }, + { url = "https://files.pythonhosted.org/packages/05/94/b0d27090ea8a2095db3c2bd1b1c96f96f19bbb494d7fef33130e846e613d/orjson-3.11.9-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:03db380e3780fa0015ed776a90f20e8e20bb11dde13b216ce19e5718e3dfba62", size = 145937, upload-time = "2026-05-06T15:09:42.249Z" }, + { url = "https://files.pythonhosted.org/packages/09/eb/75d50c29c05b8054013e221e598820a365c8e64065312e75e202ed880709/orjson-3.11.9-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:33d7d766701847dc6729846362dc27895d2f2d2251264f9d10e7cb9878194877", size = 132758, upload-time = "2026-05-06T15:09:43.945Z" }, + { url = "https://files.pythonhosted.org/packages/49/bd/360686f39348aa88827cb6fbf7dc606fd41c831a35235e1abf1db8e3a9e6/orjson-3.11.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:147302878da387104b66bb4a8b0227d1d487e976ce41a8501916161072ed87b1", size = 133971, upload-time = "2026-05-06T15:09:45.239Z" }, + { url = "https://files.pythonhosted.org/packages/0e/30/3178eb16f3221aeef068b6f1f1ebe05f656ea5c6dffe9f6c917329fe17a3/orjson-3.11.9-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:3513550321f8c8c811a7c3297b8a630e82dc08e4c10216d07703c997776236cd", size = 141685, upload-time = "2026-05-06T15:09:46.858Z" }, + { url = "https://files.pythonhosted.org/packages/5f/f1/ff2f19ed0225f9680fafa42febca3570dd59444ebf190980738d376214c2/orjson-3.11.9-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:c5d001196b89fa9cf0a4ab79766cd835b991a166e4b621ba95089edc50c429ff", size = 415167, upload-time = "2026-05-06T15:09:48.312Z" }, + { url = "https://files.pythonhosted.org/packages/9b/61/863bddf0da6e9e586765414debd54b4e58db05f560902b6d00658cb88636/orjson-3.11.9-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:16969c9d369c98eb084889c6e4d2d39b77c7eb38ceccf8da2a9fff62ae908980", size = 147913, upload-time = "2026-05-06T15:09:49.733Z" }, + { url = "https://files.pythonhosted.org/packages/b6/8a/4081492586d75b073d60c5271a8d0f05a0955cabf1e34c8473f6fcd84235/orjson-3.11.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:63e0efbc991250c0b3143488fa57d95affcabbfc63c99c48d625dd37779aafe2", size = 136959, upload-time = "2026-05-06T15:09:51.311Z" }, + { url = "https://files.pythonhosted.org/packages/0d/bd/70b6ab193594d7abb875320c0a7c8335e846f28968c432c31042409c3c8d/orjson-3.11.9-cp311-cp311-win32.whl", hash = "sha256:14ed654580c1ed2bc217352ec82f91b047aef82951aa71c7f64e0dcb03c0e180", size = 131533, upload-time = "2026-05-06T15:09:52.637Z" }, + { url = "https://files.pythonhosted.org/packages/3f/17/1a1a228183d62d1b77e2c30d210f47dd4768b310ebe1607c63e3c0e3a71e/orjson-3.11.9-cp311-cp311-win_amd64.whl", hash = "sha256:57ea77fb70a448ce87d18fca050193202a3da5e54598f6501ca5476fb66cfe02", size = 127106, upload-time = "2026-05-06T15:09:54.204Z" }, + { url = "https://files.pythonhosted.org/packages/b8/95/285de5fa296d09681ee9c546cd4a8aeb773b701cf343dc125994f4d52953/orjson-3.11.9-cp311-cp311-win_arm64.whl", hash = "sha256:19b72ed11572a2ee51a67a903afbe5af504f84ed6f529c0fe44b0ab3fb5cc697", size = 126848, upload-time = "2026-05-06T15:09:55.551Z" }, + { url = "https://files.pythonhosted.org/packages/16/6d/11867a3ffa3a3608d84a4de51ef4dd0896d6b5cc9132fbe1daf593e677bc/orjson-3.11.9-cp312-cp312-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:9ef6fe90aadef185c7b128859f40beb24720b4ecea95379fc9000931179c3a49", size = 228515, upload-time = "2026-05-06T15:09:57.265Z" }, + { url = "https://files.pythonhosted.org/packages/24/75/05912954c8b288f34fcf5cd4b9b071cb4f6e77b9961e175e56ebb258089f/orjson-3.11.9-cp312-cp312-macosx_15_0_arm64.whl", hash = "sha256:e5c9b8f28e726e97d97696c826bc7bea5d71cecd63576dba92924a32c1961291", size = 128409, upload-time = "2026-05-06T15:09:59.063Z" }, + { url = "https://files.pythonhosted.org/packages/ab/86/1c3a47df3bc8191ea9ac51603bbb872a95167a364320c269f2557911f406/orjson-3.11.9-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:26a473dbb4162108b27901492546f83c76fdcea3d0eadff00ae7a07e18dcce09", size = 132106, upload-time = "2026-05-06T15:10:00.798Z" }, + { url = "https://files.pythonhosted.org/packages/d7/cf/b33b5f3e695ae7d63feef9d915c37cc3b8f465493dcd4f8e0b4c697a2366/orjson-3.11.9-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:011382e2a60fda9d46f1cdee31068cfc52ffe952b587d683ec0463002802a0f4", size = 127864, upload-time = "2026-05-06T15:10:02.15Z" }, + { url = "https://files.pythonhosted.org/packages/31/6a/6cf69385a58208024fcb8c014e2141b8ce838aba6492b589f8acfff97fab/orjson-3.11.9-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c2d3dc759490128c5c1711a53eeaa8ee1d437fd0038ffd2b6008abf46db3f882", size = 135213, upload-time = "2026-05-06T15:10:03.515Z" }, + { url = "https://files.pythonhosted.org/packages/e8/f8/0b1bd3e8f2efcdd376af5c8cfd79eaf13f018080c0089c80ebd724e3c7fb/orjson-3.11.9-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d8ea516b3726d190e1b4297e6f4e7a8650347ae053868a18163b4dd3641d1fff", size = 145994, upload-time = "2026-05-06T15:10:05.083Z" }, + { url = "https://files.pythonhosted.org/packages/f3/59/dab79f61044c529d2c81aecdc589b1f833a1c8dec11ba3b1c2498a02ca7e/orjson-3.11.9-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:380cdce7ba24989af81d0a7013d0aaec5d0e2a21734c0e2681b1bc4f141957fe", size = 132744, upload-time = "2026-05-06T15:10:06.853Z" }, + { url = "https://files.pythonhosted.org/packages/0e/a4/82b7a2fe5d8a67a59ed831b24d59a3d46ea7d207b66e1602d376541d94a6/orjson-3.11.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:be4fa4f0af7fa18951f7ab3fc2148e223af211bf03f59e1c6034ec3f97f21d61", size = 134014, upload-time = "2026-05-06T15:10:08.213Z" }, + { url = "https://files.pythonhosted.org/packages/50/c7/375e83a76851b73b2e39f3bcf0e5a19e2b89bad13e5bca97d0b293d27f24/orjson-3.11.9-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a8f5f8bc7ce7d59f08d9f99fa510c06496164a24cb5f3d34537dbd9ca30132e2", size = 141509, upload-time = "2026-05-06T15:10:09.595Z" }, + { url = "https://files.pythonhosted.org/packages/7f/7c/49d5d82a3d3097f641f094f552131f1e2723b0b8cb0fa2874ab65ecfffa6/orjson-3.11.9-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:4d7fde5501b944f83b3e665e1b31343ff6e154b15560a16b7130ea1e594a4206", size = 415127, upload-time = "2026-05-06T15:10:11.049Z" }, + { url = "https://files.pythonhosted.org/packages/3a/dc/7446c538590d55f455647e5f3c61fc33f7108714e7afcffa6a2a033f8350/orjson-3.11.9-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:cde1a448023ba7d5bb4c01c5afb48894380b5e4956e0627266526587ef4e535f", size = 148025, upload-time = "2026-05-06T15:10:12.842Z" }, + { url = "https://files.pythonhosted.org/packages/df/e5/4d2d8af06f788329b4f78f8cc3679bb395392fcaa1e4d8d3c33e85308fa4/orjson-3.11.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:71e63adb0e1f1ed5d9e168f50a91ceb93ae6420731d222dc7da5c69409aa47aa", size = 136943, upload-time = "2026-05-06T15:10:14.405Z" }, + { url = "https://files.pythonhosted.org/packages/06/69/850264ccf6d80f6b174620d30a87f65c9b1490aba33fe6b62798e618cad3/orjson-3.11.9-cp312-cp312-win32.whl", hash = "sha256:2d057a602cdd19a0ad680417527c45b6961a095081c0f46fe0e03e304aac6470", size = 131606, upload-time = "2026-05-06T15:10:15.791Z" }, + { url = "https://files.pythonhosted.org/packages/b9/d5/973a43fc9c55e20f2051e9830997649f669be0cb3ca52192087c0143f118/orjson-3.11.9-cp312-cp312-win_amd64.whl", hash = "sha256:59e403b1cc5a676da8eaf31f6254801b7341b3e29efa85f92b48d272637e77be", size = 127101, upload-time = "2026-05-06T15:10:17.129Z" }, + { url = "https://files.pythonhosted.org/packages/fe/ae/495470f0e4a18f73fa10b7f6b84b464ec4cc5291c4e0c7c2a6c400bef006/orjson-3.11.9-cp312-cp312-win_arm64.whl", hash = "sha256:9af678d6488357948f1f84c6cd1c1d397c014e1ae2f98ae082a44eb48f602624", size = 126736, upload-time = "2026-05-06T15:10:18.645Z" }, + { url = "https://files.pythonhosted.org/packages/32/33/93fcc25907235c344ae73122f8a4e01d2d393ef062b4af7d2e2487a32c37/orjson-3.11.9-cp313-cp313-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:4bab1b2d6141fe7b32ae71dac905666ece4f94936efbfb13d55bb7739a3a6021", size = 228458, upload-time = "2026-05-06T15:10:20.079Z" }, + { url = "https://files.pythonhosted.org/packages/8f/27/b1e6dadb3c080313c03fdd8067b85e6a0460c7d8d6a1c3984ef77b904e4d/orjson-3.11.9-cp313-cp313-macosx_15_0_arm64.whl", hash = "sha256:844417969855fc7a41be124aafe83dc424592a7f77cd4501900c67307122b92c", size = 128368, upload-time = "2026-05-06T15:10:21.549Z" }, + { url = "https://files.pythonhosted.org/packages/21/0f/c9ede0bf052f6b4051e64a7d4fa91b725cccf8321a6a786e86eb03519f00/orjson-3.11.9-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ffe02797b5e9f3a9d8292ddcd289b474ad13e81ad83cd1891a240811f1d2cb81", size = 132070, upload-time = "2026-05-06T15:10:23.371Z" }, + { url = "https://files.pythonhosted.org/packages/fd/26/d398e28048dc18205bbe812f2c88cb9b40313db2470778e25964796458fe/orjson-3.11.9-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:0e4eed3b200023042814d2fc8a5d2e880f13b52e1ed2485e83da4f3962f7dc1a", size = 127892, upload-time = "2026-05-06T15:10:24.714Z" }, + { url = "https://files.pythonhosted.org/packages/66/60/52b0054c4c700d5aa7fc5b7ca96917400d8f061307778578e67a10e25852/orjson-3.11.9-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8aff7da9952a5ad1cef8e68017724d96c7b9a66e99e91d6252e1b133d67a7b10", size = 135217, upload-time = "2026-05-06T15:10:26.084Z" }, + { url = "https://files.pythonhosted.org/packages/d5/97/1e3dc2b2a28b7b2528f403d2fc1d79ec5f39af3bc143ab65d3ec26426385/orjson-3.11.9-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4d4e98d6f3b8afed8bc8cd9718ec0cdf46661826beefb53fe8eafb37f2bf0362", size = 145980, upload-time = "2026-05-06T15:10:28.062Z" }, + { url = "https://files.pythonhosted.org/packages/fc/39/31fbfe7850f2de32dee7e7e5c09f26d403ab01e440ac96001c6b01ad3c99/orjson-3.11.9-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3a81d52442a7c99b3662333235b3adf96a1715864658b35bb797212be7bddb97", size = 132738, upload-time = "2026-05-06T15:10:29.727Z" }, + { url = "https://files.pythonhosted.org/packages/a1/08/dca0082dd2a194acb93e5457e73455388e2e2ca464a2672449a9ddbb679d/orjson-3.11.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4e39364e726a8fff737309aff059ff67d8a8c8d5b677be7bb49a8b3e84b7e218", size = 134033, upload-time = "2026-05-06T15:10:31.152Z" }, + { url = "https://files.pythonhosted.org/packages/11/d4/5bdb0626801230139987385554c5d4c42255218ac906525bf4347f22cd95/orjson-3.11.9-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4fd66214623f1b17501df9f0543bef0b833979ab5b6ded1e1d123222866aa8c9", size = 141492, upload-time = "2026-05-06T15:10:32.641Z" }, + { url = "https://files.pythonhosted.org/packages/fa/88/a21fb53b3ede6703aede6dce4710ed4111e5b201cfa6bbff5e544f9d47d7/orjson-3.11.9-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:8ecc30f10465fa1e0ce13fd01d9e22c316e5053a719a8d915d4545a09a5ff677", size = 415087, upload-time = "2026-05-06T15:10:34.438Z" }, + { url = "https://files.pythonhosted.org/packages/3d/57/1b30daf70f0d8180e9a73cefbfbdd99e4bf19eb020466502b01fba7e0e50/orjson-3.11.9-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:97db4c94a7db398a5bd636273324f0b3fd58b350bbbac8bb380ceb825a9b40f4", size = 148031, upload-time = "2026-05-06T15:10:36.358Z" }, + { url = "https://files.pythonhosted.org/packages/04/83/45fbb6d962e260807f99441db9613cee868ceda4baceda59b3720a563f97/orjson-3.11.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9f78cf8fec5bd627f4082b8dfeac7871b43d7f3274904492a43dab39f18a19a0", size = 136915, upload-time = "2026-05-06T15:10:38.013Z" }, + { url = "https://files.pythonhosted.org/packages/5f/cc/2d10025f9056d376e4127ec05a5808b218d46f035fdc08178a5411b34250/orjson-3.11.9-cp313-cp313-win32.whl", hash = "sha256:d4087e5c0209a0a8efe4de3303c234b9c44d1174161dcd851e8eea07c7560b32", size = 131613, upload-time = "2026-05-06T15:10:39.569Z" }, + { url = "https://files.pythonhosted.org/packages/67/bd/2775ff28bfe883b9aa1ff348300542eb2ef1ee18d8ae0e3a49846817a865/orjson-3.11.9-cp313-cp313-win_amd64.whl", hash = "sha256:051b102c93b4f634e89f3866b07b9a9a98915ada541f4ec30f177067b2694979", size = 127086, upload-time = "2026-05-06T15:10:41.262Z" }, + { url = "https://files.pythonhosted.org/packages/91/2b/d26799e580939e32a7da9a39531bc9e58e15ca32ffaa6a8cb3e9bb0d22cd/orjson-3.11.9-cp313-cp313-win_arm64.whl", hash = "sha256:cce9127885941bd28f080cecf1f1d288336b7e0d812c345b08be88b572796254", size = 126696, upload-time = "2026-05-06T15:10:42.651Z" }, + { url = "https://files.pythonhosted.org/packages/8e/eb/5da01e356015aee6ecfa1187ced87aef51364e306f5e695dd52719bf0e78/orjson-3.11.9-cp314-cp314-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:b6ef1979adc4bc243523f1a2ba91418030a8e29b0a99cbe7e0e2d6807d4dce6e", size = 228465, upload-time = "2026-05-06T15:10:44.097Z" }, + { url = "https://files.pythonhosted.org/packages/64/62/3e0e0c14c957133bcd855395c62b55ed4e3b0af23ffea11b032cb1dcbdb1/orjson-3.11.9-cp314-cp314-macosx_15_0_arm64.whl", hash = "sha256:f36b7f32c7c0db4a719f1fc5824db4a9c6f8bd1a354debb91faf26ebf3a4c71e", size = 128364, upload-time = "2026-05-06T15:10:45.839Z" }, + { url = "https://files.pythonhosted.org/packages/5a/5a/07d8aa117211a8ed7630bda80c8c0b14d04e0f8dcf99bcf49656e4a710eb/orjson-3.11.9-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:08f4d8ebb44925c794e535b2bebc507cebf32209df81de22ae285fb0d8d66de0", size = 132063, upload-time = "2026-05-06T15:10:47.267Z" }, + { url = "https://files.pythonhosted.org/packages/d6/ec/4acaf21483e18aa945be74a474c74b434f284b549f275a0a39b9f98956e9/orjson-3.11.9-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6cc7923789694fd58f001cbcac7e47abc13af4d560ebbfcf3b41a8b1a0748124", size = 122356, upload-time = "2026-05-06T15:10:48.765Z" }, + { url = "https://files.pythonhosted.org/packages/13/d8/5f0555e7638801323b7a75850f92e7dfa891bc84fe27a1ba4449170d1200/orjson-3.11.9-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ea5c46eb2d3af39e806b986f4b09d5c2706a1f5afde3cbf7544ce6616127173c", size = 129592, upload-time = "2026-05-06T15:10:50.13Z" }, + { url = "https://files.pythonhosted.org/packages/b6/30/ed9860412a3603ceb3c5955bfd72d28b9d0e7ba6ed81add14f83d7114236/orjson-3.11.9-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f5d89a2ed90731df3be64bab0aa44f78bff39fdc9d71c291f4a8023aa46425b7", size = 140491, upload-time = "2026-05-06T15:10:51.582Z" }, + { url = "https://files.pythonhosted.org/packages/d0/17/adc514dea7ac7c505527febf884934b815d34f0c7b8693c1a8b39c5c4a57/orjson-3.11.9-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:25e4aed0312d292c09f61af25bba34e0b2c88546041472b09088c39a4d828af1", size = 127309, upload-time = "2026-05-06T15:10:53.329Z" }, + { url = "https://files.pythonhosted.org/packages/76/3e/c0b690253f0b82d86e99949af13533363acfb5432ecb5d53dd5b3bce9c34/orjson-3.11.9-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aaea64f3f467d22e70eeed68bdccb3bc4f83f650446c4a03c59f2cba28a108db", size = 134030, upload-time = "2026-05-06T15:10:54.988Z" }, + { url = "https://files.pythonhosted.org/packages/c1/7a/bc82a0bb25e9faaf92dc4d9ef002732efc09737706af83e346788641d4a7/orjson-3.11.9-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a028425d1b440c5d92a6be1e1a020739dfe67ea87d96c6dbe828c1b30041728b", size = 141482, upload-time = "2026-05-06T15:10:56.663Z" }, + { url = "https://files.pythonhosted.org/packages/01/55/e69188b939f77d5d32a9833745ace31ea5ccae3ab613a1ec185d3cd2c4fb/orjson-3.11.9-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:5b192c6cf397e4455b11523c5cf2b18ed084c1bbd61b6c0926344d2129481972", size = 415178, upload-time = "2026-05-06T15:10:58.446Z" }, + { url = "https://files.pythonhosted.org/packages/2e/1a/b8a5a7ac527e80b9cb11d51e3f6689b709279183264b9ec5c7bc680bb8b5/orjson-3.11.9-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:ea407d4ccf5891d667d045fecae97a7a1e5e87b3b97f97ae1803c2e741130be0", size = 148089, upload-time = "2026-05-06T15:11:00.441Z" }, + { url = "https://files.pythonhosted.org/packages/97/4e/00503f64204bf859b37213a63927028f30fb6268cd8677fb0a5ad48155e1/orjson-3.11.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5f63aaf97afd9f6dec5b1a68e1b8da12bfccb4cb9a9a65c3e0b6c847849e7586", size = 136921, upload-time = "2026-05-06T15:11:02.176Z" }, + { url = "https://files.pythonhosted.org/packages/0d/ba/a23b82a0a8d0ed7bed4e5f5035aae751cad4ff6a1e8d2ecd14d8860f5929/orjson-3.11.9-cp314-cp314-win32.whl", hash = "sha256:e30ab17845bb9fa54ccf67fa4f9f5282652d54faa6d17452f47d0f369d038673", size = 131638, upload-time = "2026-05-06T15:11:03.696Z" }, + { url = "https://files.pythonhosted.org/packages/f3/c3/0c6798456bade745c75c452342dabacce5798196483e77e643be1f53877d/orjson-3.11.9-cp314-cp314-win_amd64.whl", hash = "sha256:32ef5f4283a3be81913947d19608eacb7c6608026851123790cd9cc8982af34b", size = 127078, upload-time = "2026-05-06T15:11:05.123Z" }, + { url = "https://files.pythonhosted.org/packages/16/21/5a3f1e8913103b703a436a5664238e5b965ec392b555fe68943ea3691e6b/orjson-3.11.9-cp314-cp314-win_arm64.whl", hash = "sha256:eebdbdeef0094e4f5aefa20dcd4eb2368ab5e7a3b4edea27f1e7b2892e009cf9", size = 126687, upload-time = "2026-05-06T15:11:06.602Z" }, +] + +[[package]] +name = "ormsgpack" +version = "1.12.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/12/0c/f1761e21486942ab9bb6feaebc610fa074f7c5e496e6962dea5873348077/ormsgpack-1.12.2.tar.gz", hash = "sha256:944a2233640273bee67521795a73cf1e959538e0dfb7ac635505010455e53b33", size = 39031, upload-time = "2026-01-18T20:55:28.023Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/93/fa/a91f70829ebccf6387c4946e0a1a109f6ba0d6a28d65f628bedfad94b890/ormsgpack-1.12.2-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:c1429217f8f4d7fcb053523bbbac6bed5e981af0b85ba616e6df7cce53c19657", size = 378262, upload-time = "2026-01-18T20:55:22.284Z" }, + { url = "https://files.pythonhosted.org/packages/5f/62/3698a9a0c487252b5c6a91926e5654e79e665708ea61f67a8bdeceb022bf/ormsgpack-1.12.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5f13034dc6c84a6280c6c33db7ac420253852ea233fc3ee27c8875f8dd651163", size = 203034, upload-time = "2026-01-18T20:55:53.324Z" }, + { url = "https://files.pythonhosted.org/packages/66/3a/f716f64edc4aec2744e817660b317e2f9bb8de372338a95a96198efa1ac1/ormsgpack-1.12.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:59f5da97000c12bc2d50e988bdc8576b21f6ab4e608489879d35b2c07a8ab51a", size = 210538, upload-time = "2026-01-18T20:55:20.097Z" }, + { url = "https://files.pythonhosted.org/packages/72/30/a436be9ce27d693d4e19fa94900028067133779f09fc45776db3f689c822/ormsgpack-1.12.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9e4459c3f27066beadb2b81ea48a076a417aafffff7df1d3c11c519190ed44f2", size = 212401, upload-time = "2026-01-18T20:55:46.447Z" }, + { url = "https://files.pythonhosted.org/packages/10/c5/cde98300fd33fee84ca71de4751b19aeeca675f0cf3c0ec4b043f40f3b76/ormsgpack-1.12.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:7a1c460655d7288407ffa09065e322a7231997c0d62ce914bf3a96ad2dc6dedd", size = 387080, upload-time = "2026-01-18T20:56:00.884Z" }, + { url = "https://files.pythonhosted.org/packages/6a/31/30bf445ef827546747c10889dd254b3d84f92b591300efe4979d792f4c41/ormsgpack-1.12.2-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:458e4568be13d311ef7d8877275e7ccbe06c0e01b39baaac874caaa0f46d826c", size = 482346, upload-time = "2026-01-18T20:55:39.831Z" }, + { url = "https://files.pythonhosted.org/packages/2e/f5/e1745ddf4fa246c921b5ca253636c4c700ff768d78032f79171289159f6e/ormsgpack-1.12.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8cde5eaa6c6cbc8622db71e4a23de56828e3d876aeb6460ffbcb5b8aff91093b", size = 425178, upload-time = "2026-01-18T20:55:27.106Z" }, + { url = "https://files.pythonhosted.org/packages/8d/a2/e6532ed7716aed03dede8df2d0d0d4150710c2122647d94b474147ccd891/ormsgpack-1.12.2-cp310-cp310-win_amd64.whl", hash = "sha256:dc7a33be14c347893edbb1ceda89afbf14c467d593a5ee92c11de4f1666b4d4f", size = 117183, upload-time = "2026-01-18T20:55:55.52Z" }, + { url = "https://files.pythonhosted.org/packages/4b/08/8b68f24b18e69d92238aa8f258218e6dfeacf4381d9d07ab8df303f524a9/ormsgpack-1.12.2-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:bd5f4bf04c37888e864f08e740c5a573c4017f6fd6e99fa944c5c935fabf2dd9", size = 378266, upload-time = "2026-01-18T20:55:59.876Z" }, + { url = "https://files.pythonhosted.org/packages/0d/24/29fc13044ecb7c153523ae0a1972269fcd613650d1fa1a9cec1044c6b666/ormsgpack-1.12.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:34d5b28b3570e9fed9a5a76528fc7230c3c76333bc214798958e58e9b79cc18a", size = 203035, upload-time = "2026-01-18T20:55:30.59Z" }, + { url = "https://files.pythonhosted.org/packages/ad/c2/00169fb25dd8f9213f5e8a549dfb73e4d592009ebc85fbbcd3e1dcac575b/ormsgpack-1.12.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3708693412c28f3538fb5a65da93787b6bbab3484f6bc6e935bfb77a62400ae5", size = 210539, upload-time = "2026-01-18T20:55:48.569Z" }, + { url = "https://files.pythonhosted.org/packages/1b/33/543627f323ff3c73091f51d6a20db28a1a33531af30873ea90c5ac95a9b5/ormsgpack-1.12.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:43013a3f3e2e902e1d05e72c0f1aeb5bedbb8e09240b51e26792a3c89267e181", size = 212401, upload-time = "2026-01-18T20:56:10.101Z" }, + { url = "https://files.pythonhosted.org/packages/e8/5d/f70e2c3da414f46186659d24745483757bcc9adccb481a6eb93e2b729301/ormsgpack-1.12.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7c8b1667a72cbba74f0ae7ecf3105a5e01304620ed14528b2cb4320679d2869b", size = 387082, upload-time = "2026-01-18T20:56:12.047Z" }, + { url = "https://files.pythonhosted.org/packages/c0/d6/06e8dc920c7903e051f30934d874d4afccc9bb1c09dcaf0bc03a7de4b343/ormsgpack-1.12.2-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:df6961442140193e517303d0b5d7bc2e20e69a879c2d774316125350c4a76b92", size = 482346, upload-time = "2026-01-18T20:56:05.152Z" }, + { url = "https://files.pythonhosted.org/packages/66/c4/f337ac0905eed9c393ef990c54565cd33644918e0a8031fe48c098c71dbf/ormsgpack-1.12.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:c6a4c34ddef109647c769d69be65fa1de7a6022b02ad45546a69b3216573eb4a", size = 425181, upload-time = "2026-01-18T20:55:37.83Z" }, + { url = "https://files.pythonhosted.org/packages/78/29/6d5758fabef3babdf4bbbc453738cc7de9cd3334e4c38dd5737e27b85653/ormsgpack-1.12.2-cp311-cp311-win_amd64.whl", hash = "sha256:73670ed0375ecc303858e3613f407628dd1fca18fe6ac57b7b7ce66cc7bb006c", size = 117182, upload-time = "2026-01-18T20:55:31.472Z" }, + { url = "https://files.pythonhosted.org/packages/c4/57/17a15549233c37e7fd054c48fe9207492e06b026dbd872b826a0b5f833b6/ormsgpack-1.12.2-cp311-cp311-win_arm64.whl", hash = "sha256:c2be829954434e33601ae5da328cccce3266b098927ca7a30246a0baec2ce7bd", size = 111464, upload-time = "2026-01-18T20:55:38.811Z" }, + { url = "https://files.pythonhosted.org/packages/4c/36/16c4b1921c308a92cef3bf6663226ae283395aa0ff6e154f925c32e91ff5/ormsgpack-1.12.2-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:7a29d09b64b9694b588ff2f80e9826bdceb3a2b91523c5beae1fab27d5c940e7", size = 378618, upload-time = "2026-01-18T20:55:50.835Z" }, + { url = "https://files.pythonhosted.org/packages/c0/68/468de634079615abf66ed13bb5c34ff71da237213f29294363beeeca5306/ormsgpack-1.12.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0b39e629fd2e1c5b2f46f99778450b59454d1f901bc507963168985e79f09c5d", size = 203186, upload-time = "2026-01-18T20:56:11.163Z" }, + { url = "https://files.pythonhosted.org/packages/73/a9/d756e01961442688b7939bacd87ce13bfad7d26ce24f910f6028178b2cc8/ormsgpack-1.12.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:958dcb270d30a7cb633a45ee62b9444433fa571a752d2ca484efdac07480876e", size = 210738, upload-time = "2026-01-18T20:56:09.181Z" }, + { url = "https://files.pythonhosted.org/packages/7b/ba/795b1036888542c9113269a3f5690ab53dd2258c6fb17676ac4bd44fcf94/ormsgpack-1.12.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:58d379d72b6c5e964851c77cfedfb386e474adee4fd39791c2c5d9efb53505cc", size = 212569, upload-time = "2026-01-18T20:56:06.135Z" }, + { url = "https://files.pythonhosted.org/packages/6c/aa/bff73c57497b9e0cba8837c7e4bcab584b1a6dbc91a5dd5526784a5030c8/ormsgpack-1.12.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8463a3fc5f09832e67bdb0e2fda6d518dc4281b133166146a67f54c08496442e", size = 387166, upload-time = "2026-01-18T20:55:36.738Z" }, + { url = "https://files.pythonhosted.org/packages/d3/cf/f8283cba44bcb7b14f97b6274d449db276b3a86589bdb363169b51bc12de/ormsgpack-1.12.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:eddffb77eff0bad4e67547d67a130604e7e2dfbb7b0cde0796045be4090f35c6", size = 482498, upload-time = "2026-01-18T20:55:29.626Z" }, + { url = "https://files.pythonhosted.org/packages/05/be/71e37b852d723dfcbe952ad04178c030df60d6b78eba26bfd14c9a40575e/ormsgpack-1.12.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fcd55e5f6ba0dbce624942adf9f152062135f991a0126064889f68eb850de0dd", size = 425518, upload-time = "2026-01-18T20:55:49.556Z" }, + { url = "https://files.pythonhosted.org/packages/7a/0c/9803aa883d18c7ef197213cd2cbf73ba76472a11fe100fb7dab2884edf48/ormsgpack-1.12.2-cp312-cp312-win_amd64.whl", hash = "sha256:d024b40828f1dde5654faebd0d824f9cc29ad46891f626272dd5bfd7af2333a4", size = 117462, upload-time = "2026-01-18T20:55:47.726Z" }, + { url = "https://files.pythonhosted.org/packages/c8/9e/029e898298b2cc662f10d7a15652a53e3b525b1e7f07e21fef8536a09bb8/ormsgpack-1.12.2-cp312-cp312-win_arm64.whl", hash = "sha256:da538c542bac7d1c8f3f2a937863dba36f013108ce63e55745941dda4b75dbb6", size = 111559, upload-time = "2026-01-18T20:55:54.273Z" }, + { url = "https://files.pythonhosted.org/packages/eb/29/bb0eba3288c0449efbb013e9c6f58aea79cf5cb9ee1921f8865f04c1a9d7/ormsgpack-1.12.2-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:5ea60cb5f210b1cfbad8c002948d73447508e629ec375acb82910e3efa8ff355", size = 378661, upload-time = "2026-01-18T20:55:57.765Z" }, + { url = "https://files.pythonhosted.org/packages/6e/31/5efa31346affdac489acade2926989e019e8ca98129658a183e3add7af5e/ormsgpack-1.12.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f3601f19afdbea273ed70b06495e5794606a8b690a568d6c996a90d7255e51c1", size = 203194, upload-time = "2026-01-18T20:56:08.252Z" }, + { url = "https://files.pythonhosted.org/packages/eb/56/d0087278beef833187e0167f8527235ebe6f6ffc2a143e9de12a98b1ce87/ormsgpack-1.12.2-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:29a9f17a3dac6054c0dce7925e0f4995c727f7c41859adf9b5572180f640d172", size = 210778, upload-time = "2026-01-18T20:55:17.694Z" }, + { url = "https://files.pythonhosted.org/packages/1c/a2/072343e1413d9443e5a252a8eb591c2d5b1bffbe5e7bfc78c069361b92eb/ormsgpack-1.12.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:39c1bd2092880e413902910388be8715f70b9f15f20779d44e673033a6146f2d", size = 212592, upload-time = "2026-01-18T20:55:32.747Z" }, + { url = "https://files.pythonhosted.org/packages/a2/8b/a0da3b98a91d41187a63b02dda14267eefc2a74fcb43cc2701066cf1510e/ormsgpack-1.12.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:50b7249244382209877deedeee838aef1542f3d0fc28b8fe71ca9d7e1896a0d7", size = 387164, upload-time = "2026-01-18T20:55:40.853Z" }, + { url = "https://files.pythonhosted.org/packages/19/bb/6d226bc4cf9fc20d8eb1d976d027a3f7c3491e8f08289a2e76abe96a65f3/ormsgpack-1.12.2-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:5af04800d844451cf102a59c74a841324868d3f1625c296a06cc655c542a6685", size = 482516, upload-time = "2026-01-18T20:55:42.033Z" }, + { url = "https://files.pythonhosted.org/packages/fb/f1/bb2c7223398543dedb3dbf8bb93aaa737b387de61c5feaad6f908841b782/ormsgpack-1.12.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:cec70477d4371cd524534cd16472d8b9cc187e0e3043a8790545a9a9b296c258", size = 425539, upload-time = "2026-01-18T20:55:24.727Z" }, + { url = "https://files.pythonhosted.org/packages/7b/e8/0fb45f57a2ada1fed374f7494c8cd55e2f88ccd0ab0a669aa3468716bf5f/ormsgpack-1.12.2-cp313-cp313-win_amd64.whl", hash = "sha256:21f4276caca5c03a818041d637e4019bc84f9d6ca8baa5ea03e5cc8bf56140e9", size = 117459, upload-time = "2026-01-18T20:55:56.876Z" }, + { url = "https://files.pythonhosted.org/packages/7a/d4/0cfeea1e960d550a131001a7f38a5132c7ae3ebde4c82af1f364ccc5d904/ormsgpack-1.12.2-cp313-cp313-win_arm64.whl", hash = "sha256:baca4b6773d20a82e36d6fd25f341064244f9f86a13dead95dd7d7f996f51709", size = 111577, upload-time = "2026-01-18T20:55:43.605Z" }, + { url = "https://files.pythonhosted.org/packages/94/16/24d18851334be09c25e87f74307c84950f18c324a4d3c0b41dabdbf19c29/ormsgpack-1.12.2-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:bc68dd5915f4acf66ff2010ee47c8906dc1cf07399b16f4089f8c71733f6e36c", size = 378717, upload-time = "2026-01-18T20:55:26.164Z" }, + { url = "https://files.pythonhosted.org/packages/b5/a2/88b9b56f83adae8032ac6a6fa7f080c65b3baf9b6b64fd3d37bd202991d4/ormsgpack-1.12.2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:46d084427b4132553940070ad95107266656cb646ea9da4975f85cb1a6676553", size = 203183, upload-time = "2026-01-18T20:55:18.815Z" }, + { url = "https://files.pythonhosted.org/packages/a9/80/43e4555963bf602e5bdc79cbc8debd8b6d5456c00d2504df9775e74b450b/ormsgpack-1.12.2-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c010da16235806cf1d7bc4c96bf286bfa91c686853395a299b3ddb49499a3e13", size = 210814, upload-time = "2026-01-18T20:55:33.973Z" }, + { url = "https://files.pythonhosted.org/packages/78/e1/7cfbf28de8bca6efe7e525b329c31277d1b64ce08dcba723971c241a9d60/ormsgpack-1.12.2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:18867233df592c997154ff942a6503df274b5ac1765215bceba7a231bea2745d", size = 212634, upload-time = "2026-01-18T20:55:28.634Z" }, + { url = "https://files.pythonhosted.org/packages/95/f8/30ae5716e88d792a4e879debee195653c26ddd3964c968594ddef0a3cc7e/ormsgpack-1.12.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b009049086ddc6b8f80c76b3955df1aa22a5fbd7673c525cd63bf91f23122ede", size = 387139, upload-time = "2026-01-18T20:56:02.013Z" }, + { url = "https://files.pythonhosted.org/packages/dc/81/aee5b18a3e3a0e52f718b37ab4b8af6fae0d9d6a65103036a90c2a8ffb5d/ormsgpack-1.12.2-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:1dcc17d92b6390d4f18f937cf0b99054824a7815818012ddca925d6e01c2e49e", size = 482578, upload-time = "2026-01-18T20:55:35.117Z" }, + { url = "https://files.pythonhosted.org/packages/bd/17/71c9ba472d5d45f7546317f467a5fc941929cd68fb32796ca3d13dcbaec2/ormsgpack-1.12.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f04b5e896d510b07c0ad733d7fce2d44b260c5e6c402d272128f8941984e4285", size = 425539, upload-time = "2026-01-18T20:56:04.009Z" }, + { url = "https://files.pythonhosted.org/packages/2e/a6/ac99cd7fe77e822fed5250ff4b86fa66dd4238937dd178d2299f10b69816/ormsgpack-1.12.2-cp314-cp314-win_amd64.whl", hash = "sha256:ae3aba7eed4ca7cb79fd3436eddd29140f17ea254b91604aa1eb19bfcedb990f", size = 117493, upload-time = "2026-01-18T20:56:07.343Z" }, + { url = "https://files.pythonhosted.org/packages/3a/67/339872846a1ae4592535385a1c1f93614138566d7af094200c9c3b45d1e5/ormsgpack-1.12.2-cp314-cp314-win_arm64.whl", hash = "sha256:118576ea6006893aea811b17429bfc561b4778fad393f5f538c84af70b01260c", size = 111579, upload-time = "2026-01-18T20:55:21.161Z" }, + { url = "https://files.pythonhosted.org/packages/49/c2/6feb972dc87285ad381749d3882d8aecbde9f6ecf908dd717d33d66df095/ormsgpack-1.12.2-cp314-cp314t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:7121b3d355d3858781dc40dafe25a32ff8a8242b9d80c692fd548a4b1f7fd3c8", size = 378721, upload-time = "2026-01-18T20:55:52.12Z" }, + { url = "https://files.pythonhosted.org/packages/a3/9a/900a6b9b413e0f8a471cf07830f9cf65939af039a362204b36bd5b581d8b/ormsgpack-1.12.2-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ee766d2e78251b7a63daf1cddfac36a73562d3ddef68cacfb41b2af64698033", size = 203170, upload-time = "2026-01-18T20:55:44.469Z" }, + { url = "https://files.pythonhosted.org/packages/87/4c/27a95466354606b256f24fad464d7c97ab62bce6cc529dd4673e1179b8fb/ormsgpack-1.12.2-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:292410a7d23de9b40444636b9b8f1e4e4b814af7f1ef476e44887e52a123f09d", size = 212816, upload-time = "2026-01-18T20:55:23.501Z" }, + { url = "https://files.pythonhosted.org/packages/73/cd/29cee6007bddf7a834e6cd6f536754c0535fcb939d384f0f37a38b1cddb8/ormsgpack-1.12.2-cp314-cp314t-win_amd64.whl", hash = "sha256:837dd316584485b72ef451d08dd3e96c4a11d12e4963aedb40e08f89685d8ec2", size = 117232, upload-time = "2026-01-18T20:55:45.448Z" }, +] + +[[package]] +name = "outcome" +version = "1.3.0.post0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/98/df/77698abfac98571e65ffeb0c1fba8ffd692ab8458d617a0eed7d9a8d38f2/outcome-1.3.0.post0.tar.gz", hash = "sha256:9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8", size = 21060, upload-time = "2023-10-26T04:26:04.361Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/55/8b/5ab7257531a5d830fc8000c476e63c935488d74609b50f9384a643ec0a62/outcome-1.3.0.post0-py2.py3-none-any.whl", hash = "sha256:e771c5ce06d1415e356078d3bdd68523f284b4ce5419828922b6871e65eda82b", size = 10692, upload-time = "2023-10-26T04:26:02.532Z" }, +] + +[[package]] +name = "packaging" +version = "26.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d7/f1/e7a6dd94a8d4a5626c03e4e99c87f241ba9e350cd9e6d75123f992427270/packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661", size = 228134, upload-time = "2026-04-24T20:15:23.917Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/df/b2/87e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed/packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e", size = 100195, upload-time = "2026-04-24T20:15:22.081Z" }, +] + +[[package]] +name = "pandas" +version = "2.3.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "numpy" }, + { name = "python-dateutil" }, + { name = "pytz" }, + { name = "tzdata" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/33/01/d40b85317f86cf08d853a4f495195c73815fdf205eef3993821720274518/pandas-2.3.3.tar.gz", hash = "sha256:e05e1af93b977f7eafa636d043f9f94c7ee3ac81af99c13508215942e64c993b", size = 4495223, upload-time = "2025-09-29T23:34:51.853Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3d/f7/f425a00df4fcc22b292c6895c6831c0c8ae1d9fac1e024d16f98a9ce8749/pandas-2.3.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:376c6446ae31770764215a6c937f72d917f214b43560603cd60da6408f183b6c", size = 11555763, upload-time = "2025-09-29T23:16:53.287Z" }, + { url = "https://files.pythonhosted.org/packages/13/4f/66d99628ff8ce7857aca52fed8f0066ce209f96be2fede6cef9f84e8d04f/pandas-2.3.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e19d192383eab2f4ceb30b412b22ea30690c9e618f78870357ae1d682912015a", size = 10801217, upload-time = "2025-09-29T23:17:04.522Z" }, + { url = "https://files.pythonhosted.org/packages/1d/03/3fc4a529a7710f890a239cc496fc6d50ad4a0995657dccc1d64695adb9f4/pandas-2.3.3-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5caf26f64126b6c7aec964f74266f435afef1c1b13da3b0636c7518a1fa3e2b1", size = 12148791, upload-time = "2025-09-29T23:17:18.444Z" }, + { url = "https://files.pythonhosted.org/packages/40/a8/4dac1f8f8235e5d25b9955d02ff6f29396191d4e665d71122c3722ca83c5/pandas-2.3.3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dd7478f1463441ae4ca7308a70e90b33470fa593429f9d4c578dd00d1fa78838", size = 12769373, upload-time = "2025-09-29T23:17:35.846Z" }, + { url = "https://files.pythonhosted.org/packages/df/91/82cc5169b6b25440a7fc0ef3a694582418d875c8e3ebf796a6d6470aa578/pandas-2.3.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4793891684806ae50d1288c9bae9330293ab4e083ccd1c5e383c34549c6e4250", size = 13200444, upload-time = "2025-09-29T23:17:49.341Z" }, + { url = "https://files.pythonhosted.org/packages/10/ae/89b3283800ab58f7af2952704078555fa60c807fff764395bb57ea0b0dbd/pandas-2.3.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:28083c648d9a99a5dd035ec125d42439c6c1c525098c58af0fc38dd1a7a1b3d4", size = 13858459, upload-time = "2025-09-29T23:18:03.722Z" }, + { url = "https://files.pythonhosted.org/packages/85/72/530900610650f54a35a19476eca5104f38555afccda1aa11a92ee14cb21d/pandas-2.3.3-cp310-cp310-win_amd64.whl", hash = "sha256:503cf027cf9940d2ceaa1a93cfb5f8c8c7e6e90720a2850378f0b3f3b1e06826", size = 11346086, upload-time = "2025-09-29T23:18:18.505Z" }, + { url = "https://files.pythonhosted.org/packages/c1/fa/7ac648108144a095b4fb6aa3de1954689f7af60a14cf25583f4960ecb878/pandas-2.3.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:602b8615ebcc4a0c1751e71840428ddebeb142ec02c786e8ad6b1ce3c8dec523", size = 11578790, upload-time = "2025-09-29T23:18:30.065Z" }, + { url = "https://files.pythonhosted.org/packages/9b/35/74442388c6cf008882d4d4bdfc4109be87e9b8b7ccd097ad1e7f006e2e95/pandas-2.3.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8fe25fc7b623b0ef6b5009149627e34d2a4657e880948ec3c840e9402e5c1b45", size = 10833831, upload-time = "2025-09-29T23:38:56.071Z" }, + { url = "https://files.pythonhosted.org/packages/fe/e4/de154cbfeee13383ad58d23017da99390b91d73f8c11856f2095e813201b/pandas-2.3.3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b468d3dad6ff947df92dcb32ede5b7bd41a9b3cceef0a30ed925f6d01fb8fa66", size = 12199267, upload-time = "2025-09-29T23:18:41.627Z" }, + { url = "https://files.pythonhosted.org/packages/bf/c9/63f8d545568d9ab91476b1818b4741f521646cbdd151c6efebf40d6de6f7/pandas-2.3.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b98560e98cb334799c0b07ca7967ac361a47326e9b4e5a7dfb5ab2b1c9d35a1b", size = 12789281, upload-time = "2025-09-29T23:18:56.834Z" }, + { url = "https://files.pythonhosted.org/packages/f2/00/a5ac8c7a0e67fd1a6059e40aa08fa1c52cc00709077d2300e210c3ce0322/pandas-2.3.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37b5848ba49824e5c30bedb9c830ab9b7751fd049bc7914533e01c65f79791", size = 13240453, upload-time = "2025-09-29T23:19:09.247Z" }, + { url = "https://files.pythonhosted.org/packages/27/4d/5c23a5bc7bd209231618dd9e606ce076272c9bc4f12023a70e03a86b4067/pandas-2.3.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:db4301b2d1f926ae677a751eb2bd0e8c5f5319c9cb3f88b0becbbb0b07b34151", size = 13890361, upload-time = "2025-09-29T23:19:25.342Z" }, + { url = "https://files.pythonhosted.org/packages/8e/59/712db1d7040520de7a4965df15b774348980e6df45c129b8c64d0dbe74ef/pandas-2.3.3-cp311-cp311-win_amd64.whl", hash = "sha256:f086f6fe114e19d92014a1966f43a3e62285109afe874f067f5abbdcbb10e59c", size = 11348702, upload-time = "2025-09-29T23:19:38.296Z" }, + { url = "https://files.pythonhosted.org/packages/9c/fb/231d89e8637c808b997d172b18e9d4a4bc7bf31296196c260526055d1ea0/pandas-2.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d21f6d74eb1725c2efaa71a2bfc661a0689579b58e9c0ca58a739ff0b002b53", size = 11597846, upload-time = "2025-09-29T23:19:48.856Z" }, + { url = "https://files.pythonhosted.org/packages/5c/bd/bf8064d9cfa214294356c2d6702b716d3cf3bb24be59287a6a21e24cae6b/pandas-2.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3fd2f887589c7aa868e02632612ba39acb0b8948faf5cc58f0850e165bd46f35", size = 10729618, upload-time = "2025-09-29T23:39:08.659Z" }, + { url = "https://files.pythonhosted.org/packages/57/56/cf2dbe1a3f5271370669475ead12ce77c61726ffd19a35546e31aa8edf4e/pandas-2.3.3-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ecaf1e12bdc03c86ad4a7ea848d66c685cb6851d807a26aa245ca3d2017a1908", size = 11737212, upload-time = "2025-09-29T23:19:59.765Z" }, + { url = "https://files.pythonhosted.org/packages/e5/63/cd7d615331b328e287d8233ba9fdf191a9c2d11b6af0c7a59cfcec23de68/pandas-2.3.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b3d11d2fda7eb164ef27ffc14b4fcab16a80e1ce67e9f57e19ec0afaf715ba89", size = 12362693, upload-time = "2025-09-29T23:20:14.098Z" }, + { url = "https://files.pythonhosted.org/packages/a6/de/8b1895b107277d52f2b42d3a6806e69cfef0d5cf1d0ba343470b9d8e0a04/pandas-2.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a68e15f780eddf2b07d242e17a04aa187a7ee12b40b930bfdd78070556550e98", size = 12771002, upload-time = "2025-09-29T23:20:26.76Z" }, + { url = "https://files.pythonhosted.org/packages/87/21/84072af3187a677c5893b170ba2c8fbe450a6ff911234916da889b698220/pandas-2.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:371a4ab48e950033bcf52b6527eccb564f52dc826c02afd9a1bc0ab731bba084", size = 13450971, upload-time = "2025-09-29T23:20:41.344Z" }, + { url = "https://files.pythonhosted.org/packages/86/41/585a168330ff063014880a80d744219dbf1dd7a1c706e75ab3425a987384/pandas-2.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:a16dcec078a01eeef8ee61bf64074b4e524a2a3f4b3be9326420cabe59c4778b", size = 10992722, upload-time = "2025-09-29T23:20:54.139Z" }, + { url = "https://files.pythonhosted.org/packages/cd/4b/18b035ee18f97c1040d94debd8f2e737000ad70ccc8f5513f4eefad75f4b/pandas-2.3.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:56851a737e3470de7fa88e6131f41281ed440d29a9268dcbf0002da5ac366713", size = 11544671, upload-time = "2025-09-29T23:21:05.024Z" }, + { url = "https://files.pythonhosted.org/packages/31/94/72fac03573102779920099bcac1c3b05975c2cb5f01eac609faf34bed1ca/pandas-2.3.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bdcd9d1167f4885211e401b3036c0c8d9e274eee67ea8d0758a256d60704cfe8", size = 10680807, upload-time = "2025-09-29T23:21:15.979Z" }, + { url = "https://files.pythonhosted.org/packages/16/87/9472cf4a487d848476865321de18cc8c920b8cab98453ab79dbbc98db63a/pandas-2.3.3-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e32e7cc9af0f1cc15548288a51a3b681cc2a219faa838e995f7dc53dbab1062d", size = 11709872, upload-time = "2025-09-29T23:21:27.165Z" }, + { url = "https://files.pythonhosted.org/packages/15/07/284f757f63f8a8d69ed4472bfd85122bd086e637bf4ed09de572d575a693/pandas-2.3.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:318d77e0e42a628c04dc56bcef4b40de67918f7041c2b061af1da41dcff670ac", size = 12306371, upload-time = "2025-09-29T23:21:40.532Z" }, + { url = "https://files.pythonhosted.org/packages/33/81/a3afc88fca4aa925804a27d2676d22dcd2031c2ebe08aabd0ae55b9ff282/pandas-2.3.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4e0a175408804d566144e170d0476b15d78458795bb18f1304fb94160cabf40c", size = 12765333, upload-time = "2025-09-29T23:21:55.77Z" }, + { url = "https://files.pythonhosted.org/packages/8d/0f/b4d4ae743a83742f1153464cf1a8ecfafc3ac59722a0b5c8602310cb7158/pandas-2.3.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:93c2d9ab0fc11822b5eece72ec9587e172f63cff87c00b062f6e37448ced4493", size = 13418120, upload-time = "2025-09-29T23:22:10.109Z" }, + { url = "https://files.pythonhosted.org/packages/4f/c7/e54682c96a895d0c808453269e0b5928a07a127a15704fedb643e9b0a4c8/pandas-2.3.3-cp313-cp313-win_amd64.whl", hash = "sha256:f8bfc0e12dc78f777f323f55c58649591b2cd0c43534e8355c51d3fede5f4dee", size = 10993991, upload-time = "2025-09-29T23:25:04.889Z" }, + { url = "https://files.pythonhosted.org/packages/f9/ca/3f8d4f49740799189e1395812f3bf23b5e8fc7c190827d55a610da72ce55/pandas-2.3.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:75ea25f9529fdec2d2e93a42c523962261e567d250b0013b16210e1d40d7c2e5", size = 12048227, upload-time = "2025-09-29T23:22:24.343Z" }, + { url = "https://files.pythonhosted.org/packages/0e/5a/f43efec3e8c0cc92c4663ccad372dbdff72b60bdb56b2749f04aa1d07d7e/pandas-2.3.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:74ecdf1d301e812db96a465a525952f4dde225fdb6d8e5a521d47e1f42041e21", size = 11411056, upload-time = "2025-09-29T23:22:37.762Z" }, + { url = "https://files.pythonhosted.org/packages/46/b1/85331edfc591208c9d1a63a06baa67b21d332e63b7a591a5ba42a10bb507/pandas-2.3.3-cp313-cp313t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6435cb949cb34ec11cc9860246ccb2fdc9ecd742c12d3304989017d53f039a78", size = 11645189, upload-time = "2025-09-29T23:22:51.688Z" }, + { url = "https://files.pythonhosted.org/packages/44/23/78d645adc35d94d1ac4f2a3c4112ab6f5b8999f4898b8cdf01252f8df4a9/pandas-2.3.3-cp313-cp313t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:900f47d8f20860de523a1ac881c4c36d65efcb2eb850e6948140fa781736e110", size = 12121912, upload-time = "2025-09-29T23:23:05.042Z" }, + { url = "https://files.pythonhosted.org/packages/53/da/d10013df5e6aaef6b425aa0c32e1fc1f3e431e4bcabd420517dceadce354/pandas-2.3.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:a45c765238e2ed7d7c608fc5bc4a6f88b642f2f01e70c0c23d2224dd21829d86", size = 12712160, upload-time = "2025-09-29T23:23:28.57Z" }, + { url = "https://files.pythonhosted.org/packages/bd/17/e756653095a083d8a37cbd816cb87148debcfcd920129b25f99dd8d04271/pandas-2.3.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c4fc4c21971a1a9f4bdb4c73978c7f7256caa3e62b323f70d6cb80db583350bc", size = 13199233, upload-time = "2025-09-29T23:24:24.876Z" }, + { url = "https://files.pythonhosted.org/packages/04/fd/74903979833db8390b73b3a8a7d30d146d710bd32703724dd9083950386f/pandas-2.3.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:ee15f284898e7b246df8087fc82b87b01686f98ee67d85a17b7ab44143a3a9a0", size = 11540635, upload-time = "2025-09-29T23:25:52.486Z" }, + { url = "https://files.pythonhosted.org/packages/21/00/266d6b357ad5e6d3ad55093a7e8efc7dd245f5a842b584db9f30b0f0a287/pandas-2.3.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1611aedd912e1ff81ff41c745822980c49ce4a7907537be8692c8dbc31924593", size = 10759079, upload-time = "2025-09-29T23:26:33.204Z" }, + { url = "https://files.pythonhosted.org/packages/ca/05/d01ef80a7a3a12b2f8bbf16daba1e17c98a2f039cbc8e2f77a2c5a63d382/pandas-2.3.3-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6d2cefc361461662ac48810cb14365a365ce864afe85ef1f447ff5a1e99ea81c", size = 11814049, upload-time = "2025-09-29T23:27:15.384Z" }, + { url = "https://files.pythonhosted.org/packages/15/b2/0e62f78c0c5ba7e3d2c5945a82456f4fac76c480940f805e0b97fcbc2f65/pandas-2.3.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ee67acbbf05014ea6c763beb097e03cd629961c8a632075eeb34247120abcb4b", size = 12332638, upload-time = "2025-09-29T23:27:51.625Z" }, + { url = "https://files.pythonhosted.org/packages/c5/33/dd70400631b62b9b29c3c93d2feee1d0964dc2bae2e5ad7a6c73a7f25325/pandas-2.3.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c46467899aaa4da076d5abc11084634e2d197e9460643dd455ac3db5856b24d6", size = 12886834, upload-time = "2025-09-29T23:28:21.289Z" }, + { url = "https://files.pythonhosted.org/packages/d3/18/b5d48f55821228d0d2692b34fd5034bb185e854bdb592e9c640f6290e012/pandas-2.3.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:6253c72c6a1d990a410bc7de641d34053364ef8bcd3126f7e7450125887dffe3", size = 13409925, upload-time = "2025-09-29T23:28:58.261Z" }, + { url = "https://files.pythonhosted.org/packages/a6/3d/124ac75fcd0ecc09b8fdccb0246ef65e35b012030defb0e0eba2cbbbe948/pandas-2.3.3-cp314-cp314-win_amd64.whl", hash = "sha256:1b07204a219b3b7350abaae088f451860223a52cfb8a6c53358e7948735158e5", size = 11109071, upload-time = "2025-09-29T23:32:27.484Z" }, + { url = "https://files.pythonhosted.org/packages/89/9c/0e21c895c38a157e0faa1fb64587a9226d6dd46452cac4532d80c3c4a244/pandas-2.3.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:2462b1a365b6109d275250baaae7b760fd25c726aaca0054649286bcfbb3e8ec", size = 12048504, upload-time = "2025-09-29T23:29:31.47Z" }, + { url = "https://files.pythonhosted.org/packages/d7/82/b69a1c95df796858777b68fbe6a81d37443a33319761d7c652ce77797475/pandas-2.3.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0242fe9a49aa8b4d78a4fa03acb397a58833ef6199e9aa40a95f027bb3a1b6e7", size = 11410702, upload-time = "2025-09-29T23:29:54.591Z" }, + { url = "https://files.pythonhosted.org/packages/f9/88/702bde3ba0a94b8c73a0181e05144b10f13f29ebfc2150c3a79062a8195d/pandas-2.3.3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a21d830e78df0a515db2b3d2f5570610f5e6bd2e27749770e8bb7b524b89b450", size = 11634535, upload-time = "2025-09-29T23:30:21.003Z" }, + { url = "https://files.pythonhosted.org/packages/a4/1e/1bac1a839d12e6a82ec6cb40cda2edde64a2013a66963293696bbf31fbbb/pandas-2.3.3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2e3ebdb170b5ef78f19bfb71b0dc5dc58775032361fa188e814959b74d726dd5", size = 12121582, upload-time = "2025-09-29T23:30:43.391Z" }, + { url = "https://files.pythonhosted.org/packages/44/91/483de934193e12a3b1d6ae7c8645d083ff88dec75f46e827562f1e4b4da6/pandas-2.3.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d051c0e065b94b7a3cea50eb1ec32e912cd96dba41647eb24104b6c6c14c5788", size = 12699963, upload-time = "2025-09-29T23:31:10.009Z" }, + { url = "https://files.pythonhosted.org/packages/70/44/5191d2e4026f86a2a109053e194d3ba7a31a2d10a9c2348368c63ed4e85a/pandas-2.3.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:3869faf4bd07b3b66a9f462417d0ca3a9df29a9f6abd5d0d0dbab15dac7abe87", size = 13202175, upload-time = "2025-09-29T23:31:59.173Z" }, +] + +[[package]] +name = "pastel" +version = "0.2.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/76/f1/4594f5e0fcddb6953e5b8fe00da8c317b8b41b547e2b3ae2da7512943c62/pastel-0.2.1.tar.gz", hash = "sha256:e6581ac04e973cac858828c6202c1e1e81fee1dc7de7683f3e1ffe0bfd8a573d", size = 7555, upload-time = "2020-09-16T19:21:12.43Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/aa/18/a8444036c6dd65ba3624c63b734d3ba95ba63ace513078e1580590075d21/pastel-0.2.1-py2.py3-none-any.whl", hash = "sha256:4349225fcdf6c2bb34d483e523475de5bb04a5c10ef711263452cb37d7dd4364", size = 5955, upload-time = "2020-09-16T19:21:11.409Z" }, +] + +[[package]] +name = "pathable" +version = "0.5.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/72/55/b748445cb4ea6b125626f15379be7c96d1035d4fa3e8fee362fa92298abf/pathable-0.5.0.tar.gz", hash = "sha256:d81938348a1cacb525e7c75166270644782c0fb9c8cecc16be033e71427e0ef1", size = 16655, upload-time = "2026-02-20T08:47:00.748Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/52/96/5a770e5c461462575474468e5af931cff9de036e7c2b4fea23c1c58d2cbe/pathable-0.5.0-py3-none-any.whl", hash = "sha256:646e3d09491a6351a0c82632a09c02cdf70a252e73196b36d8a15ba0a114f0a6", size = 16867, upload-time = "2026-02-20T08:46:59.536Z" }, +] + +[[package]] +name = "pathspec" +version = "1.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5a/82/42f767fc1c1143d6fd36efb827202a2d997a375e160a71eb2888a925aac1/pathspec-1.1.1.tar.gz", hash = "sha256:17db5ecd524104a120e173814c90367a96a98d07c45b2e10c2f3919fff91bf5a", size = 135180, upload-time = "2026-04-27T01:46:08.907Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f1/d9/7fb5aa316bc299258e68c73ba3bddbc499654a07f151cba08f6153988714/pathspec-1.1.1-py3-none-any.whl", hash = "sha256:a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189", size = 57328, upload-time = "2026-04-27T01:46:07.06Z" }, +] + +[[package]] +name = "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 = "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 = "poethepoet" +version = "0.46.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pastel" }, + { name = "pyyaml" }, + { name = "tomli", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3b/f5/d501fcb67e450fd3fae9db06050420c0c6043758cfa8c30ba40278211265/poethepoet-0.46.0.tar.gz", hash = "sha256:daf8469031879ef59ef0b34fdba83574d65e41eb9186e20cd0f7c89ce479b030", size = 117276, upload-time = "2026-05-15T15:52:02.548Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/af/01/a9d6ea30351919298d3dc237172ae6a60ce0224ecaaee289b671ab979c13/poethepoet-0.46.0-py3-none-any.whl", hash = "sha256:dc6d770a14792d124abac9066c5a707876027d1878ac9ca26cf57e9b2a96dc89", size = 150581, upload-time = "2026-05-15T15:52:01.118Z" }, +] + +[[package]] +name = "prompt-toolkit" +version = "3.0.52" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "wcwidth" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a1/96/06e01a7b38dce6fe1db213e061a4602dd6032a8a97ef6c1a862537732421/prompt_toolkit-3.0.52.tar.gz", hash = "sha256:28cde192929c8e7321de85de1ddbe736f1375148b02f2e17edd840042b1be855", size = 434198, upload-time = "2025-08-27T15:24:02.057Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/84/03/0d3ce49e2505ae70cf43bc5bb3033955d2fc9f932163e84dc0779cc47f48/prompt_toolkit-3.0.52-py3-none-any.whl", hash = "sha256:9aac639a3bbd33284347de5ad8d68ecc044b91a762dc39b7c21095fcd6a19955", size = 391431, upload-time = "2025-08-27T15:23:59.498Z" }, +] + +[[package]] +name = "propcache" +version = "0.5.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ec/44/c87281c333769159c50594f22610f77398a47ccbfbbf23074e744e86f87c/propcache-0.5.2.tar.gz", hash = "sha256:01c4fc7480cd0598bb4b57022df55b9ca296da7fc5a8760bd8451a7e63a7d427", size = 50208, upload-time = "2026-05-08T21:02:12.199Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5b/56/030b7b4719d53085722893e0009dffb9236aa10bca1b12121bdc5626ef16/propcache-0.5.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d5a81be28596d6559f6131ef33e10200de6e17643b3c74ce03f9eb103be6ae8b", size = 93417, upload-time = "2026-05-08T20:59:15.597Z" }, + { url = "https://files.pythonhosted.org/packages/1a/55/1140a8e067b8ec093a18a4ae7bb0045d9db65da38a08618ddc5e2f1994aa/propcache-0.5.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:29cbaac5ea0212663e6845e04b5e188d5a6ae6dd919810ac835bf1d3b42c3f4c", size = 53847, upload-time = "2026-05-08T20:59:17.096Z" }, + { url = "https://files.pythonhosted.org/packages/20/42/0e7443c90310498561addf346e7d57fe3c6ba1914e1ba938b5464c7bbfd2/propcache-0.5.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:6bf3be92233808fcd338eba0fb4d0b59ec5772af4f4ecfcec450d1bfc0f8b5eb", size = 53512, upload-time = "2026-05-08T20:59:18.64Z" }, + { url = "https://files.pythonhosted.org/packages/b7/db/cf51a71bab2009517d1a7f0ee07657e3bd446c4d69f67e6966cf17bcf956/propcache-0.5.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2f8ea531c794b9d6274acd4e8d2c2ebcac590a4361d27482edd3010b79f1325e", size = 58068, upload-time = "2026-05-08T20:59:20.683Z" }, + { url = "https://files.pythonhosted.org/packages/b7/43/39b6bdee9699fa1e1641c519feeb64a67e2a9f93bb465c70776b37a7333f/propcache-0.5.2-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:decfca4c79dd53ebab484b00cc4b6717d8c369f86e74aa4ca395a64ac651495e", size = 61020, upload-time = "2026-05-08T20:59:22.112Z" }, + { url = "https://files.pythonhosted.org/packages/26/0b/843726fbb0a29a8c5684fdb25971823638399f31e52e9d1f06a02dc9aa6b/propcache-0.5.2-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4621064bbf28fa77ff64dd5d94367c04684c67d3a5bf1dff25f0cd0d98a38f3b", size = 62732, upload-time = "2026-05-08T20:59:23.805Z" }, + { url = "https://files.pythonhosted.org/packages/39/6e/899fed76dc1942b8a64193a4f059d7f1a2c7ef65085e8a9366ed8ec0d199/propcache-0.5.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b96db7141a592cbc968daf1feea83a118e6ab378af4abbc72b248c895414c22d", size = 60140, upload-time = "2026-05-08T20:59:25.389Z" }, + { url = "https://files.pythonhosted.org/packages/ab/09/3da4be9b5b879219ad234aa535b3dd4a080ed1ad48d3a73ca07a9e798f22/propcache-0.5.2-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1ca071adabaab6e9219924bbe00af821f1ee7de113a9eca1cdc292de3d120f4d", size = 60400, upload-time = "2026-05-08T20:59:27.238Z" }, + { url = "https://files.pythonhosted.org/packages/60/2f/09b72b874a9aa0044faf52a69807a6ed618e267ceaa9ec4a63195fa5b504/propcache-0.5.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e4294d04a94dcab1b3bccd8b66d962dcad411a1d19414b2a41d1445f1de32ad0", size = 58155, upload-time = "2026-05-08T20:59:28.48Z" }, + { url = "https://files.pythonhosted.org/packages/8a/37/97489848c54c95578045473954f10956d619ce6a09e7ac137b71cdcb698b/propcache-0.5.2-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:a0e399a2eccb91ed18721f86aa85757727400b6865c89e88934781deb9c8498b", size = 57037, upload-time = "2026-05-08T20:59:30.146Z" }, + { url = "https://files.pythonhosted.org/packages/22/db/6c695285ccfc49012743ee9c98212b8c5dd0aed7b63cfd816d4a0f7a1601/propcache-0.5.2-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:823581fd5cb08b12a48bfa11fe962a7916766b6170c17b028fbdf762b85eb9bf", size = 61103, upload-time = "2026-05-08T20:59:31.626Z" }, + { url = "https://files.pythonhosted.org/packages/98/a9/1e500401ca593b0bdb6bf75a70bc2d723835fd53360edff6af70692c7546/propcache-0.5.2-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:949c91d1a990cf3b2e8188dfcfb25005e0b834a06c63fa4ef9f360878ce21ecf", size = 60394, upload-time = "2026-05-08T20:59:32.829Z" }, + { url = "https://files.pythonhosted.org/packages/1f/87/f638b6e375eae0f30a1a2325d8b34fd85fdc785bb9960cf805f3bf1ec69a/propcache-0.5.2-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:cc1177027eda740fdb152706bd215a3f124e3eea15afc39f2cb9fe351b50619e", size = 63084, upload-time = "2026-05-08T20:59:35.964Z" }, + { url = "https://files.pythonhosted.org/packages/f6/18/884573f5d97b6d9eba68de759a82c901b7e39d7904d30f7b8d58d42d2a12/propcache-0.5.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b05d643f944a8c3c4bd86d65ffd87bf3264b617f87791940302bc474d2ff5274", size = 60999, upload-time = "2026-05-08T20:59:38.481Z" }, + { url = "https://files.pythonhosted.org/packages/8f/1a/c3915eb059ceec9e758a56e4cfd955292bc0f201be2176a46b76d94b303a/propcache-0.5.2-cp310-cp310-win32.whl", hash = "sha256:8114f28879e0904748e831c3a7774261bd9e75f49be089f389a76f959dcd13fe", size = 39036, upload-time = "2026-05-08T20:59:40.323Z" }, + { url = "https://files.pythonhosted.org/packages/5b/02/1dfd5607501a602d19c1c449d2d193b7d1c611f9246b4059026a1189a80e/propcache-0.5.2-cp310-cp310-win_amd64.whl", hash = "sha256:5fcb98e7598b1ee0addab320d90f65b530297a867dbfe9de52ea838077e16e3d", size = 42190, upload-time = "2026-05-08T20:59:42.232Z" }, + { url = "https://files.pythonhosted.org/packages/57/93/f71588ad08b3e6f4b555b5ef215808a3c02b042d0151ad82fa6f15be677a/propcache-0.5.2-cp310-cp310-win_arm64.whl", hash = "sha256:04dc2390d9edbbaef7461f33322555976ffddf0b650a038649d026358714e6c5", size = 38545, upload-time = "2026-05-08T20:59:44.087Z" }, + { url = "https://files.pythonhosted.org/packages/e7/f1/8a8cc1c2c7e7934ab77e0163414f736fadbc0f5e8dd9673b952355ac175b/propcache-0.5.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:74b70780220e2dd89175ca24b81b68b67c83db499ae611e7f2313cb329801c78", size = 90744, upload-time = "2026-05-08T20:59:45.799Z" }, + { url = "https://files.pythonhosted.org/packages/c2/f4/651b1225e976bd1a2ba5cfba0c29d096581c2636b437e3a9a7ab6276270a/propcache-0.5.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a4840ab0ae0216d952f4b53dc6d0b992bfc2bedbfe360bdd9b548bc184c08959", size = 52033, upload-time = "2026-05-08T20:59:47.408Z" }, + { url = "https://files.pythonhosted.org/packages/15/a8/8ede85d6aa1f79fc7dc2f8fd2c8d65920b8272c3892903c8a1affde48cfb/propcache-0.5.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c6844ba6364fb12f403928a82cfd295ab103a2b315c77c747b2dbe4a41894ea7", size = 52754, upload-time = "2026-05-08T20:59:49.202Z" }, + { url = "https://files.pythonhosted.org/packages/7d/fe/b3551b41bbc2f5b5bb088fc6920567cd43101253e68fbaa261339eb96fe1/propcache-0.5.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2293949b855ce597f2826452d17c2d545fb5622379c4ea6fdf525e9b8e8a2511", size = 57573, upload-time = "2026-05-08T20:59:50.778Z" }, + { url = "https://files.pythonhosted.org/packages/83/27/ab851ebd1b7172e3e161f5f8d39e315d54a91bea246f01f4d872d3376aef/propcache-0.5.2-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0fd59b5af35f74da48d905dcbad55449ba13be91823cb05a9bd590bbf5b61660", size = 60645, upload-time = "2026-05-08T20:59:52.227Z" }, + { url = "https://files.pythonhosted.org/packages/95/7d/466b3d18022e9897cbda9c735c493c5bd747d7a4c6f5ea1480b4cec434b6/propcache-0.5.2-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:29f9309a2e42b0d273be006fdb4be2d6c39a47f6f57d8fb1cf9f81481df81b66", size = 61563, upload-time = "2026-05-08T20:59:53.866Z" }, + { url = "https://files.pythonhosted.org/packages/27/1b/16ab7f2cf2041da2f60d156ba64c2484eadf9168075b4ff43c3ef60045af/propcache-0.5.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5aaa2b923c1944ac8febd6609cb373540a5563e7cbcb0fd770f75dace2eb817b", size = 58888, upload-time = "2026-05-08T20:59:55.457Z" }, + { url = "https://files.pythonhosted.org/packages/0a/67/bb777ffd907633563bf35fd859c4ce97b0512c32f4633cf5d1eb7c33512b/propcache-0.5.2-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:66ea454f095ddf5b6b14f56c064c0941c4788be11e18d2464cf643bf7203ff67", size = 59253, upload-time = "2026-05-08T20:59:57.075Z" }, + { url = "https://files.pythonhosted.org/packages/b9/42/64f8d90b73fd9cdc1499b48057ff6d9cd2a98a25734c9bb62ecf07e87061/propcache-0.5.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:95f1e3f4760d404b13c9976c0229b2b49a3c8e2c62a9ce92efdd2b11ada75e3f", size = 57558, upload-time = "2026-05-08T20:59:58.602Z" }, + { url = "https://files.pythonhosted.org/packages/eb/02/dba5bc03c9041f2092ea55a449caf5dfe68352c6654511b29ba0654ddb69/propcache-0.5.2-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:85341b12b9d55bad0bded24cac341bb34289469e03a11f3f583ea1cc1db0326c", size = 55007, upload-time = "2026-05-08T20:59:59.837Z" }, + { url = "https://files.pythonhosted.org/packages/14/c0/43f649c7aa2a77a3b100d84e9dea3a483120ecb608bfe36ce49eaff517fe/propcache-0.5.2-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:26a4dca084132874e639895c3135dfad5eb20bae209f62d1aeb31b03e601c3c0", size = 60355, upload-time = "2026-05-08T21:00:01.144Z" }, + { url = "https://files.pythonhosted.org/packages/83/c0/435dafd27f1cb4a495381dae60e25883ccfe4020bb72818e8184c1678092/propcache-0.5.2-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:3b199b9b2b3d6a7edf3183ba8a9a137a22b97f7df525feb5ae1eccf026d2a9c6", size = 59057, upload-time = "2026-05-08T21:00:02.401Z" }, + { url = "https://files.pythonhosted.org/packages/53/ae/6e292df9135d659944e96cb3389258e4a663e5b2b5f6c217ef0ddc8d2f73/propcache-0.5.2-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:e59bc9e66329185b93dab73f210f1a37f81cb40f321501db8017c9aea15dba27", size = 61938, upload-time = "2026-05-08T21:00:03.638Z" }, + { url = "https://files.pythonhosted.org/packages/0b/42/314ebc50d8159055411fd6b0bda322ff510e4b1f7d2e4927940ad0f6af20/propcache-0.5.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:552ffadf6ad409844bc5919c42a0a83d88314cedddaea0e41e80a8b8fffe881f", size = 59731, upload-time = "2026-05-08T21:00:04.881Z" }, + { url = "https://files.pythonhosted.org/packages/b8/9b/2da6dee38871c3c8772fabc2758325a5c9077d6d18c597737dc04dd884cd/propcache-0.5.2-cp311-cp311-win32.whl", hash = "sha256:cd416c1de191973c52ff1a12a57446bfc7642797b282d7caf2162d7d1b8aa9a0", size = 38966, upload-time = "2026-05-08T21:00:06.511Z" }, + { url = "https://files.pythonhosted.org/packages/42/4e/f17363fb58c0afe05b067361cb6d86ed2d29de6506779a27547c4d183075/propcache-0.5.2-cp311-cp311-win_amd64.whl", hash = "sha256:44e488ef40dbb452700b2b1f8188934121f6648f52c295055662d2191959ff82", size = 42135, upload-time = "2026-05-08T21:00:08.088Z" }, + { url = "https://files.pythonhosted.org/packages/c6/eb/6af6685077d22e8b33358d3c548e3282706a0b3cd85044ffba4e5dd08e3b/propcache-0.5.2-cp311-cp311-win_arm64.whl", hash = "sha256:54adaa85a22078d1e306304a40984dc5be99d599bf3dc0a24dc98f7daeab89ab", size = 38381, upload-time = "2026-05-08T21:00:09.692Z" }, + { url = "https://files.pythonhosted.org/packages/4a/cb/e27bc2b2737a0bb49962b275efa051e8f1c35a936df7d5139b6b658b7dc9/propcache-0.5.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:806719138ecd720339a12410fb9614ac9b2b2d3a5fdf8235d56981c36f4039ba", size = 95887, upload-time = "2026-05-08T21:00:11.277Z" }, + { url = "https://files.pythonhosted.org/packages/e6/13/b8ae04c59392f8d11c6cd9fb4011d1dc7c86b81225c770280300e259ffe1/propcache-0.5.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:db2b80ea58eab4f86b2beec3cc8b39e8ff9276ac20e96b7cce43c8ae84cd6b5a", size = 54654, upload-time = "2026-05-08T21:00:12.604Z" }, + { url = "https://files.pythonhosted.org/packages/2c/7d/49777a3e20b55863d4794384a38acd460c04157b0a00f8602b0d508b8431/propcache-0.5.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e5cbfac9f61484f7e9f3597775500cd3ebe8274e9b050c38f9525c77c97520bf", size = 55190, upload-time = "2026-05-08T21:00:13.935Z" }, + { url = "https://files.pythonhosted.org/packages/44/c7/085d0cd63062e84044e3f05797749c3f8e3938ff3aeb0eb2f69d43fafc91/propcache-0.5.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5dbc581d2814337da56222fab8dc5f161cd798a434e49bac27930aaef798e144", size = 59995, upload-time = "2026-05-08T21:00:15.526Z" }, + { url = "https://files.pythonhosted.org/packages/9c/42/32cf8e3009e92b2645cf1e944f701e8ea4e924dffde1ee26db860bcbf7e4/propcache-0.5.2-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:857187f381f88c8e2fa2fe56ab94879d011b883d5a2ee5a1b60a8cd2a06846d9", size = 63422, upload-time = "2026-05-08T21:00:16.824Z" }, + { url = "https://files.pythonhosted.org/packages/9e/1b/f112433f99fc979431b87a39ef169e3f8df070d99a72792c56d6937ac48b/propcache-0.5.2-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:178b4a2cdaac1818e2bf1c5a99b94383fa73ea5382e032a48dec07dc5668dc42", size = 64342, upload-time = "2026-05-08T21:00:18.362Z" }, + { url = "https://files.pythonhosted.org/packages/14/15/5574111ae50dd6e879456888c0eadd4c5a869959775854e18e18a6b345f3/propcache-0.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6f328175a2cde1f0ff2c4ed8ce968b9dcfb55f3a7153f39e2957ed994da13476", size = 61639, upload-time = "2026-05-08T21:00:19.692Z" }, + { url = "https://files.pythonhosted.org/packages/cc/da/4d775080b1490c0ae604acda868bd71aabe3a89ed16f2aa4339eb8a283e7/propcache-0.5.2-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5671d09a36b06d0fd4a3da0fccbcae360e9b1570924171a15e9e0997f0249fba", size = 61588, upload-time = "2026-05-08T21:00:21.155Z" }, + { url = "https://files.pythonhosted.org/packages/04/ac/f076982cbe2195ee9cf32de5a1e46951d9fb399fc207f390562dd0fd8fb2/propcache-0.5.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:80168e2ebe4d3ec6599d10ad8f520304ae1cad9b6c5a95372aef1b66b7bfb53a", size = 60029, upload-time = "2026-05-08T21:00:22.713Z" }, + { url = "https://files.pythonhosted.org/packages/70/60/189be62e0dd898dce3b331e1b8c7a543cd3a405ac0c81fe8ee8a9d5d77e1/propcache-0.5.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:45f11346f884bc47444f6e6647131055844134c3175b629f84952e2b5cd62b64", size = 56774, upload-time = "2026-05-08T21:00:24.001Z" }, + { url = "https://files.pythonhosted.org/packages/ea/9e/93377b9c7939c1ffae98f878dee955efadfd638078bc86dbc21f9d52f651/propcache-0.5.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:8e778ebd44ef4f66ed60a0416b06b489687db264a9c0b3620362f26489492913", size = 63532, upload-time = "2026-05-08T21:00:25.545Z" }, + { url = "https://files.pythonhosted.org/packages/14/f9/590ef6cfb9b8028d516d287812ece32bb0bc5f11fbb9c8bf6b2e6313fec8/propcache-0.5.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:c0cb9ed24c8964e172768d455a38254c2dd8a552905729ce006cad3d3dda59b1", size = 61592, upload-time = "2026-05-08T21:00:27.186Z" }, + { url = "https://files.pythonhosted.org/packages/b4/5e/70958b3034c297a630bba2f17ca7abc2d5f39a803ad7e370ab79d1ecd022/propcache-0.5.2-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:1d1ad32d9d4355e2be65574fd0bfd3677e7066b009cd5b9b2dee8aa6a6393b33", size = 64788, upload-time = "2026-05-08T21:00:28.8Z" }, + { url = "https://files.pythonhosted.org/packages/12/fd/77fe5936d8c3086ca9048f7f415f122ed82e53884a9ec193646b42deef06/propcache-0.5.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c80f4ba3e8f00189165999a742ee526ebeccedf6c3f7beb0c7df821e9772435a", size = 62514, upload-time = "2026-05-08T21:00:30.098Z" }, + { url = "https://files.pythonhosted.org/packages/cf/74/66bd798b5b3be70aa1b391f5cc9d6a0a5532d7fd3b19ec0b213e72e6ad9d/propcache-0.5.2-cp312-cp312-win32.whl", hash = "sha256:8c7972d8f193740d9175f0998ab38717e6cd322d5935c5b0fef8c0d323fd9031", size = 39018, upload-time = "2026-05-08T21:00:31.622Z" }, + { url = "https://files.pythonhosted.org/packages/61/7c/5c0d34aa3024694d6dcb9271cdbdd08c4e47c1c0ad95ec7e7bc74cdea145/propcache-0.5.2-cp312-cp312-win_amd64.whl", hash = "sha256:d9ee8826a7d47863a08ac44e1a5f611a462eefc3a194b492da242128bec75b42", size = 42322, upload-time = "2026-05-08T21:00:32.918Z" }, + { url = "https://files.pythonhosted.org/packages/4d/91/875812f1a3feb20ceba818ef39fbe4d92f1081e04ac815c822496d0d038b/propcache-0.5.2-cp312-cp312-win_arm64.whl", hash = "sha256:2800a4a8ead6b28cccd1ec54b59346f0def7922ee1c7598e8499c733cfbb7c84", size = 38172, upload-time = "2026-05-08T21:00:35.124Z" }, + { url = "https://files.pythonhosted.org/packages/c5/09/f049e45385503fe67db75a6b6186a7b9f0c3930366dc960522c312a825b1/propcache-0.5.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:099aaf4b4d1a02265b92a977edf00b5c4f63b3b17ac6de39b0d637c9cac0188a", size = 94457, upload-time = "2026-05-08T21:00:36.355Z" }, + { url = "https://files.pythonhosted.org/packages/6b/65/83d1d05655baf63113731bd5a1008435e14f8d1e5a06cbe4ec5b23ad7a31/propcache-0.5.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:68ce1c44c7a813a7f71ea04315a8c7b330b63db99d059a797a4651bb6f69f117", size = 53835, upload-time = "2026-05-08T21:00:38.072Z" }, + { url = "https://files.pythonhosted.org/packages/a9/12/a6ba6482bb5ea3260c000c9b20881c95fa11c6b30173715668259f844ed7/propcache-0.5.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:fc299c129490f55f254cd90be0deca4764e36e9a7c08b4aa588479a3bbed3098", size = 54545, upload-time = "2026-05-08T21:00:39.319Z" }, + { url = "https://files.pythonhosted.org/packages/a9/19/7fa086f5764c59ec8a8e157cd93aa8497acc00aba9dcdec56bfffb32602d/propcache-0.5.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a6ae2198be502c10f09b2516e7b5d019816924bc3183a43ce792a7bd6625e6f4", size = 59886, upload-time = "2026-05-08T21:00:40.621Z" }, + { url = "https://files.pythonhosted.org/packages/a1/e4/5d7663dc8235956c8f5281698a3af1d351d8820341ddd890f59d9a9127f2/propcache-0.5.2-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6041d31504dc1779d700e1edcfb08eea334b357620b06681a4eabb57a74e574e", size = 63261, upload-time = "2026-05-08T21:00:41.775Z" }, + { url = "https://files.pythonhosted.org/packages/4a/4a/15a03adee24d6350da4292caeac44c34c033d2afe5e87eb370f38854560f/propcache-0.5.2-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f7eabc04151c78a9f4d5bbb5f1faf571e4defeb4b585e0fe95b60ff2dbe4d3d7", size = 64184, upload-time = "2026-05-08T21:00:43.018Z" }, + { url = "https://files.pythonhosted.org/packages/8b/c6/979176efdaa3d239e36d503d5af63a0a773b36662ed8f52e5b6a6d9fd40e/propcache-0.5.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4db0ba63d693afd40d249bd93f842b5f144f8fcbb83de05660373bcf30517b1d", size = 61534, upload-time = "2026-05-08T21:00:44.507Z" }, + { url = "https://files.pythonhosted.org/packages/c8/22/63e8cd1bae4c2d2be6493b6b7d10566ddafad88137cfbc99964a1119853c/propcache-0.5.2-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1dbcf7675229b35d31abb6547d8ebc8c27a830ac3f9a794edff6254873ec7c0a", size = 61500, upload-time = "2026-05-08T21:00:45.796Z" }, + { url = "https://files.pythonhosted.org/packages/60/5a/28e5d9acbac1cc9ccb67045e8c1b943aa8d79fdf39c93bd73cacd68008ea/propcache-0.5.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d310c013aad2c72f1c3f2f8dd3279d460a858c551f97aeb8c63e4693cca7b4d2", size = 59994, upload-time = "2026-05-08T21:00:47.093Z" }, + { url = "https://files.pythonhosted.org/packages/f3/40/db650677f554a95b9c01a7c9d93d629e93a15562f5deb4573c9ee136fed2/propcache-0.5.2-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:06187263ddad280d05b4d8a8b3bb7d164cbebd469236544a42e6d9b28ac6a4fa", size = 56884, upload-time = "2026-05-08T21:00:48.376Z" }, + { url = "https://files.pythonhosted.org/packages/80/45/70b39b89516ff8b96bf732fa6fded8cef20f293cb1508690101c3c07ec51/propcache-0.5.2-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:3115559b8effafd63b142ea5ed53d63a16ea6469cbc63dce4ee194b42db5d853", size = 63464, upload-time = "2026-05-08T21:00:49.954Z" }, + { url = "https://files.pythonhosted.org/packages/f9/e2/fa59d3a89eac5534293124af4f1d0d0ada091ce4a0ab4610ce03fd2bdd8d/propcache-0.5.2-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:c60462af8e6dc30c35407c7237ea908d777b22862bbee27bc4699c0d8bcdc45a", size = 61588, upload-time = "2026-05-08T21:00:51.281Z" }, + { url = "https://files.pythonhosted.org/packages/0b/97/efb547a55c4bc7381cfb202d6a2239ac621045277bc1ea5dfd3a7f0516c0/propcache-0.5.2-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:40314bca9ac559716fe374094fc81c11dcc34b64fd6c585360f5775690505704", size = 64667, upload-time = "2026-05-08T21:00:52.602Z" }, + { url = "https://files.pythonhosted.org/packages/92/56/f5c7d9b4b7595d5127da38974d791b2153f3d1eae6c674af3583ace92ad3/propcache-0.5.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:cfa21e036ce1e1db2be04ba3b85d2df1bb1702fa01932d984c5464c665228ff4", size = 62463, upload-time = "2026-05-08T21:00:54.303Z" }, + { url = "https://files.pythonhosted.org/packages/bd/3b/484a3a65fc9f9f60c41dcd17b428bace5389544e2c680994534a20755066/propcache-0.5.2-cp313-cp313-win32.whl", hash = "sha256:f156a3529f38063b6dbaf356e15602a7f95f8055b1295a438433a6386f10463d", size = 38621, upload-time = "2026-05-08T21:00:55.808Z" }, + { url = "https://files.pythonhosted.org/packages/1c/fd/3f0f10dba4dabad3bf53102be007abf55481067952bde0fdddff439e7c61/propcache-0.5.2-cp313-cp313-win_amd64.whl", hash = "sha256:dfed59d0a5aeb01e242e66ff0300bc4a265a7c05f612d30016f0b60b1017d757", size = 41649, upload-time = "2026-05-08T21:00:57.061Z" }, + { url = "https://files.pythonhosted.org/packages/90/ec/6ce619cc32bb500a482f811f9cd509368b4e58e638d13f2c68f370d6b475/propcache-0.5.2-cp313-cp313-win_arm64.whl", hash = "sha256:ba338430e87ceb9c8f0cf754de38a9860560261e56c00376debd628698a7364f", size = 37636, upload-time = "2026-05-08T21:00:58.646Z" }, + { url = "https://files.pythonhosted.org/packages/1b/82/c1d268bbbf2ef981c5bf0fbbe746db617c66e3bcefe431a1aa8943fbe23a/propcache-0.5.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:a592f5f3da71c8691c788c13cb6734b6d17663d2e1cb8caddf0673d01ef8847d", size = 98872, upload-time = "2026-05-08T21:00:59.889Z" }, + { url = "https://files.pythonhosted.org/packages/f4/d4/52c871e73e864e6b34c0e2d58ac1ec5ccd149497ddc7ad2137ae98323a35/propcache-0.5.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:6a997d0489e9668a384fcfd5061b857aa5361de73191cac204d04b889cfbbafa", size = 56257, upload-time = "2026-05-08T21:01:01.195Z" }, + { url = "https://files.pythonhosted.org/packages/67/f0/9b90ca2a210b3d09bcfcd96ecd0f55545c091535abce2a45de2775cfd357/propcache-0.5.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:10734b5484ea113152ee25a91dccedf81631791805d2c9ccb054958e51842c94", size = 56696, upload-time = "2026-05-08T21:01:02.941Z" }, + { url = "https://files.pythonhosted.org/packages/9d/0e/6e9d4ba07c8e56e21ddec1e75f12148142b21ca83a51871babce095334f4/propcache-0.5.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cafca7e56c12bb02ae16d283742bef25a61122e9dab2b5b3f2ccbe589ce32164", size = 62378, upload-time = "2026-05-08T21:01:04.475Z" }, + { url = "https://files.pythonhosted.org/packages/65/19/c10badaa463dde8a27ce884f8ee2ec37e6035b7c9f5ff0c8f74f06f08dac/propcache-0.5.2-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f064f8d2b59177878b7615df1735cd8fe3462ed6be8c7b217d17a276489c2b7f", size = 65283, upload-time = "2026-05-08T21:01:05.959Z" }, + { url = "https://files.pythonhosted.org/packages/b0/b6/93bea99ca80e19cef6512a8580e5b7857bbe09422d9daa7fd4ef5723306c/propcache-0.5.2-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f78abfa8dfc32376fd1aacf597b2f2fbbe0ea751419aee718af5d4f82537ef8c", size = 66616, upload-time = "2026-05-08T21:01:07.228Z" }, + { url = "https://files.pythonhosted.org/packages/83/e4/5c7462e50625f051f37fb38b8224f7639f667184bbd34424ec83819bb1b7/propcache-0.5.2-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f7467da8a9822bf1a55336f877340c5bcbd3c482afc43a99771169f74a26dedc", size = 63773, upload-time = "2026-05-08T21:01:08.514Z" }, + { url = "https://files.pythonhosted.org/packages/ca/b6/99238894047b13c823be25027e736626cd414a52a5e30d2c3347c2733529/propcache-0.5.2-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a6ddc6ac9e25de626c1f129c1b467d7ecd33ce2237d3fd0c4e429feef0a7ee1f", size = 63664, upload-time = "2026-05-08T21:01:09.874Z" }, + { url = "https://files.pythonhosted.org/packages/85/1e/a3a1a63116a2b8edb415a8bb9a6f0c34bd03830b1e18e8ce2904e1dc1cf4/propcache-0.5.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:2f22cbbac9e26a8e864c0985ff1268d5d939d53d9d9411a9824279097e03a2cb", size = 62643, upload-time = "2026-05-08T21:01:11.132Z" }, + { url = "https://files.pythonhosted.org/packages/e4/03/893cf147de2fc6543c5eaa07ad833170e7e2a2385725bbebe8c0503723bb/propcache-0.5.2-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:fc76378c62a0f04d0cd82fbb1a2cd2d7e28fcb40d5873f28a6c44e388aaa2751", size = 59595, upload-time = "2026-05-08T21:01:12.387Z" }, + { url = "https://files.pythonhosted.org/packages/86/3b/04c1a2e12c57766568ba75ba72b3bf2042818d4c1425fab6fc07155c7cff/propcache-0.5.2-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:acd2c8edba48e31e58a363b8cf4e5c7db3b04b3f9e371f601df30d9b0d244836", size = 65711, upload-time = "2026-05-08T21:01:13.676Z" }, + { url = "https://files.pythonhosted.org/packages/1c/34/80f8d0099f8d6bacc4de1624c85672681c8cd1149ca2da0e38fd120b817f/propcache-0.5.2-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:452b5065457eb9991ec5eb38ff41d6cd4c991c9ac7c531c4d5849ae473a9a13f", size = 64247, upload-time = "2026-05-08T21:01:14.936Z" }, + { url = "https://files.pythonhosted.org/packages/f3/1a/8b08f3a5f1037e9e370c55883ceeeee0f6dd0416fb2d2d67b8bfc91f2a79/propcache-0.5.2-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:3430bb2bfe1331885c427745a751e774ee679fd4344f80b97bf879815fe8fa55", size = 67102, upload-time = "2026-05-08T21:01:16.281Z" }, + { url = "https://files.pythonhosted.org/packages/34/68/8bdb7bb7756d76e005490649d10e4a8369e610c74d619f71e1aedf889e9c/propcache-0.5.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:cef6cea3922890dd6c9654971001fa797b526c16ab5e1e46c05fd6f877be7568", size = 64964, upload-time = "2026-05-08T21:01:17.57Z" }, + { url = "https://files.pythonhosted.org/packages/0a/aa/50fb0b5d3968b61a510926ff8b8465f1d6e976b3ab74496d7a4b9fc42515/propcache-0.5.2-cp313-cp313t-win32.whl", hash = "sha256:72d61e16dd78228b58c5d47be830ff3da7e5f139abdf0aef9d86cde1c5cf2191", size = 42546, upload-time = "2026-05-08T21:01:18.946Z" }, + { url = "https://files.pythonhosted.org/packages/ae/4c/0ddbae64321bd4a95bcbfc19307238016b5b1fee645c84626c8d539e5b74/propcache-0.5.2-cp313-cp313t-win_amd64.whl", hash = "sha256:0958834041a0166d343b8d2cedcd8bcbaeb4fdbe0cf08320c5379f143c3be6e7", size = 46330, upload-time = "2026-05-08T21:01:20.162Z" }, + { url = "https://files.pythonhosted.org/packages/00/d9/9cddc8efb78d8af264c5ec9f6d10b62f57c515feda8d321595f56010fb23/propcache-0.5.2-cp313-cp313t-win_arm64.whl", hash = "sha256:6de8bd93ddde9b992cf2b2e0d796d501a19026b5b9fd87356d7d0779531a8d96", size = 40521, upload-time = "2026-05-08T21:01:21.399Z" }, + { url = "https://files.pythonhosted.org/packages/e2/ea/23ee535d90ce8bcc465a3028eb3cc0ce3bd1005f4bb27710b30587de798d/propcache-0.5.2-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:46088abff4cba581dea21ae0467a480526cb25aa5f3c269e909f800328bc3999", size = 94662, upload-time = "2026-05-08T21:01:22.683Z" }, + { url = "https://files.pythonhosted.org/packages/b5/06/c5a52f419b5d8972f8d46a7577476090d8e3263ff589ce40b5ca4968d5be/propcache-0.5.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fc88b26f08d634f7bc819a7852e5214f5802641ab8d9fd5326892292eee1993e", size = 53928, upload-time = "2026-05-08T21:01:23.986Z" }, + { url = "https://files.pythonhosted.org/packages/63/b1/4260d67d6bd85e58a66b72d54ce15d5de789b6f3870cc6bedf8ff9667401/propcache-0.5.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:97797ebb098e670a2f92dd66f32897e30d7615b14e7f59711de23e30a9072539", size = 54650, upload-time = "2026-05-08T21:01:25.305Z" }, + { url = "https://files.pythonhosted.org/packages/70/06/2f46c318e3307cd7a6a7481def374ce838c0fe20084b39dd54b0879d0e99/propcache-0.5.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ba57fffe4ac99c5d30076161b5866336d97600769bad35cc68f7774b15298a4e", size = 59912, upload-time = "2026-05-08T21:01:26.545Z" }, + { url = "https://files.pythonhosted.org/packages/4c/29/fe1aebec2ce57ab985a9c382bded1124431f85078113aa222c5d278430d4/propcache-0.5.2-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:583c19759d9eec1e5b69e2fbef36a7d9c326041be9746cb822d335c8cedc2979", size = 63300, upload-time = "2026-05-08T21:01:27.937Z" }, + { url = "https://files.pythonhosted.org/packages/b4/18/2334b26768b6c82be8c69e83671b767d5ef426aa09b0cba6c2ea47816774/propcache-0.5.2-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d0326e2e5e1f3163fa306c834e48e8d490e5fae607a097a40c0648109b47ba80", size = 64208, upload-time = "2026-05-08T21:01:29.484Z" }, + { url = "https://files.pythonhosted.org/packages/2b/76/7f1bfd6afff4c5e38e36a3c6d68eb5f4b7311ea80baf693db78d95b603c4/propcache-0.5.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e00820e192c8dbebcafb383ebbf99030895f09905e7a0eb2e0340a0bcc2bc825", size = 61633, upload-time = "2026-05-08T21:01:31.068Z" }, + { url = "https://files.pythonhosted.org/packages/c4/46/b3ff8aba2b4953a3e50de2cf72f1b5748b8eca93b15f3dc2c84339084c09/propcache-0.5.2-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c66afea89b1e43725731d2004732a046fe6fe955d51f952c3e95a7314a284a39", size = 61724, upload-time = "2026-05-08T21:01:32.374Z" }, + { url = "https://files.pythonhosted.org/packages/c5/01/814cfcafbcff954f94c01cf30e097ddc88a076b5440fbcf4570753437d40/propcache-0.5.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:d4dc37dec6c6cdad0b57881a5658fd14fbf53e333b1a86cf86559f190e1d9ec4", size = 60069, upload-time = "2026-05-08T21:01:33.67Z" }, + { url = "https://files.pythonhosted.org/packages/da/68/5c6f7622d510cc666a300687e06fd060c1a43361c0c9b20d284f06d8096a/propcache-0.5.2-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:5570dbcc97571c15f68068e529c92715a12f8d54030e272d264b377e22bd17a5", size = 57099, upload-time = "2026-05-08T21:01:34.915Z" }, + { url = "https://files.pythonhosted.org/packages/55/27/9cb0b4c679124085327957d42521c99dba04c88c90c3e55a6f0b633ebccc/propcache-0.5.2-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:f814362777a9f841adddb200ecdf8f5cb1e5a3c4b7a86378edbd6ccb26edd702", size = 63391, upload-time = "2026-05-08T21:01:36.231Z" }, + { url = "https://files.pythonhosted.org/packages/f0/9d/7258aaa5bdf60fc6f27591eef6fe52768cb0beda7140be477c8b12c9794a/propcache-0.5.2-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:196913dea116aeb5a2ba95af4ddcb7ea85559ae07d8eee8751688310d09168c3", size = 61626, upload-time = "2026-05-08T21:01:37.545Z" }, + { url = "https://files.pythonhosted.org/packages/8e/0d/41c602003e8a9b16fe1e7eadf62c7bfba9d5474370b24200bf48b315f45f/propcache-0.5.2-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:6e7b8719005dd1175be4ab1cd25e9b98659a5e0347331506ec6760d2773a7fb5", size = 64781, upload-time = "2026-05-08T21:01:38.83Z" }, + { url = "https://files.pythonhosted.org/packages/8b/f3/38e66b1856e9bd079deea015bc4a55f7767c0e4db2f7dcf69e7e680ba4ce/propcache-0.5.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:51f96d685ab16e88cab128cd37a52c5da540809c8b879fa047731bfcb4ad35a4", size = 62570, upload-time = "2026-05-08T21:01:40.415Z" }, + { url = "https://files.pythonhosted.org/packages/95/ca/bbfe9b910ce57dde8bb4876b4520fc02a4e89497c10de26be936758a3aaa/propcache-0.5.2-cp314-cp314-win32.whl", hash = "sha256:cc6fc3cc62e8501d3ed62894425040d2728ecddb1ed072737a5c70bd537aa9f0", size = 39436, upload-time = "2026-05-08T21:01:41.654Z" }, + { url = "https://files.pythonhosted.org/packages/61/d2/45c9defbaa1ea297035d9d4cce9e8f80daafbf19319c6007f157c6256ea9/propcache-0.5.2-cp314-cp314-win_amd64.whl", hash = "sha256:81e3a30b0bb60caa22033dd0f8a3618d1d67356212514f62c57db75cb0ef410c", size = 42373, upload-time = "2026-05-08T21:01:43.041Z" }, + { url = "https://files.pythonhosted.org/packages/44/68/9ea5103f41d5217d7d6ec24db90018e23aebec070c3f9a6e54d12b841fd8/propcache-0.5.2-cp314-cp314-win_arm64.whl", hash = "sha256:0d2c9bf8528f135dbb805ce027567e09164f7efa51a2be07458a2c0420f292d0", size = 38554, upload-time = "2026-05-08T21:01:44.336Z" }, + { url = "https://files.pythonhosted.org/packages/8a/81/fadf555f42d3b762eea8a53950b0489fdc0aa9da5f8ed9e10ce0a4e01b48/propcache-0.5.2-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:4bc8ff1feffc6a61c7002ffe84634c41b822e104990ae009f44a0834430070bb", size = 99395, upload-time = "2026-05-08T21:01:45.883Z" }, + { url = "https://files.pythonhosted.org/packages/f5/c9/c61e134a686949cf7971af3a390148b1156f7be81c73bc0cd12c873e2d48/propcache-0.5.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:79aa3ff0a9b566633b642fa9caf7e21ed1c13d6feca718187873f199e1514078", size = 56653, upload-time = "2026-05-08T21:01:47.307Z" }, + { url = "https://files.pythonhosted.org/packages/cb/73/daf935ea7048ddd7ec8eec5345b4a40b619d2d178b3c0a0900796bc3c794/propcache-0.5.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1b31822f4474c4036bae62de9402710051d431a606d6a0f907fec79935a071aa", size = 56914, upload-time = "2026-05-08T21:01:48.573Z" }, + { url = "https://files.pythonhosted.org/packages/79/9f/aba959b435ea18617edd7cf0a7ad0b9c574b8fc7e3d2cd55fb59cb255d33/propcache-0.5.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:13fef48778b5a2a756523fdb781326b028ca75e32858b04f2cdd19f394564917", size = 62567, upload-time = "2026-05-08T21:01:49.903Z" }, + { url = "https://files.pythonhosted.org/packages/6c/a1/859942de9a791ff42f6141736f5b37749b8f53e65edfa49638c67dd67e6a/propcache-0.5.2-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8b73ab70f1a3351fbc71f663b3e645af6dd0329100c353081cf69c37433fc6fe", size = 65542, upload-time = "2026-05-08T21:01:51.204Z" }, + { url = "https://files.pythonhosted.org/packages/b5/61/315bc0fd6c0fc7f80a528b8afd209e5fc4a875ea79571b91b8f50f442907/propcache-0.5.2-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5538d2c13d93e4698af7e092b57bc7298fd35d1d58e656ae18f23ee0d0378e03", size = 66845, upload-time = "2026-05-08T21:01:52.539Z" }, + { url = "https://files.pythonhosted.org/packages/47/f7/9f8122e3132e8e354ac41975ef8f1099be7d5a16bc7ae562734e993665c0/propcache-0.5.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cd645f03898405cabe694fb8bc35241e3a9c332ec85627584fe3de201452b335", size = 63985, upload-time = "2026-05-08T21:01:53.847Z" }, + { url = "https://files.pythonhosted.org/packages/c8/54/c317819ec157cbf6f35df9df9657a6f82daf34d5faf15948b2f639c2192e/propcache-0.5.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a473b3440261e0c60706e732b2ed2f517857344fc21bf48fdfe211e2d98eb285", size = 63999, upload-time = "2026-05-08T21:01:55.179Z" }, + { url = "https://files.pythonhosted.org/packages/5a/56/387e3f7dfce0a9233df41fb888aa1c30222cb4bbbf09537c02dd9bd85fe2/propcache-0.5.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:7afa37062e6650640e932e4cc9297d81f9f42d9944029cc386b8247dea4da837", size = 62779, upload-time = "2026-05-08T21:01:57.489Z" }, + { url = "https://files.pythonhosted.org/packages/a1/9c/596784cb5824ed61ee960d3f8655a3f0993e107c6e98ab6c818b7fb92ccb/propcache-0.5.2-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:8a90efd5777e996e42d568db9ac740b944d691e565cbfd31b2f7832f9184b2b8", size = 59796, upload-time = "2026-05-08T21:01:58.736Z" }, + { url = "https://files.pythonhosted.org/packages/c2/3d/1a6cfa1726a48542c1e8784a0761421476a5b68e09b7f36bf95eb954aaba/propcache-0.5.2-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:f19bb891234d72535764d703bfed1153cc34f4214d5bd7150aee1eec9e8f4366", size = 66023, upload-time = "2026-05-08T21:02:00.228Z" }, + { url = "https://files.pythonhosted.org/packages/e4/0e/05fd6990369477076e4e280bcb970de760fddf0161a46e988bc95f7940ec/propcache-0.5.2-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:32775082acd2d807ee3db715c7770d38767b817870acfa08c29e057f3c4d5b56", size = 64448, upload-time = "2026-05-08T21:02:01.888Z" }, + { url = "https://files.pythonhosted.org/packages/cd/86/5f8da315a4309c62c10c0b2516b17492d5d3bbe1bb862b96604db67e2a37/propcache-0.5.2-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:9282fb1a3bccd038da9f768b927b24a0c753e466c086b7c4f3c6982851eefb2d", size = 67329, upload-time = "2026-05-08T21:02:03.484Z" }, + { url = "https://files.pythonhosted.org/packages/da/d3/3368efe79ab21f0cdf86ef49895811c9cc933131d4cde1f28a624e22e712/propcache-0.5.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:cc49723e2f60d6b32a0f0b08a3fd6d13203c07f1cd9566cfce0f12a917c967a2", size = 65172, upload-time = "2026-05-08T21:02:04.745Z" }, + { url = "https://files.pythonhosted.org/packages/d5/07/127e8b0bacfb325396196f9d976a22453049b89b9b2b08477cc3145faa44/propcache-0.5.2-cp314-cp314t-win32.whl", hash = "sha256:2d7aa89ebca5acc98cba9d1472d976e394782f587bad6661003602a619fd1821", size = 43813, upload-time = "2026-05-08T21:02:06.025Z" }, + { url = "https://files.pythonhosted.org/packages/88/fb/46dad6c0ae49ed230ab1b16c890c2b6314e2403e6c412976f4a72d64a527/propcache-0.5.2-cp314-cp314t-win_amd64.whl", hash = "sha256:d447bb0b3054be5818458fbb171208b1d9ff11eba14e18ca18b90cbb45767370", size = 47764, upload-time = "2026-05-08T21:02:07.353Z" }, + { url = "https://files.pythonhosted.org/packages/e7/c4/a47d0a63aa309d10d59ede6e9d4cff03a344a79d1f0f4cd0cd74997b53e0/propcache-0.5.2-cp314-cp314t-win_arm64.whl", hash = "sha256:fe67a3d11cd9b4efabfa45c3d00ffba2b26811442a73a581a94b67c2b5faccf6", size = 41140, upload-time = "2026-05-08T21:02:09.065Z" }, + { url = "https://files.pythonhosted.org/packages/3a/ed/1cdcab6ba3d6ab7feca11fc14f0eeea80755bb53ef4e892079f31b10a25f/propcache-0.5.2-py3-none-any.whl", hash = "sha256:be1ddfcbb376e3de5d2e2db1d58d6d67463e6b4f9f040c000de8e300295465fe", size = 14036, upload-time = "2026-05-08T21:02:10.673Z" }, +] + +[[package]] +name = "protobuf" +version = "5.29.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7e/57/394a763c103e0edf87f0938dafcd918d53b4c011dfc5c8ae80f3b0452dbb/protobuf-5.29.6.tar.gz", hash = "sha256:da9ee6a5424b6b30fd5e45c5ea663aef540ca95f9ad99d1e887e819cdf9b8723", size = 425623, upload-time = "2026-02-04T22:54:40.584Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d4/88/9ee58ff7863c479d6f8346686d4636dd4c415b0cbeed7a6a7d0617639c2a/protobuf-5.29.6-cp310-abi3-win32.whl", hash = "sha256:62e8a3114992c7c647bce37dcc93647575fc52d50e48de30c6fcb28a6a291eb1", size = 423357, upload-time = "2026-02-04T22:54:25.805Z" }, + { url = "https://files.pythonhosted.org/packages/1c/66/2dc736a4d576847134fb6d80bd995c569b13cdc7b815d669050bf0ce2d2c/protobuf-5.29.6-cp310-abi3-win_amd64.whl", hash = "sha256:7e6ad413275be172f67fdee0f43484b6de5a904cc1c3ea9804cb6fe2ff366eda", size = 435175, upload-time = "2026-02-04T22:54:28.592Z" }, + { url = "https://files.pythonhosted.org/packages/06/db/49b05966fd208ae3f44dcd33837b6243b4915c57561d730a43f881f24dea/protobuf-5.29.6-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:b5a169e664b4057183a34bdc424540e86eea47560f3c123a0d64de4e137f9269", size = 418619, upload-time = "2026-02-04T22:54:30.266Z" }, + { url = "https://files.pythonhosted.org/packages/b7/d7/48cbf6b0c3c39761e47a99cb483405f0fde2be22cf00d71ef316ce52b458/protobuf-5.29.6-cp38-abi3-manylinux2014_aarch64.whl", hash = "sha256:a8866b2cff111f0f863c1b3b9e7572dc7eaea23a7fae27f6fc613304046483e6", size = 320284, upload-time = "2026-02-04T22:54:31.782Z" }, + { url = "https://files.pythonhosted.org/packages/e3/dd/cadd6ec43069247d91f6345fa7a0d2858bef6af366dbd7ba8f05d2c77d3b/protobuf-5.29.6-cp38-abi3-manylinux2014_x86_64.whl", hash = "sha256:e3387f44798ac1106af0233c04fb8abf543772ff241169946f698b3a9a3d3ab9", size = 320478, upload-time = "2026-02-04T22:54:32.909Z" }, + { url = "https://files.pythonhosted.org/packages/5a/cb/e3065b447186cb70aa65acc70c86baf482d82bf75625bf5a2c4f6919c6a3/protobuf-5.29.6-py3-none-any.whl", hash = "sha256:6b9edb641441b2da9fa8f428760fc136a49cf97a52076010cf22a2ff73438a86", size = 173126, upload-time = "2026-02-04T22:54:39.462Z" }, +] + +[[package]] +name = "py-partiql-parser" +version = "0.6.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/56/7a/a0f6bda783eb4df8e3dfd55973a1ac6d368a89178c300e1b5b91cd181e5e/py_partiql_parser-0.6.3.tar.gz", hash = "sha256:09cecf916ce6e3da2c050f0cb6106166de42c33d34a078ec2eb19377ea70389a", size = 17456, upload-time = "2025-10-18T13:56:13.441Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c9/33/a7cbfccc39056a5cf8126b7aab4c8bafbedd4f0ca68ae40ecb627a2d2cd3/py_partiql_parser-0.6.3-py2.py3-none-any.whl", hash = "sha256:deb0769c3346179d2f590dcbde556f708cdb929059fb654bad75f4cf6e07f582", size = 23752, upload-time = "2025-10-18T13:56:12.256Z" }, +] + +[[package]] +name = "pyarrow" +version = "24.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/91/13/13e1069b351bdc3881266e11147ffccf687505dbb0ea74036237f5d454a5/pyarrow-24.0.0.tar.gz", hash = "sha256:85fe721a14dd823aca09127acbb06c3ca723efbd436c004f16bca601b04dcc83", size = 1180261, upload-time = "2026-04-21T10:51:25.837Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a5/bf/a34fee1d624152124fa8355c42f34195ad5fe5233ce5bb87946432047d52/pyarrow-24.0.0-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:7c2b98645d576a0b9616892ead22b64a83a5f043c5e2ca15ebcefcb5b70c80cb", size = 35076681, upload-time = "2026-04-21T08:51:46.845Z" }, + { url = "https://files.pythonhosted.org/packages/1d/41/64180033d7027afce12dc96d0fe1f504c6fa112190582b458acea2399530/pyarrow-24.0.0-cp310-cp310-macosx_12_0_x86_64.whl", hash = "sha256:644a246325b8c69c595ad1dd4b463eba4b0cdb731370e4a86137d433208d6147", size = 36684260, upload-time = "2026-04-21T08:51:53.642Z" }, + { url = "https://files.pythonhosted.org/packages/57/02/9b9320e673dd8a99411fac78690f3df92f6dd6f59754c750110bca66d64e/pyarrow-24.0.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:3a577bd840ca83f646f0a625dbc571dba7044c43c2d1503afc378b570954345c", size = 45698566, upload-time = "2026-04-21T10:46:02.133Z" }, + { url = "https://files.pythonhosted.org/packages/67/33/f75e91b9a64c3f33c787e263c93b871ad91b8a4a68c1d5cebddd9840e835/pyarrow-24.0.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:e3268e43984d0b1a185c89b4cfff282a7ead12fc93f56cfd7088bdbcbe727041", size = 48835562, upload-time = "2026-04-21T10:46:10.278Z" }, + { url = "https://files.pythonhosted.org/packages/a5/63/097510448e47e4091faa41c43ba92f97cecaab8f4535b56a3d149578f634/pyarrow-24.0.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:2392d954fcb920f42d230284b677605e4e2fbb11f2821e823e642abd67fbb491", size = 49394997, upload-time = "2026-04-21T10:46:18.08Z" }, + { url = "https://files.pythonhosted.org/packages/60/6b/c047d6222ab279024a062742d1807e2fbaf27bba88a98637299ff47b9236/pyarrow-24.0.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:bec9373df11544592b0ba7ec2af0e35059e5f0e7647c6183a854dedd193298f1", size = 51911424, upload-time = "2026-04-21T10:46:25.347Z" }, + { url = "https://files.pythonhosted.org/packages/3a/ba/464cc70761c2a525d97ebd84e21c31ebd47f3ef4bdcee117009f51c46f24/pyarrow-24.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:c42ab9439498270139cc63e18847a02afe5c8b3ed9c931266533cfe378bd3591", size = 27251730, upload-time = "2026-04-21T10:46:30.913Z" }, + { url = "https://files.pythonhosted.org/packages/62/c9/a47ab7ece0d86cbe6678418a0fbd1ac4bb493b9184a3891dfa0e7f287ae0/pyarrow-24.0.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:b0e131f880cda8d04e076cee175a46fc0e8bc8b65c99c6c09dff6669335fde74", size = 35068898, upload-time = "2026-04-21T10:46:36.599Z" }, + { url = "https://files.pythonhosted.org/packages/d1/bc/8db86617a9a58008acf8913d6fed68ea2a46acb6de928db28d724c891a68/pyarrow-24.0.0-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:1b2fe7f9a5566401a0ef2571f197eb92358925c1f0c8dba305d6e43ea0871bb3", size = 36679915, upload-time = "2026-04-21T10:46:42.602Z" }, + { url = "https://files.pythonhosted.org/packages/eb/8e/fb178720400ef69db251eb4a9c3ccf4af269bc1feb5055529b8fc87170d1/pyarrow-24.0.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:0b3537c00fb8d384f15ac1e79b6eb6db04a16514c8c1d22e59a9b95c8ba42868", size = 45697931, upload-time = "2026-04-21T10:46:48.403Z" }, + { url = "https://files.pythonhosted.org/packages/f3/27/99c42abe8e21b44f4917f62631f3aa31404882a2c41d8a4cd5c110e13d52/pyarrow-24.0.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:14e31a3c9e35f1ab6356c6378f6f72830e6d2d5f1791df3774a7b097d18a6a1e", size = 48837449, upload-time = "2026-04-21T10:46:55.329Z" }, + { url = "https://files.pythonhosted.org/packages/36/b6/333749e2666e9032891125bf9c691146e92901bece62030ac1430e2e7c88/pyarrow-24.0.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:b7d9a514e73bc42711e6a35aaccf3587c520024fe0a25d830a1a8a27c15f4f57", size = 49395949, upload-time = "2026-04-21T10:47:01.869Z" }, + { url = "https://files.pythonhosted.org/packages/17/25/c5201706a2dd374e8ba6ee3fd7a8c89fb7ffc16eed5217a91fd2bd7f7626/pyarrow-24.0.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b196eb3f931862af3fa84c2a253514d859c08e0d8fe020e07be12e75a5a9780c", size = 51912986, upload-time = "2026-04-21T10:47:09.872Z" }, + { url = "https://files.pythonhosted.org/packages/f8/d2/4d1bbba65320b21a49678d6fbdc6ff7c649251359fdcfc03568c4136231d/pyarrow-24.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:35405aecb474e683fb36af650618fd5340ee5471fc65a21b36076a18bbc6c981", size = 27255371, upload-time = "2026-04-21T10:47:15.943Z" }, + { url = "https://files.pythonhosted.org/packages/b4/a9/9686d9f07837f91f775e8932659192e02c74f9d8920524b480b85212cc68/pyarrow-24.0.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:6233c9ed9ab9d1db47de57d9753256d9dcffbf42db341576099f0fd9f6bf4810", size = 34981559, upload-time = "2026-04-21T10:47:22.17Z" }, + { url = "https://files.pythonhosted.org/packages/80/b6/0ddf0e9b6ead3474ab087ae598c76b031fc45532bf6a63f3a553440fb258/pyarrow-24.0.0-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:f7616236ec1bc2b15bfdec22a71ab38851c86f8f05ff64f379e1278cf20c634a", size = 36663654, upload-time = "2026-04-21T10:47:28.315Z" }, + { url = "https://files.pythonhosted.org/packages/7c/3b/926382efe8ce27ba729071d3566ade6dfb86bdf112f366000196b2f5780a/pyarrow-24.0.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:1617043b99bd33e5318ae18eb2919af09c71322ef1ca46566cdafc6e6712fb66", size = 45679394, upload-time = "2026-04-21T10:47:34.821Z" }, + { url = "https://files.pythonhosted.org/packages/b3/7a/829f7d9dfd37c207206081d6dad474d81dde29952401f07f2ba507814818/pyarrow-24.0.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:6165461f55ef6314f026de6638d661188e3455d3ec49834556a0ebbdbace18bb", size = 48863122, upload-time = "2026-04-21T10:47:42.056Z" }, + { url = "https://files.pythonhosted.org/packages/5f/e8/f88ce625fe8babaae64e8db2d417c7653adb3019b08aae85c5ed787dc816/pyarrow-24.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3b13dedfe76a0ad2d1d859b0811b53827a4e9d93a0bcb05cf59333ab4980cc7e", size = 49376032, upload-time = "2026-04-21T10:47:48.967Z" }, + { url = "https://files.pythonhosted.org/packages/36/7a/82c363caa145fff88fb475da50d3bf52bb024f61917be5424c3392eaf878/pyarrow-24.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:25ea65d868eb04015cd18e6df2fbe98f07e5bda2abefabcb88fce39a947716f6", size = 51929490, upload-time = "2026-04-21T10:47:55.981Z" }, + { url = "https://files.pythonhosted.org/packages/66/1c/e3e72c8014ad2743ca64a701652c733cc5cbcee15c0463a32a8c55518d9e/pyarrow-24.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:295f0a7f2e242dabd513737cf076007dc5b2d59237e3eca37b05c0c6446f3826", size = 27355660, upload-time = "2026-04-21T10:48:01.718Z" }, + { url = "https://files.pythonhosted.org/packages/6f/d3/a1abf004482026ddc17f4503db227787fa3cfe41ec5091ff20e4fea55e57/pyarrow-24.0.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:02b001b3ed4723caa44f6cd1af2d5c86aa2cf9971dacc2ffa55b21237713dfba", size = 34976759, upload-time = "2026-04-21T10:48:07.258Z" }, + { url = "https://files.pythonhosted.org/packages/4f/4a/34f0a36d28a2dd32225301b79daad44e243dc1a2bb77d43b60749be255c4/pyarrow-24.0.0-cp313-cp313-macosx_12_0_x86_64.whl", hash = "sha256:04920d6a71aabd08a0417709efce97d45ea8e6fb733d9ca9ecffb13c67839f68", size = 36658471, upload-time = "2026-04-21T10:48:13.347Z" }, + { url = "https://files.pythonhosted.org/packages/1f/78/543b94712ae8bb1a6023bcc1acf1a740fbff8286747c289cd9468fced2a5/pyarrow-24.0.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:a964266397740257f16f7bb2e4f08a0c81454004beab8ff59dd531b73610e9f2", size = 45675981, upload-time = "2026-04-21T10:48:20.201Z" }, + { url = "https://files.pythonhosted.org/packages/84/9f/8fb7c222b100d314137fa40ec050de56cd8c6d957d1cfff685ce72f15b17/pyarrow-24.0.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:6f066b179d68c413374294bc1735f68475457c933258df594443bb9d88ddc2a0", size = 48859172, upload-time = "2026-04-21T10:48:27.541Z" }, + { url = "https://files.pythonhosted.org/packages/a7/d3/1ea72538e6c8b3b475ed78d1049a2c518e655761ea50fe1171fc855fcab7/pyarrow-24.0.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:1183baeb14c5f587b1ec52831e665718ce632caab84b7cd6b85fd44f96114495", size = 49385733, upload-time = "2026-04-21T10:48:34.7Z" }, + { url = "https://files.pythonhosted.org/packages/c3/be/c3d8b06a1ba35f2260f8e1f771abbee7d5e345c0937aab90675706b1690a/pyarrow-24.0.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:806f24b4085453c197a5078218d1ee08783ebbba271badd153d1ae22a3ee804f", size = 51934335, upload-time = "2026-04-21T10:48:42.099Z" }, + { url = "https://files.pythonhosted.org/packages/9c/62/89e07a1e7329d2cde3e3c6994ba0839a24977a2beda8be6005ea3d860b99/pyarrow-24.0.0-cp313-cp313-win_amd64.whl", hash = "sha256:e4505fc6583f7b05ab854934896bcac8253b04ac1171a77dfb73efef92076d91", size = 27271748, upload-time = "2026-04-21T10:49:42.532Z" }, + { url = "https://files.pythonhosted.org/packages/17/1a/cff3a59f80b5b1658549d46611b67163f65e0664431c076ad728bf9d5af4/pyarrow-24.0.0-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:1a4e45017efbf115032e4475ee876d525e0e36c742214fbe405332480ecd6275", size = 35238554, upload-time = "2026-04-21T10:48:48.526Z" }, + { url = "https://files.pythonhosted.org/packages/a8/99/cce0f42a327bfef2c420fb6078a3eb834826e5d6697bf3009fe11d2ad051/pyarrow-24.0.0-cp313-cp313t-macosx_12_0_x86_64.whl", hash = "sha256:7986f1fa71cee060ad00758bcc79d3a93bab8559bf978fab9e53472a2e25a17b", size = 36782301, upload-time = "2026-04-21T10:48:55.181Z" }, + { url = "https://files.pythonhosted.org/packages/2a/66/8e560d5ff6793ca29aca213c53eec0dd482dd46cb93b2819e5aab52e4252/pyarrow-24.0.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:d3e0b61e8efb24ed38898e5cdc5fffa9124be480008d401a1f8071500494ae42", size = 45721929, upload-time = "2026-04-21T10:49:03.676Z" }, + { url = "https://files.pythonhosted.org/packages/27/0c/a26e25505d030716e078d9f16eb74973cbf0b33b672884e9f9da1c83b871/pyarrow-24.0.0-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:55a3bc1e3df3b5567b7d27ef551b2283f0c68a5e86f1cd56abc569da4f31335b", size = 48825365, upload-time = "2026-04-21T10:49:11.714Z" }, + { url = "https://files.pythonhosted.org/packages/5f/eb/771f9ecb0c65e73fe9dccdd1717901b9594f08c4515d000c7c62df573811/pyarrow-24.0.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:641f795b361874ac9da5294f8f443dfdbee355cf2bd9e3b8d97aaac2306b9b37", size = 49451819, upload-time = "2026-04-21T10:49:21.474Z" }, + { url = "https://files.pythonhosted.org/packages/48/da/61ae89a88732f5a785646f3ec6125dbb640fa98a540eb2b9889caa561403/pyarrow-24.0.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8adc8e6ce5fccf5dc707046ae4914fd537def529709cc0d285d37a7f9cd442ca", size = 51909252, upload-time = "2026-04-21T10:49:31.164Z" }, + { url = "https://files.pythonhosted.org/packages/cb/1a/8dd5cafab7b66573fa91c03d06d213356ad4edd71813aa75e08ce2b3a844/pyarrow-24.0.0-cp313-cp313t-win_amd64.whl", hash = "sha256:9b18371ad2f44044b81a8d23bc2d8a9b6a6226dca775e8e16cfee640473d6c5d", size = 27388127, upload-time = "2026-04-21T10:49:37.334Z" }, + { url = "https://files.pythonhosted.org/packages/ad/80/d022a34ff05d2cbedd8ccf841fc1f532ecfa9eb5ed1711b56d0e0ea71fc9/pyarrow-24.0.0-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:1cc9057f0319e26333b357e17f3c2c022f1a83739b48a88b25bfd5fa2dc18838", size = 35007997, upload-time = "2026-04-21T10:49:48.796Z" }, + { url = "https://files.pythonhosted.org/packages/1a/ff/f01485fda6f4e5d441afb8dd5e7681e4db18826c1e271852f5d3957d6a80/pyarrow-24.0.0-cp314-cp314-macosx_12_0_x86_64.whl", hash = "sha256:e6f1278ee4785b6db21229374a1c9e54ec7c549de5d1efc9630b6207de7e170b", size = 36678720, upload-time = "2026-04-21T10:49:55.858Z" }, + { url = "https://files.pythonhosted.org/packages/9e/c2/2d2d5fea814237923f71b36495211f20b43a1576f9a4d6da7e751a64ec6f/pyarrow-24.0.0-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:adbbedc55506cbdabb830890444fb856bfb0060c46c6f8026c6c2f2cf86ae795", size = 45741852, upload-time = "2026-04-21T10:50:04.624Z" }, + { url = "https://files.pythonhosted.org/packages/8e/3a/28ba9c1c1ebdbb5f1b94dfebb46f207e52e6a554b7fe4132540fde29a3a0/pyarrow-24.0.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:ae8a1145af31d903fa9bb166824d7abe9b4681a000b0159c9fb99c11bc11ad26", size = 48889852, upload-time = "2026-04-21T10:50:12.293Z" }, + { url = "https://files.pythonhosted.org/packages/df/51/4a389acfd31dca009f8fb82d7f510bb4130f2b3a8e18cf00194d0687d8ac/pyarrow-24.0.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:d7027eba1df3b2069e2e8d80f644fa0918b68c46432af3d088ddd390d063ecde", size = 49445207, upload-time = "2026-04-21T10:50:20.677Z" }, + { url = "https://files.pythonhosted.org/packages/19/4b/0bab2b23d2ae901b1b9a03c0efd4b2d070256f8ce3fc43f6e58c167b2081/pyarrow-24.0.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:e56a1ffe9bf7b727432b89104cc0849c21582949dd7bdcb34f17b2001a351a76", size = 51954117, upload-time = "2026-04-21T10:50:29.14Z" }, + { url = "https://files.pythonhosted.org/packages/29/88/f4e9145da0417b3d2c12035a8492b35ff4a3dbc653e614fcfb51d9dedb38/pyarrow-24.0.0-cp314-cp314-win_amd64.whl", hash = "sha256:38be1808cdd068605b787e6ca9119b27eb275a0234e50212c3492331680c3b1e", size = 28001155, upload-time = "2026-04-21T10:51:22.337Z" }, + { url = "https://files.pythonhosted.org/packages/79/4f/46a49a63f43526da895b1a45bbb51d5baf8e4d77159f8528fc3e5490007f/pyarrow-24.0.0-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:418e48ce50a45a6a6c73c454677203a9c75c966cb1e92ca3370959185f197a05", size = 35250387, upload-time = "2026-04-21T10:50:35.552Z" }, + { url = "https://files.pythonhosted.org/packages/a0/da/d5e0cd5ef00796922404806d5f00325cdadc3441ce2c13fe7115f2df9a64/pyarrow-24.0.0-cp314-cp314t-macosx_12_0_x86_64.whl", hash = "sha256:2f16197705a230a78270cdd4ea8a1d57e86b2fdcbc34a1f6aebc72e65c986f9a", size = 36797102, upload-time = "2026-04-21T10:50:42.417Z" }, + { url = "https://files.pythonhosted.org/packages/34/c7/5904145b0a593a05236c882933d439b5720f0a145381179063722fbfc123/pyarrow-24.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:fb24ac194bfc5e86839d7dcd52092ee31e5fe6733fe11f5e3b06ef0812b20072", size = 45745118, upload-time = "2026-04-21T10:50:49.324Z" }, + { url = "https://files.pythonhosted.org/packages/13/d3/cca42fe166d1c6e4d5b80e530b7949104d10e17508a90ae202dac205ce2a/pyarrow-24.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:9700ebd9a51f5895ce75ff4ac4b3c47a7d4b42bc618be8e713e5d56bacf5f931", size = 48844765, upload-time = "2026-04-21T10:50:55.579Z" }, + { url = "https://files.pythonhosted.org/packages/b0/49/942c3b79878ba928324d1e17c274ed84581db8c0a749b24bcf4cbdf15bd3/pyarrow-24.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d8ddd2768da81d3ee08cfea9b597f4abb4e8e1dc8ae7e204b608d23a0d3ab699", size = 49471890, upload-time = "2026-04-21T10:51:02.439Z" }, + { url = "https://files.pythonhosted.org/packages/76/97/ff71431000a75d84135a1ace5ca4ba11726a231a8007bbb320a4c54075d5/pyarrow-24.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:61a3d7eaa97a14768b542f3d284dc6400dd2470d9f080708b13cd46b6ae18136", size = 51932250, upload-time = "2026-04-21T10:51:10.576Z" }, + { url = "https://files.pythonhosted.org/packages/51/be/6f79d55816d5c22557cf27533543d5d70dfe692adfbee4b99f2760674f38/pyarrow-24.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:c91d00057f23b8d353039520dc3a6c09d8608164c692e9f59a175a42b2ae0c19", size = 28131282, upload-time = "2026-04-21T10:51:16.815Z" }, +] + +[[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 = "3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz", hash = "sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29", size = 103492, upload-time = "2026-01-21T14:26:51.89Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0c/c3/44f3fbbfa403ea2a7c779186dc20772604442dde72947e7d01069cbe98e3/pycparser-3.0-py3-none-any.whl", hash = "sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992", size = 48172, upload-time = "2026-01-21T14:26:50.693Z" }, +] + +[[package]] +name = "pydantic" +version = "2.13.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-types" }, + { name = "pydantic-core" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/18/a5/b60d21ac674192f8ab0ba4e9fd860690f9b4a6e51ca5df118733b487d8d6/pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6", size = 844775, upload-time = "2026-05-06T13:43:05.343Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fd/7b/122376b1fd3c62c1ed9dc80c931ace4844b3c55407b6fb2d199377c9736f/pydantic-2.13.4-py3-none-any.whl", hash = "sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba", size = 472262, upload-time = "2026-05-06T13:43:02.641Z" }, +] + +[[package]] +name = "pydantic-core" +version = "2.46.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9d/56/921726b776ace8d8f5db44c4ef961006580d91dc52b803c489fafd1aa249/pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1", size = 471464, upload-time = "2026-05-06T13:37:06.98Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/08/f1ba952f1c8ae5581c70fa9c6da89f247b83e3dd8c09c035d5d7931fc23d/pydantic_core-2.46.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:a396dcc17e5a0b164dbe026896245a4fa9ff402edca1dff0be3d53a517f74de4", size = 2113146, upload-time = "2026-05-06T13:37:36.537Z" }, + { url = "https://files.pythonhosted.org/packages/56/c6/65f646c7ff09bd257f660434adb45c4dfcbbcebcc030562fecf6f5bf887d/pydantic_core-2.46.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:da4b951fe36dc7c3a1ccb4e3cd1747c3542b8c9ceede8fc86cae054e764485f5", size = 1949769, upload-time = "2026-05-06T13:37:46.365Z" }, + { url = "https://files.pythonhosted.org/packages/64/ba/bfb1d928fd5b49e1258935ff104ae356e9fd89384a55bf9f847e9193ad40/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb63e0198ca18aad131c089b9204c23079c3afa95487e561f4c522d519e55aba", size = 1974958, upload-time = "2026-05-06T13:37:28.611Z" }, + { url = "https://files.pythonhosted.org/packages/4e/74/76223bfb117b64af743c9b6670d1364516f5c0604f96b48f3272f6af6cc6/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f47286a97f0bc9b8859519809077b91b2cefe4ae47fcbf5e466a009c1c5d742b", size = 2042118, upload-time = "2026-05-06T13:36:55.216Z" }, + { url = "https://files.pythonhosted.org/packages/cb/7b/848732968bc8f48f3187542f08358b9d842db564147b256669426ebb1652/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:905a0ed8ea6f2d61c1738835f99b699348d7857379083e5fc497fa0c967a407c", size = 2222876, upload-time = "2026-05-06T13:38:25.455Z" }, + { url = "https://files.pythonhosted.org/packages/b5/2f/e90b63ee2e14bd8d3db8f705a6d75d64e6ee1b7c2c8833747ce706e1e0ce/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea793e075b70290d89d8142074262885d3f7da19634845135751bd6344f73b50", size = 2286703, upload-time = "2026-05-06T13:37:53.304Z" }, + { url = "https://files.pythonhosted.org/packages/ba/1e/acc4d70f88a0a277e4a1fa77ebb985ceabaf900430f875bf9338e11c9420/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:395aebd9183f9d112f569aeb5b2214d1a10a33bec8456447f7fbdfa51d38d4cd", size = 2092042, upload-time = "2026-05-06T13:38:46.981Z" }, + { url = "https://files.pythonhosted.org/packages/a9/da/0a422b57bf8504102bf3c4ccea9c41bab5a5cee6a54650acf8faf67f5a24/pydantic_core-2.46.4-cp310-cp310-manylinux_2_31_riscv64.whl", hash = "sha256:b078afbc25f3a1436c7a1d2cd3e322497ee99615ba97c563566fdf46aff1ee01", size = 2117231, upload-time = "2026-05-06T13:39:23.146Z" }, + { url = "https://files.pythonhosted.org/packages/bd/2a/2ac13c3af305843e23c5078c53d135656b3f05a2fd78cb7bbbb12e97b473/pydantic_core-2.46.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f747929cf940cddb5b3668a390056ddd5ba2e5010615ea2dcf4f9c4f3ab8791d", size = 2168388, upload-time = "2026-05-06T13:40:08.06Z" }, + { url = "https://files.pythonhosted.org/packages/72/04/2beacf7e1607e93eefe4aed1b4709f079b905fb77530179d4f7c71745f22/pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:daa27d92c36f24388fe3ad306b174781c747627f134452e4f128ea00ce1fe8c4", size = 2184769, upload-time = "2026-05-06T13:38:13.901Z" }, + { url = "https://files.pythonhosted.org/packages/9e/29/d2b9fd9f539133548eaf622c06a4ce176cb46ac59f32d0359c4abc0de047/pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:19e51f073cd3df251856a8a4189fbdf1de4012c3ebacfb1884f94f1eb406079f", size = 2319312, upload-time = "2026-05-06T13:39:08.24Z" }, + { url = "https://files.pythonhosted.org/packages/7c/af/0f7a5b85fec6075bea96e3ef9187de38fccced0de92c1e7feda8d5cc7bb9/pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c1747f85cee84c26985853c6f3d9bd3e75da5212912443fa111c113b9c246f39", size = 2361817, upload-time = "2026-05-06T13:38:43.2Z" }, + { url = "https://files.pythonhosted.org/packages/25/a4/73363fec545fd3ec025490bdda2743c56d0dd5b6266b1a53bbe9e4265375/pydantic_core-2.46.4-cp310-cp310-win32.whl", hash = "sha256:2f84c03c8607173d16b5a854ec68a2f9079ae03237a54fb506d13af47e1d018d", size = 1987085, upload-time = "2026-05-06T13:39:25.497Z" }, + { url = "https://files.pythonhosted.org/packages/01/aa/62f082da2c91fac1c234bc9ee0066257ce83f0604abd72e4c9d5991f2d84/pydantic_core-2.46.4-cp310-cp310-win_amd64.whl", hash = "sha256:8358a950c8909158e3df31538a7e4edc2d7265a7c54b47f0864d9e5bae9dcebf", size = 2074311, upload-time = "2026-05-06T13:39:59.922Z" }, + { url = "https://files.pythonhosted.org/packages/5c/fa/6d7708d2cfc1a832acb6aeb0cd16e801902df8a0f583bb3b4b527fde022e/pydantic_core-2.46.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:0e96592440881c74a213e5ad528e2b24d3d4f940de2766bed9010ab1d9e51594", size = 2111872, upload-time = "2026-05-06T13:40:27.596Z" }, + { url = "https://files.pythonhosted.org/packages/ae/6f/aa064a3e74b5745afbdf250594f38e7ead05e2d651bcb35994b9417a0d4d/pydantic_core-2.46.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e0d65b8c354be7fb5f720c3caa8bc940bc2d20ce749c8e06135f07f8ed95dd7c", size = 1948255, upload-time = "2026-05-06T13:39:12.574Z" }, + { url = "https://files.pythonhosted.org/packages/43/3a/41114a9f7569b84b4d84e7a018c57c56347dac30c0d4a872946ec4e36c46/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7bfb192b3f4b9e8a89b6277b6ce787564f62cfd272055f6e685726b111dc7826", size = 1972827, upload-time = "2026-05-06T13:38:19.841Z" }, + { url = "https://files.pythonhosted.org/packages/ef/25/1ab42e8048fe551934d9884e8d64daa7e990ad386f310a15981aeb6a5b08/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9037063db01f09b09e237c282b6792bd4da634b5402c4e7f0c61effed7701a04", size = 2041051, upload-time = "2026-05-06T13:38:10.447Z" }, + { url = "https://files.pythonhosted.org/packages/94/c2/1a934597ddf08da410385b3b7aae91956a5a76c635effef456074fad7e88/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc010ab034c8c7452522748bf937df58020d256ccae0874463d1f4d01758af8e", size = 2221314, upload-time = "2026-05-06T13:40:13.089Z" }, + { url = "https://files.pythonhosted.org/packages/02/6d/9e8ad178c9c4df27ad3c8f25d1fe2a7ab0d2ba0559fad4aee5d3d1f16771/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8c5dac79fa1614d1e06ca695109c6105923bd9c7d1d6c918d4e637b7e6b32fd3", size = 2285146, upload-time = "2026-05-06T13:38:59.224Z" }, + { url = "https://files.pythonhosted.org/packages/80/50/540cd3aeefc041beb111125c4bff779831a2111fc6b15a9138cda277d32c/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f9fa868638bf362d3d138ea55829cefb3d5f4b0d7f142234382a15e2485dbec4", size = 2089685, upload-time = "2026-05-06T13:38:17.762Z" }, + { url = "https://files.pythonhosted.org/packages/6b/a4/b440ad35f05f6a38f89fa0f149accb3f0e02be94ca5e15f3c449a61b4bc9/pydantic_core-2.46.4-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:17299feefe090f2caa5b8e37222bb5f663e4935a8bfa6931d4102e5df1a9f398", size = 2115420, upload-time = "2026-05-06T13:37:58.195Z" }, + { url = "https://files.pythonhosted.org/packages/99/61/de4f55db8dfd57bfdfa9a12ec90fe1b57c4f41062f7ca86f08586b3e0ac0/pydantic_core-2.46.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4c63ebc82684aa89d9a3bcbd13d515b3be44250dc68dd3bd81526c1cb31286c3", size = 2165122, upload-time = "2026-05-06T13:37:01.167Z" }, + { url = "https://files.pythonhosted.org/packages/f7/52/7c529d7bdb2d1068bd52f51fe32572c8301f9a4febf1948f10639f1436f5/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:aaa2a54443eff1950ba5ddc6b6ccda0d9c84a364276a62f969bdf2a390650848", size = 2182573, upload-time = "2026-05-06T13:38:45.04Z" }, + { url = "https://files.pythonhosted.org/packages/37/b3/7c40325848ba78247f2812dcf9c7274e38cd801820ca6dd9fe63bcfb0eb4/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:18e5ceec2ab67e6d5f1a9085e5a24c9c4e2ac4545730bfe668680bca05e555f3", size = 2317139, upload-time = "2026-05-06T13:37:15.539Z" }, + { url = "https://files.pythonhosted.org/packages/d9/37/f913f81a657c865b75da6c0dbed79876073c2a43b5bd9edbe8da785e4d49/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a0f62d0a58f4e7da165457e995725421e0064f2255d8eccebc49f41bbc23b109", size = 2360433, upload-time = "2026-05-06T13:37:30.099Z" }, + { url = "https://files.pythonhosted.org/packages/c4/67/6acaa1be2567f9256b056d8477158cac7240813956ce86e49deae8e173b4/pydantic_core-2.46.4-cp311-cp311-win32.whl", hash = "sha256:041bde0a48fd37cf71cab1c9d56d3e8625a3793fef1f7dd232b3ff37e978ecda", size = 1985513, upload-time = "2026-05-06T13:38:15.669Z" }, + { url = "https://files.pythonhosted.org/packages/aa/e6/c505f83dfeda9a2e5c995cfd872949e4d05e12f7feb3dca72f633daefa94/pydantic_core-2.46.4-cp311-cp311-win_amd64.whl", hash = "sha256:6f2eeda33a839975441c86a4119e1383c50b47faf0cbb5176985565c6bb02c33", size = 2071114, upload-time = "2026-05-06T13:40:35.416Z" }, + { url = "https://files.pythonhosted.org/packages/0f/da/7a263a96d965d9d0df5e8de8a475f33495451117035b09acb110288c381f/pydantic_core-2.46.4-cp311-cp311-win_arm64.whl", hash = "sha256:14f4c5d6db102bd796a627bbb3a17b4cf4574b9ae861d8b7c9a9661c6dd3362d", size = 2044298, upload-time = "2026-05-06T13:38:29.754Z" }, + { url = "https://files.pythonhosted.org/packages/ce/8c/af022f0af448d7747c5154288d46b5f2bc5f17366eaa0e23e9aa04d59f3b/pydantic_core-2.46.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:3245406455a5d98187ec35530fd772b1d799b26667980872c8d4614991e2c4a2", size = 2106158, upload-time = "2026-05-06T13:38:57.215Z" }, + { url = "https://files.pythonhosted.org/packages/19/95/6195171e385007300f0f5574592e467c568becce2d937a0b6804f218bc49/pydantic_core-2.46.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:962ccbab7b642487b1d8b7df90ef677e03134cf1fd8880bf698649b22a69371f", size = 1951724, upload-time = "2026-05-06T13:37:02.697Z" }, + { url = "https://files.pythonhosted.org/packages/8e/bc/f47d1ff9cbb1620e1b5b697eef06010035735f07820180e74178226b27b3/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8233f2947cf85404441fd7e0085f53b10c93e0ee78611099b5c7237e36aacbf7", size = 1975742, upload-time = "2026-05-06T13:37:09.448Z" }, + { url = "https://files.pythonhosted.org/packages/5b/11/9b9a5b0306345664a2da6410877af6e8082481b5884b3ddd78d47c6013ce/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a233125ac121aa3ffba9a2b59edfc4a985a76092dc8279586ab4b71390875e7", size = 2052418, upload-time = "2026-05-06T13:37:38.234Z" }, + { url = "https://files.pythonhosted.org/packages/f1/b7/a65fec226f5d78fc39f4a13c4cc0c768c22b113438f60c14adc9d2865038/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b712b53160b79a5850310b912a5ef8e57e56947c8ad690c227f5c9d7e561712", size = 2232274, upload-time = "2026-05-06T13:38:27.753Z" }, + { url = "https://files.pythonhosted.org/packages/68/f0/92039db98b907ef49269a8271f67db9cb78ae2fc68062ef7e4e77adb5f61/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9401557acd873c3a7f3eb9383edef8ac4968f9510e340f4808d427e75667e7b4", size = 2309940, upload-time = "2026-05-06T13:38:05.353Z" }, + { url = "https://files.pythonhosted.org/packages/5f/97/2aab507d3d00ca626e8e57c1eac6a79e4e5fbcc63eb99733ff55d1717f65/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:926c9541b14b12b1681dca8a0b75feb510b06c6341b70a8e500c2fdcff837cce", size = 2094516, upload-time = "2026-05-06T13:39:10.577Z" }, + { url = "https://files.pythonhosted.org/packages/22/37/a8aca44d40d737dde2bc05b3c6c07dff0de07ce6f82e9f3167aeaf4d5dea/pydantic_core-2.46.4-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:56cb4851bcaf3d117eddcef4fe66afd750a50274b0da8e22be256d10e5611987", size = 2136854, upload-time = "2026-05-06T13:40:22.59Z" }, + { url = "https://files.pythonhosted.org/packages/24/99/fcef1b79238c06a8cbec70819ac722ba76e02bc8ada9b0fd66eba40da01b/pydantic_core-2.46.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c68fcd102d71ea85c5b2dfac3f4f8476eff42a9e078fd5faefff6d145063536b", size = 2180306, upload-time = "2026-05-06T13:40:10.666Z" }, + { url = "https://files.pythonhosted.org/packages/ae/6c/fc44000918855b42779d007ae63b0532794739027b2f417321cddbc44f6a/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b2f69dec1725e79a012d920df1707de5caf7ed5e08f3be4435e25803efc47458", size = 2190044, upload-time = "2026-05-06T13:40:43.231Z" }, + { url = "https://files.pythonhosted.org/packages/6b/65/d9cadc9f1920d7a127ad2edba16c1db7916e59719285cd6c94600b0080ba/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:8d0820e8192167f80d88d64038e609c31452eeca865b4e1d9950a27a4609b00b", size = 2329133, upload-time = "2026-05-06T13:39:57.365Z" }, + { url = "https://files.pythonhosted.org/packages/d0/cf/c873d91679f3a30bcf5e7ac280ce5573483e72295307685120d0d5ad3416/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:fbdb89b3e1c94a30cc5edfce477c6e6a5dc4d8f84665b455c27582f211a1c72c", size = 2374464, upload-time = "2026-05-06T13:38:06.976Z" }, + { url = "https://files.pythonhosted.org/packages/47/bd/6f2fc8188f31bf10590f1e98e7b306336161fac930a8c514cd7bd828c7dc/pydantic_core-2.46.4-cp312-cp312-win32.whl", hash = "sha256:9aa768456404a8bf48a4406685ac2bec8e72b62c69313734fa3b73cf33b3a894", size = 1974823, upload-time = "2026-05-06T13:40:47.985Z" }, + { url = "https://files.pythonhosted.org/packages/40/8c/985c1d41ea1107c2534abd9870e4ed5c8e7669b5c308297835c001e7a1c4/pydantic_core-2.46.4-cp312-cp312-win_amd64.whl", hash = "sha256:e9c26f834c65f5752f3f06cb08cb86a913ceb7274d0db6e267808a708b46bc89", size = 2072919, upload-time = "2026-05-06T13:39:21.153Z" }, + { url = "https://files.pythonhosted.org/packages/c4/ba/f463d006e0c47373ca7ec5e1a261c59dc01ef4d62b2657af925fb0deee3a/pydantic_core-2.46.4-cp312-cp312-win_arm64.whl", hash = "sha256:4fc73cb559bdb54b1134a706a2802a4cddd27a0633f5abb7e53056268751ac6a", size = 2027604, upload-time = "2026-05-06T13:39:03.753Z" }, + { url = "https://files.pythonhosted.org/packages/51/a2/5d30b469c5267a17b39dec53208222f76a8d351dfac4af661888c5aee77d/pydantic_core-2.46.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:5d5902252db0d3cedf8d4a1bc68f70eeb430f7e4c7104c8c476753519b423008", size = 2106306, upload-time = "2026-05-06T13:37:48.029Z" }, + { url = "https://files.pythonhosted.org/packages/c1/81/4fa520eaffa8bd7d1525e644cd6d39e7d60b1592bc5b516693c7340b50f1/pydantic_core-2.46.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c94f0688e7b8d0a67abf40e57a7eaaecd17cc9586706a31b76c031f63df052b4", size = 1951906, upload-time = "2026-05-06T13:37:17.012Z" }, + { url = "https://files.pythonhosted.org/packages/03/d5/fd02da45b659668b05923b17ba3a0100a0a3d5541e3bd8fcc4ecb711309e/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f027324c56cd5406ca49c124b0db10e56c69064fec039acc571c29020cc87c76", size = 1976802, upload-time = "2026-05-06T13:37:35.113Z" }, + { url = "https://files.pythonhosted.org/packages/21/f2/95727e1368be3d3ed485eaab7adbd7dda408f33f7a36e8b48e0144002b91/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e739fee756ba1010f8bcccb534252e85a35fe45ae92c295a06059ce58b74ccd3", size = 2052446, upload-time = "2026-05-06T13:37:12.313Z" }, + { url = "https://files.pythonhosted.org/packages/9c/86/5d99feea3f77c7234b8718075b23db11532773c1a0dbd9b9490215dc2eeb/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d56801be94b86a9da183e5f3766e6310752b99ff647e38b09a9500d88e46e76", size = 2232757, upload-time = "2026-05-06T13:39:01.149Z" }, + { url = "https://files.pythonhosted.org/packages/d2/3a/508ac615935ef7588cf6d9e9b91309fdc2da751af865e02a9098de88258c/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2412e734dcb48da14d4e4006b82b46b74f2518b8a26ee7e58c6844a6cd6d03c4", size = 2309275, upload-time = "2026-05-06T13:37:41.406Z" }, + { url = "https://files.pythonhosted.org/packages/07/f8/41db9de19d7987d6b04715a02b3b40aea467000275d9d758ffaa31af7d50/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9551187363ffc0de2a00b2e47c25aeaeb1020b69b668762966df15fc5659dd5a", size = 2094467, upload-time = "2026-05-06T13:39:18.847Z" }, + { url = "https://files.pythonhosted.org/packages/2c/e2/f35033184cb11d0052daf4416e8e10a502ea2ac006fc4f459aee872727d1/pydantic_core-2.46.4-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:0186750b482eefa11d7f435892b09c5c606193ef3375bcf94aa00ae6bfb66262", size = 2134417, upload-time = "2026-05-06T13:40:17.944Z" }, + { url = "https://files.pythonhosted.org/packages/7e/7b/6ceeb1cc90e193862f444ebe373d8fdf613f0a82572dde03fb10734c6c71/pydantic_core-2.46.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5855698a4856556d86e8e6cd8434bc3ac0314ee8e12089ae0e143f64c6256e4e", size = 2179782, upload-time = "2026-05-06T13:40:32.618Z" }, + { url = "https://files.pythonhosted.org/packages/5a/f2/c8d7773ede6af08036423a00ae0ceffce266c3c52a096c435d68c896083f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cbaf13819775b7f769bf4a1f066cb6df7a28d4480081a589828ef190226881cd", size = 2188782, upload-time = "2026-05-06T13:36:51.018Z" }, + { url = "https://files.pythonhosted.org/packages/59/31/0c864784e31f09f05cdd87606f08923b9c9e7f6e51dd27f20f62f975ce9f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:633147d34cf4550417f12e2b1a0383973bdf5cdfde212cb09e9a581cf10820be", size = 2328334, upload-time = "2026-05-06T13:40:37.764Z" }, + { url = "https://files.pythonhosted.org/packages/c2/eb/4f6c8a41efa30baa755590f4141abf3a8c370fab610915733e74134a7270/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:82cf5301172168103724d49a1444d3378cb20cdee30b116a1bd6031236298a5d", size = 2372986, upload-time = "2026-05-06T13:39:34.152Z" }, + { url = "https://files.pythonhosted.org/packages/5b/24/b375a480d53113860c299764bfe9f349a3dc9108b3adc0d7f0d786492ebf/pydantic_core-2.46.4-cp313-cp313-win32.whl", hash = "sha256:9fa8ae11da9e2b3126c6426f147e0fba88d96d65921799bb30c6abd1cb2c97fb", size = 1973693, upload-time = "2026-05-06T13:37:55.072Z" }, + { url = "https://files.pythonhosted.org/packages/7e/e8/cff247591966f2d22ec8c003cd7587e27b7ba7b81ab2fb888e3ab75dc285/pydantic_core-2.46.4-cp313-cp313-win_amd64.whl", hash = "sha256:6b3ace8194b0e5204818c92802dcdca7fc6d88aabbb799d7c795540d9cd6d292", size = 2071819, upload-time = "2026-05-06T13:38:49.139Z" }, + { url = "https://files.pythonhosted.org/packages/c6/1a/f4aee670d5670e9e148e0c82c7db98d780be566c6e6a97ee8035528ca0b3/pydantic_core-2.46.4-cp313-cp313-win_arm64.whl", hash = "sha256:184c081504d17f1c1066e430e117142b2c77d9448a97f7b65c6ac9fd9aee238d", size = 2027411, upload-time = "2026-05-06T13:40:45.796Z" }, + { url = "https://files.pythonhosted.org/packages/8d/74/228a26ddad29c6672b805d9fd78e8d251cd04004fa7eed0e622096cd0250/pydantic_core-2.46.4-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:428e04521a40150c85216fc8b85e8d39fece235a9cf5e383761238c7fa9b96fb", size = 2102079, upload-time = "2026-05-06T13:38:41.019Z" }, + { url = "https://files.pythonhosted.org/packages/ad/1f/8970b150a4b4365623ae00fc88603491f763c627311ae8031e3111356d6e/pydantic_core-2.46.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23ace664830ee0bfe014a0c7bc248b1f7f25ed7ad103852c317624a1083af462", size = 1952179, upload-time = "2026-05-06T13:36:59.812Z" }, + { url = "https://files.pythonhosted.org/packages/95/30/5211a831ae054928054b2f79731661087a2bc5c01e825c672b3a4a8f1b3e/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce5c1d2a8b27468f433ca974829c44060b8097eedc39933e3c206a90ee49c4a9", size = 1978926, upload-time = "2026-05-06T13:37:39.933Z" }, + { url = "https://files.pythonhosted.org/packages/57/e9/689668733b1eb67adeef047db3c2e8788fcf65a7fd9c9e2b46b7744fe245/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7283d57845ecf5a163403eb0702dfc220cc4fbdd18919cb5ccea4f95ee1cdab4", size = 2046785, upload-time = "2026-05-06T13:38:01.995Z" }, + { url = "https://files.pythonhosted.org/packages/60/d9/6715260422ff50a2109878fd24d948a6c3446bb2664f34ee78cd972b3acd/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8daafc69c93ee8a0204506a3b6b30f586ef54028f52aeeeb5c4cfc5184fd5914", size = 2228733, upload-time = "2026-05-06T13:40:50.371Z" }, + { url = "https://files.pythonhosted.org/packages/18/ae/fdb2f64316afca925640f8e70bb1a564b0ec2721c1389e25b8eb4bf9a299/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd2213145bcc2ba85884d0ac63d222fece9209678f77b9b4d76f054c561adb28", size = 2307534, upload-time = "2026-05-06T13:37:21.531Z" }, + { url = "https://files.pythonhosted.org/packages/89/1d/8eff589b45bb8190a9d12c49cfad0f176a5cbd1534908a6b5125e2886239/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a5f930472650a82629163023e630d160863fce524c616f4e5186e5de9d9a49b", size = 2099732, upload-time = "2026-05-06T13:39:31.942Z" }, + { url = "https://files.pythonhosted.org/packages/06/d5/ee5a3366637fee41dee51a1fc91562dcf12ddbc68fda34e6b253da2324bb/pydantic_core-2.46.4-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:c1b3f518abeca3aa13c712fd202306e145abf59a18b094a6bafb2d2bbf59192c", size = 2129627, upload-time = "2026-05-06T13:37:25.033Z" }, + { url = "https://files.pythonhosted.org/packages/94/33/2414be571d2c6a6c4d08be21f9292b6d3fdb08949a97b6dfe985017821db/pydantic_core-2.46.4-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a7dd0b3ee80d90150e3495a3a13ac34dbcbfd4f012996a6a1d8900e91b5c0fb", size = 2179141, upload-time = "2026-05-06T13:37:14.046Z" }, + { url = "https://files.pythonhosted.org/packages/7b/79/7daa95be995be0eecc4cf75064cb33f9bbbfe3fe0158caf2f0d4a996a5c7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:3fb702cd90b0446a3a1c5e470bfa0dd23c0233b676a9099ddcc964fa6ca13898", size = 2184325, upload-time = "2026-05-06T13:36:53.615Z" }, + { url = "https://files.pythonhosted.org/packages/9f/cb/d0a382f5c0de8a222dc61c65348e0ce831b1f68e0a018450d31c2cace3a5/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b8458003118a712e66286df6a707db01c52c0f52f7db8e4a38f0da1d3b94fc4e", size = 2323990, upload-time = "2026-05-06T13:40:29.971Z" }, + { url = "https://files.pythonhosted.org/packages/05/db/d9ba624cc4a5aced1598e88c04fdbd8310c8a69b9d38b9a3d39ce3a61ed7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:372429a130e469c9cd698925ce5fc50940b7a1336b0d82038e63d5bbc4edc519", size = 2369978, upload-time = "2026-05-06T13:37:23.027Z" }, + { url = "https://files.pythonhosted.org/packages/f2/20/d15df15ba918c423461905802bfd2981c3af0bfa0e40d05e13edbfa48bc3/pydantic_core-2.46.4-cp314-cp314-win32.whl", hash = "sha256:85bb3611ff1802f3ee7fdd7dbff26b56f343fb432d57a4728fdd49b6ef35e2f4", size = 1966354, upload-time = "2026-05-06T13:38:03.499Z" }, + { url = "https://files.pythonhosted.org/packages/fc/b6/6b8de4c0a7d7ab3004c439c80c5c1e0a3e8d78bbae19379b01960383d9e5/pydantic_core-2.46.4-cp314-cp314-win_amd64.whl", hash = "sha256:811ff8e9c313ab425368bcbb36e5c4ebd7108c2bbf4e4089cfbb0b01eff63fac", size = 2072238, upload-time = "2026-05-06T13:39:40.807Z" }, + { url = "https://files.pythonhosted.org/packages/32/36/51eb763beec1f4cf59b1db243a7dcc39cbb41230f050a09b9d69faaf0a48/pydantic_core-2.46.4-cp314-cp314-win_arm64.whl", hash = "sha256:bfec22eab3c8cc2ceec0248aec886624116dc079afa027ecc8ad4a7e62010f8a", size = 2018251, upload-time = "2026-05-06T13:37:26.72Z" }, + { url = "https://files.pythonhosted.org/packages/e8/91/855af51d625b23aa987116a19e231d2aaef9c4a415273ddc189b79a45fee/pydantic_core-2.46.4-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:af8244b2bef6aaad6d92cda81372de7f8c8d36c9f0c3ea36e827c60e7d9467a0", size = 2099593, upload-time = "2026-05-06T13:39:47.682Z" }, + { url = "https://files.pythonhosted.org/packages/fb/1b/8784a54c65edb5f49f0a14d6977cf1b209bba85a4c77445b255c2de58ab3/pydantic_core-2.46.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a4330cdbc57162e4b3aa303f588ba752257694c9c9be3e7ebb11b4aca659b5d", size = 1935226, upload-time = "2026-05-06T13:40:40.428Z" }, + { url = "https://files.pythonhosted.org/packages/e8/e7/1955d28d1afc56dd4b3ad7cc0cf39df1b9852964cf16e5d13912756d6d6b/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29c61fc04a3d840155ff08e475a04809278972fe6aef51e2720554e96367e34b", size = 1974605, upload-time = "2026-05-06T13:37:32.029Z" }, + { url = "https://files.pythonhosted.org/packages/93/e2/3fedbf0ba7a22850e6e9fd78117f1c0f10f950182344d8a6c535d468fdd8/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c50f2528cf200c5eed56faf3f4e22fcd5f38c157a8b78576e6ba3168ec35f000", size = 2030777, upload-time = "2026-05-06T13:38:55.239Z" }, + { url = "https://files.pythonhosted.org/packages/f8/61/46be275fcaaba0b4f5b9669dd852267ce1ff616592dccf7a7845588df091/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0cbe8b01f948de4286c74cdd6c667aceb38f5c1e26f0693b3983d9d74887c65e", size = 2236641, upload-time = "2026-05-06T13:37:08.096Z" }, + { url = "https://files.pythonhosted.org/packages/60/db/12e93e46a8bac9988be3c016860f83293daea8c716c029c9ace279036f2f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:617d7e2ca7dcb8c5cf6bcb8c59b8832c94b36196bbf1cbd1bfb56ed341905edd", size = 2286404, upload-time = "2026-05-06T13:40:20.221Z" }, + { url = "https://files.pythonhosted.org/packages/e2/4a/4d8b19008f38d31c53b8219cfedc2e3d5de5fe99d90076b7e767de29274f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7027560ee92211647d0d34e3f7cd6f50da56399d26a9c8ad0da286d3869a53f3", size = 2109219, upload-time = "2026-05-06T13:38:12.153Z" }, + { url = "https://files.pythonhosted.org/packages/88/70/3cbc40978fefb7bb09c6708d40d4ad1a5d70fd7213c3d17f971de868ec1f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:f99626688942fb746e545232e7726926f3be91b5975f8b55327665fafda991c7", size = 2110594, upload-time = "2026-05-06T13:40:02.971Z" }, + { url = "https://files.pythonhosted.org/packages/9d/20/b8d36736216e29491125531685b2f9e61aa5b4b2599893f8268551da3338/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff", size = 2159542, upload-time = "2026-05-06T13:39:27.506Z" }, + { url = "https://files.pythonhosted.org/packages/1d/a2/367df868eb584dacf6bf82a389272406d7178e301c4ac82545ab98bc2dd9/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:97e7cf2be5c77b7d1a9713a05605d49460d02c6078d38d8bef3cbe323c548424", size = 2168146, upload-time = "2026-05-06T13:38:31.93Z" }, + { url = "https://files.pythonhosted.org/packages/c1/b8/4460f77f7e201893f649a29ab355dddd3beee8a97bcb1a320db414f9a06e/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:3bf92c5d0e00fefaab325a4d27828fe6b6e2a21848686b5b60d2d9eeb09d76c6", size = 2306309, upload-time = "2026-05-06T13:37:44.717Z" }, + { url = "https://files.pythonhosted.org/packages/64/c4/be2639293acd87dc8ddbcec41a73cee9b2ebf996fe6d892a1a74e88ad3f7/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:3ecbc122d18468d06ca279dc26a8c2e2d5acb10943bb35e36ae92096dc3b5565", size = 2369736, upload-time = "2026-05-06T13:37:05.645Z" }, + { url = "https://files.pythonhosted.org/packages/30/a6/9f9f380dbb301f67023bf8f707aaa75daadf84f7152d95c410fd7e81d994/pydantic_core-2.46.4-cp314-cp314t-win32.whl", hash = "sha256:e846ae7835bf0703ae43f534ab79a867146dadd59dc9ca5c8b53d5c8f7c9ef02", size = 1955575, upload-time = "2026-05-06T13:38:51.116Z" }, + { url = "https://files.pythonhosted.org/packages/40/1f/f1eb9eb350e795d1af8586289746f5c5677d16043040d63710e22abc43c9/pydantic_core-2.46.4-cp314-cp314t-win_amd64.whl", hash = "sha256:2108ba5c1c1eca18030634489dc544844144ee36357f2f9f780b93e7ddbb44b5", size = 2051624, upload-time = "2026-05-06T13:38:21.672Z" }, + { url = "https://files.pythonhosted.org/packages/f6/d2/42dd53d0a85c27606f316d3aa5d2869c4e8470a5ed6dec30e4a1abe19192/pydantic_core-2.46.4-cp314-cp314t-win_arm64.whl", hash = "sha256:4fcbe087dbc2068af7eda3aa87634eba216dbda64d1ae73c8684b621d33f6596", size = 2017325, upload-time = "2026-05-06T13:40:52.723Z" }, + { url = "https://files.pythonhosted.org/packages/ee/a4/73995fd4ebbb46ba0ee51e6fa049b8f02c40daebb762208feda8a6b7894d/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:14d4edf427bdcf950a8a02d7cb44a08614388dd6e1bdcbf4f67504fa7887da9c", size = 2111589, upload-time = "2026-05-06T13:37:10.817Z" }, + { url = "https://files.pythonhosted.org/packages/fb/7f/f37d3a5e8bfcc2e403f5c57a730f2d815693fb42119e8ea48b3789335af1/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:0ce40cd7b21210e99342afafbd4d0f76d784eb5b1d60f3bdc566be4983c6c73b", size = 1944552, upload-time = "2026-05-06T13:36:56.717Z" }, + { url = "https://files.pythonhosted.org/packages/15/3c/d7eb777b3ff43e8433a4efb39a17aa8fd98a4ee8561a24a67ef5db07b2d6/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:90884113d8b48f760e9587002789ddd741e76ab9f89518cd1e43b1f1a52ec44b", size = 1982984, upload-time = "2026-05-06T13:39:06.207Z" }, + { url = "https://files.pythonhosted.org/packages/63/87/70b9f40170a81afd55ca26c9b2acb25c20d64bcfbf888fafecb3ba077d4c/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:66ce7632c22d837c95301830e111ad0128a32b8207533b60896a96c4915192ea", size = 2138417, upload-time = "2026-05-06T13:39:45.476Z" }, + { url = "https://files.pythonhosted.org/packages/9d/1d/8987ad40f65ae1432753072f214fb5c74fe47ffbd0698bb9cbbb585664f8/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:1d8ba486450b14f3b1d63bc521d410ec7565e52f887b9fb671791886436a42f7", size = 2095527, upload-time = "2026-05-06T13:39:52.283Z" }, + { url = "https://files.pythonhosted.org/packages/64/d3/84c282a7eee1d3ac4c0377546ef5a1ea436ce26840d9ac3b7ed54a377507/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:3009f12e4e90b7f88b4f9adb1b0c4a3d58fe7820f3238c190047209d148026df", size = 1936024, upload-time = "2026-05-06T13:40:15.671Z" }, + { url = "https://files.pythonhosted.org/packages/d7/ca/eac61596cdeb4d7e174d3dc0bd8a6238f14f75f97a24e7b7db4c7e7340a0/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad785e92e6dc634c21555edc8bd6b64957ab844541bcb96a1366c202951ae526", size = 1990696, upload-time = "2026-05-06T13:38:34.717Z" }, + { url = "https://files.pythonhosted.org/packages/fa/c3/7c8b240552251faf6b3a957db200fcfbbcec36763c050428b601e0c9b83b/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0", size = 2147590, upload-time = "2026-05-06T13:39:29.883Z" }, + { url = "https://files.pythonhosted.org/packages/11/cb/428de0385b6c8d44b716feba566abfacfbd23ee3c4439faa789a1456242f/pydantic_core-2.46.4-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:0c563b08bca408dc7f65f700633d8442fffb2421fc47b8101377e9fd65051ff0", size = 2112782, upload-time = "2026-05-06T13:37:04.016Z" }, + { url = "https://files.pythonhosted.org/packages/0b/b5/6a17bdadd0fc1f170adfd05a20d37c832f52b117b4d9131da1f41bb097ce/pydantic_core-2.46.4-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:db06ffe51636ffe9ca531fe9023dd64bdd794be8754cb5df57c5498ae5b518a7", size = 1952146, upload-time = "2026-05-06T13:39:43.092Z" }, + { url = "https://files.pythonhosted.org/packages/2a/dc/03734d80e362cd43ef65428e9de77c730ce7f2f11c60d2b1e1b39f0fbf99/pydantic_core-2.46.4-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:133878133d271ade3d41d1bfb2a45ec38dbdbda40bc065921c6b04e4630127e2", size = 2134492, upload-time = "2026-05-06T13:36:58.124Z" }, + { url = "https://files.pythonhosted.org/packages/de/df/5e5ffc085ed07cc22d298134d3d911c63e91f6a0eb91fe646750a3209910/pydantic_core-2.46.4-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9bc519fbf2b7578398853d815009ae5e4d4603d12f4e3f91da8c06852d3da3e9", size = 2156604, upload-time = "2026-05-06T13:37:49.88Z" }, + { url = "https://files.pythonhosted.org/packages/81/44/6e112a4253e56f5705467cbab7ab5e91ee7398ba3d56d358635958893d3e/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:c7a7bd4e39e8e4c12c39cd480356842b6a8a06e41b23a55a5e3e191718838ddf", size = 2183828, upload-time = "2026-05-06T13:37:43.053Z" }, + { url = "https://files.pythonhosted.org/packages/ac/ad/5565071e937d8e752842ac241463944c9eb14c87e2d269f2658a5bd05e98/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:d396ec2b979760aaf3218e76c24e65bd0aca24983298653b3a9d7a45f9e47b30", size = 2310000, upload-time = "2026-05-06T13:37:56.694Z" }, + { url = "https://files.pythonhosted.org/packages/4f/c3/66883a5cec183e7fba4d024b4cbbe61851a63750ef606b0afecc46d1f2bf/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:86e1a4418c6cd97d60c95c71164158eaf7324fae7b0923264016baa993eba6fc", size = 2361286, upload-time = "2026-05-06T13:40:05.667Z" }, + { url = "https://files.pythonhosted.org/packages/4b/2d/69abac8f838090bbecd5df894befb2c2619e7996a98ddb949db9f3b93225/pydantic_core-2.46.4-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:d51026d73fcfd93610abc7b27789c26b313920fcfb20e27462d74a7f8b06e983", size = 2193071, upload-time = "2026-05-06T13:38:08.682Z" }, +] + +[[package]] +name = "pydantic-settings" +version = "2.14.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pydantic" }, + { name = "python-dotenv" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/07/60/1d1e59c9c90d54591469ada7d268251f71c24bdb765f1a8a832cee8c6653/pydantic_settings-2.14.1.tar.gz", hash = "sha256:e874d3bec7e787b0c9958277956ed9b4dd5de6a80e162188fdaff7c5e26fd5fa", size = 235551, upload-time = "2026-05-08T13:40:06.542Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ae/8d/f1af3832f5e6eb13ba94ee809e72b8ecb5eef226d27ee0bef7d963d943c7/pydantic_settings-2.14.1-py3-none-any.whl", hash = "sha256:6e3c7edfd8277687cdc598f56e5cff0e9bfff0910a3749deaa8d4401c3a2b9de", size = 60964, upload-time = "2026-05-08T13:40:04.958Z" }, +] + +[[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.12.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c2/27/a3b6e5bf6ff856d2509292e95c8f57f0df7017cf5394921fc4e4ef40308a/pyjwt-2.12.1.tar.gz", hash = "sha256:c74a7a2adf861c04d002db713dd85f84beb242228e671280bf709d765b03672b", size = 102564, upload-time = "2026-03-13T19:27:37.25Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e5/7a/8dd906bd22e79e47397a61742927f6747fe93242ef86645ee9092e610244/pyjwt-2.12.1-py3-none-any.whl", hash = "sha256:28ca37c070cad8ba8cd9790cd940535d40274d22f80ab87f3ac6a713e6e8454c", size = 29726, upload-time = "2026-03-13T19:27:35.677Z" }, +] + +[package.optional-dependencies] +crypto = [ + { name = "cryptography" }, +] + +[[package]] +name = "pyopenssl" +version = "23.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cryptography" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/be/df/75a6525d8988a89aed2393347e9db27a56cb38a3e864314fac223e905aef/pyOpenSSL-23.2.0.tar.gz", hash = "sha256:276f931f55a452e7dea69c7173e984eb2a4407ce413c918aa34b55f82f9b8bac", size = 185132, upload-time = "2023-05-31T03:21:28.901Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f0/e2/f8b4f1c67933a4907e52228241f4bd52169f3196b70af04403b29c63238a/pyOpenSSL-23.2.0-py3-none-any.whl", hash = "sha256:24f0dc5227396b3e831f4c7f602b950a5e9833d292c8e4a2e06b709292806ae2", size = 59036, upload-time = "2023-05-31T03:21:26.479Z" }, +] + +[[package]] +name = "pyparsing" +version = "3.3.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f3/91/9c6ee907786a473bf81c5f53cf703ba0957b23ab84c264080fb5a450416f/pyparsing-3.3.2.tar.gz", hash = "sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc", size = 6851574, upload-time = "2026-01-21T03:57:59.36Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781, upload-time = "2026-01-21T03:57:55.912Z" }, +] + +[[package]] +name = "pyright" +version = "1.1.409" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "nodeenv" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/51/4e/3aa27f74211522dba7e9cbc3e74de779c6d4b654c54e50a4840623be8014/pyright-1.1.409.tar.gz", hash = "sha256:986ee05beca9e077c165758ad123667c679e050059a2546aa02473930394bc93", size = 4430434, upload-time = "2026-04-23T11:02:03.799Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/16/6b/330d8ebae582b30c2959a1ef4c3bc344ebde48c2ff0c3f113c4710735e11/pyright-1.1.409-py3-none-any.whl", hash = "sha256:aa3ea228cab90c845c7a60d28db7a844c04315356392aa09fafcee98c8c22fb3", size = 6438161, upload-time = "2026-04-23T11:02:01.309Z" }, +] + +[[package]] +name = "pytest" +version = "7.4.4" +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 = "tomli", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/80/1f/9d8e98e4133ffb16c90f3b405c43e38d3abb715bb5d7a63a5a684f7e46a3/pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280", size = 1357116, upload-time = "2023-12-31T12:00:18.035Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/51/ff/f6e8b8f39e08547faece4bd80f89d5a8de68a38b2d179cc1c4490ffa3286/pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8", size = 325287, upload-time = "2023-12-31T12:00:13.963Z" }, +] + +[[package]] +name = "pytest-asyncio" +version = "0.18.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/4d/73/769d29676fb36a36e5a57c198154171081aabcfd08112a24a4e3fb5c9f10/pytest-asyncio-0.18.3.tar.gz", hash = "sha256:7659bdb0a9eb9c6e3ef992eef11a2b3e69697800ad02fb06374a210d85b29f91", size = 28052, upload-time = "2022-03-25T09:43:58.406Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8b/d6/4ecdd0c5b49a2209131b6af78baa643cec35f213abbc54d0eb1542b3786d/pytest_asyncio-0.18.3-1-py3-none-any.whl", hash = "sha256:16cf40bdf2b4fb7fc8e4b82bd05ce3fbcd454cbf7b92afc445fe299dabb88213", size = 14768, upload-time = "2022-03-28T13:53:15.727Z" }, + { url = "https://files.pythonhosted.org/packages/ac/4b/7c400506ec484ec999b10133aa8e31af39dfc727042dc6944cd45fd927d0/pytest_asyncio-0.18.3-py3-none-any.whl", hash = "sha256:8fafa6c52161addfd41ee7ab35f11836c5a16ec208f93ee388f752bea3493a84", size = 14597, upload-time = "2022-03-25T09:43:57.106Z" }, +] + +[[package]] +name = "pytest-pretty" +version = "1.3.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pytest" }, + { name = "rich" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ba/d7/c699e0be5401fe9ccad484562f0af9350b4e48c05acf39fb3dab1932128f/pytest_pretty-1.3.0.tar.gz", hash = "sha256:97e9921be40f003e40ae78db078d4a0c1ea42bf73418097b5077970c2cc43bf3", size = 219297, upload-time = "2025-06-04T12:54:37.322Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ab/85/2f97a1b65178b0f11c9c77c35417a4cc5b99a80db90dad4734a129844ea5/pytest_pretty-1.3.0-py3-none-any.whl", hash = "sha256:074b9d5783cef9571494543de07e768a4dda92a3e85118d6c7458c67297159b7", size = 5620, upload-time = "2025-06-04T12:54:36.229Z" }, +] + +[[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 = "python-multipart" +version = "0.0.29" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/4e/fe/70bd71a6738b09a0bdf6480ca6436b167469ca4578b2a0efbe390b4b0e70/python_multipart-0.0.29.tar.gz", hash = "sha256:643e93849196645e2dbdd81a0f8829a23123ad7f797a84a364c6fb3563f18904", size = 45678, upload-time = "2026-05-17T17:29:47.654Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8f/cb/769cfc37177252872a45a71f3fbdde9d51b471a3f3c14bfe95dde3407386/python_multipart-0.0.29-py3-none-any.whl", hash = "sha256:2ddcc971cef266225f54f552d8fa10bcfbb1f14446caec199060daac59ff2d69", size = 29640, upload-time = "2026-05-17T17:29:45.69Z" }, +] + +[[package]] +name = "pytz" +version = "2026.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ff/46/dd499ec9038423421951e4fad73051febaa13d2df82b4064f87af8b8c0c3/pytz-2026.2.tar.gz", hash = "sha256:0e60b47b29f21574376f218fe21abc009894a2321ea16c6754f3cad6eb7cdd6a", size = 320861, upload-time = "2026-05-04T01:35:29.667Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/dd/96da98f892250475bdf2328112d7468abdd4acc7b902b6af23f4ed958ea0/pytz-2026.2-py2.py3-none-any.whl", hash = "sha256:04156e608bee23d3792fd45c94ae47fae1036688e75032eea2e3bf0323d1f126", size = 510141, upload-time = "2026-05-04T01:35:27.408Z" }, +] + +[[package]] +name = "pywin32" +version = "311" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7b/40/44efbb0dfbd33aca6a6483191dae0716070ed99e2ecb0c53683f400a0b4f/pywin32-311-cp310-cp310-win32.whl", hash = "sha256:d03ff496d2a0cd4a5893504789d4a15399133fe82517455e78bad62efbb7f0a3", size = 8760432, upload-time = "2025-07-14T20:13:05.9Z" }, + { url = "https://files.pythonhosted.org/packages/5e/bf/360243b1e953bd254a82f12653974be395ba880e7ec23e3731d9f73921cc/pywin32-311-cp310-cp310-win_amd64.whl", hash = "sha256:797c2772017851984b97180b0bebe4b620bb86328e8a884bb626156295a63b3b", size = 9590103, upload-time = "2025-07-14T20:13:07.698Z" }, + { url = "https://files.pythonhosted.org/packages/57/38/d290720e6f138086fb3d5ffe0b6caa019a791dd57866940c82e4eeaf2012/pywin32-311-cp310-cp310-win_arm64.whl", hash = "sha256:0502d1facf1fed4839a9a51ccbcc63d952cf318f78ffc00a7e78528ac27d7a2b", size = 8778557, upload-time = "2025-07-14T20:13:11.11Z" }, + { url = "https://files.pythonhosted.org/packages/7c/af/449a6a91e5d6db51420875c54f6aff7c97a86a3b13a0b4f1a5c13b988de3/pywin32-311-cp311-cp311-win32.whl", hash = "sha256:184eb5e436dea364dcd3d2316d577d625c0351bf237c4e9a5fabbcfa5a58b151", size = 8697031, upload-time = "2025-07-14T20:13:13.266Z" }, + { url = "https://files.pythonhosted.org/packages/51/8f/9bb81dd5bb77d22243d33c8397f09377056d5c687aa6d4042bea7fbf8364/pywin32-311-cp311-cp311-win_amd64.whl", hash = "sha256:3ce80b34b22b17ccbd937a6e78e7225d80c52f5ab9940fe0506a1a16f3dab503", size = 9508308, upload-time = "2025-07-14T20:13:15.147Z" }, + { url = "https://files.pythonhosted.org/packages/44/7b/9c2ab54f74a138c491aba1b1cd0795ba61f144c711daea84a88b63dc0f6c/pywin32-311-cp311-cp311-win_arm64.whl", hash = "sha256:a733f1388e1a842abb67ffa8e7aad0e70ac519e09b0f6a784e65a136ec7cefd2", size = 8703930, upload-time = "2025-07-14T20:13:16.945Z" }, + { url = "https://files.pythonhosted.org/packages/e7/ab/01ea1943d4eba0f850c3c61e78e8dd59757ff815ff3ccd0a84de5f541f42/pywin32-311-cp312-cp312-win32.whl", hash = "sha256:750ec6e621af2b948540032557b10a2d43b0cee2ae9758c54154d711cc852d31", size = 8706543, upload-time = "2025-07-14T20:13:20.765Z" }, + { url = "https://files.pythonhosted.org/packages/d1/a8/a0e8d07d4d051ec7502cd58b291ec98dcc0c3fff027caad0470b72cfcc2f/pywin32-311-cp312-cp312-win_amd64.whl", hash = "sha256:b8c095edad5c211ff31c05223658e71bf7116daa0ecf3ad85f3201ea3190d067", size = 9495040, upload-time = "2025-07-14T20:13:22.543Z" }, + { url = "https://files.pythonhosted.org/packages/ba/3a/2ae996277b4b50f17d61f0603efd8253cb2d79cc7ae159468007b586396d/pywin32-311-cp312-cp312-win_arm64.whl", hash = "sha256:e286f46a9a39c4a18b319c28f59b61de793654af2f395c102b4f819e584b5852", size = 8710102, upload-time = "2025-07-14T20:13:24.682Z" }, + { url = "https://files.pythonhosted.org/packages/a5/be/3fd5de0979fcb3994bfee0d65ed8ca9506a8a1260651b86174f6a86f52b3/pywin32-311-cp313-cp313-win32.whl", hash = "sha256:f95ba5a847cba10dd8c4d8fefa9f2a6cf283b8b88ed6178fa8a6c1ab16054d0d", size = 8705700, upload-time = "2025-07-14T20:13:26.471Z" }, + { url = "https://files.pythonhosted.org/packages/e3/28/e0a1909523c6890208295a29e05c2adb2126364e289826c0a8bc7297bd5c/pywin32-311-cp313-cp313-win_amd64.whl", hash = "sha256:718a38f7e5b058e76aee1c56ddd06908116d35147e133427e59a3983f703a20d", size = 9494700, upload-time = "2025-07-14T20:13:28.243Z" }, + { url = "https://files.pythonhosted.org/packages/04/bf/90339ac0f55726dce7d794e6d79a18a91265bdf3aa70b6b9ca52f35e022a/pywin32-311-cp313-cp313-win_arm64.whl", hash = "sha256:7b4075d959648406202d92a2310cb990fea19b535c7f4a78d3f5e10b926eeb8a", size = 8709318, upload-time = "2025-07-14T20:13:30.348Z" }, + { url = "https://files.pythonhosted.org/packages/c9/31/097f2e132c4f16d99a22bfb777e0fd88bd8e1c634304e102f313af69ace5/pywin32-311-cp314-cp314-win32.whl", hash = "sha256:b7a2c10b93f8986666d0c803ee19b5990885872a7de910fc460f9b0c2fbf92ee", size = 8840714, upload-time = "2025-07-14T20:13:32.449Z" }, + { url = "https://files.pythonhosted.org/packages/90/4b/07c77d8ba0e01349358082713400435347df8426208171ce297da32c313d/pywin32-311-cp314-cp314-win_amd64.whl", hash = "sha256:3aca44c046bd2ed8c90de9cb8427f581c479e594e99b5c0bb19b29c10fd6cb87", size = 9656800, upload-time = "2025-07-14T20:13:34.312Z" }, + { url = "https://files.pythonhosted.org/packages/c0/d2/21af5c535501a7233e734b8af901574572da66fcc254cb35d0609c9080dd/pywin32-311-cp314-cp314-win_arm64.whl", hash = "sha256:a508e2d9025764a8270f93111a970e1d0fbfc33f4153b388bb649b7eec4f9b42", size = 8932540, upload-time = "2025-07-14T20:13:36.379Z" }, +] + +[[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 = "redis" +version = "7.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "async-timeout", marker = "python_full_version < '3.11.3'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7b/7f/3759b1d0d72b7c92f0d70ffd9dc962b7b7b5ee74e135f9d7d8ab06b8a318/redis-7.4.0.tar.gz", hash = "sha256:64a6ea7bf567ad43c964d2c30d82853f8df927c5c9017766c55a1d1ed95d18ad", size = 4943913, upload-time = "2026-03-24T09:14:37.53Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/74/3a/95deec7db1eb53979973ebd156f3369a72732208d1391cd2e5d127062a32/redis-7.4.0-py3-none-any.whl", hash = "sha256:a9c74a5c893a5ef8455a5adb793a31bb70feb821c86eccb62eebef5a19c429ec", size = 409772, upload-time = "2026-03-24T09:14:35.968Z" }, +] + +[[package]] +name = "referencing" +version = "0.37.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "rpds-py" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036, upload-time = "2025-10-13T15:30:48.871Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766, upload-time = "2025-10-13T15:30:47.625Z" }, +] + +[[package]] +name = "regex" +version = "2026.5.9" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/dc/0e/49aee608ad09480e7fd276898c99ec6192985fa331abe4eb3a986094490b/regex-2026.5.9.tar.gz", hash = "sha256:a8234aa23ec39894bfe4a3f1b85616a7032481964a13ac6fc9f10de4f6fca270", size = 416074, upload-time = "2026-05-09T23:15:19.37Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fe/ed/0ad2c8edf634918eb4484365d3819fa7bd7f58daf807fe7fb21812c316e5/regex-2026.5.9-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a9e1328e17c84c1a5d22ec9f785ecef4a967fab9a42b6a8dc3bcbebd0a0c9e44", size = 489438, upload-time = "2026-05-09T23:11:29.374Z" }, + { url = "https://files.pythonhosted.org/packages/89/a9/4ed972ad263963b860b7c3e86e0e1bcc791def47b43b8c8efe57e710f139/regex-2026.5.9-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:bfe1ce50cbfb569d74e1e4337da6468961f31dbea55fd85aa5de59c0947a805a", size = 291270, upload-time = "2026-05-09T23:11:33.254Z" }, + { url = "https://files.pythonhosted.org/packages/16/81/075930d9fa28c4ea1f53398dd015ee7c882f623539759113cda1257f4b82/regex-2026.5.9-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:15ee42209947f4ca045412eae98416317238163618ace2a8e54f99586a466733", size = 289198, upload-time = "2026-05-09T23:11:35.769Z" }, + { url = "https://files.pythonhosted.org/packages/d4/c8/5cdfbf0b5dc6599e1b6131eff43262e5275d4ec3469ce10216061659aadb/regex-2026.5.9-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b4bb445ff3f725f59df8f6014edb547ee928ec7023a774f6a39a3f953038cbb2", size = 784765, upload-time = "2026-05-09T23:11:37.689Z" }, + { url = "https://files.pythonhosted.org/packages/cd/ca/ae5fd6edc59b7f84b904b31d6ec39a860cbcecd10f64bd5a062ca83a4864/regex-2026.5.9-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:446ddd671e43ab535810c4b21cff7104945c701d4a14d1e6d1cd6f4e445a8bea", size = 852115, upload-time = "2026-05-09T23:11:39.973Z" }, + { url = "https://files.pythonhosted.org/packages/f6/ce/a91cf555afb51f3b74a182e24ba073b91ea7bb64592fc4b315c111bb19fd/regex-2026.5.9-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7b92817338591505f282cf3864c145244b1edcf5381d237038df955001091538", size = 899503, upload-time = "2026-05-09T23:11:42.48Z" }, + { url = "https://files.pythonhosted.org/packages/55/7f/725a0a2b245a4cf0c4bab29d0e97c74285d94136a65d1b55a6459a583502/regex-2026.5.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6b8a143aca6c39b446ea8092cde25cc8fe9304d4f5fecfbc1a9dbb0282703c2", size = 794093, upload-time = "2026-05-09T23:11:44.681Z" }, + { url = "https://files.pythonhosted.org/packages/e3/2a/996efbd59ce6b5d4a09e3af6180ceb62af171f4a9a6fb557d2f0ae0d462b/regex-2026.5.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0f03aa6898aaaac4592479821df16e68e8d0e29e903e65d8f2dfb2f19028a989", size = 786234, upload-time = "2026-05-09T23:11:46.882Z" }, + { url = "https://files.pythonhosted.org/packages/4b/0a/8731e8b8806174c9cdd5903f80a14990331c1f42fc4209b540952e9e010d/regex-2026.5.9-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ed457d8e98ae812ed7732bef7bf78de78e834eae0372a74e23ca90ef21d910f9", size = 769895, upload-time = "2026-05-09T23:11:49.324Z" }, + { url = "https://files.pythonhosted.org/packages/9a/0b/932473194bd563f342a412ae2ffbbd6da608306a2bc4e99249a41c2b0b92/regex-2026.5.9-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:71b61c5bfe1c806332defc42ad6c780b3c55f661986d7f40283a3a88274b4c00", size = 774991, upload-time = "2026-05-09T23:11:51.261Z" }, + { url = "https://files.pythonhosted.org/packages/98/80/9523d196010031df25f7177ee0a467efbee436324038e5d99def17a57515/regex-2026.5.9-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:3b1e39888c5e0c7d92cea4fc777396c4a90363b05de75d02eb459a4752200808", size = 848790, upload-time = "2026-05-09T23:11:53.232Z" }, + { url = "https://files.pythonhosted.org/packages/3c/07/56987b35e89edf47e4a38cf2845aeee476bfa688a6bdbd3e820cda461dc1/regex-2026.5.9-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:6ba42b2e7e7f46cf68cc6a5ca36fa07959f9bbd9c6bdcc47b6ee76549a590248", size = 757679, upload-time = "2026-05-09T23:11:55.82Z" }, + { url = "https://files.pythonhosted.org/packages/04/2a/ff713fff0c566507c06a4ce2dc0ae8e7eeebc88811a95fc81cf1e7d534dd/regex-2026.5.9-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:c010eb8caca74bdb40c07498d7ece26b4428fd3f04aa8a72c9ac6f79e8faaac6", size = 837116, upload-time = "2026-05-09T23:11:57.934Z" }, + { url = "https://files.pythonhosted.org/packages/77/90/df6d982b03e3614785c6937ba51b57f6733d97d2ee1c9bc7531dbfab3a54/regex-2026.5.9-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:a6a563446a41adc451393dc6b8e6ad87979efaee3c8738690a8d1b08ebead1b4", size = 782081, upload-time = "2026-05-09T23:11:59.607Z" }, + { url = "https://files.pythonhosted.org/packages/c7/8a/4e88a5f7c3e98489aac4dd23142723d907b2a595b4a6abcbacabefeded09/regex-2026.5.9-cp310-cp310-win32.whl", hash = "sha256:954cc214c04663ee6d266fc61739cad83054683048de65c5bd1d640ad28098ac", size = 266247, upload-time = "2026-05-09T23:12:01.116Z" }, + { url = "https://files.pythonhosted.org/packages/6a/40/4b224cb0582b2dca1786726e6cdabe26abbf757d7f6718332f186da155d2/regex-2026.5.9-cp310-cp310-win_amd64.whl", hash = "sha256:b310768746dd314ea6e2ff4cc89ef215426813396ff4e94ee8e6f7096c8b6e03", size = 278416, upload-time = "2026-05-09T23:12:03.2Z" }, + { url = "https://files.pythonhosted.org/packages/12/4d/014fbe803204cab0947ee428f09f658a29632053dde1d3c6176bb4f0fd4c/regex-2026.5.9-cp310-cp310-win_arm64.whl", hash = "sha256:19c16ceb4a267a8789e25733e583983eeab9f0f8664e66b0bd1c5d21f14c2d4b", size = 270413, upload-time = "2026-05-09T23:12:04.649Z" }, + { url = "https://files.pythonhosted.org/packages/c2/dc/c1f2df4027e82fc54b5a473e4b250f5139faca49a0fbe29a48668d228f34/regex-2026.5.9-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ccf5249114cc3e772ecdd88a98a86eca0fd74c61ce32a94743758c083fc05d48", size = 489445, upload-time = "2026-05-09T23:12:06.111Z" }, + { url = "https://files.pythonhosted.org/packages/03/d2/59f01110660081cce9c0bc30ebd0b5ee250dacf658e3248ed92f01e0e8ee/regex-2026.5.9-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:46f1326ca6e65b0879d23ca302c0f2415aad42ff0309b9c818e7949fe19a41d8", size = 291271, upload-time = "2026-05-09T23:12:07.731Z" }, + { url = "https://files.pythonhosted.org/packages/58/b6/14b2c84ff90ddb370c81d27503f4a0fcf071496416f4855f6cc8c5d81c35/regex-2026.5.9-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ef31cbfe458e21c6122ba8150ff060e0c7789ed0d26eb423f25472584920b555", size = 289212, upload-time = "2026-05-09T23:12:09.266Z" }, + { url = "https://files.pythonhosted.org/packages/03/d0/4db86529117320de0c84afd90e70bb47434625875e34fcef9d8c127c5b16/regex-2026.5.9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:992604d02e6d9c6d786c24a706a71ecffe1020fc1ef264044474cd81fa2c3919", size = 792310, upload-time = "2026-05-09T23:12:11.416Z" }, + { url = "https://files.pythonhosted.org/packages/07/78/fe4800cd322f862ecffd2d553409b20d80650e5ed71b9d178f853d020b82/regex-2026.5.9-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c9411dd64ca95477225734a93dfc8583b51916b8d5942f99d6cac21e09965451", size = 861721, upload-time = "2026-05-09T23:12:13.681Z" }, + { url = "https://files.pythonhosted.org/packages/b5/d0/b3618a895dd8feb897c61bb2954edd265e1767d82a01d53065d5871127a3/regex-2026.5.9-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3dd4a3ff360dfb836fecdb93a4598f9d6e2ac81e3e397125145c6221bf58cf4c", size = 906460, upload-time = "2026-05-09T23:12:15.443Z" }, + { url = "https://files.pythonhosted.org/packages/33/6f/1481597e859ef19508b345eec4afd1416ed6e6b459c75a64026ef193aecf/regex-2026.5.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2a661a7d270a61f7cf460caee8b9fa2d5ef9e5c681234bcb9e0fe14f488e7dfc", size = 799843, upload-time = "2026-05-09T23:12:16.892Z" }, + { url = "https://files.pythonhosted.org/packages/73/59/955734c803f59108deccba3597ae440c76b62a652733c0006e6243758420/regex-2026.5.9-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f079e50a0d3cc3cd5091fa9ff45869a2e6b2cd35895731edafb0327901a8d86d", size = 773610, upload-time = "2026-05-09T23:12:19.127Z" }, + { url = "https://files.pythonhosted.org/packages/68/8f/70c04a236d651c81881dac42ef8538bddda6121434509d0a22d9e601503b/regex-2026.5.9-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4ebe8f0b5ec5a5024dc4a4c59f444c4e9afc5f2abdbb8962065b75d27fb971f9", size = 781645, upload-time = "2026-05-09T23:12:20.806Z" }, + { url = "https://files.pythonhosted.org/packages/1d/96/05c7434d88185e5d27fe54aeb74df86bd77cd79f52f0b4eae54faa8fea70/regex-2026.5.9-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:97cf3bc1b7d7d2306772ec07366c80d9df00ff79e79cea32898883a646d2fae2", size = 854473, upload-time = "2026-05-09T23:12:22.465Z" }, + { url = "https://files.pythonhosted.org/packages/4e/c1/6e3d8202d981f3117004bf341ee74893ba4ba8a9fbaf4b94615846550a08/regex-2026.5.9-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:0f9eede6a5cbdc02d4978090186390936e1776a7d1359b21e41014c609880bcf", size = 763311, upload-time = "2026-05-09T23:12:24.351Z" }, + { url = "https://files.pythonhosted.org/packages/93/c7/e7737f1526b3fb32bd4c337fd6c71c3ebb5c8296fc34d11197e0955d2e35/regex-2026.5.9-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:01f0f5f55f4b64dacec85dc116d3c05fd23ad3ff037bbc73a2085775953c2611", size = 844593, upload-time = "2026-05-09T23:12:26.341Z" }, + { url = "https://files.pythonhosted.org/packages/a5/27/0daffb1a535bb39f422c3d200f4ab023c71110ad66a32b366bee708baba0/regex-2026.5.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1268eddd8486dc561d08eee1156e40aa3a8fe10f4bdec8fa653b455fcbffd12c", size = 789167, upload-time = "2026-05-09T23:12:27.975Z" }, + { url = "https://files.pythonhosted.org/packages/ce/fc/294fe4fac4f2ed67207b17471815870c1c45b3a489e08e0ac96daea16ef6/regex-2026.5.9-cp311-cp311-win32.whl", hash = "sha256:8676474c07469d6f33dd1085ca2cd45f65785f32518f2b20e36d9953ca07f994", size = 266249, upload-time = "2026-05-09T23:12:30.141Z" }, + { url = "https://files.pythonhosted.org/packages/d0/b0/8dce459f6245bcf8f6e9f23ac9569f1a0f15c131cc0745e82b43226204cf/regex-2026.5.9-cp311-cp311-win_amd64.whl", hash = "sha256:246de9d60aa3f8538b519834dd95cbf276ea263d6a7bd5a3666dc3fa0230505b", size = 278423, upload-time = "2026-05-09T23:12:31.676Z" }, + { url = "https://files.pythonhosted.org/packages/db/8d/f9aeff6ad63a3ef720386f2907e6d34a35a510a6e498ebad28b0fb3f6ab6/regex-2026.5.9-cp311-cp311-win_arm64.whl", hash = "sha256:d726ca3f0d76969bf1e8e477d160d3d666bbf999f6860bd314889e5345782046", size = 270420, upload-time = "2026-05-09T23:12:33.194Z" }, + { url = "https://files.pythonhosted.org/packages/50/9b/6550044bc44e17c84d312c031c2ec42fbdb6a4ec4e29093be3a172d08772/regex-2026.5.9-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:57eeeb05db7979413dec5438f2db21d7ecbba787cde7a711df1a6f6df672aa06", size = 490451, upload-time = "2026-05-09T23:12:34.72Z" }, + { url = "https://files.pythonhosted.org/packages/1e/95/fc7ba4303b5a0f92446a12ee6778ef2c6c799233f5060042a31bf390cfe9/regex-2026.5.9-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:398c521292f4c7fb807001dcd54694d3a1fcafc179a36ad9cc56f98df85930b6", size = 292112, upload-time = "2026-05-09T23:12:36.285Z" }, + { url = "https://files.pythonhosted.org/packages/54/4b/ee27938d1b2c443e89a9a10e00d2d19aa5ee300cd3d61140644e93bb083e/regex-2026.5.9-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f7a7c26137296beba7784de6eba69c6a93a63ccebc385e4962fe67e267a91225", size = 289599, upload-time = "2026-05-09T23:12:38.089Z" }, + { url = "https://files.pythonhosted.org/packages/d8/dd/ba103dc19614e25f3880800ca67ce093d6e21b325d72b8383c7bf906e9fa/regex-2026.5.9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6441cc660d76107934a09c22167200839a0e89604a6297f78a974e66e931d2c0", size = 796732, upload-time = "2026-05-09T23:12:40.062Z" }, + { url = "https://files.pythonhosted.org/packages/cf/e7/f035b4fd858b050b0080bf302968dc0f59ba34e391872d54936758e6844e/regex-2026.5.9-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:91328f1c23d47595ca3ef0a7557fa129c5a23404b775c770697d2f35b33e0107", size = 865440, upload-time = "2026-05-09T23:12:42.059Z" }, + { url = "https://files.pythonhosted.org/packages/0a/51/8cd301ecc899aea28124357f729f4272f44de7806fc7ca02490bfbe253e8/regex-2026.5.9-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:93a7860539414dddaefba2b40f8771765ae17949d4c7182b876ce429e11a8309", size = 912329, upload-time = "2026-05-09T23:12:44.373Z" }, + { url = "https://files.pythonhosted.org/packages/cc/1e/3fbe2fa1e8cebd62f3bb7d3321cff1640aca2e240b51d9bd624aad949260/regex-2026.5.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dd2810d22146b6d838acc5ec15602cb6b47920aa4e33015df3868eedfd20bab8", size = 801239, upload-time = "2026-05-09T23:12:46.268Z" }, + { url = "https://files.pythonhosted.org/packages/17/2f/6f6008682bf2cf98040a0d3153a8e557b6ab728d7713d045cee4ce544ab8/regex-2026.5.9-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:daff2bdbaf1d23e52fdff7c0b7bc2048b68f978df6a4d107ac981f94caef2e66", size = 777054, upload-time = "2026-05-09T23:12:48.051Z" }, + { url = "https://files.pythonhosted.org/packages/19/2b/eee0d20a6842ba04df4b8847a920b57ef56853f14ef85405473e586b605a/regex-2026.5.9-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4eeb011098fcb77af513dcef521a3dbecbf8849b1e38940759d293b7a93f5026", size = 785098, upload-time = "2026-05-09T23:12:49.851Z" }, + { url = "https://files.pythonhosted.org/packages/4a/98/6fc1e6410feefb92159edaed5041992bfe390e8d26c721865434acbca558/regex-2026.5.9-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:ea9c8ecfa1b73c73b626534d6626e5340d429630943672b8480724f44e84b962", size = 860095, upload-time = "2026-05-09T23:12:51.666Z" }, + { url = "https://files.pythonhosted.org/packages/18/a3/bd855e0f2cb1a978ecf6fa6bb69632dd9c3f6ea3b81cde62fde14c9daec7/regex-2026.5.9-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:cd2846168eb9ee3c513902bc8225409cb1caab31d04728b145171fa1625d9621", size = 765762, upload-time = "2026-05-09T23:12:53.413Z" }, + { url = "https://files.pythonhosted.org/packages/dc/66/0ae8c092e60b14c79d24f8e0b7f0aea5bfbffdcab00b5483d13404d3c3a5/regex-2026.5.9-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:39617fb0cde9c0e6306dc70e3bfc096f3da793219879f7ae7aa341a69fbdcf6d", size = 852100, upload-time = "2026-05-09T23:12:55.256Z" }, + { url = "https://files.pythonhosted.org/packages/21/de/8dfde60fc1b21c946a893ba273403b72617edb261370cb1087099a83f088/regex-2026.5.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fd03c4f0e33280d15cae17159b899245d6b7c53d21def19b263b39655061f5ce", size = 789479, upload-time = "2026-05-09T23:12:57.573Z" }, + { url = "https://files.pythonhosted.org/packages/c3/1c/bdcc98f9a4af4fdd166c74941174619ccff4726d3ce32faa8e9a2ecd38dd/regex-2026.5.9-cp312-cp312-win32.whl", hash = "sha256:164eba9b755ea6f244b0d881196fbc1fac09714e9782c9e2732b813142033c8e", size = 266699, upload-time = "2026-05-09T23:12:59.14Z" }, + { url = "https://files.pythonhosted.org/packages/78/87/240d36864f9e48ace85f72e79ced97ceb7f27ce87739a947dcb834b4e6bc/regex-2026.5.9-cp312-cp312-win_amd64.whl", hash = "sha256:86f40a5d6444db30a125c9c9177e6b25dad981cbc37451fd838f145e6edac92e", size = 277783, upload-time = "2026-05-09T23:13:00.789Z" }, + { url = "https://files.pythonhosted.org/packages/4f/b5/7b30f312b0669dff5beebe5b0989dc2d1a312b1a44fab852199c387a5b96/regex-2026.5.9-cp312-cp312-win_arm64.whl", hash = "sha256:96f5f58b54a063d7ea9dca08e1cf57bfe10499c4d579ee672da284f57f5f0070", size = 270513, upload-time = "2026-05-09T23:13:02.426Z" }, + { url = "https://files.pythonhosted.org/packages/aa/da/797e91ecec6f84135da778ddce78c20e0af5d2a15c26f87a81bc3eadb6db/regex-2026.5.9-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:d626b84406444b165fc0ba981604edea39f0588ff1f92baa23fe50799ea9afdb", size = 490303, upload-time = "2026-05-09T23:13:04.382Z" }, + { url = "https://files.pythonhosted.org/packages/44/da/bf30abaaa737b58f4a4b8c4a03659e02fd92092c822e0197ed9e0daab917/regex-2026.5.9-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d7bdc0ab8f3dd7e1b4f9ab88634e13374669db86bb3c72e8292f07ae313f539f", size = 292019, upload-time = "2026-05-09T23:13:06.022Z" }, + { url = "https://files.pythonhosted.org/packages/2d/e7/d0eaf5713828417b9e5648cf81fa9bacd4961f6ab98c380c2034f8716e35/regex-2026.5.9-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a8820737949116ffff55fe18f9fc644530063ba6ebfcb8314239416e78f1347c", size = 289468, upload-time = "2026-05-09T23:13:08.214Z" }, + { url = "https://files.pythonhosted.org/packages/d3/9b/b3fdd62b003baa1a9b593cd8c8699c9651c2e80cc21a5c715707983c42d7/regex-2026.5.9-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aa0fbdbac82cb3e4450d0ccde7d7a35607f4cb2dd9fba4b8b69bfaf8c9fa6aed", size = 796749, upload-time = "2026-05-09T23:13:10.573Z" }, + { url = "https://files.pythonhosted.org/packages/d4/30/66ab84588765f5b4b271a9ca09ef7ce2b87caa95176ec3d2ad65d7bc4902/regex-2026.5.9-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:57e8915c7986aa33d25e4d3629cef711cd2863f2961b10409f0c04cb8b7d9020", size = 865445, upload-time = "2026-05-09T23:13:12.523Z" }, + { url = "https://files.pythonhosted.org/packages/1a/89/f05169e8588aac365f35ffc7f3bc3184f095ef4cfded7cfaa3c7fd5dbd89/regex-2026.5.9-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:508f56a89ba9cb26e4168cbc37dbd60a28d82430a9e18ad1d25fe0883c314ca2", size = 912322, upload-time = "2026-05-09T23:13:14.281Z" }, + { url = "https://files.pythonhosted.org/packages/30/e1/c93444052cf41581f3c884ab3fb5823daf0992f11cd4388d4275ca610558/regex-2026.5.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b6d189041f15691cfa2b6c4290448ec221244d225b3f5fe9e7771b34ffcdf6e2", size = 801269, upload-time = "2026-05-09T23:13:16.569Z" }, + { url = "https://files.pythonhosted.org/packages/50/fe/0cf96b882f540e62e8b9956599798203d599c44cf4c77917ca27400ff69b/regex-2026.5.9-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e82db382b44d0111b22601c509c89f64434816c9e0eef9d1989cda8cc6ff1c04", size = 777085, upload-time = "2026-05-09T23:13:18.675Z" }, + { url = "https://files.pythonhosted.org/packages/23/5c/d78d4924e7fc875557b9e9b768423925fdfaac5549d06da7810019a9bd26/regex-2026.5.9-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:2acfb48634f64996b57f90f39afa692ff362162722581921fe92239a59960f3c", size = 785153, upload-time = "2026-05-09T23:13:20.525Z" }, + { url = "https://files.pythonhosted.org/packages/bf/e0/5214774090e7b4524dcea3e3c4aa74141d43043f8beb49c1599db1c8b53a/regex-2026.5.9-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:d29eebfc9525db68cad3c97eedd7f754fa265aa5cd0cf4f863b2421e1b48fc9f", size = 860164, upload-time = "2026-05-09T23:13:22.263Z" }, + { url = "https://files.pythonhosted.org/packages/6e/e1/4a57a83350319b1271f0d7a249b8672513ed928b237a741631270de6caea/regex-2026.5.9-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:debb893095e944091c16e641a6e33c1b0f4cb61ab945ec5afbf53ce7068834d8", size = 765731, upload-time = "2026-05-09T23:13:24.277Z" }, + { url = "https://files.pythonhosted.org/packages/12/f4/499e74a20c156fc75836ee04a72a38d1a063978f600937f9760467beb1b0/regex-2026.5.9-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:d659eee77986549c9ea45b861c7567e44d6287c3dc9a4565478853f7b9fe2ff6", size = 852062, upload-time = "2026-05-09T23:13:26.125Z" }, + { url = "https://files.pythonhosted.org/packages/5b/92/7eebc0d0a01e78629695f342ba17e0deaff8fb45e79cc0d7b98287da6e3e/regex-2026.5.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2efa205e6d98b24d1f3ab395c11aa15cdf10935bca283d0285e0499c284fba21", size = 789577, upload-time = "2026-05-09T23:13:27.814Z" }, + { url = "https://files.pythonhosted.org/packages/05/a4/018e71f7d2ad48c1ebe6d3ae0026f9b7cb4802fd15c7cc02fdf724355102/regex-2026.5.9-cp313-cp313-win32.whl", hash = "sha256:f3844f134e834076677dd369976e9f5068679fcb8e50102fdf6b7ac96a3ec127", size = 266691, upload-time = "2026-05-09T23:13:29.549Z" }, + { url = "https://files.pythonhosted.org/packages/e6/1d/861a93719fb9ee7dbfc3761b3797b7a3e112a5d42c6129459d2d741be9b5/regex-2026.5.9-cp313-cp313-win_amd64.whl", hash = "sha256:3527bb4942d2c14552155406cdedd906567456821848aed1cb4933a391bf5eca", size = 277747, upload-time = "2026-05-09T23:13:31.859Z" }, + { url = "https://files.pythonhosted.org/packages/d9/c6/0a2436ae4da1ba76e51cb98943c6838a9a721faa40ebe2dce07694ae34e3/regex-2026.5.9-cp313-cp313-win_arm64.whl", hash = "sha256:56a33f191f17d8c417f99945ebdc1e691d3af9605d86ec68c7e54a57e3e17af6", size = 270500, upload-time = "2026-05-09T23:13:33.525Z" }, + { url = "https://files.pythonhosted.org/packages/e8/e9/d21346f7b60ed58789371358ed66b09d00f832e1bd7c06e55d9da5679882/regex-2026.5.9-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:01f28d868834624c934b8d2e0aa1c8341337e37831f4a012f18a5afcba4cbaf3", size = 494172, upload-time = "2026-05-09T23:13:35.935Z" }, + { url = "https://files.pythonhosted.org/packages/c4/43/fd1177a2032037c681baecdb3422ee4e1424aec4e4f470ef47793d325274/regex-2026.5.9-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:48036f6374aaa79eb3b754ec29c61d1c6b1606749d705a13f8854fa2539671f6", size = 293952, upload-time = "2026-05-09T23:13:38.307Z" }, + { url = "https://files.pythonhosted.org/packages/f2/7d/9fbf919768368d3f8a4f6c692cf2aa61e482b2b81ec6a298ace4cbf02480/regex-2026.5.9-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b96350aa424e79d4fd6b567b344dcbe2b2d6bfc48dfe7717587e1fa6d43da6ff", size = 292314, upload-time = "2026-05-09T23:13:40.353Z" }, + { url = "https://files.pythonhosted.org/packages/e2/6c/e41bfeecb589716843e7c4df09ba46ff2a42961457afece19059d85caeef/regex-2026.5.9-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8f3af7a4903c5c04a11a196a5aa75cdd7dd3f8508132f9fb3259d9f5908e3b88", size = 811681, upload-time = "2026-05-09T23:13:42.543Z" }, + { url = "https://files.pythonhosted.org/packages/87/83/a5c1c525fba0aa656e88ad0face0b1829788ef4c2fb6b26df58aa1151b84/regex-2026.5.9-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7e87577720152d2caae19fe2baaf1f8d5ca12091e9e229f03915c37d1e4b9178", size = 871135, upload-time = "2026-05-09T23:13:44.326Z" }, + { url = "https://files.pythonhosted.org/packages/18/d4/80882e799e440dd878b0979cbebf8fa4d54624a332c83037c7a701649e3f/regex-2026.5.9-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c8b9b9d294cfea3cd19c718ade7cc93492b2c4991abd9a68d0b3477ae6d8e100", size = 917265, upload-time = "2026-05-09T23:13:47.295Z" }, + { url = "https://files.pythonhosted.org/packages/ae/ff/8db60211e2286e396aad7dc7725356c502bff0901ea05bd6cdc2e1a042b9/regex-2026.5.9-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:728d8bfd28a8845c8b6bc5dc7ce010453d206396786c0765c2740cb65f37791e", size = 816311, upload-time = "2026-05-09T23:13:49.885Z" }, + { url = "https://files.pythonhosted.org/packages/4c/47/742ef579c61730f8d268e5cf1f9ce0e37e2ea041ad0f5644724f2378e463/regex-2026.5.9-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7e30b874d341fac767d7df5a0870540541c2c054b80cfaac116e8d367a8a7ff2", size = 785498, upload-time = "2026-05-09T23:13:52.25Z" }, + { url = "https://files.pythonhosted.org/packages/7f/ab/cb0999802dcb0fb95b1ab005e8d4163d8afdd67efc2cb6b6630ac13f8cb1/regex-2026.5.9-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:fd190e88a895a8901325fad284a3f74ea52b1da8525b76cc811fa9b1edf0ce2b", size = 801348, upload-time = "2026-05-09T23:13:54.127Z" }, + { url = "https://files.pythonhosted.org/packages/7d/62/8ca59a24c55bc34d166eefaf3717bd77772f329fdbf984d86581e0a3571c/regex-2026.5.9-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:8e76e8161ad00694cfce6767d5dea860c6391ac5b83e5c3a39661e696f11fc7e", size = 866493, upload-time = "2026-05-09T23:13:56.067Z" }, + { url = "https://files.pythonhosted.org/packages/8d/3d/30f2ae62cef3278bb5bb821f467277a55fb73f01032cf85997e15e8289a8/regex-2026.5.9-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:ddda5340e6c01a293027dd46232fa79eaff1b48058ce7a98f572b6445b088041", size = 772811, upload-time = "2026-05-09T23:13:57.867Z" }, + { url = "https://files.pythonhosted.org/packages/d8/ae/7d2089bcd78ad0c0161bc684339df50032acb438a7bd3305e7ddb1193cec/regex-2026.5.9-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:205109e96b3cf5adf8f4cd62bedde9487feb282b9497a3535451e5a24cd706a0", size = 856584, upload-time = "2026-05-09T23:13:59.679Z" }, + { url = "https://files.pythonhosted.org/packages/a9/29/92ff47f75990131ea4f24ba17819e5a9d141e10819807e09addd73409af6/regex-2026.5.9-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:dfbe4579b9f08036aa7d101d1835437a20783574ac66327e6b29b4018a138081", size = 803453, upload-time = "2026-05-09T23:14:01.978Z" }, + { url = "https://files.pythonhosted.org/packages/04/99/eff29f1037dcab36702c9ee5d6858cf1ce2336ea8ea2987f64245b99ea5e/regex-2026.5.9-cp313-cp313t-win32.whl", hash = "sha256:ed2c9e8068b614c574d8d30e543d617cf5379b0535d46f97ef00e904745a08b5", size = 269951, upload-time = "2026-05-09T23:14:03.661Z" }, + { url = "https://files.pythonhosted.org/packages/0e/9d/8870b8981d27b22cda77bb26a5ac7ebfa9c7d9e0dea195a834a82380e748/regex-2026.5.9-cp313-cp313t-win_amd64.whl", hash = "sha256:b46b0f094dc1d3b90356c85a0bd2c9bafc4a6a190b9d6f8ddd5a033b6e088ed4", size = 281240, upload-time = "2026-05-09T23:14:05.56Z" }, + { url = "https://files.pythonhosted.org/packages/72/b1/3379415e8f135c13ac551353397cc4fe97b4978f3cac73c5fcbcded548b8/regex-2026.5.9-cp313-cp313t-win_arm64.whl", hash = "sha256:872acc074bd29ffc9913ecdfedf6ea77502312ca44a4aa0d3779089c6069d8de", size = 272383, upload-time = "2026-05-09T23:14:07.843Z" }, + { url = "https://files.pythonhosted.org/packages/13/3e/9c3cd292d8808b3645a2ce517e200179b6d0e903f176300bd8b542e14de5/regex-2026.5.9-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:1bd7587a2948b4085195d5a3374eaf4a425dc3e55784c038175355ecf3bbbf8a", size = 490376, upload-time = "2026-05-09T23:14:09.64Z" }, + { url = "https://files.pythonhosted.org/packages/60/70/d43ee8a2ca0a8b68d167f21658b85520ac0574617c7f320367c5047f7556/regex-2026.5.9-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:dea2e88e1cce4522496cce630e11e67b98b7076620bc4336c3f674bc21a375f4", size = 291964, upload-time = "2026-05-09T23:14:11.424Z" }, + { url = "https://files.pythonhosted.org/packages/21/91/9d50b433828d8e74196904e168a43abf1e6e88b2a15d47ed742456720c37/regex-2026.5.9-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:2099f7e7ff7b6aa3192312650a56e91cc091e49d50b04e4f6f8b6e28b3b27f1c", size = 289682, upload-time = "2026-05-09T23:14:13.123Z" }, + { url = "https://files.pythonhosted.org/packages/3e/d2/b835e3cafbb9d977736912436259ff551d60919f7d7b3d37d46659c63564/regex-2026.5.9-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ecd353045824e4477562a2ac718c25799cdaaa41f7aa925a806a8a3e6848a5b9", size = 796996, upload-time = "2026-05-09T23:14:14.923Z" }, + { url = "https://files.pythonhosted.org/packages/2c/a6/9f992d00019166b9de01c546dd4549bc679f2a68df11b877740b0760b7c2/regex-2026.5.9-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:65c8c8c37377794bd5b2f3ebe51919042bf17aec802e23c833d89782ed0c78af", size = 866089, upload-time = "2026-05-09T23:14:17.757Z" }, + { url = "https://files.pythonhosted.org/packages/e0/08/4d32af657e049b19cb62b02e46e38fe1518797bfb2203ee93a510b21b0dc/regex-2026.5.9-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5b73ab8afcf66c622db143d1c6fda4e58e4d537ee4f125229ad47b1ab80f34c0", size = 911530, upload-time = "2026-05-09T23:14:20.353Z" }, + { url = "https://files.pythonhosted.org/packages/d9/27/2af43dd1dc201d1fecefda64a45f4ad0995855b92724f795a777b402ee69/regex-2026.5.9-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0de5cf193997384ed2ca6f1cd4f78055b255d93d82d5a8cd6ba0d11c10b167e4", size = 800643, upload-time = "2026-05-09T23:14:22.265Z" }, + { url = "https://files.pythonhosted.org/packages/a4/dd/23a249047013b5321d4a60c4d2437462086f601b061776a525e5fba2a59f/regex-2026.5.9-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d641a8c9a61618047796d572a39a79b26167b0411d2c3031937b2fe2d081e2cf", size = 777223, upload-time = "2026-05-09T23:14:24.179Z" }, + { url = "https://files.pythonhosted.org/packages/94/6a/e85ed9538cd19586d0465076a4578a12e093ce776d15f3f8ce92733a8dd6/regex-2026.5.9-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:24b2355ef5cc9aa5b8f07d17704face1c166fdcc2290fa7bd6e6c925655a8346", size = 785760, upload-time = "2026-05-09T23:14:26.065Z" }, + { url = "https://files.pythonhosted.org/packages/2a/c4/f25473209438638e947c55f9156fd8f236f74169229028cc99116380868e/regex-2026.5.9-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:a24852d3c29ad9e47593593d8a247c44ccc3d0548ef12c822d6ed0810affe676", size = 860891, upload-time = "2026-05-09T23:14:28.17Z" }, + { url = "https://files.pythonhosted.org/packages/f9/f7/f4f86e3c74419c37370e91f150ae0c2ef7d34b2e0e4cdd5da046a02e4022/regex-2026.5.9-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:916714069da19329ef7de197dcbc77bb3104145c7c2c864dbfbe318f46b88b14", size = 765891, upload-time = "2026-05-09T23:14:30.06Z" }, + { url = "https://files.pythonhosted.org/packages/26/70/704d8e13765939146b1cd0ef4e2feb71d7929727d2290f026eed10095955/regex-2026.5.9-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:fa411799ca8da32a8d38d020a88faa5b6f91657d284761352940ecf9f7c3bbdd", size = 851380, upload-time = "2026-05-09T23:14:32.123Z" }, + { url = "https://files.pythonhosted.org/packages/26/29/1a13582a8460038edc38e49f64ceb0dd7c60f5caba77571f4bf6601965d9/regex-2026.5.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:1e6da47d679b7010ef27556b6e0f99771b744936db1792a10ceac6547ae1503e", size = 789350, upload-time = "2026-05-09T23:14:34.799Z" }, + { url = "https://files.pythonhosted.org/packages/73/56/3dcafe34fc72e271d62ad9a291801e88a1457bb251c132f15fcc2e5aad1a/regex-2026.5.9-cp314-cp314-win32.whl", hash = "sha256:98bd73080e8756255137e1bd3f3f00295bbc5aa383c0e0f973920e9134d7c4ad", size = 272130, upload-time = "2026-05-09T23:14:36.729Z" }, + { url = "https://files.pythonhosted.org/packages/d0/9c/02eebf0be95efe416c664db7fb8b6b05b7a0b06a7544f2884f2558b0526f/regex-2026.5.9-cp314-cp314-win_amd64.whl", hash = "sha256:ff8d372ac2acdc048d1c19916f27ee61bc5722728458ba6ca5052f2c72d51763", size = 280999, upload-time = "2026-05-09T23:14:39.126Z" }, + { url = "https://files.pythonhosted.org/packages/70/5a/1dd1abee76cb7a846a0bcf42fdc87e5720c3c33c24f3e37814310a513d9f/regex-2026.5.9-cp314-cp314-win_arm64.whl", hash = "sha256:e1d93bf647916292e8edcec150c07ddf3dc50179ccaf770c04a7f9e452155372", size = 273500, upload-time = "2026-05-09T23:14:41.059Z" }, + { url = "https://files.pythonhosted.org/packages/86/c1/c5f619b0057a7965cb78ec559c1d7a45ce8c99a35bea95483d64959a93d9/regex-2026.5.9-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:83d0ee4a57d1c87cb549e195ec300b8f0ec3a82eba66d835e4e2ed8634fe4499", size = 494269, upload-time = "2026-05-09T23:14:42.869Z" }, + { url = "https://files.pythonhosted.org/packages/05/2c/5d01f1aee33de4bbe60c8452945bfc8477ca7c5ae4450f6bfe711036cb36/regex-2026.5.9-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:d3d7eb5c9a7f6df82ed3cfac9beb93882a5cbcb5b8b157b56cb2b3b276574ac1", size = 293954, upload-time = "2026-05-09T23:14:44.822Z" }, + { url = "https://files.pythonhosted.org/packages/7a/fe/e8988b2ae2108c6ef71bd4aa8d87fbe257976dd0810e826cd75f701c68b6/regex-2026.5.9-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:075160bf16658e16d35233300b8453aac25de4cbea808d22348b6979668e924d", size = 292405, upload-time = "2026-05-09T23:14:47.211Z" }, + { url = "https://files.pythonhosted.org/packages/79/34/d2b0937faa7859263f7f0a3c6b103a1296306be6952dc173d0154e9a2f49/regex-2026.5.9-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:45375819235558a4ff1c4971dc32881f022613abdb180128f5cb4768c1765a1c", size = 811855, upload-time = "2026-05-09T23:14:49.21Z" }, + { url = "https://files.pythonhosted.org/packages/80/fe/daf53a47457a8486db66c66c01ceb9c2303eecee3f87197f1e77eb1a736d/regex-2026.5.9-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ead4b163ac30a29574510cd4b3e2e985ac5290c05fc7095557d6a5f403fc31b5", size = 871189, upload-time = "2026-05-09T23:14:51.555Z" }, + { url = "https://files.pythonhosted.org/packages/1c/75/058fc4470cbfbf57d800aff1a0022b929a3f9fa553ee10a0cdf2070eb31f/regex-2026.5.9-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8c6e4218fbdfbcd4f6c19efca40930d24a621bf4b48cb76bc6640543bd28ef20", size = 917485, upload-time = "2026-05-09T23:14:53.633Z" }, + { url = "https://files.pythonhosted.org/packages/88/e7/179cfda3a28bc843b5c6cfe7f79f23489c791ed95f151083803660878432/regex-2026.5.9-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6351571c8a42b505eb555c0dc47d740d0fb66977dc142919eea6f4325b7c56a0", size = 816369, upload-time = "2026-05-09T23:14:56.198Z" }, + { url = "https://files.pythonhosted.org/packages/41/90/6f0cc422071688266d344fca8462d787cba0a2c144acb25721f9a61ec265/regex-2026.5.9-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:002205cafd2a9e78c6290c7d1df277bf3277b3b7a30e0b4bb0dac2e2e3f7cb2d", size = 785869, upload-time = "2026-05-09T23:14:58.602Z" }, + { url = "https://files.pythonhosted.org/packages/02/67/a31f1760f09c27b251ef39e9beb541f462cf977381d067faa764c2c0e393/regex-2026.5.9-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8abd33fef90b2a9efac5557d6033ca82d1195ed3a15fea5af15ba7b463c6a63b", size = 801427, upload-time = "2026-05-09T23:15:00.642Z" }, + { url = "https://files.pythonhosted.org/packages/e3/c4/1a80654597b6bc1e1ea0494824c31200e8a956abe290afae9b19a166a148/regex-2026.5.9-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:31037c82eccb44b7ea2e9e221d7c01429430e989a1f4b91ea5a855f6017b509a", size = 866482, upload-time = "2026-05-09T23:15:03.384Z" }, + { url = "https://files.pythonhosted.org/packages/d1/11/960724e06482c08466ff5611e242e86f80062949cdf6b4b9cc317b9dd93d/regex-2026.5.9-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:5604dfd046dc37eca90250fc3be938b076c8059fa772ac0ed6f499b0f0fb0415", size = 773022, upload-time = "2026-05-09T23:15:05.625Z" }, + { url = "https://files.pythonhosted.org/packages/50/a8/a9979c3e7918280e93159ebcab5ef1a65116dd4f3bd6091be0eae4a126e8/regex-2026.5.9-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:0e1b1b4e496afbb24f4a62aba855ee4f88f25578927697b340702e48c9ee6bc2", size = 856642, upload-time = "2026-05-09T23:15:07.966Z" }, + { url = "https://files.pythonhosted.org/packages/fe/d4/a9b732f2f0072c0ab12227483abb24fffcb9f73f8a2b203df0a6d0434735/regex-2026.5.9-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:be3372b9df6ddecff6486d37e19095a7b4973137caf5512407a89f4455361f41", size = 803552, upload-time = "2026-05-09T23:15:10.215Z" }, + { url = "https://files.pythonhosted.org/packages/d5/fe/1b3113817447a1d4155e4ac76d2e072f42c0bcba2f43fa8a0e756ea2cd91/regex-2026.5.9-cp314-cp314t-win32.whl", hash = "sha256:3ddd90103f9e5c471c49c7852ecc1fe27c7e45eb99e977aefe7caa4e779f4f58", size = 275746, upload-time = "2026-05-09T23:15:12.609Z" }, + { url = "https://files.pythonhosted.org/packages/92/73/93d42045302636c91f2e5ef588b65b84b01428f28ec77de256b1dfdfbe5c/regex-2026.5.9-cp314-cp314t-win_amd64.whl", hash = "sha256:ca518ed29c46eecba6010b15f1b9a479314d2de409536e71b6a13aa04e3b8a77", size = 285685, upload-time = "2026-05-09T23:15:15.086Z" }, + { url = "https://files.pythonhosted.org/packages/da/80/35b4c33c804a165a7f55289afda3ea9e3eb6d15800341a2d66455c0f1f30/regex-2026.5.9-cp314-cp314t-win_arm64.whl", hash = "sha256:5e41809d2683fcde7d5a8c87a6567ba1fb1ce0de9f31bff578de00a4b2d76daa", size = 275713, upload-time = "2026-05-09T23:15:16.98Z" }, +] + +[[package]] +name = "requests" +version = "2.34.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "charset-normalizer" }, + { name = "idna" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" }, +] + +[[package]] +name = "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 = "responses" +version = "0.26.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pyyaml" }, + { name = "requests" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9f/b4/b7e040379838cc71bf5aabdb26998dfbe5ee73904c92c1c161faf5de8866/responses-0.26.0.tar.gz", hash = "sha256:c7f6923e6343ef3682816ba421c006626777893cb0d5e1434f674b649bac9eb4", size = 81303, upload-time = "2026-02-19T14:38:05.574Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ce/04/7f73d05b556da048923e31a0cc878f03be7c5425ed1f268082255c75d872/responses-0.26.0-py3-none-any.whl", hash = "sha256:03ec4409088cd5c66b71ecbbbd27fe2c58ddfad801c66203457b3e6a04868c37", size = 35099, upload-time = "2026-02-19T14:38:03.847Z" }, +] + +[[package]] +name = "rfc3339-validator" +version = "0.1.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "six" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/28/ea/a9387748e2d111c3c2b275ba970b735e04e15cdb1eb30693b6b5708c4dbd/rfc3339_validator-0.1.4.tar.gz", hash = "sha256:138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b", size = 5513, upload-time = "2021-05-12T16:37:54.178Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7b/44/4e421b96b67b2daff264473f7465db72fbdf36a07e05494f50300cc7b0c6/rfc3339_validator-0.1.4-py2.py3-none-any.whl", hash = "sha256:24f6ec1eda14ef823da9e36ec7113124b39c04d50a4d3d3a3c2859577e7791fa", size = 3490, upload-time = "2021-05-12T16:37:52.536Z" }, +] + +[[package]] +name = "rich" +version = "14.3.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markdown-it-py" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e9/67/cae617f1351490c25a4b8ac3b8b63a4dda609295d8222bad12242dfdc629/rich-14.3.4.tar.gz", hash = "sha256:817e02727f2b25b40ef56f5aa2217f400c8489f79ca8f46ea2b70dd5e14558a9", size = 230524, upload-time = "2026-04-11T02:57:45.419Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/76/6d163cfac87b632216f71879e6b2cf17163f773ff59c00b5ff4900a80fa3/rich-14.3.4-py3-none-any.whl", hash = "sha256:07e7adb4690f68864777b1450859253bed81a99a31ac321ac1817b2313558952", size = 310480, upload-time = "2026-04-11T02:57:47.484Z" }, +] + +[[package]] +name = "rpds-py" +version = "0.30.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/20/af/3f2f423103f1113b36230496629986e0ef7e199d2aa8392452b484b38ced/rpds_py-0.30.0.tar.gz", hash = "sha256:dd8ff7cf90014af0c0f787eea34794ebf6415242ee1d6fa91eaba725cc441e84", size = 69469, upload-time = "2025-11-30T20:24:38.837Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/06/0c/0c411a0ec64ccb6d104dcabe0e713e05e153a9a2c3c2bd2b32ce412166fe/rpds_py-0.30.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:679ae98e00c0e8d68a7fda324e16b90fd5260945b45d3b824c892cec9eea3288", size = 370490, upload-time = "2025-11-30T20:21:33.256Z" }, + { url = "https://files.pythonhosted.org/packages/19/6a/4ba3d0fb7297ebae71171822554abe48d7cab29c28b8f9f2c04b79988c05/rpds_py-0.30.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4cc2206b76b4f576934f0ed374b10d7ca5f457858b157ca52064bdfc26b9fc00", size = 359751, upload-time = "2025-11-30T20:21:34.591Z" }, + { url = "https://files.pythonhosted.org/packages/cd/7c/e4933565ef7f7a0818985d87c15d9d273f1a649afa6a52ea35ad011195ea/rpds_py-0.30.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:389a2d49eded1896c3d48b0136ead37c48e221b391c052fba3f4055c367f60a6", size = 389696, upload-time = "2025-11-30T20:21:36.122Z" }, + { url = "https://files.pythonhosted.org/packages/5e/01/6271a2511ad0815f00f7ed4390cf2567bec1d4b1da39e2c27a41e6e3b4de/rpds_py-0.30.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:32c8528634e1bf7121f3de08fa85b138f4e0dc47657866630611b03967f041d7", size = 403136, upload-time = "2025-11-30T20:21:37.728Z" }, + { url = "https://files.pythonhosted.org/packages/55/64/c857eb7cd7541e9b4eee9d49c196e833128a55b89a9850a9c9ac33ccf897/rpds_py-0.30.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f207f69853edd6f6700b86efb84999651baf3789e78a466431df1331608e5324", size = 524699, upload-time = "2025-11-30T20:21:38.92Z" }, + { url = "https://files.pythonhosted.org/packages/9c/ed/94816543404078af9ab26159c44f9e98e20fe47e2126d5d32c9d9948d10a/rpds_py-0.30.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:67b02ec25ba7a9e8fa74c63b6ca44cf5707f2fbfadae3ee8e7494297d56aa9df", size = 412022, upload-time = "2025-11-30T20:21:40.407Z" }, + { url = "https://files.pythonhosted.org/packages/61/b5/707f6cf0066a6412aacc11d17920ea2e19e5b2f04081c64526eb35b5c6e7/rpds_py-0.30.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c0e95f6819a19965ff420f65578bacb0b00f251fefe2c8b23347c37174271f3", size = 390522, upload-time = "2025-11-30T20:21:42.17Z" }, + { url = "https://files.pythonhosted.org/packages/13/4e/57a85fda37a229ff4226f8cbcf09f2a455d1ed20e802ce5b2b4a7f5ed053/rpds_py-0.30.0-cp310-cp310-manylinux_2_31_riscv64.whl", hash = "sha256:a452763cc5198f2f98898eb98f7569649fe5da666c2dc6b5ddb10fde5a574221", size = 404579, upload-time = "2025-11-30T20:21:43.769Z" }, + { url = "https://files.pythonhosted.org/packages/f9/da/c9339293513ec680a721e0e16bf2bac3db6e5d7e922488de471308349bba/rpds_py-0.30.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e0b65193a413ccc930671c55153a03ee57cecb49e6227204b04fae512eb657a7", size = 421305, upload-time = "2025-11-30T20:21:44.994Z" }, + { url = "https://files.pythonhosted.org/packages/f9/be/522cb84751114f4ad9d822ff5a1aa3c98006341895d5f084779b99596e5c/rpds_py-0.30.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:858738e9c32147f78b3ac24dc0edb6610000e56dc0f700fd5f651d0a0f0eb9ff", size = 572503, upload-time = "2025-11-30T20:21:46.91Z" }, + { url = "https://files.pythonhosted.org/packages/a2/9b/de879f7e7ceddc973ea6e4629e9b380213a6938a249e94b0cdbcc325bb66/rpds_py-0.30.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:da279aa314f00acbb803da1e76fa18666778e8a8f83484fba94526da5de2cba7", size = 598322, upload-time = "2025-11-30T20:21:48.709Z" }, + { url = "https://files.pythonhosted.org/packages/48/ac/f01fc22efec3f37d8a914fc1b2fb9bcafd56a299edbe96406f3053edea5a/rpds_py-0.30.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:7c64d38fb49b6cdeda16ab49e35fe0da2e1e9b34bc38bd78386530f218b37139", size = 560792, upload-time = "2025-11-30T20:21:50.024Z" }, + { url = "https://files.pythonhosted.org/packages/e2/da/4e2b19d0f131f35b6146425f846563d0ce036763e38913d917187307a671/rpds_py-0.30.0-cp310-cp310-win32.whl", hash = "sha256:6de2a32a1665b93233cde140ff8b3467bdb9e2af2b91079f0333a0974d12d464", size = 221901, upload-time = "2025-11-30T20:21:51.32Z" }, + { url = "https://files.pythonhosted.org/packages/96/cb/156d7a5cf4f78a7cc571465d8aec7a3c447c94f6749c5123f08438bcf7bc/rpds_py-0.30.0-cp310-cp310-win_amd64.whl", hash = "sha256:1726859cd0de969f88dc8673bdd954185b9104e05806be64bcd87badbe313169", size = 235823, upload-time = "2025-11-30T20:21:52.505Z" }, + { url = "https://files.pythonhosted.org/packages/4d/6e/f964e88b3d2abee2a82c1ac8366da848fce1c6d834dc2132c3fda3970290/rpds_py-0.30.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:a2bffea6a4ca9f01b3f8e548302470306689684e61602aa3d141e34da06cf425", size = 370157, upload-time = "2025-11-30T20:21:53.789Z" }, + { url = "https://files.pythonhosted.org/packages/94/ba/24e5ebb7c1c82e74c4e4f33b2112a5573ddc703915b13a073737b59b86e0/rpds_py-0.30.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dc4f992dfe1e2bc3ebc7444f6c7051b4bc13cd8e33e43511e8ffd13bf407010d", size = 359676, upload-time = "2025-11-30T20:21:55.475Z" }, + { url = "https://files.pythonhosted.org/packages/84/86/04dbba1b087227747d64d80c3b74df946b986c57af0a9f0c98726d4d7a3b/rpds_py-0.30.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:422c3cb9856d80b09d30d2eb255d0754b23e090034e1deb4083f8004bd0761e4", size = 389938, upload-time = "2025-11-30T20:21:57.079Z" }, + { url = "https://files.pythonhosted.org/packages/42/bb/1463f0b1722b7f45431bdd468301991d1328b16cffe0b1c2918eba2c4eee/rpds_py-0.30.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:07ae8a593e1c3c6b82ca3292efbe73c30b61332fd612e05abee07c79359f292f", size = 402932, upload-time = "2025-11-30T20:21:58.47Z" }, + { url = "https://files.pythonhosted.org/packages/99/ee/2520700a5c1f2d76631f948b0736cdf9b0acb25abd0ca8e889b5c62ac2e3/rpds_py-0.30.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:12f90dd7557b6bd57f40abe7747e81e0c0b119bef015ea7726e69fe550e394a4", size = 525830, upload-time = "2025-11-30T20:21:59.699Z" }, + { url = "https://files.pythonhosted.org/packages/e0/ad/bd0331f740f5705cc555a5e17fdf334671262160270962e69a2bdef3bf76/rpds_py-0.30.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:99b47d6ad9a6da00bec6aabe5a6279ecd3c06a329d4aa4771034a21e335c3a97", size = 412033, upload-time = "2025-11-30T20:22:00.991Z" }, + { url = "https://files.pythonhosted.org/packages/f8/1e/372195d326549bb51f0ba0f2ecb9874579906b97e08880e7a65c3bef1a99/rpds_py-0.30.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:33f559f3104504506a44bb666b93a33f5d33133765b0c216a5bf2f1e1503af89", size = 390828, upload-time = "2025-11-30T20:22:02.723Z" }, + { url = "https://files.pythonhosted.org/packages/ab/2b/d88bb33294e3e0c76bc8f351a3721212713629ffca1700fa94979cb3eae8/rpds_py-0.30.0-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:946fe926af6e44f3697abbc305ea168c2c31d3e3ef1058cf68f379bf0335a78d", size = 404683, upload-time = "2025-11-30T20:22:04.367Z" }, + { url = "https://files.pythonhosted.org/packages/50/32/c759a8d42bcb5289c1fac697cd92f6fe01a018dd937e62ae77e0e7f15702/rpds_py-0.30.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:495aeca4b93d465efde585977365187149e75383ad2684f81519f504f5c13038", size = 421583, upload-time = "2025-11-30T20:22:05.814Z" }, + { url = "https://files.pythonhosted.org/packages/2b/81/e729761dbd55ddf5d84ec4ff1f47857f4374b0f19bdabfcf929164da3e24/rpds_py-0.30.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d9a0ca5da0386dee0655b4ccdf46119df60e0f10da268d04fe7cc87886872ba7", size = 572496, upload-time = "2025-11-30T20:22:07.713Z" }, + { url = "https://files.pythonhosted.org/packages/14/f6/69066a924c3557c9c30baa6ec3a0aa07526305684c6f86c696b08860726c/rpds_py-0.30.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8d6d1cc13664ec13c1b84241204ff3b12f9bb82464b8ad6e7a5d3486975c2eed", size = 598669, upload-time = "2025-11-30T20:22:09.312Z" }, + { url = "https://files.pythonhosted.org/packages/5f/48/905896b1eb8a05630d20333d1d8ffd162394127b74ce0b0784ae04498d32/rpds_py-0.30.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3896fa1be39912cf0757753826bc8bdc8ca331a28a7c4ae46b7a21280b06bb85", size = 561011, upload-time = "2025-11-30T20:22:11.309Z" }, + { url = "https://files.pythonhosted.org/packages/22/16/cd3027c7e279d22e5eb431dd3c0fbc677bed58797fe7581e148f3f68818b/rpds_py-0.30.0-cp311-cp311-win32.whl", hash = "sha256:55f66022632205940f1827effeff17c4fa7ae1953d2b74a8581baaefb7d16f8c", size = 221406, upload-time = "2025-11-30T20:22:13.101Z" }, + { url = "https://files.pythonhosted.org/packages/fa/5b/e7b7aa136f28462b344e652ee010d4de26ee9fd16f1bfd5811f5153ccf89/rpds_py-0.30.0-cp311-cp311-win_amd64.whl", hash = "sha256:a51033ff701fca756439d641c0ad09a41d9242fa69121c7d8769604a0a629825", size = 236024, upload-time = "2025-11-30T20:22:14.853Z" }, + { url = "https://files.pythonhosted.org/packages/14/a6/364bba985e4c13658edb156640608f2c9e1d3ea3c81b27aa9d889fff0e31/rpds_py-0.30.0-cp311-cp311-win_arm64.whl", hash = "sha256:47b0ef6231c58f506ef0b74d44e330405caa8428e770fec25329ed2cb971a229", size = 229069, upload-time = "2025-11-30T20:22:16.577Z" }, + { url = "https://files.pythonhosted.org/packages/03/e7/98a2f4ac921d82f33e03f3835f5bf3a4a40aa1bfdc57975e74a97b2b4bdd/rpds_py-0.30.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:a161f20d9a43006833cd7068375a94d035714d73a172b681d8881820600abfad", size = 375086, upload-time = "2025-11-30T20:22:17.93Z" }, + { url = "https://files.pythonhosted.org/packages/4d/a1/bca7fd3d452b272e13335db8d6b0b3ecde0f90ad6f16f3328c6fb150c889/rpds_py-0.30.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6abc8880d9d036ecaafe709079969f56e876fcf107f7a8e9920ba6d5a3878d05", size = 359053, upload-time = "2025-11-30T20:22:19.297Z" }, + { url = "https://files.pythonhosted.org/packages/65/1c/ae157e83a6357eceff62ba7e52113e3ec4834a84cfe07fa4b0757a7d105f/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ca28829ae5f5d569bb62a79512c842a03a12576375d5ece7d2cadf8abe96ec28", size = 390763, upload-time = "2025-11-30T20:22:21.661Z" }, + { url = "https://files.pythonhosted.org/packages/d4/36/eb2eb8515e2ad24c0bd43c3ee9cd74c33f7ca6430755ccdb240fd3144c44/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a1010ed9524c73b94d15919ca4d41d8780980e1765babf85f9a2f90d247153dd", size = 408951, upload-time = "2025-11-30T20:22:23.408Z" }, + { url = "https://files.pythonhosted.org/packages/d6/65/ad8dc1784a331fabbd740ef6f71ce2198c7ed0890dab595adb9ea2d775a1/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f8d1736cfb49381ba528cd5baa46f82fdc65c06e843dab24dd70b63d09121b3f", size = 514622, upload-time = "2025-11-30T20:22:25.16Z" }, + { url = "https://files.pythonhosted.org/packages/63/8e/0cfa7ae158e15e143fe03993b5bcd743a59f541f5952e1546b1ac1b5fd45/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d948b135c4693daff7bc2dcfc4ec57237a29bd37e60c2fabf5aff2bbacf3e2f1", size = 414492, upload-time = "2025-11-30T20:22:26.505Z" }, + { url = "https://files.pythonhosted.org/packages/60/1b/6f8f29f3f995c7ffdde46a626ddccd7c63aefc0efae881dc13b6e5d5bb16/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47f236970bccb2233267d89173d3ad2703cd36a0e2a6e92d0560d333871a3d23", size = 394080, upload-time = "2025-11-30T20:22:27.934Z" }, + { url = "https://files.pythonhosted.org/packages/6d/d5/a266341051a7a3ca2f4b750a3aa4abc986378431fc2da508c5034d081b70/rpds_py-0.30.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:2e6ecb5a5bcacf59c3f912155044479af1d0b6681280048b338b28e364aca1f6", size = 408680, upload-time = "2025-11-30T20:22:29.341Z" }, + { url = "https://files.pythonhosted.org/packages/10/3b/71b725851df9ab7a7a4e33cf36d241933da66040d195a84781f49c50490c/rpds_py-0.30.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a8fa71a2e078c527c3e9dc9fc5a98c9db40bcc8a92b4e8858e36d329f8684b51", size = 423589, upload-time = "2025-11-30T20:22:31.469Z" }, + { url = "https://files.pythonhosted.org/packages/00/2b/e59e58c544dc9bd8bd8384ecdb8ea91f6727f0e37a7131baeff8d6f51661/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:73c67f2db7bc334e518d097c6d1e6fed021bbc9b7d678d6cc433478365d1d5f5", size = 573289, upload-time = "2025-11-30T20:22:32.997Z" }, + { url = "https://files.pythonhosted.org/packages/da/3e/a18e6f5b460893172a7d6a680e86d3b6bc87a54c1f0b03446a3c8c7b588f/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:5ba103fb455be00f3b1c2076c9d4264bfcb037c976167a6047ed82f23153f02e", size = 599737, upload-time = "2025-11-30T20:22:34.419Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e2/714694e4b87b85a18e2c243614974413c60aa107fd815b8cbc42b873d1d7/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7cee9c752c0364588353e627da8a7e808a66873672bcb5f52890c33fd965b394", size = 563120, upload-time = "2025-11-30T20:22:35.903Z" }, + { url = "https://files.pythonhosted.org/packages/6f/ab/d5d5e3bcedb0a77f4f613706b750e50a5a3ba1c15ccd3665ecc636c968fd/rpds_py-0.30.0-cp312-cp312-win32.whl", hash = "sha256:1ab5b83dbcf55acc8b08fc62b796ef672c457b17dbd7820a11d6c52c06839bdf", size = 223782, upload-time = "2025-11-30T20:22:37.271Z" }, + { url = "https://files.pythonhosted.org/packages/39/3b/f786af9957306fdc38a74cef405b7b93180f481fb48453a114bb6465744a/rpds_py-0.30.0-cp312-cp312-win_amd64.whl", hash = "sha256:a090322ca841abd453d43456ac34db46e8b05fd9b3b4ac0c78bcde8b089f959b", size = 240463, upload-time = "2025-11-30T20:22:39.021Z" }, + { url = "https://files.pythonhosted.org/packages/f3/d2/b91dc748126c1559042cfe41990deb92c4ee3e2b415f6b5234969ffaf0cc/rpds_py-0.30.0-cp312-cp312-win_arm64.whl", hash = "sha256:669b1805bd639dd2989b281be2cfd951c6121b65e729d9b843e9639ef1fd555e", size = 230868, upload-time = "2025-11-30T20:22:40.493Z" }, + { url = "https://files.pythonhosted.org/packages/ed/dc/d61221eb88ff410de3c49143407f6f3147acf2538c86f2ab7ce65ae7d5f9/rpds_py-0.30.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:f83424d738204d9770830d35290ff3273fbb02b41f919870479fab14b9d303b2", size = 374887, upload-time = "2025-11-30T20:22:41.812Z" }, + { url = "https://files.pythonhosted.org/packages/fd/32/55fb50ae104061dbc564ef15cc43c013dc4a9f4527a1f4d99baddf56fe5f/rpds_py-0.30.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e7536cd91353c5273434b4e003cbda89034d67e7710eab8761fd918ec6c69cf8", size = 358904, upload-time = "2025-11-30T20:22:43.479Z" }, + { url = "https://files.pythonhosted.org/packages/58/70/faed8186300e3b9bdd138d0273109784eea2396c68458ed580f885dfe7ad/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2771c6c15973347f50fece41fc447c054b7ac2ae0502388ce3b6738cd366e3d4", size = 389945, upload-time = "2025-11-30T20:22:44.819Z" }, + { url = "https://files.pythonhosted.org/packages/bd/a8/073cac3ed2c6387df38f71296d002ab43496a96b92c823e76f46b8af0543/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:0a59119fc6e3f460315fe9d08149f8102aa322299deaa5cab5b40092345c2136", size = 407783, upload-time = "2025-11-30T20:22:46.103Z" }, + { url = "https://files.pythonhosted.org/packages/77/57/5999eb8c58671f1c11eba084115e77a8899d6e694d2a18f69f0ba471ec8b/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:76fec018282b4ead0364022e3c54b60bf368b9d926877957a8624b58419169b7", size = 515021, upload-time = "2025-11-30T20:22:47.458Z" }, + { url = "https://files.pythonhosted.org/packages/e0/af/5ab4833eadc36c0a8ed2bc5c0de0493c04f6c06de223170bd0798ff98ced/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:692bef75a5525db97318e8cd061542b5a79812d711ea03dbc1f6f8dbb0c5f0d2", size = 414589, upload-time = "2025-11-30T20:22:48.872Z" }, + { url = "https://files.pythonhosted.org/packages/b7/de/f7192e12b21b9e9a68a6d0f249b4af3fdcdff8418be0767a627564afa1f1/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9027da1ce107104c50c81383cae773ef5c24d296dd11c99e2629dbd7967a20c6", size = 394025, upload-time = "2025-11-30T20:22:50.196Z" }, + { url = "https://files.pythonhosted.org/packages/91/c4/fc70cd0249496493500e7cc2de87504f5aa6509de1e88623431fec76d4b6/rpds_py-0.30.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:9cf69cdda1f5968a30a359aba2f7f9aa648a9ce4b580d6826437f2b291cfc86e", size = 408895, upload-time = "2025-11-30T20:22:51.87Z" }, + { url = "https://files.pythonhosted.org/packages/58/95/d9275b05ab96556fefff73a385813eb66032e4c99f411d0795372d9abcea/rpds_py-0.30.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a4796a717bf12b9da9d3ad002519a86063dcac8988b030e405704ef7d74d2d9d", size = 422799, upload-time = "2025-11-30T20:22:53.341Z" }, + { url = "https://files.pythonhosted.org/packages/06/c1/3088fc04b6624eb12a57eb814f0d4997a44b0d208d6cace713033ff1a6ba/rpds_py-0.30.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5d4c2aa7c50ad4728a094ebd5eb46c452e9cb7edbfdb18f9e1221f597a73e1e7", size = 572731, upload-time = "2025-11-30T20:22:54.778Z" }, + { url = "https://files.pythonhosted.org/packages/d8/42/c612a833183b39774e8ac8fecae81263a68b9583ee343db33ab571a7ce55/rpds_py-0.30.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ba81a9203d07805435eb06f536d95a266c21e5b2dfbf6517748ca40c98d19e31", size = 599027, upload-time = "2025-11-30T20:22:56.212Z" }, + { url = "https://files.pythonhosted.org/packages/5f/60/525a50f45b01d70005403ae0e25f43c0384369ad24ffe46e8d9068b50086/rpds_py-0.30.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:945dccface01af02675628334f7cf49c2af4c1c904748efc5cf7bbdf0b579f95", size = 563020, upload-time = "2025-11-30T20:22:58.2Z" }, + { url = "https://files.pythonhosted.org/packages/0b/5d/47c4655e9bcd5ca907148535c10e7d489044243cc9941c16ed7cd53be91d/rpds_py-0.30.0-cp313-cp313-win32.whl", hash = "sha256:b40fb160a2db369a194cb27943582b38f79fc4887291417685f3ad693c5a1d5d", size = 223139, upload-time = "2025-11-30T20:23:00.209Z" }, + { url = "https://files.pythonhosted.org/packages/f2/e1/485132437d20aa4d3e1d8b3fb5a5e65aa8139f1e097080c2a8443201742c/rpds_py-0.30.0-cp313-cp313-win_amd64.whl", hash = "sha256:806f36b1b605e2d6a72716f321f20036b9489d29c51c91f4dd29a3e3afb73b15", size = 240224, upload-time = "2025-11-30T20:23:02.008Z" }, + { url = "https://files.pythonhosted.org/packages/24/95/ffd128ed1146a153d928617b0ef673960130be0009c77d8fbf0abe306713/rpds_py-0.30.0-cp313-cp313-win_arm64.whl", hash = "sha256:d96c2086587c7c30d44f31f42eae4eac89b60dabbac18c7669be3700f13c3ce1", size = 230645, upload-time = "2025-11-30T20:23:03.43Z" }, + { url = "https://files.pythonhosted.org/packages/ff/1b/b10de890a0def2a319a2626334a7f0ae388215eb60914dbac8a3bae54435/rpds_py-0.30.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:eb0b93f2e5c2189ee831ee43f156ed34e2a89a78a66b98cadad955972548be5a", size = 364443, upload-time = "2025-11-30T20:23:04.878Z" }, + { url = "https://files.pythonhosted.org/packages/0d/bf/27e39f5971dc4f305a4fb9c672ca06f290f7c4e261c568f3dea16a410d47/rpds_py-0.30.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:922e10f31f303c7c920da8981051ff6d8c1a56207dbdf330d9047f6d30b70e5e", size = 353375, upload-time = "2025-11-30T20:23:06.342Z" }, + { url = "https://files.pythonhosted.org/packages/40/58/442ada3bba6e8e6615fc00483135c14a7538d2ffac30e2d933ccf6852232/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cdc62c8286ba9bf7f47befdcea13ea0e26bf294bda99758fd90535cbaf408000", size = 383850, upload-time = "2025-11-30T20:23:07.825Z" }, + { url = "https://files.pythonhosted.org/packages/14/14/f59b0127409a33c6ef6f5c1ebd5ad8e32d7861c9c7adfa9a624fc3889f6c/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:47f9a91efc418b54fb8190a6b4aa7813a23fb79c51f4bb84e418f5476c38b8db", size = 392812, upload-time = "2025-11-30T20:23:09.228Z" }, + { url = "https://files.pythonhosted.org/packages/b3/66/e0be3e162ac299b3a22527e8913767d869e6cc75c46bd844aa43fb81ab62/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1f3587eb9b17f3789ad50824084fa6f81921bbf9a795826570bda82cb3ed91f2", size = 517841, upload-time = "2025-11-30T20:23:11.186Z" }, + { url = "https://files.pythonhosted.org/packages/3d/55/fa3b9cf31d0c963ecf1ba777f7cf4b2a2c976795ac430d24a1f43d25a6ba/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:39c02563fc592411c2c61d26b6c5fe1e51eaa44a75aa2c8735ca88b0d9599daa", size = 408149, upload-time = "2025-11-30T20:23:12.864Z" }, + { url = "https://files.pythonhosted.org/packages/60/ca/780cf3b1a32b18c0f05c441958d3758f02544f1d613abf9488cd78876378/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:51a1234d8febafdfd33a42d97da7a43f5dcb120c1060e352a3fbc0c6d36e2083", size = 383843, upload-time = "2025-11-30T20:23:14.638Z" }, + { url = "https://files.pythonhosted.org/packages/82/86/d5f2e04f2aa6247c613da0c1dd87fcd08fa17107e858193566048a1e2f0a/rpds_py-0.30.0-cp313-cp313t-manylinux_2_31_riscv64.whl", hash = "sha256:eb2c4071ab598733724c08221091e8d80e89064cd472819285a9ab0f24bcedb9", size = 396507, upload-time = "2025-11-30T20:23:16.105Z" }, + { url = "https://files.pythonhosted.org/packages/4b/9a/453255d2f769fe44e07ea9785c8347edaf867f7026872e76c1ad9f7bed92/rpds_py-0.30.0-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6bdfdb946967d816e6adf9a3d8201bfad269c67efe6cefd7093ef959683c8de0", size = 414949, upload-time = "2025-11-30T20:23:17.539Z" }, + { url = "https://files.pythonhosted.org/packages/a3/31/622a86cdc0c45d6df0e9ccb6becdba5074735e7033c20e401a6d9d0e2ca0/rpds_py-0.30.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c77afbd5f5250bf27bf516c7c4a016813eb2d3e116139aed0096940c5982da94", size = 565790, upload-time = "2025-11-30T20:23:19.029Z" }, + { url = "https://files.pythonhosted.org/packages/1c/5d/15bbf0fb4a3f58a3b1c67855ec1efcc4ceaef4e86644665fff03e1b66d8d/rpds_py-0.30.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:61046904275472a76c8c90c9ccee9013d70a6d0f73eecefd38c1ae7c39045a08", size = 590217, upload-time = "2025-11-30T20:23:20.885Z" }, + { url = "https://files.pythonhosted.org/packages/6d/61/21b8c41f68e60c8cc3b2e25644f0e3681926020f11d06ab0b78e3c6bbff1/rpds_py-0.30.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:4c5f36a861bc4b7da6516dbdf302c55313afa09b81931e8280361a4f6c9a2d27", size = 555806, upload-time = "2025-11-30T20:23:22.488Z" }, + { url = "https://files.pythonhosted.org/packages/f9/39/7e067bb06c31de48de3eb200f9fc7c58982a4d3db44b07e73963e10d3be9/rpds_py-0.30.0-cp313-cp313t-win32.whl", hash = "sha256:3d4a69de7a3e50ffc214ae16d79d8fbb0922972da0356dcf4d0fdca2878559c6", size = 211341, upload-time = "2025-11-30T20:23:24.449Z" }, + { url = "https://files.pythonhosted.org/packages/0a/4d/222ef0b46443cf4cf46764d9c630f3fe4abaa7245be9417e56e9f52b8f65/rpds_py-0.30.0-cp313-cp313t-win_amd64.whl", hash = "sha256:f14fc5df50a716f7ece6a80b6c78bb35ea2ca47c499e422aa4463455dd96d56d", size = 225768, upload-time = "2025-11-30T20:23:25.908Z" }, + { url = "https://files.pythonhosted.org/packages/86/81/dad16382ebbd3d0e0328776d8fd7ca94220e4fa0798d1dc5e7da48cb3201/rpds_py-0.30.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:68f19c879420aa08f61203801423f6cd5ac5f0ac4ac82a2368a9fcd6a9a075e0", size = 362099, upload-time = "2025-11-30T20:23:27.316Z" }, + { url = "https://files.pythonhosted.org/packages/2b/60/19f7884db5d5603edf3c6bce35408f45ad3e97e10007df0e17dd57af18f8/rpds_py-0.30.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:ec7c4490c672c1a0389d319b3a9cfcd098dcdc4783991553c332a15acf7249be", size = 353192, upload-time = "2025-11-30T20:23:29.151Z" }, + { url = "https://files.pythonhosted.org/packages/bf/c4/76eb0e1e72d1a9c4703c69607cec123c29028bff28ce41588792417098ac/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f251c812357a3fed308d684a5079ddfb9d933860fc6de89f2b7ab00da481e65f", size = 384080, upload-time = "2025-11-30T20:23:30.785Z" }, + { url = "https://files.pythonhosted.org/packages/72/87/87ea665e92f3298d1b26d78814721dc39ed8d2c74b86e83348d6b48a6f31/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ac98b175585ecf4c0348fd7b29c3864bda53b805c773cbf7bfdaffc8070c976f", size = 394841, upload-time = "2025-11-30T20:23:32.209Z" }, + { url = "https://files.pythonhosted.org/packages/77/ad/7783a89ca0587c15dcbf139b4a8364a872a25f861bdb88ed99f9b0dec985/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3e62880792319dbeb7eb866547f2e35973289e7d5696c6e295476448f5b63c87", size = 516670, upload-time = "2025-11-30T20:23:33.742Z" }, + { url = "https://files.pythonhosted.org/packages/5b/3c/2882bdac942bd2172f3da574eab16f309ae10a3925644e969536553cb4ee/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4e7fc54e0900ab35d041b0601431b0a0eb495f0851a0639b6ef90f7741b39a18", size = 408005, upload-time = "2025-11-30T20:23:35.253Z" }, + { url = "https://files.pythonhosted.org/packages/ce/81/9a91c0111ce1758c92516a3e44776920b579d9a7c09b2b06b642d4de3f0f/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47e77dc9822d3ad616c3d5759ea5631a75e5809d5a28707744ef79d7a1bcfcad", size = 382112, upload-time = "2025-11-30T20:23:36.842Z" }, + { url = "https://files.pythonhosted.org/packages/cf/8e/1da49d4a107027e5fbc64daeab96a0706361a2918da10cb41769244b805d/rpds_py-0.30.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:b4dc1a6ff022ff85ecafef7979a2c6eb423430e05f1165d6688234e62ba99a07", size = 399049, upload-time = "2025-11-30T20:23:38.343Z" }, + { url = "https://files.pythonhosted.org/packages/df/5a/7ee239b1aa48a127570ec03becbb29c9d5a9eb092febbd1699d567cae859/rpds_py-0.30.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4559c972db3a360808309e06a74628b95eaccbf961c335c8fe0d590cf587456f", size = 415661, upload-time = "2025-11-30T20:23:40.263Z" }, + { url = "https://files.pythonhosted.org/packages/70/ea/caa143cf6b772f823bc7929a45da1fa83569ee49b11d18d0ada7f5ee6fd6/rpds_py-0.30.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:0ed177ed9bded28f8deb6ab40c183cd1192aa0de40c12f38be4d59cd33cb5c65", size = 565606, upload-time = "2025-11-30T20:23:42.186Z" }, + { url = "https://files.pythonhosted.org/packages/64/91/ac20ba2d69303f961ad8cf55bf7dbdb4763f627291ba3d0d7d67333cced9/rpds_py-0.30.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:ad1fa8db769b76ea911cb4e10f049d80bf518c104f15b3edb2371cc65375c46f", size = 591126, upload-time = "2025-11-30T20:23:44.086Z" }, + { url = "https://files.pythonhosted.org/packages/21/20/7ff5f3c8b00c8a95f75985128c26ba44503fb35b8e0259d812766ea966c7/rpds_py-0.30.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:46e83c697b1f1c72b50e5ee5adb4353eef7406fb3f2043d64c33f20ad1c2fc53", size = 553371, upload-time = "2025-11-30T20:23:46.004Z" }, + { url = "https://files.pythonhosted.org/packages/72/c7/81dadd7b27c8ee391c132a6b192111ca58d866577ce2d9b0ca157552cce0/rpds_py-0.30.0-cp314-cp314-win32.whl", hash = "sha256:ee454b2a007d57363c2dfd5b6ca4a5d7e2c518938f8ed3b706e37e5d470801ed", size = 215298, upload-time = "2025-11-30T20:23:47.696Z" }, + { url = "https://files.pythonhosted.org/packages/3e/d2/1aaac33287e8cfb07aab2e6b8ac1deca62f6f65411344f1433c55e6f3eb8/rpds_py-0.30.0-cp314-cp314-win_amd64.whl", hash = "sha256:95f0802447ac2d10bcc69f6dc28fe95fdf17940367b21d34e34c737870758950", size = 228604, upload-time = "2025-11-30T20:23:49.501Z" }, + { url = "https://files.pythonhosted.org/packages/e8/95/ab005315818cc519ad074cb7784dae60d939163108bd2b394e60dc7b5461/rpds_py-0.30.0-cp314-cp314-win_arm64.whl", hash = "sha256:613aa4771c99f03346e54c3f038e4cc574ac09a3ddfb0e8878487335e96dead6", size = 222391, upload-time = "2025-11-30T20:23:50.96Z" }, + { url = "https://files.pythonhosted.org/packages/9e/68/154fe0194d83b973cdedcdcc88947a2752411165930182ae41d983dcefa6/rpds_py-0.30.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:7e6ecfcb62edfd632e56983964e6884851786443739dbfe3582947e87274f7cb", size = 364868, upload-time = "2025-11-30T20:23:52.494Z" }, + { url = "https://files.pythonhosted.org/packages/83/69/8bbc8b07ec854d92a8b75668c24d2abcb1719ebf890f5604c61c9369a16f/rpds_py-0.30.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a1d0bc22a7cdc173fedebb73ef81e07faef93692b8c1ad3733b67e31e1b6e1b8", size = 353747, upload-time = "2025-11-30T20:23:54.036Z" }, + { url = "https://files.pythonhosted.org/packages/ab/00/ba2e50183dbd9abcce9497fa5149c62b4ff3e22d338a30d690f9af970561/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0d08f00679177226c4cb8c5265012eea897c8ca3b93f429e546600c971bcbae7", size = 383795, upload-time = "2025-11-30T20:23:55.556Z" }, + { url = "https://files.pythonhosted.org/packages/05/6f/86f0272b84926bcb0e4c972262f54223e8ecc556b3224d281e6598fc9268/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5965af57d5848192c13534f90f9dd16464f3c37aaf166cc1da1cae1fd5a34898", size = 393330, upload-time = "2025-11-30T20:23:57.033Z" }, + { url = "https://files.pythonhosted.org/packages/cb/e9/0e02bb2e6dc63d212641da45df2b0bf29699d01715913e0d0f017ee29438/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9a4e86e34e9ab6b667c27f3211ca48f73dba7cd3d90f8d5b11be56e5dbc3fb4e", size = 518194, upload-time = "2025-11-30T20:23:58.637Z" }, + { url = "https://files.pythonhosted.org/packages/ee/ca/be7bca14cf21513bdf9c0606aba17d1f389ea2b6987035eb4f62bd923f25/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e5d3e6b26f2c785d65cc25ef1e5267ccbe1b069c5c21b8cc724efee290554419", size = 408340, upload-time = "2025-11-30T20:24:00.2Z" }, + { url = "https://files.pythonhosted.org/packages/c2/c7/736e00ebf39ed81d75544c0da6ef7b0998f8201b369acf842f9a90dc8fce/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:626a7433c34566535b6e56a1b39a7b17ba961e97ce3b80ec62e6f1312c025551", size = 383765, upload-time = "2025-11-30T20:24:01.759Z" }, + { url = "https://files.pythonhosted.org/packages/4a/3f/da50dfde9956aaf365c4adc9533b100008ed31aea635f2b8d7b627e25b49/rpds_py-0.30.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:acd7eb3f4471577b9b5a41baf02a978e8bdeb08b4b355273994f8b87032000a8", size = 396834, upload-time = "2025-11-30T20:24:03.687Z" }, + { url = "https://files.pythonhosted.org/packages/4e/00/34bcc2565b6020eab2623349efbdec810676ad571995911f1abdae62a3a0/rpds_py-0.30.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fe5fa731a1fa8a0a56b0977413f8cacac1768dad38d16b3a296712709476fbd5", size = 415470, upload-time = "2025-11-30T20:24:05.232Z" }, + { url = "https://files.pythonhosted.org/packages/8c/28/882e72b5b3e6f718d5453bd4d0d9cf8df36fddeb4ddbbab17869d5868616/rpds_py-0.30.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:74a3243a411126362712ee1524dfc90c650a503502f135d54d1b352bd01f2404", size = 565630, upload-time = "2025-11-30T20:24:06.878Z" }, + { url = "https://files.pythonhosted.org/packages/3b/97/04a65539c17692de5b85c6e293520fd01317fd878ea1995f0367d4532fb1/rpds_py-0.30.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:3e8eeb0544f2eb0d2581774be4c3410356eba189529a6b3e36bbbf9696175856", size = 591148, upload-time = "2025-11-30T20:24:08.445Z" }, + { url = "https://files.pythonhosted.org/packages/85/70/92482ccffb96f5441aab93e26c4d66489eb599efdcf96fad90c14bbfb976/rpds_py-0.30.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:dbd936cde57abfee19ab3213cf9c26be06d60750e60a8e4dd85d1ab12c8b1f40", size = 556030, upload-time = "2025-11-30T20:24:10.956Z" }, + { url = "https://files.pythonhosted.org/packages/20/53/7c7e784abfa500a2b6b583b147ee4bb5a2b3747a9166bab52fec4b5b5e7d/rpds_py-0.30.0-cp314-cp314t-win32.whl", hash = "sha256:dc824125c72246d924f7f796b4f63c1e9dc810c7d9e2355864b3c3a73d59ade0", size = 211570, upload-time = "2025-11-30T20:24:12.735Z" }, + { url = "https://files.pythonhosted.org/packages/d0/02/fa464cdfbe6b26e0600b62c528b72d8608f5cc49f96b8d6e38c95d60c676/rpds_py-0.30.0-cp314-cp314t-win_amd64.whl", hash = "sha256:27f4b0e92de5bfbc6f86e43959e6edd1425c33b5e69aab0984a72047f2bcf1e3", size = 226532, upload-time = "2025-11-30T20:24:14.634Z" }, + { url = "https://files.pythonhosted.org/packages/69/71/3f34339ee70521864411f8b6992e7ab13ac30d8e4e3309e07c7361767d91/rpds_py-0.30.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:c2262bdba0ad4fc6fb5545660673925c2d2a5d9e2e0fb603aad545427be0fc58", size = 372292, upload-time = "2025-11-30T20:24:16.537Z" }, + { url = "https://files.pythonhosted.org/packages/57/09/f183df9b8f2d66720d2ef71075c59f7e1b336bec7ee4c48f0a2b06857653/rpds_py-0.30.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:ee6af14263f25eedc3bb918a3c04245106a42dfd4f5c2285ea6f997b1fc3f89a", size = 362128, upload-time = "2025-11-30T20:24:18.086Z" }, + { url = "https://files.pythonhosted.org/packages/7a/68/5c2594e937253457342e078f0cc1ded3dd7b2ad59afdbf2d354869110a02/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3adbb8179ce342d235c31ab8ec511e66c73faa27a47e076ccc92421add53e2bb", size = 391542, upload-time = "2025-11-30T20:24:20.092Z" }, + { url = "https://files.pythonhosted.org/packages/49/5c/31ef1afd70b4b4fbdb2800249f34c57c64beb687495b10aec0365f53dfc4/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:250fa00e9543ac9b97ac258bd37367ff5256666122c2d0f2bc97577c60a1818c", size = 404004, upload-time = "2025-11-30T20:24:22.231Z" }, + { url = "https://files.pythonhosted.org/packages/e3/63/0cfbea38d05756f3440ce6534d51a491d26176ac045e2707adc99bb6e60a/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9854cf4f488b3d57b9aaeb105f06d78e5529d3145b1e4a41750167e8c213c6d3", size = 527063, upload-time = "2025-11-30T20:24:24.302Z" }, + { url = "https://files.pythonhosted.org/packages/42/e6/01e1f72a2456678b0f618fc9a1a13f882061690893c192fcad9f2926553a/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:993914b8e560023bc0a8bf742c5f303551992dcb85e247b1e5c7f4a7d145bda5", size = 413099, upload-time = "2025-11-30T20:24:25.916Z" }, + { url = "https://files.pythonhosted.org/packages/b8/25/8df56677f209003dcbb180765520c544525e3ef21ea72279c98b9aa7c7fb/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:58edca431fb9b29950807e301826586e5bbf24163677732429770a697ffe6738", size = 392177, upload-time = "2025-11-30T20:24:27.834Z" }, + { url = "https://files.pythonhosted.org/packages/4a/b4/0a771378c5f16f8115f796d1f437950158679bcd2a7c68cf251cfb00ed5b/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:dea5b552272a944763b34394d04577cf0f9bd013207bc32323b5a89a53cf9c2f", size = 406015, upload-time = "2025-11-30T20:24:29.457Z" }, + { url = "https://files.pythonhosted.org/packages/36/d8/456dbba0af75049dc6f63ff295a2f92766b9d521fa00de67a2bd6427d57a/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ba3af48635eb83d03f6c9735dfb21785303e73d22ad03d489e88adae6eab8877", size = 423736, upload-time = "2025-11-30T20:24:31.22Z" }, + { url = "https://files.pythonhosted.org/packages/13/64/b4d76f227d5c45a7e0b796c674fd81b0a6c4fbd48dc29271857d8219571c/rpds_py-0.30.0-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:dff13836529b921e22f15cb099751209a60009731a68519630a24d61f0b1b30a", size = 573981, upload-time = "2025-11-30T20:24:32.934Z" }, + { url = "https://files.pythonhosted.org/packages/20/91/092bacadeda3edf92bf743cc96a7be133e13a39cdbfd7b5082e7ab638406/rpds_py-0.30.0-pp311-pypy311_pp73-musllinux_1_2_i686.whl", hash = "sha256:1b151685b23929ab7beec71080a8889d4d6d9fa9a983d213f07121205d48e2c4", size = 599782, upload-time = "2025-11-30T20:24:35.169Z" }, + { url = "https://files.pythonhosted.org/packages/d1/b7/b95708304cd49b7b6f82fdd039f1748b66ec2b21d6a45180910802f1abf1/rpds_py-0.30.0-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:ac37f9f516c51e5753f27dfdef11a88330f04de2d564be3991384b2f3535d02e", size = 562191, upload-time = "2025-11-30T20:24:36.853Z" }, +] + +[[package]] +name = "ruff" +version = "0.5.7" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bf/2b/69e5e412f9d390adbdbcbf4f64d6914fa61b44b08839a6584655014fc524/ruff-0.5.7.tar.gz", hash = "sha256:8dfc0a458797f5d9fb622dd0efc52d796f23f0a1493a9527f4e49a550ae9a7e5", size = 2449817, upload-time = "2024-08-08T15:43:07.467Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6b/eb/06e06aaf96af30a68e83b357b037008c54a2ddcbad4f989535007c700394/ruff-0.5.7-py3-none-linux_armv6l.whl", hash = "sha256:548992d342fc404ee2e15a242cdbea4f8e39a52f2e7752d0e4cbe88d2d2f416a", size = 9570571, upload-time = "2024-08-08T15:41:56.537Z" }, + { url = "https://files.pythonhosted.org/packages/a4/10/1be32aeaab8728f78f673e7a47dd813222364479b2d6573dbcf0085e83ea/ruff-0.5.7-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:00cc8872331055ee017c4f1071a8a31ca0809ccc0657da1d154a1d2abac5c0be", size = 8685138, upload-time = "2024-08-08T15:42:02.833Z" }, + { url = "https://files.pythonhosted.org/packages/3d/1d/c218ce83beb4394ba04d05e9aa2ae6ce9fba8405688fe878b0fdb40ce855/ruff-0.5.7-py3-none-macosx_11_0_arm64.whl", hash = "sha256:eaf3d86a1fdac1aec8a3417a63587d93f906c678bb9ed0b796da7b59c1114a1e", size = 8266785, upload-time = "2024-08-08T15:42:08.321Z" }, + { url = "https://files.pythonhosted.org/packages/26/79/7f49509bd844476235b40425756def366b227a9714191c91f02fb2178635/ruff-0.5.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a01c34400097b06cf8a6e61b35d6d456d5bd1ae6961542de18ec81eaf33b4cb8", size = 9983964, upload-time = "2024-08-08T15:42:12.419Z" }, + { url = "https://files.pythonhosted.org/packages/bf/b1/939836b70bf9fcd5e5cd3ea67fdb8abb9eac7631351d32f26544034a35e4/ruff-0.5.7-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fcc8054f1a717e2213500edaddcf1dbb0abad40d98e1bd9d0ad364f75c763eea", size = 9359490, upload-time = "2024-08-08T15:42:16.713Z" }, + { url = "https://files.pythonhosted.org/packages/32/7d/b3db19207de105daad0c8b704b2c6f2a011f9c07017bd58d8d6e7b8eba19/ruff-0.5.7-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f70284e73f36558ef51602254451e50dd6cc479f8b6f8413a95fcb5db4a55fc", size = 10170833, upload-time = "2024-08-08T15:42:20.54Z" }, + { url = "https://files.pythonhosted.org/packages/a2/45/eae9da55f3357a1ac04220230b8b07800bf516e6dd7e1ad20a2ff3b03b1b/ruff-0.5.7-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:a78ad870ae3c460394fc95437d43deb5c04b5c29297815a2a1de028903f19692", size = 10896360, upload-time = "2024-08-08T15:42:25.2Z" }, + { url = "https://files.pythonhosted.org/packages/99/67/4388b36d145675f4c51ebec561fcd4298a0e2550c81e629116f83ce45a39/ruff-0.5.7-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9ccd078c66a8e419475174bfe60a69adb36ce04f8d4e91b006f1329d5cd44bcf", size = 10477094, upload-time = "2024-08-08T15:42:29.553Z" }, + { url = "https://files.pythonhosted.org/packages/e1/9c/f5e6ed1751dc187a4ecf19a4970dd30a521c0ee66b7941c16e292a4043fb/ruff-0.5.7-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7e31c9bad4ebf8fdb77b59cae75814440731060a09a0e0077d559a556453acbb", size = 11480896, upload-time = "2024-08-08T15:42:33.772Z" }, + { url = "https://files.pythonhosted.org/packages/c8/3b/2b683be597bbd02046678fc3fc1c199c641512b20212073b58f173822bb3/ruff-0.5.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d796327eed8e168164346b769dd9a27a70e0298d667b4ecee6877ce8095ec8e", size = 10179702, upload-time = "2024-08-08T15:42:38.038Z" }, + { url = "https://files.pythonhosted.org/packages/f1/38/c2d94054dc4b3d1ea4c2ba3439b2a7095f08d1c8184bc41e6abe2a688be7/ruff-0.5.7-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:4a09ea2c3f7778cc635e7f6edf57d566a8ee8f485f3c4454db7771efb692c499", size = 9982855, upload-time = "2024-08-08T15:42:42.031Z" }, + { url = "https://files.pythonhosted.org/packages/7d/e7/1433db2da505ffa8912dcf5b28a8743012ee780cbc20ad0bf114787385d9/ruff-0.5.7-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a36d8dcf55b3a3bc353270d544fb170d75d2dff41eba5df57b4e0b67a95bb64e", size = 9433156, upload-time = "2024-08-08T15:42:45.339Z" }, + { url = "https://files.pythonhosted.org/packages/e0/36/4fa43250e67741edeea3d366f59a1dc993d4d89ad493a36cbaa9889895f2/ruff-0.5.7-py3-none-musllinux_1_2_i686.whl", hash = "sha256:9369c218f789eefbd1b8d82a8cf25017b523ac47d96b2f531eba73770971c9e5", size = 9782971, upload-time = "2024-08-08T15:42:49.354Z" }, + { url = "https://files.pythonhosted.org/packages/80/0e/8c276103d518e5cf9202f70630aaa494abf6fc71c04d87c08b6d3cd07a4b/ruff-0.5.7-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:b88ca3db7eb377eb24fb7c82840546fb7acef75af4a74bd36e9ceb37a890257e", size = 10247775, upload-time = "2024-08-08T15:42:53.294Z" }, + { url = "https://files.pythonhosted.org/packages/cb/b9/673096d61276f39291b729dddde23c831a5833d98048349835782688a0ec/ruff-0.5.7-py3-none-win32.whl", hash = "sha256:33d61fc0e902198a3e55719f4be6b375b28f860b09c281e4bdbf783c0566576a", size = 7841772, upload-time = "2024-08-08T15:42:57.488Z" }, + { url = "https://files.pythonhosted.org/packages/67/1c/4520c98bfc06b9c73cd1457686d4d3935d40046b1ddea08403e5a6deff51/ruff-0.5.7-py3-none-win_amd64.whl", hash = "sha256:083bbcbe6fadb93cd86709037acc510f86eed5a314203079df174c40bbbca6b3", size = 8699779, upload-time = "2024-08-08T15:43:00.429Z" }, + { url = "https://files.pythonhosted.org/packages/38/23/b3763a237d2523d40a31fe2d1a301191fe392dd48d3014977d079cf8c0bd/ruff-0.5.7-py3-none-win_arm64.whl", hash = "sha256:2dca26154ff9571995107221d0aeaad0e75a77b5a682d6236cf89a58c70b76f4", size = 8091891, upload-time = "2024-08-08T15:43:04.162Z" }, +] + +[[package]] +name = "s3transfer" +version = "0.13.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "botocore" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/6d/05/d52bf1e65044b4e5e27d4e63e8d1579dbdec54fce685908ae09bc3720030/s3transfer-0.13.1.tar.gz", hash = "sha256:c3fdba22ba1bd367922f27ec8032d6a1cf5f10c934fb5d68cf60fd5a23d936cf", size = 150589, upload-time = "2025-07-18T19:22:42.31Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/4f/d073e09df851cfa251ef7840007d04db3293a0482ce607d2b993926089be/s3transfer-0.13.1-py3-none-any.whl", hash = "sha256:a981aa7429be23fe6dfc13e80e4020057cbab622b08c0315288758d67cabc724", size = 85308, upload-time = "2025-07-18T19:22:40.947Z" }, +] + +[[package]] +name = "sentry-sdk" +version = "2.60.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/54/a2/2e6c090db384cc515069f4f85542bd5baf6786852073020ea73d4a76d3ea/sentry_sdk-2.60.0.tar.gz", hash = "sha256:0bd25e54e78ca02d0be512529fa644bbbf9e8470d7b26371294012d4ca93c978", size = 452946, upload-time = "2026-05-13T13:34:52.516Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/29/41/f2b800b7f12a05dd48c2a6280d4dd812d1425fc66ed3fe3fd99420c41d1a/sentry_sdk-2.60.0-py3-none-any.whl", hash = "sha256:28a536c03291c8bcb363cf35c611b32738ec118ff64d8d6383b096448ac4c803", size = 475616, upload-time = "2026-05-13T13:34:50.259Z" }, +] + +[[package]] +name = "setuptools" +version = "82.0.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/4f/db/cfac1baf10650ab4d1c111714410d2fbb77ac5a616db26775db562c8fab2/setuptools-82.0.1.tar.gz", hash = "sha256:7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9", size = 1152316, upload-time = "2026-03-09T12:47:17.221Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9d/76/f789f7a86709c6b087c5a2f52f911838cad707cc613162401badc665acfe/setuptools-82.0.1-py3-none-any.whl", hash = "sha256:a59e362652f08dcd477c78bb6e7bd9d80a7995bc73ce773050228a348ce2e5bb", size = 1006223, upload-time = "2026-03-09T12:47:15.026Z" }, +] + +[[package]] +name = "shellingham" +version = "1.5.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e/shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de", size = 10310, upload-time = "2023-10-24T04:13:40.426Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl", hash = "sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686", size = 9755, upload-time = "2023-10-24T04:13:38.866Z" }, +] + +[[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 = "slack-bolt" +version = "1.28.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "slack-sdk" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5c/97/a62dde97e84027b252807f2044bed2edcda2d063a5cb0c535fb2be8d9b5d/slack_bolt-1.28.0.tar.gz", hash = "sha256:bfe367d867e8fb157a057248ebd4ac2d7f43acac6d0700fa31381db1e10f3b0f", size = 130768, upload-time = "2026-04-06T23:24:59.936Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/81/a9/697b6a92c728f09d5ef6b8e83dc6c8a87bc6d59499b2933ed067f11b7e30/slack_bolt-1.28.0-py2.py3-none-any.whl", hash = "sha256:738d1ca5e7c7039b6e18103d29267ced6e18c2517053eff18991fdd593acce5c", size = 234819, upload-time = "2026-04-06T23:24:58.278Z" }, +] + +[[package]] +name = "slack-sdk" +version = "3.42.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0e/00/16258bfa547559b2c936b50c882b4f0a36ebf6b69639eb763d8fa5e8d6cb/slack_sdk-3.42.0.tar.gz", hash = "sha256:873db9e1f632ac650ffdbf9d8ba825f3e9e7e576a1e4f9604ccb2a15b3727e3d", size = 252136, upload-time = "2026-05-18T17:50:44.727Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ce/ef/8a1556bd4843443993fc116783790a7cc553601a37f7d965ec26eef95e76/slack_sdk-3.42.0-py2.py3-none-any.whl", hash = "sha256:eb39aff97e476e10cc5a8ac29bd2e79a9959e880d9fe0c03b4e8f05b2ac996ff", size = 315469, upload-time = "2026-05-18T17:50:41.972Z" }, +] + +[[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 = "sortedcontainers" +version = "2.4.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e8/c4/ba2f8066cceb6f23394729afe52f3bf7adec04bf9ed2c820b39e19299111/sortedcontainers-2.4.0.tar.gz", hash = "sha256:25caa5a06cc30b6b83d11423433f65d1f9d76c4c6a0c90e3379eaa43b9bfdb88", size = 30594, upload-time = "2021-05-16T22:03:42.897Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl", hash = "sha256:a163dcaede0f1c021485e957a39245190e74249897e2ae4b2aa38595db237ee0", size = 29575, upload-time = "2021-05-16T22:03:41.177Z" }, +] + +[[package]] +name = "soupsieve" +version = "2.8.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/47/2c/0a5f6f8ee0d5589e48c7640213ed5175d52cf540a06725b628cc1a45d6ce/soupsieve-2.8.4.tar.gz", hash = "sha256:e121fd02e975c695e4e9e8774a5ee35d74714b59307868dcc5319ad2d9e3328e", size = 121110, upload-time = "2026-05-24T13:55:57.154Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5e/f5/0c41cb68dcae6b7de4fac4188a3a9589e21fb31df21ea3a2e888db95e6c9/soupsieve-2.8.4-py3-none-any.whl", hash = "sha256:e7e6b0769c8f51ed59acab6e994b00621096cfb1c640a7509295987388fbaf65", size = 37304, upload-time = "2026-05-24T13:55:55.406Z" }, +] + +[[package]] +name = "sse-starlette" +version = "3.4.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "starlette" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f7/2b/58abc2d1fd397e7dde08e947e05c884d8ef2f78d5e2588c17a12d42d6994/sse_starlette-3.4.4.tar.gz", hash = "sha256:07e0fa0460138baf25cdd5fb28683472c3995dc1642225191b3832d62526bcb0", size = 31819, upload-time = "2026-05-12T17:37:17.019Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/dc/67/805710444ea8cc75fbf70b920ed431a560c4bf9c57f7d5a3117213189399/sse_starlette-3.4.4-py3-none-any.whl", hash = "sha256:3f4dd50d8aed2771a091f3a83000323fc3844541c16b4fe585ae2420cc6df973", size = 16514, upload-time = "2026-05-12T17:37:15.601Z" }, +] + +[[package]] +name = "starlette" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/eb/e3/7c1dc7381d9f8ab7d854328ebfa884e62cb3f3d8549ddfd37c7814f42afa/starlette-1.3.1.tar.gz", hash = "sha256:05d0213193f2fbaae60e2ecb593b4add4262ad4e46536b54abe36f11a71724e0", size = 2703240, upload-time = "2026-06-12T09:23:11.602Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/bb/2799cc2ede3ed41131f8975621e7213dfc7ef4acbbaadfa440f32500c370/starlette-1.3.1-py3-none-any.whl", hash = "sha256:c7372aae11c3c3f26a42df7bd626cec2f47d03483d261d369516a615a53714c6", size = 73632, upload-time = "2026-06-12T09:23:10.017Z" }, +] + +[[package]] +name = "strands-agents" +version = "1.42.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "boto3" }, + { name = "botocore" }, + { name = "docstring-parser" }, + { name = "jsonschema" }, + { name = "mcp" }, + { name = "opentelemetry-api" }, + { name = "opentelemetry-instrumentation-threading" }, + { name = "opentelemetry-sdk" }, + { name = "pydantic" }, + { name = "pyyaml" }, + { name = "typing-extensions" }, + { name = "watchdog" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/da/9e/8d577e0ff9ad0a15b368f43c61b7034f918b1c1b51ef17465d1a39a00403/strands_agents-1.42.0.tar.gz", hash = "sha256:39113d67d2fc3e5686f58c63ab71b68e458d578f9e6e0105e03b8a3960b97595", size = 872195, upload-time = "2026-06-01T18:38:22.243Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/86/16/426f1f8c7d2678230b68755fcb3c0b8f59bc3a5591efe48343566b8e73c5/strands_agents-1.42.0-py3-none-any.whl", hash = "sha256:6cc04a32fc23a443a651d0e40198d946afc809888ae6fbc1fd07b2d5b6e354b3", size = 440999, upload-time = "2026-06-01T18:38:20.231Z" }, +] + +[[package]] +name = "strands-agents-tools" +version = "0.8.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "aws-requests-auth" }, + { name = "botocore" }, + { name = "dill" }, + { name = "markdownify" }, + { name = "pillow" }, + { name = "prompt-toolkit" }, + { name = "pyjwt" }, + { name = "requests" }, + { name = "rich" }, + { name = "slack-bolt" }, + { name = "strands-agents" }, + { name = "sympy" }, + { name = "tenacity" }, + { name = "typing-extensions" }, + { name = "tzdata", marker = "sys_platform == 'win32'" }, + { name = "watchdog" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d4/74/aed74502a19a18ce1ddcd56e1dc4a0de6e9f2cb6babcc9f2d1969f253c0b/strands_agents_tools-0.8.0.tar.gz", hash = "sha256:fd93104d2d8dcff780505e8a2fca0cb2fa7a3da6bae01369073b60da0e08c5aa", size = 490638, upload-time = "2026-06-03T19:20:03.872Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0a/37/9f611363451cf38f912c7551b73308339e6af54bf1b5e9a3e8efc7ae0972/strands_agents_tools-0.8.0-py3-none-any.whl", hash = "sha256:7446ae423794b6f886fb36e1a0f8a62fe0546978c18b805e6f50dcdddee1559e", size = 319602, upload-time = "2026-06-03T19:20:01.92Z" }, +] + +[[package]] +name = "sympy" +version = "1.14.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mpmath" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/83/d3/803453b36afefb7c2bb238361cd4ae6125a569b4db67cd9e79846ba2d68c/sympy-1.14.0.tar.gz", hash = "sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517", size = 7793921, upload-time = "2025-04-27T18:05:01.611Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/09/77d55d46fd61b4a135c444fc97158ef34a095e5681d0a6c10b75bf356191/sympy-1.14.0-py3-none-any.whl", hash = "sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5", size = 6299353, upload-time = "2025-04-27T18:04:59.103Z" }, +] + +[[package]] +name = "temporalio" +version = "1.31.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "nexus-rpc" }, + { name = "protobuf" }, + { name = "python-dateutil", marker = "python_full_version < '3.11'" }, + { name = "types-protobuf" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3c/43/676b56efaa64def06d4a9282cfc08d5a5b1c89de0ded47b692f8eaa30ca8/temporalio-1.31.0.tar.gz", hash = "sha256:2993f4b880170825414116dec7d7159a5d199efc279f29570be6b5c4a9f6edd5", size = 2785306, upload-time = "2026-07-29T17:55:10.995Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c2/7c/b91d831df50651a26562285de7c434a14243504eed853513da6e6afa3f19/temporalio-1.31.0-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:5f9aaf06000768eb80cf5774457d227379dae455a3099aa0a18c4dca631c0d27", size = 14505266, upload-time = "2026-07-29T17:54:52.932Z" }, + { url = "https://files.pythonhosted.org/packages/d6/d9/4655fc5d7ea662aac2af972e114ffeae45800bcded5ca3d31b2bcd99179d/temporalio-1.31.0-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:abbfb486ba00053ccfa57c9c38b38f80f5dbfd08c67beb7a621515a57a9b9e9b", size = 14037187, upload-time = "2026-07-29T17:54:55.771Z" }, + { url = "https://files.pythonhosted.org/packages/52/8e/52bd6a90cba3d4b257d7aa7426598e622cf05ab39a174b477535eba59c14/temporalio-1.31.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9e840b462125274cb0d4748e7cedc386c303b2a51bf76bab30b96f1ebbc657ae", size = 14445065, upload-time = "2026-07-29T17:54:58.254Z" }, + { url = "https://files.pythonhosted.org/packages/d9/91/b644c2122943939e02c0e0ff1902b9c6ff7d5e0d6eec334abbfd4ee6bb17/temporalio-1.31.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:04d26f0f634f5325f6a19a45cd67cc5a2da4bd35268d27997f6723134d38c8be", size = 14831115, upload-time = "2026-07-29T17:55:00.923Z" }, + { url = "https://files.pythonhosted.org/packages/8f/42/abc82a89323234026753ac801a1dbc36b4322dcdec5f1e38bee6405f3493/temporalio-1.31.0-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:f23f36d0e5d2e67f2129fc1cb876cf1e4e614f791a717d692f7c15fb732abe41", size = 14542828, upload-time = "2026-07-29T17:55:03.378Z" }, + { url = "https://files.pythonhosted.org/packages/8d/67/9260f4544eb5d44867ef58e4a0e63dd3d643e26b2a94e21e027ceaeb0059/temporalio-1.31.0-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:52f8cc7f0b5a19d49f0c2d748420267aaacc2be0bb614743de8d10faf77a57c9", size = 15019517, upload-time = "2026-07-29T17:55:05.758Z" }, + { url = "https://files.pythonhosted.org/packages/ce/96/b71e66a1921906f072038286e30946098531fd3363029f3d08c1723aa39a/temporalio-1.31.0-cp310-abi3-win_amd64.whl", hash = "sha256:aa6e9602829584b22037da6ccf99d2e089f02cec86ee7178206b1afb115cf092", size = 15527552, upload-time = "2026-07-29T17:55:08.287Z" }, +] + +[package.optional-dependencies] +google-adk = [ + { name = "google-adk" }, +] +google-genai = [ + { name = "google-genai" }, +] +langgraph = [ + { name = "langgraph", version = "1.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "langgraph", version = "1.2.11", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, +] +langsmith = [ + { name = "langsmith", version = "0.8.9", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "langsmith", version = "0.8.18", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, +] +openai-agents = [ + { name = "mcp" }, + { name = "openai-agents" }, +] +opentelemetry = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-sdk" }, +] +pydantic = [ + { name = "pydantic" }, +] +strands-agents = [ + { name = "strands-agents" }, +] + +[[package]] +name = "temporalio-samples" +version = "0.1a1" +source = { editable = "." } +dependencies = [ + { name = "protobuf" }, + { name = "temporalio" }, +] + +[package.dev-dependencies] +bedrock = [ + { name = "boto3" }, +] +cloud-export-to-parquet = [ + { name = "boto3" }, + { name = "numpy", marker = "python_full_version < '3.13'" }, + { name = "pandas", marker = "python_full_version < '4'" }, + { name = "pyarrow" }, +] +deepagents = [ + { name = "deepagents", marker = "python_full_version >= '3.11'" }, + { name = "langchain", version = "1.3.15", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "langchain-anthropic", version = "1.5.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "langchain-core", version = "1.5.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "temporalio", extra = ["langsmith"], marker = "python_full_version >= '3.11'" }, +] +dev = [ + { name = "fakeredis" }, + { name = "frozenlist" }, + { name = "mypy" }, + { name = "poethepoet" }, + { name = "pyright" }, + { name = "pytest" }, + { name = "pytest-asyncio" }, + { name = "pytest-pretty" }, + { name = "ruff" }, + { name = "types-pyyaml" }, +] +dsl = [ + { name = "dacite" }, + { name = "pyyaml" }, + { name = "types-pyyaml" }, +] +encryption = [ + { name = "aiohttp" }, + { name = "cryptography" }, +] +external-storage = [ + { name = "aioboto3" }, + { name = "aiohttp" }, + { name = "moto", extra = ["server"] }, + { name = "types-aiobotocore-s3" }, +] +external-storage-redis = [ + { name = "redis" }, +] +gevent = [ + { name = "gevent" }, +] +google-adk = [ + { name = "google-adk" }, + { name = "temporalio", extra = ["google-adk"] }, +] +google-genai = [ + { name = "mcp" }, + { name = "temporalio", extra = ["google-genai", "pydantic"] }, +] +langfuse-tracing = [ + { name = "openai" }, + { name = "openinference-instrumentation-openai" }, + { name = "opentelemetry-exporter-otlp-proto-http" }, + { name = "opentelemetry-instrumentation-openai-v2" }, + { name = "temporalio", extra = ["opentelemetry"] }, +] +langgraph = [ + { name = "langchain", version = "1.3.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "langchain", version = "1.3.15", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "langchain-anthropic", version = "1.4.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "langchain-anthropic", version = "1.5.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "langgraph", version = "1.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "langgraph", version = "1.2.11", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "temporalio", extra = ["langgraph", "langsmith"] }, +] +langsmith-tracing = [ + { name = "langsmith", version = "0.8.9", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "langsmith", version = "0.8.18", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "openai" }, + { name = "temporalio", extra = ["langsmith", "pydantic"] }, +] +litellm = [ + { name = "litellm" }, +] +nexus = [ + { name = "nexus-rpc" }, +] +open-telemetry = [ + { name = "opentelemetry-exporter-otlp-proto-grpc" }, + { name = "temporalio", extra = ["opentelemetry"] }, +] +openai-agents = [ + { name = "openai-agents", extra = ["litellm"] }, + { name = "requests" }, + { name = "temporalio", extra = ["openai-agents", "opentelemetry"] }, +] +pydantic-converter = [ + { name = "pydantic" }, +] +sentry = [ + { name = "sentry-sdk" }, +] +strands-agents = [ + { name = "boto3" }, + { name = "mcp" }, + { name = "strands-agents" }, + { name = "strands-agents-tools" }, + { name = "temporalio", extra = ["pydantic", "strands-agents"] }, +] +trio-async = [ + { name = "trio" }, + { name = "trio-asyncio" }, +] + +[package.metadata] +requires-dist = [ + { name = "protobuf", specifier = ">=5.29.6,<6" }, + { name = "temporalio", specifier = ">=1.31.0,<2" }, +] + +[package.metadata.requires-dev] +bedrock = [{ name = "boto3", specifier = ">=1.34.92,<2" }] +cloud-export-to-parquet = [ + { name = "boto3", specifier = ">=1.34.89,<2" }, + { name = "numpy", marker = "python_full_version >= '3.10' and python_full_version < '3.13'", specifier = ">=1.26.0,<2" }, + { name = "pandas", marker = "python_full_version >= '3.10' and python_full_version < '4'", specifier = ">=2.3.3,<3" }, + { name = "pyarrow", specifier = ">=19.0.1" }, +] +deepagents = [ + { name = "deepagents", marker = "python_full_version >= '3.11'", specifier = ">=0.6.12,<0.7" }, + { name = "langchain", marker = "python_full_version >= '3.11'", specifier = ">=1.3.11,<2" }, + { name = "langchain-anthropic", marker = "python_full_version >= '3.11'", specifier = ">=1.4.7,<2" }, + { name = "langchain-core", marker = "python_full_version >= '3.11'", specifier = ">=1.4.8,<2" }, + { name = "temporalio", extras = ["langsmith"], marker = "python_full_version >= '3.11'", specifier = ">=1.30.0" }, +] +dev = [ + { name = "fakeredis", specifier = ">=2,<3" }, + { name = "frozenlist", specifier = ">=1.4.0,<2" }, + { name = "mypy", specifier = ">=1.4.1,<2" }, + { name = "poethepoet", specifier = ">=0.36.0" }, + { name = "pyright", specifier = ">=1.1.394" }, + { name = "pytest", specifier = ">=7.1.2,<8" }, + { name = "pytest-asyncio", specifier = ">=0.18.3,<0.19" }, + { name = "pytest-pretty", specifier = ">=1.3.0" }, + { name = "ruff", specifier = ">=0.5.0,<0.6" }, + { name = "types-pyyaml", specifier = ">=6.0.12.20241230,<7" }, +] +dsl = [ + { name = "dacite", specifier = ">=1.8.1,<2" }, + { name = "pyyaml", specifier = ">=6.0.1,<7" }, + { name = "types-pyyaml", specifier = ">=6.0.12,<7" }, +] +encryption = [ + { name = "aiohttp", specifier = ">=3.13.3,<4" }, + { name = "cryptography", specifier = ">=38.0.1,<39" }, +] +external-storage = [ + { name = "aioboto3", specifier = ">=15.1.0,<15.2" }, + { name = "aiohttp", specifier = ">=3.13.3,<4" }, + { name = "moto", extras = ["server"], specifier = ">=4.0.0" }, + { name = "types-aiobotocore-s3", specifier = ">=2.25.2" }, +] +external-storage-redis = [{ name = "redis", specifier = ">=5.0.0,<8" }] +gevent = [{ name = "gevent", marker = "python_full_version >= '3.8'", specifier = ">=25.4.2" }] +google-adk = [ + { name = "google-adk", specifier = ">=2.2.0,<3" }, + { name = "temporalio", extras = ["google-adk"], specifier = ">=1.31.0" }, +] +google-genai = [ + { name = "mcp", specifier = ">=1.0.0" }, + { name = "temporalio", extras = ["google-genai", "pydantic"], specifier = ">=1.31.0" }, +] +langfuse-tracing = [ + { name = "openai", specifier = ">=1.4.0" }, + { name = "openinference-instrumentation-openai", specifier = ">=0.1.52" }, + { name = "opentelemetry-exporter-otlp-proto-http", specifier = ">=1.30.0,<2" }, + { name = "opentelemetry-instrumentation-openai-v2", specifier = ">=2.1b0" }, + { name = "temporalio", extras = ["opentelemetry"], specifier = ">=1.30.0,<2" }, +] +langgraph = [ + { name = "langchain", specifier = ">=0.3.0" }, + { name = "langchain-anthropic", specifier = ">=0.3.0" }, + { name = "langgraph", specifier = ">=1.1.3" }, + { name = "temporalio", extras = ["langgraph", "langsmith"], specifier = ">=1.31.0" }, +] +langsmith-tracing = [ + { name = "langsmith", specifier = ">=0.7.0" }, + { name = "openai", specifier = ">=1.4.0" }, + { name = "temporalio", extras = ["pydantic", "langsmith"], specifier = ">=1.31.0" }, +] +litellm = [{ name = "litellm", specifier = ">=1.85.0,<2" }] +nexus = [{ name = "nexus-rpc", specifier = ">=1.1.0,<2" }] +open-telemetry = [ + { name = "opentelemetry-exporter-otlp-proto-grpc" }, + { name = "temporalio", extras = ["opentelemetry"] }, +] +openai-agents = [ + { name = "openai-agents", extras = ["litellm"], specifier = ">=0.14.1" }, + { name = "requests", specifier = ">=2.32.0,<3" }, + { name = "temporalio", extras = ["openai-agents", "opentelemetry"], specifier = ">=1.31.0" }, +] +pydantic-converter = [{ name = "pydantic", specifier = ">=2.10.6,<3" }] +sentry = [{ name = "sentry-sdk", specifier = ">=2.13.0" }] +strands-agents = [ + { name = "boto3", specifier = ">=1.34.92,<2" }, + { name = "mcp", specifier = ">=1.0.0" }, + { name = "strands-agents", specifier = ">=1.39.0" }, + { name = "strands-agents-tools", specifier = ">=0.5.2" }, + { name = "temporalio", extras = ["strands-agents", "pydantic"], specifier = ">=1.31.0" }, +] +trio-async = [ + { name = "trio", specifier = ">=0.28.0,<0.29" }, + { name = "trio-asyncio", specifier = ">=0.15.0,<0.16" }, +] + +[[package]] +name = "tenacity" +version = "9.1.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/47/c6/ee486fd809e357697ee8a44d3d69222b344920433d3b6666ccd9b374630c/tenacity-9.1.4.tar.gz", hash = "sha256:adb31d4c263f2bd041081ab33b498309a57c77f9acf2db65aadf0898179cf93a", size = 49413, upload-time = "2026-02-07T10:45:33.841Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d7/c1/eb8f9debc45d3b7918a32ab756658a0904732f75e555402972246b0b8e71/tenacity-9.1.4-py3-none-any.whl", hash = "sha256:6095a360c919085f28c6527de529e76a06ad89b23659fa881ae0649b867a9d55", size = 28926, upload-time = "2026-02-07T10:45:32.24Z" }, +] + +[[package]] +name = "tiktoken" +version = "0.13.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "regex" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e4/e5/5f3cb2159769d0f4324c0e9e87f9de3c4b1cd45848a96b2eb3566ad5ca77/tiktoken-0.13.0.tar.gz", hash = "sha256:c9435714c3a84c2319499de9a300c0e604449dd0799ff246458b3bb6a7f433c1", size = 38986, upload-time = "2026-05-15T04:51:27.153Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/38/e3/03c90dadcf5b3f82b83cee9adee60ef666b329c654f58c066af44eae0287/tiktoken-0.13.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:47b1df8d73390a24f94980c75158cdd5c56d256f16d55f30cb49c230caba9ba4", size = 1036627, upload-time = "2026-05-15T04:50:11.229Z" }, + { url = "https://files.pythonhosted.org/packages/5e/30/760463e5b2e8ad2bc229ae0a17ecb06727b6cbc094f08d8f65844315632e/tiktoken-0.13.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:7d40c6c5aab171dcd6eb8455bc567bde404bb9def60cdb8c1299cc782b242bb9", size = 984699, upload-time = "2026-05-15T04:50:12.874Z" }, + { url = "https://files.pythonhosted.org/packages/de/8a/8895f342a6b6aabd1a358e672f6f077b3ae51d0c63ca605d142db3bcd8ab/tiktoken-0.13.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:9b842981fa91accdffd48ff6408a977b7a91c3fbda55d353c3c68114d5c9d69e", size = 1118690, upload-time = "2026-05-15T04:50:14.234Z" }, + { url = "https://files.pythonhosted.org/packages/51/e0/92557768fb0801f0d9dd9243cb9b6d342900b05e4b1006d4771f49ce233e/tiktoken-0.13.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:ed5a30027cb4d8c7ca8b273d4766f3db3cf58fad9e9f3b1a68a351ffb54873d5", size = 1138423, upload-time = "2026-05-15T04:50:15.668Z" }, + { url = "https://files.pythonhosted.org/packages/8f/b9/a3d99feeedb032ffd09cd6652077f86bdee9a70dd0b990b2b272b445d4c3/tiktoken-0.13.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:7ab10f4a21c2999846940113f6dbd72e0fa06a24119feddd74cc47e85818e06d", size = 1185077, upload-time = "2026-05-15T04:50:17.19Z" }, + { url = "https://files.pythonhosted.org/packages/cc/93/bab868277d475dc6d2aaacd34cdd239c282f4908dcc8702e0a3311a8e032/tiktoken-0.13.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:a2937ad042d49d50eac6e1ba07c5661d4bd3942a5b1e0c0d08475c4df83676e1", size = 1241702, upload-time = "2026-05-15T04:50:18.772Z" }, + { url = "https://files.pythonhosted.org/packages/c3/16/27e9f7e0ed76e501cfefc9fb2112df4c7bf70ca96945b15ecb7615aac860/tiktoken-0.13.0-cp310-cp310-win_amd64.whl", hash = "sha256:44733b99bfd72b590cd0936b1c01b3b4dd73122db2d544bc1ceeb18a7678c910", size = 876565, upload-time = "2026-05-15T04:50:20.268Z" }, + { url = "https://files.pythonhosted.org/packages/1a/4c/1bc81f4cd53e827c4ee67ca951b5935724716049452d8dfa09b8b82372bb/tiktoken-0.13.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:7bfe1849caa65d1e1d9871817170ec497bbb7984e182012e1bdce72f66608cdb", size = 1036353, upload-time = "2026-05-15T04:50:21.757Z" }, + { url = "https://files.pythonhosted.org/packages/75/91/10b9c7076bc02c246c853201fdbbe300a4b8c5ed7b84c25f7403f4e32655/tiktoken-0.13.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:91c180fe255bd5a86d8316210d2833a1d4d33d026cd86a67812f4773743c8d26", size = 984644, upload-time = "2026-05-15T04:50:23.256Z" }, + { url = "https://files.pythonhosted.org/packages/4e/e4/fceae98015fab47fcd49b8bd7f46145bcd187a47e0add1e5378ed67ef980/tiktoken-0.13.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:059c8ecf554eb5b41e6e054ba467b871b03277d267dee7244380aca4359747d4", size = 1119261, upload-time = "2026-05-15T04:50:24.348Z" }, + { url = "https://files.pythonhosted.org/packages/f9/39/fe42ad00de01a8c4a49ad8649a2c8a316835a9cad5961b11d21eac0020a5/tiktoken-0.13.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:36217497eaffc158607a3b26f065300db2aefd43b115263f3b9688ce38146173", size = 1138253, upload-time = "2026-05-15T04:50:25.505Z" }, + { url = "https://files.pythonhosted.org/packages/03/c4/ccee1ecccca107e9a16efcecdeeb964c325305038554d466ece65b42338f/tiktoken-0.13.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:303f7d91b4fce3baddbcde05c139091d4caa5026ac7214c1dc7ff7a71ee429ff", size = 1185747, upload-time = "2026-05-15T04:50:27.02Z" }, + { url = "https://files.pythonhosted.org/packages/9d/03/cd0cba295522b91eb55c6b2704f1df895f8226cfe60ab10d4d51d0cc9e69/tiktoken-0.13.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5d48843bee149630eb735a99e1f4a85b47308d21868ea63163f6e87768d3cfed", size = 1241265, upload-time = "2026-05-15T04:50:28.815Z" }, + { url = "https://files.pythonhosted.org/packages/7e/25/a10efd564402d82c2ff50d12057353ace447aa8007deceaa48641f63d35c/tiktoken-0.13.0-cp311-cp311-win_amd64.whl", hash = "sha256:fc1c44cd37b43fc46bae593129164f4f281e82ea116b57a85aa81bda57eafc94", size = 876509, upload-time = "2026-05-15T04:50:30.026Z" }, + { url = "https://files.pythonhosted.org/packages/85/8e/144bde4e01df66b34bb865557c7cd754ed08b036217ebd79c9db5e9048a9/tiktoken-0.13.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:32ac870a806cfb260a02d0cb70426aef02e038297f8ad50df5040bb5af360791", size = 1034888, upload-time = "2026-05-15T04:50:31.579Z" }, + { url = "https://files.pythonhosted.org/packages/36/18/d4ac9d20956cdebca04841316660ed584c2fecdc2b81722a28bc7ad3b1e4/tiktoken-0.13.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4d9980f11429ed2d737c463bb1fb78cf330caa026adf002f714aced7849a687b", size = 982970, upload-time = "2026-05-15T04:50:32.961Z" }, + { url = "https://files.pythonhosted.org/packages/74/ed/6bb8d05b9f731f749fee5c6f5ca63e981143c826a5985877330507bd13b7/tiktoken-0.13.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:3f277ebea5edd7b8bf03c6f9431e1d67d517530115572b2dc1d465326e8f88c7", size = 1115741, upload-time = "2026-05-15T04:50:34.475Z" }, + { url = "https://files.pythonhosted.org/packages/34/de/2ca96b07a82d972b74fe4b46de055b79c904e45c7eab699354a0bfa697dc/tiktoken-0.13.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:a116178fa7e1b4065bff05214360373a65cac22f965be7b3f73d00a0dbfe7649", size = 1136523, upload-time = "2026-05-15T04:50:35.782Z" }, + { url = "https://files.pythonhosted.org/packages/ee/dc/9dafec002c2d4424378563cf4cf5c7fb93631d2a55013c8b87554ee4012c/tiktoken-0.13.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2c397ddda233208345b01bd30f2fca79ff730e55731d0108a603f9bc57f6af3b", size = 1181954, upload-time = "2026-05-15T04:50:36.99Z" }, + { url = "https://files.pythonhosted.org/packages/a1/d0/1f8578c45b2f24759b46f0b50d31878c63c73e6bf0f2227e10ec5c5408dc/tiktoken-0.13.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:95097e4f89b06403976e498abf61a0ee73a7497e73fb599cb211d8197a054d91", size = 1240069, upload-time = "2026-05-15T04:50:38.221Z" }, + { url = "https://files.pythonhosted.org/packages/aa/90/28d7f154888610aa9237e541986beb62b479df29d193a5a0617dbb1514d0/tiktoken-0.13.0-cp312-cp312-win_amd64.whl", hash = "sha256:8f2d16e7a7c783ad81f36e457d046d1f1c8af70b22aec8a13238efe531977c41", size = 874748, upload-time = "2026-05-15T04:50:39.587Z" }, + { url = "https://files.pythonhosted.org/packages/9c/83/b096c859c2a47c11731bf2f5885f4028b809dfe2396582883eed9cae372f/tiktoken-0.13.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5df5d1507bd245f1ccad4a074698240021239e455eb0bb4ced4e3d7181872154", size = 1034228, upload-time = "2026-05-15T04:50:40.988Z" }, + { url = "https://files.pythonhosted.org/packages/53/61/c68e123b6d753e3fc2751e9b18e732c9d8bf1e1926762e736eee935d931c/tiktoken-0.13.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8fe806a50664e83a6ffd56cbd1e4f5dcc6cd32a3e7538f70dc38b1a271384545", size = 982978, upload-time = "2026-05-15T04:50:42.195Z" }, + { url = "https://files.pythonhosted.org/packages/ef/8b/96cc178cc584e65d363134500f297790b06cd48cdeb1e8fcf7bbe60f4715/tiktoken-0.13.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:125bc05005e747f993a83dc67934249932d6e4209854452cd4c0b1d53fba3ba2", size = 1116355, upload-time = "2026-05-15T04:50:43.564Z" }, + { url = "https://files.pythonhosted.org/packages/86/f5/bab735d2c72ea55404b295d02d092644eb5f7cc6205e34d35eb9abfb9ab2/tiktoken-0.13.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:5e6358911cab4adee6712da27d65573496a4f68cf8a2b5fca6a4ad10fc5748cf", size = 1135772, upload-time = "2026-05-15T04:50:44.782Z" }, + { url = "https://files.pythonhosted.org/packages/4e/b9/6de04ebdf904edfaad87788011b3735087a0c9ea671b9027e1e4e965e8c8/tiktoken-0.13.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:975cbd78d085d75d26b59660e262736dcaed1e35f8f142cd6291025c01d25486", size = 1182415, upload-time = "2026-05-15T04:50:46.422Z" }, + { url = "https://files.pythonhosted.org/packages/0d/9c/470a05f3b1caf038f44880e334d47ab674e0c80d514c66b375d14d5afa10/tiktoken-0.13.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:75ab9bc99fa020a4c283424590ecd7f3afd70c1c281cb3fa3192a6c3af9f9615", size = 1239879, upload-time = "2026-05-15T04:50:48.052Z" }, + { url = "https://files.pythonhosted.org/packages/42/a6/c1936d16055436cb32e6c6128d68629622e00f4768562f55653752d34768/tiktoken-0.13.0-cp313-cp313-win_amd64.whl", hash = "sha256:6b1615f0ff71953d19729ceb18865429c185b0a23c5353f1bbca34a394bf60f7", size = 874829, upload-time = "2026-05-15T04:50:49.202Z" }, + { url = "https://files.pythonhosted.org/packages/d6/07/acb5992c3772b5a36284f742cfb7a5895aa4471d1848ac31464ad50d7fdf/tiktoken-0.13.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:6eb4a5bfbc6426938026b1a334e898ac53541360d62d8c689870160cc80abd67", size = 1033600, upload-time = "2026-05-15T04:50:50.4Z" }, + { url = "https://files.pythonhosted.org/packages/14/e9/742e9aec30f59b9f161f7ff7cd072e02ea836c9e1c0854a8076dfcd40d5c/tiktoken-0.13.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:43cee3e5400573b2046fbf092cc7a5bc30164f9e4c95ce20714da929df48737a", size = 982516, upload-time = "2026-05-15T04:50:52.03Z" }, + { url = "https://files.pythonhosted.org/packages/72/74/ca1541b053e7648254d2e4b42a253e1bb4359f2c91a0a8d49228c794e1a0/tiktoken-0.13.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:7de52e3f566d19b3b11bd37eea552c6c305ad74081f736882bd44d148ed4c48d", size = 1115518, upload-time = "2026-05-15T04:50:53.543Z" }, + { url = "https://files.pythonhosted.org/packages/46/e3/93825eaf5a4a504795b787e5d5dea07fbeb3dabf97aa7b450be8bde59c89/tiktoken-0.13.0-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:51384448aa508e4df84c0f7c1dc3211c7f7b8096325660ee5fc82f3e11b381ce", size = 1136867, upload-time = "2026-05-15T04:50:55.191Z" }, + { url = "https://files.pythonhosted.org/packages/8c/46/002b68de6827091d5ae90b048f326e8aad8d953520950e5ce1508879414f/tiktoken-0.13.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:e28157350f7ebf35008dd8e9e0fdb621f976e4230c881099c85e8cf07eaa50e2", size = 1181826, upload-time = "2026-05-15T04:50:56.296Z" }, + { url = "https://files.pythonhosted.org/packages/db/c6/d393e3185a276505182f7abd93fe714f3c444a2be9180798fa052347504e/tiktoken-0.13.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:165cf1820ea4a354985c2490a5205d4cc74661c934aca79dd0368232fff94e0f", size = 1239489, upload-time = "2026-05-15T04:50:57.918Z" }, + { url = "https://files.pythonhosted.org/packages/b7/4d/bc07d1f1635d4897a202acc0ae11c2886eaa7325c359ba4741b47bf8e225/tiktoken-0.13.0-cp313-cp313t-win_amd64.whl", hash = "sha256:6c43a675ca14f6f2749ba7f12075d37456015a24b859f2517b9beb4ef30807ec", size = 873820, upload-time = "2026-05-15T04:50:59.528Z" }, + { url = "https://files.pythonhosted.org/packages/8c/93/0dd6adca026a616c3a92974566b43381eea4b475ce1f36c062b8271a9ac5/tiktoken-0.13.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:eaaaef47c2406277181d2086484c317bf7fc433e2d5d03ff94f56b0dcec87471", size = 1034977, upload-time = "2026-05-15T04:51:00.957Z" }, + { url = "https://files.pythonhosted.org/packages/d9/77/5ec6e6bc5b30bed6d93f7f2162d8f6b32437b3ba27cb527cfe004f6109c9/tiktoken-0.13.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:ca8b310bd93b3772cb1b7922d915446864860f562bdfe4825c63a0aed3fb28cd", size = 983635, upload-time = "2026-05-15T04:51:02.629Z" }, + { url = "https://files.pythonhosted.org/packages/94/b0/c8ae9aff00d625c50659b4513e707a0462c4bf5d4d6cc1b802103225c02e/tiktoken-0.13.0-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:32e0c12305105002c047b3bb1070b0dd9a73b0cb3b2856a8972b810e7a4f5881", size = 1116036, upload-time = "2026-05-15T04:51:04.082Z" }, + { url = "https://files.pythonhosted.org/packages/1b/ac/6a5dddd1d0a6018ecb389bd0353e6b4a515eb4d2286611bd0ace1937b9e1/tiktoken-0.13.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:5ba5fd62507a932d1241346179e3b39bc7bf7408f03c272652d93b3bedf5db24", size = 1135544, upload-time = "2026-05-15T04:51:05.229Z" }, + { url = "https://files.pythonhosted.org/packages/f4/b8/585032b4384b2f7dcdaddcb52865c83a701a420d09e3c2b4a2be1c450c57/tiktoken-0.13.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:d108bc2d470fc53c8ecd24f2c0fd2b5f98c33e87cdb6aa2e9b8c5dced703d273", size = 1182217, upload-time = "2026-05-15T04:51:06.517Z" }, + { url = "https://files.pythonhosted.org/packages/cd/b6/993ff1ded3958215fd341a847b8e5ffeb5de473f435296870d314fc91ac4/tiktoken-0.13.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:cb99cb5127449f58d0a2d5f5ccfb390d8dbdfd919c221246caaee29d8725ed51", size = 1239404, upload-time = "2026-05-15T04:51:07.843Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3d/fef7e06e3b33e7538db0ced734cf9fe23b6832d2ac4990c119c377aec55e/tiktoken-0.13.0-cp314-cp314-win_amd64.whl", hash = "sha256:115c4f26ffa11caac8b54eea35c2ad38c612c20a48d35dd15d70a02ac6f51f58", size = 918686, upload-time = "2026-05-15T04:51:08.925Z" }, + { url = "https://files.pythonhosted.org/packages/c1/82/a7fc44582bc32ab00de988a2299bf77c077f59068b233109e34b7d6ca7e6/tiktoken-0.13.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:472527e9132952f2fbf77cd290658bacf003d4d5a3fabc18e5fbd407cbae4d9b", size = 1034454, upload-time = "2026-05-15T04:51:10.035Z" }, + { url = "https://files.pythonhosted.org/packages/37/d0/24d8a890c14f432a05cea669c17bebeaa99f96a7c79523b590f564246411/tiktoken-0.13.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:4e2f67d27c9626cdd25fe33d9313c5cdb3d8d82da646b68d6eb8e7e9c20e6448", size = 982976, upload-time = "2026-05-15T04:51:11.23Z" }, + { url = "https://files.pythonhosted.org/packages/49/b7/2ab43f62788a9266187a9bfc1d3af99ad83e5eaa25fbef168a69cd5ad14f/tiktoken-0.13.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:2b920b35805cd64585a37c3dc7ce65fba4d2d36016be01e1d7942482ca29093a", size = 1115526, upload-time = "2026-05-15T04:51:12.608Z" }, + { url = "https://files.pythonhosted.org/packages/64/39/1494321ed323ce7a14d88e3cd6cb9058625977df1c6961ddc492bd10a9f3/tiktoken-0.13.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:493af3aa28a4aaf2e3d2600a2ee717252c9bf5ab38fff94eb5a02db5ab77e5ad", size = 1136466, upload-time = "2026-05-15T04:51:13.926Z" }, + { url = "https://files.pythonhosted.org/packages/96/d9/dfd086aa2d918c563a140720e0ce296cada1634efd2783d5cf51e05f984e/tiktoken-0.13.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:6644c9c2b5cf3916f5a3641d7d12fdb3f006a7b3d9ff6acdaec44e29ab1ff91e", size = 1181863, upload-time = "2026-05-15T04:51:15.025Z" }, + { url = "https://files.pythonhosted.org/packages/2f/68/a18b4f307086954fdae32714cb4f85562e34f9d34ab206e61f1816aa6018/tiktoken-0.13.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5cb65b60b9408563676d874a3a4ee573370066f0dc4e29d84e82e989c6517424", size = 1239218, upload-time = "2026-05-15T04:51:16.103Z" }, + { url = "https://files.pythonhosted.org/packages/16/5b/f2aa703a4fc5d2dff73460a7d46cc2f3f44aa0f3dd8eeb20d2a0ecf68862/tiktoken-0.13.0-cp314-cp314t-win_amd64.whl", hash = "sha256:85b78cc3a2c3d48723ca751fa981f1fedccd54194ca0471b957364353a898b07", size = 918110, upload-time = "2026-05-15T04:51:17.237Z" }, +] + +[[package]] +name = "tokenizers" +version = "0.23.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "huggingface-hub" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c1/60/21f715d9faba5f5407ff759472ade058ec4a507ad62bcea47cb847239a73/tokenizers-0.23.1.tar.gz", hash = "sha256:1feeeadf865a7915adc25445dea30e9933e593c31bb96c277cee36de227c8bfa", size = 365748, upload-time = "2026-04-27T14:43:25.606Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/87/39/b87a87d5bb9470610b80a2d31df42fcffeaf35118b8b97952b2aff598cc7/tokenizers-0.23.1-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:e03d6ffcbe0d56ee9c1ccd070e70a13fa750727c0277e138152acbc0252c2224", size = 3146732, upload-time = "2026-04-27T14:43:15.427Z" }, + { url = "https://files.pythonhosted.org/packages/e2/6a/068ed9f6e444c9d7e9d55ce134181325700f3d7f30410721bdc8f848d727/tokenizers-0.23.1-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:e0948bbb1ac1d7cdfc9fb6d62c596e3b7550036ad60ecd654a66ad273326324e", size = 3054954, upload-time = "2026-04-27T14:43:13.745Z" }, + { url = "https://files.pythonhosted.org/packages/6c/36/e006edf031154cba92b8416057d92c3abe3635e4c4b0aa0b5b9bb39dde70/tokenizers-0.23.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1bf13402aff9bc533c89cb849ec3b412dc3fbeacc9744840e423d7bf3f7dc0e3", size = 3374081, upload-time = "2026-04-27T14:43:01.241Z" }, + { url = "https://files.pythonhosted.org/packages/a2/ef/7735d226f9c7f874a6bee5e3f27fb25ecabdf207d37b8cf45286d0795893/tokenizers-0.23.1-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f836ca703b89ae07919a309f9651f7a88fd5a33d5f718ba5ad0870ec0256bad6", size = 3247641, upload-time = "2026-04-27T14:43:03.856Z" }, + { url = "https://files.pythonhosted.org/packages/b9/d9/24827036f6e21297bfffda0768e58eb6096a4f411e932964a01707857931/tokenizers-0.23.1-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ae848657742035523fdf261773630cb819a26995fcd3d9ecae0c1daf6e5a4959", size = 3585624, upload-time = "2026-04-27T14:43:10.664Z" }, + { url = "https://files.pythonhosted.org/packages/0c/9a/22f3582b3a4f49358293a5206e25317621ee4526bfe9cdaa0f07a12e770e/tokenizers-0.23.1-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:53b09e85775d5187941e7bab30e941b4134ab4a7dd8c68e783d231fb7ca27c51", size = 3844062, upload-time = "2026-04-27T14:43:05.643Z" }, + { url = "https://files.pythonhosted.org/packages/7e/65/b8f8814eef95800f20721384136d9a1d22241d50b2874357cb70542c392f/tokenizers-0.23.1-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea5a0ce170074329faaa8ea3f6400ecde604b6678192688533af80980daae71a", size = 3460098, upload-time = "2026-04-27T14:43:08.854Z" }, + { url = "https://files.pythonhosted.org/packages/0d/d5/1353e5f677ec27c2494fb6a6725e82d56c985f53e90ec511369e7e4f02c6/tokenizers-0.23.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5075b405006415ea148a992d093699c66eb01952bf59f4d5727089a98bda45a4", size = 3346235, upload-time = "2026-04-27T14:43:12.377Z" }, + { url = "https://files.pythonhosted.org/packages/71/89/39b6b8fc073fb6d413d0147aa333dc7eff7be65639ac9d19930a0b21bf33/tokenizers-0.23.1-cp310-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:56f3a77de629917652f876294dc9fe6bad4a0c43bc229dc72e59bb23a0f4729a", size = 3426398, upload-time = "2026-04-27T14:43:07.264Z" }, + { url = "https://files.pythonhosted.org/packages/0f/80/127c854da64827e5b79264ce524993a90dddcb320e5cd42412c5c02f9e8a/tokenizers-0.23.1-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:9d10a6d957ef01896dc274e890eee27d41bd0e74ef31e60616f0fc311345184e", size = 9823279, upload-time = "2026-04-27T14:43:17.222Z" }, + { url = "https://files.pythonhosted.org/packages/fe/ba/44c2502feb1a058f096ddfb4e0996ef3225a01a388e1a9b094e91689fe93/tokenizers-0.23.1-cp310-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:1974288a609c343774f1b897c8b482c791ab17b75ab5c8c2b1737565c1d82288", size = 9644986, upload-time = "2026-04-27T14:43:19.45Z" }, + { url = "https://files.pythonhosted.org/packages/9e/c1/464019a9fb059870bfe4eebb4ba12208f3042035e258bf5e782906bd3847/tokenizers-0.23.1-cp310-abi3-musllinux_1_2_i686.whl", hash = "sha256:120468fb4c24faf0543c835a4fabafa4deb3f20a035c9b6e83d0b553a97615d4", size = 9976181, upload-time = "2026-04-27T14:43:21.463Z" }, + { url = "https://files.pythonhosted.org/packages/79/94/3ac1432bda31626071e9b6a12709b97ae05131c804b94c8f3ac622c5da32/tokenizers-0.23.1-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e3d8f40ea6268047de7046906326abed5134f27d4e8447b23763afe5808c8a96", size = 10113853, upload-time = "2026-04-27T14:43:23.617Z" }, + { url = "https://files.pythonhosted.org/packages/6a/dd/631b21433c771b1382535326f0eca80b9c9cee2e64961dd993bc9ac4669e/tokenizers-0.23.1-cp310-abi3-win32.whl", hash = "sha256:93120a930b919416da7cd10a2f606ac9919cc69cacae7980fa2140e277660948", size = 2536263, upload-time = "2026-04-27T14:43:29.888Z" }, + { url = "https://files.pythonhosted.org/packages/97/c9/2553f72aaf65a2797d4229e37fa7fbe38ffbf3e32912d31bdd78b3323e59/tokenizers-0.23.1-cp310-abi3-win_amd64.whl", hash = "sha256:e7bfaf995c1bdbbd21d13539decb6650967013759318627d85daeb7881af16b7", size = 2798223, upload-time = "2026-04-27T14:43:28.51Z" }, + { url = "https://files.pythonhosted.org/packages/cd/2b/2be299bab55fc595e3d38567edb1a87f86e594842968fa9515a07bdcf422/tokenizers-0.23.1-cp310-abi3-win_arm64.whl", hash = "sha256:a26197957d8e4425dfba746315f3c425ea00cfa8367c5fbc4ec73447893dcea9", size = 2664127, upload-time = "2026-04-27T14:43:26.949Z" }, +] + +[[package]] +name = "tomli" +version = "2.4.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30", size = 154704, upload-time = "2026-03-25T20:21:10.473Z" }, + { url = "https://files.pythonhosted.org/packages/6d/f7/675db52c7e46064a9aa928885a9b20f4124ecb9bc2e1ce74c9106648d202/tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a", size = 149454, upload-time = "2026-03-25T20:21:12.036Z" }, + { url = "https://files.pythonhosted.org/packages/61/71/81c50943cf953efa35bce7646caab3cf457a7d8c030b27cfb40d7235f9ee/tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076", size = 237561, upload-time = "2026-03-25T20:21:13.098Z" }, + { url = "https://files.pythonhosted.org/packages/48/c1/f41d9cb618acccca7df82aaf682f9b49013c9397212cb9f53219e3abac37/tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9", size = 243824, upload-time = "2026-03-25T20:21:14.569Z" }, + { url = "https://files.pythonhosted.org/packages/22/e4/5a816ecdd1f8ca51fb756ef684b90f2780afc52fc67f987e3c61d800a46d/tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c", size = 242227, upload-time = "2026-03-25T20:21:15.712Z" }, + { url = "https://files.pythonhosted.org/packages/6b/49/2b2a0ef529aa6eec245d25f0c703e020a73955ad7edf73e7f54ddc608aa5/tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc", size = 247859, upload-time = "2026-03-25T20:21:17.001Z" }, + { url = "https://files.pythonhosted.org/packages/83/bd/6c1a630eaca337e1e78c5903104f831bda934c426f9231429396ce3c3467/tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049", size = 97204, upload-time = "2026-03-25T20:21:18.079Z" }, + { url = "https://files.pythonhosted.org/packages/42/59/71461df1a885647e10b6bb7802d0b8e66480c61f3f43079e0dcd315b3954/tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e", size = 108084, upload-time = "2026-03-25T20:21:18.978Z" }, + { url = "https://files.pythonhosted.org/packages/b8/83/dceca96142499c069475b790e7913b1044c1a4337e700751f48ed723f883/tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece", size = 95285, upload-time = "2026-03-25T20:21:20.309Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ba/42f134a3fe2b370f555f44b1d72feebb94debcab01676bf918d0cb70e9aa/tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a", size = 155924, upload-time = "2026-03-25T20:21:21.626Z" }, + { url = "https://files.pythonhosted.org/packages/dc/c7/62d7a17c26487ade21c5422b646110f2162f1fcc95980ef7f63e73c68f14/tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085", size = 150018, upload-time = "2026-03-25T20:21:23.002Z" }, + { url = "https://files.pythonhosted.org/packages/5c/05/79d13d7c15f13bdef410bdd49a6485b1c37d28968314eabee452c22a7fda/tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9", size = 244948, upload-time = "2026-03-25T20:21:24.04Z" }, + { url = "https://files.pythonhosted.org/packages/10/90/d62ce007a1c80d0b2c93e02cab211224756240884751b94ca72df8a875ca/tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5", size = 253341, upload-time = "2026-03-25T20:21:25.177Z" }, + { url = "https://files.pythonhosted.org/packages/1a/7e/caf6496d60152ad4ed09282c1885cca4eea150bfd007da84aea07bcc0a3e/tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585", size = 248159, upload-time = "2026-03-25T20:21:26.364Z" }, + { url = "https://files.pythonhosted.org/packages/99/e7/c6f69c3120de34bbd882c6fba7975f3d7a746e9218e56ab46a1bc4b42552/tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1", size = 253290, upload-time = "2026-03-25T20:21:27.46Z" }, + { url = "https://files.pythonhosted.org/packages/d6/2f/4a3c322f22c5c66c4b836ec58211641a4067364f5dcdd7b974b4c5da300c/tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917", size = 98141, upload-time = "2026-03-25T20:21:28.492Z" }, + { url = "https://files.pythonhosted.org/packages/24/22/4daacd05391b92c55759d55eaee21e1dfaea86ce5c571f10083360adf534/tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9", size = 108847, upload-time = "2026-03-25T20:21:29.386Z" }, + { url = "https://files.pythonhosted.org/packages/68/fd/70e768887666ddd9e9f5d85129e84910f2db2796f9096aa02b721a53098d/tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257", size = 95088, upload-time = "2026-03-25T20:21:30.677Z" }, + { url = "https://files.pythonhosted.org/packages/07/06/b823a7e818c756d9a7123ba2cda7d07bc2dd32835648d1a7b7b7a05d848d/tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54", size = 155866, upload-time = "2026-03-25T20:21:31.65Z" }, + { url = "https://files.pythonhosted.org/packages/14/6f/12645cf7f08e1a20c7eb8c297c6f11d31c1b50f316a7e7e1e1de6e2e7b7e/tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a", size = 149887, upload-time = "2026-03-25T20:21:33.028Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e0/90637574e5e7212c09099c67ad349b04ec4d6020324539297b634a0192b0/tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897", size = 243704, upload-time = "2026-03-25T20:21:34.51Z" }, + { url = "https://files.pythonhosted.org/packages/10/8f/d3ddb16c5a4befdf31a23307f72828686ab2096f068eaf56631e136c1fdd/tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f", size = 251628, upload-time = "2026-03-25T20:21:36.012Z" }, + { url = "https://files.pythonhosted.org/packages/e3/f1/dbeeb9116715abee2485bf0a12d07a8f31af94d71608c171c45f64c0469d/tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d", size = 247180, upload-time = "2026-03-25T20:21:37.136Z" }, + { url = "https://files.pythonhosted.org/packages/d3/74/16336ffd19ed4da28a70959f92f506233bd7cfc2332b20bdb01591e8b1d1/tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5", size = 251674, upload-time = "2026-03-25T20:21:38.298Z" }, + { url = "https://files.pythonhosted.org/packages/16/f9/229fa3434c590ddf6c0aa9af64d3af4b752540686cace29e6281e3458469/tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd", size = 97976, upload-time = "2026-03-25T20:21:39.316Z" }, + { url = "https://files.pythonhosted.org/packages/6a/1e/71dfd96bcc1c775420cb8befe7a9d35f2e5b1309798f009dca17b7708c1e/tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36", size = 108755, upload-time = "2026-03-25T20:21:40.248Z" }, + { url = "https://files.pythonhosted.org/packages/83/7a/d34f422a021d62420b78f5c538e5b102f62bea616d1d75a13f0a88acb04a/tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd", size = 95265, upload-time = "2026-03-25T20:21:41.219Z" }, + { url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" }, + { url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" }, + { url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" }, + { url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" }, + { url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" }, + { url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" }, + { url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" }, + { url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" }, + { url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" }, + { url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" }, + { url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" }, + { url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" }, + { url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" }, + { url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" }, + { url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" }, + { url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" }, + { url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" }, + { url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" }, + { url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" }, +] + +[[package]] +name = "tqdm" +version = "4.67.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/09/a9/6ba95a270c6f1fbcd8dac228323f2777d886cb206987444e4bce66338dd4/tqdm-4.67.3.tar.gz", hash = "sha256:7d825f03f89244ef73f1d4ce193cb1774a8179fd96f31d7e1dcde62092b960bb", size = 169598, upload-time = "2026-02-03T17:35:53.048Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/16/e1/3079a9ff9b8e11b846c6ac5c8b5bfb7ff225eee721825310c91b3b50304f/tqdm-4.67.3-py3-none-any.whl", hash = "sha256:ee1e4c0e59148062281c49d80b25b67771a127c85fc9676d3be5f243206826bf", size = 78374, upload-time = "2026-02-03T17:35:50.982Z" }, +] + +[[package]] +name = "trio" +version = "0.28.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "cffi", marker = "implementation_name != 'pypy' and os_name == 'nt'" }, + { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, + { name = "idna" }, + { name = "outcome" }, + { name = "sniffio" }, + { name = "sortedcontainers" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b3/73/57efab729506a8d4b89814f1e356ec8f3369de0ed4fd7e7616974d09646d/trio-0.28.0.tar.gz", hash = "sha256:4e547896fe9e8a5658e54e4c7c5fa1db748cbbbaa7c965e7d40505b928c73c05", size = 580318, upload-time = "2024-12-25T17:00:59.83Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b4/04/9954a59e1fb6732f5436225c9af963811d7b24ea62a8bf96991f2cb8c26e/trio-0.28.0-py3-none-any.whl", hash = "sha256:56d58977acc1635735a96581ec70513cc781b8b6decd299c487d3be2a721cd94", size = 486317, upload-time = "2024-12-25T17:00:57.665Z" }, +] + +[[package]] +name = "trio-asyncio" +version = "0.15.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, + { name = "greenlet" }, + { name = "outcome" }, + { name = "sniffio" }, + { name = "trio" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b2/29/f1b5dd48796526dc00849d2f6ca276724930aa2f96c32bca9bed01802c3b/trio_asyncio-0.15.0.tar.gz", hash = "sha256:061e31a71fb039d5074f064ec868dc0e6759e6cca33bf3080733a20ee9667781", size = 75674, upload-time = "2024-04-24T22:23:59.29Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2b/3f/a529b02ae6a4145721eaf952cdf19f2627bd4f5e248b010f77c0064eb4f6/trio_asyncio-0.15.0-py3-none-any.whl", hash = "sha256:7dad5a5edcc7c90c5b80b777dcaef11c22668ce7ddc374633068c2b35d683d62", size = 39786, upload-time = "2024-04-24T22:23:57.699Z" }, +] + +[[package]] +name = "typer" +version = "0.25.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-doc" }, + { name = "click" }, + { name = "rich" }, + { name = "shellingham" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e4/51/9aed62104cea109b820bbd6c14245af756112017d309da813ef107d42e7e/typer-0.25.1.tar.gz", hash = "sha256:9616eb8853a09ffeabab1698952f33c6f29ffdbceb4eaeecf571880e8d7664cc", size = 122276, upload-time = "2026-04-30T19:32:16.964Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3f/f9/2b3ff4e56e5fa7debfaf9eb135d0da96f3e9a1d5b27222223c7296336e5f/typer-0.25.1-py3-none-any.whl", hash = "sha256:75caa44ed46a03fb2dab8808753ffacdbfea88495e74c85a28c5eefcf5f39c89", size = 58409, upload-time = "2026-04-30T19:32:18.271Z" }, +] + +[[package]] +name = "types-aiobotocore-s3" +version = "3.7.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions", marker = "python_full_version < '3.12'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/94/ce/5b7baa06cde79ab5f083f56f060ccd2b60f6249127d70bbb8a37aafbdcd4/types_aiobotocore_s3-3.7.0.tar.gz", hash = "sha256:6ec738853dbba9133707991b98ea4dab19f7c62e02b3cca016e6cd8e3d684576", size = 77662, upload-time = "2026-05-10T03:17:35.088Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e9/ac/67240c3804a3e1c1e8f0f402155d7ed5351faf7a2085136083e5ca3f26b8/types_aiobotocore_s3-3.7.0-py3-none-any.whl", hash = "sha256:5dbb5479ece3e1aceaccac224fc3dd1ab7d912c4457419bd19e88a0a5b3844fc", size = 85450, upload-time = "2026-05-10T03:17:33.061Z" }, +] + +[[package]] +name = "types-protobuf" +version = "6.32.1.20260221" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5f/e2/9aa4a3b2469508bd7b4e2ae11cbedaf419222a09a1b94daffcd5efca4023/types_protobuf-6.32.1.20260221.tar.gz", hash = "sha256:6d5fb060a616bfb076cbb61b4b3c3969f5fc8bec5810f9a2f7e648ee5cbcbf6e", size = 64408, upload-time = "2026-02-21T03:55:13.916Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2e/e8/1fd38926f9cf031188fbc5a96694203ea6f24b0e34bd64a225ec6f6291ba/types_protobuf-6.32.1.20260221-py3-none-any.whl", hash = "sha256:da7cdd947975964a93c30bfbcc2c6841ee646b318d3816b033adc2c4eb6448e4", size = 77956, upload-time = "2026-02-21T03:55:12.894Z" }, +] + +[[package]] +name = "types-pyyaml" +version = "6.0.12.20260518" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/b8/83/4a1afc3fbfcf5b8d46fc390cd95ed6b0dc9010a265f4e9f46314efffa37a/types_pyyaml-6.0.12.20260518.tar.gz", hash = "sha256:d917f83fb38462550338c1297faedd860b3ec83912b96b1e3d73255f7473e466", size = 17850, upload-time = "2026-05-18T06:01:58.675Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/06/a2/c01db32be2ae7d6a1689972f3c492b149ee4e164b12fdfd9f64b50888215/types_pyyaml-6.0.12.20260518-py3-none-any.whl", hash = "sha256:d2150f75a231c9fe9c7463bd29487d93e60bac90400287351384bc2284eba7cd", size = 20312, upload-time = "2026-05-18T06:01:57.368Z" }, +] + +[[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-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 = "tzdata" +version = "2026.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ba/19/1b9b0e29f30c6d35cb345486df41110984ea67ae69dddbc0e8a100999493/tzdata-2026.2.tar.gz", hash = "sha256:9173fde7d80d9018e02a662e168e5a2d04f87c41ea174b139fbef642eda62d10", size = 198254, upload-time = "2026-04-24T15:22:08.651Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ce/e4/dccd7f47c4b64213ac01ef921a1337ee6e30e8c6466046018326977efd95/tzdata-2026.2-py2.py3-none-any.whl", hash = "sha256:bbe9af844f658da81a5f95019480da3a89415801f6cc966806612cc7169bffe7", size = 349321, upload-time = "2026-04-24T15:22:05.876Z" }, +] + +[[package]] +name = "tzlocal" +version = "5.4.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "tzdata", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/48/55/15e2340963d2bfedcc6042da3911438fd336f8ae96b65bdbe3a29766da0c/tzlocal-5.4.3.tar.gz", hash = "sha256:3a8c9bc18cf47e1dcde252ea0e6a72a6cde320a400b6ac6db1f1f8cccd553c00", size = 30873, upload-time = "2026-06-17T04:17:41.764Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/42/28/fc144409c71569e928585f8f3c629d80d1ca3ef40175e9222f01588f98c9/tzlocal-5.4.3-py3-none-any.whl", hash = "sha256:24ce97bb58e2a973f7640ec2553ab4e6f6d5a0d0d1aa9dc43bca21d89e1feb82", size = 18039, upload-time = "2026-06-17T04:17:40.027Z" }, +] + +[[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.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/01/a1/822ceef22d1c139cffebe4b1b660cfaa10253d5c770aa2598dc8e9497593/uuid_utils-0.16.0.tar.gz", hash = "sha256:d6902d4375dfba4c9902c736bb82d3c040417b67f7d0fa48910ddfdb1ac95de7", size = 42596, upload-time = "2026-05-19T07:44:23.28Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fd/78/fc830a25597001586770f0436a4917aac21fcdaf7ac2824bbe168ccdc724/uuid_utils-0.16.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:a632fead2a6505a8df3318d5e95503739b9aa1c518521cd93d83ce00699b78f8", size = 566691, upload-time = "2026-05-19T07:45:14.2Z" }, + { url = "https://files.pythonhosted.org/packages/10/39/3f1eee6d3c3c33d6dd75441bdb49ac246de57f97f67faa7ff04cdb5e4ffe/uuid_utils-0.16.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:d716e5b35266400d2a2cd349697868179825f113c543e55c9d2ac304991f8d4f", size = 291039, upload-time = "2026-05-19T07:45:52.28Z" }, + { url = "https://files.pythonhosted.org/packages/c6/85/f7fb16eed216fd8085d62d4ce7179e2a81ac7649e043f34168e7700b6df4/uuid_utils-0.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:207c2a98ca8b065cc93378a3a59744efb88a68e9ecc2c3afefe43d59c864280a", size = 327880, upload-time = "2026-05-19T07:44:28.611Z" }, + { url = "https://files.pythonhosted.org/packages/06/ea/b2b629d29c8234677850e1ae47add9c8866dfb3864af257542989a13ba1b/uuid_utils-0.16.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:79824850330e450c7b2fa933572e32192240060937426052fa3fc05134ed3faa", size = 334090, upload-time = "2026-05-19T07:44:57.354Z" }, + { url = "https://files.pythonhosted.org/packages/1b/8e/a6871c6231244bb80be06a2babf3ca34396b29d893103d84ddfd3654e6e4/uuid_utils-0.16.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d89927c47e1a55509e90b7f2fd3e7ff89908c77b61f8f0deda97a89d8854e0f8", size = 448558, upload-time = "2026-05-19T07:45:03.986Z" }, + { url = "https://files.pythonhosted.org/packages/bf/d0/b606a2857f98c20c149044e80f276ff7966c9f679fc7b25f6d608bd8d48b/uuid_utils-0.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f7ae4168e1ca0ae69d24207645a8b3cd2b641a0ad15058eda17d2c9898aa89d3", size = 327733, upload-time = "2026-05-19T07:43:40.129Z" }, + { url = "https://files.pythonhosted.org/packages/2d/e1/7951dd47b6717b6ebb340e673d31d539be928d280a697fab4dd233bcc7fa/uuid_utils-0.16.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d363017a3223de3a57eb6fca135df6ffcef7c534836bff2e71354dce7d10987c", size = 353659, upload-time = "2026-05-19T07:44:03.551Z" }, + { url = "https://files.pythonhosted.org/packages/a2/5d/f46e91fad5f049c7bd12701293c1ac31b4460ec83606c4bdd37c05abef52/uuid_utils-0.16.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4a87a7433b355eadaa200f150da6bb5b87bb6de0adf260883b26cb637aba0410", size = 504509, upload-time = "2026-05-19T07:44:34.147Z" }, + { url = "https://files.pythonhosted.org/packages/f4/94/ea4f559e5e87da5847ecf78ba68a78e8bb4e537e1169093ea543cab94886/uuid_utils-0.16.0-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:6da070e75b0e2424728e6f8547647cce36c83f9a6101a08da4849a8ab2b58105", size = 609358, upload-time = "2026-05-19T07:44:39.711Z" }, + { url = "https://files.pythonhosted.org/packages/bf/41/60dbac2459426a925b77e08cb8ec492d4bc82caa0f124f498d2e24409cb8/uuid_utils-0.16.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:1baab8966f9e0097cbaf9cc01ad448b38e616e7b4968ca5e49cb53a74ad91a2f", size = 569428, upload-time = "2026-05-19T07:44:46.025Z" }, + { url = "https://files.pythonhosted.org/packages/e8/90/ae39c1e1bff65dfe9c7c70cbd64b8d529a3d1cc836aeaa7accdc44e5c308/uuid_utils-0.16.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b42014536943c1a654ff107538c0f7dc39809d8d774ec8dafd19bec05006e568", size = 532465, upload-time = "2026-05-19T07:44:05.127Z" }, + { url = "https://files.pythonhosted.org/packages/03/5c/4dc93017a095c9c314525a9abc4f9983e520d88d7eff9bd52398d81c374e/uuid_utils-0.16.0-cp310-cp310-win32.whl", hash = "sha256:228701ab6f188b6def24f2add6db64f0794adb1f06d0abacdcec40b0cda13cdf", size = 171162, upload-time = "2026-05-19T07:44:58.518Z" }, + { url = "https://files.pythonhosted.org/packages/43/df/1398f5b117d5daa4d757b156728db7aa092a3eff1271c40ec39dbe945327/uuid_utils-0.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:10d3c5983f770b1b2847ad811c87a1c9e28f8155d1a27cc581abcd5abb386b64", size = 176927, upload-time = "2026-05-19T07:44:54.93Z" }, + { url = "https://files.pythonhosted.org/packages/24/24/0e18177e2fbb0b9f54f90fd48fe3302dfda731e22ad650d6e6f8f4b3d3d3/uuid_utils-0.16.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:04af9966ecd82b78eeba5725e29aa1e86fb8eb84b5443dd6a9935f9fadb6678e", size = 565929, upload-time = "2026-05-19T07:44:06.496Z" }, + { url = "https://files.pythonhosted.org/packages/5a/7e/bb91b04b2c8a081a4df2d50f1a50dd85502e2391c6eaed71b339ec9f2524/uuid_utils-0.16.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:3d86ca394e0ea21bdb53784eb99276d263b93d1586f56678cab1414b7ae1d0f3", size = 290556, upload-time = "2026-05-19T07:43:44.973Z" }, + { url = "https://files.pythonhosted.org/packages/69/2a/47ee18b294af59754ef5acfa96eb027137c98cef7521199b6f70be705de4/uuid_utils-0.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c9f504efeb20ffd9571621658f7c8093c646d33150406d5742e49ff7cd861615", size = 328059, upload-time = "2026-05-19T07:45:30.533Z" }, + { url = "https://files.pythonhosted.org/packages/89/7c/ed6d8bb48eeecaed6722af1187d722c5243334be750419d10d5f05dffeb2/uuid_utils-0.16.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:57d85f48535dc541060f6b82f277cbcd12b78c04008ccc1039546cfcec027327", size = 334759, upload-time = "2026-05-19T07:45:07.715Z" }, + { url = "https://files.pythonhosted.org/packages/ff/33/371bddf9fd47e045c375df9668eea0d96ce9201ab6a03985b0155498e376/uuid_utils-0.16.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:39453f1ebf4398fbeb71607f3437e2ac469c9e38b5921755c1e17ad0158a8907", size = 448927, upload-time = "2026-05-19T07:45:11.464Z" }, + { url = "https://files.pythonhosted.org/packages/dc/f1/b201d5ee005d4987fc072714fcb9f6e75303520cf19d4deec0b4df44bf40/uuid_utils-0.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:50361aca5c2a770728a6343df85109fe57f89ac026827f34fe0153563cdc9ce7", size = 327178, upload-time = "2026-05-19T07:44:02.255Z" }, + { url = "https://files.pythonhosted.org/packages/b1/6a/04b4c02ce5c24a3602baa12e59bd3ec853ae73c3e9319b706c4620f47a05/uuid_utils-0.16.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:948485c47d8569a8bf6e86f522a2599fa9134674bee9f483898e601e68c3caca", size = 352981, upload-time = "2026-05-19T07:44:25.578Z" }, + { url = "https://files.pythonhosted.org/packages/2c/19/25db019727d14630c75c2a75a8ea66dd712bb468adcf410bac8d01ff19fd/uuid_utils-0.16.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ceef237cf8467fddbf6d8466cc1f6e2c04605ec919046ef5eba10a895b559fcf", size = 504686, upload-time = "2026-05-19T07:43:46.43Z" }, + { url = "https://files.pythonhosted.org/packages/5d/93/c000cd42ebfdd37cc74981ed31c979a1270156572bdebab8b5d61460e750/uuid_utils-0.16.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:24e6fa0d0ade7a9ad60a3c296022474983243df5b4e863babb4828a85ef2e52c", size = 610102, upload-time = "2026-05-19T07:45:53.765Z" }, + { url = "https://files.pythonhosted.org/packages/15/1d/7dd239909c82616722b9ee53fa1b4657c6244fb4fd026890300ebf6db22b/uuid_utils-0.16.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1c2df42314b014c9d23330f92887e21d2fc72fde0beb170c7833cd2d22d845a1", size = 569048, upload-time = "2026-05-19T07:45:41.596Z" }, + { url = "https://files.pythonhosted.org/packages/f1/49/b6a688648368a9cc0137e183657956853a91dc06ef73deda27290d586155/uuid_utils-0.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:2e2f369dd734050fe96ae4905c58779b09276d47d5e9a0e5cd33ec7982784341", size = 532255, upload-time = "2026-05-19T07:45:16.936Z" }, + { url = "https://files.pythonhosted.org/packages/3f/fb/34f221ae93d5ea249a0d7056bdf45313b8d267d6aa9c5d0673ac1a4746c7/uuid_utils-0.16.0-cp311-cp311-win32.whl", hash = "sha256:733da81d51ea578862d8b9b754e8968b6da2be2b7840aee868917c23cae84015", size = 171081, upload-time = "2026-05-19T07:45:26.578Z" }, + { url = "https://files.pythonhosted.org/packages/a5/70/c2a608a813f655834ee6df4ce53ea46edad4d54f774eac1890be5c7e4e1c/uuid_utils-0.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:10d21fddb086e69245c4f0f77c7b442471f3a242aa85f62954bff157baa1c5f2", size = 176770, upload-time = "2026-05-19T07:43:49.102Z" }, + { url = "https://files.pythonhosted.org/packages/fd/c3/8ab4eff328a833c065f280b2e0d9ac873505b5e5282f2bc5133a9843d4dd/uuid_utils-0.16.0-cp311-cp311-win_arm64.whl", hash = "sha256:98e2404713677070cee9a99a1f1e24afd496c18e833ee1b31a0587659452ff80", size = 175274, upload-time = "2026-05-19T07:44:27.216Z" }, + { url = "https://files.pythonhosted.org/packages/ff/4c/b4cf43a5d22bcdb91727acdf54be0d78e83e595b73c5a9a8a4291875f059/uuid_utils-0.16.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:727fae3f0682191ec9c8ce1cd0f71e81b471a2e26b7c5fd66712fc0f11640aa0", size = 562183, upload-time = "2026-05-19T07:45:02.683Z" }, + { url = "https://files.pythonhosted.org/packages/d6/fb/4b0d1c4b5e9f8679ca41b9cdbce5749e1d5db3d3d42a07060d6ce61ac583/uuid_utils-0.16.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:66a9c8cedf7695c28e700f6a66bde0809c3b2e0d8a70968be7bfd47c908952e5", size = 289018, upload-time = "2026-05-19T07:44:07.726Z" }, + { url = "https://files.pythonhosted.org/packages/de/43/2dc6c7401c8fab86e46b0b33ada6dcfde949b2fd48877ba6f880862be80e/uuid_utils-0.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9152bff801ec2ccf630df06d67389090a2c612dea87fbf9a887ab4b222929f6f", size = 326171, upload-time = "2026-05-19T07:45:25.186Z" }, + { url = "https://files.pythonhosted.org/packages/9b/f5/48f11fb91f36453611ca148bc441436f279870b1ec6b576dc5167fb6e680/uuid_utils-0.16.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:06fc7db470c37e5c1ab3fd2cd159697d6f8b279d7d23b5b96bd418b115f8caa9", size = 332222, upload-time = "2026-05-19T07:45:09.036Z" }, + { url = "https://files.pythonhosted.org/packages/30/cb/b2b49528521e4a097f129e8bf7850a26f00af46afba778832cf3458a5c00/uuid_utils-0.16.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3e1a1f57fe3631e164dad27b24aa81267810e20575f705af3b0fa734f3a21247", size = 444801, upload-time = "2026-05-19T07:45:37.517Z" }, + { url = "https://files.pythonhosted.org/packages/a9/b3/a28d9c6f7c701dfe01c8020b30e33899a28eb9e4d056b07e7388f50ebf67/uuid_utils-0.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ee392fe59808a731b7b6bf4d453fb6e833774921331cceae5f254d1e9c5b97d", size = 325594, upload-time = "2026-05-19T07:44:44.682Z" }, + { url = "https://files.pythonhosted.org/packages/cf/65/e1ff41dc44966e396ead86e104ba21b35ddb07ff7a64bb55013074ee77fe/uuid_utils-0.16.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b2e981b1258db444df4cf4bf4c79673570d081d48d35f22d0f86471e0ad795c5", size = 349312, upload-time = "2026-05-19T07:45:15.582Z" }, + { url = "https://files.pythonhosted.org/packages/ed/57/fb19b7951f66a46e03bd1943a61ee9d59c83e994e56e8c97d79aff1f0e47/uuid_utils-0.16.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bbb92feb4db08cd76e27b4d3b1a82bfde708447317150c614eb9f761a43b387e", size = 502115, upload-time = "2026-05-19T07:43:38.756Z" }, + { url = "https://files.pythonhosted.org/packages/2f/8e/9a129c469b7b77afb62da5c6b7e92591073b845bd0c3108c0d0aa65389fb/uuid_utils-0.16.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:1c3c5afaaa68b1d6393d653e9fc93a2fde9da1681da01f74b4593f41d31fb5f1", size = 607433, upload-time = "2026-05-19T07:44:11.675Z" }, + { url = "https://files.pythonhosted.org/packages/4a/56/2ef71fad168cc3d894f7094fa458086c093635d7835381c91470b19c9ad3/uuid_utils-0.16.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:38126b353527c5f001e4b24db9e62351eb768d0367febcd68100a4b39a035109", size = 566076, upload-time = "2026-05-19T07:44:35.453Z" }, + { url = "https://files.pythonhosted.org/packages/95/bf/68e60ea053ca30f35df877b96001331398140d5c4983561affa1350331b1/uuid_utils-0.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41a67e546d9adf11c4e4cb5c8e81f000f8b1f000c17912ced089b499855719a5", size = 530645, upload-time = "2026-05-19T07:45:49.278Z" }, + { url = "https://files.pythonhosted.org/packages/42/19/b521f7d73094fca4c0c44002f4a42bfcbcf0b770fdc3c4b9a596dda25734/uuid_utils-0.16.0-cp312-cp312-win32.whl", hash = "sha256:52d2cc8c12a3466cd1727883e0746d8bad5dddd670369eb553ba17fdc3b565ca", size = 168887, upload-time = "2026-05-19T07:45:45.502Z" }, + { url = "https://files.pythonhosted.org/packages/87/1f/4126c3ccbc2d98a613664e55f6ab6d7bd4b98424a04486e4fcc76549af15/uuid_utils-0.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:c97625e5edfda8b118160ce1e88756f92b1635775f836c168be7bf10928d97fa", size = 174607, upload-time = "2026-05-19T07:43:52.938Z" }, + { url = "https://files.pythonhosted.org/packages/74/62/b83ccc8446ae39dcc0bda2cb3b525b6af6a2036383afe1d1d5fe7b234c2c/uuid_utils-0.16.0-cp312-cp312-win_arm64.whl", hash = "sha256:baf79c8050eb784b252dd34807df73f61130fe8676b61231baccab62530f20ec", size = 173021, upload-time = "2026-05-19T07:45:10.204Z" }, + { url = "https://files.pythonhosted.org/packages/60/9b/74c1f47a9b4f138a254e51528e5ffaeba6bf99ecead9f0c4b6fccccfbfcb/uuid_utils-0.16.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:d34cf9681e8892fad2a63e393068e544505408748cd8bf0c3517d753a01528d4", size = 563166, upload-time = "2026-05-19T07:44:10.494Z" }, + { url = "https://files.pythonhosted.org/packages/7c/1c/009e37b70f1f0ff17e7103a36bafde33d503d9ea7fe739761aa3e3c9fde6/uuid_utils-0.16.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:0681d1bdb7956e0c6d581e7601dabcfb2b08c25d2a65189f4e9b102c94f5ff46", size = 289529, upload-time = "2026-05-19T07:43:54.466Z" }, + { url = "https://files.pythonhosted.org/packages/5e/5e/e0323d54321166639eb2be5e8a464f5cb0fc04d72d91f3e78944bb6a1da8/uuid_utils-0.16.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ed45fb8732d216426227096b55accbb87cba57febc86a044d90780b090eb99d0", size = 326328, upload-time = "2026-05-19T07:45:31.901Z" }, + { url = "https://files.pythonhosted.org/packages/f0/a3/046f6cb958467c3bf4a163a8a53b178b64a62e21ed8ad5b2c1dacb3a2cfc/uuid_utils-0.16.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b617a334bb01ef2ff8c22900f5a14125eb9063f602131494cc9dc59519beaa5b", size = 332322, upload-time = "2026-05-19T07:43:41.284Z" }, + { url = "https://files.pythonhosted.org/packages/67/80/01914e3949744db7acd0006885e5542fbebb6e39114857d007d29b3265c2/uuid_utils-0.16.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a750d8aeb8ae880aa9a2529606bde0e994bcc7448730c953107f357a28e6102e", size = 445787, upload-time = "2026-05-19T07:45:36.102Z" }, + { url = "https://files.pythonhosted.org/packages/14/ef/f6908f41279f205d70c8a0d5dcb25dd6802741d7f88e3f0123453c3584d3/uuid_utils-0.16.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9a250e111903c4368745fce5ac2aa607bd477c62d3307e45347338fdb64b38e0", size = 324678, upload-time = "2026-05-19T07:45:12.77Z" }, + { url = "https://files.pythonhosted.org/packages/11/4a/bf841ba90f829c7779d82155e0f4b88ef6726ccc25507d064d50ac2cd329/uuid_utils-0.16.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:95b7f480010ea98a29ee809857a98aa923008c68129af1b39244adccff7377fb", size = 349704, upload-time = "2026-05-19T07:44:47.172Z" }, + { url = "https://files.pythonhosted.org/packages/e6/31/3b5c60172b8c57bf4ca485484b8e4edef550ca324f9287f1183be97422e2/uuid_utils-0.16.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:420aa3ca403cedb73490b6ea3aeefeea7e0455f5ce60bbf856390ee872ae3306", size = 502456, upload-time = "2026-05-19T07:45:00.821Z" }, + { url = "https://files.pythonhosted.org/packages/88/bf/3da8d497af80fd51d8bf85551c77ede67f07825924ec5987bf9b6031014a/uuid_utils-0.16.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:b8a9a7b1065a12d40f2cc25b7d705ab34954cc57095034367bca39ebcf4a876b", size = 607727, upload-time = "2026-05-19T07:44:30.058Z" }, + { url = "https://files.pythonhosted.org/packages/bd/4e/7c8cf03ec15cd6f40e4cbab81b2b4a625461327f68c7971e54723280ec3e/uuid_utils-0.16.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:f235ac5827d74ac630cc87f29278cdaa5d2f273613a6e05bbd96df7aa4170776", size = 566204, upload-time = "2026-05-19T07:44:51.225Z" }, + { url = "https://files.pythonhosted.org/packages/f9/5f/af955feae69cce7fd2121ca3f790ff4b85ad2e17b2149546f50753e1a047/uuid_utils-0.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:c8083284488b84ad178e74add64cfd1e74e8be5e30821e5acbc5019281c658b0", size = 529986, upload-time = "2026-05-19T07:45:57.85Z" }, + { url = "https://files.pythonhosted.org/packages/10/cf/3fec757e51bef10eb41ae8075f5442c60e85ff456b42d16a3063f5dc6c80/uuid_utils-0.16.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:27a071a899ba46a551d6524dbbc5a98b88be176d0f55ddf72cf71c005326ac10", size = 98683, upload-time = "2026-05-19T07:44:16.369Z" }, + { url = "https://files.pythonhosted.org/packages/40/a7/cd1adbea7ef882a70db064c00cd93b12e11027b4cdd7ffd79e95c35fc3e3/uuid_utils-0.16.0-cp313-cp313-win32.whl", hash = "sha256:924a8de04460e4cf65998ad0b6568084f7c51740ebd3254d07a0bcde35a84af6", size = 168822, upload-time = "2026-05-19T07:44:24.09Z" }, + { url = "https://files.pythonhosted.org/packages/74/99/617ceb9e3a95b23837012740979baf71afad723b70daf34862da3f7c17a1/uuid_utils-0.16.0-cp313-cp313-win_amd64.whl", hash = "sha256:5279bc7ab3c6683f1c67314695bee14d869015acbbc677bdb0015190fe753d16", size = 174967, upload-time = "2026-05-19T07:44:56.022Z" }, + { url = "https://files.pythonhosted.org/packages/d9/d8/148ae707bfc36d482e39db679c86b81bdce264d4feb9df5d40a03b7687e3/uuid_utils-0.16.0-cp313-cp313-win_arm64.whl", hash = "sha256:61a9c4c26ad12ac66fa4bfd0fdb8494724fe7a5b98a9fcd43e78e2b388663dbb", size = 173142, upload-time = "2026-05-19T07:43:50.171Z" }, + { url = "https://files.pythonhosted.org/packages/21/05/ca6d60705e71fdeaa3431dad94e279a8213c5573cb2925e1aabf3dc0330a/uuid_utils-0.16.0-cp313-cp313t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:73486b6aa3f755a6c97000f5ea67e7ac78d6df89bf22980789a1e943e24b74f0", size = 564408, upload-time = "2026-05-19T07:44:38.351Z" }, + { url = "https://files.pythonhosted.org/packages/eb/8c/b9a0462c38535c1662acb1025768e2d626bee5ce9e1790bad6b5381162ea/uuid_utils-0.16.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:f1614572fd9345cdc3dde3f40c237345719fabca1aa87d2d87b321d523cfa34d", size = 289923, upload-time = "2026-05-19T07:45:19.611Z" }, + { url = "https://files.pythonhosted.org/packages/f2/33/a53afeef1a56051551a0f5a801e4bce411dd73c6a8c99bad16902651256d/uuid_utils-0.16.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9346ce6eb1fbd8b03a6b331d66016afcb4edcdff6eac708e21391600529a016a", size = 325762, upload-time = "2026-05-19T07:45:18.261Z" }, + { url = "https://files.pythonhosted.org/packages/72/ca/4462a4f36365d7ee72d41e05e6bcfe127e861b073ab37c25b2c8a518317c/uuid_utils-0.16.0-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a0fc6eb3fd821466fbab69cf356c6ec2b7327266bbbc740a2eb57c77c4bef965", size = 332359, upload-time = "2026-05-19T07:45:34.886Z" }, + { url = "https://files.pythonhosted.org/packages/c5/67/9d3373fa7c5a746fdecc64e30caf915c29eb632203508d87676f9243ed03/uuid_utils-0.16.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:13a797e5e8f0dadc18351a5aa013815ddac25dce6864072a539d510910c95f71", size = 445483, upload-time = "2026-05-19T07:44:49.598Z" }, + { url = "https://files.pythonhosted.org/packages/57/08/ce01aa6d897fc7f875844fe58cad0a542c8ebf089d9242b654b56260ecb8/uuid_utils-0.16.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:57c3583b1f1c00a94f59726a5e2b988fa209221143919a1af5c2fc24e318fc98", size = 326281, upload-time = "2026-05-19T07:44:59.677Z" }, + { url = "https://files.pythonhosted.org/packages/76/ef/2c719b2c26bb5b5e5061a1435c11ad2bd33ac3cd6d4cd0c7c3ac1d3396ed/uuid_utils-0.16.0-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:caac9c8b1d50e8fbddc76e93bfefbef472978eb45adbfdb6289d578816992953", size = 350809, upload-time = "2026-05-19T07:45:28.076Z" }, + { url = "https://files.pythonhosted.org/packages/e0/9b/c1ed447328b32229cca38ac4c62d309eab006e5e9c4020e2056a175bc607/uuid_utils-0.16.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:91db59bad97ed2b9d2c6ed25082fe9762b2c422e694fe06786b28cf4e776ac4c", size = 502088, upload-time = "2026-05-19T07:44:09.208Z" }, + { url = "https://files.pythonhosted.org/packages/c1/e0/8442f4efe7bde72f0b4ae5f675d0c7fbe209ad0b54718b8ddf43c46c6fae/uuid_utils-0.16.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:41985e342a30e76366a8becc60bbdb07d72cd1b86ec657b1f31654e9fb1baada", size = 607631, upload-time = "2026-05-19T07:44:19.384Z" }, + { url = "https://files.pythonhosted.org/packages/f1/1e/9a9fa261edf4c972f28ae83421377e3ab8dbd0bd7db58fd316e782d09a3b/uuid_utils-0.16.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:1b0dcedf9266bf34a54d5cbe78648eaa627e02352f2a6923ed647530aea2f661", size = 567618, upload-time = "2026-05-19T07:43:58.478Z" }, + { url = "https://files.pythonhosted.org/packages/cc/f7/1bcfdb9d539bd42736dd6076470a42fbb5db23f79712c0a06aa0a3752f7b/uuid_utils-0.16.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:26fe23ab60f05de4ad70aaa5b6a4c2a7bbd43055e3dd6f6b31efba0532ac9c71", size = 530971, upload-time = "2026-05-19T07:45:06.348Z" }, + { url = "https://files.pythonhosted.org/packages/24/0c/18945f417d6bb4d0dd2b7652fe36c58c4e83bcf593b9b326b83aa40b853a/uuid_utils-0.16.0-cp313-cp313t-win32.whl", hash = "sha256:7f8cf49c05d58523a0f977cb7f11afc05791a0fa164d7303b8365a34750638e7", size = 169369, upload-time = "2026-05-19T07:44:32.581Z" }, + { url = "https://files.pythonhosted.org/packages/cc/cc/c0eb0c3fab2ed80d706369b750029143b53126809b77b36bcbb77da66bab/uuid_utils-0.16.0-cp313-cp313t-win_amd64.whl", hash = "sha256:e99f9a8b2420b228faba23a637e96efaf5c6a678b2e225870f24431c82707f50", size = 175384, upload-time = "2026-05-19T07:45:56.623Z" }, + { url = "https://files.pythonhosted.org/packages/b7/77/50ac87b6e18b1c686f700aa38c9471a990683c6a955f71ac1a6677ed8145/uuid_utils-0.16.0-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:6853b627983aa1b4fd95aa52d9e87136eb94a7b3b7de0fbb1db8a498d457eeec", size = 564108, upload-time = "2026-05-19T07:43:55.609Z" }, + { url = "https://files.pythonhosted.org/packages/83/16/65046676de246bb5334d9f58aa96d2feb9fc347fda3556aaff7da1c2fc7a/uuid_utils-0.16.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:f44b65ae0c329843817d9c90e36a7a3c677b413bf407c99e67db874dac49dad3", size = 289967, upload-time = "2026-05-19T07:45:38.886Z" }, + { url = "https://files.pythonhosted.org/packages/91/d6/54fa988606a15dfd2028e925d8eb9c3ee6edbf1eb7692a67b37282880b56/uuid_utils-0.16.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:de8a365795a76f347f5622621c2bee543cffa0c70949f3ee093bdefc9d926dcc", size = 325835, upload-time = "2026-05-19T07:44:42.02Z" }, + { url = "https://files.pythonhosted.org/packages/d5/1b/50622f967ceacea1f89fd065d9bfd395b51acb02cfb0a4ddc8fa9ff0c983/uuid_utils-0.16.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:426a8c9af90242d879706ccf29da56f0b0712e7739fb0bbe16baacabc75596e2", size = 332607, upload-time = "2026-05-19T07:43:42.42Z" }, + { url = "https://files.pythonhosted.org/packages/12/f5/4059706be6617e2787e375ea52994ce3c3fa3920b7d4a9c8ebf7895681a5/uuid_utils-0.16.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:833bc4b3c3fc24be541f67b01b4a75b6b9942a9b7137395b4eb35435948bd6da", size = 444287, upload-time = "2026-05-19T07:43:37.106Z" }, + { url = "https://files.pythonhosted.org/packages/65/d5/f44b2710563da687a368f0ce4dcbd462dfb6708bcd46439d831991d595c7/uuid_utils-0.16.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:efb5252d7c00d586077f10e169d6e6d0b0d0f806d8a085073f0d19b4737aef4e", size = 324949, upload-time = "2026-05-19T07:45:33.175Z" }, + { url = "https://files.pythonhosted.org/packages/3a/a7/a69e859e37d26c5603f0bc0ae481860f691224f140e5a832f325b804770d/uuid_utils-0.16.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0b3377ce388fd7bf8d231ec9d1d4f58c8e87888ddea93581f60ed6f878a4f722", size = 349651, upload-time = "2026-05-19T07:43:59.998Z" }, + { url = "https://files.pythonhosted.org/packages/db/73/4139cd3ca7b81ea283c1c8769373e9b2008241c0744a8ffb25f0a1b31325/uuid_utils-0.16.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:12b6310beb38adc173ec5dc89e98812fd7e3d98f87f3ef01d2ea6ecb5d87994f", size = 502326, upload-time = "2026-05-19T07:45:40.292Z" }, + { url = "https://files.pythonhosted.org/packages/cb/8c/858101583fbad1b3fa04da88b1f7170836aa0f00b4cb712063325c44466d/uuid_utils-0.16.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:a49b5a75497643479c919e2e537a4a36224ac3aaa0fada61b75d87024021ac3e", size = 607689, upload-time = "2026-05-19T07:44:48.355Z" }, + { url = "https://files.pythonhosted.org/packages/5e/bd/8f3d54a4763dd91ebd0f3d7b0c2ec434e4e0b1fc667b03a44d611a465ec6/uuid_utils-0.16.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:63bfdf00be51b6b3b79275d6767d034ea5c7a0caa067a35d72861284100cb60a", size = 566214, upload-time = "2026-05-19T07:44:53.519Z" }, + { url = "https://files.pythonhosted.org/packages/54/76/4c9a8d9baaa243c7902d84dbba4d51b1ab51c379c66d3fd6368ff6933ecf/uuid_utils-0.16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7525bc59ac4579c32317d2493dd42cf134b9bb50cd0bc6a41dd9f77e4740dde6", size = 529989, upload-time = "2026-05-19T07:44:43.141Z" }, + { url = "https://files.pythonhosted.org/packages/6d/13/d32cea997f880cedde415730ce0e872ebfd7a040155ae0bbda70eccd208e/uuid_utils-0.16.0-cp314-cp314-win32.whl", hash = "sha256:fbcac6e6710aa2e4bfbb81762758e01470dc56d5048ba4253acc77c9833568ff", size = 169146, upload-time = "2026-05-19T07:45:46.655Z" }, + { url = "https://files.pythonhosted.org/packages/1c/19/9fc55172d8fe59e1f27a14d598b427fa508a7ebb35fa7b7b99c24fa0ef13/uuid_utils-0.16.0-cp314-cp314-win_amd64.whl", hash = "sha256:d23fcaf37368a1647319187ef6f8b741bf079f033065899bc2d00a44b0a1214a", size = 175364, upload-time = "2026-05-19T07:45:55.335Z" }, + { url = "https://files.pythonhosted.org/packages/89/5d/fcd9226b715c5aa0638fcdd6deaf0de6c6c3c451c692cd76bfca810c6512/uuid_utils-0.16.0-cp314-cp314-win_arm64.whl", hash = "sha256:ea3265f8e2b452a4870f3298cb1d183dc4e36a3682cbb264dbe46af31267e706", size = 173268, upload-time = "2026-05-19T07:44:31.19Z" }, + { url = "https://files.pythonhosted.org/packages/c1/64/97ec9af95e58b8187f2934008ffab26e1604d149e34fe01c388b0543a24f/uuid_utils-0.16.0-cp314-cp314t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:99f8420c3ed59f89a086782ac197e257f4b1debb4545dffa90cf5db23f96c892", size = 564464, upload-time = "2026-05-19T07:44:40.856Z" }, + { url = "https://files.pythonhosted.org/packages/3e/6d/e4082f407484ac28923c0bf8e861e71d277118d8b7542d0a350340e45350/uuid_utils-0.16.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:259bab73c241743d684dcc3507feb76f484d720545e4e4805582aeff8e19700b", size = 290087, upload-time = "2026-05-19T07:44:01.084Z" }, + { url = "https://files.pythonhosted.org/packages/8c/43/c5c5f273c0ff889f20f10344784f9197dd00eb81ccc294330d4b949fea7e/uuid_utils-0.16.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:897e8ef0dc5e4ac0b17cf9cae84bb41e560d806280ec5b93db7475b504022105", size = 325532, upload-time = "2026-05-19T07:43:47.508Z" }, + { url = "https://files.pythonhosted.org/packages/13/7f/669aa899ab5378374d28a28231e6978f739921a1af394c7ebd6cc86e2639/uuid_utils-0.16.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c5af79cde16a7600dfccb7d431aec0afd3088ff170b6a09887bf3f7ab3cc7c81", size = 332209, upload-time = "2026-05-19T07:43:51.528Z" }, + { url = "https://files.pythonhosted.org/packages/2b/57/a2a32406d79a222794ef98a19254fd9a81a029a0f32d7740fba9873bff1f/uuid_utils-0.16.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bece1a6f677ca36047442c465d8166643eed9818b9e43e0bf42d3cf73e92dcff", size = 445507, upload-time = "2026-05-19T07:44:20.541Z" }, + { url = "https://files.pythonhosted.org/packages/26/6b/85459a35bfa7d73e79acbc4eab1cf6aa6e4d9d022c3260ed9dea539c7f0b/uuid_utils-0.16.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2bb3444498e7b099499c8a607d7771377020fa55f7274e46f54106af19f752d7", size = 326154, upload-time = "2026-05-19T07:45:23.587Z" }, + { url = "https://files.pythonhosted.org/packages/84/9e/e965efdbb503ed14d6e57aec1a22b98326ed24cc2fb48e750c4d192267a0/uuid_utils-0.16.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:542098f6cb6874aebeff98715f3ab7646fbe0f2ffb24509ca372828c68c4ed0e", size = 350905, upload-time = "2026-05-19T07:44:36.957Z" }, + { url = "https://files.pythonhosted.org/packages/23/ae/4321867888a783d03b7c053c0b68ca45d03974d86fcebf44d4ec268db397/uuid_utils-0.16.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:7207b25fe534bcf4d57e0110f90670e61c1c38b6f4598ba855af69ab428fc118", size = 502098, upload-time = "2026-05-19T07:44:17.696Z" }, + { url = "https://files.pythonhosted.org/packages/9d/9a/914a47bf42479bff0ce3e1fa1cbe3585354708edc928e27687cf91de9c26/uuid_utils-0.16.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:16dc5c6e439f75b0456114e955983e2156c1f38887733e54d54205d3005223e4", size = 607032, upload-time = "2026-05-19T07:44:22.151Z" }, + { url = "https://files.pythonhosted.org/packages/85/4c/2abacd6badba61a047eaa39c8347656229d12843bd9bbe4906daa6dc752c/uuid_utils-0.16.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:a6d3ee32c57898d8415242b08d5dd086bc4f7bcbbb3fc102ef257f3d793eb294", size = 567664, upload-time = "2026-05-19T07:45:21.043Z" }, + { url = "https://files.pythonhosted.org/packages/53/1f/9d1a09521276424da19dc0d74456aed3311170fec181b28fa6acba45d963/uuid_utils-0.16.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:7555f120a2282d1901c9a632c2398a614101af4fe3f7c8114aa0f1d8c1978855", size = 530996, upload-time = "2026-05-19T07:45:44.229Z" }, + { url = "https://files.pythonhosted.org/packages/b4/22/14dbedb6b61f492d5524077fd10bbfb137583b0f0aafa6cd870ccb43f39a/uuid_utils-0.16.0-cp314-cp314t-win32.whl", hash = "sha256:756575d082ea4cb7d2f923d5b640c0efe7c82573aab49220c4e09b62d13737ff", size = 169358, upload-time = "2026-05-19T07:45:05.146Z" }, + { url = "https://files.pythonhosted.org/packages/25/f4/a636806c98401a1108f2456e9cc3fa39a618145bfb1d0860c57203159cfe/uuid_utils-0.16.0-cp314-cp314t-win_amd64.whl", hash = "sha256:aa50261a83991dbb570a00573741455bd8f3249444f7329e5bdcd494799d1504", size = 174813, upload-time = "2026-05-19T07:45:59.579Z" }, + { url = "https://files.pythonhosted.org/packages/75/12/3823742459d87a100deb24bb6b41692aa961b267abd130fa7739cdf7d409/uuid_utils-0.16.0-cp314-cp314t-win_arm64.whl", hash = "sha256:22a17e93a371d850ffce8fcdbacc2239f890efe73aa3262b6170c1febc08afe1", size = 171733, upload-time = "2026-05-19T07:45:29.283Z" }, + { url = "https://files.pythonhosted.org/packages/d3/89/655408a5485c56bf2c4561eb85f5bca119b1f4020370b4daaeb8d13e46fb/uuid_utils-0.16.0-pp311-pypy311_pp73-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:4e35e9a986e86806a61288fac3afbb51317f2580929feefd1661891ffd7b8c24", size = 569295, upload-time = "2026-05-19T07:45:22.325Z" }, + { url = "https://files.pythonhosted.org/packages/24/1c/a7c5506a4e2cf95ac98fec0996c56daa14e41f2ab1858f569b3556a202f9/uuid_utils-0.16.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:b35706350cf9bd4813f1811bebe03cac09795a5a379f90cb3616171f4e9ffc9e", size = 292316, upload-time = "2026-05-19T07:43:57.044Z" }, + { url = "https://files.pythonhosted.org/packages/dd/75/4267ab8baa1e6a8ad7c262e204484b44df0fde0920025ea9b43c2b869726/uuid_utils-0.16.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a4fd5c7936a876ba2606ba124603b559a5c2cea458c59b9c31677e6acc3c53cc", size = 329619, upload-time = "2026-05-19T07:44:12.928Z" }, + { url = "https://files.pythonhosted.org/packages/15/77/c794102831e331564f651099cac55006694677938d70f1033b35da451a89/uuid_utils-0.16.0-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:130f7452c1b87b7c16d0bdc1f32a1de531ae4cc4220ed4e691402bbcfc39e0a9", size = 335121, upload-time = "2026-05-19T07:45:47.974Z" }, + { url = "https://files.pythonhosted.org/packages/8b/3e/458a0a2da75c596b151182a6c7550c6c3d30f479e14e40f69c0336579e59/uuid_utils-0.16.0-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d5ee0bbbd4ca3968422cd8308f0072520bc73dc760cb26c6fa75ca1aca14d210", size = 449631, upload-time = "2026-05-19T07:45:50.645Z" }, + { url = "https://files.pythonhosted.org/packages/ed/15/dd1fab6f7fcd15f2c331d0c1f0f516bb1113a640216460f82be53db3dcf8/uuid_utils-0.16.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dc0824a31898ef46a9d84d748c3abe27cdb615ac3773c53cc1f84fc8e66dc7c4", size = 328418, upload-time = "2026-05-19T07:44:52.38Z" }, + { url = "https://files.pythonhosted.org/packages/96/56/62dcd551b140cbeb0f87522da2015b4b9e5818327b920506ad88d28562b0/uuid_utils-0.16.0-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:abfbf5e0c47fb31b37164a99515104e449a0bee36a071dc8b105457a2b35a5e6", size = 356177, upload-time = "2026-05-19T07:45:42.856Z" }, + { url = "https://files.pythonhosted.org/packages/44/e7/3937b9a9d6745b94dbe7b86531e098db8c53b77c8d07df7daa9577a47b8e/uuid_utils-0.16.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:680799a9ade01d69c53cb9d41392ced24919d4f600bfab5060b61fca37510097", size = 178508, upload-time = "2026-05-19T07:43:43.774Z" }, +] + +[[package]] +name = "uvicorn" +version = "0.47.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "h11" }, + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f6/b1/8e7077a8641086aea449e1b5752a570f1b5906c64e0a33cd6d93b63a066b/uvicorn-0.47.0.tar.gz", hash = "sha256:7c9a0ea1a9414106bbab7324609c162d8fa0cdcdcb703060987269d77c7bb533", size = 90582, upload-time = "2026-05-14T18:16:54.455Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/15/41/ac2dfdbc1f60c7af4f994c7a335cfa7040c01642b605d65f611cecc2a1e4/uvicorn-0.47.0-py3-none-any.whl", hash = "sha256:2c5715bc12d1892d84752049f400cd1c3cb018514967fdfeb97640443a6a9432", size = 71301, upload-time = "2026-05-14T18:16:51.762Z" }, +] + +[[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 = "wcmatch" +version = "11.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "bracex" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/16/25/1da725838132221e33568973da484ff43813662ccc06ebf7f6e3abddfcd5/wcmatch-11.0.tar.gz", hash = "sha256:55d95c2447789712774b198ceec72939e88b5618f1f8f0a9b605bf7740b63b96", size = 141360, upload-time = "2026-07-10T05:50:24.183Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/28/12/f38b6fee116274d7221743caab07d765032e1370bb54cad8714f87aeb0e8/wcmatch-11.0-py3-none-any.whl", hash = "sha256:3a5977ace27e075eef67eb03d539563f1a19018b62881949a42932cf66926934", size = 42914, upload-time = "2026-07-10T05:50:22.995Z" }, +] + +[[package]] +name = "wcwidth" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2c/ee/afaf0f85a9a18fe47a67f1e4422ed6cf1fe642f0ae0a2f81166231303c52/wcwidth-0.7.0.tar.gz", hash = "sha256:90e3a7ea092341c44b99562e75d09e4d5160fe7a3974c6fb842a101a95e7eed0", size = 182132, upload-time = "2026-05-02T16:04:12.653Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/41/52/e465037f5375f43533d1a80b6923955201596a99142ed524d77b571a1418/wcwidth-0.7.0-py3-none-any.whl", hash = "sha256:5d69154c429a82910e241c738cd0e2976fac8a2dd47a1a805f4afed1c0f136f2", size = 110825, upload-time = "2026-05-02T16:04:11.033Z" }, +] + +[[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 = "werkzeug" +version = "3.1.8" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/dd/b2/381be8cfdee792dd117872481b6e378f85c957dd7c5bca38897b08f765fd/werkzeug-3.1.8.tar.gz", hash = "sha256:9bad61a4268dac112f1c5cd4630a56ede601b6ed420300677a869083d70a4c44", size = 875852, upload-time = "2026-04-02T18:49:14.268Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/93/8c/2e650f2afeb7ee576912636c23ddb621c91ac6a98e66dc8d29c3c69446e1/werkzeug-3.1.8-py3-none-any.whl", hash = "sha256:63a77fb8892bf28ebc3178683445222aa500e48ebad5ec77b0ad80f8726b1f50", size = 226459, upload-time = "2026-04-02T18:49:12.72Z" }, +] + +[[package]] +name = "wrapt" +version = "1.17.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/95/8f/aeb76c5b46e273670962298c23e7ddde79916cb74db802131d49a85e4b7d/wrapt-1.17.3.tar.gz", hash = "sha256:f66eb08feaa410fe4eebd17f2a2c8e2e46d3476e9f8c783daa8e09e0faa666d0", size = 55547, upload-time = "2025-08-12T05:53:21.714Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3f/23/bb82321b86411eb51e5a5db3fb8f8032fd30bd7c2d74bfe936136b2fa1d6/wrapt-1.17.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:88bbae4d40d5a46142e70d58bf664a89b6b4befaea7b2ecc14e03cedb8e06c04", size = 53482, upload-time = "2025-08-12T05:51:44.467Z" }, + { url = "https://files.pythonhosted.org/packages/45/69/f3c47642b79485a30a59c63f6d739ed779fb4cc8323205d047d741d55220/wrapt-1.17.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e6b13af258d6a9ad602d57d889f83b9d5543acd471eee12eb51f5b01f8eb1bc2", size = 38676, upload-time = "2025-08-12T05:51:32.636Z" }, + { url = "https://files.pythonhosted.org/packages/d1/71/e7e7f5670c1eafd9e990438e69d8fb46fa91a50785332e06b560c869454f/wrapt-1.17.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd341868a4b6714a5962c1af0bd44f7c404ef78720c7de4892901e540417111c", size = 38957, upload-time = "2025-08-12T05:51:54.655Z" }, + { url = "https://files.pythonhosted.org/packages/de/17/9f8f86755c191d6779d7ddead1a53c7a8aa18bccb7cea8e7e72dfa6a8a09/wrapt-1.17.3-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f9b2601381be482f70e5d1051a5965c25fb3625455a2bf520b5a077b22afb775", size = 81975, upload-time = "2025-08-12T05:52:30.109Z" }, + { url = "https://files.pythonhosted.org/packages/f2/15/dd576273491f9f43dd09fce517f6c2ce6eb4fe21681726068db0d0467096/wrapt-1.17.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:343e44b2a8e60e06a7e0d29c1671a0d9951f59174f3709962b5143f60a2a98bd", size = 83149, upload-time = "2025-08-12T05:52:09.316Z" }, + { url = "https://files.pythonhosted.org/packages/0c/c4/5eb4ce0d4814521fee7aa806264bf7a114e748ad05110441cd5b8a5c744b/wrapt-1.17.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:33486899acd2d7d3066156b03465b949da3fd41a5da6e394ec49d271baefcf05", size = 82209, upload-time = "2025-08-12T05:52:10.331Z" }, + { url = "https://files.pythonhosted.org/packages/31/4b/819e9e0eb5c8dc86f60dfc42aa4e2c0d6c3db8732bce93cc752e604bb5f5/wrapt-1.17.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e6f40a8aa5a92f150bdb3e1c44b7e98fb7113955b2e5394122fa5532fec4b418", size = 81551, upload-time = "2025-08-12T05:52:31.137Z" }, + { url = "https://files.pythonhosted.org/packages/f8/83/ed6baf89ba3a56694700139698cf703aac9f0f9eb03dab92f57551bd5385/wrapt-1.17.3-cp310-cp310-win32.whl", hash = "sha256:a36692b8491d30a8c75f1dfee65bef119d6f39ea84ee04d9f9311f83c5ad9390", size = 36464, upload-time = "2025-08-12T05:53:01.204Z" }, + { url = "https://files.pythonhosted.org/packages/2f/90/ee61d36862340ad7e9d15a02529df6b948676b9a5829fd5e16640156627d/wrapt-1.17.3-cp310-cp310-win_amd64.whl", hash = "sha256:afd964fd43b10c12213574db492cb8f73b2f0826c8df07a68288f8f19af2ebe6", size = 38748, upload-time = "2025-08-12T05:53:00.209Z" }, + { url = "https://files.pythonhosted.org/packages/bd/c3/cefe0bd330d389c9983ced15d326f45373f4073c9f4a8c2f99b50bfea329/wrapt-1.17.3-cp310-cp310-win_arm64.whl", hash = "sha256:af338aa93554be859173c39c85243970dc6a289fa907402289eeae7543e1ae18", size = 36810, upload-time = "2025-08-12T05:52:51.906Z" }, + { url = "https://files.pythonhosted.org/packages/52/db/00e2a219213856074a213503fdac0511203dceefff26e1daa15250cc01a0/wrapt-1.17.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:273a736c4645e63ac582c60a56b0acb529ef07f78e08dc6bfadf6a46b19c0da7", size = 53482, upload-time = "2025-08-12T05:51:45.79Z" }, + { url = "https://files.pythonhosted.org/packages/5e/30/ca3c4a5eba478408572096fe9ce36e6e915994dd26a4e9e98b4f729c06d9/wrapt-1.17.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5531d911795e3f935a9c23eb1c8c03c211661a5060aab167065896bbf62a5f85", size = 38674, upload-time = "2025-08-12T05:51:34.629Z" }, + { url = "https://files.pythonhosted.org/packages/31/25/3e8cc2c46b5329c5957cec959cb76a10718e1a513309c31399a4dad07eb3/wrapt-1.17.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0610b46293c59a3adbae3dee552b648b984176f8562ee0dba099a56cfbe4df1f", size = 38959, upload-time = "2025-08-12T05:51:56.074Z" }, + { url = "https://files.pythonhosted.org/packages/5d/8f/a32a99fc03e4b37e31b57cb9cefc65050ea08147a8ce12f288616b05ef54/wrapt-1.17.3-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b32888aad8b6e68f83a8fdccbf3165f5469702a7544472bdf41f582970ed3311", size = 82376, upload-time = "2025-08-12T05:52:32.134Z" }, + { url = "https://files.pythonhosted.org/packages/31/57/4930cb8d9d70d59c27ee1332a318c20291749b4fba31f113c2f8ac49a72e/wrapt-1.17.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8cccf4f81371f257440c88faed6b74f1053eef90807b77e31ca057b2db74edb1", size = 83604, upload-time = "2025-08-12T05:52:11.663Z" }, + { url = "https://files.pythonhosted.org/packages/a8/f3/1afd48de81d63dd66e01b263a6fbb86e1b5053b419b9b33d13e1f6d0f7d0/wrapt-1.17.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d8a210b158a34164de8bb68b0e7780041a903d7b00c87e906fb69928bf7890d5", size = 82782, upload-time = "2025-08-12T05:52:12.626Z" }, + { url = "https://files.pythonhosted.org/packages/1e/d7/4ad5327612173b144998232f98a85bb24b60c352afb73bc48e3e0d2bdc4e/wrapt-1.17.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:79573c24a46ce11aab457b472efd8d125e5a51da2d1d24387666cd85f54c05b2", size = 82076, upload-time = "2025-08-12T05:52:33.168Z" }, + { url = "https://files.pythonhosted.org/packages/bb/59/e0adfc831674a65694f18ea6dc821f9fcb9ec82c2ce7e3d73a88ba2e8718/wrapt-1.17.3-cp311-cp311-win32.whl", hash = "sha256:c31eebe420a9a5d2887b13000b043ff6ca27c452a9a22fa71f35f118e8d4bf89", size = 36457, upload-time = "2025-08-12T05:53:03.936Z" }, + { url = "https://files.pythonhosted.org/packages/83/88/16b7231ba49861b6f75fc309b11012ede4d6b0a9c90969d9e0db8d991aeb/wrapt-1.17.3-cp311-cp311-win_amd64.whl", hash = "sha256:0b1831115c97f0663cb77aa27d381237e73ad4f721391a9bfb2fe8bc25fa6e77", size = 38745, upload-time = "2025-08-12T05:53:02.885Z" }, + { url = "https://files.pythonhosted.org/packages/9a/1e/c4d4f3398ec073012c51d1c8d87f715f56765444e1a4b11e5180577b7e6e/wrapt-1.17.3-cp311-cp311-win_arm64.whl", hash = "sha256:5a7b3c1ee8265eb4c8f1b7d29943f195c00673f5ab60c192eba2d4a7eae5f46a", size = 36806, upload-time = "2025-08-12T05:52:53.368Z" }, + { url = "https://files.pythonhosted.org/packages/9f/41/cad1aba93e752f1f9268c77270da3c469883d56e2798e7df6240dcb2287b/wrapt-1.17.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ab232e7fdb44cdfbf55fc3afa31bcdb0d8980b9b95c38b6405df2acb672af0e0", size = 53998, upload-time = "2025-08-12T05:51:47.138Z" }, + { url = "https://files.pythonhosted.org/packages/60/f8/096a7cc13097a1869fe44efe68dace40d2a16ecb853141394047f0780b96/wrapt-1.17.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:9baa544e6acc91130e926e8c802a17f3b16fbea0fd441b5a60f5cf2cc5c3deba", size = 39020, upload-time = "2025-08-12T05:51:35.906Z" }, + { url = "https://files.pythonhosted.org/packages/33/df/bdf864b8997aab4febb96a9ae5c124f700a5abd9b5e13d2a3214ec4be705/wrapt-1.17.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6b538e31eca1a7ea4605e44f81a48aa24c4632a277431a6ed3f328835901f4fd", size = 39098, upload-time = "2025-08-12T05:51:57.474Z" }, + { url = "https://files.pythonhosted.org/packages/9f/81/5d931d78d0eb732b95dc3ddaeeb71c8bb572fb01356e9133916cd729ecdd/wrapt-1.17.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:042ec3bb8f319c147b1301f2393bc19dba6e176b7da446853406d041c36c7828", size = 88036, upload-time = "2025-08-12T05:52:34.784Z" }, + { url = "https://files.pythonhosted.org/packages/ca/38/2e1785df03b3d72d34fc6252d91d9d12dc27a5c89caef3335a1bbb8908ca/wrapt-1.17.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3af60380ba0b7b5aeb329bc4e402acd25bd877e98b3727b0135cb5c2efdaefe9", size = 88156, upload-time = "2025-08-12T05:52:13.599Z" }, + { url = "https://files.pythonhosted.org/packages/b3/8b/48cdb60fe0603e34e05cffda0b2a4adab81fd43718e11111a4b0100fd7c1/wrapt-1.17.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0b02e424deef65c9f7326d8c19220a2c9040c51dc165cddb732f16198c168396", size = 87102, upload-time = "2025-08-12T05:52:14.56Z" }, + { url = "https://files.pythonhosted.org/packages/3c/51/d81abca783b58f40a154f1b2c56db1d2d9e0d04fa2d4224e357529f57a57/wrapt-1.17.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:74afa28374a3c3a11b3b5e5fca0ae03bef8450d6aa3ab3a1e2c30e3a75d023dc", size = 87732, upload-time = "2025-08-12T05:52:36.165Z" }, + { url = "https://files.pythonhosted.org/packages/9e/b1/43b286ca1392a006d5336412d41663eeef1ad57485f3e52c767376ba7e5a/wrapt-1.17.3-cp312-cp312-win32.whl", hash = "sha256:4da9f45279fff3543c371d5ababc57a0384f70be244de7759c85a7f989cb4ebe", size = 36705, upload-time = "2025-08-12T05:53:07.123Z" }, + { url = "https://files.pythonhosted.org/packages/28/de/49493f962bd3c586ab4b88066e967aa2e0703d6ef2c43aa28cb83bf7b507/wrapt-1.17.3-cp312-cp312-win_amd64.whl", hash = "sha256:e71d5c6ebac14875668a1e90baf2ea0ef5b7ac7918355850c0908ae82bcb297c", size = 38877, upload-time = "2025-08-12T05:53:05.436Z" }, + { url = "https://files.pythonhosted.org/packages/f1/48/0f7102fe9cb1e8a5a77f80d4f0956d62d97034bbe88d33e94699f99d181d/wrapt-1.17.3-cp312-cp312-win_arm64.whl", hash = "sha256:604d076c55e2fdd4c1c03d06dc1a31b95130010517b5019db15365ec4a405fc6", size = 36885, upload-time = "2025-08-12T05:52:54.367Z" }, + { url = "https://files.pythonhosted.org/packages/fc/f6/759ece88472157acb55fc195e5b116e06730f1b651b5b314c66291729193/wrapt-1.17.3-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a47681378a0439215912ef542c45a783484d4dd82bac412b71e59cf9c0e1cea0", size = 54003, upload-time = "2025-08-12T05:51:48.627Z" }, + { url = "https://files.pythonhosted.org/packages/4f/a9/49940b9dc6d47027dc850c116d79b4155f15c08547d04db0f07121499347/wrapt-1.17.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:54a30837587c6ee3cd1a4d1c2ec5d24e77984d44e2f34547e2323ddb4e22eb77", size = 39025, upload-time = "2025-08-12T05:51:37.156Z" }, + { url = "https://files.pythonhosted.org/packages/45/35/6a08de0f2c96dcdd7fe464d7420ddb9a7655a6561150e5fc4da9356aeaab/wrapt-1.17.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:16ecf15d6af39246fe33e507105d67e4b81d8f8d2c6598ff7e3ca1b8a37213f7", size = 39108, upload-time = "2025-08-12T05:51:58.425Z" }, + { url = "https://files.pythonhosted.org/packages/0c/37/6faf15cfa41bf1f3dba80cd3f5ccc6622dfccb660ab26ed79f0178c7497f/wrapt-1.17.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:6fd1ad24dc235e4ab88cda009e19bf347aabb975e44fd5c2fb22a3f6e4141277", size = 88072, upload-time = "2025-08-12T05:52:37.53Z" }, + { url = "https://files.pythonhosted.org/packages/78/f2/efe19ada4a38e4e15b6dff39c3e3f3f73f5decf901f66e6f72fe79623a06/wrapt-1.17.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ed61b7c2d49cee3c027372df5809a59d60cf1b6c2f81ee980a091f3afed6a2d", size = 88214, upload-time = "2025-08-12T05:52:15.886Z" }, + { url = "https://files.pythonhosted.org/packages/40/90/ca86701e9de1622b16e09689fc24b76f69b06bb0150990f6f4e8b0eeb576/wrapt-1.17.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:423ed5420ad5f5529db9ce89eac09c8a2f97da18eb1c870237e84c5a5c2d60aa", size = 87105, upload-time = "2025-08-12T05:52:17.914Z" }, + { url = "https://files.pythonhosted.org/packages/fd/e0/d10bd257c9a3e15cbf5523025252cc14d77468e8ed644aafb2d6f54cb95d/wrapt-1.17.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e01375f275f010fcbf7f643b4279896d04e571889b8a5b3f848423d91bf07050", size = 87766, upload-time = "2025-08-12T05:52:39.243Z" }, + { url = "https://files.pythonhosted.org/packages/e8/cf/7d848740203c7b4b27eb55dbfede11aca974a51c3d894f6cc4b865f42f58/wrapt-1.17.3-cp313-cp313-win32.whl", hash = "sha256:53e5e39ff71b3fc484df8a522c933ea2b7cdd0d5d15ae82e5b23fde87d44cbd8", size = 36711, upload-time = "2025-08-12T05:53:10.074Z" }, + { url = "https://files.pythonhosted.org/packages/57/54/35a84d0a4d23ea675994104e667ceff49227ce473ba6a59ba2c84f250b74/wrapt-1.17.3-cp313-cp313-win_amd64.whl", hash = "sha256:1f0b2f40cf341ee8cc1a97d51ff50dddb9fcc73241b9143ec74b30fc4f44f6cb", size = 38885, upload-time = "2025-08-12T05:53:08.695Z" }, + { url = "https://files.pythonhosted.org/packages/01/77/66e54407c59d7b02a3c4e0af3783168fff8e5d61def52cda8728439d86bc/wrapt-1.17.3-cp313-cp313-win_arm64.whl", hash = "sha256:7425ac3c54430f5fc5e7b6f41d41e704db073309acfc09305816bc6a0b26bb16", size = 36896, upload-time = "2025-08-12T05:52:55.34Z" }, + { url = "https://files.pythonhosted.org/packages/02/a2/cd864b2a14f20d14f4c496fab97802001560f9f41554eef6df201cd7f76c/wrapt-1.17.3-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:cf30f6e3c077c8e6a9a7809c94551203c8843e74ba0c960f4a98cd80d4665d39", size = 54132, upload-time = "2025-08-12T05:51:49.864Z" }, + { url = "https://files.pythonhosted.org/packages/d5/46/d011725b0c89e853dc44cceb738a307cde5d240d023d6d40a82d1b4e1182/wrapt-1.17.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:e228514a06843cae89621384cfe3a80418f3c04aadf8a3b14e46a7be704e4235", size = 39091, upload-time = "2025-08-12T05:51:38.935Z" }, + { url = "https://files.pythonhosted.org/packages/2e/9e/3ad852d77c35aae7ddebdbc3b6d35ec8013af7d7dddad0ad911f3d891dae/wrapt-1.17.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:5ea5eb3c0c071862997d6f3e02af1d055f381b1d25b286b9d6644b79db77657c", size = 39172, upload-time = "2025-08-12T05:51:59.365Z" }, + { url = "https://files.pythonhosted.org/packages/c3/f7/c983d2762bcce2326c317c26a6a1e7016f7eb039c27cdf5c4e30f4160f31/wrapt-1.17.3-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:281262213373b6d5e4bb4353bc36d1ba4084e6d6b5d242863721ef2bf2c2930b", size = 87163, upload-time = "2025-08-12T05:52:40.965Z" }, + { url = "https://files.pythonhosted.org/packages/e4/0f/f673f75d489c7f22d17fe0193e84b41540d962f75fce579cf6873167c29b/wrapt-1.17.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dc4a8d2b25efb6681ecacad42fca8859f88092d8732b170de6a5dddd80a1c8fa", size = 87963, upload-time = "2025-08-12T05:52:20.326Z" }, + { url = "https://files.pythonhosted.org/packages/df/61/515ad6caca68995da2fac7a6af97faab8f78ebe3bf4f761e1b77efbc47b5/wrapt-1.17.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:373342dd05b1d07d752cecbec0c41817231f29f3a89aa8b8843f7b95992ed0c7", size = 86945, upload-time = "2025-08-12T05:52:21.581Z" }, + { url = "https://files.pythonhosted.org/packages/d3/bd/4e70162ce398462a467bc09e768bee112f1412e563620adc353de9055d33/wrapt-1.17.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:d40770d7c0fd5cbed9d84b2c3f2e156431a12c9a37dc6284060fb4bec0b7ffd4", size = 86857, upload-time = "2025-08-12T05:52:43.043Z" }, + { url = "https://files.pythonhosted.org/packages/2b/b8/da8560695e9284810b8d3df8a19396a6e40e7518059584a1a394a2b35e0a/wrapt-1.17.3-cp314-cp314-win32.whl", hash = "sha256:fbd3c8319de8e1dc79d346929cd71d523622da527cca14e0c1d257e31c2b8b10", size = 37178, upload-time = "2025-08-12T05:53:12.605Z" }, + { url = "https://files.pythonhosted.org/packages/db/c8/b71eeb192c440d67a5a0449aaee2310a1a1e8eca41676046f99ed2487e9f/wrapt-1.17.3-cp314-cp314-win_amd64.whl", hash = "sha256:e1a4120ae5705f673727d3253de3ed0e016f7cd78dc463db1b31e2463e1f3cf6", size = 39310, upload-time = "2025-08-12T05:53:11.106Z" }, + { url = "https://files.pythonhosted.org/packages/45/20/2cda20fd4865fa40f86f6c46ed37a2a8356a7a2fde0773269311f2af56c7/wrapt-1.17.3-cp314-cp314-win_arm64.whl", hash = "sha256:507553480670cab08a800b9463bdb881b2edeed77dc677b0a5915e6106e91a58", size = 37266, upload-time = "2025-08-12T05:52:56.531Z" }, + { url = "https://files.pythonhosted.org/packages/77/ed/dd5cf21aec36c80443c6f900449260b80e2a65cf963668eaef3b9accce36/wrapt-1.17.3-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:ed7c635ae45cfbc1a7371f708727bf74690daedc49b4dba310590ca0bd28aa8a", size = 56544, upload-time = "2025-08-12T05:51:51.109Z" }, + { url = "https://files.pythonhosted.org/packages/8d/96/450c651cc753877ad100c7949ab4d2e2ecc4d97157e00fa8f45df682456a/wrapt-1.17.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:249f88ed15503f6492a71f01442abddd73856a0032ae860de6d75ca62eed8067", size = 40283, upload-time = "2025-08-12T05:51:39.912Z" }, + { url = "https://files.pythonhosted.org/packages/d1/86/2fcad95994d9b572db57632acb6f900695a648c3e063f2cd344b3f5c5a37/wrapt-1.17.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a03a38adec8066d5a37bea22f2ba6bbf39fcdefbe2d91419ab864c3fb515454", size = 40366, upload-time = "2025-08-12T05:52:00.693Z" }, + { url = "https://files.pythonhosted.org/packages/64/0e/f4472f2fdde2d4617975144311f8800ef73677a159be7fe61fa50997d6c0/wrapt-1.17.3-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:5d4478d72eb61c36e5b446e375bbc49ed002430d17cdec3cecb36993398e1a9e", size = 108571, upload-time = "2025-08-12T05:52:44.521Z" }, + { url = "https://files.pythonhosted.org/packages/cc/01/9b85a99996b0a97c8a17484684f206cbb6ba73c1ce6890ac668bcf3838fb/wrapt-1.17.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:223db574bb38637e8230eb14b185565023ab624474df94d2af18f1cdb625216f", size = 113094, upload-time = "2025-08-12T05:52:22.618Z" }, + { url = "https://files.pythonhosted.org/packages/25/02/78926c1efddcc7b3aa0bc3d6b33a822f7d898059f7cd9ace8c8318e559ef/wrapt-1.17.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e405adefb53a435f01efa7ccdec012c016b5a1d3f35459990afc39b6be4d5056", size = 110659, upload-time = "2025-08-12T05:52:24.057Z" }, + { url = "https://files.pythonhosted.org/packages/dc/ee/c414501ad518ac3e6fe184753632fe5e5ecacdcf0effc23f31c1e4f7bfcf/wrapt-1.17.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:88547535b787a6c9ce4086917b6e1d291aa8ed914fdd3a838b3539dc95c12804", size = 106946, upload-time = "2025-08-12T05:52:45.976Z" }, + { url = "https://files.pythonhosted.org/packages/be/44/a1bd64b723d13bb151d6cc91b986146a1952385e0392a78567e12149c7b4/wrapt-1.17.3-cp314-cp314t-win32.whl", hash = "sha256:41b1d2bc74c2cac6f9074df52b2efbef2b30bdfe5f40cb78f8ca22963bc62977", size = 38717, upload-time = "2025-08-12T05:53:15.214Z" }, + { url = "https://files.pythonhosted.org/packages/79/d9/7cfd5a312760ac4dd8bf0184a6ee9e43c33e47f3dadc303032ce012b8fa3/wrapt-1.17.3-cp314-cp314t-win_amd64.whl", hash = "sha256:73d496de46cd2cdbdbcce4ae4bcdb4afb6a11234a1df9c085249d55166b95116", size = 41334, upload-time = "2025-08-12T05:53:14.178Z" }, + { url = "https://files.pythonhosted.org/packages/46/78/10ad9781128ed2f99dbc474f43283b13fea8ba58723e98844367531c18e9/wrapt-1.17.3-cp314-cp314t-win_arm64.whl", hash = "sha256:f38e60678850c42461d4202739f9bf1e3a737c7ad283638251e79cc49effb6b6", size = 38471, upload-time = "2025-08-12T05:52:57.784Z" }, + { url = "https://files.pythonhosted.org/packages/1f/f6/a933bd70f98e9cf3e08167fc5cd7aaaca49147e48411c0bd5ae701bb2194/wrapt-1.17.3-py3-none-any.whl", hash = "sha256:7171ae35d2c33d326ac19dd8facb1e82e5fd04ef8c6c0e394d7af55a55051c22", size = 23591, upload-time = "2025-08-12T05:53:20.674Z" }, +] + +[[package]] +name = "xmltodict" +version = "1.0.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/19/70/80f3b7c10d2630aa66414bf23d210386700aa390547278c789afa994fd7e/xmltodict-1.0.4.tar.gz", hash = "sha256:6d94c9f834dd9e44514162799d344d815a3a4faec913717a9ecbfa5be1bb8e61", size = 26124, upload-time = "2026-02-22T02:21:22.074Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/38/34/98a2f52245f4d47be93b580dae5f9861ef58977d73a79eb47c58f1ad1f3a/xmltodict-1.0.4-py3-none-any.whl", hash = "sha256:a4a00d300b0e1c59fc2bfccb53d7b2e88c32f200df138a0dd2229f842497026a", size = 13580, upload-time = "2026-02-22T02:21:21.039Z" }, +] + +[[package]] +name = "xxhash" +version = "3.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/24/2f/e183a1b407002f5af81822bee18b61cdb94b8670208ef34734d8d2b8ebe9/xxhash-3.7.0.tar.gz", hash = "sha256:6cc4eefbb542a5d6ffd6d70ea9c502957c925e800f998c5630ecc809d6702bae", size = 82022, upload-time = "2026-04-25T11:10:32.553Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/92/49/e4b575b4ed170a7f640c8bd69cfadfa81c7b700191fde5e72228762b9f73/xxhash-3.7.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:cd8ab85c916a58d5c8656ea15e3ce9df836fe2f120a74c296e01d69fab2614b4", size = 33426, upload-time = "2026-04-25T11:05:15.702Z" }, + { url = "https://files.pythonhosted.org/packages/07/61/40f0155b0b09988eb6cdbfc52652f2f371810b0c58163208cb05667757bd/xxhash-3.7.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:85f5c0e26d945b5bb475e0a3d95193117498130baa7619357bdc7869c2391b5a", size = 30859, upload-time = "2026-04-25T11:05:17.708Z" }, + { url = "https://files.pythonhosted.org/packages/12/bd/2902b7aad574e43cd85fd84849cfbce48c52cb02c7d6902b8a2b3f6e668e/xxhash-3.7.0-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:b7ffeaada9f8699be63d639536b0b60dff73b7d3325b7475c5bc8fdbf4eed47f", size = 193839, upload-time = "2026-04-25T11:05:19.364Z" }, + { url = "https://files.pythonhosted.org/packages/48/df/343ce8fd09e47ba8fba43b3bad3283ddf0deca799d5a27b084c3aa2ce502/xxhash-3.7.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cee88dfaa6b1b2bfadd3c031fa5f05584870e62fb05dc500942e9900c44fcfda", size = 212896, upload-time = "2026-04-25T11:05:21.131Z" }, + { url = "https://files.pythonhosted.org/packages/79/cf/703e8422a8b52407864281fb4eb52c605e9f33180413b4458f05de110eba/xxhash-3.7.0-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7426ff0dfa76eb47efc2cc59d4a717bfa9dc9938bff5e49e748bca749f6aa616", size = 235896, upload-time = "2026-04-25T11:05:22.988Z" }, + { url = "https://files.pythonhosted.org/packages/ed/bc/d4b039edbd426575add5f217abeeb2bf870e2c510d35445df81b4f457901/xxhash-3.7.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e8ff6ec73110f610425caef3ea875afbfc34caa542f01df3a80f45aadeb9f906", size = 211665, upload-time = "2026-04-25T11:05:24.799Z" }, + { url = "https://files.pythonhosted.org/packages/42/24/c6f81361796814b92399a88bf079d3b65e617f531819128fcf1bd6ef0571/xxhash-3.7.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0d23fd49fdc5c8af61fb7104f1ad247954499140f6cb6045b3aa5c99dadbbf28", size = 444929, upload-time = "2026-04-25T11:05:26.245Z" }, + { url = "https://files.pythonhosted.org/packages/a4/db/268012153eb7f6bf2c8a0491fdcde11e093f166990821a2ab754fe95537d/xxhash-3.7.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:12c249621af6d50a05d9f10af894b404157b15819878e18f75fcbb0213a77d07", size = 193271, upload-time = "2026-04-25T11:05:28.282Z" }, + { url = "https://files.pythonhosted.org/packages/0a/86/1d0d905d659850dad7f59c807c130249fdb204dc6f71f1fb36268f3f3e61/xxhash-3.7.0-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6741564a923f082f3c2941c8bb920462ed5b25eaebdd1e161f162233c9a10bc5", size = 284580, upload-time = "2026-04-25T11:05:30.116Z" }, + { url = "https://files.pythonhosted.org/packages/1f/52/fc01ca7ff425a9bdb38d9e3a17f2630447ce3b45d45a929a6cd94d469334/xxhash-3.7.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:c4fd8acc6e32596350619896feb372033c0920975992d29837c32853bb1feacd", size = 210193, upload-time = "2026-04-25T11:05:31.969Z" }, + { url = "https://files.pythonhosted.org/packages/ec/96/122e0c6a3537a54b30752031dca557182576bae1a4171c0be8c532c84496/xxhash-3.7.0-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:646a69b56d8145d85f7fd2289d14fba07880c8a5bda406aa256b407481a61f35", size = 241094, upload-time = "2026-04-25T11:05:33.651Z" }, + { url = "https://files.pythonhosted.org/packages/d8/17/92e33338db8c18add33a46b56c2b7d5dcc6cc2ac076c45389f6017b1bf37/xxhash-3.7.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:11dd69b1a34b7b9af29012f390825b0cdb0617c0966560e227ca74daa7478ba9", size = 197721, upload-time = "2026-04-25T11:05:35.387Z" }, + { url = "https://files.pythonhosted.org/packages/c7/04/fd4114a0820913f336bef5c82ef851bde8d06270982ebd7b2a859961bbf2/xxhash-3.7.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:01cf5c5333aed26cc8d5eea33b8d6398e085e365a704b7372fabdf7ab06441a9", size = 210073, upload-time = "2026-04-25T11:05:37.405Z" }, + { url = "https://files.pythonhosted.org/packages/dd/eb/a2472b8b81cd576a9af3a4889ad8ba5784e8c5a04592587056cdaededd6c/xxhash-3.7.0-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:f1e65d52c2d526734abecb98372c256b7eacce8fdc42e0df8570417fb39e2772", size = 274960, upload-time = "2026-04-25T11:05:39.224Z" }, + { url = "https://files.pythonhosted.org/packages/3d/d3/493afc544aae50b5fb2844ceaeb3697283bb59695db1a7cb40448636de05/xxhash-3.7.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:8ff00fcc3eb436617ed8556cf15daf76c2b501248361a065625a588af78a0a02", size = 413113, upload-time = "2026-04-25T11:05:40.669Z" }, + { url = "https://files.pythonhosted.org/packages/50/6a/002800845a22bff32bcf5fd09caceb4d3f5c3da6b754c46edb9743ce908b/xxhash-3.7.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b5cd29840505631c6f7dbb8a5d34b742b5e6bbda38fe0b9f54e825f3ea6b61dc", size = 190677, upload-time = "2026-04-25T11:05:42.403Z" }, + { url = "https://files.pythonhosted.org/packages/f4/0f/86ee514622a381c0dc49167c8d431a22aa93518a4063559c3e36e4b82bc8/xxhash-3.7.0-cp310-cp310-win32.whl", hash = "sha256:5bf2f1940499839b39fef1561b5ecb6ede9ac34ef4457474e1337fc7ef07c2f3", size = 30627, upload-time = "2026-04-25T11:05:44.022Z" }, + { url = "https://files.pythonhosted.org/packages/86/45/2ef2310803efb4a2d07844e8098d797e25702024793aa2e85858623a43b5/xxhash-3.7.0-cp310-cp310-win_amd64.whl", hash = "sha256:d41fcda2fa8ca682ebca134a2f2dc02575ba549267585597e73061565795f475", size = 31463, upload-time = "2026-04-25T11:05:45.218Z" }, + { url = "https://files.pythonhosted.org/packages/9e/75/40dbf8f142baf8993c38cd988c8d8f51fe0c51e6c84c5769a3c0280a651d/xxhash-3.7.0-cp310-cp310-win_arm64.whl", hash = "sha256:a845a59664d5c531525a467470220f8edc37959e0a6f8e734ffb6654da5c4bee", size = 27747, upload-time = "2026-04-25T11:05:46.422Z" }, + { url = "https://files.pythonhosted.org/packages/3b/f4/7bd35089ff1f8e2c96baa2dce05775a122aacd2e3830a73165e27a4d0848/xxhash-3.7.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:fdc7d06929ae28dda98297a18eef7b0fd38991a3b405d8d7b55c9ef24c296958", size = 33423, upload-time = "2026-04-25T11:05:47.628Z" }, + { url = "https://files.pythonhosted.org/packages/a3/26/4e00c88a6a2c8a759cfb77d2a9a405f901e8aa66e60ef1fd0aeb35edda48/xxhash-3.7.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ea6daa712f4e094a30830cf01e9b47d03b24d05cc9dab8609f0d9a9db8454712", size = 30857, upload-time = "2026-04-25T11:05:49.189Z" }, + { url = "https://files.pythonhosted.org/packages/82/2f/eeb942c17a5a761a8f01cb9180a0b76bfb62a2c39e6f46b1f9001899027a/xxhash-3.7.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:9e6c0d843f1daf85ea23aeb053579135552bde575b7b98af20bfc667b6e4548d", size = 194702, upload-time = "2026-04-25T11:05:50.457Z" }, + { url = "https://files.pythonhosted.org/packages/0e/fd/96f132c08b1e5951c68691d3b9ec351ec2edc028f6a01fcd294f46b9d9f0/xxhash-3.7.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:363c139bf15e1ac5f136b981d3c077eb551299b1effede7f12faa010b8590a60", size = 213613, upload-time = "2026-04-25T11:05:52.571Z" }, + { url = "https://files.pythonhosted.org/packages/82/89/d4e92b796c5ed052d29ed324dbfc1dc1188e0c4bf64bebbf0f8fc20698df/xxhash-3.7.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a778b25874cb0f862eaab5986bff4ca49ffb0def7c0a34c237b948b3c6c775b2", size = 236726, upload-time = "2026-04-25T11:05:54.395Z" }, + { url = "https://files.pythonhosted.org/packages/40/f1/81fc4361921dc6e557a9c60cb3712f36d244d06eeeb71cd2f4252ac42678/xxhash-3.7.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3e1860f1e43d40e9d904cf22d93e587ea42e010ebce4160877e46bcab4bc232a", size = 212443, upload-time = "2026-04-25T11:05:56.334Z" }, + { url = "https://files.pythonhosted.org/packages/6a/d0/afeddd4cff50a332f50d4b8a2e8857673153ab0564ef472fcdeb0b5430df/xxhash-3.7.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:9122ad6f867c4a0f5e655f5c3bdf89103852009dbb442a3d23e688b9e699e800", size = 445793, upload-time = "2026-04-25T11:05:58.953Z" }, + { url = "https://files.pythonhosted.org/packages/f7/d0/3c91e4e6a05ca4d7df8e39ec3a75b713609258ec84705ab34be6430826a1/xxhash-3.7.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d7d9110d0c3fb02679972837a033251fd186c529aa62f19c132fc909c74052b8", size = 193937, upload-time = "2026-04-25T11:06:00.546Z" }, + { url = "https://files.pythonhosted.org/packages/4e/3a/a6b0772d9801dd4bea4ca4fd34734d6e9b51a711c8a611a24a79de26a878/xxhash-3.7.0-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:347a93f2b4ce67ce61959665e32a7447c380f8347e55e100daa23766baacf0e5", size = 285188, upload-time = "2026-04-25T11:06:01.96Z" }, + { url = "https://files.pythonhosted.org/packages/6c/f8/cf8e31fd7282230fe7367cd501a2e75b4b67b222bfc7eacccfc20d2652cb/xxhash-3.7.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:acbb48679ddf3852c45280c10ff10d52ca2cd1da2e552fb81db1ff786c75d0e4", size = 210966, upload-time = "2026-04-25T11:06:03.453Z" }, + { url = "https://files.pythonhosted.org/packages/cc/f0/fd36cc4a81bf52ee5633275daae2b93dd958aace67fd4f5d466ec83b5f35/xxhash-3.7.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:fe14c356f8b23ad811dc026077a6d4abccdaa7bce5ca98579605550657b6fcfb", size = 241994, upload-time = "2026-04-25T11:06:05.264Z" }, + { url = "https://files.pythonhosted.org/packages/08/e1/67f5d9c9369be42eaf99ba02c01bf14c5ecd67087b02567960bfcee43b63/xxhash-3.7.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:f420ad3d41e38194353a498bbc9561fd5a9973a27b536ce46d8583479cf44335", size = 198707, upload-time = "2026-04-25T11:06:07.044Z" }, + { url = "https://files.pythonhosted.org/packages/50/17/a4c865ca22d2da6b1bc7d739bf88cab209533cf52ba06ca9da27c3039bee/xxhash-3.7.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:693d02c6dc7d1aa0a45921d54cd8c1ff629e09dfdc2238471507af1f7a1c6f04", size = 210917, upload-time = "2026-04-25T11:06:08.853Z" }, + { url = "https://files.pythonhosted.org/packages/49/8b/453b35810d697abac3c96bde3528bece685869227da274eb80a4a4d4a119/xxhash-3.7.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:14bf7a54e43825ec131ee7fe3c60e142e7c2c1e676ad0f93fc893432d15414af", size = 275772, upload-time = "2026-04-25T11:06:10.645Z" }, + { url = "https://files.pythonhosted.org/packages/b5/ad/4eed7eab07fd3ee6678f416190f0413d097ab5d7c1278906bf1e9549d789/xxhash-3.7.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:ae3a39a4d96bdb6f8d154fd7f490c4ad06f0532fcd2bb656052a9a7762cf5d31", size = 414068, upload-time = "2026-04-25T11:06:12.511Z" }, + { url = "https://files.pythonhosted.org/packages/d3/4e/fd6f8a680ba248fdb83054fa71a8bfa3891225200de1708b888ef2c49829/xxhash-3.7.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1cc07c639e3a77ef1d32987464d3e408565b8a3be57b545d3542b191054d9923", size = 191459, upload-time = "2026-04-25T11:06:14.07Z" }, + { url = "https://files.pythonhosted.org/packages/50/7c/8cb34b3bed4f44ca6827a534d50833f9bc6c006e83b0eb410ac9fa0793bd/xxhash-3.7.0-cp311-cp311-win32.whl", hash = "sha256:3281ba1d1e60ee7a382a7b958513ba03c2c0d5fcbd9a6f7517c0a81251a23422", size = 30628, upload-time = "2026-04-25T11:06:15.802Z" }, + { url = "https://files.pythonhosted.org/packages/0b/47/a49767bd7b40782bedae9ff0721bfe1d7e4dd9dc1585dea684e57ba67c20/xxhash-3.7.0-cp311-cp311-win_amd64.whl", hash = "sha256:a7f25baec4c5d851d40718d6fae52285b31683093d4ff5207e63ab306ccf14a5", size = 31461, upload-time = "2026-04-25T11:06:17.104Z" }, + { url = "https://files.pythonhosted.org/packages/7c/c6/3957bfacfb706bd687be246dfa8dd60f8df97c44186d229f7fd6e26c4b7e/xxhash-3.7.0-cp311-cp311-win_arm64.whl", hash = "sha256:4c2454448ce847c72635827bb75c15c5a3434b03ee1afd28cb6dc6fb2597d830", size = 27746, upload-time = "2026-04-25T11:06:18.716Z" }, + { url = "https://files.pythonhosted.org/packages/f2/8a/51a14cdef4728c6c2337db8a7d8704422cc65676d9199d77215464c880af/xxhash-3.7.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:082c87bfdd2b9f457606c7a4a53457f4c4b48b0cdc48de0277f4349d79bb3d7a", size = 33357, upload-time = "2026-04-25T11:06:20.44Z" }, + { url = "https://files.pythonhosted.org/packages/b9/1b/0c2c933809421ffd9bf42b59315552c143c755db5d9a816b2f1ae273e884/xxhash-3.7.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5e7ce913b61f35b0c1c839a49ac9c8e75dd8d860150688aed353b0ce1bf409d8", size = 30869, upload-time = "2026-04-25T11:06:21.989Z" }, + { url = "https://files.pythonhosted.org/packages/03/a8/89d5fdd6ee12d70ba99451de46dd0e8010167468dcd913ec855653f4dd50/xxhash-3.7.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:3beb1de3b1e9694fcdd853e570ee64c631c7062435d2f8c69c1adf809bc086f0", size = 194100, upload-time = "2026-04-25T11:06:23.586Z" }, + { url = "https://files.pythonhosted.org/packages/87/ee/2f9f2ed993e77206d1e66991290a1ebe22e843351ca3ebec8e49e01ba186/xxhash-3.7.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f3e7b689c3bce16699efcf736066f5c6cc4472c3840fe4b22bd8279daf4abdac", size = 212977, upload-time = "2026-04-25T11:06:25.019Z" }, + { url = "https://files.pythonhosted.org/packages/de/60/5a91644615a9e9d4e42c2e9925f1908e3a24e4e691d9de7340d565bea024/xxhash-3.7.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a6545e6b409e3d5cbafc850fb84c55a1ca26ed15a6b11e3bf07a0e0cd84517c8", size = 236373, upload-time = "2026-04-25T11:06:26.482Z" }, + { url = "https://files.pythonhosted.org/packages/22/c0/f3a9384eaaed9d14d4d062a5d953aa0da489bfe9747877aa994caa87cd0b/xxhash-3.7.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:31ab1461c77a11461d703c88eb949e132a1c6515933cf675d97ec680f4bd18de", size = 212229, upload-time = "2026-04-25T11:06:28.065Z" }, + { url = "https://files.pythonhosted.org/packages/2e/67/02f07a9fd79726804190f2172c4894c3ed9a4ebccaca05653c84beb58025/xxhash-3.7.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7c4d596b7676f811172687ec567cbafb9e4dea2f9be1bbb4f622410cb7f40f40", size = 445462, upload-time = "2026-04-25T11:06:30.048Z" }, + { url = "https://files.pythonhosted.org/packages/40/37/558f5a90c0672fc9b4402dc25d87ac5b7406616e8969430c9ca4e52ee74d/xxhash-3.7.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:13805f0461cba0a857924e70ff91ae6d52d2598f79a884e788db80532614a4a1", size = 193932, upload-time = "2026-04-25T11:06:31.857Z" }, + { url = "https://files.pythonhosted.org/packages/d5/90/aaa09cd58661d32044dbbad7df55bbe22a623032b810e7ed3b8c569a2a6f/xxhash-3.7.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1d398f372496152f1c6933a33566373f8d1b37b98b8c9d608fa6edc0976f23b2", size = 284807, upload-time = "2026-04-25T11:06:33.697Z" }, + { url = "https://files.pythonhosted.org/packages/d6/f3/53df3719ab127a02c174f0c1c74924fcd110866e89c966bc7909cfa8fa84/xxhash-3.7.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d610aa62cdb7d4d497740741772a24a794903bf3e79eaa51d2e800082abe11e5", size = 210445, upload-time = "2026-04-25T11:06:35.488Z" }, + { url = "https://files.pythonhosted.org/packages/72/33/d219975c0e8b6fa2eb9ccd486fe47e21bf1847985b878dd2fbc3126e0d5c/xxhash-3.7.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:073c23900a9fbf3d26616c17c830db28af9803677cd5b33aea3224d824111514", size = 241273, upload-time = "2026-04-25T11:06:37.24Z" }, + { url = "https://files.pythonhosted.org/packages/3e/50/49b1afe610eb3964cedcb90a4d4c3d46a261ee8669cbd4f060652619ae3c/xxhash-3.7.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:418a463c3e6a590c0cdc890f8be19adb44a8c8acd175ca5b2a6de77e61d0b386", size = 197950, upload-time = "2026-04-25T11:06:39.148Z" }, + { url = "https://files.pythonhosted.org/packages/c6/75/5f42a1a4c78717d906a4b6a140c6dbf837ab1f547a54d23c4e2903310936/xxhash-3.7.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:03f8ff4474ee61c845758ce00711d7087a770d77efb36f7e74a6e867301000b8", size = 210709, upload-time = "2026-04-25T11:06:40.958Z" }, + { url = "https://files.pythonhosted.org/packages/8a/85/237e446c25abced71e9c53d269f2cef5bab8a82b3f88a12e00c5368e7368/xxhash-3.7.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:44fba4a5f1d179b7ddc7b3dc40f56f9209046421679b57025d4d8821b376fd8d", size = 275345, upload-time = "2026-04-25T11:06:42.525Z" }, + { url = "https://files.pythonhosted.org/packages/62/34/c2c26c0a6a9cc739bc2a5f0ae03ba8b87deb12b8bce35f7ac495e790dc6d/xxhash-3.7.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:31e3516a0f829d06ded4a2c0f3c7c5561993256bfa1c493975fb9dc7bfa828a1", size = 414056, upload-time = "2026-04-25T11:06:44.343Z" }, + { url = "https://files.pythonhosted.org/packages/a0/aa/5c58e9bc8071b8afd8dcf297ff362f723c4892168faba149f19904132bf4/xxhash-3.7.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b59ee2ac81de57771a09ecad09191e840a1d2fae1ef684208320591055768f83", size = 191485, upload-time = "2026-04-25T11:06:46.262Z" }, + { url = "https://files.pythonhosted.org/packages/d4/69/a929cf9d1e2e65a48b818cdce72cb6b69eab2e6877f21436d0a1942aff43/xxhash-3.7.0-cp312-cp312-win32.whl", hash = "sha256:74bbd92f8c7fcc397ba0a11bfdc106bc72ad7f11e3a60277753f87e7532b4d81", size = 30671, upload-time = "2026-04-25T11:06:48.039Z" }, + { url = "https://files.pythonhosted.org/packages/b9/1b/104b41a8947f4e1d4a66ce1e628eea752f37d1890bfd7453559ca7a3d950/xxhash-3.7.0-cp312-cp312-win_amd64.whl", hash = "sha256:7bd7bc82dd4f185f28f35193c2e968ef46131628e3cac62f639dadf321cba4d1", size = 31514, upload-time = "2026-04-25T11:06:49.279Z" }, + { url = "https://files.pythonhosted.org/packages/98/a0/1fd0ea1f1b886d9e7c73f0397571e22333a7d79e31da6d7127c2a4a71d75/xxhash-3.7.0-cp312-cp312-win_arm64.whl", hash = "sha256:7d7148180ec99ba36585b42c8c5de25e9b40191613bc4be68909b4d25a77a852", size = 27761, upload-time = "2026-04-25T11:06:50.448Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ca/d5174b4c36d10f64d4ca7050563138c5a599efb01a765858ddefc9c1202a/xxhash-3.7.0-cp313-cp313-android_21_arm64_v8a.whl", hash = "sha256:4b6d6b33f141158692bd4eafbb96edbc5aa0dabdb593a962db01a91983d4f8fa", size = 36813, upload-time = "2026-04-25T11:06:51.73Z" }, + { url = "https://files.pythonhosted.org/packages/41/d0/abc6c9d347ba1f1e1e1d98125d0881a0452c7f9a76a9dd03a7b5d2197f23/xxhash-3.7.0-cp313-cp313-android_21_x86_64.whl", hash = "sha256:845d347df254d6c619f616afa921331bada8614b8d373d58725c663ba97c3605", size = 35121, upload-time = "2026-04-25T11:06:53.048Z" }, + { url = "https://files.pythonhosted.org/packages/bf/11/4cc834eb3d79f2f2b3a6ef7324195208bcdfbdcf7534d2b17267aa5f3a8f/xxhash-3.7.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:fddbbb69a6fff4f421e7a0d1fa28f894b20112e9e3fab306af451e2dfd0e459b", size = 29624, upload-time = "2026-04-25T11:06:54.311Z" }, + { url = "https://files.pythonhosted.org/packages/23/83/e97d3e7b635fe73a1dfb1e91f805324dd6d930bb42041cbf18f183bc0b6d/xxhash-3.7.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:54876a4e45101cec2bf8f31a973cda073a23e2e108538dad224ba07f85f22487", size = 30638, upload-time = "2026-04-25T11:06:55.864Z" }, + { url = "https://files.pythonhosted.org/packages/f4/40/d84951d80c35db1f4c40a29a64a8520eea5d56e764c603906b4fe763580f/xxhash-3.7.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:0c72fe9c7e3d6dfd7f1e21e224a877917fa09c465694ba4e06464b9511b65544", size = 33323, upload-time = "2026-04-25T11:06:57.336Z" }, + { url = "https://files.pythonhosted.org/packages/89/cc/c7dc6558d97e9ab023f663d69ab28b340ed9bf4d2d94f2c259cf896bb354/xxhash-3.7.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:a6d73a830b17ef49bc04e00182bd839164c1b3c59c127cd7c54fcb10c7ed8ee8", size = 33362, upload-time = "2026-04-25T11:06:58.656Z" }, + { url = "https://files.pythonhosted.org/packages/2a/6e/46b84017b1301d54091430353d4ad5901654a3e0871649877a416f7f1644/xxhash-3.7.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:91c3b07cf3362086d8f126c6aecd8e5e9396ad8b2f2219ea7e49a8250c318acd", size = 30874, upload-time = "2026-04-25T11:06:59.834Z" }, + { url = "https://files.pythonhosted.org/packages/df/5e/8f9158e3ab906ad3fec51e09b5ea0093e769f12207bfa42a368ca204e7ab/xxhash-3.7.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:50e879ebbac351c81565ca108db766d7832f5b8b6a5b14b8c0151f7190028e3d", size = 194185, upload-time = "2026-04-25T11:07:01.658Z" }, + { url = "https://files.pythonhosted.org/packages/f3/29/a804ded9f5d3d3758292678d23e7528b08fda7b7e750688d08b052322475/xxhash-3.7.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:921c14e93817842dd0dd9f372890a0f0c72e534650b6ab13c5be5cd0db11d47e", size = 213033, upload-time = "2026-04-25T11:07:03.606Z" }, + { url = "https://files.pythonhosted.org/packages/8b/91/1ce5a7d2fdc975267320e2c78fc1cecfe7ab735ccbcf6993ec5dd541cb2c/xxhash-3.7.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e64a7c9d7dfca3e0fafcbc5e455519090706a3e36e95d655cec3e04e79f95aaa", size = 236140, upload-time = "2026-04-25T11:07:05.396Z" }, + { url = "https://files.pythonhosted.org/packages/34/04/fd595a4fd8617b05fa27bd9b684ecb4985bfed27917848eea85d54036d06/xxhash-3.7.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2220af08163baf5fa36c2b8af079dc2cbe6e66ae061385267f9472362dfd53c6", size = 212291, upload-time = "2026-04-25T11:07:06.966Z" }, + { url = "https://files.pythonhosted.org/packages/03/fb/f1a379cbc372ae5b9f4ab36154c48a849ca6ebe3ac477067a57865bf3bc6/xxhash-3.7.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f14bb8b22a4a91325813e3d553b8963c10cf8c756cff65ee50c194431296c655", size = 445532, upload-time = "2026-04-25T11:07:08.525Z" }, + { url = "https://files.pythonhosted.org/packages/65/59/172424b79f8cfd4b6d8a122b2193e6b8ad4b11f7159bb3b6f9b3191329bb/xxhash-3.7.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:496736f86a9bedaf64b0dc70e3539d0766df01c71ea22032698e88f3f04a1ce9", size = 193990, upload-time = "2026-04-25T11:07:10.315Z" }, + { url = "https://files.pythonhosted.org/packages/b9/19/aeac22161d953f139f07ba5586cb4a17c5b7b6dff985122803bb12933500/xxhash-3.7.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0ff71596bd79816975b3de7130ab1ff4541410285a3c084584eeb1c8239996fd", size = 284876, upload-time = "2026-04-25T11:07:12.15Z" }, + { url = "https://files.pythonhosted.org/packages/77/d5/4fd0b59e7a02242953da05ff679fbb961b0a4368eac97a217e11dae110c1/xxhash-3.7.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:1ad86695c19b1d46fe106925db3c7a37f16be37669dcf58dcc70a9dd6e324676", size = 210495, upload-time = "2026-04-25T11:07:13.952Z" }, + { url = "https://files.pythonhosted.org/packages/aa/fb/976a3165c728c7faf74aa1b5ab3cf6a85e6d731612894741840524c7d28c/xxhash-3.7.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:970f9f8c50961d639cbd0d988c96f80ddf66006de93641719282c4fe7a87c5e6", size = 241331, upload-time = "2026-04-25T11:07:15.557Z" }, + { url = "https://files.pythonhosted.org/packages/4a/2c/6763d5901d53ac9e6ba296e5717ae599025c9d268396e8faa8b4b0a8e0ac/xxhash-3.7.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:5886ad85e9e347911783760a1d16cb6b393e8f9e3b52c982568226cb56927bdc", size = 198037, upload-time = "2026-04-25T11:07:17.563Z" }, + { url = "https://files.pythonhosted.org/packages/61/2b/876e722d533833f5f9a83473e6ba993e48745701096944e77bbecf29b2c3/xxhash-3.7.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:6e934bbae1e0ec74e27d5f0d7f37ef547ce5ff9f0a7e63fb39e559fc99526734", size = 210744, upload-time = "2026-04-25T11:07:19.055Z" }, + { url = "https://files.pythonhosted.org/packages/21/e6/d7e7baef7ce24166b4668d3c48557bb35a23b92ecadcac7e7718d099ab69/xxhash-3.7.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:3b6b3d28228af044ebcded71c4a3dd86e1dbd7e2f4645bf40f7b5da65bb5fb5a", size = 275406, upload-time = "2026-04-25T11:07:20.908Z" }, + { url = "https://files.pythonhosted.org/packages/92/fe/198b3763b2e01ca908f2154969a2352ec99bda892b574a11a9a151c5ede4/xxhash-3.7.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:6be4d70d9ab76c9f324ead9c01af6ff52c324745ea0c3731682a0cf99720f1fe", size = 414125, upload-time = "2026-04-25T11:07:23.037Z" }, + { url = "https://files.pythonhosted.org/packages/3a/6d/019a11affd5a5499137cacca53808659964785439855b5aa40dfd3412916/xxhash-3.7.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:151d7520838d4465461a0b7f4ae488b3b00de16183dd3214c1a6b14bf89d7fb6", size = 191555, upload-time = "2026-04-25T11:07:24.991Z" }, + { url = "https://files.pythonhosted.org/packages/76/21/b96d58568df2d01533244c3e0e5cbdd0c8b2b25c4bec4d72f19259a292d7/xxhash-3.7.0-cp313-cp313-win32.whl", hash = "sha256:d798c1e291bffb8e37b5bbe0dda77fc767cd19e89cadaf66e6ed5d0ff88c9fe6", size = 30668, upload-time = "2026-04-25T11:07:26.665Z" }, + { url = "https://files.pythonhosted.org/packages/99/57/d849a8d3afa1f8f4bc6a831cd89f49f9706fbbad94d2975d6140a171988c/xxhash-3.7.0-cp313-cp313-win_amd64.whl", hash = "sha256:875811ba23c543b1a1c3143c926e43996eb27ebb8f52d3500744aa608c275aed", size = 31524, upload-time = "2026-04-25T11:07:27.92Z" }, + { url = "https://files.pythonhosted.org/packages/81/52/bacc753e92dee78b058af8dcef0a50815f5f860986c664a92d75f965b6a5/xxhash-3.7.0-cp313-cp313-win_arm64.whl", hash = "sha256:54a675cb300dda83d71daae2a599389d22db8021a0f8db0dd659e14626eb3ecc", size = 27768, upload-time = "2026-04-25T11:07:29.113Z" }, + { url = "https://files.pythonhosted.org/packages/1c/47/ddbd683b7fc7e592c1a8d9d65f73ce9ab513f082b3967eee2baf549b8fc6/xxhash-3.7.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:a3b19a42111c4057c1547a4a1396a53961dca576a0f6b82bfa88a2d1561764b2", size = 33576, upload-time = "2026-04-25T11:07:30.469Z" }, + { url = "https://files.pythonhosted.org/packages/07/f2/36d3310161db7f72efb4562aadde0ed429f1d0531782dd6345b12d2da527/xxhash-3.7.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:8f4608a06e4d61b7a3425665a46d00e0579122e1a2fae97a0c52953a3aad9aa3", size = 31123, upload-time = "2026-04-25T11:07:31.989Z" }, + { url = "https://files.pythonhosted.org/packages/0d/3f/75937a5c69556ed213021e43cbedd84c8e0279d0d74e7d41a255d84ba4b1/xxhash-3.7.0-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:ad37c7792479e49cf96c1ab25517d7003fe0d93687a772ba19a097d235bbe41e", size = 196491, upload-time = "2026-04-25T11:07:33.358Z" }, + { url = "https://files.pythonhosted.org/packages/22/29/f10d7ff8c7a733d4403a43b9de18c8fabc005f98cec054644f04418659ee/xxhash-3.7.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dc026e3b89d98e30a8288c95cb696e77d150b3f0fb7a51f73dcd49ee6b5577fa", size = 215793, upload-time = "2026-04-25T11:07:34.919Z" }, + { url = "https://files.pythonhosted.org/packages/8b/fd/778f60aa295f58907938f030a8b514611f391405614a525cccd2ffc00eb5/xxhash-3.7.0-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c9b31ab1f28b078a6a1ac1a54eb35e7d5390deddd56870d0be3a0a733d1c321c", size = 237993, upload-time = "2026-04-25T11:07:36.638Z" }, + { url = "https://files.pythonhosted.org/packages/70/f5/736db5de387b4a540e37a05b84b40dc58a1ce974bfd2b4e5754ce29b68c3/xxhash-3.7.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3bb5fd680c038fd5229e44e9c493782f90df9bef632fd0499d442374688ff70b", size = 214887, upload-time = "2026-04-25T11:07:38.564Z" }, + { url = "https://files.pythonhosted.org/packages/4d/aa/09a095f22fdb9a27fbb716841fbff52119721f9ca4261952d07a912f7839/xxhash-3.7.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:030c0fd688fce3569fbb49a2feefd4110cbb0b650186fb4610759ecfac677548", size = 448407, upload-time = "2026-04-25T11:07:40.552Z" }, + { url = "https://files.pythonhosted.org/packages/74/8a/b745efeeca9e34a91c26fdc97ad8514c43d5a81ac78565cba80a1353870a/xxhash-3.7.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5b1bde10324f4c31812ae0d0502e92d916ae8917cad7209353f122b8b8f610c3", size = 196119, upload-time = "2026-04-25T11:07:42.101Z" }, + { url = "https://files.pythonhosted.org/packages/8a/5c/0cfceb024af90c191f665c7933b1f318ee234f4797858383bebd1881d52f/xxhash-3.7.0-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:503722d52a615f2604f5e7611de7d43878df010dc0053094ef91cb9a9ac3d987", size = 286751, upload-time = "2026-04-25T11:07:43.568Z" }, + { url = "https://files.pythonhosted.org/packages/0b/0a/0793e405dc3cf8f4ebe2c1acec1e4e4608cd9e7e50ea691dabbc2a95ccbb/xxhash-3.7.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c72500a3b6d6c30ebfc135035bcace9eb5884f2dc220804efcaaba43e9f611dd", size = 212961, upload-time = "2026-04-25T11:07:45.388Z" }, + { url = "https://files.pythonhosted.org/packages/0c/7e/721118ffc63bfff94aa565bcf2555a820f9f4bdb0f001e0d609bdfad70de/xxhash-3.7.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:43475925a766d01ca8cd9a857fd87f3d50406983c8506a4c07c4df12adcc867f", size = 243703, upload-time = "2026-04-25T11:07:47.053Z" }, + { url = "https://files.pythonhosted.org/packages/6e/18/16f6267160488b8276fd3d449d425712512add292ba545c1b6946bfdb7dd/xxhash-3.7.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:8d09dfd2ab135b985daf868b594315ebe11ad86cd9fea46e6c69f19b28f7d25a", size = 200894, upload-time = "2026-04-25T11:07:48.657Z" }, + { url = "https://files.pythonhosted.org/packages/2d/94/80ba841287fd97e3e9cac1d228788c8ef623746f570404961eec748ecb5c/xxhash-3.7.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:c50269d0055ac1faecfd559886d2cbe4b730de236585aba0e873f9d9dadbe585", size = 213357, upload-time = "2026-04-25T11:07:50.257Z" }, + { url = "https://files.pythonhosted.org/packages/a1/7e/106d4067130c59f1e18a55ffadcd876d8c68534883a1e02685b29d3d8153/xxhash-3.7.0-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:1910df4756a5ab58cfad8744fc2d0f23926e3efcc346ee76e87b974abab922f4", size = 277600, upload-time = "2026-04-25T11:07:51.745Z" }, + { url = "https://files.pythonhosted.org/packages/c5/86/a081dd30da71d720b2612a792bfd55e45fa9a07ac76a0507f60487473c25/xxhash-3.7.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:d006faf3b491957efcb433489be3c149efe4787b7063d5cddb8ddaefdc60e0c1", size = 416980, upload-time = "2026-04-25T11:07:53.504Z" }, + { url = "https://files.pythonhosted.org/packages/35/29/1a95221a029a3c1293773869e1ab47b07cbbdd82444a42809e8c60156626/xxhash-3.7.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:abb65b4e947e958f7b3b0d71db3ce447d1bc5f37f5eab871ce7223bda8768a04", size = 193840, upload-time = "2026-04-25T11:07:55.103Z" }, + { url = "https://files.pythonhosted.org/packages/c5/e0/db909dd0823285de2286f67e10ee4d81e96ad35d7d8e964ecb07fccd8af9/xxhash-3.7.0-cp313-cp313t-win32.whl", hash = "sha256:178959906cb1716a1ce08e0d69c82886c70a15a6f2790fc084fdd146ca30cd49", size = 30966, upload-time = "2026-04-25T11:07:56.524Z" }, + { url = "https://files.pythonhosted.org/packages/7b/ff/d705b15b22f21ee106adce239cb65d35067a158c630b240270f09b17c2e6/xxhash-3.7.0-cp313-cp313t-win_amd64.whl", hash = "sha256:2524a1e20d4c231d13b50f7cf39e44265b055669a64a7a4b9a2a44faa03f19b6", size = 31784, upload-time = "2026-04-25T11:07:57.758Z" }, + { url = "https://files.pythonhosted.org/packages/a2/1f/b2cf83c3638fd0588e0b17f22e5a9400bdfb1a3e3755324ac0aee2250b88/xxhash-3.7.0-cp313-cp313t-win_arm64.whl", hash = "sha256:37d994d0ffe81ef087bb330d392caa809bb5853c77e22ea3f71db024a0543dba", size = 27932, upload-time = "2026-04-25T11:07:59.109Z" }, + { url = "https://files.pythonhosted.org/packages/0e/cc/431db584f6fbb9312e40a173af027644e5580d39df1f73603cbb9dca4d6b/xxhash-3.7.0-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:8c5fcfd806c335bfa2adf1cd0b3110a44fc7b6995c3a648c27489bae85801465", size = 36644, upload-time = "2026-04-25T11:08:00.658Z" }, + { url = "https://files.pythonhosted.org/packages/bc/01/255ec513e0a705d1f9a61413e78dfce4e3235203f0ed525a24c2b4b56345/xxhash-3.7.0-cp314-cp314-android_24_x86_64.whl", hash = "sha256:506a0b488f190f0a06769575e30caf71615c898ed93ab18b0dbcb6dec5c3713c", size = 35003, upload-time = "2026-04-25T11:08:02.338Z" }, + { url = "https://files.pythonhosted.org/packages/68/70/c55fc33c93445b44d8fc5a17b41ed99e3cebe92bcf8396809e63fc9a1165/xxhash-3.7.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:ec68dbba21532c0173a9872298e65c89749f7c9d21538c3a78b5bb6105871568", size = 29655, upload-time = "2026-04-25T11:08:03.701Z" }, + { url = "https://files.pythonhosted.org/packages/c2/72/ff8de73df000d74467d12a59ce6d6e2b2a368b978d41ab7b1fba5ed442be/xxhash-3.7.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:fa77e7ec1450d415d20129961814787c9abd9a07f98872f070b1fe96c5084611", size = 30664, upload-time = "2026-04-25T11:08:05.011Z" }, + { url = "https://files.pythonhosted.org/packages/b6/91/08416d9bd9bc3bf39d831abe8a5631ac2db5141dfd6fe81c3fe59a1f9264/xxhash-3.7.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:fe32736295ea38e43e7d9424053c8c47c9f64fecfc7c895fb3da9b30b131c9ee", size = 33317, upload-time = "2026-04-25T11:08:06.413Z" }, + { url = "https://files.pythonhosted.org/packages/0e/3b/86b1caa4dee10a99f4bf9521e623359341c5e50d05158fa10c275b2bd079/xxhash-3.7.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ab9dd2c83c4bbd63e422181a76f13502d049d3ddcac9a1bdc29196263d692bb8", size = 33457, upload-time = "2026-04-25T11:08:08.099Z" }, + { url = "https://files.pythonhosted.org/packages/ed/38/98ea14ad1517e1461292a65906951458d520689782bfbae111050145bdba/xxhash-3.7.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:3afec3a336a2286601a437cb07562ab0227685e6fbb9ec17e8c18457ff348ecf", size = 30894, upload-time = "2026-04-25T11:08:09.429Z" }, + { url = "https://files.pythonhosted.org/packages/61/a2/074654d0b893606541199993c7db70067d9fc63b748e0d60020a52a1bd36/xxhash-3.7.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:565df64437a9390f84465dcca33e7377114c7ede8d05cd2cf20081f831ea788e", size = 194409, upload-time = "2026-04-25T11:08:10.91Z" }, + { url = "https://files.pythonhosted.org/packages/e2/26/6d2a1afc468189f77ca28c32e1c83e1b9da1178231e05641dbc1b350e332/xxhash-3.7.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:12eca820a5d558633d423bf8bb78ce72a55394823f64089247f788a7e0ae691e", size = 213135, upload-time = "2026-04-25T11:08:12.575Z" }, + { url = "https://files.pythonhosted.org/packages/8e/0e/d8aecf95e09c42547453137be74d2f7b8b14e08f5177fa2fab6144a19061/xxhash-3.7.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:f262b8f7599516567e070abf607b9af649052b2c4bd6f9be02b0cb41b7024805", size = 236379, upload-time = "2026-04-25T11:08:14.206Z" }, + { url = "https://files.pythonhosted.org/packages/f2/74/8140e8210536b3dd0cc816c4faaeb5ba6e63e8125ab25af4bcddd6a037b3/xxhash-3.7.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f1598916cb197681e03e601901e4ab96a9a963de398c59d0964f8a6f44a2b361", size = 212447, upload-time = "2026-04-25T11:08:15.79Z" }, + { url = "https://files.pythonhosted.org/packages/a0/d2/462001d2903b4bee5a5689598a0a55e5e7cd1ac7f4247a5545cff10d3ebb/xxhash-3.7.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:322b2f0622230f526aeb1738149948a7ae357a9e2ceb1383c6fd1fdaecdafa16", size = 445660, upload-time = "2026-04-25T11:08:17.441Z" }, + { url = "https://files.pythonhosted.org/packages/23/09/2bd1ed7f8689b20e51727952cac8329d50c694dc32b2eba06ba5bc742b37/xxhash-3.7.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:24cc22070880cc57b830a65cde4e65fa884c6d9b28ae4803b5ee05911e7bafba", size = 194076, upload-time = "2026-04-25T11:08:19.134Z" }, + { url = "https://files.pythonhosted.org/packages/c9/6e/692302cd0a5f4ac4e6289f37fa888dc2e1e07750b68fe3e4bfe939b8cea3/xxhash-3.7.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cb5a888a968b2434abf9ecda357b5d43f10d7b5a6da6fdbbe036208473aff0e2", size = 284990, upload-time = "2026-04-25T11:08:20.618Z" }, + { url = "https://files.pythonhosted.org/packages/05/d9/e54b159b3d9df7999d2a7c676ce7b323d1b5588a64f8f51ed8172567bd87/xxhash-3.7.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a999771ff97bec27d18341be4f3a36b163bb1ac41ec17bef6d2dabd84acd33c7", size = 210590, upload-time = "2026-04-25T11:08:22.24Z" }, + { url = "https://files.pythonhosted.org/packages/50/93/0e0df1a3a196ced4ca71de76d65ead25d8e87bbfb87b64306ea47a40c00d/xxhash-3.7.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:ed4a6efe2dee1655adb73e7ad40c6aa955a6892422b1e3b95de6a34de56e3cbb", size = 241442, upload-time = "2026-04-25T11:08:23.844Z" }, + { url = "https://files.pythonhosted.org/packages/9a/a9/d917a7a814e90b218f8a0d37967105eea91bf752c3303683c99a1f7bfc1f/xxhash-3.7.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:9fd17f14ac0faa12126c2f9ca774a8cf342957265ec3c8669c144e5e6cdb478c", size = 198356, upload-time = "2026-04-25T11:08:25.99Z" }, + { url = "https://files.pythonhosted.org/packages/89/5e/f2ba1877c39469abbefc72991d6ebdcbd4c0880db01ae8cb1f553b0c537d/xxhash-3.7.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:05fd1254268c59b5cb2a029dfc204275e9fc52de2913f1e53aa8d01442c96b4d", size = 210898, upload-time = "2026-04-25T11:08:27.608Z" }, + { url = "https://files.pythonhosted.org/packages/90/c6/be56b58e73de531f39a10de1355bb77ceb663900dc4bf2d6d3002a9c3f9e/xxhash-3.7.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:a2eae53197c6276d5b317f75a1be226bbf440c20b58bf525f36b5d0e1f657ca6", size = 275519, upload-time = "2026-04-25T11:08:29.301Z" }, + { url = "https://files.pythonhosted.org/packages/92/e2/17ddc85d5765b9c709f192009ed8f5a1fc876f4eb35bba7c307b5b1169f9/xxhash-3.7.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:bfe6f92e3522dcbe8c4281efd74fa7542a336cb00b0e3272c4ec0edabeaeaf67", size = 414191, upload-time = "2026-04-25T11:08:31.16Z" }, + { url = "https://files.pythonhosted.org/packages/9c/42/85f5b79f4bf1ec7ba052491164adfd4f4e9519f5dc7246de4fbd64a1bd56/xxhash-3.7.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7ab9a49c410d8c6c786ab99e79c529938d894c01433130353dd0fe999111077a", size = 191604, upload-time = "2026-04-25T11:08:32.862Z" }, + { url = "https://files.pythonhosted.org/packages/b8/d0/6127b623aa4cca18d8b7743592b048d689fd6c6e37ff26a22cddf6cd9d7f/xxhash-3.7.0-cp314-cp314-win32.whl", hash = "sha256:040ea63668f9185b92bc74942df09c7e65703deed71431333678fc6e739a9955", size = 31271, upload-time = "2026-04-25T11:08:34.651Z" }, + { url = "https://files.pythonhosted.org/packages/64/4f/44fc4788568004c43921701cbc127f48218a1eede2c9aea231115323564d/xxhash-3.7.0-cp314-cp314-win_amd64.whl", hash = "sha256:2a61e2a3fb23c892496d587b470dee7fa1b58b248a187719c65ea8e94ec13257", size = 32284, upload-time = "2026-04-25T11:08:35.987Z" }, + { url = "https://files.pythonhosted.org/packages/6d/77/18bb895eb60a49453d16e17d67990e5caff557c78eafc90ad4e2eabf4570/xxhash-3.7.0-cp314-cp314-win_arm64.whl", hash = "sha256:c7741c7524961d8c0cb4d4c21b28957ff731a3fd5b5cd8b856dc80a40e9e5acc", size = 28701, upload-time = "2026-04-25T11:08:37.767Z" }, + { url = "https://files.pythonhosted.org/packages/45/a0/46f72244570c550fbbb7db1ef554183dd5ebe9136385f30e032b781ae8f6/xxhash-3.7.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:fc84bf7aa7592f31ec63a3e7b11d624f468a3f19f5238cec7282a42e838ab1d7", size = 33646, upload-time = "2026-04-25T11:08:39.109Z" }, + { url = "https://files.pythonhosted.org/packages/4a/3a/453846a7eceea11e75def361eed01ec6a0205b9822c19927ed364ccae7cc/xxhash-3.7.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:9f1563fdc8abfc389748e6932c7e4e99c89a53e4ec37d4563c24fc06f5e5644b", size = 31125, upload-time = "2026-04-25T11:08:40.467Z" }, + { url = "https://files.pythonhosted.org/packages/bd/3e/49434aba738885d512f9e486db1bdd19db28dfa40372b56da26ef7a4e738/xxhash-3.7.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:2d415f18becf6f153046ab6adc97da77e3643a0ee205dae61c4012604113a020", size = 196633, upload-time = "2026-04-25T11:08:41.943Z" }, + { url = "https://files.pythonhosted.org/packages/a4/e9/006cb6127baeb9f8abe6d15e62faa01349f09b34e2bfd65175b2422d026b/xxhash-3.7.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bb16aa13ed175bc9be5c2491ba031b85a9b51c4ed90e0b3d4ebe63cf3fb54f8e", size = 215899, upload-time = "2026-04-25T11:08:43.645Z" }, + { url = "https://files.pythonhosted.org/packages/27/e4/cc57d72e66df0ae29b914335f1c6dcf61e8f3746ddf0ae3c471aa4f15e00/xxhash-3.7.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:f9fd595f1e5941b3d7863e4774e4b30caa6731fc34b9277da032295aa5656ee5", size = 238116, upload-time = "2026-04-25T11:08:45.698Z" }, + { url = "https://files.pythonhosted.org/packages/af/78/3531d4a3fd8a0038cc6be1f265a69c1b3587f557a10b677dd736de2202c1/xxhash-3.7.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1295325c5a98d552333fa53dc2b026b0ef0ec9c8e73ca3a952990b4c7d65d459", size = 215012, upload-time = "2026-04-25T11:08:47.355Z" }, + { url = "https://files.pythonhosted.org/packages/b4/f6/259fb1eaaec921f59b17203b0daee69829761226d3b980d5191d7723dd83/xxhash-3.7.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3573a651d146912da9daa9e29e5fbc45994420daaa9ef1e2fa5823e1dc485513", size = 448534, upload-time = "2026-04-25T11:08:49.149Z" }, + { url = "https://files.pythonhosted.org/packages/7b/16/a66d0eaf6a7e68532c07714361ddc904c663ec940f3b028c1ae4a21a7b9d/xxhash-3.7.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5ec1e080a3d02d94ea9335bfab0e3374b877e25411422c18f51a943fa4b46381", size = 196217, upload-time = "2026-04-25T11:08:50.805Z" }, + { url = "https://files.pythonhosted.org/packages/8d/ef/d2efc7fc51756dc52509109d1a25cefc859d74bc4b19a167b12dbd8c2786/xxhash-3.7.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:84415265192072d8638a3afc3c1bc5995e310570cd9acb54dc46d3939e364fe0", size = 286906, upload-time = "2026-04-25T11:08:52.418Z" }, + { url = "https://files.pythonhosted.org/packages/fc/67/25decd1d4a4018582ec4db2a868a2b7e40640f4adb20dfeb19ac923aa825/xxhash-3.7.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8d4dea659b57443989ef32f4295104fd6912c73d0bf26d1d148bb88a9f159b02", size = 213057, upload-time = "2026-04-25T11:08:54.105Z" }, + { url = "https://files.pythonhosted.org/packages/0d/5d/17651eb29d06786cdc40c60ae3d27d645aa5d61d2eca6237a7ba0b94789b/xxhash-3.7.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:05ece0fe4d9c9c2728912d1981ae1566cfc83a011571b24732cbf76e1fb70dca", size = 243886, upload-time = "2026-04-25T11:08:56.109Z" }, + { url = "https://files.pythonhosted.org/packages/8a/d4/174d9cf7502243d586e6a9ae842b1ae23026620995114f85f1380e588bc9/xxhash-3.7.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:fd880353cf1ffaf321bc18dd663e111976dbd0d3bbd8a66d58d2b470dfa7f396", size = 201015, upload-time = "2026-04-25T11:08:57.777Z" }, + { url = "https://files.pythonhosted.org/packages/91/8c/2254e2d06c3ac5e6fe22eaf3da791b87ea823ae9f2c17b4af66755c5752d/xxhash-3.7.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:4e15cc9e2817f6481160f930c62842b3ff419e20e13072bcbab12230943092bc", size = 213457, upload-time = "2026-04-25T11:08:59.826Z" }, + { url = "https://files.pythonhosted.org/packages/79/a2/e3daa762545921173e3360f3b4ff7fc63c2d27359f7230ec1a7a74e117f6/xxhash-3.7.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:90b9d1a8bd37d768ffc92a1f651ec69afc532a96fa1ac2ea7abbed5d630b3237", size = 277738, upload-time = "2026-04-25T11:09:01.423Z" }, + { url = "https://files.pythonhosted.org/packages/e1/4c/e186da2c46b87f5204640e008d42730bf3c1ee9f0efb71ae1ebcdfeac681/xxhash-3.7.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:157c49475b34ecea8809e51123d9769a534e139d1247942f7a4bc67710bb2533", size = 417127, upload-time = "2026-04-25T11:09:03.592Z" }, + { url = "https://files.pythonhosted.org/packages/17/28/3798e15007a3712d0da3d3fe70f8e11916569858b5cc371053bc26270832/xxhash-3.7.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5a6ddec83325685e729ca119d1f5c518ec39294212ecd770e60693cdc5f7eb79", size = 193962, upload-time = "2026-04-25T11:09:06.228Z" }, + { url = "https://files.pythonhosted.org/packages/ad/95/a26baa93b5241fd7630998816a4ec47a5a0bad193b3f8fc8f3593e1a4a67/xxhash-3.7.0-cp314-cp314t-win32.whl", hash = "sha256:a04a6cab47e2166435aaf5b9e5ee41d1532cc8300efdef87f2a4d0acb7db19ed", size = 31643, upload-time = "2026-04-25T11:09:08.153Z" }, + { url = "https://files.pythonhosted.org/packages/44/36/5454f13c447e395f9b06a3e91274c59f503d31fad84e1836efe3bdb71f6a/xxhash-3.7.0-cp314-cp314t-win_amd64.whl", hash = "sha256:8653dd7c2eda020545bb2c71c7f7039b53fe7434d0fc1a0a9deb79ab3f1a4fc1", size = 32522, upload-time = "2026-04-25T11:09:09.534Z" }, + { url = "https://files.pythonhosted.org/packages/74/35/698e7e3ff38e22992ea24870a511d8762474fb6783627a2910ff22a185c2/xxhash-3.7.0-cp314-cp314t-win_arm64.whl", hash = "sha256:468f0fc114faaa4b36699f8e328bbc3bb11dc418ba94ac52c26dd736d4b6c637", size = 28807, upload-time = "2026-04-25T11:09:11.234Z" }, + { url = "https://files.pythonhosted.org/packages/54/c1/e57ac7317b1f58a92bab692da6d497e2a7ce44735b224e296347a7ecc754/xxhash-3.7.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:ad3aa71e12ee634f22b39a0ff439357583706e50765f17f05550f92dbf128a23", size = 31232, upload-time = "2026-04-25T11:10:21.51Z" }, + { url = "https://files.pythonhosted.org/packages/4f/4e/075559bd712bc62e84915ea46bbee859f935d285659082c129bdbff679dd/xxhash-3.7.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:5de686e73690cdaf72b96d4fa083c230ec9020bcc2627ce6316138e2cf2fe2d1", size = 28553, upload-time = "2026-04-25T11:10:23.1Z" }, + { url = "https://files.pythonhosted.org/packages/92/ca/a9c78cb384d4b033b0c58196bd5c8509873cabe76389e195127b0302a741/xxhash-3.7.0-pp311-pypy311_pp73-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:7fbec49f5341bbdea0c471f7d1e2fb41ae8925af9b6f28025c28defd8eb94274", size = 41109, upload-time = "2026-04-25T11:10:25.022Z" }, + { url = "https://files.pythonhosted.org/packages/bd/b1/dfe2629f7c77eb2fa234c72ff537cdd64939763df704e256446ed364a16d/xxhash-3.7.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:48b542c347c2089f43dc5a6db31d2a6f3cdb04ee33505ec6e9f653834dbb0bde", size = 36307, upload-time = "2026-04-25T11:10:26.949Z" }, + { url = "https://files.pythonhosted.org/packages/e7/f7/5a484afce0f48dd8083208b42e4911f290a82c7b52458ef2927e4d421a45/xxhash-3.7.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a169a036bed0995e090d1493b283cc2cc8a6f5046821086b843abefff80643bc", size = 32534, upload-time = "2026-04-25T11:10:29.01Z" }, + { url = "https://files.pythonhosted.org/packages/0f/5f/4acfcd490db9780cf36c58534d828003c564cde5350220a1c783c4d10776/xxhash-3.7.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:ec101643395d7f21405b640f728f6f627e6986557027d740f2f9b220955edafe", size = 31552, upload-time = "2026-04-25T11:10:30.727Z" }, +] + +[[package]] +name = "yarl" +version = "1.23.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "idna" }, + { name = "multidict" }, + { name = "propcache" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/23/6e/beb1beec874a72f23815c1434518bfc4ed2175065173fb138c3705f658d4/yarl-1.23.0.tar.gz", hash = "sha256:53b1ea6ca88ebd4420379c330aea57e258408dd0df9af0992e5de2078dc9f5d5", size = 194676, upload-time = "2026-03-01T22:07:53.373Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8b/0d/9cc638702f6fc3c7a3685bcc8cf2a9ed7d6206e932a49f5242658047ef51/yarl-1.23.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:cff6d44cb13d39db2663a22b22305d10855efa0fa8015ddeacc40bc59b9d8107", size = 123764, upload-time = "2026-03-01T22:04:09.7Z" }, + { url = "https://files.pythonhosted.org/packages/7a/35/5a553687c5793df5429cd1db45909d4f3af7eee90014888c208d086a44f0/yarl-1.23.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e4c53f8347cd4200f0d70a48ad059cabaf24f5adc6ba08622a23423bc7efa10d", size = 86282, upload-time = "2026-03-01T22:04:11.892Z" }, + { url = "https://files.pythonhosted.org/packages/68/2e/c5a2234238f8ce37a8312b52801ee74117f576b1539eec8404a480434acc/yarl-1.23.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2a6940a074fb3c48356ed0158a3ca5699c955ee4185b4d7d619be3c327143e05", size = 86053, upload-time = "2026-03-01T22:04:13.292Z" }, + { url = "https://files.pythonhosted.org/packages/74/3f/bbd8ff36fb038622797ffbaf7db314918bb4d76f1cc8a4f9ca7a55fe5195/yarl-1.23.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ed5f69ce7be7902e5c70ea19eb72d20abf7d725ab5d49777d696e32d4fc1811d", size = 99395, upload-time = "2026-03-01T22:04:15.133Z" }, + { url = "https://files.pythonhosted.org/packages/77/04/9516bc4e269d2a3ec9c6779fcdeac51ce5b3a9b0156f06ac7152e5bba864/yarl-1.23.0-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:389871e65468400d6283c0308e791a640b5ab5c83bcee02a2f51295f95e09748", size = 92143, upload-time = "2026-03-01T22:04:16.829Z" }, + { url = "https://files.pythonhosted.org/packages/c7/63/88802d1f6b1cb1fc67d67a58cd0cf8a1790de4ce7946e434240f1d60ab4a/yarl-1.23.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:dda608c88cf709b1d406bdfcd84d8d63cff7c9e577a403c6108ce8ce9dcc8764", size = 107643, upload-time = "2026-03-01T22:04:18.519Z" }, + { url = "https://files.pythonhosted.org/packages/8e/db/4f9b838f4d8bdd6f0f385aed8bbf21c71ed11a0b9983305c302cbd557815/yarl-1.23.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8c4fe09e0780c6c3bf2b7d4af02ee2394439d11a523bbcf095cf4747c2932007", size = 108700, upload-time = "2026-03-01T22:04:20.373Z" }, + { url = "https://files.pythonhosted.org/packages/50/12/95a1d33f04a79c402664070d43b8b9f72dc18914e135b345b611b0b1f8cc/yarl-1.23.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:31c9921eb8bd12633b41ad27686bbb0b1a2a9b8452bfdf221e34f311e9942ed4", size = 102769, upload-time = "2026-03-01T22:04:23.055Z" }, + { url = "https://files.pythonhosted.org/packages/86/65/91a0285f51321369fd1a8308aa19207520c5f0587772cfc2e03fc2467e90/yarl-1.23.0-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5f10fd85e4b75967468af655228fbfd212bdf66db1c0d135065ce288982eda26", size = 101114, upload-time = "2026-03-01T22:04:25.031Z" }, + { url = "https://files.pythonhosted.org/packages/58/80/c7c8244fc3e5bc483dc71a09560f43b619fab29301a0f0a8f936e42865c7/yarl-1.23.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:dbf507e9ef5688bada447a24d68b4b58dd389ba93b7afc065a2ba892bea54769", size = 98883, upload-time = "2026-03-01T22:04:27.281Z" }, + { url = "https://files.pythonhosted.org/packages/86/e7/71ca9cc9ca79c0b7d491216177d1aed559d632947b8ffb0ee60f7d8b23e3/yarl-1.23.0-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:85e9beda1f591bc73e77ea1c51965c68e98dafd0fec72cdd745f77d727466716", size = 94172, upload-time = "2026-03-01T22:04:28.554Z" }, + { url = "https://files.pythonhosted.org/packages/6a/3f/6c6c8a0fe29c26fb2db2e8d32195bb84ec1bfb8f1d32e7f73b787fcf349b/yarl-1.23.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:0e1fdaa14ef51366d7757b45bde294e95f6c8c049194e793eedb8387c86d5993", size = 107010, upload-time = "2026-03-01T22:04:30.385Z" }, + { url = "https://files.pythonhosted.org/packages/56/38/12730c05e5ad40a76374d440ed8b0899729a96c250516d91c620a6e38fc2/yarl-1.23.0-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:75e3026ab649bf48f9a10c0134512638725b521340293f202a69b567518d94e0", size = 100285, upload-time = "2026-03-01T22:04:31.752Z" }, + { url = "https://files.pythonhosted.org/packages/34/92/6a7be9239f2347234e027284e7a5f74b1140cc86575e7b469d13fba1ebfe/yarl-1.23.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:80e6d33a3d42a7549b409f199857b4fb54e2103fc44fb87605b6663b7a7ff750", size = 108230, upload-time = "2026-03-01T22:04:33.844Z" }, + { url = "https://files.pythonhosted.org/packages/5e/81/4aebccfa9376bd98b9d8bfad20621a57d3e8cfc5b8631c1fa5f62cdd03f4/yarl-1.23.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5ec2f42d41ccbd5df0270d7df31618a8ee267bfa50997f5d720ddba86c4a83a6", size = 103008, upload-time = "2026-03-01T22:04:35.856Z" }, + { url = "https://files.pythonhosted.org/packages/38/0f/0b4e3edcec794a86b853b0c6396c0a888d72dfce19b2d88c02ac289fb6c1/yarl-1.23.0-cp310-cp310-win32.whl", hash = "sha256:debe9c4f41c32990771be5c22b56f810659f9ddf3d63f67abfdcaa2c6c9c5c1d", size = 83073, upload-time = "2026-03-01T22:04:38.268Z" }, + { url = "https://files.pythonhosted.org/packages/a0/71/ad95c33da18897e4c636528bbc24a1dd23fe16797de8bc4ec667b8db0ba4/yarl-1.23.0-cp310-cp310-win_amd64.whl", hash = "sha256:ab5f043cb8a2d71c981c09c510da013bc79fd661f5c60139f00dd3c3cc4f2ffb", size = 87328, upload-time = "2026-03-01T22:04:39.558Z" }, + { url = "https://files.pythonhosted.org/packages/e2/14/dfa369523c79bccf9c9c746b0a63eb31f65db9418ac01275f7950962e504/yarl-1.23.0-cp310-cp310-win_arm64.whl", hash = "sha256:263cd4f47159c09b8b685890af949195b51d1aa82ba451c5847ca9bc6413c220", size = 82463, upload-time = "2026-03-01T22:04:41.454Z" }, + { url = "https://files.pythonhosted.org/packages/a2/aa/60da938b8f0997ba3a911263c40d82b6f645a67902a490b46f3355e10fae/yarl-1.23.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:b35d13d549077713e4414f927cdc388d62e543987c572baee613bf82f11a4b99", size = 123641, upload-time = "2026-03-01T22:04:42.841Z" }, + { url = "https://files.pythonhosted.org/packages/24/84/e237607faf4e099dbb8a4f511cfd5efcb5f75918baad200ff7380635631b/yarl-1.23.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cbb0fef01f0c6b38cb0f39b1f78fc90b807e0e3c86a7ff3ce74ad77ce5c7880c", size = 86248, upload-time = "2026-03-01T22:04:44.757Z" }, + { url = "https://files.pythonhosted.org/packages/b2/0d/71ceabc14c146ba8ee3804ca7b3d42b1664c8440439de5214d366fec7d3a/yarl-1.23.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dc52310451fc7c629e13c4e061cbe2dd01684d91f2f8ee2821b083c58bd72432", size = 85988, upload-time = "2026-03-01T22:04:46.365Z" }, + { url = "https://files.pythonhosted.org/packages/8c/6c/4a90d59c572e46b270ca132aca66954f1175abd691f74c1ef4c6711828e2/yarl-1.23.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b2c6b50c7b0464165472b56b42d4c76a7b864597007d9c085e8b63e185cf4a7a", size = 100566, upload-time = "2026-03-01T22:04:47.639Z" }, + { url = "https://files.pythonhosted.org/packages/49/fb/c438fb5108047e629f6282a371e6e91cf3f97ee087c4fb748a1f32ceef55/yarl-1.23.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:aafe5dcfda86c8af00386d7781d4c2181b5011b7be3f2add5e99899ea925df05", size = 92079, upload-time = "2026-03-01T22:04:48.925Z" }, + { url = "https://files.pythonhosted.org/packages/d9/13/d269aa1aed3e4f50a5a103f96327210cc5fa5dd2d50882778f13c7a14606/yarl-1.23.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9ee33b875f0b390564c1fb7bc528abf18c8ee6073b201c6ae8524aca778e2d83", size = 108741, upload-time = "2026-03-01T22:04:50.838Z" }, + { url = "https://files.pythonhosted.org/packages/85/fb/115b16f22c37ea4437d323e472945bea97301c8ec6089868fa560abab590/yarl-1.23.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4c41e021bc6d7affb3364dc1e1e5fa9582b470f283748784bd6ea0558f87f42c", size = 108099, upload-time = "2026-03-01T22:04:52.499Z" }, + { url = "https://files.pythonhosted.org/packages/9a/64/c53487d9f4968045b8afa51aed7ca44f58b2589e772f32745f3744476c82/yarl-1.23.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:99c8a9ed30f4164bc4c14b37a90208836cbf50d4ce2a57c71d0f52c7fb4f7598", size = 102678, upload-time = "2026-03-01T22:04:55.176Z" }, + { url = "https://files.pythonhosted.org/packages/85/59/cd98e556fbb2bf8fab29c1a722f67ad45c5f3447cac798ab85620d1e70af/yarl-1.23.0-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f2af5c81a1f124609d5f33507082fc3f739959d4719b56877ab1ee7e7b3d602b", size = 100803, upload-time = "2026-03-01T22:04:56.588Z" }, + { url = "https://files.pythonhosted.org/packages/9e/c0/b39770b56d4a9f0bb5f77e2f1763cd2d75cc2f6c0131e3b4c360348fcd65/yarl-1.23.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6b41389c19b07c760c7e427a3462e8ab83c4bb087d127f0e854c706ce1b9215c", size = 100163, upload-time = "2026-03-01T22:04:58.492Z" }, + { url = "https://files.pythonhosted.org/packages/e7/64/6980f99ab00e1f0ff67cb84766c93d595b067eed07439cfccfc8fb28c1a6/yarl-1.23.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:1dc702e42d0684f42d6519c8d581e49c96cefaaab16691f03566d30658ee8788", size = 93859, upload-time = "2026-03-01T22:05:00.268Z" }, + { url = "https://files.pythonhosted.org/packages/38/69/912e6c5e146793e5d4b5fe39ff5b00f4d22463dfd5a162bec565ac757673/yarl-1.23.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:0e40111274f340d32ebcc0a5668d54d2b552a6cca84c9475859d364b380e3222", size = 108202, upload-time = "2026-03-01T22:05:02.273Z" }, + { url = "https://files.pythonhosted.org/packages/59/97/35ca6767524687ad64e5f5c31ad54bc76d585585a9fcb40f649e7e82ffed/yarl-1.23.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:4764a6a7588561a9aef92f65bda2c4fb58fe7c675c0883862e6df97559de0bfb", size = 99866, upload-time = "2026-03-01T22:05:03.597Z" }, + { url = "https://files.pythonhosted.org/packages/d3/1c/1a3387ee6d73589f6f2a220ae06f2984f6c20b40c734989b0a44f5987308/yarl-1.23.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:03214408cfa590df47728b84c679ae4ef00be2428e11630277be0727eba2d7cc", size = 107852, upload-time = "2026-03-01T22:05:04.986Z" }, + { url = "https://files.pythonhosted.org/packages/a4/b8/35c0750fcd5a3f781058bfd954515dd4b1eab45e218cbb85cf11132215f1/yarl-1.23.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:170e26584b060879e29fac213e4228ef063f39128723807a312e5c7fec28eff2", size = 102919, upload-time = "2026-03-01T22:05:06.397Z" }, + { url = "https://files.pythonhosted.org/packages/e5/1c/9a1979aec4a81896d597bcb2177827f2dbee3f5b7cc48b2d0dadb644b41d/yarl-1.23.0-cp311-cp311-win32.whl", hash = "sha256:51430653db848d258336cfa0244427b17d12db63d42603a55f0d4546f50f25b5", size = 82602, upload-time = "2026-03-01T22:05:08.444Z" }, + { url = "https://files.pythonhosted.org/packages/93/22/b85eca6fa2ad9491af48c973e4c8cf6b103a73dbb271fe3346949449fca0/yarl-1.23.0-cp311-cp311-win_amd64.whl", hash = "sha256:bf49a3ae946a87083ef3a34c8f677ae4243f5b824bfc4c69672e72b3d6719d46", size = 87461, upload-time = "2026-03-01T22:05:10.145Z" }, + { url = "https://files.pythonhosted.org/packages/93/95/07e3553fe6f113e6864a20bdc53a78113cda3b9ced8784ee52a52c9f80d8/yarl-1.23.0-cp311-cp311-win_arm64.whl", hash = "sha256:b39cb32a6582750b6cc77bfb3c49c0f8760dc18dc96ec9fb55fbb0f04e08b928", size = 82336, upload-time = "2026-03-01T22:05:11.554Z" }, + { url = "https://files.pythonhosted.org/packages/88/8a/94615bc31022f711add374097ad4144d569e95ff3c38d39215d07ac153a0/yarl-1.23.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1932b6b8bba8d0160a9d1078aae5838a66039e8832d41d2992daa9a3a08f7860", size = 124737, upload-time = "2026-03-01T22:05:12.897Z" }, + { url = "https://files.pythonhosted.org/packages/e3/6f/c6554045d59d64052698add01226bc867b52fe4a12373415d7991fdca95d/yarl-1.23.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:411225bae281f114067578891bc75534cfb3d92a3b4dfef7a6ca78ba354e6069", size = 87029, upload-time = "2026-03-01T22:05:14.376Z" }, + { url = "https://files.pythonhosted.org/packages/19/2a/725ecc166d53438bc88f76822ed4b1e3b10756e790bafd7b523fe97c322d/yarl-1.23.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:13a563739ae600a631c36ce096615fe307f131344588b0bc0daec108cdb47b25", size = 86310, upload-time = "2026-03-01T22:05:15.71Z" }, + { url = "https://files.pythonhosted.org/packages/99/30/58260ed98e6ff7f90ba84442c1ddd758c9170d70327394a6227b310cd60f/yarl-1.23.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9cbf44c5cb4a7633d078788e1b56387e3d3cf2b8139a3be38040b22d6c3221c8", size = 97587, upload-time = "2026-03-01T22:05:17.384Z" }, + { url = "https://files.pythonhosted.org/packages/76/0a/8b08aac08b50682e65759f7f8dde98ae8168f72487e7357a5d684c581ef9/yarl-1.23.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:53ad387048f6f09a8969631e4de3f1bf70c50e93545d64af4f751b2498755072", size = 92528, upload-time = "2026-03-01T22:05:18.804Z" }, + { url = "https://files.pythonhosted.org/packages/52/07/0b7179101fe5f8385ec6c6bb5d0cb9f76bd9fb4a769591ab6fb5cdbfc69a/yarl-1.23.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4a59ba56f340334766f3a4442e0efd0af895fae9e2b204741ef885c446b3a1a8", size = 105339, upload-time = "2026-03-01T22:05:20.235Z" }, + { url = "https://files.pythonhosted.org/packages/d3/8a/36d82869ab5ec829ca8574dfcb92b51286fcfb1e9c7a73659616362dc880/yarl-1.23.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:803a3c3ce4acc62eaf01eaca1208dcf0783025ef27572c3336502b9c232005e7", size = 105061, upload-time = "2026-03-01T22:05:22.268Z" }, + { url = "https://files.pythonhosted.org/packages/66/3e/868e5c3364b6cee19ff3e1a122194fa4ce51def02c61023970442162859e/yarl-1.23.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a3d2bff8f37f8d0f96c7ec554d16945050d54462d6e95414babaa18bfafc7f51", size = 100132, upload-time = "2026-03-01T22:05:23.638Z" }, + { url = "https://files.pythonhosted.org/packages/cf/26/9c89acf82f08a52cb52d6d39454f8d18af15f9d386a23795389d1d423823/yarl-1.23.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c75eb09e8d55bceb4367e83496ff8ef2bc7ea6960efb38e978e8073ea59ecb67", size = 99289, upload-time = "2026-03-01T22:05:25.749Z" }, + { url = "https://files.pythonhosted.org/packages/6f/54/5b0db00d2cb056922356104468019c0a132e89c8d3ab67d8ede9f4483d2a/yarl-1.23.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:877b0738624280e34c55680d6054a307aa94f7d52fa0e3034a9cc6e790871da7", size = 96950, upload-time = "2026-03-01T22:05:27.318Z" }, + { url = "https://files.pythonhosted.org/packages/f6/40/10fa93811fd439341fad7e0718a86aca0de9548023bbb403668d6555acab/yarl-1.23.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:b5405bb8f0e783a988172993cfc627e4d9d00432d6bbac65a923041edacf997d", size = 93960, upload-time = "2026-03-01T22:05:28.738Z" }, + { url = "https://files.pythonhosted.org/packages/bc/d2/8ae2e6cd77d0805f4526e30ec43b6f9a3dfc542d401ac4990d178e4bf0cf/yarl-1.23.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1c3a3598a832590c5a3ce56ab5576361b5688c12cb1d39429cf5dba30b510760", size = 104703, upload-time = "2026-03-01T22:05:30.438Z" }, + { url = "https://files.pythonhosted.org/packages/2f/0c/b3ceacf82c3fe21183ce35fa2acf5320af003d52bc1fcf5915077681142e/yarl-1.23.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:8419ebd326430d1cbb7efb5292330a2cf39114e82df5cc3d83c9a0d5ebeaf2f2", size = 98325, upload-time = "2026-03-01T22:05:31.835Z" }, + { url = "https://files.pythonhosted.org/packages/9d/e0/12900edd28bdab91a69bd2554b85ad7b151f64e8b521fe16f9ad2f56477a/yarl-1.23.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:be61f6fff406ca40e3b1d84716fde398fc08bc63dd96d15f3a14230a0973ed86", size = 105067, upload-time = "2026-03-01T22:05:33.358Z" }, + { url = "https://files.pythonhosted.org/packages/15/61/74bb1182cf79c9bbe4eb6b1f14a57a22d7a0be5e9cedf8e2d5c2086474c3/yarl-1.23.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3ceb13c5c858d01321b5d9bb65e4cf37a92169ea470b70fec6f236b2c9dd7e34", size = 100285, upload-time = "2026-03-01T22:05:35.4Z" }, + { url = "https://files.pythonhosted.org/packages/69/7f/cd5ef733f2550de6241bd8bd8c3febc78158b9d75f197d9c7baa113436af/yarl-1.23.0-cp312-cp312-win32.whl", hash = "sha256:fffc45637bcd6538de8b85f51e3df3223e4ad89bccbfca0481c08c7fc8b7ed7d", size = 82359, upload-time = "2026-03-01T22:05:36.811Z" }, + { url = "https://files.pythonhosted.org/packages/f5/be/25216a49daeeb7af2bec0db22d5e7df08ed1d7c9f65d78b14f3b74fd72fc/yarl-1.23.0-cp312-cp312-win_amd64.whl", hash = "sha256:f69f57305656a4852f2a7203efc661d8c042e6cc67f7acd97d8667fb448a426e", size = 87674, upload-time = "2026-03-01T22:05:38.171Z" }, + { url = "https://files.pythonhosted.org/packages/d2/35/aeab955d6c425b227d5b7247eafb24f2653fedc32f95373a001af5dfeb9e/yarl-1.23.0-cp312-cp312-win_arm64.whl", hash = "sha256:6e87a6e8735b44816e7db0b2fbc9686932df473c826b0d9743148432e10bb9b9", size = 81879, upload-time = "2026-03-01T22:05:40.006Z" }, + { url = "https://files.pythonhosted.org/packages/9a/4b/a0a6e5d0ee8a2f3a373ddef8a4097d74ac901ac363eea1440464ccbe0898/yarl-1.23.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:16c6994ac35c3e74fb0ae93323bf8b9c2a9088d55946109489667c510a7d010e", size = 123796, upload-time = "2026-03-01T22:05:41.412Z" }, + { url = "https://files.pythonhosted.org/packages/67/b6/8925d68af039b835ae876db5838e82e76ec87b9782ecc97e192b809c4831/yarl-1.23.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4a42e651629dafb64fd5b0286a3580613702b5809ad3f24934ea87595804f2c5", size = 86547, upload-time = "2026-03-01T22:05:42.841Z" }, + { url = "https://files.pythonhosted.org/packages/ae/50/06d511cc4b8e0360d3c94af051a768e84b755c5eb031b12adaaab6dec6e5/yarl-1.23.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7c6b9461a2a8b47c65eef63bb1c76a4f1c119618ffa99ea79bc5bb1e46c5821b", size = 85854, upload-time = "2026-03-01T22:05:44.85Z" }, + { url = "https://files.pythonhosted.org/packages/c4/f4/4e30b250927ffdab4db70da08b9b8d2194d7c7b400167b8fbeca1e4701ca/yarl-1.23.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2569b67d616eab450d262ca7cb9f9e19d2f718c70a8b88712859359d0ab17035", size = 98351, upload-time = "2026-03-01T22:05:46.836Z" }, + { url = "https://files.pythonhosted.org/packages/86/fc/4118c5671ea948208bdb1492d8b76bdf1453d3e73df051f939f563e7dcc5/yarl-1.23.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e9d9a4d06d3481eab79803beb4d9bd6f6a8e781ec078ac70d7ef2dcc29d1bea5", size = 92711, upload-time = "2026-03-01T22:05:48.316Z" }, + { url = "https://files.pythonhosted.org/packages/56/11/1ed91d42bd9e73c13dc9e7eb0dd92298d75e7ac4dd7f046ad0c472e231cd/yarl-1.23.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f514f6474e04179d3d33175ed3f3e31434d3130d42ec153540d5b157deefd735", size = 106014, upload-time = "2026-03-01T22:05:50.028Z" }, + { url = "https://files.pythonhosted.org/packages/ce/c9/74e44e056a23fbc33aca71779ef450ca648a5bc472bdad7a82339918f818/yarl-1.23.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fda207c815b253e34f7e1909840fd14299567b1c0eb4908f8c2ce01a41265401", size = 105557, upload-time = "2026-03-01T22:05:51.416Z" }, + { url = "https://files.pythonhosted.org/packages/66/fe/b1e10b08d287f518994f1e2ff9b6d26f0adeecd8dd7d533b01bab29a3eda/yarl-1.23.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:34b6cf500e61c90f305094911f9acc9c86da1a05a7a3f5be9f68817043f486e4", size = 101559, upload-time = "2026-03-01T22:05:52.872Z" }, + { url = "https://files.pythonhosted.org/packages/72/59/c5b8d94b14e3d3c2a9c20cb100119fd534ab5a14b93673ab4cc4a4141ea5/yarl-1.23.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d7504f2b476d21653e4d143f44a175f7f751cd41233525312696c76aa3dbb23f", size = 100502, upload-time = "2026-03-01T22:05:54.954Z" }, + { url = "https://files.pythonhosted.org/packages/77/4f/96976cb54cbfc5c9fd73ed4c51804f92f209481d1fb190981c0f8a07a1d7/yarl-1.23.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:578110dd426f0d209d1509244e6d4a3f1a3e9077655d98c5f22583d63252a08a", size = 98027, upload-time = "2026-03-01T22:05:56.409Z" }, + { url = "https://files.pythonhosted.org/packages/63/6e/904c4f476471afdbad6b7e5b70362fb5810e35cd7466529a97322b6f5556/yarl-1.23.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:609d3614d78d74ebe35f54953c5bbd2ac647a7ddb9c30a5d877580f5e86b22f2", size = 95369, upload-time = "2026-03-01T22:05:58.141Z" }, + { url = "https://files.pythonhosted.org/packages/9d/40/acfcdb3b5f9d68ef499e39e04d25e141fe90661f9d54114556cf83be8353/yarl-1.23.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:4966242ec68afc74c122f8459abd597afd7d8a60dc93d695c1334c5fd25f762f", size = 105565, upload-time = "2026-03-01T22:06:00.286Z" }, + { url = "https://files.pythonhosted.org/packages/5e/c6/31e28f3a6ba2869c43d124f37ea5260cac9c9281df803c354b31f4dd1f3c/yarl-1.23.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:e0fd068364a6759bc794459f0a735ab151d11304346332489c7972bacbe9e72b", size = 99813, upload-time = "2026-03-01T22:06:01.712Z" }, + { url = "https://files.pythonhosted.org/packages/08/1f/6f65f59e72d54aa467119b63fc0b0b1762eff0232db1f4720cd89e2f4a17/yarl-1.23.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:39004f0ad156da43e86aa71f44e033de68a44e5a31fc53507b36dd253970054a", size = 105632, upload-time = "2026-03-01T22:06:03.188Z" }, + { url = "https://files.pythonhosted.org/packages/a3/c4/18b178a69935f9e7a338127d5b77d868fdc0f0e49becd286d51b3a18c61d/yarl-1.23.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e5723c01a56c5028c807c701aa66722916d2747ad737a046853f6c46f4875543", size = 101895, upload-time = "2026-03-01T22:06:04.651Z" }, + { url = "https://files.pythonhosted.org/packages/8f/54/f5b870b5505663911dba950a8e4776a0dbd51c9c54c0ae88e823e4b874a0/yarl-1.23.0-cp313-cp313-win32.whl", hash = "sha256:1b6b572edd95b4fa8df75de10b04bc81acc87c1c7d16bcdd2035b09d30acc957", size = 82356, upload-time = "2026-03-01T22:06:06.04Z" }, + { url = "https://files.pythonhosted.org/packages/7a/84/266e8da36879c6edcd37b02b547e2d9ecdfea776be49598e75696e3316e1/yarl-1.23.0-cp313-cp313-win_amd64.whl", hash = "sha256:baaf55442359053c7d62f6f8413a62adba3205119bcb6f49594894d8be47e5e3", size = 87515, upload-time = "2026-03-01T22:06:08.107Z" }, + { url = "https://files.pythonhosted.org/packages/00/fd/7e1c66efad35e1649114fa13f17485f62881ad58edeeb7f49f8c5e748bf9/yarl-1.23.0-cp313-cp313-win_arm64.whl", hash = "sha256:fb4948814a2a98e3912505f09c9e7493b1506226afb1f881825368d6fb776ee3", size = 81785, upload-time = "2026-03-01T22:06:10.181Z" }, + { url = "https://files.pythonhosted.org/packages/9c/fc/119dd07004f17ea43bb91e3ece6587759edd7519d6b086d16bfbd3319982/yarl-1.23.0-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:aecfed0b41aa72b7881712c65cf764e39ce2ec352324f5e0837c7048d9e6daaa", size = 130719, upload-time = "2026-03-01T22:06:11.708Z" }, + { url = "https://files.pythonhosted.org/packages/e6/0d/9f2348502fbb3af409e8f47730282cd6bc80dec6630c1e06374d882d6eb2/yarl-1.23.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:a41bcf68efd19073376eb8cf948b8d9be0af26256403e512bb18f3966f1f9120", size = 89690, upload-time = "2026-03-01T22:06:13.429Z" }, + { url = "https://files.pythonhosted.org/packages/50/93/e88f3c80971b42cfc83f50a51b9d165a1dbf154b97005f2994a79f212a07/yarl-1.23.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:cde9a2ecd91668bcb7f077c4966d8ceddb60af01b52e6e3e2680e4cf00ad1a59", size = 89851, upload-time = "2026-03-01T22:06:15.53Z" }, + { url = "https://files.pythonhosted.org/packages/1c/07/61c9dd8ba8f86473263b4036f70fb594c09e99c0d9737a799dfd8bc85651/yarl-1.23.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5023346c4ee7992febc0068e7593de5fa2bf611848c08404b35ebbb76b1b0512", size = 95874, upload-time = "2026-03-01T22:06:17.553Z" }, + { url = "https://files.pythonhosted.org/packages/9e/e9/f9ff8ceefba599eac6abddcfb0b3bee9b9e636e96dbf54342a8577252379/yarl-1.23.0-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d1009abedb49ae95b136a8904a3f71b342f849ffeced2d3747bf29caeda218c4", size = 88710, upload-time = "2026-03-01T22:06:19.004Z" }, + { url = "https://files.pythonhosted.org/packages/eb/78/0231bfcc5d4c8eec220bc2f9ef82cb4566192ea867a7c5b4148f44f6cbcd/yarl-1.23.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a8d00f29b42f534cc8aa3931cfe773b13b23e561e10d2b26f27a8d309b0e82a1", size = 101033, upload-time = "2026-03-01T22:06:21.203Z" }, + { url = "https://files.pythonhosted.org/packages/cd/9b/30ea5239a61786f18fd25797151a17fbb3be176977187a48d541b5447dd4/yarl-1.23.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:95451e6ce06c3e104556d73b559f5da6c34a069b6b62946d3ad66afcd51642ea", size = 100817, upload-time = "2026-03-01T22:06:22.738Z" }, + { url = "https://files.pythonhosted.org/packages/62/e2/a4980481071791bc83bce2b7a1a1f7adcabfa366007518b4b845e92eeee3/yarl-1.23.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:531ef597132086b6cf96faa7c6c1dcd0361dd5f1694e5cc30375907b9b7d3ea9", size = 97482, upload-time = "2026-03-01T22:06:24.21Z" }, + { url = "https://files.pythonhosted.org/packages/e5/1e/304a00cf5f6100414c4b5a01fc7ff9ee724b62158a08df2f8170dfc72a2d/yarl-1.23.0-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:88f9fb0116fbfcefcab70f85cf4b74a2b6ce5d199c41345296f49d974ddb4123", size = 95949, upload-time = "2026-03-01T22:06:25.697Z" }, + { url = "https://files.pythonhosted.org/packages/68/03/093f4055ed4cae649ac53bca3d180bd37102e9e11d048588e9ab0c0108d0/yarl-1.23.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:e7b0460976dc75cb87ad9cc1f9899a4b97751e7d4e77ab840fc9b6d377b8fd24", size = 95839, upload-time = "2026-03-01T22:06:27.309Z" }, + { url = "https://files.pythonhosted.org/packages/b9/28/4c75ebb108f322aa8f917ae10a8ffa4f07cae10a8a627b64e578617df6a0/yarl-1.23.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:115136c4a426f9da976187d238e84139ff6b51a20839aa6e3720cd1026d768de", size = 90696, upload-time = "2026-03-01T22:06:29.048Z" }, + { url = "https://files.pythonhosted.org/packages/23/9c/42c2e2dd91c1a570402f51bdf066bfdb1241c2240ba001967bad778e77b7/yarl-1.23.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:ead11956716a940c1abc816b7df3fa2b84d06eaed8832ca32f5c5e058c65506b", size = 100865, upload-time = "2026-03-01T22:06:30.525Z" }, + { url = "https://files.pythonhosted.org/packages/74/05/1bcd60a8a0a914d462c305137246b6f9d167628d73568505fce3f1cb2e65/yarl-1.23.0-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:fe8f8f5e70e6dbdfca9882cd9deaac058729bcf323cf7a58660901e55c9c94f6", size = 96234, upload-time = "2026-03-01T22:06:32.692Z" }, + { url = "https://files.pythonhosted.org/packages/90/b2/f52381aac396d6778ce516b7bc149c79e65bfc068b5de2857ab69eeea3b7/yarl-1.23.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:a0e317df055958a0c1e79e5d2aa5a5eaa4a6d05a20d4b0c9c3f48918139c9fc6", size = 100295, upload-time = "2026-03-01T22:06:34.268Z" }, + { url = "https://files.pythonhosted.org/packages/e5/e8/638bae5bbf1113a659b2435d8895474598afe38b4a837103764f603aba56/yarl-1.23.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6f0fd84de0c957b2d280143522c4f91a73aada1923caee763e24a2b3fda9f8a5", size = 97784, upload-time = "2026-03-01T22:06:35.864Z" }, + { url = "https://files.pythonhosted.org/packages/80/25/a3892b46182c586c202629fc2159aa13975d3741d52ebd7347fd501d48d5/yarl-1.23.0-cp313-cp313t-win32.whl", hash = "sha256:93a784271881035ab4406a172edb0faecb6e7d00f4b53dc2f55919d6c9688595", size = 88313, upload-time = "2026-03-01T22:06:37.39Z" }, + { url = "https://files.pythonhosted.org/packages/43/68/8c5b36aa5178900b37387937bc2c2fe0e9505537f713495472dcf6f6fccc/yarl-1.23.0-cp313-cp313t-win_amd64.whl", hash = "sha256:dd00607bffbf30250fe108065f07453ec124dbf223420f57f5e749b04295e090", size = 94932, upload-time = "2026-03-01T22:06:39.579Z" }, + { url = "https://files.pythonhosted.org/packages/c6/cc/d79ba8292f51f81f4dc533a8ccfb9fc6992cabf0998ed3245de7589dc07c/yarl-1.23.0-cp313-cp313t-win_arm64.whl", hash = "sha256:ac09d42f48f80c9ee1635b2fcaa819496a44502737660d3c0f2ade7526d29144", size = 84786, upload-time = "2026-03-01T22:06:41.988Z" }, + { url = "https://files.pythonhosted.org/packages/90/98/b85a038d65d1b92c3903ab89444f48d3cee490a883477b716d7a24b1a78c/yarl-1.23.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:21d1b7305a71a15b4794b5ff22e8eef96ff4a6d7f9657155e5aa419444b28912", size = 124455, upload-time = "2026-03-01T22:06:43.615Z" }, + { url = "https://files.pythonhosted.org/packages/39/54/bc2b45559f86543d163b6e294417a107bb87557609007c007ad889afec18/yarl-1.23.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:85610b4f27f69984932a7abbe52703688de3724d9f72bceb1cca667deff27474", size = 86752, upload-time = "2026-03-01T22:06:45.425Z" }, + { url = "https://files.pythonhosted.org/packages/24/f9/e8242b68362bffe6fb536c8db5076861466fc780f0f1b479fc4ffbebb128/yarl-1.23.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23f371bd662cf44a7630d4d113101eafc0cfa7518a2760d20760b26021454719", size = 86291, upload-time = "2026-03-01T22:06:46.974Z" }, + { url = "https://files.pythonhosted.org/packages/ea/d8/d1cb2378c81dd729e98c716582b1ccb08357e8488e4c24714658cc6630e8/yarl-1.23.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c4a80f77dc1acaaa61f0934176fccca7096d9b1ff08c8ba9cddf5ae034a24319", size = 99026, upload-time = "2026-03-01T22:06:48.459Z" }, + { url = "https://files.pythonhosted.org/packages/0a/ff/7196790538f31debe3341283b5b0707e7feb947620fc5e8236ef28d44f72/yarl-1.23.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:bd654fad46d8d9e823afbb4f87c79160b5a374ed1ff5bde24e542e6ba8f41434", size = 92355, upload-time = "2026-03-01T22:06:50.306Z" }, + { url = "https://files.pythonhosted.org/packages/c1/56/25d58c3eddde825890a5fe6aa1866228377354a3c39262235234ab5f616b/yarl-1.23.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:682bae25f0a0dd23a056739f23a134db9f52a63e2afd6bfb37ddc76292bbd723", size = 106417, upload-time = "2026-03-01T22:06:52.1Z" }, + { url = "https://files.pythonhosted.org/packages/51/8a/882c0e7bc8277eb895b31bce0138f51a1ba551fc2e1ec6753ffc1e7c1377/yarl-1.23.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a82836cab5f197a0514235aaf7ffccdc886ccdaa2324bc0aafdd4ae898103039", size = 106422, upload-time = "2026-03-01T22:06:54.424Z" }, + { url = "https://files.pythonhosted.org/packages/42/2b/fef67d616931055bf3d6764885990a3ac647d68734a2d6a9e1d13de437a2/yarl-1.23.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1c57676bdedc94cd3bc37724cf6f8cd2779f02f6aba48de45feca073e714fe52", size = 101915, upload-time = "2026-03-01T22:06:55.895Z" }, + { url = "https://files.pythonhosted.org/packages/18/6a/530e16aebce27c5937920f3431c628a29a4b6b430fab3fd1c117b26ff3f6/yarl-1.23.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c7f8dc16c498ff06497c015642333219871effba93e4a2e8604a06264aca5c5c", size = 100690, upload-time = "2026-03-01T22:06:58.21Z" }, + { url = "https://files.pythonhosted.org/packages/88/08/93749219179a45e27b036e03260fda05190b911de8e18225c294ac95bbc9/yarl-1.23.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:5ee586fb17ff8f90c91cf73c6108a434b02d69925f44f5f8e0d7f2f260607eae", size = 98750, upload-time = "2026-03-01T22:06:59.794Z" }, + { url = "https://files.pythonhosted.org/packages/d9/cf/ea424a004969f5d81a362110a6ac1496d79efdc6d50c2c4b2e3ea0fc2519/yarl-1.23.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:17235362f580149742739cc3828b80e24029d08cbb9c4bda0242c7b5bc610a8e", size = 94685, upload-time = "2026-03-01T22:07:01.375Z" }, + { url = "https://files.pythonhosted.org/packages/e2/b7/14341481fe568e2b0408bcf1484c652accafe06a0ade9387b5d3fd9df446/yarl-1.23.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:0793e2bd0cf14234983bbb371591e6bea9e876ddf6896cdcc93450996b0b5c85", size = 106009, upload-time = "2026-03-01T22:07:03.151Z" }, + { url = "https://files.pythonhosted.org/packages/0a/e6/5c744a9b54f4e8007ad35bce96fbc9218338e84812d36f3390cea616881a/yarl-1.23.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:3650dc2480f94f7116c364096bc84b1d602f44224ef7d5c7208425915c0475dd", size = 100033, upload-time = "2026-03-01T22:07:04.701Z" }, + { url = "https://files.pythonhosted.org/packages/0c/23/e3bfc188d0b400f025bc49d99793d02c9abe15752138dcc27e4eaf0c4a9e/yarl-1.23.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:f40e782d49630ad384db66d4d8b73ff4f1b8955dc12e26b09a3e3af064b3b9d6", size = 106483, upload-time = "2026-03-01T22:07:06.231Z" }, + { url = "https://files.pythonhosted.org/packages/72/42/f0505f949a90b3f8b7a363d6cbdf398f6e6c58946d85c6d3a3bc70595b26/yarl-1.23.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:94f8575fbdf81749008d980c17796097e645574a3b8c28ee313931068dad14fe", size = 102175, upload-time = "2026-03-01T22:07:08.4Z" }, + { url = "https://files.pythonhosted.org/packages/aa/65/b39290f1d892a9dd671d1c722014ca062a9c35d60885d57e5375db0404b5/yarl-1.23.0-cp314-cp314-win32.whl", hash = "sha256:c8aa34a5c864db1087d911a0b902d60d203ea3607d91f615acd3f3108ac32169", size = 83871, upload-time = "2026-03-01T22:07:09.968Z" }, + { url = "https://files.pythonhosted.org/packages/a9/5b/9b92f54c784c26e2a422e55a8d2607ab15b7ea3349e28359282f84f01d43/yarl-1.23.0-cp314-cp314-win_amd64.whl", hash = "sha256:63e92247f383c85ab00dd0091e8c3fa331a96e865459f5ee80353c70a4a42d70", size = 89093, upload-time = "2026-03-01T22:07:11.501Z" }, + { url = "https://files.pythonhosted.org/packages/e0/7d/8a84dc9381fd4412d5e7ff04926f9865f6372b4c2fd91e10092e65d29eb8/yarl-1.23.0-cp314-cp314-win_arm64.whl", hash = "sha256:70efd20be968c76ece7baa8dafe04c5be06abc57f754d6f36f3741f7aa7a208e", size = 83384, upload-time = "2026-03-01T22:07:13.069Z" }, + { url = "https://files.pythonhosted.org/packages/dd/8d/d2fad34b1c08aa161b74394183daa7d800141aaaee207317e82c790b418d/yarl-1.23.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:9a18d6f9359e45722c064c97464ec883eb0e0366d33eda61cb19a244bf222679", size = 131019, upload-time = "2026-03-01T22:07:14.903Z" }, + { url = "https://files.pythonhosted.org/packages/19/ff/33009a39d3ccf4b94d7d7880dfe17fb5816c5a4fe0096d9b56abceea9ac7/yarl-1.23.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:2803ed8b21ca47a43da80a6fd1ed3019d30061f7061daa35ac54f63933409412", size = 89894, upload-time = "2026-03-01T22:07:17.372Z" }, + { url = "https://files.pythonhosted.org/packages/0c/f1/dab7ac5e7306fb79c0190766a3c00b4cb8d09a1f390ded68c85a5934faf5/yarl-1.23.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:394906945aa8b19fc14a61cf69743a868bb8c465efe85eee687109cc540b98f4", size = 89979, upload-time = "2026-03-01T22:07:19.361Z" }, + { url = "https://files.pythonhosted.org/packages/aa/b1/08e95f3caee1fad6e65017b9f26c1d79877b502622d60e517de01e72f95d/yarl-1.23.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:71d006bee8397a4a89f469b8deb22469fe7508132d3c17fa6ed871e79832691c", size = 95943, upload-time = "2026-03-01T22:07:21.266Z" }, + { url = "https://files.pythonhosted.org/packages/c0/cc/6409f9018864a6aa186c61175b977131f373f1988e198e031236916e87e4/yarl-1.23.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:62694e275c93d54f7ccedcfef57d42761b2aad5234b6be1f3e3026cae4001cd4", size = 88786, upload-time = "2026-03-01T22:07:23.129Z" }, + { url = "https://files.pythonhosted.org/packages/76/40/cc22d1d7714b717fde2006fad2ced5efe5580606cb059ae42117542122f3/yarl-1.23.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a31de1613658308efdb21ada98cbc86a97c181aa050ba22a808120bb5be3ab94", size = 101307, upload-time = "2026-03-01T22:07:24.689Z" }, + { url = "https://files.pythonhosted.org/packages/8f/0d/476c38e85ddb4c6ec6b20b815bdd779aa386a013f3d8b85516feee55c8dc/yarl-1.23.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fb1e8b8d66c278b21d13b0a7ca22c41dd757a7c209c6b12c313e445c31dd3b28", size = 100904, upload-time = "2026-03-01T22:07:26.287Z" }, + { url = "https://files.pythonhosted.org/packages/72/32/0abe4a76d59adf2081dcb0397168553ece4616ada1c54d1c49d8936c74f8/yarl-1.23.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:50f9d8d531dfb767c565f348f33dd5139a6c43f5cbdf3f67da40d54241df93f6", size = 97728, upload-time = "2026-03-01T22:07:27.906Z" }, + { url = "https://files.pythonhosted.org/packages/b7/35/7b30f4810fba112f60f5a43237545867504e15b1c7647a785fbaf588fac2/yarl-1.23.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:575aa4405a656e61a540f4a80eaa5260f2a38fff7bfdc4b5f611840d76e9e277", size = 95964, upload-time = "2026-03-01T22:07:30.198Z" }, + { url = "https://files.pythonhosted.org/packages/2d/86/ed7a73ab85ef00e8bb70b0cb5421d8a2a625b81a333941a469a6f4022828/yarl-1.23.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:041b1a4cefacf65840b4e295c6985f334ba83c30607441ae3cf206a0eed1a2e4", size = 95882, upload-time = "2026-03-01T22:07:32.132Z" }, + { url = "https://files.pythonhosted.org/packages/19/90/d56967f61a29d8498efb7afb651e0b2b422a1e9b47b0ab5f4e40a19b699b/yarl-1.23.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:d38c1e8231722c4ce40d7593f28d92b5fc72f3e9774fe73d7e800ec32299f63a", size = 90797, upload-time = "2026-03-01T22:07:34.404Z" }, + { url = "https://files.pythonhosted.org/packages/72/00/8b8f76909259f56647adb1011d7ed8b321bcf97e464515c65016a47ecdf0/yarl-1.23.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:d53834e23c015ee83a99377db6e5e37d8484f333edb03bd15b4bc312cc7254fb", size = 101023, upload-time = "2026-03-01T22:07:35.953Z" }, + { url = "https://files.pythonhosted.org/packages/ac/e2/cab11b126fb7d440281b7df8e9ddbe4851e70a4dde47a202b6642586b8d9/yarl-1.23.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:2e27c8841126e017dd2a054a95771569e6070b9ee1b133366d8b31beb5018a41", size = 96227, upload-time = "2026-03-01T22:07:37.594Z" }, + { url = "https://files.pythonhosted.org/packages/c2/9b/2c893e16bfc50e6b2edf76c1a9eb6cb0c744346197e74c65e99ad8d634d0/yarl-1.23.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:76855800ac56f878847a09ce6dba727c93ca2d89c9e9d63002d26b916810b0a2", size = 100302, upload-time = "2026-03-01T22:07:39.334Z" }, + { url = "https://files.pythonhosted.org/packages/28/ec/5498c4e3a6d5f1003beb23405671c2eb9cdbf3067d1c80f15eeafe301010/yarl-1.23.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e09fd068c2e169a7070d83d3bde728a4d48de0549f975290be3c108c02e499b4", size = 98202, upload-time = "2026-03-01T22:07:41.717Z" }, + { url = "https://files.pythonhosted.org/packages/fe/c3/cd737e2d45e70717907f83e146f6949f20cc23cd4bf7b2688727763aa458/yarl-1.23.0-cp314-cp314t-win32.whl", hash = "sha256:73309162a6a571d4cbd3b6a1dcc703c7311843ae0d1578df6f09be4e98df38d4", size = 90558, upload-time = "2026-03-01T22:07:43.433Z" }, + { url = "https://files.pythonhosted.org/packages/e1/19/3774d162f6732d1cfb0b47b4140a942a35ca82bb19b6db1f80e9e7bdc8f8/yarl-1.23.0-cp314-cp314t-win_amd64.whl", hash = "sha256:4503053d296bc6e4cbd1fad61cf3b6e33b939886c4f249ba7c78b602214fabe2", size = 97610, upload-time = "2026-03-01T22:07:45.773Z" }, + { url = "https://files.pythonhosted.org/packages/51/47/3fa2286c3cb162c71cdb34c4224d5745a1ceceb391b2bd9b19b668a8d724/yarl-1.23.0-cp314-cp314t-win_arm64.whl", hash = "sha256:44bb7bef4ea409384e3f8bc36c063d77ea1b8d4a5b2706956c0d6695f07dcc25", size = 86041, upload-time = "2026-03-01T22:07:49.026Z" }, + { url = "https://files.pythonhosted.org/packages/69/68/c8739671f5699c7dc470580a4f821ef37c32c4cb0b047ce223a7f115757f/yarl-1.23.0-py3-none-any.whl", hash = "sha256:a2df6afe50dea8ae15fa34c9f824a3ee958d785fd5d089063d960bae1daa0a3f", size = 48288, upload-time = "2026-03-01T22:07:51.388Z" }, +] + +[[package]] +name = "zipp" +version = "4.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/b9/d8/eab98a517c14134c0b2eb4e2387bc5f457334293ec5d2dd3857ec2966802/zipp-4.1.0.tar.gz", hash = "sha256:4cb57381f544315db7688e976e922a2b18cdb513d21cc194eb42232ba2a3e602", size = 26214, upload-time = "2026-05-18T20:08:57.967Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3a/13/547360d81e6d88d58492968ffda9f9542854f11310ee556fef14260cc886/zipp-4.1.0-py3-none-any.whl", hash = "sha256:25ad4e16390cd314347dd8f1de67a2ac538ae658ed4ab9db16029c07c188e97f", size = 10238, upload-time = "2026-05-18T20:08:57.045Z" }, +] + +[[package]] +name = "zope-event" +version = "6.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/93/41/faa10af34d48d9cd6fa0249a1162943ad84a9590bd1a06939981e6640416/zope_event-6.2.tar.gz", hash = "sha256:b97d5d6327067ee6b9dfcbdf606ade9ade70991e19c162e808ea39e5fcf0f8d3", size = 18958, upload-time = "2026-04-28T06:24:10.578Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/33/848922889e946d4befc415c219fe516af75c49555d8e736e183bfd30db42/zope_event-6.2-py3-none-any.whl", hash = "sha256:5e755153ac4faf64c10a4b6dd3307680166a3edf65b38df22df592610f8fa874", size = 6525, upload-time = "2026-04-28T06:24:09.176Z" }, +] + +[[package]] +name = "zope-interface" +version = "8.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/9f/65/34a6e6e4dfa260c4c55ee02bb2fc53625e126ff0181485286cf0c9d453d6/zope_interface-8.4.tar.gz", hash = "sha256:9dbee7925a23aa6349738892c911019d4095a96cff487b743482073ecbc174a8", size = 257736, upload-time = "2026-04-25T07:22:10.439Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/70/fb/cc696345b27909fe918a17f2b4deacee9bc8fd715ee04eb88c82677f1154/zope_interface-8.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:415de524326ddd61a78f0816f65942fa1aa35dced19e72579ad30dd106ce523e", size = 210401, upload-time = "2026-04-25T07:27:40.6Z" }, + { url = "https://files.pythonhosted.org/packages/17/be/7fcce2121df992061093a8060130d0152ddf5bb32942ed5dad09a6a0baac/zope_interface-8.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fa0a26d5767087170b3da9ff503221d535ea266bf61b522d0afa2590fd05db0a", size = 210760, upload-time = "2026-04-25T07:27:42.943Z" }, + { url = "https://files.pythonhosted.org/packages/73/e9/4e3c564f9bd857abccd0839c22283ef7f85f3d09170c045a7cca42bb4988/zope_interface-8.4-cp310-cp310-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:8544081e32b515bbaf1c6339eef06b23ed470cf4876ff2f575803f82a744cc43", size = 254081, upload-time = "2026-04-25T07:27:45.392Z" }, + { url = "https://files.pythonhosted.org/packages/5d/e2/390d27ae877dc364980ab4d333a07a9766a7c9b69535fe095bd18d06dc7c/zope_interface-8.4-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:892b4b5350e58d6914858f58eb85d39fe9b992640ac6ece695f46c978046554d", size = 258944, upload-time = "2026-04-25T07:27:47.439Z" }, + { url = "https://files.pythonhosted.org/packages/60/d2/993428933830d364d7d710db3f850ee5f3a631a023e598316588da58c406/zope_interface-8.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8d683267a6243526869cb69677dcfc663416d5f87904c1576ddec6e420687d51", size = 259556, upload-time = "2026-04-25T07:27:49.685Z" }, + { url = "https://files.pythonhosted.org/packages/29/82/0e4562eb9e7be8e82facbf1b70a777e9107e903448a81dc9c1246d152ab0/zope_interface-8.4-cp310-cp310-win_amd64.whl", hash = "sha256:f00fd65343d2a241a2b17688a12f5e815aa704ed64f9ca375de5f9e0ae9c9bda", size = 214238, upload-time = "2026-04-25T07:27:51.376Z" }, + { url = "https://files.pythonhosted.org/packages/79/11/bd982648e1e62d7c06a56017fd88d1beea2ebc8d7a5972cce137e774aff2/zope_interface-8.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:8b733af6e89a2b0b8edf5ff7a37988fe4e1788806e84e72127b88c47858f0da6", size = 210908, upload-time = "2026-04-25T07:27:53.363Z" }, + { url = "https://files.pythonhosted.org/packages/2d/4f/fa87d3bd69d22b93fa5b968597a3dd0a297e44aa87e4611b0ca74c4aeec1/zope_interface-8.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:265bad2df2ec070f23ff863249a89b408b11908fd4207662781fd18e3c6fc912", size = 211235, upload-time = "2026-04-25T07:27:55.392Z" }, + { url = "https://files.pythonhosted.org/packages/eb/74/67379f7df4400ee45299c5200f17ec6c493e8a120ff4e5e9d26b09e32956/zope_interface-8.4-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:e195e76767847afb5379ffd67690c17d3c6efdab58dc0e477cf81ac94d5a5a15", size = 259918, upload-time = "2026-04-25T07:27:57.705Z" }, + { url = "https://files.pythonhosted.org/packages/b2/4e/c5106672b5c0b9071ce988d54124277762c3085cf1bc72e965e7173f1c26/zope_interface-8.4-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:5ec1a56b6cf9a757cbbce9da38284a01473b92b96c1517eabd99150f51f1bb69", size = 264343, upload-time = "2026-04-25T07:27:59.96Z" }, + { url = "https://files.pythonhosted.org/packages/fe/49/270c11e54e01b96d2efc59acbeb006a4171b8fafb75926c27d2184c32949/zope_interface-8.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:04c2c9b58e9c177628715d85e94834efa807c1f9f0a2f57ae0f7b553e8266ac4", size = 265629, upload-time = "2026-04-25T07:28:02.086Z" }, + { url = "https://files.pythonhosted.org/packages/b9/03/4ef05ada2230f05f08f579c45b60f127cce2bf379148cb7c21401052ca9d/zope_interface-8.4-cp311-cp311-win_amd64.whl", hash = "sha256:376d0ef005a131b349e2088e302aa094fa23c826d2ec8a7db4b00fb33c71e0d9", size = 214595, upload-time = "2026-04-25T07:28:04.408Z" }, + { url = "https://files.pythonhosted.org/packages/6a/f6/22a304f4061d7ec02e20816d804ab0e844564055b25d471371173c44d73e/zope_interface-8.4-cp311-cp311-win_arm64.whl", hash = "sha256:caffd033b27e311b45e15f01923cc9e73c6bfd8e843b4532e29b59ee432bf893", size = 212904, upload-time = "2026-04-25T07:28:06.045Z" }, + { url = "https://files.pythonhosted.org/packages/b8/96/0017b980424125cf98a9851d8fd3e24939818b7a82ecdd19ae672bb2413f/zope_interface-8.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:84064876ed96ddd0744e3ad5d37134c758d77885e54113567792671405a02bac", size = 211604, upload-time = "2026-04-25T07:28:08.13Z" }, + { url = "https://files.pythonhosted.org/packages/59/4c/2cf5c45477fdd58a2c786d0c0d1817cbaaff8743d98ae72c643c4fe3be7b/zope_interface-8.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:81ed23698bfb588c48b1756129814b890febac971ff6c8a414f82601773145bb", size = 211783, upload-time = "2026-04-25T07:28:10.028Z" }, + { url = "https://files.pythonhosted.org/packages/fa/8c/efabdafc25ed44ef9c1084aad9870bb6c2c9b78e542684efe6865c0f0067/zope_interface-8.4-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:e0b9d7e958657fad414f8272afcdf0b8a873fbbb2bb6a6287232d2f11a232bf8", size = 264752, upload-time = "2026-04-25T07:28:11.773Z" }, + { url = "https://files.pythonhosted.org/packages/53/5a/c4d52c58d5fee4ff67cc02f0dec24d0e84428520f67a52f1e4086f0e7779/zope_interface-8.4-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:eef0a49e041f4dc4d2a6ab894b4fd0c5354e0e8037e731fb953531e59b0d3d33", size = 269829, upload-time = "2026-04-25T07:28:13.988Z" }, + { url = "https://files.pythonhosted.org/packages/16/d2/df8f339c93bb5adee695546ba90d0daa2917338a4792281f6b8e652a9328/zope_interface-8.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8b302f955c36e924e1f4fe70dd9105ff06235857861c6ae72c3b10b016aeee99", size = 269452, upload-time = "2026-04-25T07:28:16.403Z" }, + { url = "https://files.pythonhosted.org/packages/17/4b/bd97b1a21bb2c16d66a42f6c7a43c0a5afcfaf14c68d3b7d2ee6afb28e52/zope_interface-8.4-cp312-cp312-win_amd64.whl", hash = "sha256:4ae6a1e111642dbf724f635424dcaf5a5c8abbde49eac3f452f5323ffaa10232", size = 214420, upload-time = "2026-04-25T07:28:18.405Z" }, + { url = "https://files.pythonhosted.org/packages/7d/85/1477f23cf3b0476608ca987b4338f91439abb5b96564ac26b26d2cde38fd/zope_interface-8.4-cp312-cp312-win_arm64.whl", hash = "sha256:2e9e4aa33b76877af903d5532545e64d24ade0f6f80d9d1a31e6efcea76a60bc", size = 212992, upload-time = "2026-04-25T07:28:20.48Z" }, + { url = "https://files.pythonhosted.org/packages/8e/6a/a08c62bc1fa0e34fe7b8b401646cba4817427c716bfbef6cc88937cd327f/zope_interface-8.4-cp313-cp313-macosx_10_9_x86_64.whl", hash = "sha256:cd55965d715413038774aead54851bc3dbdd74a69f3ce30252182a94407b9905", size = 211924, upload-time = "2026-04-25T07:28:22.219Z" }, + { url = "https://files.pythonhosted.org/packages/50/30/2011f17e00ff078658bc317e1f7eccd7843fc1ce60695b665b0a52c45c1b/zope_interface-8.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0d88c1f106a4f06e074a3ada2d20f4a602e3f2871c4f55726ed5d91e94ec19b1", size = 211995, upload-time = "2026-04-25T07:28:24.107Z" }, + { url = "https://files.pythonhosted.org/packages/25/f3/a16fe884571cfa89271412dbb40def6d6865824428d1e14785a82795100c/zope_interface-8.4-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:36c575356732d59ffd3279ad67e302a6fe517e67db5b061b36b377ee0fa016c4", size = 264443, upload-time = "2026-04-25T07:28:26.401Z" }, + { url = "https://files.pythonhosted.org/packages/83/88/e08923fcd8a8c8704af05a90418b07cd897ac90865925b37d7ad8139adfa/zope_interface-8.4-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:29f09ec8bda65f7b30294328070070a2590b90f252f834ee0817cdb0e2c35f6a", size = 269626, upload-time = "2026-04-25T07:28:28.423Z" }, + { url = "https://files.pythonhosted.org/packages/27/67/96c94cd307f9946d0b0f03402a335f7aae7b4f0b129b5734cc56cc78cb65/zope_interface-8.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:2bc388cebcb753d21eaf2a0481fd6f0ce6840a47300a40dcec0b56bac27d0f97", size = 269583, upload-time = "2026-04-25T07:28:30.434Z" }, + { url = "https://files.pythonhosted.org/packages/e2/d4/7e9fcc8bb0dba5d023b9fca92035d68c018457cc550e9d51746670b76a6b/zope_interface-8.4-cp313-cp313-win_amd64.whl", hash = "sha256:3e5866917ccb57d929e515a1136d729bd3fa4f367965fb16e38a4bc72cb05521", size = 214422, upload-time = "2026-04-25T07:28:32.201Z" }, + { url = "https://files.pythonhosted.org/packages/16/26/b0bcde302f6a4c155d047a8ab5cba1003363031919d6e8f3bcdc139c28a6/zope_interface-8.4-cp313-cp313-win_arm64.whl", hash = "sha256:f1f854bef8bc137519e4413bcc1322d55faad28b20b3ca39f7bec49d2f1b26df", size = 213029, upload-time = "2026-04-25T07:28:34.677Z" }, + { url = "https://files.pythonhosted.org/packages/f6/d5/ca60c8b404b303d9490e1417430a5198a77557dbeb17c1cb31616e432318/zope_interface-8.4-cp314-cp314-macosx_10_9_x86_64.whl", hash = "sha256:7cbb887fdbfaacb4c362dbb487033551646e28013ad5ffe72e96eb260003a1a1", size = 212012, upload-time = "2026-04-25T07:28:36.88Z" }, + { url = "https://files.pythonhosted.org/packages/83/64/6bb9f54250c817e24b39e986f173b6cd21ff658bec6c6cc0baad05d761e4/zope_interface-8.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a5638c6be715116d3453e6d099c299c6844d54810de7445ce116424e905ede06", size = 212071, upload-time = "2026-04-25T07:28:38.742Z" }, + { url = "https://files.pythonhosted.org/packages/c6/cf/42851262e102723058019dc7d0b48210b85a935f79ae32ce60ddccc2e8fb/zope_interface-8.4-cp314-cp314-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:b8147b40bfcd53803870a9519e0879ff066aeecc2fcff8295663c1b17fc38dc2", size = 266075, upload-time = "2026-04-25T07:28:41.084Z" }, + { url = "https://files.pythonhosted.org/packages/d2/a7/e48c79b836f6f0a2c219288e2ec343517f90e95c93de5435a8a23918bf20/zope_interface-8.4-cp314-cp314-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:049ba3c7b38cc400ae08e011617635706e0f442e1d075db1b015246fcbf6091e", size = 269127, upload-time = "2026-04-25T07:28:42.868Z" }, + { url = "https://files.pythonhosted.org/packages/6a/40/0e26f24d3a2f34f0de2cfeaab6458a865284d9d1fa317ab78913aa1f7322/zope_interface-8.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:9c4ac009c2c8e43283842f80387c4d4b41bcbc293391c3b9ab71532ae1ccc301", size = 269446, upload-time = "2026-04-25T07:28:44.97Z" }, + { url = "https://files.pythonhosted.org/packages/91/d5/20310601450367fc35fa28b0544c98d0347b8cc25eaf106a2c4cc36841e1/zope_interface-8.4-cp314-cp314-win_amd64.whl", hash = "sha256:4713bf651ec36e7eea49d2ace4f0e89bec2b33a339674874b1121f2537edc62a", size = 215199, upload-time = "2026-04-25T07:28:47.146Z" }, + { url = "https://files.pythonhosted.org/packages/5b/00/0d22ce75126e31f81baa5889e2a40aad37c8e34d1220cf8b18d744f2b5d9/zope_interface-8.4-cp314-cp314-win_arm64.whl", hash = "sha256:d934497c4b72d5f528d2b5ebe9b8b5a7004b5877948ebd4ea00c2432fb27178f", size = 213178, upload-time = "2026-04-25T07:28:48.868Z" }, +] + +[[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/worker_multiprocessing/README.md b/worker_multiprocessing/README.md new file mode 100644 index 000000000..a4f06f86b --- /dev/null +++ b/worker_multiprocessing/README.md @@ -0,0 +1,93 @@ +# Worker Multiprocessing Sample + + +## Python Concurrency Limitations + +CPU-bound tasks effectively cannot run in parallel in Python due to the [Global Interpreter Lock (GIL)](https://docs.python.org/3/glossary.html#term-global-interpreter-lock). The Python standard library's [`threading` module](https://docs.python.org/3/library/threading.html) provides the following guidance: + +> CPython implementation detail: In CPython, due to the Global Interpreter Lock, only one thread can execute Python code at once (even though certain performance-oriented libraries might overcome this limitation). If you want your application to make better use of the computational resources of multi-core machines, you are advised to use multiprocessing or concurrent.futures.ProcessPoolExecutor. However, threading is still an appropriate model if you want to run multiple I/O-bound tasks simultaneously. + +## Temporal Workflow Tasks in Python + +[Temporal Workflow Tasks](https://docs.temporal.io/tasks#workflow-task) are CPU-bound operations and therefore cannot be run concurrently using threads or an async runtime. Instead, we can use [`concurrent.futures.ProcessPoolExecutor`](https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.ProcessPoolExecutor) or the [`multiprocessing` module](https://docs.python.org/3/library/multiprocessing.html), as suggested by the `threading` documentation, to more appropriately utilize machine resources. + +This sample demonstrates how to use `concurrent.futures.ProcessPoolExecutor` to run multiple workflow worker processes. + +## Running the Sample + +To run, first see the root [README.md](../README.md) for prerequisites. Then execute the following commands from the root directory: + +``` +uv run worker_multiprocessing/worker.py +uv run worker_multiprocessing/starter.py +``` + +Both `worker.py` and `starter.py` have minimal arguments that can be adjusted to modify how the sample runs. + +``` +uv run worker_multiprocessing/worker.py -h + +usage: worker.py [-h] [-w NUM_WORKFLOW_WORKERS] [-a NUM_ACTIVITY_WORKERS] + +options: + -h, --help show this help message and exit + -w, --num-workflow-workers NUM_WORKFLOW_WORKERS + -a, --num-activity-workers NUM_ACTIVITY_WORKERS +``` + +``` +uv run worker_multiprocessing/starter.py -h + +usage: starter.py [-h] [-n NUM_WORKFLOWS] + +options: + -h, --help show this help message and exit + -n, --num-workflows NUM_WORKFLOWS + the number of workflows to execute +``` + +## Example Output + +``` +uv run worker_multiprocessing/worker.py + +starting 2 workflow worker(s) and 1 activity worker(s) +waiting for keyboard interrupt or for all workers to exit +workflow-worker:0 starting +workflow-worker:1 starting +activity-worker:0 starting +workflow-worker:0 shutting down +activity-worker:0 shutting down +workflow-worker:1 shutting down +``` + + +``` +uv run worker_multiprocessing/starter.py + +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19179 | activity-pid:19180 | wf-ending-pid:19179 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +wf-starting-pid:19178 | activity-pid:19180 | wf-ending-pid:19178 +``` diff --git a/worker_multiprocessing/__init__.py b/worker_multiprocessing/__init__.py new file mode 100644 index 000000000..d9e30b8a7 --- /dev/null +++ b/worker_multiprocessing/__init__.py @@ -0,0 +1,2 @@ +WORKFLOW_TASK_QUEUE = "workflow-task-queue" +ACTIVITY_TASK_QUEUE = "activity-task-queue" diff --git a/worker_multiprocessing/activities.py b/worker_multiprocessing/activities.py new file mode 100644 index 000000000..dbbbc6778 --- /dev/null +++ b/worker_multiprocessing/activities.py @@ -0,0 +1,8 @@ +import os + +from temporalio import activity + + +@activity.defn +async def echo_pid_activity(input: str) -> str: + return f"{input} | activity-pid:{os.getpid()}" diff --git a/worker_multiprocessing/starter.py b/worker_multiprocessing/starter.py new file mode 100644 index 000000000..3267694de --- /dev/null +++ b/worker_multiprocessing/starter.py @@ -0,0 +1,48 @@ +import argparse +import asyncio +import uuid + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +from worker_multiprocessing import WORKFLOW_TASK_QUEUE +from worker_multiprocessing.workflows import ParallelizedWorkflow + + +class Args(argparse.Namespace): + num_workflows: int + + +async def main(): + parser = argparse.ArgumentParser() + parser.add_argument( + "-n", + "--num-workflows", + help="the number of workflows to execute", + type=int, + default=25, + ) + args = parser.parse_args(namespace=Args()) + + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Start several workflows + wf_handles = [ + client.execute_workflow( + ParallelizedWorkflow.run, + id=f"greeting-workflow-id-{uuid.uuid4()}", + task_queue=WORKFLOW_TASK_QUEUE, + ) + for _ in range(args.num_workflows) + ] + + # Wait for workflow completion + for wf in asyncio.as_completed(wf_handles): + result = await wf + print(result) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/worker_multiprocessing/worker.py b/worker_multiprocessing/worker.py new file mode 100644 index 000000000..bda69ba63 --- /dev/null +++ b/worker_multiprocessing/worker.py @@ -0,0 +1,146 @@ +import argparse +import asyncio +import concurrent.futures +import dataclasses +import multiprocessing +import traceback +from typing import Literal + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig +from temporalio.runtime import Runtime, TelemetryConfig +from temporalio.worker import PollerBehaviorSimpleMaximum, Worker +from temporalio.worker.workflow_sandbox import ( + SandboxedWorkflowRunner, + SandboxRestrictions, +) + +from worker_multiprocessing import ACTIVITY_TASK_QUEUE, WORKFLOW_TASK_QUEUE +from worker_multiprocessing.activities import echo_pid_activity +from worker_multiprocessing.workflows import ParallelizedWorkflow + +# Immediately prevent the default Runtime from being created to ensure +# each process creates it's own +Runtime.prevent_default() + + +class Args(argparse.Namespace): + num_workflow_workers: int + num_activity_workers: int + + @property + def total_workers(self) -> int: + return self.num_activity_workers + self.num_workflow_workers + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("-w", "--num-workflow-workers", type=int, default=2) + parser.add_argument("-a", "--num-activity-workers", type=int, default=1) + args = parser.parse_args(namespace=Args()) + print( + f"starting {args.num_workflow_workers} workflow worker(s) and {args.num_activity_workers} activity worker(s)" + ) + + # This sample prefers fork to avoid re-importing modules + # and decrease startup time. Fork is not available on all + # operating systems, so we fallback to 'spawn' when not available + try: + mp_ctx = multiprocessing.get_context("fork") + except ValueError: + mp_ctx = multiprocessing.get_context("spawn") # type: ignore + + with concurrent.futures.ProcessPoolExecutor( + args.total_workers, mp_context=mp_ctx + ) as executor: + # Start workflow workers by submitting them to the + # ProcessPoolExecutor + worker_futures = [ + executor.submit(worker_entry, "workflow", i) + for i in range(args.num_workflow_workers) + ] + + # In this sample, we start activity workers as separate processes in the + # same way we do workflow workers. In production, activity workers + # are often deployed separately from workflow workers to account for + # differing scaling characteristics. + worker_futures.extend( + [ + executor.submit(worker_entry, "activity", i) + for i in range(args.num_activity_workers) + ] + ) + + try: + print("waiting for keyboard interrupt or for all workers to exit") + for worker in concurrent.futures.as_completed(worker_futures): + print("ERROR: worker exited unexpectedly") + if worker.exception(): + traceback.print_exception(worker.exception()) + except KeyboardInterrupt: + pass + + +def worker_entry(worker_type: Literal["workflow", "activity"], id: int): + Runtime.set_default(Runtime(telemetry=TelemetryConfig())) + + async def run_worker(): + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + if worker_type == "workflow": + worker = workflow_worker(client) + else: + worker = activity_worker(client) + + try: + print(f"{worker_type}-worker:{id} starting") + await asyncio.shield(worker.run()) + except asyncio.CancelledError: + print(f"{worker_type}-worker:{id} shutting down") + await worker.shutdown() + + asyncio.run(run_worker()) + + +def workflow_worker(client: Client) -> Worker: + """ + Create a workflow worker that is configured to leverage being run + as many child processes. + """ + return Worker( + client, + task_queue=WORKFLOW_TASK_QUEUE, + workflows=[ParallelizedWorkflow], + # Workflow tasks are CPU bound, but generally execute quickly. + # Because we're leveraging multiprocessing to achieve parallelism, + # we want each workflow worker to be confirgured for small workflow + # task processing. + max_concurrent_workflow_tasks=2, + workflow_task_poller_behavior=PollerBehaviorSimpleMaximum(2), + # Allow workflows to access the os module to access the pid + workflow_runner=SandboxedWorkflowRunner( + restrictions=dataclasses.replace( + SandboxRestrictions.default, + invalid_module_members=SandboxRestrictions.invalid_module_members_default.with_child_unrestricted( + "os" + ), + ) + ), + ) + + +def activity_worker(client: Client) -> Worker: + """ + Create a basic activity worker + """ + return Worker( + client, + task_queue=ACTIVITY_TASK_QUEUE, + activities=[echo_pid_activity], + ) + + +if __name__ == "__main__": + main() diff --git a/worker_multiprocessing/workflows.py b/worker_multiprocessing/workflows.py new file mode 100644 index 000000000..04f6b6351 --- /dev/null +++ b/worker_multiprocessing/workflows.py @@ -0,0 +1,22 @@ +import os +from datetime import timedelta + +from temporalio import workflow + +from worker_multiprocessing import ACTIVITY_TASK_QUEUE +from worker_multiprocessing.activities import echo_pid_activity + + +@workflow.defn +class ParallelizedWorkflow: + @workflow.run + async def run(self) -> str: + pid = os.getpid() + activity_result = await workflow.execute_activity( + echo_pid_activity, + f"wf-starting-pid:{pid}", + task_queue=ACTIVITY_TASK_QUEUE, + start_to_close_timeout=timedelta(seconds=10), + ) + + return f"{activity_result} | wf-ending-pid:{pid}" diff --git a/worker_specific_task_queues/README.md b/worker_specific_task_queues/README.md index 8e8e577a8..6fb17e6e3 100644 --- a/worker_specific_task_queues/README.md +++ b/worker_specific_task_queues/README.md @@ -21,19 +21,19 @@ Activities have been artificially slowed with `time.sleep(3)` to simulate doing ### Running This Sample -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory to start the +To run, first see [README.md](../README.md) for prerequisites. Then, run the following from the root directory to start the worker: - poetry run python worker.py + uv run worker_specific_task_queues/worker.py This will start the worker. Then, in another terminal, run the following to execute the workflow: - poetry run python starter.py + uv run worker_specific_task_queues/starter.py #### Example output: ```bash -(temporalio-samples-py3.10) user@machine:~/samples-python/activities_sticky_queues$ poetry run python starter.py +(temporalio-samples-py3.10) user@machine:~/samples-python/activities_sticky_queues$ uv run starter.py Output checksums: 49d7419e6cba3575b3158f62d053f922aa08b23c64f05411cda3213b56c84ba4 49d7419e6cba3575b3158f62d053f922aa08b23c64f05411cda3213b56c84ba4 diff --git a/worker_specific_task_queues/starter.py b/worker_specific_task_queues/starter.py index c55c63bec..61009436f 100644 --- a/worker_specific_task_queues/starter.py +++ b/worker_specific_task_queues/starter.py @@ -2,13 +2,16 @@ from uuid import uuid4 from temporalio.client import Client +from temporalio.envconfig import ClientConfig from worker_specific_task_queues.tasks import FileProcessing async def main(): # Connect client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Start 10 concurrent workflows futures = [] diff --git a/worker_specific_task_queues/worker.py b/worker_specific_task_queues/worker.py index 30ea18b6c..95824cfd0 100644 --- a/worker_specific_task_queues/worker.py +++ b/worker_specific_task_queues/worker.py @@ -6,6 +6,7 @@ from temporalio import activity from temporalio.client import Client +from temporalio.envconfig import ClientConfig from temporalio.worker import Worker from worker_specific_task_queues import tasks @@ -31,7 +32,9 @@ async def select_task_queue() -> str: return task_queue # Start client - client = await Client.connect("localhost:7233") + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) # Run a worker to distribute the workflows run_futures = [] diff --git a/worker_versioning/README.md b/worker_versioning/README.md index 04f958bf7..0ff423f1b 100644 --- a/worker_versioning/README.md +++ b/worker_versioning/README.md @@ -1,12 +1,26 @@ -# Worker Versioning Sample +## Worker Versioning -This sample shows you how you can use the [Worker Versioning](https://docs.temporal.io/workers#worker-versioning) -feature to deploy incompatible changes to workflow code more easily. +This sample demonstrates how to use Temporal's Worker Versioning feature to safely deploy updates to workflow and activity code. It shows the difference between auto-upgrading and pinned workflows, and how to manage worker deployments with different build IDs. -To run, first see [README.md](../README.md) for prerequisites. Then, run the following from this directory: +The sample creates multiple worker versions (1.0, 1.1, and 2.0) within one deployment and demonstrates: +- **Auto-upgrading workflows**: Automatically and controllably migrate to newer worker versions +- **Pinned workflows**: Stay on the original worker version throughout their lifecycle +- **Compatible vs incompatible changes**: How to make safe updates using `workflow.patched` - poetry run python example.py +### Steps to run this sample: -This will add some Build IDs to a Task Queue, and will also run Workers with those versions to show how you can -mark add versions, mark them as compatible (or not) with one another, and run Workers at specific versions. You'll -see that only the workers only process Workflow Tasks assigned versions they are compatible with. +1) Run a [Temporal service](https://github.com/temporalio/samples-python/tree/main/#how-to-use). + Ensure that you're using at least Server version 1.28.0 (CLI version 1.4.0). + +2) Start the main application (this will guide you through the sample): +```bash +uv run worker_versioning/app.py +``` + +3) Follow the prompts to start workers in separate terminals: + - When prompted, run: `uv run worker_versioning/workerv1.py` + - When prompted, run: `uv run worker_versioning/workerv1_1.py` + - When prompted, run: `uv run worker_versioning/workerv2.py` + +The sample will show how auto-upgrading workflows migrate to newer workers while pinned workflows +remain on their original version. diff --git a/worker_versioning/activities.py b/worker_versioning/activities.py index 4115e0fd2..50c0700f6 100644 --- a/worker_versioning/activities.py +++ b/worker_versioning/activities.py @@ -1,11 +1,23 @@ +from dataclasses import dataclass + from temporalio import activity +@dataclass +class IncompatibleActivityInput: + """Input for the incompatible activity.""" + + called_by: str + more_data: str + + @activity.defn -async def greet(inp: str) -> str: - return f"Hi from {inp}" +async def some_activity(called_by: str) -> str: + """Basic activity for the workflow.""" + return f"some_activity called by {called_by}" @activity.defn -async def super_greet(inp: str, some_number: int) -> str: - return f"Hi from {inp} with {some_number}" +async def some_incompatible_activity(input_data: IncompatibleActivityInput) -> str: + """Incompatible activity that takes different input.""" + return f"some_incompatible_activity called by {input_data.called_by} with {input_data.more_data}" diff --git a/worker_versioning/app.py b/worker_versioning/app.py new file mode 100644 index 000000000..78e1d6417 --- /dev/null +++ b/worker_versioning/app.py @@ -0,0 +1,142 @@ +"""Main application for the worker versioning sample.""" + +import asyncio +import logging +import uuid + +from temporalio.client import Client +from temporalio.envconfig import ClientConfig + +TASK_QUEUE = "worker-versioning" +DEPLOYMENT_NAME = "my-deployment" + +logging.basicConfig(level=logging.INFO) + + +async def main() -> None: + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Wait for v1 worker and set as current version + logging.info( + "Waiting for v1 worker to appear. Run `python worker_versioning/workerv1.py` in another terminal" + ) + await wait_for_worker_and_make_current(client, "1.0") + + # Start auto-upgrading and pinned workflows. Importantly, note that when we start the workflows, + # we are using a workflow type name which does *not* include the version number. We defined them + # with versioned names so we could show changes to the code, but here when the client invokes + # them, we're demonstrating that the client remains version-agnostic. + auto_upgrade_workflow_id = "worker-versioning-versioning-autoupgrade_" + str( + uuid.uuid4() + ) + auto_upgrade_execution = await client.start_workflow( + "AutoUpgrading", + id=auto_upgrade_workflow_id, + task_queue=TASK_QUEUE, + ) + + pinned_workflow_id = "worker-versioning-versioning-pinned_" + str(uuid.uuid4()) + pinned_execution = await client.start_workflow( + "Pinned", + id=pinned_workflow_id, + task_queue=TASK_QUEUE, + ) + + logging.info("Started auto-upgrading workflow: %s", auto_upgrade_execution.id) + logging.info("Started pinned workflow: %s", pinned_execution.id) + + # Signal both workflows a few times to drive them + await advance_workflows(auto_upgrade_execution, pinned_execution) + + # Now wait for the v1.1 worker to appear and become current + logging.info( + "Waiting for v1.1 worker to appear. Run `python worker_versioning/workerv1_1.py` in another terminal" + ) + await wait_for_worker_and_make_current(client, "1.1") + + # Once it has, we will continue to advance the workflows. + # The auto-upgrade workflow will now make progress on the new worker, while the pinned one will + # keep progressing on the old worker. + await advance_workflows(auto_upgrade_execution, pinned_execution) + + # Finally we'll start the v2 worker, and again it'll become the new current version + logging.info( + "Waiting for v2 worker to appear. Run `python worker_versioning/workerv2.py` in another terminal" + ) + await wait_for_worker_and_make_current(client, "2.0") + + # Once it has we'll start one more new workflow, another pinned one, to demonstrate that new + # pinned workflows start on the current version. + pinned_workflow_2_id = "worker-versioning-versioning-pinned-2_" + str(uuid.uuid4()) + pinned_execution_2 = await client.start_workflow( + "Pinned", + id=pinned_workflow_2_id, + task_queue=TASK_QUEUE, + ) + logging.info("Started pinned workflow v2: %s", pinned_execution_2.id) + + # Now we'll conclude all workflows. You should be able to see in your server UI that the pinned + # workflow always stayed on 1.0, while the auto-upgrading workflow migrated. + for handle in [auto_upgrade_execution, pinned_execution, pinned_execution_2]: + await handle.signal("do_next_signal", "conclude") + await handle.result() + + logging.info("All workflows completed") + + +async def advance_workflows(auto_upgrade_execution, pinned_execution): + """Signal both workflows a few times to drive them.""" + for i in range(3): + await auto_upgrade_execution.signal("do_next_signal", "do-activity") + await pinned_execution.signal("do_next_signal", "some-signal") + + +async def wait_for_worker_and_make_current(client: Client, build_id: str) -> None: + import temporalio.api.workflowservice.v1 as wsv1 + from temporalio.common import WorkerDeploymentVersion + + target_version = WorkerDeploymentVersion( + deployment_name=DEPLOYMENT_NAME, build_id=build_id + ) + + while True: + try: + describe_request = wsv1.DescribeWorkerDeploymentRequest( + namespace=client.namespace, + deployment_name=DEPLOYMENT_NAME, + ) + response = await client.workflow_service.describe_worker_deployment( + describe_request + ) + + for version_summary in response.worker_deployment_info.version_summaries: + if ( + version_summary.deployment_version.deployment_name + == target_version.deployment_name + and version_summary.deployment_version.build_id + == target_version.build_id + ): + break + else: + await asyncio.sleep(1) + continue + + break + + except Exception: + await asyncio.sleep(1) + continue + + # Once the version is available, set it as current + set_request = wsv1.SetWorkerDeploymentCurrentVersionRequest( + namespace=client.namespace, + deployment_name=DEPLOYMENT_NAME, + build_id=target_version.build_id, + ) + await client.workflow_service.set_worker_deployment_current_version(set_request) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/worker_versioning/example.py b/worker_versioning/example.py deleted file mode 100644 index 97354303b..000000000 --- a/worker_versioning/example.py +++ /dev/null @@ -1,116 +0,0 @@ -import asyncio -import uuid - -from temporalio.client import BuildIdOpAddNewCompatible, BuildIdOpAddNewDefault, Client -from temporalio.worker import Worker - -from worker_versioning.activities import greet, super_greet -from worker_versioning.workflow_v1 import MyWorkflow as MyWorkflowV1 -from worker_versioning.workflow_v1_1 import MyWorkflow as MyWorkflowV1_1 -from worker_versioning.workflow_v2 import MyWorkflow as MyWorkflowV2 - - -async def main(): - client = await Client.connect("localhost:7233") - task_queue = f"worker-versioning-{uuid.uuid4()}" - - # Start a 1.0 worker - async with Worker( - client, - task_queue=task_queue, - workflows=[MyWorkflowV1], - activities=[greet, super_greet], - build_id="1.0", - use_worker_versioning=True, - ): - # Add 1.0 as the default version for the queue - await client.update_worker_build_id_compatibility( - task_queue, BuildIdOpAddNewDefault("1.0") - ) - - # Start a workflow which will run on the 1.0 worker - handle = await client.start_workflow( - MyWorkflowV1.run, - task_queue=task_queue, - id=f"worker-versioning-v1-{uuid.uuid4()}", - ) - # Signal the workflow to proceed - await handle.signal(MyWorkflowV1.proceeder, "go") - - # Give a chance for the worker to process the signal - # TODO Better? - await asyncio.sleep(1) - - # Add 1.1 as the default version for the queue, compatible with 1.0 - await client.update_worker_build_id_compatibility( - task_queue, BuildIdOpAddNewCompatible("1.1", "1.0") - ) - - # Stop the old worker, and start a 1.1 worker. We do this to speed along the example, since the - # 1.0 worker may continue to process tasks briefly after we make 1.1 the new default. - async with Worker( - client, - task_queue=task_queue, - workflows=[MyWorkflowV1_1], - activities=[greet, super_greet], - build_id="1.1", - use_worker_versioning=True, - ): - # Continue driving the workflow. Take note that the new version of the workflow run by the 1.1 - # worker is the one that takes over! You might see a workflow task timeout, if the 1.0 worker is - # processing a task as the version update happens. That's normal. - await handle.signal(MyWorkflowV1.proceeder, "go") - - # Add a new *incompatible* version to the task queue, which will become the new overall default for the queue. - await client.update_worker_build_id_compatibility( - task_queue, BuildIdOpAddNewDefault("2.0") - ) - - # Start a 2.0 worker - async with Worker( - client, - task_queue=task_queue, - workflows=[MyWorkflowV2], - activities=[greet, super_greet], - build_id="2.0", - use_worker_versioning=True, - ): - # Start a new workflow. Note that it will run on the new 2.0 version, without the client invocation changing - # at all! Note here we can use `MyWorkflowV1.run` because the signature of the workflow has not changed. - handle2 = await client.start_workflow( - MyWorkflowV1.run, - task_queue=task_queue, - id=f"worker-versioning-v2-{uuid.uuid4()}", - ) - - # Drive both workflows once more before concluding them. The first workflow will continue running on the 1.1 - # worker. - await handle.signal(MyWorkflowV1.proceeder, "go") - await handle2.signal(MyWorkflowV1.proceeder, "go") - await handle.signal(MyWorkflowV1.proceeder, "finish") - await handle2.signal(MyWorkflowV1.proceeder, "finish") - - # Wait for both workflows to complete - await handle.result() - await handle2.result() - - # Lastly we'll demonstrate how you can use the gRPC api to determine if certain build IDs are ready to be - # retired. There's more information in the documentation, but here's a quick example that shows us how to - # tell when the 1.0 worker can be retired: - - # There is a 5 minute buffer before we will consider IDs no longer reachable by new workflows, to - # account for replication in multi-cluster setups. Uncomment the following line to wait long enough to see - # the 1.0 worker become unreachable. - # await asyncio.sleep(60 * 5) - reachability = await client.get_worker_task_reachability( - build_ids=["2.0", "1.0", "1.1"] - ) - - if not reachability.build_id_reachability["1.0"].task_queue_reachability[ - task_queue - ]: - print("1.0 is ready to be retired!") - - -if __name__ == "__main__": - asyncio.run(main()) diff --git a/worker_versioning/workerv1.py b/worker_versioning/workerv1.py new file mode 100644 index 000000000..221b5ca93 --- /dev/null +++ b/worker_versioning/workerv1.py @@ -0,0 +1,43 @@ +"""Worker v1 for the worker versioning sample.""" + +import asyncio +import logging + +from temporalio.client import Client +from temporalio.common import WorkerDeploymentVersion +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker, WorkerDeploymentConfig + +from worker_versioning.activities import some_activity, some_incompatible_activity +from worker_versioning.app import DEPLOYMENT_NAME, TASK_QUEUE +from worker_versioning.workflows import AutoUpgradingWorkflowV1, PinnedWorkflowV1 + +logging.basicConfig(level=logging.INFO) + + +async def main() -> None: + """Run worker v1.""" + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect("localhost:7233") + + # Create worker v1 + worker = Worker( + client, + task_queue=TASK_QUEUE, + workflows=[AutoUpgradingWorkflowV1, PinnedWorkflowV1], + activities=[some_activity, some_incompatible_activity], + deployment_config=WorkerDeploymentConfig( + version=WorkerDeploymentVersion( + deployment_name=DEPLOYMENT_NAME, build_id="1.0" + ), + use_worker_versioning=True, + ), + ) + + logging.info("Starting worker v1 (build 1.0)") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/worker_versioning/workerv1_1.py b/worker_versioning/workerv1_1.py new file mode 100644 index 000000000..4f21d6166 --- /dev/null +++ b/worker_versioning/workerv1_1.py @@ -0,0 +1,43 @@ +"""Worker v1.1 for the worker versioning sample.""" + +import asyncio +import logging + +from temporalio.client import Client +from temporalio.common import WorkerDeploymentVersion +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker, WorkerDeploymentConfig + +from worker_versioning.activities import some_activity, some_incompatible_activity +from worker_versioning.app import DEPLOYMENT_NAME, TASK_QUEUE +from worker_versioning.workflows import AutoUpgradingWorkflowV1b, PinnedWorkflowV1 + +logging.basicConfig(level=logging.INFO) + + +async def main() -> None: + """Run worker v1.1.""" + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Create worker v1.1 + worker = Worker( + client, + task_queue=TASK_QUEUE, + workflows=[AutoUpgradingWorkflowV1b, PinnedWorkflowV1], + activities=[some_activity, some_incompatible_activity], + deployment_config=WorkerDeploymentConfig( + version=WorkerDeploymentVersion( + deployment_name=DEPLOYMENT_NAME, build_id="1.1" + ), + use_worker_versioning=True, + ), + ) + + logging.info("Starting worker v1.1 (build 1.1)") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/worker_versioning/workerv2.py b/worker_versioning/workerv2.py new file mode 100644 index 000000000..557f70abf --- /dev/null +++ b/worker_versioning/workerv2.py @@ -0,0 +1,43 @@ +"""Worker v2 for the worker versioning sample.""" + +import asyncio +import logging + +from temporalio.client import Client +from temporalio.common import WorkerDeploymentVersion +from temporalio.envconfig import ClientConfig +from temporalio.worker import Worker, WorkerDeploymentConfig + +from worker_versioning.activities import some_activity, some_incompatible_activity +from worker_versioning.app import DEPLOYMENT_NAME, TASK_QUEUE +from worker_versioning.workflows import AutoUpgradingWorkflowV1b, PinnedWorkflowV2 + +logging.basicConfig(level=logging.INFO) + + +async def main() -> None: + """Run worker v2.""" + config = ClientConfig.load_client_connect_config() + config.setdefault("target_host", "localhost:7233") + client = await Client.connect(**config) + + # Create worker v2 + worker = Worker( + client, + task_queue=TASK_QUEUE, + workflows=[AutoUpgradingWorkflowV1b, PinnedWorkflowV2], + activities=[some_activity, some_incompatible_activity], + deployment_config=WorkerDeploymentConfig( + version=WorkerDeploymentVersion( + deployment_name=DEPLOYMENT_NAME, build_id="2.0" + ), + use_worker_versioning=True, + ), + ) + + logging.info("Starting worker v2 (build 2.0)") + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/worker_versioning/workflow_v1.py b/worker_versioning/workflow_v1.py deleted file mode 100644 index 1cef90958..000000000 --- a/worker_versioning/workflow_v1.py +++ /dev/null @@ -1,27 +0,0 @@ -from datetime import timedelta - -from temporalio import workflow - -with workflow.unsafe.imports_passed_through(): - from worker_versioning.activities import greet - - -@workflow.defn -class MyWorkflow: - """The 1.0 version of the workflow we'll be making changes to""" - - should_finish: bool = False - - @workflow.run - async def run(self) -> str: - workflow.logger.info("Running workflow V1") - await workflow.wait_condition(lambda: self.should_finish) - return "Concluded workflow on V1" - - @workflow.signal - async def proceeder(self, inp: str): - await workflow.execute_activity( - greet, "V1", start_to_close_timeout=timedelta(seconds=5) - ) - if inp == "finish": - self.should_finish = True diff --git a/worker_versioning/workflow_v1_1.py b/worker_versioning/workflow_v1_1.py deleted file mode 100644 index e2f229433..000000000 --- a/worker_versioning/workflow_v1_1.py +++ /dev/null @@ -1,45 +0,0 @@ -from datetime import timedelta - -from temporalio import workflow - -with workflow.unsafe.imports_passed_through(): - from worker_versioning.activities import greet, super_greet - - -@workflow.defn -class MyWorkflow: - """ - The 1.1 version of the workflow, which is compatible with the first version. - - The compatible changes we've made are: - - Altering the log lines - - Using the `patched` API to properly introduce branching behavior while maintaining - compatibility - """ - - should_finish: bool = False - - @workflow.run - async def run(self) -> str: - workflow.logger.info("Running workflow V1.1") - await workflow.wait_condition(lambda: self.should_finish) - return "Concluded workflow on V1.1" - - @workflow.signal - async def proceeder(self, inp: str): - if workflow.patched("different-activity"): - await workflow.execute_activity( - super_greet, - args=["V1.1", 100], - start_to_close_timeout=timedelta(seconds=5), - ) - else: - # Note it is a valid compatible change to alter the input to an activity. However, because - # we're using the patched API, this branch would only be taken if the workflow was started on - # a v1 worker. - await workflow.execute_activity( - greet, "V1.1", start_to_close_timeout=timedelta(seconds=5) - ) - - if inp == "finish": - self.should_finish = True diff --git a/worker_versioning/workflow_v2.py b/worker_versioning/workflow_v2.py deleted file mode 100644 index dcb0a20e4..000000000 --- a/worker_versioning/workflow_v2.py +++ /dev/null @@ -1,36 +0,0 @@ -import asyncio -from datetime import timedelta - -from temporalio import workflow - -with workflow.unsafe.imports_passed_through(): - from worker_versioning.activities import greet - - -@workflow.defn -class MyWorkflow: - """ - The 2.0 version of the workflow, which is fully incompatible with the other workflows, since it - alters the sequence of commands without using `patched`. - """ - - should_finish: bool = False - - @workflow.run - async def run(self) -> str: - workflow.logger.info("Running workflow V2") - await workflow.wait_condition(lambda: self.should_finish) - return "Concluded workflow on V2" - - @workflow.signal - async def proceeder(self, inp: str): - await asyncio.sleep(1) - await workflow.execute_activity( - greet, "V2", start_to_close_timeout=timedelta(seconds=5) - ) - await workflow.execute_activity( - greet, "V2", start_to_close_timeout=timedelta(seconds=5) - ) - - if inp == "finish": - self.should_finish = True diff --git a/worker_versioning/workflows.py b/worker_versioning/workflows.py new file mode 100644 index 000000000..a09c371a8 --- /dev/null +++ b/worker_versioning/workflows.py @@ -0,0 +1,189 @@ +"""Workflow definitions for the worker versioning sample.""" + +from datetime import timedelta + +from temporalio import common, workflow + +with workflow.unsafe.imports_passed_through(): + from worker_versioning.activities import ( + IncompatibleActivityInput, + some_activity, + some_incompatible_activity, + ) + + +@workflow.defn( + name="AutoUpgrading", versioning_behavior=common.VersioningBehavior.AUTO_UPGRADE +) +class AutoUpgradingWorkflowV1: + """AutoUpgradingWorkflowV1 will automatically move to the latest worker version. We'll be making + changes to it, which must be replay safe. + + Note that generally you won't want or need to include a version number in your workflow name if + you're using the worker versioning feature. This sample does it to illustrate changes to the + same code over time - but really what we're demonstrating here is the evolution of what would + have been one workflow definition. + """ + + def __init__(self) -> None: + self.signals: list[str] = [] + + @workflow.run + async def run(self) -> None: + workflow.logger.info( + "Changing workflow v1 started.", extra={"StartTime": workflow.now()} + ) + + # This workflow will listen for signals from our starter, and upon each signal either run + # an activity, or conclude execution. + while True: + await workflow.wait_condition(lambda: len(self.signals) > 0) + signal = self.signals.pop(0) + + if signal == "do-activity": + workflow.logger.info("Changing workflow v1 running activity") + await workflow.execute_activity( + some_activity, "v1", start_to_close_timeout=timedelta(seconds=10) + ) + else: + workflow.logger.info("Concluding workflow v1") + return + + @workflow.signal + async def do_next_signal(self, signal: str) -> None: + """Signal to perform next action.""" + self.signals.append(signal) + + +@workflow.defn( + name="AutoUpgrading", versioning_behavior=common.VersioningBehavior.AUTO_UPGRADE +) +class AutoUpgradingWorkflowV1b: + """AutoUpgradingWorkflowV1b represents us having made *compatible* changes to + AutoUpgradingWorkflowV1. + + The compatible changes we've made are: + - Altering the log lines + - Using the workflow.patched API to properly introduce branching behavior while maintaining + compatibility + """ + + def __init__(self) -> None: + self.signals: list[str] = [] + + @workflow.run + async def run(self) -> None: + workflow.logger.info( + "Changing workflow v1b started.", extra={"StartTime": workflow.now()} + ) + + # This workflow will listen for signals from our starter, and upon each signal either run + # an activity, or conclude execution. + while True: + await workflow.wait_condition(lambda: len(self.signals) > 0) + signal = self.signals.pop(0) + + if signal == "do-activity": + workflow.logger.info("Changing workflow v1b running activity") + if workflow.patched("DifferentActivity"): + await workflow.execute_activity( + some_incompatible_activity, + IncompatibleActivityInput(called_by="v1b", more_data="hello!"), + start_to_close_timeout=timedelta(seconds=10), + ) + else: + # Note it is a valid compatible change to alter the input to an activity. + # However, because we're using the patched API, this branch will never be + # taken. + await workflow.execute_activity( + some_activity, + "v1b", + start_to_close_timeout=timedelta(seconds=10), + ) + else: + workflow.logger.info("Concluding workflow v1b") + break + + @workflow.signal + async def do_next_signal(self, signal: str) -> None: + """Signal to perform next action.""" + self.signals.append(signal) + + +@workflow.defn(name="Pinned", versioning_behavior=common.VersioningBehavior.PINNED) +class PinnedWorkflowV1: + """PinnedWorkflowV1 demonstrates a workflow that likely has a short lifetime, and we want to always + stay pinned to the same version it began on. + + Note that generally you won't want or need to include a version number in your workflow name if + you're using the worker versioning feature. This sample does it to illustrate changes to the + same code over time - but really what we're demonstrating here is the evolution of what would + have been one workflow definition. + """ + + def __init__(self) -> None: + self.signals: list[str] = [] + + @workflow.run + async def run(self) -> None: + workflow.logger.info( + "Pinned Workflow v1 started.", extra={"StartTime": workflow.now()} + ) + + while True: + await workflow.wait_condition(lambda: len(self.signals) > 0) + signal = self.signals.pop(0) + if signal == "conclude": + break + + await workflow.execute_activity( + some_activity, + "Pinned-v1", + start_to_close_timeout=timedelta(seconds=10), + ) + + @workflow.signal + async def do_next_signal(self, signal: str) -> None: + """Signal to perform next action.""" + self.signals.append(signal) + + +@workflow.defn(name="Pinned", versioning_behavior=common.VersioningBehavior.PINNED) +class PinnedWorkflowV2: + """PinnedWorkflowV2 has changes that would make it incompatible with v1, and aren't protected by + a patch. + """ + + def __init__(self) -> None: + self.signals: list[str] = [] + + @workflow.run + async def run(self) -> None: + workflow.logger.info( + "Pinned Workflow v2 started.", extra={"StartTime": workflow.now()} + ) + + # Here we call an activity where we didn't before, which is an incompatible change. + await workflow.execute_activity( + some_activity, + "Pinned-v2", + start_to_close_timeout=timedelta(seconds=10), + ) + + while True: + await workflow.wait_condition(lambda: len(self.signals) > 0) + signal = self.signals.pop(0) + if signal == "conclude": + break + + # We've also changed the activity type here, another incompatible change + await workflow.execute_activity( + some_incompatible_activity, + IncompatibleActivityInput(called_by="Pinned-v2", more_data="hi"), + start_to_close_timeout=timedelta(seconds=10), + ) + + @workflow.signal + async def do_next_signal(self, signal: str) -> None: + """Signal to perform next action.""" + self.signals.append(signal) diff --git a/workflow_streams/README.md b/workflow_streams/README.md new file mode 100644 index 000000000..f06bed399 --- /dev/null +++ b/workflow_streams/README.md @@ -0,0 +1,120 @@ +# Workflow Streams + +> **Experimental.** These samples use +> `temporalio.contrib.workflow_streams`, which ships in +> `temporalio>=1.27.0`. The module is considered experimental and its +> API may change in future versions. + +`temporalio.contrib.workflow_streams` lets a workflow host a durable, +offset-addressed event channel. The workflow holds an append-only log; +external clients (activities, starters, web backends) publish to topics via +signals and subscribe via long-poll updates. This packages the +boilerplate — batching, offset tracking, topic filtering, +continue-as-new hand-off — into a reusable stream. + +This directory has five scenarios. The first four share one worker; +the fifth has its own worker because it needs the `openai` package +and an `OPENAI_API_KEY`. + +**Scenario 1 — basic publish/subscribe with heterogeneous topics:** + +* `workflows/order_workflow.py` — a workflow that hosts a + `WorkflowStream` and publishes status events as it processes an order. +* `activities/payment_activity.py` — an activity that publishes + intermediate progress to the stream via + `WorkflowStreamClient.from_within_activity()`. +* `run_publisher.py` — starts the workflow, subscribes to both topics, + decodes each by `item.topic`, and prints events as they arrive. + +**Scenario 2 — reconnecting subscriber:** + +* `workflows/pipeline_workflow.py` — a multi-stage pipeline that + publishes stage transitions over ~10 seconds, leaving room for a + consumer to disconnect and reconnect mid-run. +* `run_reconnecting_subscriber.py` — connects, reads a couple of + events, "disconnects," then reopens a fresh client and resumes via + `subscribe(from_offset=...)`. This is the central Workflow Streams + use case: a consumer can disappear (page refresh, server restart, + laptop closed) and resume later without missing events or seeing + duplicates. + +**Scenario 3 — external (non-Activity) publisher:** + +* `workflows/hub_workflow.py` — a passive workflow that does no work + of its own; it exists only to host a `WorkflowStream` and shut down + when signaled. +* `run_external_publisher.py` — starts the hub, then publishes events + into it from a plain Python coroutine using + `WorkflowStreamClient.create(client, workflow_id)`. A subscriber + task runs alongside; when the publisher is done it emits a sentinel + event and signals `HubWorkflow.close`. The shape that fits a + backend service or scheduled job pushing events into a workflow it + didn't itself start. + +**Scenario 4 — bounded log via `truncate()`:** + +* `workflows/ticker_workflow.py` — a long-running workflow that + publishes events at a fixed cadence and calls + `self.stream.truncate(...)` periodically to bound log growth, + keeping only the most recent N entries. +* `run_truncating_ticker.py` — runs a fast subscriber and a slow + subscriber side by side. The fast one keeps up and sees every + offset in order; the slow one falls behind a truncation and + silently jumps forward to the new base offset. The output makes + the trade visible: bounded log size in exchange for intermediate + events being invisible to slow consumers. + +**Scenario 5 — LLM streaming:** + +* `workflows/llm_workflow.py` — hosts a `WorkflowStream` and runs + `stream_completion` as a single activity. The workflow itself + does no streaming; the activity owns the non-deterministic OpenAI + call. +* `activities/llm_activity.py` — calls + `openai.AsyncOpenAI().chat.completions.create(stream=True)`, + publishes each token chunk on the `delta` topic, the final + accumulated text on `complete`, and a `RetryEvent` on `retry` + when running on attempt > 1. +* `run_llm.py` — subscribes to all three topics, renders deltas to + the terminal as they arrive, and on a `retry` event uses ANSI + escapes to rewind the printed output before the retried attempt + re-publishes. + +Scenario 5 runs on its own worker (`run_llm_worker.py`, on +`workflow-stream-llm-task-queue`) because it needs the `openai` +dependency and an `OPENAI_API_KEY`, and because killing this worker +mid-stream is the easiest way to demonstrate retry handling without +disrupting the other four scenarios. + +## Run it + +For scenarios 1–4, start the shared worker: + +```bash +uv run workflow_streams/run_worker.py +``` + +For scenario 5, install the extra, export the key, and start the +LLM worker: + +```bash +uv sync --group llm-stream +export OPENAI_API_KEY=... +uv run workflow_streams/run_llm_worker.py +``` + +Then in another terminal, pick a scenario: + +```bash +uv run workflow_streams/run_publisher.py # scenario 1 +uv run workflow_streams/run_reconnecting_subscriber.py # scenario 2 +uv run workflow_streams/run_external_publisher.py # scenario 3 +uv run workflow_streams/run_truncating_ticker.py # scenario 4 +uv run workflow_streams/run_llm.py # scenario 5 +``` + +To exercise scenario 5's retry path, kill `run_llm_worker.py` +(`Ctrl-C`) while output is streaming and start it again. The +activity's next attempt sends a `RetryEvent` first; the consumer +clears its on-screen output via ANSI escapes and re-renders from +scratch. diff --git a/workflow_streams/__init__.py b/workflow_streams/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/workflow_streams/activities/__init__.py b/workflow_streams/activities/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/workflow_streams/activities/llm_activity.py b/workflow_streams/activities/llm_activity.py new file mode 100644 index 000000000..aebe80ec7 --- /dev/null +++ b/workflow_streams/activities/llm_activity.py @@ -0,0 +1,71 @@ +from __future__ import annotations + +from datetime import timedelta + +from openai import AsyncOpenAI +from temporalio import activity +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from workflow_streams.llm_shared import ( + TOPIC_COMPLETE, + TOPIC_DELTA, + TOPIC_RETRY, + LLMInput, + RetryEvent, + TextComplete, + TextDelta, +) + + +@activity.defn +async def stream_completion(input: LLMInput) -> str: + """Stream an LLM completion to the parent workflow's stream. + + Activity-as-publisher: each delta from the OpenAI streaming API is + pushed to the workflow's stream as a ``TextDelta`` event on the + ``delta`` topic. The accumulated full text returns as the + activity's result and is also published on the ``complete`` topic + as a terminator. On retry attempts (``activity.info().attempt > 1``) + a ``RetryEvent`` lands on the ``retry`` topic before the new + attempt's deltas, so consumers can reset their accumulated state + instead of concatenating the failed attempt's partial output with + the retried attempt's full output. + + No ``force_flush=True``: the 200ms ``batch_interval`` is fast + enough for an interactive feel, and the WorkflowStreamClient's + ``__aexit__`` cancels a sleeping flusher cleanly. + """ + stream_client = WorkflowStreamClient.from_within_activity( + batch_interval=timedelta(milliseconds=200), + ) + # Disable provider-side retries; let Temporal own retry policy at + # the activity layer. + openai_client = AsyncOpenAI(max_retries=0) + + async with stream_client: + deltas = stream_client.topic(TOPIC_DELTA, type=TextDelta) + complete = stream_client.topic(TOPIC_COMPLETE, type=TextComplete) + retry = stream_client.topic(TOPIC_RETRY, type=RetryEvent) + + attempt = activity.info().attempt + if attempt > 1: + retry.publish(RetryEvent(attempt=attempt)) + + full: list[str] = [] + oai_stream = await openai_client.chat.completions.create( + model=input.model, + messages=[{"role": "user", "content": input.prompt}], + stream=True, + ) + async for chunk in oai_stream: + if not chunk.choices: + continue + text = chunk.choices[0].delta.content + if not text: + continue + deltas.publish(TextDelta(text=text)) + full.append(text) + + full_text = "".join(full) + complete.publish(TextComplete(full_text=full_text)) + return full_text diff --git a/workflow_streams/activities/payment_activity.py b/workflow_streams/activities/payment_activity.py new file mode 100644 index 000000000..b3b2aa297 --- /dev/null +++ b/workflow_streams/activities/payment_activity.py @@ -0,0 +1,30 @@ +from __future__ import annotations + +import asyncio +from datetime import timedelta + +from temporalio import activity +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from workflow_streams.shared import TOPIC_PROGRESS, ProgressEvent + + +@activity.defn +async def charge_card(order_id: str) -> str: + """Pretend to charge a card, publishing progress to the parent workflow. + + `WorkflowStreamClient.from_within_activity()` reads the parent + workflow id and the Temporal client from the activity context, so + this activity can push events back without any wiring. + """ + client = WorkflowStreamClient.from_within_activity( + batch_interval=timedelta(milliseconds=200) + ) + async with client: + progress = client.topic(TOPIC_PROGRESS, type=ProgressEvent) + progress.publish(ProgressEvent(message="charging card...")) + await asyncio.sleep(1.0) + progress.publish( + ProgressEvent(message="card charged"), + ) + return f"charge-{order_id}" diff --git a/workflow_streams/llm_shared.py b/workflow_streams/llm_shared.py new file mode 100644 index 000000000..2780fd0b0 --- /dev/null +++ b/workflow_streams/llm_shared.py @@ -0,0 +1,44 @@ +"""Types and constants for the LLM-streaming scenario. + +Kept separate from ``shared.py`` because the other scenarios don't +use these — and this scenario runs on its own worker and task queue +so the ``openai`` dependency stays out of everyone else's path. +""" + +from __future__ import annotations + +from dataclasses import dataclass + +from temporalio.contrib.workflow_streams import WorkflowStreamState + +# Scenario 5 runs on its own worker so the openai dependency only +# matters for that scenario. +LLM_TASK_QUEUE = "workflow-stream-llm-task-queue" + +# Topics published by the activity. +TOPIC_DELTA = "delta" +TOPIC_COMPLETE = "complete" +TOPIC_RETRY = "retry" + + +@dataclass +class LLMInput: + prompt: str + model: str = "gpt-5-mini" + # Carries stream state across continue-as-new. None on a fresh start. + stream_state: WorkflowStreamState | None = None + + +@dataclass +class TextDelta: + text: str + + +@dataclass +class TextComplete: + full_text: str + + +@dataclass +class RetryEvent: + attempt: int diff --git a/workflow_streams/run_external_publisher.py b/workflow_streams/run_external_publisher.py new file mode 100644 index 000000000..8e7d38f81 --- /dev/null +++ b/workflow_streams/run_external_publisher.py @@ -0,0 +1,99 @@ +"""External publisher: a non-Activity process pushes events into a workflow. + +The two earlier scenarios publish from inside the workflow itself +(``OrderWorkflow``, ``PipelineWorkflow``) or from an Activity it runs +(``charge_card``). This scenario shows the third shape: a backend +service, scheduled job, or anything else with a Temporal ``Client`` +publishing into a *running* workflow it didn't start. Same factory as +the subscribe path — :py:meth:`WorkflowStreamClient.create` — used for +publishing instead. + +The script starts a ``HubWorkflow`` (which does no work of its own — +it exists only to host the stream), then runs a publisher and a +subscriber concurrently. When the publisher is done it signals +``HubWorkflow.close``, the workflow's run finishes, and the +subscriber's iterator exits normally. + +Run the worker first (``uv run workflow_streams/run_worker.py``), then:: + + uv run workflow_streams/run_external_publisher.py +""" + +from __future__ import annotations + +import asyncio +import uuid + +from temporalio.client import Client +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from workflow_streams.shared import ( + TASK_QUEUE, + TOPIC_NEWS, + HubInput, + NewsEvent, +) +from workflow_streams.workflows.hub_workflow import HubWorkflow + +HEADLINES = [ + "rates held", + "merger announced", + "outage resolved", + "earnings beat", + "regulator opens probe", +] + +# In-band terminator the publisher emits before signaling close. The +# subscriber recognizes this value and stops polling — without an +# explicit terminator the consumer would have to rely on the workflow +# returning to break the iterator, which means racing the last item +# delivery against workflow completion. +DONE_HEADLINE = "__done__" + + +async def main() -> None: + client = await Client.connect("localhost:7233") + + workflow_id = f"workflow-stream-hub-{uuid.uuid4().hex[:8]}" + handle = await client.start_workflow( + HubWorkflow.run, + HubInput(hub_id=workflow_id), + id=workflow_id, + task_queue=TASK_QUEUE, + ) + + async def publish_news() -> None: + # WorkflowStreamClient.create takes a Temporal client and a + # workflow id — the same factory used elsewhere for subscribing. + # The async context manager batches publishes and flushes on + # exit; we additionally call flush() before signaling close so + # we know the events landed before the workflow shuts down. + producer = WorkflowStreamClient.create(client, workflow_id) + async with producer: + news = producer.topic(TOPIC_NEWS, type=NewsEvent) + for headline in HEADLINES: + news.publish(NewsEvent(headline=headline)) + print(f"[publisher] sent: {headline}") + await asyncio.sleep(0.5) + news.publish(NewsEvent(headline=DONE_HEADLINE), force_flush=True) + await producer.flush() + # Tell the hub it can stop. The subscriber has already broken + # out of its async-for loop on the sentinel above. + await handle.signal(HubWorkflow.close) + print("[publisher] signaled close") + + async def consume_news() -> None: + consumer = WorkflowStreamClient.create(client, workflow_id) + async for item in consumer.subscribe([TOPIC_NEWS], result_type=NewsEvent): + if item.data.headline == DONE_HEADLINE: + return + print(f"[subscriber] offset={item.offset}: {item.data.headline}") + + await asyncio.gather(publish_news(), consume_news()) + + result = await handle.result() + print(f"\nworkflow result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/workflow_streams/run_llm.py b/workflow_streams/run_llm.py new file mode 100644 index 000000000..1b2a9d7ae --- /dev/null +++ b/workflow_streams/run_llm.py @@ -0,0 +1,132 @@ +"""Stream LLM output to the terminal, handling retries. + +Starts an ``LLMWorkflow``, subscribes to its delta / complete / retry +topics, and renders the model's output to stdout as it arrives. On a +``RETRY`` event (the activity is on attempt > 1), the consumer rewinds +its rendered output with ANSI escapes and starts fresh — so a killed +worker doesn't leave a half-finished response stuck on screen +followed by the retried attempt's full output. + +Requires ``OPENAI_API_KEY`` in the environment and the ``llm-stream`` +extra:: + + uv sync --group llm-stream + export OPENAI_API_KEY=... + +Run the LLM worker first (``uv run workflow_streams/run_llm_worker.py``), +then:: + + uv run workflow_streams/run_llm.py + +To see retry handling in action, kill the LLM worker mid-stream +(Ctrl-C in its terminal) and start it again. The consumer will clear +its accumulated output on the ``RETRY`` event and re-render the +retried attempt's output from scratch. +""" + +from __future__ import annotations + +import asyncio +import sys +import uuid + +from temporalio.client import Client +from temporalio.common import RawValue +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from workflow_streams.llm_shared import ( + LLM_TASK_QUEUE, + TOPIC_COMPLETE, + TOPIC_DELTA, + TOPIC_RETRY, + LLMInput, + RetryEvent, + TextComplete, + TextDelta, +) +from workflow_streams.workflows.llm_workflow import LLMWorkflow + +# Long enough that you can comfortably kill the worker mid-stream and +# watch the retry render. Adjust to taste. +DEFAULT_PROMPT = ( + "Write a 500-word comparison of Paxos, Raft, and Viewstamped " + "Replication for a new distributed-systems engineer. Cover the " + "core ideas, leader election, normal-case operation, " + "reconfiguration, and the practical tradeoffs that show up when " + "implementing each. Use short paragraphs." +) + + +# ANSI cursor save / restore. ``\033[s`` saves the current cursor +# position, ``\033[u`` restores it, ``\033[J`` clears from the cursor +# to the end of the screen. Save once before the first delta, and on +# RETRY restore + clear-to-end so the failed attempt's rendered output +# disappears regardless of how it was wrapped by the terminal. Save +# again afterwards so a second retry can rewind to the same point. +ANSI_SAVE = "\033[s" +ANSI_RESTORE_AND_CLEAR = "\033[u\033[J" + + +async def main() -> None: + client = await Client.connect("localhost:7233") + converter = client.data_converter.payload_converter + + workflow_id = f"workflow-stream-llm-{uuid.uuid4().hex[:8]}" + llm_input = LLMInput(prompt=DEFAULT_PROMPT) + handle = await client.start_workflow( + LLMWorkflow.run, + llm_input, + id=workflow_id, + task_queue=LLM_TASK_QUEUE, + ) + + # Print a header so the user sees something immediately. The + # response will start streaming below it once the first delta + # arrives — until then this is the only line on screen. + print( + f"[llm {workflow_id}] streaming response from {llm_input.model}, " + f"awaiting first token..." + ) + print() + sys.stdout.write(ANSI_SAVE) + sys.stdout.flush() + + stream = WorkflowStreamClient.create(client, workflow_id) + + # result_type=RawValue lets us dispatch on item.topic and decode + # against the right dataclass per topic. The loop ends either on + # the `complete` terminator (break) or because the iterator + # naturally exhausts when the workflow reaches a terminal state + # without one (activity exhausted retries, etc.). Either way the + # handle.result() below either returns the full text or raises + # the workflow's failure. + async for item in stream.subscribe( + [TOPIC_DELTA, TOPIC_RETRY, TOPIC_COMPLETE], + result_type=RawValue, + ): + if item.topic == TOPIC_RETRY: + evt = converter.from_payload(item.data.payload, RetryEvent) + sys.stdout.write(ANSI_RESTORE_AND_CLEAR) + sys.stdout.flush() + print(f"[retry attempt {evt.attempt}] resetting output") + print() + sys.stdout.write(ANSI_SAVE) + sys.stdout.flush() + elif item.topic == TOPIC_DELTA: + delta = converter.from_payload(item.data.payload, TextDelta) + sys.stdout.write(delta.text) + sys.stdout.flush() + elif item.topic == TOPIC_COMPLETE: + # The full text is also in the payload (and returned by + # the workflow), but the consumer has already rendered it + # incrementally. Just terminate the line. + converter.from_payload(item.data.payload, TextComplete) + print() + break + + result = await handle.result() + print(f"\n[workflow result: {len(result)} chars]") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/workflow_streams/run_llm_worker.py b/workflow_streams/run_llm_worker.py new file mode 100644 index 000000000..2bad59915 --- /dev/null +++ b/workflow_streams/run_llm_worker.py @@ -0,0 +1,40 @@ +"""Worker for the LLM-streaming scenario. + +Runs separately from ``run_worker.py`` so the ``openai`` dependency +and the ``OPENAI_API_KEY`` requirement stay isolated to this one +scenario. Different task queue too — the other four samples won't +route work to this worker. + +Kill this worker mid-stream while ``run_llm.py`` is running to +trigger a retry: Temporal restarts the activity on the next worker +to come up, the activity publishes a ``RetryEvent`` on its second +attempt, and the consumer resets its rendered output. +""" + +from __future__ import annotations + +import asyncio +import logging + +from temporalio.client import Client +from temporalio.worker import Worker + +from workflow_streams.activities.llm_activity import stream_completion +from workflow_streams.llm_shared import LLM_TASK_QUEUE +from workflow_streams.workflows.llm_workflow import LLMWorkflow + + +async def main() -> None: + logging.basicConfig(level=logging.INFO) + client = await Client.connect("localhost:7233") + worker = Worker( + client, + task_queue=LLM_TASK_QUEUE, + workflows=[LLMWorkflow], + activities=[stream_completion], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/workflow_streams/run_publisher.py b/workflow_streams/run_publisher.py new file mode 100644 index 000000000..9f76ee41c --- /dev/null +++ b/workflow_streams/run_publisher.py @@ -0,0 +1,60 @@ +from __future__ import annotations + +import asyncio +import uuid + +from temporalio.client import Client +from temporalio.common import RawValue +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from workflow_streams.shared import ( + TASK_QUEUE, + TOPIC_PROGRESS, + TOPIC_STATUS, + OrderInput, + ProgressEvent, + StatusEvent, +) +from workflow_streams.workflows.order_workflow import OrderWorkflow + + +async def main() -> None: + client = await Client.connect("localhost:7233") + + workflow_id = f"workflow-stream-order-{uuid.uuid4().hex[:8]}" + handle = await client.start_workflow( + OrderWorkflow.run, + OrderInput(order_id="order-1"), + id=workflow_id, + task_queue=TASK_QUEUE, + ) + + stream = WorkflowStreamClient.create(client, workflow_id) + converter = client.data_converter.payload_converter + + # Single iterator over both topics — avoids a cancellation race + # between two concurrent subscribers. result_type=RawValue + # delivers the underlying Payload so we can dispatch heterogeneous + # events on item.topic. The loop ends either on the in-band + # `complete` terminator (break) or because the iterator exhausts + # when the workflow reaches a terminal state without one (e.g. on + # failure). Either way we then await handle.result(), which raises + # if the workflow failed. + async for item in stream.subscribe( + [TOPIC_STATUS, TOPIC_PROGRESS], result_type=RawValue + ): + if item.topic == TOPIC_STATUS: + evt = converter.from_payload(item.data.payload, StatusEvent) + print(f"[status] {evt.kind}: order={evt.order_id}") + if evt.kind == "complete": + break + elif item.topic == TOPIC_PROGRESS: + progress = converter.from_payload(item.data.payload, ProgressEvent) + print(f"[progress] {progress.message}") + + result = await handle.result() + print(f"workflow result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/workflow_streams/run_reconnecting_subscriber.py b/workflow_streams/run_reconnecting_subscriber.py new file mode 100644 index 000000000..d0da5e32c --- /dev/null +++ b/workflow_streams/run_reconnecting_subscriber.py @@ -0,0 +1,164 @@ +"""Reconnecting subscriber: read a few events, disconnect, resume. + +Demonstrates the central Workflow Streams use case: a consumer can +disappear mid-stream — page refresh, server restart, laptop closed — +and resume later without missing events or seeing duplicates. The +event log lives in the Workflow, so the consumer just remembers where +it stopped. + +The script runs the pattern in two phases inside one process to keep +the demo short. The same code shape works across actual process +restarts because the resume offset is durable in the workflow, not in +the consumer. + +Output is one line per emit, with current stream stats in a left column +and a phase / event message in a right column. A background poller +calls ``WorkflowStreamClient.get_offset()`` for the whole demo and +emits a heartbeat line once a second so you can watch ``pending`` +(``available - processed``) grow while the consumer is disconnected +and shrink as phase 2 catches up. + +Run the worker first (``uv run workflow_streams/run_worker.py``), then:: + + uv run workflow_streams/run_reconnecting_subscriber.py +""" + +from __future__ import annotations + +import asyncio +import uuid +from dataclasses import dataclass + +from temporalio.client import Client +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from workflow_streams.shared import ( + TASK_QUEUE, + TOPIC_STATUS, + PipelineInput, + StageEvent, +) +from workflow_streams.workflows.pipeline_workflow import PipelineWorkflow + +# Number of events read in phase 1 before simulating a disconnect. +# Picked small enough that the workflow is still running after. +PHASE_1_EVENTS = 2 + +# How long to stay disconnected. +DISCONNECT_SECONDS = 3.0 + +# Background poller cadence. The poller refreshes state.available this +# often and emits a heartbeat line once per HEARTBEAT_SECONDS. +POLL_INTERVAL_SECONDS = 0.25 +HEARTBEAT_SECONDS = 1.0 + +# Width of the stats column. Picked to fit the longest stats string. +LEFT_WIDTH = 30 + + +@dataclass +class State: + processed: int = 0 + available: int = 0 + + @property + def pending(self) -> int: + return max(0, self.available - self.processed) + + +def emit(state: State, message: str) -> None: + left = ( + f"proc={state.processed:>2} " + f"avail={state.available:>2} " + f"pend={state.pending:>2}" + ) + print(f"{left:<{LEFT_WIDTH}}│ {message}", flush=True) + + +async def main() -> None: + client = await Client.connect("localhost:7233") + + workflow_id = f"workflow-stream-pipeline-{uuid.uuid4().hex[:8]}" + handle = await client.start_workflow( + PipelineWorkflow.run, + PipelineInput(pipeline_id=workflow_id), + id=workflow_id, + task_queue=TASK_QUEUE, + ) + + # In a production web backend the resume offset would live in + # durable storage keyed by (user_id, run_id) — a database row, a + # Redis key, etc. For an in-process demo a State.processed + # attribute works the same way. + state = State() + stream = WorkflowStreamClient.create(client, workflow_id) + emit(state, f"started {workflow_id}") + + stop = asyncio.Event() + + async def poller() -> None: + """Refresh state.available; emit a heartbeat line once a second.""" + loop = asyncio.get_running_loop() + last_emit = loop.time() + while not stop.is_set(): + try: + state.available = await stream.get_offset() + except Exception: + pass + now = loop.time() + if now - last_emit >= HEARTBEAT_SECONDS: + emit(state, "·") + last_emit = now + try: + await asyncio.wait_for(stop.wait(), timeout=POLL_INTERVAL_SECONDS) + except asyncio.TimeoutError: + pass + + poller_task = asyncio.create_task(poller()) + try: + # ---- Phase 1: connect, read a couple of events, "disconnect". + emit(state, "[phase 1] connecting") + seen = 0 + async for item in stream.subscribe([TOPIC_STATUS], result_type=StageEvent): + # Remember *one past* the offset just consumed: on resume we + # want the next unseen event, not the one we already showed. + state.processed = item.offset + 1 + emit(state, f" offset={item.offset:2d} stage={item.data.stage}") + seen += 1 + if seen >= PHASE_1_EVENTS: + break + emit(state, "[phase 1] disconnecting") + + # ---- Disconnect window: nobody reads. The workflow keeps + # publishing — `pend` grows on the heartbeat lines as the offset + # advances past `processed`. + await asyncio.sleep(DISCONNECT_SECONDS) + + # ---- Phase 2: brand-new client + stream, resume from saved + # offset. Same shape as a different process picking up where the + # first one left off. + emit(state, "[phase 2] reconnecting") + client2 = await Client.connect("localhost:7233") + stream2 = WorkflowStreamClient.create(client2, workflow_id) + async for item in stream2.subscribe( + [TOPIC_STATUS], + from_offset=state.processed, + result_type=StageEvent, + ): + state.processed = item.offset + 1 + emit(state, f" offset={item.offset:2d} stage={item.data.stage}") + if item.data.stage == "complete": + break + + result = await handle.result() + emit(state, f"workflow result: {result}") + finally: + stop.set() + try: + await poller_task + except asyncio.CancelledError: + pass + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/workflow_streams/run_truncating_ticker.py b/workflow_streams/run_truncating_ticker.py new file mode 100644 index 000000000..26399447c --- /dev/null +++ b/workflow_streams/run_truncating_ticker.py @@ -0,0 +1,129 @@ +"""Truncating ticker: bounded log + slow vs. fast subscribers. + +The ``TickerWorkflow`` publishes ``count`` events at a fixed interval, +calling ``self.stream.truncate(...)`` periodically to bound log +growth. This script subscribes twice — once fast, once slow — and +prints them in two lanes so the trade is visible at a glance: + +* **Fast lane** (left). Keeps up. Sees every published offset. +* **Slow lane** (right). Sleeps between iterations. When a truncation + has dropped its position by the time it polls again, the iterator + silently jumps forward to the new base offset; the slow lane prints + a ``↪ jumped N → M (K dropped)`` marker for each gap and resumes + at the new offset. + +``truncate()`` is unilateral: the workflow does not know who is +subscribed and does not wait for them. The implicit alternative — +never truncating — keeps every event around forever, lets slow +consumers eventually catch up without losses, and pays for it in +unbounded workflow history. The truncation model is the opposite +trade: bounded log, at-best-effort delivery to slow consumers, no +backpressure on the publisher. Pair it with set-semantic events where +each event carries enough state to make missing the prior ones +recoverable. (If you actually need lossless delivery to slow +consumers, the workflow has to coordinate acknowledgements +explicitly — that is a different sample.) + +Run the worker first (``uv run workflow_streams/run_worker.py``), then:: + + uv run workflow_streams/run_truncating_ticker.py +""" + +from __future__ import annotations + +import asyncio +import uuid + +from temporalio.client import Client +from temporalio.contrib.workflow_streams import WorkflowStreamClient + +from workflow_streams.shared import ( + TASK_QUEUE, + TOPIC_TICK, + TickerInput, + TickEvent, +) +from workflow_streams.workflows.ticker_workflow import TickerWorkflow + +# Aggressive truncation so the log stays at most KEEP_LAST entries +# right after each truncation, which keeps the slow subscriber's +# per-poll batch tiny. Small batches + a slow per-event sleep mean the +# slow subscriber re-polls often, and most of those polls land after a +# truncation that has passed its position — so it sees several jumps +# during the run rather than one batched at the end. +TICKER_COUNT = 30 +INTERVAL_MS = 200 +TRUNCATE_EVERY = 2 +KEEP_LAST = 1 +SLOW_SUBSCRIBER_DELAY_S = 1.5 + +LANE_WIDTH = 32 +SEP = "│" + + +def emit_fast(message: str) -> None: + print(f"{message:<{LANE_WIDTH}} {SEP}", flush=True) + + +def emit_slow(message: str) -> None: + print(f"{' ' * LANE_WIDTH} {SEP} {message}", flush=True) + + +def emit_header() -> None: + rule = "─" * LANE_WIDTH + print( + f"{'fast (every event)':<{LANE_WIDTH}} {SEP} " + f"slow (sleeps {SLOW_SUBSCRIBER_DELAY_S}s between events)" + ) + print(f"{rule} {SEP} {rule}") + + +async def main() -> None: + client = await Client.connect("localhost:7233") + + workflow_id = f"workflow-stream-ticker-{uuid.uuid4().hex[:8]}" + handle = await client.start_workflow( + TickerWorkflow.run, + TickerInput( + count=TICKER_COUNT, + keep_last=KEEP_LAST, + truncate_every=TRUNCATE_EVERY, + interval_ms=INTERVAL_MS, + ), + id=workflow_id, + task_queue=TASK_QUEUE, + ) + stream = WorkflowStreamClient.create(client, workflow_id) + last_n = TICKER_COUNT - 1 + + emit_header() + + async def fast_subscriber() -> None: + async for item in stream.subscribe([TOPIC_TICK], result_type=TickEvent): + emit_fast(f"offset={item.offset:>3} n={item.data.n}") + if item.data.n == last_n: + return + + async def slow_subscriber() -> None: + last_offset = -1 + async for item in stream.subscribe([TOPIC_TICK], result_type=TickEvent): + if last_offset >= 0 and item.offset > last_offset + 1: + gap = item.offset - last_offset - 1 + emit_slow( + f"↪ jumped offset={last_offset} → {item.offset} ({gap} dropped)" + ) + emit_slow(f"offset={item.offset:>3} n={item.data.n}") + last_offset = item.offset + if item.data.n == last_n: + return + await asyncio.sleep(SLOW_SUBSCRIBER_DELAY_S) + + await asyncio.gather(fast_subscriber(), slow_subscriber()) + + result = await handle.result() + print() + print(f"workflow result: {result}") + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/workflow_streams/run_worker.py b/workflow_streams/run_worker.py new file mode 100644 index 000000000..8aa12edca --- /dev/null +++ b/workflow_streams/run_worker.py @@ -0,0 +1,30 @@ +from __future__ import annotations + +import asyncio +import logging + +from temporalio.client import Client +from temporalio.worker import Worker + +from workflow_streams.activities.payment_activity import charge_card +from workflow_streams.shared import TASK_QUEUE +from workflow_streams.workflows.hub_workflow import HubWorkflow +from workflow_streams.workflows.order_workflow import OrderWorkflow +from workflow_streams.workflows.pipeline_workflow import PipelineWorkflow +from workflow_streams.workflows.ticker_workflow import TickerWorkflow + + +async def main() -> None: + logging.basicConfig(level=logging.INFO) + client = await Client.connect("localhost:7233") + worker = Worker( + client, + task_queue=TASK_QUEUE, + workflows=[HubWorkflow, OrderWorkflow, PipelineWorkflow, TickerWorkflow], + activities=[charge_card], + ) + await worker.run() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/workflow_streams/shared.py b/workflow_streams/shared.py new file mode 100644 index 000000000..9bf5a4b79 --- /dev/null +++ b/workflow_streams/shared.py @@ -0,0 +1,70 @@ +from __future__ import annotations + +from dataclasses import dataclass + +from temporalio.contrib.workflow_streams import WorkflowStreamState + +TASK_QUEUE = "workflow-stream-sample-task-queue" + +# Topics published by the workflow / activity. +TOPIC_STATUS = "status" +TOPIC_PROGRESS = "progress" +TOPIC_NEWS = "news" +TOPIC_TICK = "tick" + + +@dataclass +class OrderInput: + order_id: str + # Carries stream state across continue-as-new. None on a fresh start. + stream_state: WorkflowStreamState | None = None + + +@dataclass +class StatusEvent: + kind: str + order_id: str + + +@dataclass +class ProgressEvent: + message: str + + +@dataclass +class PipelineInput: + pipeline_id: str + # Carries stream state across continue-as-new. None on a fresh start. + stream_state: WorkflowStreamState | None = None + + +@dataclass +class StageEvent: + stage: str + + +@dataclass +class HubInput: + hub_id: str + # Carries stream state across continue-as-new. None on a fresh start. + stream_state: WorkflowStreamState | None = None + + +@dataclass +class NewsEvent: + headline: str + + +@dataclass +class TickerInput: + count: int = 20 + keep_last: int = 3 + truncate_every: int = 5 + interval_ms: int = 400 + # Carries stream state across continue-as-new. None on a fresh start. + stream_state: WorkflowStreamState | None = None + + +@dataclass +class TickEvent: + n: int diff --git a/workflow_streams/workflows/__init__.py b/workflow_streams/workflows/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/workflow_streams/workflows/hub_workflow.py b/workflow_streams/workflows/hub_workflow.py new file mode 100644 index 000000000..5dcc3c5f3 --- /dev/null +++ b/workflow_streams/workflows/hub_workflow.py @@ -0,0 +1,40 @@ +from __future__ import annotations + +from datetime import timedelta + +from temporalio import workflow +from temporalio.contrib.workflow_streams import WorkflowStream + +from workflow_streams.shared import HubInput + + +@workflow.defn +class HubWorkflow: + """Passive stream host: starts up, waits, closes when told. + + Unlike OrderWorkflow or PipelineWorkflow, this workflow does no + work of its own — it exists only to host a ``WorkflowStream`` that + external publishers push events into and external subscribers read + from. The shape that fits a backend service or "event bus" pattern, + where the workflow owns durable state but the events come from + outside. + """ + + @workflow.init + def __init__(self, input: HubInput) -> None: + self.stream = WorkflowStream(prior_state=input.stream_state) + self._closed = False + + @workflow.run + async def run(self, input: HubInput) -> str: + await workflow.wait_condition(lambda: self._closed) + # The publisher publishes its own terminator into the stream + # before signaling close (see run_external_publisher.py). + # Hold the run open briefly so subscribers' final poll + # delivers any items still in the log. + await workflow.sleep(timedelta(milliseconds=500)) + return f"hub {input.hub_id} closed" + + @workflow.signal + def close(self) -> None: + self._closed = True diff --git a/workflow_streams/workflows/llm_workflow.py b/workflow_streams/workflows/llm_workflow.py new file mode 100644 index 000000000..b26cfbe4d --- /dev/null +++ b/workflow_streams/workflows/llm_workflow.py @@ -0,0 +1,51 @@ +from __future__ import annotations + +from datetime import timedelta + +from temporalio import workflow +from temporalio.common import RetryPolicy +from temporalio.contrib.workflow_streams import WorkflowStream + +from workflow_streams.llm_shared import LLMInput + +with workflow.unsafe.imports_passed_through(): + from workflow_streams.activities.llm_activity import stream_completion + + +@workflow.defn +class LLMWorkflow: + """Wrapper for an LLM-streaming activity. + + The workflow does no streaming of its own; it hosts the + `WorkflowStream` so external subscribers can attach by workflow + id, kicks off the streaming activity, and returns the full text + the activity produced. + + Streaming is delegated to the activity because the OpenAI call is + non-deterministic. If the activity fails partway through, Temporal + retries it (up to ``max_attempts``); the retried attempt + re-publishes from the start, so the consumer must reset on the + activity's ``RETRY`` event. See + `activities/llm_activity.py` and `run_llm.py`. + """ + + @workflow.init + def __init__(self, input: LLMInput) -> None: + # Construct the stream from `@workflow.init` so the + # publish-Signal handler is registered before any external + # publisher (the activity, here) tries to publish. + self.stream = WorkflowStream(prior_state=input.stream_state) + + @workflow.run + async def run(self, input: LLMInput) -> str: + result = await workflow.execute_activity( + stream_completion, + input, + start_to_close_timeout=timedelta(minutes=5), + retry_policy=RetryPolicy(maximum_attempts=3), + ) + # Hold the run open briefly so the consumer's next poll + # delivers the activity's terminal `complete` event before the + # workflow exits and the in-memory log is gone. + await workflow.sleep(timedelta(milliseconds=500)) + return result diff --git a/workflow_streams/workflows/order_workflow.py b/workflow_streams/workflows/order_workflow.py new file mode 100644 index 000000000..099634cd7 --- /dev/null +++ b/workflow_streams/workflows/order_workflow.py @@ -0,0 +1,58 @@ +from __future__ import annotations + +from datetime import timedelta + +from temporalio import workflow +from temporalio.contrib.workflow_streams import WorkflowStream + +from workflow_streams.shared import ( + TOPIC_PROGRESS, + TOPIC_STATUS, + OrderInput, + ProgressEvent, + StatusEvent, +) + +with workflow.unsafe.imports_passed_through(): + from workflow_streams.activities.payment_activity import charge_card + + +@workflow.defn +class OrderWorkflow: + """Process a fake order, publishing status and progress events. + + The workflow itself publishes status changes; an activity it runs + publishes finer-grained progress events using a + `WorkflowStreamClient`. A single stream carries both topics — + subscribers can filter on the topic(s) they care about. + """ + + @workflow.init + def __init__(self, input: OrderInput) -> None: + # Construct the stream from @workflow.init so it can register + # signal/update/query handlers before the workflow accepts any + # messages. Threading prior_state lets the workflow survive + # continue-as-new without losing buffered items. + self.stream = WorkflowStream(prior_state=input.stream_state) + self.status = self.stream.topic(TOPIC_STATUS, type=StatusEvent) + self.progress = self.stream.topic(TOPIC_PROGRESS, type=ProgressEvent) + + @workflow.run + async def run(self, input: OrderInput) -> str: + self.status.publish(StatusEvent(kind="received", order_id=input.order_id)) + + charge_id = await workflow.execute_activity( + charge_card, + input.order_id, + start_to_close_timeout=timedelta(seconds=30), + ) + + self.status.publish(StatusEvent(kind="shipped", order_id=input.order_id)) + self.progress.publish(ProgressEvent(message=f"charge id: {charge_id}")) + self.status.publish(StatusEvent(kind="complete", order_id=input.order_id)) + # The "complete" status event above is the in-band terminator + # subscribers break on (see run_publisher.py). Hold the run + # open briefly so subscribers' next poll delivers it before + # this task returns and the in-memory log is gone. + await workflow.sleep(timedelta(milliseconds=500)) + return charge_id diff --git a/workflow_streams/workflows/pipeline_workflow.py b/workflow_streams/workflows/pipeline_workflow.py new file mode 100644 index 000000000..833369056 --- /dev/null +++ b/workflow_streams/workflows/pipeline_workflow.py @@ -0,0 +1,48 @@ +from __future__ import annotations + +from datetime import timedelta + +from temporalio import workflow +from temporalio.contrib.workflow_streams import WorkflowStream + +from workflow_streams.shared import ( + TOPIC_STATUS, + PipelineInput, + StageEvent, +) + + +@workflow.defn +class PipelineWorkflow: + """Multi-stage pipeline that publishes stage transitions over time. + + Stages are spaced out with ``workflow.sleep`` so a subscriber can + realistically disconnect partway through and reconnect without the + pipeline finishing in the meantime — the shape needed to demo the + "show up late and still see what happened" pattern. + """ + + @workflow.init + def __init__(self, input: PipelineInput) -> None: + self.stream = WorkflowStream(prior_state=input.stream_state) + self.status = self.stream.topic(TOPIC_STATUS, type=StageEvent) + + @workflow.run + async def run(self, input: PipelineInput) -> str: + stages = [ + "validating", + "loading data", + "transforming", + "writing output", + "verifying", + "complete", + ] + for stage in stages: + self.status.publish(StageEvent(stage=stage)) + if stage != "complete": + await workflow.sleep(timedelta(seconds=2)) + # The "complete" stage above is the in-band terminator + # subscribers break on. Hold the run open briefly so the final + # poll delivers it. + await workflow.sleep(timedelta(milliseconds=500)) + return f"pipeline {input.pipeline_id} done" diff --git a/workflow_streams/workflows/ticker_workflow.py b/workflow_streams/workflows/ticker_workflow.py new file mode 100644 index 000000000..c3f37b9f3 --- /dev/null +++ b/workflow_streams/workflows/ticker_workflow.py @@ -0,0 +1,66 @@ +from __future__ import annotations + +from datetime import timedelta + +from temporalio import workflow +from temporalio.contrib.workflow_streams import WorkflowStream + +from workflow_streams.shared import ( + TOPIC_TICK, + TickerInput, + TickEvent, +) + + +@workflow.defn +class TickerWorkflow: + """Long-running ticker that bounds its event log via ``truncate``. + + Long-running workflows that publish high volumes of events would + otherwise grow their event log unboundedly. This workflow shows + the truncation pattern: every ``truncate_every`` events, drop + everything except the last ``keep_last`` entries by calling + ``self.stream.truncate(safe_offset)``. + + Subscribers that fall behind a truncation jump forward to the new + base offset transparently (the iterator handles the + ``TruncatedOffset`` error internally), so consumers stay live but + may not see every intermediate event. That is the trade: bounded + log size in exchange for at-best-effort delivery to slow + consumers. + + To compute the truncation offset the workflow tracks its own + published count. ``WorkflowStream`` does not expose a workflow-side + head-offset accessor, but the running count plus the carried + ``base_offset`` (in continue-as-new chains) is sufficient. + """ + + @workflow.init + def __init__(self, input: TickerInput) -> None: + self.stream = WorkflowStream(prior_state=input.stream_state) + self.tick = self.stream.topic(TOPIC_TICK, type=TickEvent) + # Running count of events published by THIS run. To compute a + # global offset, add the prior_state's base_offset (omitted + # here — this sample doesn't continue-as-new). + self._published = 0 + + @workflow.run + async def run(self, input: TickerInput) -> str: + for n in range(input.count): + self.tick.publish(TickEvent(n=n)) + self._published += 1 + await workflow.sleep(timedelta(milliseconds=input.interval_ms)) + if ( + self._published % input.truncate_every == 0 + and self._published > input.keep_last + ): + # Drop everything except the last `keep_last` entries. + truncate_to = self._published - input.keep_last + self.stream.truncate(truncate_to) + # The final tick (n == count - 1) is the in-band terminator + # subscribers break on. ``keep_last`` guarantees that final + # offset survives the last truncation so even slow consumers + # eventually see it. Hold the run open briefly so the final + # poll delivers it. + await workflow.sleep(timedelta(milliseconds=500)) + return f"ticker emitted {self._published} events"