Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.
Refactor/concept (#236)
Thomas Hebrard6506d82b9dea
diff --git a/.cursor/rules/llms.mdc b/.cursor/rules/llms.mdcindex 281392552..e83f70edf 100644--- a/.cursor/rules/llms.mdc+++ b/.cursor/rules/llms.mdc@@ -38,7 +38,8 @@ Here is an example of using an llm_handle to specify which LLM to use in a PipeL```toml[pipe.hello_world]-PipeLLM = "Write text about Hello World."+type = "PipeLLM"+description = "Write text about Hello World."output = "Text"llm = { llm_handle = "gpt-4o-mini", temperature = 0.9, max_tokens = "auto" }prompt_template = """@@ -62,7 +63,8 @@ The interest is that these presets can be used to set the LLM choice in a PipeLL```toml[pipe.extract_invoice]-PipeLLM = "Extract invoice information from an invoice text transcript"+type = "PipeLLM"+description = "Extract invoice information from an invoice text transcript"inputs = { invoice_text = "InvoiceText" }output = "Invoice"llm = "llm_to_extract_invoice"diff --git a/.cursor/rules/pipe-batch.mdc b/.cursor/rules/pipe-batch.mdcindex 5458045e2..50d2500da 100644--- a/.cursor/rules/pipe-batch.mdc+++ b/.cursor/rules/pipe-batch.mdc@@ -11,7 +11,8 @@ The PipeBatch controller allows you to apply a pipe operation to each element in```toml[pipe.sequence_with_batch]-PipeSequence = "A Sequence of pipes"+type = "Sequence"+description = "A Sequence of pipes"inputs = { input_data = "ConceptName" }output = "OutputConceptName"steps = [diff --git a/.cursor/rules/pipe-condition.mdc b/.cursor/rules/pipe-condition.mdcindex 4fed99550..6746cf7b9 100644--- a/.cursor/rules/pipe-condition.mdc+++ b/.cursor/rules/pipe-condition.mdc@@ -13,7 +13,8 @@ The PipeCondition controller allows you to implement conditional logic in your p```toml[pipe.conditional_operation]-PipeCondition = "A conditonal pipe to decide wheter..."+type = "PipeCondition"+description = "A conditonal pipe to decide wheter..."inputs = { input_data = "CategoryInput" }output = "native.Text"expression = "input_data.category"@@ -26,7 +27,8 @@ large = "process_large"or```toml[pipe.conditional_operation]-PipeCondition = "A conditonal pipe to decide wheter..."+type = "PipeCondition"+description = "A conditonal pipe to decide wheter..."inputs = { input_data = "CategoryInput" }output = "native.Text"expression_template = "{{ input_data.category }}" # Jinja2 codediff --git a/.cursor/rules/pipe-llm.mdc b/.cursor/rules/pipe-llm.mdcindex 3a740fbf6..3bd286c76 100644--- a/.cursor/rules/pipe-llm.mdc+++ b/.cursor/rules/pipe-llm.mdc@@ -16,7 +16,8 @@ PipeLLM is used to:### Simple Text Generation```toml[pipe.write_story]-PipeLLM = "Write a short story"+type = "PipeLLM"+description = "Write a short story"output = "Text"prompt_template = """Write a short story about a programmer.@@ -26,7 +27,8 @@ Write a short story about a programmer.### Structured Data Extraction```toml[pipe.extract_info]-PipeLLM = "Extract information"+type = "PipeLLM"+description = "Extract information"inputs = { text = "Text" }output = "PersonInfo"prompt_template = """@@ -56,7 +58,8 @@ You can specify LLM settings in two ways:1. **Direct in the pipe**:```toml[pipe.analyze]-PipeLLM = "Analyze text"+type = "PipeLLM"+description = "Analyze text"output = "Analysis"llm = { llm_handle = "gpt-4", temperature = 0.7 }prompt_template = "Analyze this text"@@ -65,7 +68,8 @@ prompt_template = "Analyze this text"2. **Using predefined settings** from `pipelex_libraries/llm_deck/base_llm_deck.toml`:```toml[pipe.analyze]-PipeLLM = "Analyze text"+type = "PipeLLM"+description = "Analyze text"output = "Analysis"llm = "llm_for_analysis" # References a preset from llm_deckprompt_template = "Analyze this text"@@ -75,7 +79,8 @@ prompt_template = "Analyze this text"Add system-level instructions:```toml[pipe.expert_analysis]-PipeLLM = "Expert analysis"+type = "PipeLLM"+description = "Expert analysis"output = "Analysis"system_prompt = "You are a data analysis expert"prompt_template = "Analyze this data"@@ -85,7 +90,8 @@ prompt_template = "Analyze this data"Generate multiple results:```toml[pipe.generate_ideas]-PipeLLM = "Generate ideas"+type = "PipeLLM"+description = "Generate ideas"output = "Idea"nb_output = 3 # Generate exactly 3 ideas# OR@@ -96,7 +102,8 @@ multiple_output = true # Let the LLM decide how many to generateProcess images with VLMs:```toml[pipe.analyze_image]-PipeLLM = "Analyze image"+type = "PipeLLM"+description = "Analyze image"inputs = { image = "Image" } # `image` is the name of the stuff that contains the Image. If its in a stuff, you can add something like `{ "page.image": "Image" }output = "ImageAnalysis"prompt_template = "Describe what you see in this image"diff --git a/.cursor/rules/pipe-ocr.mdc b/.cursor/rules/pipe-ocr.mdcindex 4c9615497..133ee8fcb 100644--- a/.cursor/rules/pipe-ocr.mdc+++ b/.cursor/rules/pipe-ocr.mdc@@ -14,7 +14,8 @@ Extract text and images from an image or a PDF### Simple Text Generation```toml[pipe.extract_info]-PipeOcr = "extract the information"+type = "PipeOcr"+description = "extract the information"inputs = { ocr_input = "PDF" } # or { ocr_input = "Image" } if its an image. This is the only inputoutput = "Page"```diff --git a/.cursor/rules/pipe-sequence.mdc b/.cursor/rules/pipe-sequence.mdcindex ab9cdefe8..cf47ced93 100644--- a/.cursor/rules/pipe-sequence.mdc+++ b/.cursor/rules/pipe-sequence.mdc@@ -11,7 +11,8 @@ PipeSequence executes multiple pipes in a defined order, where each step can use## Basic Structure```toml[pipe.your_sequence_name]-PipeSequence = "Description of what this sequence does"+type = "PipeSequence"+description = "Description of what this sequence does"inputs = { input_name = "InputType" } # All the inputs of the sub pipes, except the ones generated by intermediate stepsoutput = "OutputType"steps = [@@ -31,6 +32,7 @@ steps = [- Original sequence inputs- Results from previous steps- Use the result names in subsequent steps+ - The output concept of the last step should be the output of the sequence## Using PipeBatch in Steps@@ -55,4 +57,4 @@ The result of a batched step will be a `ListContent` containing the outputs from# Important tip-Always run the cli `pipelex validate` when you are finished writing pipelines: This checks for errors. If there are errors, iterate.\ No newline at end of file+Always run the cli `pipelex validate all -c pipelex/libraries` when you are finished writing pipelines: This checks for errors. If there are errors, iterate.\ No newline at end of filediff --git a/.cursor/rules/pipelex.mdc b/.cursor/rules/pipelex.mdcindex c98f83fca..78d6f28d5 100644--- a/.cursor/rules/pipelex.mdc+++ b/.cursor/rules/pipelex.mdc@@ -45,7 +45,8 @@ yes```toml[pipe.your_pipe_name]-PipeLLM = "A description of what your pipe does"+type = "PipeLLM"+description = "A description of what your pipe does"inputs = { input_1 = "ConceptName1", input_2 = "ConceptName2" }output = "ConceptName"```@@ -60,7 +61,8 @@ But it should be:```toml[pipe.your_pipe_name]-PipeSequence = "....."+type = "PipeSequence"+description = "....."```The pipes will all have at least this base structure.@@ -152,7 +154,8 @@ PipeSequence executes multiple pipes in a defined order, where each step can use## Basic Structure```toml[pipe.your_sequence_name]-PipeSequence = "Description of what this sequence does"+type = "PipeSequence"+description = "Description of what this sequence does"inputs = { input_name = "InputType" } # All the inputs of the sub pipes, except the ones generated by intermediate stepsoutput = "OutputType"steps = [@@ -199,7 +202,8 @@ The PipeCondition controller allows you to implement conditional logic in your p```toml[pipe.conditional_operation]-PipeCondition = "A conditonal pipe to decide wheter..."+type = "PipeCondition"+description = "A conditonal pipe to decide wheter..."inputs = { input_data = "CategoryInput" }output = "native.Text"expression = "input_data.category"@@ -212,7 +216,8 @@ large = "process_large"or```toml[pipe.conditional_operation]-PipeCondition = "A conditonal pipe to decide wheter..."+type = "PipeCondition"+description = "A conditonal pipe to decide wheter..."inputs = { input_data = "CategoryInput" }output = "native.Text"expression_template = "{{ input_data.category }}" # Jinja2 code@@ -239,7 +244,8 @@ The PipeBatch controller allows you to apply a pipe operation to each element in```toml[pipe.sequence_with_batch]-PipeSequence = "A Sequence of pipes"+type = "PipeSequence"+description = "A Sequence of pipes"inputs = { input_data = "ConceptName" }output = "OutputConceptName"steps = [@@ -267,7 +273,8 @@ PipeLLM is used to:### Simple Text Generation```toml[pipe.write_story]-PipeLLM = "Write a short story"+type = "PipeLLM"+description = "Write a short story"output = "Text"prompt_template = """Write a short story about a programmer.@@ -277,7 +284,8 @@ Write a short story about a programmer.### Structured Data Extraction```toml[pipe.extract_info]-PipeLLM = "Extract information"+type = "PipeLLM"+description = "Extract information"inputs = { text = "Text" }output = "PersonInfo"prompt_template = """@@ -290,7 +298,8 @@ Extract person information from this text:Add system-level instructions:```toml[pipe.expert_analysis]-PipeLLM = "Expert analysis"+type = "PipeLLM"+description = "Expert analysis"output = "Analysis"system_prompt = "You are a data analysis expert"prompt_template = "Analyze this data"@@ -300,7 +309,8 @@ prompt_template = "Analyze this data"Generate multiple results:```toml[pipe.generate_ideas]-PipeLLM = "Generate ideas"+type = "PipeLLM"+description = "Generate ideas"output = "Idea"nb_output = 3 # Generate exactly 3 ideas# OR@@ -311,7 +321,8 @@ multiple_output = true # Let the LLM decide how many to generateProcess images with VLMs:```toml[pipe.analyze_image]-PipeLLM = "Analyze image"+type = "PipeLLM"+description = "Analyze image"inputs = { image = "Image" } # `image` is the name of the stuff that contains the Image. If its in a stuff, you can add something like `{ "page.image": "Image" }output = "ImageAnalysis"prompt_template = "Describe what you see in this image"@@ -328,7 +339,8 @@ Extract text and images from an image or a PDF### Simple Text Generation```toml[pipe.extract_info]-PipeOcr = "extract the information"+type = "PipeOcr"+description = "extract the information"inputs = { ocr_input = "PDF" } # or { ocr_input = "Image" } if its an image. This is the only inputoutput = "Page"```diff --git a/.cursor/rules/pipes.mdc b/.cursor/rules/pipes.mdcindex 6a1141576..8ff2e482f 100644--- a/.cursor/rules/pipes.mdc+++ b/.cursor/rules/pipes.mdc@@ -6,7 +6,7 @@ alwaysApply: false# Pipeline Guide- Always first write your "plan" in natural langage, then transcribe it in pipelex.-- Always run `pipelex validate` before finishing a task. It will ensure the pipe is runnable+- Always run `pipelex validate all -c pipelex/libraries` before finishing a task. It will ensure the pipe is runnable# Pipeline Structure Guide@@ -38,15 +38,16 @@ Important Rules:- Use PascalCase for concept names- Never use plurals (no "Stories", use "Story")- Avoid adjectives (no "LargeText", use "Text")-- Don't redefine native concepts (Text, Image, PDF, TextAndImages, Number)-yes+- Don't redefine native concepts (Text, Image, PDF, TextAndImages, Number, Page)+### Pipe Definitions## Pipe Base Structure```toml[pipe.your_pipe_name]-PipeLLM = "A description of what your pipe does"+type = "PipeLLM"+description = "A description of what your pipe does"inputs = { input_1 = "ConceptName1", input_2 = "ConceptName2" }output = "ConceptName"```@@ -77,4 +78,4 @@ When building a pipeline:# Important tip-Always run the cli `pipelex validate` when you are finished writing pipelines: This checks for errors. If there are errors, iterate.\ No newline at end of file+Always run the cli `pipelex validate all -c pipelex/libraries` when you are finished writing pipelines: This checks for errors. If there are errors, iterate.\ No newline at end of filediff --git a/.cursor/rules/structures.mdc b/.cursor/rules/structures.mdcindex 534a97deb..8de441eeb 100644--- a/.cursor/rules/structures.mdc+++ b/.cursor/rules/structures.mdc@@ -48,7 +48,7 @@ class YourModel(StructuredContent): # Always be a subclass of StructuredContentStructures are meant to indicate what class to use for a particular Concept. In general they use the same name as the concept.-Structure classes defined within `pipelex_libraries/pipelines/` are automatically loaded into the class_registry when setting up Pipelex, no need to do it manually.+Structure classes defined within `pipelex/libraries/pipelines/` are automatically loaded into the class_registry when setting up Pipelex, no need to do it manually.## Best Practices for structuresdiff --git a/.pipelex/create/design_pipelines.md b/.pipelex/create/design_pipelines.mdindex 9d560dafd..240a5ed00 100644--- a/.pipelex/create/design_pipelines.md+++ b/.pipelex/create/design_pipelines.md@@ -90,7 +90,7 @@ This section explains how to design pipelines for Pipelex.### Pipes: overall rules-Each entry under `pipe` is a dict that will be converted into a typed `PipeBlueprint` (see `pipelex/core/pipe_blueprint.py` for the base and factories in `pipe_controllers/` and `pipe_operators/`). Use the new format:+Each entry under `pipe` is a dict that will be converted into a typed `PipeBlueprint` (see `pipelex/core/blueprint.py` for the base and factories in `pipe_controllers/` and `pipe_operators/`). Use the new format:- `type: str` — the pipe class name, e.g., `PipeLLM`, `PipeOcr`, `PipeSequence`, `PipeParallel`, `PipeCondition`, `PipeFunc`, `PipeImgGen`.diff --git a/.vscode/launch.json b/.vscode/launch.jsonindex 603ab5c97..5b9f98dec 100644--- a/.vscode/launch.json+++ b/.vscode/launch.json@@ -4,6 +4,17 @@// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0","configurations": [+ {+ "name": "Debug check",+ "type": "debugpy",+ "request": "launch",+ "program": "${workspaceFolder}/.venv/bin/pipelex",+ "args": [+ "--help",+ ],+ "console": "integratedTerminal",+ "justMyCode": false+ },{"name": "Debug tests","type": "debugpy",@@ -18,27 +29,16 @@"console": "integratedTerminal"},{- "name": "Debug legacy check",- "type": "debugpy",- "request": "launch",- "module": "pipelex.cli._cli",- "args": [- "check",- ],- "console": "integratedTerminal",- "justMyCode": true- },- {- "name": "Debug Expense Report",+ "name": "Debug Validate Pipe","type": "debugpy","request": "launch",- "module": "pipelex.cli",+ "program": "${workspaceFolder}/.venv/bin/pipelex","args": [- "expense",- "--pipe",- "process_expense_report",- "--expense-report",- "expense_report_diner"+ "validate",+ "pipe",+ "describe_image",+ "-c",+ "pipelex/libraries",],"console": "integratedTerminal","justMyCode": falsediff --git a/CHANGELOG.md b/CHANGELOG.mdindex c9ab0f5f4..d047d4317 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,23 @@# Changelog+## [v0.8.0] - 2025-08-27++### Refactor++- Refactored the concepts: Blueprints are now more explicit, and hold only concept strings or code. Pipes hold concept instances.+- Organized code: Created subfolders for controller and operator pipes.+- Say goodbye to `PipeLLMPrompt`.+- Remove the `PipeJinja2` and `PipeLLMPrompt` in the `PipeLLM`.++### Added++- Added a lot of unit tests.+- Loading the library can now be done from toml file or form `PipelexBundleBlueprint`.++### Fixed++- Backported `backports.strenum` to `>=1.3.0` to support Python 3.10 now in dependencies and not in optional dependencies.+## [v0.7.0] - 2025-08-20### Refactordiff --git a/Makefile b/Makefileindex 938d01179..7401f0ffe 100644--- a/Makefile+++ b/Makefile@@ -74,6 +74,7 @@ make test-with-prints - Run tests with prints (no inference)make tp - Shorthand -> test-with-printsmake test-inference - Run unit tests only for inference (with prints)make ti - Shorthand -> test-inference+make tip - Shorthand -> test-inference-with-prints (parallelized inference tests)make test-ocr - Run unit tests only for ocr (with prints)make to - Shorthand -> test-ocrmake test-imgg - Run unit tests only for imgg (with prints)@@ -265,16 +266,27 @@ test-with-prints: envtp: test-with-prints@echo "> done: tp = test-with-prints"-test-inference: env+test-inference-with-prints: env$(call PRINT_TITLE,"Unit testing")@if [ -n "$(TEST)" ]; then \- $(VENV_PYTEST) --pipe-run-mode live --exitfirst -m "inference and not imgg" -s -k "$(TEST)" $(if $(filter 1,$(VERBOSE)),-v,$(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,))); \+ $(VENV_PYTEST) --pipe-run-mode live -m "inference and not imgg" -s -k "$(TEST)" $(if $(filter 1,$(VERBOSE)),-v,$(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,))); \else \- $(VENV_PYTEST) --pipe-run-mode live --exitfirst -m "inference and not imgg" -s $(if $(filter 1,$(VERBOSE)),-v,$(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,))); \+ $(VENV_PYTEST) --pipe-run-mode live -m "inference and not imgg" -s $(if $(filter 1,$(VERBOSE)),-v,$(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,))); \fi-ti: test-inference- @echo "> done: ti = test-inference"+test-inference-fast: env+ $(call PRINT_TITLE,"Unit testing")+ @if [ -n "$(TEST)" ]; then \+ $(VENV_PYTEST) -n auto --pipe-run-mode live -m "inference and not imgg" -s -k "$(TEST)" $(if $(filter 1,$(VERBOSE)),-v,$(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,))); \+ else \+ $(VENV_PYTEST) -n auto --pipe-run-mode live -m "inference and not imgg" -s $(if $(filter 1,$(VERBOSE)),-v,$(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,))); \+ fi++tip: test-inference-with-prints+ @echo "> done: tip = test-inference-with-prints"++ti: test-inference-fast+ @echo "> done: ti-fast = test-inference-fast"ti-dry: env$(call PRINT_TITLE,"Unit testing")diff --git a/README.md b/README.mdindex ed965193a..7dedd80f4 100644--- a/README.md+++ b/README.md@@ -72,7 +72,8 @@ Buyer = "The person who made the purchase"PurchaseDocumentText = "Transcript of a receipt, invoice, or order confirmation"[pipe.extract_buyer]-PipeLLM = "Extract buyer from purchase document"+type = "PipeLLM"+description = "Extract buyer from purchase document"inputs = { purchase_document_text = "PurchaseDocumentText" }output = "Buyer"llm = "llm_to_extract_info"@@ -166,7 +167,8 @@ WritingStyle = "A style of writing"[pipe][pipe.analyze_tweet]-PipeLLM = "Analyze the draft tweet and identify areas for improvement"+type = "PipeLLM"+description = "Analyze the draft tweet and identify areas for improvement"inputs = { draft_tweet = "DraftTweet" }output = "TweetAnalysis"llm = "llm_for_writing_analysis"@@ -194,7 +196,8 @@ For each criterion, provide:"""[pipe.optimize_tweet]-PipeLLM = "Optimize the tweet based on the analysis"+type = "PipeLLM"+description = "Optimize the tweet based on the analysis"inputs = { draft_tweet = "DraftTweet", tweet_analysis = "TweetAnalysis", writing_style = "WritingStyle" }output = "OptimizedTweet"llm = "llm_for_social_post_writing"@@ -228,7 +231,8 @@ Keep the core meaning of the original tweet."""[pipe.optimize_tweet_sequence]-PipeSequence = "Analyze and optimize a tech tweet in sequence"+type = "PipeSequence"+description = "Analyze and optimize a tech tweet in sequence"inputs = { draft_tweet = "DraftTweet", writing_style = "WritingStyle" }output = "OptimizedTweet"steps = [diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/configure-ai-llm-to-optimize-workflows.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/configure-ai-llm-to-optimize-workflows.mdindex 931f1ba31..b8736ef83 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/configure-ai-llm-to-optimize-workflows.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/configure-ai-llm-to-optimize-workflows.md@@ -64,7 +64,8 @@ Here's how to use these configurations in your pipelines:```toml[pipe.generate_response]-PipeLLM = "Generate a creative response"+type = "PipeLLM"+description = "Generate a creative response"inputs = { question = "Question" }output = "Response"llm = {@@ -79,7 +80,8 @@ Generate a creative response to this question:"""[pipe.extract_weather_data]-PipeLLM = "Extract structured weather data from text"+type = "PipeLLM"+description = "Extract structured weather data from text"inputs = { text = "Text" }output = "WeatherData"llm = "llm_to_extract" # Using a presetdiff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/define_your_concepts.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/define_your_concepts.mdindex fcc7e34e8..4a92d6184 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/define_your_concepts.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/define_your_concepts.md@@ -1,6 +1,6 @@# Defining Your Concepts-Concepts are the foundation of reliable knowledge pipelines. They define what flows through your pipes—not just as data types, but as meaningful pieces of knowledge with clear boundaries and validation rules.+Concepts are the foundation of reliable AI workflows. They define what flows through your pipes—not just as data types, but as meaningful pieces of knowledge with clear boundaries and validation rules.## Writing Concept Definitions@@ -17,6 +17,8 @@ Employee = "A person employed by an organization"ProductReview = "A customer's evaluation of a product or service"```+Those concepts will be Text-based by default. If you want to use sutrctured output, you need to create a Python class for the concept, or declare the structure directly in the concept definition.+**Key principles for concept definitions:**1. **Define what it is, not what it's for**@@ -199,15 +201,11 @@ Document = "A written or printed record"[concept.Contract]definition = "A legally binding agreement between parties"-refines = "Document"--[concept.EmploymentContract]-definition = "A contract between an employer and employee"-refines = "Contract"+refines = "Text"-[concept.NonCompeteClause]-definition = "A contract clause restricting competitive activities"-refines = "ContractClause"+[concept.ContractLogo]+definition = "A logo associated with a contract"+refines = "Image"```### Why Refinement Matters@@ -216,81 +214,138 @@ Concept refinement helps in two ways:1. **Semantic clarity**: Makes relationships between concepts explicit2. **Pipeline flexibility**: Pipes accepting general concepts can work with refined ones+3. **Validation**: You can only refine Native concepts **for now** (Text, Image, PDF, TextAndImages, Number, Page)For example, a pipe that processes `Document` can also process `Contract` or `EmploymentContract`:```toml[pipe.extract_key_points]-PipeLLM = "Extract main points from any document"+type = "PipeLLM"+description = "Extract main points from any document"inputs = { doc = "Document" } # Can accept Document, Contract, or EmploymentContractoutput = "KeyPoints"```-### Practical Refinement Example+## Native Concepts and Their Structures-Here's a complete example showing concept refinement in action:+Pipelex includes several built-in native concepts that cover common data types in AI workflows. These concepts come with predefined structures and are automatically available in all pipelines.-```toml-# pipelex_libraries/pipelines/content.toml-domain = "content"+### Available Native Concepts-[concept]-Text = "Written content in natural language"+Here are all the native concepts you can use out of the box:-[concept.Article]-definition = "A written composition on a specific topic"-refines = "Text"+| Concept | Description | Content Class Name |+|---------|-------------|---------------|+| `Text` | A text | `TextContent` |+| `Image` | An image | `ImageContent` |+| `PDF` | A PDF document | `PDFContent` |+| `TextAndImages` | A text combined with images | `TextAndImagesContent` |+| `Number` | A number | `NumberContent` |+| `Page` | The content of a document page with text, images, and optional page view | `PageContent` |+| `Dynamic` | A dynamic concept that can adapt to context | `DynamicContent` |+| `LlmPrompt` | A prompt for an LLM | *No specific implementation* |+| `Anything` | A concept that can represent any type of content | *No specific implementation* |-[concept.NewsArticle]-definition = "An article reporting current events"-refines = "Article"+### Native Concept Structures-[concept.OpinionPiece]-definition = "An article expressing personal views"-refines = "Article"+Each native concept has a corresponding Python structure that defines its data model:-[pipe.summarize_text]-PipeLLM = "Create a summary of any text"-inputs = { content = "Text" } # Works with Text, Article, NewsArticle, etc.-output = "Summary"+#### TextContent+```python+class TextContent(StuffContent):+ text: str+```-[pipe.extract_facts]-PipeLLM = "Extract factual claims from news"-inputs = { article = "NewsArticle" } # Specifically requires news articles-output = "FactualClaims"+#### ImageContent+```python+class ImageContent(StuffContent):+ url: str+ source_prompt: Optional[str] = None+ caption: Optional[str] = None+ base_64: Optional[str] = None```-### Structure Inheritance in Python+#### PDFContent+```python+class PDFContent(StuffContent):+ url: str+```-While TOML refinement is primarily semantic, you can mirror these relationships in Python when both concepts need structure:+#### NumberContent+```python+class NumberContent(StuffContent):+ number: Union[int, float]+```+#### TextAndImagesContent```python-# pipelex_libraries/pipelines/content.py-from pipelex.core.stuffs.stuff_content import StructuredContent-from datetime import datetime-from typing import Optional, List+class TextAndImagesContent(StuffContent):+ text: Optional[TextContent]+ images: Optional[List[ImageContent]]+```-# Base Article with structure-class Article(StructuredContent):- title: str- content: str- author: str- word_count: int = Field(ge=1)--# NewsArticle inherits and extends Article's structure-class NewsArticle(Article):- publication_date: datetime- news_category: str- sources: List[str] = Field(default_factory=list)- breaking_news: bool = False--# OpinionPiece also inherits and extends-class OpinionPiece(Article):- opinion_type: str # e.g., "editorial", "column", "review"- disclaimer: Optional[str] = None--# Note: Text, Summary, and FactualClaims have no Python models,-# so they remain text-based concepts+#### PageContent+```python+class PageContent(StructuredContent):+ text_and_images: TextAndImagesContent+ page_view: Optional[ImageContent] = None```-With well-defined concepts—both in natural language and code—your pipelines gain clarity, reliability, and maintainability. Next, we'll see how to build pipes that transform these concepts.+#### DynamicContent+```python+class DynamicContent(StuffContent):+ # Dynamic content that can adapt to context+ # Structure is flexible and determined at runtime+ pass+```++**Note**: `LlmPromptContent` and `AnythingContent` are referenced in the native concept definitions but do not have actual implementations in the current codebase. They are handled through the generic content system.++### Using Native Concepts++Native concepts can be used directly in your pipeline definitions without any additional setup:++```toml+[pipe.analyze_document]+type = "PipeLLM"+description = "Analyze a PDF document"+inputs = { document = "PDF" }+output = "Text"+prompt_template = "Analyze this document and provide a summary"++[pipe.process_image]+type = "PipeLLM"+description = "Describe an image"+inputs = { photo = "Image" }+output = "Text"+prompt_template = "Describe what you see in this image"++[pipe.extract_from_page]+type = "PipeLLM"+description = "Extract information from a document page"+inputs = { page_content = "Page" }+output = "ExtractedInfo"+prompt_template = "Extract key information from this page content"+```++### Refining Native Concepts++You can create more specific concepts by refining native ones:++```toml+[concept.Invoice]+definition = "A commercial document issued by a seller to a buyer"+refines = "PDF"++[concept.ProductPhoto]+definition = "A photograph of a product for marketing purposes"+refines = "Image"++[concept.ContractPage]+definition = "A page from a legal contract document"+refines = "Page"+```++When you refine a native concept, your refined concept inherits the structure of the native concept but can be used in more specific contexts. This allows for better semantic clarity while maintaining compatibility with pipes that accept the base native concept.++With well-defined concepts—both in natural language and code—your pipelines gain clarity, reliability, and maintainability. Next, we'll see how to build pipes that transform these concepts.\ No newline at end of filediff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/design_and_run_pipelines.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/design_and_run_pipelines.mdindex dfd1e9300..5fcaeace2 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/design_and_run_pipelines.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/design_and_run_pipelines.md@@ -36,7 +36,8 @@ Tagline = "A catchy marketing tagline"# 2. Define the pipe that does the work[pipe.generate_tagline]-PipeLLM = "Generate a catchy tagline for a product"+type = "PipeLLM"+description = "Generate a catchy tagline for a product"inputs = { description = "ProductDescription" }output = "Tagline"prompt_template = """@@ -52,6 +53,10 @@ This defines a single-step pipeline. The pipe `generate_tagline` takes a `ProducTo create a multi-step workflow, you use a controller. The `PipeSequence` controller is the most common one. It executes a series of pipes in a specific order.+The inputs specified will be required before the pipe is executed. Those inputs should be stored in the Working Memory.++The output concept is very important. Indeed, the output of your pipe wille be corresponding to the concept you specify. If the concept is structured, the output will be a structured object. If the concept is native, the output will be a string.+```toml# Filename: marketing_pipeline.toml@@ -66,7 +71,8 @@ Tagline = "A catchy marketing tagline"# 2. Define operator pipes[pipe.extract_keywords]-PipeLLM = "Extract keywords from a product description"+type = "PipeLLM"+description = "Extract keywords from a product description"inputs = { description = "ProductDescription" }output = "Keyword"multiple_output = true@@ -79,7 +85,8 @@ Focus on features, benefits, and unique selling points."""[pipe.generate_tagline_from_keywords]-PipeLLM = "Generate a tagline from keywords"+type = "PipeLLM"+description = "Generate a tagline from keywords"inputs = { keywords = "Keyword" }output = "Tagline"prompt_template = """@@ -92,7 +99,8 @@ The tagline should be memorable, concise (under 10 words), and highlight the mai# 3. This controller pipe defines the two-step pipeline[pipe.description_to_tagline]-PipeSequence = "From product description to tagline"+type = "PipeSequence"+description = "From product description to tagline"inputs = { description = "ProductDescription" }output = "Tagline"steps = [diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/kick-off-a-knowledge-pipeline-project.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/kick-off-a-knowledge-pipeline-project.mdindex 60c06d921..6e0f48f67 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/kick-off-a-knowledge-pipeline-project.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/kick-off-a-knowledge-pipeline-project.md@@ -17,7 +17,8 @@ Answer = "A response to a question"[pipe][pipe.answer_question]-PipeLLM = "Answer a question"+type = "PipeLLM"+description = "Answer a question"inputs = { question = "tutorial.Question" }output = "tutorial.Answer"prompt_template = """@@ -62,7 +63,8 @@ A domain consists of:[pipe][pipe.summarize_invoice]- PipeLLM = "Summarize an invoice to extract key information"+ type = "PipeLLM"+ description = "Summarize an invoice to extract key information"inputs = { invoice = "finance.Invoice" }output = "finance.InvoiceSummary"```diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeBatch.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeBatch.mdindex 6c1c57eb3..72aacf975 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeBatch.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeBatch.md@@ -22,7 +22,8 @@ This is the ideal controller for processing collections of documents, images, or| Parameter | Type | Description | Required || ------------------ | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |-| `PipeBatch` | string | A descriptive name for the batch operation. | Yes |+| `type` | string | The type of the pipe: `PipeBatch` | Yes |+| `description` | string | A description of the batch operation. | Yes || `inputs` | dictionary | The input concept(s) for the batch operation, as a dictionary mapping input names to concept codes. | Yes || `output` | string | The output concept produced by the batch operation. | Yes || `branch_pipe_code` | string | The name of the single pipe to execute for each item in the input list. | Yes |@@ -42,14 +43,16 @@ Suppose you have a list of articles and you want to generate a summary for each```toml# The pipe that knows how to summarize one article[pipe.summarize_one_article]-PipeLLM = "Summarize a single article"+type = "PipeLLM"+description = "Summarize a single article"inputs = { article = "ArticleText" }output = "ArticleSummary"prompt_template = "Please provide a one-sentence summary of the following article:\n\n@article_text"# The PipeBatch definition[pipe.summarize_all_articles]-PipeBatch = "Summarize a batch of articles in parallel"+type = "PipeBatch"+description = "Summarize a batch of articles in parallel"inputs = { articles = "ArticleList" } # This is the list to iterate overoutput = "SummaryList" # This will be the list of summariesbranch_pipe_code = "summarize_one_article"diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeCondition.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeCondition.mdindex d66280c06..824180b88 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeCondition.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeCondition.md@@ -19,7 +19,8 @@ The `PipeCondition` controller adds branching logic to your pipelines. It evalua| Parameter | Type | Description | Required || ------------------------------ | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |-| `PipeCondition` | string | A descriptive name for the condition. | Yes |+| `type` | string | The type of the pipe: `PipeCondition` | Yes |+| `description` | string | A description of the condition operation. | Yes || `inputs` | dictionary | The input concept(s) for the condition, as a dictionary mapping input names to concept codes. | Yes || `output` | string | The output concept produced by the selected pipe. | Yes || `expression` | string | A simple Jinja2 expression. `{{ ... }}` are automatically added. Good for simple variable access like `"my_var.category"`. | Yes (or `expression_template`) |@@ -28,6 +29,9 @@ The `PipeCondition` controller adds branching logic to your pipelines. It evalua| `default_pipe_code` | string | The name of a pipe to execute if the expression result does not match any key in `pipe_map`. | No || `add_alias_from_expression_to` | string | An advanced feature. If provided, the string result of the expression evaluation is added to the working memory as an alias with this name. | No |++**Important**: The output concept of the `PipeCondition` has to match the output of all the pipes in the `pipe_map`.+### Example: Simple routing based on categoryHere's a basic example showing how PipeCondition routes based on input data:@@ -41,7 +45,8 @@ CategoryInput = "Input with a category field"# Define the PipeCondition first[pipe.route_by_category]-PipeCondition = "Route based on category field"+type = "PipeCondition"+description = "Route based on category field"inputs = { input_data = "CategoryInput" }output = "native.Text"expression = "input_data.category"@@ -53,21 +58,24 @@ large = "process_large"# Define the pipes that PipeCondition can route to[pipe.process_small]-PipeLLM = "Handle small category"+type = "PipeLLM"+description = "Handle small category"output = "native.Text"prompt_template = """Output this only: "small""""[pipe.process_medium]-PipeLLM = "Handle medium category"+type = "PipeLLM"+description = "Handle medium category"output = "native.Text"prompt_template = """Output this only: "medium""""[pipe.process_large]-PipeLLM = "Handle large category"+type = "PipeLLM"+description = "Handle large category"output = "native.Text"prompt_template = """Output this only: "large"@@ -85,7 +93,8 @@ How this works:```toml[pipe.route_with_fallback]-PipeCondition = "Route with default handling"+type = "PipeCondition"+description = "Route with default handling"inputs = { classification = "DocumentType" }output = "ProcessedDocument"expression = "classification.type"@@ -96,7 +105,8 @@ invoice = "process_invoice"receipt = "process_receipt"[pipe.process_invoice]-PipeLLM = "Process invoice documents"+type = "PipeLLM"+description = "Process invoice documents"inputs = { classification = "DocumentType" }output = "ProcessedDocument"prompt_template = """@@ -104,7 +114,8 @@ Process this invoice document..."""[pipe.process_receipt]-PipeLLM = "Process receipt documents"+type = "PipeLLM"+description = "Process receipt documents"inputs = { classification = "DocumentType" }output = "ProcessedDocument"prompt_template = """@@ -112,7 +123,8 @@ Process this receipt document..."""[pipe.process_unknown]-PipeLLM = "Handle unknown document types"+type = "PipeLLM"+description = "Handle unknown document types"inputs = { classification = "DocumentType" }output = "ProcessedDocument"prompt_template = """diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeParallel.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeParallel.mdindex 32994fdeb..7efdae2bf 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeParallel.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeParallel.md@@ -22,7 +22,8 @@ You must use `add_each_output`, `combined_output`, or both.| Parameter | Type | Description | Required || ----------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |-| `PipeParallel` | string | A descriptive name for the parallel operation. | Yes |+| `type` | string | The type of the pipe: `PipeParallel` | Yes |+| `description` | string | A description of the parallel operation. | Yes || `inputs` | dictionary | The input concept(s) for the parallel operation, as a dictionary mapping input names to concept codes. | Yes || `output` | string | The output concept produced by the parallel operation. | Yes || `parallels` | array of tables| An array defining the pipes to run in parallel. Each table is a sub-pipe definition. | Yes |@@ -47,18 +48,21 @@ Imagine you have a product description and you want to extract the product featustructure = "ProductAnalysis" # A Pydantic model with 'features' and 'sentiment' fields[pipe.extract_features]-PipeLLM = "Extract features from text"+type = "PipeLLM"+description = "Extract features from text"inputs = { description = "ProductDescription" }output = "ProductFeatures"[pipe.analyze_sentiment]-PipeLLM = "Analyze sentiment of text"+type = "PipeLLM"+description = "Analyze sentiment of text"inputs = { description = "ProductDescription" }output = "ProductSentiment"# The PipeParallel definition[pipe.analyze_product_in_parallel]-PipeParallel = "Extract features and sentiment at the same time"+type = "PipeParallel"+description = "Extract features and sentiment at the same time"inputs = { description = "ProductDescription" }output = "ProductAnalysis" # This name is for the combined outputadd_each_output = falsediff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeSequence.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeSequence.mdindex 1fcd5d2bf..ac306334f 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeSequence.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-controllers/PipeSequence.md@@ -18,7 +18,8 @@ A `PipeSequence` defines a list of `steps`. Each step calls another pipe and giv| Parameter | Type | Description | Required || ---------- | --------------- | -------------------------------------------------------------------------------------------------------------- | -------- |-| `PipeSequence` | string | A descriptive name for the sequence. | Yes |+| `type` | string | The type of the pipe: `PipeSequence` | Yes |+| `description` | string | A description of the sequence operation. | Yes || `inputs` | dictionary | The input concept(s) for the *first* pipe in the sequence, as a dictionary mapping input names to concept codes. | No || `output` | string | The output concept produced by the *last* pipe in the sequence. | Yes || `steps` | array of tables | An ordered list of the pipes to execute. Each table in the array defines a single step. | Yes |@@ -32,28 +33,34 @@ Each entry in the `steps` array is a table with the following keys:| `pipe` | string | The name of the pipe to execute for this step. | Yes || `result` | string | The name to give to the output of this step in the working memory. | Yes |+**Important**: The output concept of the `PipeSequence` has to match the output of the last pipe in the sequence.+### ExampleLet's imagine a pipeline that first extracts text from an image, then summarizes that text, and finally translates the summary into French.```toml[pipe.extract_text_from_image]-PipeOcr = "..." # (definition of the OCR pipe)+type = "PipeOcr"+description = "Extract text from an image"output = "Text"[pipe.summarize_text]-PipeLLM = "..." # (definition of the summarization pipe)+type = "PipeLLM"+description = "Summarize text"inputs = { text = "Text" }output = "Text"[pipe.translate_to_french]-PipeLLM = "..." # (definition of the translation pipe)+type = "PipeLLM"+description = "Translate text to French"inputs = { text = "Text" }output = "Text"[pipe.image_to_french_summary]-PipeSequence = "Extract, summarize, and translate text from an image"+type = "PipeSequence"+description = "Extract, summarize, and translate text from an image"inputs = { image = "source.Image" }output = "target.FrenchText"steps = [diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeFunc.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeFunc.mdindex 4e0ba1875..4122884ec 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeFunc.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeFunc.md@@ -59,7 +59,8 @@ Once the function is registered, you can use it in your `.toml` file.| Parameter | Type | Description | Required || --------------- | ------ | --------------------------------------------------------------------------- | -------- |-| `PipeFunc` | string | A descriptive name for the pipe's function. | Yes |+| `type` | string | The type of the pipe: `PipeFunc` | Yes |+| `description` | string | A description of the function operation. | Yes || `function_name` | string | The unique name used to register the Python function (e.g., "combine_two_texts"). | Yes || `output` | string | The concept to associate with the function's return value. | Yes |@@ -69,7 +70,8 @@ This TOML snippet shows how to use the `combine_two_texts` function defined abov```toml[pipe.combine_them]-PipeFunc = "Combine two text inputs using a custom Python function"+type = "PipeFunc"+description = "Combine two text inputs using a custom Python function"function_name = "combine_two_texts"output = "ConcatenatedText"```diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeImgGen.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeImgGen.mdindex 6e859c7cd..950b46aa9 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeImgGen.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeImgGen.md@@ -20,7 +20,8 @@ The pipe can be configured to generate a single image or a list of images.| Parameter | Type | Description | Required || ----------------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------- | -------- |-| `PipeImgGen` | string | A descriptive name for the image generation operation. | Yes |+| `type` | string | The type of the pipe: `PipeImgGen` | Yes |+| `description` | string | A description of the image generation operation. | Yes || `inputs` | dictionary | The input concept(s) for the image generation operation, as a dictionary mapping input names to concept codes. | Yes || `output` | string | The output concept produced by the image generation operation. | Yes || `imgg_prompt` | string | A static text prompt for image generation. Use this *or* `input`. | No |@@ -39,7 +40,8 @@ This pipe generates one image of a futuristic car without requiring any input.```toml[pipe.generate_car_image]-PipeImgGen = "Generate a futuristic car image"+type = "PipeImgGen"+description = "Generate a futuristic car image"output = "Image"imgg_prompt = "A sleek, futuristic sports car driving on a neon-lit highway at night."imgg_handle = "dall-e-3"@@ -56,7 +58,8 @@ This pipe takes a text prompt as input and generates three variations of the imaImagePrompt = "A text prompt for generating an image"[pipe.generate_logo_variations]-PipeImgGen = "Generate three logo variations from a prompt"+type = "PipeImgGen"+description = "Generate three logo variations from a prompt"inputs = { prompt = "images.ImgGenPrompt" }output = "Image"nb_output = 3@@ -64,5 +67,7 @@ imgg_handle = "stable-diffusion"aspect_ratio = "1:1"```+The output of the PipeImgGen has to be a concept compatible with the native `Image` concept. A concept is compatible with the `Image` concept if it refines the `Image` concept.+To use this pipe, you would first load a text prompt (e.g., "A minimalist logo for a coffee shop, featuring a stylized mountain and a coffee bean") into the "prompt" stuff (`ImgGenPrompt` concept). After running, the output will be a list containing three generated `ImageContent` objects.diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeJinja2.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeJinja2.mdindex d09c9dd08..32864f4a6 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeJinja2.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeJinja2.md@@ -22,7 +22,8 @@ The Jinja2 template has access to all the "stuffs" currently in the working memo| Parameter | Type | Description | Required || --------------- | --------------- | --------------------------------------------------------------------------------------------------------- | --------------------------- |-| `PipeJinja2` | string | A descriptive name for the pipe's function. | Yes |+| `type` | string | The type of the pipe: `PipeJinja2` | Yes |+| `description` | string | A description of the Jinja2 operation. | Yes || `output` | string | The concept for the output. Defaults to `native.Text`. | No || `jinja2_name` | string | The name of a pre-loaded template file. | Yes (or `jinja2`) || `jinja2` | string | An inline Jinja2 template string. | Yes (or `jinja2_name`) |@@ -52,7 +53,8 @@ Report generated on: {{ report_date }}**Pipeline TOML definition:**```toml[pipe.generate_weekly_report]-PipeJinja2 = "Generate a formatted weekly report for a user"+type = "PipeJinja2"+description = "Generate a formatted weekly report for a user"output = "WeeklyReportText"jinja2_name = "weekly_report.md"extra_context = { report_date = "2023-10-27" }diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeLLM.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeLLM.mdindex 7fef68983..2f7ed4126 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeLLM.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeLLM.md@@ -23,7 +23,8 @@ Images must be declared in the `inputs` section of your pipe definition. The ima```toml[pipe.describe_image]-PipeLLM = "Describe an image"+type = "PipeLLM"+description = "Describe an image"inputs = { image = "Image" }output = "VisualDescription"prompt_template = """@@ -39,7 +40,8 @@ You can use any concept that refines `Image` as an input, and choose descriptive```toml[pipe.analyze_wedding]-PipeLLM = "Analyze wedding photo"+type = "PipeLLM"+description = "Analyze wedding photo"inputs = { wedding_photo = "images.Photo" }output = "PhotoAnalysis"prompt_template = """@@ -53,7 +55,8 @@ When working with structured content that contains image fields (like `PageConte```toml[pipe.analyze_page_view]-PipeLLM = "Analyze the visual layout of a page"+type = "PipeLLM"+description = "Analyze the visual layout of a page"inputs = { "page_content.page_view" = "Image" }output = "LayoutAnalysis"prompt_template = """@@ -73,7 +76,8 @@ You can include multiple images in a single prompt by listing them in the inputs```toml[pipe.compare_images]-PipeLLM = "Compare two images"+type = "PipeLLM"+description = "Compare two images"inputs = {first_image = "Image",second_image = "Image"@@ -90,7 +94,8 @@ You can mix any stuff and image inputs in the same pipe:```toml[pipe.analyze_document_with_context]-PipeLLM = "Analyze a document page with additional context"+type = "PipeLLM"+description = "Analyze a document page with additional context"inputs = {context = "Text",document.page_view = "Image"@@ -111,7 +116,8 @@ Analyze the document page shown in the image and explain how it relates to the p| Parameter | Type | Description | Required || --------------------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |-| `PipeLLM` | string | A descriptive name for the LLM operation. | Yes |+| `type` | string | The type of the pipe: `PipeLLM` | Yes |+| `description` | string | A description of the LLM operation. | Yes || `inputs` | dictionary | The input concept(s) for the LLM operation, as a dictionary mapping input names to concept codes. For images within structured content, use dot notation (e.g., `"page.image"`). | Yes || `output` | string | The output concept produced by the LLM operation. | Yes || `llm` | string or table | Specifies the LLM preset(s) to use. Can be a single preset or a table mapping different presets for different generation modes (e.g., `main`, `object_direct`). | No |@@ -142,7 +148,8 @@ This pipe takes no input and writes a poem.```toml[pipe.write_poem]-PipeLLM = "Write a short poem"+type = "PipeLLM"+description = "Write a short poem"output = "Text"llm = "llm_for_creative_writing"prompt = """@@ -156,7 +163,8 @@ This pipe summarizes an input text, using a `prompt_template` to inject the inpu```toml[pipe.summarize_text]-PipeLLM = "Summarize a text"+type = "PipeLLM"+description = "Summarize a text"inputs = { text = "TextToSummarize" }output = "TextSummary"prompt_template = """@@ -174,7 +182,8 @@ This pipe takes an image of a table and uses a VLM to extract the content as an```toml[pipe.extract_table_from_image]-PipeLLM = "Extract table data from an image"+type = "PipeLLM"+description = "Extract table data from an image"inputs = { image = "TableScreenshot" }output = "TableData"prompt_template = """@@ -191,7 +200,8 @@ This pipe extracts a list of `Expense` items from a block of text.structure = "Expense" # Assumes a Pydantic model 'Expense' is defined[pipe.process_expense_report]-PipeLLM = "Process an expense report"+type = "PipeLLM"+description = "Process an expense report"inputs = { report = "ExpenseReport" }output = "ProcessedExpenseReport"prompt_template = """diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeOcr.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeOcr.mdindex d6e267636..1090ee360 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeOcr.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipe-operators/PipeOcr.md@@ -25,7 +25,8 @@ The `PageContent` object has the following structure:| Parameter | Type | Description | Required || --------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------- |-| `PipeOcr` | string | A descriptive name for the OCR operation. | Yes |+| `type` | string | The type of the pipe: `PipeOcr` | Yes |+| `description` | string | A description of the OCR operation. | Yes || `inputs` | Fixed | The input for the PipeOcr is the key `ocr_input` and the value is either of concept `Image` or `Pdf`. | Yes || `output` | string | The output concept produced by the OCR operation. | Yes || `should_include_images` | boolean | If `true`, any images found within the document pages will be extracted and included in the output. Defaults to `false`. | No |@@ -40,14 +41,20 @@ This example defines a pipe that takes a PDF, extracts text and full-page images```toml[concept]ScannedDocument = "A document that has been scanned as a PDF"-ExtractedPages = "A list of pages extracted from a document by OCR"++[concept.ExtractedPages]+definition = "A list of pages extracted from a document by OCR"+refines = "Page"[pipe.extract_text_from_document]-PipeOcr = "Extract text from a scanned document"+type = "PipeOcr"+description = "Extract text from a scanned document"inputs = { ocr_input = "ScannedDocument" }output = "ExtractedText"should_include_page_views = truepage_views_dpi = 200```+The output of the PipeOcr has to be a concept compatible with the native `Page` concept. A concept is compatible with the `Page` concept if it refines the `Page` concept.+To use this pipe, you would first need to load a PDF into the `ScannedDocument` concept. After the pipe runs, the `ExtractedPages` concept will contain a list of `PageContent` objects, where each object has the extracted text and a 200 DPI image of the corresponding page.diff --git a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipeline-creation.md b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipeline-creation.mdindex 4fd40f9cc..f4f92c375 100644--- a/docs/pages/build-reliable-ai-workflows-with-pipelex/pipeline-creation.md+++ b/docs/pages/build-reliable-ai-workflows-with-pipelex/pipeline-creation.md@@ -127,7 +127,8 @@ PhotoAnalysis = "Analysis of photo content and main features"OppositePhotoPrompt = "Prompt for generating opposite version of photo"[pipe.gen_photopposite]-PipeSequence = "Generate opposite version of photo's main feature"+type = "PipeSequence"+description = "Generate opposite version of photo's main feature"output = "Image"steps = [{ pipe = "analyze_photo", result = "analysis" },@@ -136,7 +137,8 @@ steps = [][pipe.analyze_photo]-PipeLLM = "Analyze photo content and identify main feature"+type = "PipeLLM"+description = "Analyze photo content and identify main feature"inputs = { photo = "Image" }output = "PhotoAnalysis"prompt_template = """@@ -148,7 +150,8 @@ Focus on the dominant element, color, mood, or characteristic that defines this"""[pipe.create_opposite_concept]-PipeLLM = "Create concept for opposite version"+type = "PipeLLM"+description = "Create concept for opposite version"inputs = { analysis = "PhotoAnalysis" }output = "OppositePhotoPrompt"prompt_template = """@@ -160,7 +163,8 @@ Describe what the opposite would look like, focusing on reversing the main featu"""[pipe.render_opposite]-PipeImgGen = "Generate the opposite photo"+type = "PipeImgGen"+description = "Generate the opposite photo"inputs = { opposite_concept = "OppositePhotoPrompt" }output = "Image"```diff --git a/docs/pages/cookbook-examples/extract-dpe.md b/docs/pages/cookbook-examples/extract-dpe.mdindex 8520491da..f0047ece3 100644--- a/docs/pages/cookbook-examples/extract-dpe.md+++ b/docs/pages/cookbook-examples/extract-dpe.md@@ -60,7 +60,8 @@ The pipeline uses a `PipeLLM` with a very specific prompt to extract the informa```toml[pipe.write_markdown_from_page_content_dpe]-PipeLLM = "Write markdown from page content of a 'Diagnostic de Performance Energetique'"+type = "PipeLLM"+description = "Write markdown from page content of a 'Diagnostic de Performance Energetique'"inputs = { page_content = "Page" }output = "Dpe" # The output is structured as a Dpe objectllm = "llm_for_img_to_text"diff --git a/docs/pages/cookbook-examples/extract-gantt.md b/docs/pages/cookbook-examples/extract-gantt.mdindex a93de8827..7f85825ae 100644--- a/docs/pages/cookbook-examples/extract-gantt.md+++ b/docs/pages/cookbook-examples/extract-gantt.md@@ -59,7 +59,8 @@ The `extract_gantt_by_steps` pipeline is a sequence of smaller, focused pipes. T```toml[pipe.extract_gantt_by_steps]-PipeSequence = "Extract all details from a gantt chart"+type = "PipeSequence"+description = "Extract all details from a gantt chart"inputs = { gantt_chart_image = "GanttChartImage" }output = "GanttChart"steps = [@@ -75,7 +76,8 @@ steps = [# This is the pipe that extracts the details for a single task[pipe.extract_details_of_task]-PipeLLM = "Extract the precise dates of the task, start_date and end_date"+type = "PipeLLM"+description = "Extract the precise dates of the task, start_date and end_date"inputs = { gantt_chart_image = "GanttChartImage", gantt_timescale = "GanttTimescaleDescription", gantt_task_name = "GanttTaskName" }output = "GanttTaskDetails" # The output is structured as a GanttTaskDetails objectstructuring_method = "preliminary_text"diff --git a/docs/pages/cookbook-examples/extract-proof-of-purchase.md b/docs/pages/cookbook-examples/extract-proof-of-purchase.mdindex c23ec4b01..59f56b423 100644--- a/docs/pages/cookbook-examples/extract-proof-of-purchase.md+++ b/docs/pages/cookbook-examples/extract-proof-of-purchase.md@@ -56,7 +56,8 @@ The pipeline uses a powerful `PipeLLM` to extract the structured data from the d```toml[pipe.write_markdown_from_page_content_proof_of_purchase]-PipeLLM = "Write markdown from page content"+type = "PipeLLM"+description = "Write markdown from page content"inputs = { "page_content.page_view" = "Page" } # The LLM receives the image of the pageoutput = "ProofOfPurchase" # The LLM is forced to output a ProofOfPurchase objectllm = "llm_for_img_to_text"diff --git a/docs/pages/cookbook-examples/extract-table.md b/docs/pages/cookbook-examples/extract-table.mdindex 37c8f6313..b083be2e2 100644--- a/docs/pages/cookbook-examples/extract-table.md+++ b/docs/pages/cookbook-examples/extract-table.md@@ -61,7 +61,8 @@ The pipeline uses a two-step "extract and review" pattern. The first pipe does t```toml[pipe.extract_html_table_and_review]-PipeSequence = "Get an HTML table and review it"+type = "PipeSequence"+description = "Get an HTML table and review it"inputs = { table_screenshot = "TableScreenshot" }output = "HtmlTable"steps = [@@ -72,7 +73,8 @@ steps = [][pipe.review_html_table]-PipeLLM = "Review an HTML table"+type = "PipeLLM"+description = "Review an HTML table"inputs = { table_screenshot = "TableScreenshot", html_table = "HtmlTable" }output = "HtmlTable"prompt_template = """diff --git a/docs/pages/cookbook-examples/hello-world.md b/docs/pages/cookbook-examples/hello-world.mdindex 6974c33cf..866893c10 100644--- a/docs/pages/cookbook-examples/hello-world.md+++ b/docs/pages/cookbook-examples/hello-world.md@@ -51,7 +51,8 @@ definition = "Discovering Pipelex"[pipe][pipe.hello_world]-PipeLLM = "Write text about Hello World."+type = "PipeLLM"+description = "Write text about Hello World."output = "Text"llm = { llm_handle = "gpt-4o-mini", temperature = 0.9, max_tokens = "auto" }prompt = """diff --git a/docs/pages/cookbook-examples/invoice-extractor.md b/docs/pages/cookbook-examples/invoice-extractor.mdindex 704818403..433919f14 100644--- a/docs/pages/cookbook-examples/invoice-extractor.md+++ b/docs/pages/cookbook-examples/invoice-extractor.md@@ -64,7 +64,8 @@ The entire workflow is defined in a TOML file. This declarative approach makes t```toml# The main pipeline, a sequence of steps[pipe.process_invoice]-PipeSequence = "Process relevant information from an invoice"+type = "PipeSequence"+description = "Process relevant information from an invoice"inputs = { invoice_pdf = "PDF" }output = "Invoice"steps = [@@ -76,7 +77,8 @@ steps = [# A sub-pipeline that uses an LLM to extract the data[pipe.extract_invoice_data]-PipeLLM = "Extract invoice information from an invoice text transcript"+type = "PipeLLM"+description = "Extract invoice information from an invoice text transcript"inputs = { "invoice_page.page_view" = "Page", invoice_details = "InvoiceDetails" }output = "Invoice"# The output is constrained to the "Invoice" modeldiff --git a/docs/pages/cookbook-examples/write-screenplay.md b/docs/pages/cookbook-examples/write-screenplay.mdindex 63ecb8f20..3e82ae790 100644--- a/docs/pages/cookbook-examples/write-screenplay.md+++ b/docs/pages/cookbook-examples/write-screenplay.md@@ -81,7 +81,8 @@ The `generate_screenplay` pipeline is a master `PipeSequence` that orchestrates```toml[pipe.generate_screenplay]-PipeSequence = "Generate a complete screenplay from a pitch"+type = "PipeSequence"+description = "Generate a complete screenplay from a pitch"inputs = { pitch = "Pitch" }output = "FormattedScreenplay"steps = [@@ -99,7 +100,8 @@ steps = [# This is the nested sequence that creates all the scenes for a single chapter.[pipe.create_scenes_sequence]-PipeSequence = "Create all scenes for a chapter sequentially"+type = "PipeSequence"+description = "Create all scenes for a chapter sequentially"inputs = { chapter = "Chapter", characters = "CharacterList", detailed_pitch = "DetailedPitch" }output = "Chapter"steps = [diff --git a/docs/pages/cookbook-examples/write-tweet.md b/docs/pages/cookbook-examples/write-tweet.mdindex 009b20a66..8de0d6422 100644--- a/docs/pages/cookbook-examples/write-tweet.md+++ b/docs/pages/cookbook-examples/write-tweet.md@@ -61,7 +61,8 @@ This pipeline uses a two-step "analyze and optimize" sequence. The first pipe an```toml[pipe.optimize_tweet_sequence]-PipeSequence = "Analyze and optimize a tech tweet in sequence"+type = "PipeSequence"+description = "Analyze and optimize a tech tweet in sequence"inputs = { draft_tweet = "DraftTweet", writing_style = "WritingStyle" }output = "OptimizedTweet"steps = [@@ -73,7 +74,8 @@ steps = [# This is the pipe that analyzes the draft tweet.[pipe.analyze_tweet]-PipeLLM = "Analyze the draft tweet and identify areas for improvement"+type = "PipeLLM"+description = "Analyze the draft tweet and identify areas for improvement"inputs = { draft_tweet = "DraftTweet" }output = "TweetAnalysis"system_prompt = """diff --git a/docs/pages/migration/index.md b/docs/pages/migration/index.mdindex 53f686a34..b4a391c09 100644--- a/docs/pages/migration/index.md+++ b/docs/pages/migration/index.md@@ -14,14 +14,14 @@ We changed the syntax for defining concepts in TOML library files. The key name```toml[concept.MyConceptName]Concept = "Description of the concept"-refines = "BaseConceptName"+refines = "Text"```**New syntax:**```toml[concept.MyConceptName]definition = "Description of the concept"-refines = "BaseConceptName"+refines = "Text"```### Why This Changediff --git a/docs/pages/quick-start/index.md b/docs/pages/quick-start/index.mdindex fa3d92815..196442eee 100644--- a/docs/pages/quick-start/index.md+++ b/docs/pages/quick-start/index.md@@ -22,7 +22,8 @@ domain = "characters"[pipe][pipe.create_character]-PipeLLM = "Creates a character."+type = "PipeLLM"+description = "Creates a character."output = "Text"prompt_template = """You are a book writer. Your task is to create a character.Think of it and then output the character description."""@@ -67,7 +68,8 @@ python character.py```toml[pipe.create_character]-PipeLLM = "Create a character."+type = "PipeLLM"+description = "Create a character."output = "Text"llm = { llm_handle = "gpt-4o-mini", temperature = 0.9, max_tokens = "auto" }prompt_template = """You are a book writer. Your task is to create a character.@@ -78,7 +80,8 @@ Think of it and then output the character description."""```toml[pipe.create_character]-PipeLLM = "Create a character."+type = "PipeLLM"+description = "Create a character."output = "Text"llm = "llm_for_creative_writing"prompt_template = """You are a book writer. Your task is to create a character.@@ -132,7 +135,8 @@ Character = "A character is a fiction story" # <- Define here your output concep[pipe][pipe.create_character]-PipeLLM = "Create a character. Get a structured result."+type = "PipeLLM"+description = "Create a character. Get a structured result."output = "Character" # <- This is the output concept for your pipeprompt_template = """You are a book writer. Your task is to create a character.Think of it and then output the character description."""@@ -188,7 +192,8 @@ CharacterMetadata = "Metadata regarding a character."[pipe][pipe.extract_character_1]-PipeLLM = "Get character information from a description."+type = "PipeLLM"+description = "Get character information from a description."inputs = { character = "Character" } # <- These are the inputs of your pipe, usable in the prompt_templateoutput = "CharacterMetadata"prompt_template = """diff --git a/pipelex/cli/commands/build_cmd.py b/pipelex/cli/commands/build_cmd.pyindex 266704a8b..c22707e61 100644--- a/pipelex/cli/commands/build_cmd.py+++ b/pipelex/cli/commands/build_cmd.py@@ -12,7 +12,7 @@ from pipelex.pipelex import Pipelexfrom pipelex.tools.misc.file_utils import load_text_from_path# Typer group for build commands-build_app = typer.Typer(help="Build artifacts like pipeline blueprints")+build_app = typer.Typer(help="Build artifacts like pipeline blueprints", no_args_is_help=True)@build_app.command("draft")diff --git a/pipelex/cli/commands/init_cmd.py b/pipelex/cli/commands/init_cmd.pyindex b7441b739..5fdf6fe06 100644--- a/pipelex/cli/commands/init_cmd.py+++ b/pipelex/cli/commands/init_cmd.py@@ -45,7 +45,7 @@ def do_init_config(reset: bool = False) -> None:# Typer group for init commands-init_app = typer.Typer(help="Initialization commands")+init_app = typer.Typer(help="Initialization commands", no_args_is_help=True)@init_app.command("libraries")diff --git a/pipelex/cli/commands/migrate_cmd.py b/pipelex/cli/commands/migrate_cmd.pyindex 91e02a8d3..63b06ba4e 100644--- a/pipelex/cli/commands/migrate_cmd.py+++ b/pipelex/cli/commands/migrate_cmd.py@@ -101,7 +101,7 @@ def do_migrate(# Typer group for migration commands-migrate_app = typer.Typer(help="Migration commands")+migrate_app = typer.Typer(help="Migration commands", no_args_is_help=True)@migrate_app.command("run")diff --git a/pipelex/cli/commands/show_cmd.py b/pipelex/cli/commands/show_cmd.pyindex e4f0ffc15..4c23ec10d 100644--- a/pipelex/cli/commands/show_cmd.py+++ b/pipelex/cli/commands/show_cmd.py@@ -41,7 +41,7 @@ def do_show_pipe(pipe_code: str, relative_config_folder_path: str = "./pipelex_l# Typer group for show commands-show_app = typer.Typer(help="Show and list commands")+show_app = typer.Typer(help="Show and list commands", no_args_is_help=True)@show_app.command("config")diff --git a/pipelex/cli/commands/validate_cmd.py b/pipelex/cli/commands/validate_cmd.pyindex 3458d83b2..91f76084e 100644--- a/pipelex/cli/commands/validate_cmd.py+++ b/pipelex/cli/commands/validate_cmd.py@@ -32,18 +32,16 @@ def do_dry_run_pipe(pipe_code: str, relative_config_folder_path: str = "./pipeletyper.echo("To create a pipelex libraries folder, run: pipelex init-libraries")raise typer.Exit(1)- try:- pipelex_instance = Pipelex.make(relative_config_folder_path=relative_config_folder_path, from_file=False)- pipelex_instance.validate_libraries()- asyncio.run(dry_run_single_pipe(pipe_code))- get_pipeline_tracker().output_flowchart()- except Exception as exc:- typer.echo(f"❌ Error running dry run for pipe '{pipe_code}': {exc}")- raise typer.Exit(1)+ pipelex_instance = Pipelex.make(relative_config_folder_path=relative_config_folder_path, from_file=False)+ pipelex_instance.validate_libraries()+ asyncio.run(dry_run_single_pipe(pipe_code))++ typer.echo(f"✅ Pipe '{pipe_code}' validation successful")+ get_pipeline_tracker().output_flowchart()# Typer group for validation commands-validate_app = typer.Typer(help="Validation and dry-run commands")+validate_app = typer.Typer(help="Validation and dry-run commands", no_args_is_help=True)@validate_app.command("all")diff --git a/pipelex/client/api_serializer.py b/pipelex/client/api_serializer.pyindex 7390dbcb8..ffe0543c4 100644--- a/pipelex/client/api_serializer.py+++ b/pipelex/client/api_serializer.py@@ -5,7 +5,7 @@ from pathlib import Pathfrom typing import Any, Dict, List, Optional, castfrom pipelex.client.protocol import CompactMemory-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_native import NativeConceptEnumfrom pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.stuffs.stuff_content import TextContent@@ -34,10 +34,10 @@ class ApiSerializer:return compact_memoryfor stuff_name, stuff in working_memory.root.items():- if stuff.concept_code == NativeConcept.TEXT.code:+ if stuff.concept.code == NativeConceptEnum.TEXT.value:stuff_content = cast(TextContent, stuff.content)item_dict: Dict[str, Any] = {- "concept_code": stuff.concept_code,+ "concept_code": stuff.concept.code,"content": stuff_content.text,}else:@@ -45,7 +45,7 @@ class ApiSerializer:clean_content = cls._clean_and_format_content(content_dict)item_dict = {- "concept_code": stuff.concept_code,+ "concept_code": stuff.concept.code,"content": clean_content,}diff --git a/pipelex/cogt/content_generation/assignment_models.py b/pipelex/cogt/content_generation/assignment_models.pyindex 082b8efe3..a0b9b632f 100644--- a/pipelex/cogt/content_generation/assignment_models.py+++ b/pipelex/cogt/content_generation/assignment_models.py@@ -46,6 +46,20 @@ class LLMAssignment(BaseModel):llm_setting: LLMSettingllm_prompt: LLMPrompt+ @classmethod+ def make_from_prompt(+ cls,+ job_metadata: JobMetadata,+ llm_setting: LLMSetting,+ llm_prompt: LLMPrompt,+ ) -> "LLMAssignment":+ """Factory method for creating LLMAssignment from existing prompt."""+ return cls(+ job_metadata=job_metadata,+ llm_setting=llm_setting,+ llm_prompt=llm_prompt,+ )+def clone_with_new_prompt(self, new_prompt: LLMPrompt) -> "LLMAssignment":return LLMAssignment(job_metadata=self.job_metadata,diff --git a/pipelex/cogt/content_generation/content_generator.py b/pipelex/cogt/content_generation/content_generator.pyindex da1353f12..625ea93ed 100644--- a/pipelex/cogt/content_generation/content_generator.py+++ b/pipelex/cogt/content_generation/content_generator.py@@ -47,7 +47,7 @@ class ContentGenerator(ContentGeneratorProtocol):) -> str:log.verbose(f"{self.__class__.__name__} make_llm_text: {llm_prompt_for_text}")log.verbose(f"llm_setting_main: {llm_setting_main}")- llm_assignment = LLMAssignment(+ llm_assignment = LLMAssignment.make_from_prompt(job_metadata=job_metadata,llm_setting=llm_setting_main,llm_prompt=llm_prompt_for_text,@@ -67,7 +67,7 @@ class ContentGenerator(ContentGeneratorProtocol):llm_prompt_for_object: LLMPrompt,) -> BaseModelTypeVar:log.verbose(f"{self.__class__.__name__} make_object_direct: {llm_prompt_for_object}")- llm_assignment_for_object = LLMAssignment(+ llm_assignment_for_object = LLMAssignment.make_from_prompt(job_metadata=job_metadata,llm_setting=llm_setting_for_object,llm_prompt=llm_prompt_for_object,@@ -91,7 +91,7 @@ class ContentGenerator(ContentGeneratorProtocol):llm_prompt_for_text: LLMPrompt,llm_prompt_factory_for_object: Optional[LLMPromptFactoryAbstract] = None,) -> BaseModelTypeVar:- llm_assignment_for_text = LLMAssignment(+ llm_assignment_for_text = LLMAssignment.make_from_prompt(job_metadata=job_metadata,llm_setting=llm_setting_main,llm_prompt=llm_prompt_for_text,@@ -135,7 +135,7 @@ class ContentGenerator(ContentGeneratorProtocol):llm_prompt_for_object_list: LLMPrompt,nb_items: Optional[int] = None,) -> List[BaseModelTypeVar]:- llm_assignment_for_object = LLMAssignment(+ llm_assignment_for_object = LLMAssignment.make_from_prompt(job_metadata=job_metadata,llm_setting=llm_setting_for_object_list,llm_prompt=llm_prompt_for_object_list,@@ -160,7 +160,7 @@ class ContentGenerator(ContentGeneratorProtocol):llm_prompt_factory_for_object_list: Optional[LLMPromptFactoryAbstract] = None,nb_items: Optional[int] = None,) -> List[BaseModelTypeVar]:- llm_assignment_for_text = LLMAssignment(+ llm_assignment_for_text = LLMAssignment.make_from_prompt(job_metadata=job_metadata,llm_setting=llm_setting_main,llm_prompt=llm_prompt_for_text,diff --git a/pipelex/cogt/content_generation/content_generator_dry.py b/pipelex/cogt/content_generation/content_generator_dry.pyindex 0c2bbecf7..579486994 100644--- a/pipelex/cogt/content_generation/content_generator_dry.py+++ b/pipelex/cogt/content_generation/content_generator_dry.py@@ -81,6 +81,7 @@ class ContentGeneratorDry(ContentGeneratorProtocol):) -> BaseModelTypeVar:func_name = "make_text_then_object"log.dev(f"🤡 DRY RUN: {self.__class__.__name__}.{func_name}")+return await self.make_object_direct(job_metadata=job_metadata,object_class=object_class,diff --git a/pipelex/cogt/content_generation/jinja2_generate.py b/pipelex/cogt/content_generation/jinja2_generate.pyindex 4062cfafb..73474136c 100644--- a/pipelex/cogt/content_generation/jinja2_generate.py+++ b/pipelex/cogt/content_generation/jinja2_generate.py@@ -1,10 +1,16 @@from pipelex.cogt.content_generation.assignment_models import Jinja2Assignmentfrom pipelex.hub import get_template_provider+from pipelex.tools.templating.jinja2_parsing import check_jinja2_parsingfrom pipelex.tools.templating.jinja2_rendering import render_jinja2+from pipelex.tools.templating.template_preprocessor import preprocess_template# TODO: get rid of this intermediate call which seems useless, or explain why it staysasync def jinja2_gen_text(jinja2_assignment: Jinja2Assignment) -> str:+ if jinja2_assignment.jinja2:+ jinja2_assignment.jinja2 = preprocess_template(template=jinja2_assignment.jinja2)+ check_jinja2_parsing(jinja2_assignment.jinja2)+jinja2_text: str = await render_jinja2(template_category=jinja2_assignment.template_category,template_provider=get_template_provider(),diff --git a/pipelex/cogt/exceptions.py b/pipelex/cogt/exceptions.pyindex 6e4388f9d..eb8aeac14 100644--- a/pipelex/cogt/exceptions.py+++ b/pipelex/cogt/exceptions.py@@ -83,6 +83,10 @@ class LLMAssignmentError(CogtError):pass+class LLMPromptSpecError(CogtError):+ pass++class LLMPromptFactoryError(CogtError):passdiff --git a/pipelex/cogt/llm/llm_prompt_spec.py b/pipelex/cogt/llm/llm_prompt_spec.pynew file mode 100644index 000000000..8b4298f7f--- /dev/null+++ b/pipelex/cogt/llm/llm_prompt_spec.py@@ -0,0 +1,201 @@+from typing import Any, Dict, List, Optional, Set++from pydantic import BaseModel, model_validator+from typing_extensions import Self++from pipelex import log+from pipelex.cogt.exceptions import LLMPromptSpecError+from pipelex.cogt.image.prompt_image import PromptImage+from pipelex.cogt.image.prompt_image_factory import PromptImageFactory+from pipelex.cogt.llm.llm_prompt import LLMPrompt+from pipelex.core.stuffs.stuff_content import ImageContent+from pipelex.hub import get_content_generator, get_template, get_template_provider+from pipelex.tools.misc.context_provider_abstract import ContextProviderAbstract, ContextProviderException+from pipelex.tools.templating.jinja2_blueprint import Jinja2Blueprint+from pipelex.tools.templating.jinja2_required_variables import detect_jinja2_required_variables+from pipelex.tools.templating.templating_models import PromptingStyle+from pipelex.tools.typing.validation_utils import has_exactly_one_among_attributes_from_list, has_more_than_one_among_attributes_from_list+++class LLMPromptSpec(BaseModel):+ prompting_style: Optional[PromptingStyle] = None++ system_prompt_jinja2_blueprint: Optional[Jinja2Blueprint] = None+ system_prompt_verbatim_name: Optional[str] = None+ system_prompt: Optional[str] = None++ user_text_jinja2_blueprint: Optional[Jinja2Blueprint] = None+ user_prompt_verbatim_name: Optional[str] = None+ user_text: Optional[str] = None++ user_images: Optional[List[str]] = None++ @model_validator(mode="after")+ def validate_user_text(self) -> Self:+ if not has_exactly_one_among_attributes_from_list(+ obj=self,+ attributes_list=[+ "user_text_jinja2_blueprint",+ "user_prompt_verbatim_name",+ "user_text",+ ],+ ):+ raise LLMPromptSpecError(+ f"LLMPromptSpec user text must have exactly one of user_text, user_text_jinja2_blueprint or user_prompt_verbatim_name: {self}"+ )+ if has_more_than_one_among_attributes_from_list(+ obj=self,+ attributes_list=[+ "system_prompt_jinja2_blueprint",+ "system_prompt_verbatim_name",+ "system_prompt",+ ],+ ):+ raise LLMPromptSpecError(+ f"LLMPromptSpec system got more than one of system_prompt, system_prompt_jinja2_blueprint, system_prompt_verbatim_name: {self}"+ )+ return self++ def validate_with_libraries(self):+ if self.user_prompt_verbatim_name:+ get_template(template_name=self.user_prompt_verbatim_name)+ if self.system_prompt_verbatim_name:+ get_template(template_name=self.system_prompt_verbatim_name)++ if self.user_text_jinja2_blueprint and self.user_text_jinja2_blueprint.jinja2_name:+ the_template = get_template(template_name=self.user_text_jinja2_blueprint.jinja2_name)+ log.debug(f"Validated jinja2 template '{self.user_text_jinja2_blueprint.jinja2_name}':\n{the_template}")+ if self.system_prompt_jinja2_blueprint and self.system_prompt_jinja2_blueprint.jinja2_name:+ the_template = get_template(template_name=self.system_prompt_jinja2_blueprint.jinja2_name)+ log.debug(f"Validated jinja2 template '{self.system_prompt_jinja2_blueprint.jinja2_name}':\n{the_template}")++ def required_variables(self) -> Set[str]:+ required_variables: Set[str] = set()+ if self.user_images:+ user_images_top_object_name = [user_image.split(".", 1)[0] for user_image in self.user_images]+ required_variables.update(user_images_top_object_name)++ if self.user_text_jinja2_blueprint:+ required_variables = detect_jinja2_required_variables(+ template_category=self.user_text_jinja2_blueprint.template_category,+ template_provider=get_template_provider(),+ jinja2_name=self.user_text_jinja2_blueprint.jinja2_name,+ jinja2=self.user_text_jinja2_blueprint.jinja2,+ )+ return {+ variable_name+ for variable_name in required_variables+ if not variable_name.startswith("_") and variable_name != "preliminary_text" and variable_name != "place_holder"+ }++ # TODO: make this consistent with `LLMPromptFactoryAbstract` or `LLMPromptTemplate`,+ # let's get back to it when we have a better solution for structuring_method+ async def make_llm_prompt(+ self,+ output_concept_string: str,+ context_provider: ContextProviderAbstract,+ output_structure_prompt: Optional[str] = None,+ extra_params: Optional[Dict[str, Any]] = None,+ ) -> LLMPrompt:+ ############################################################+ # User images+ ############################################################+ prompt_user_images: List[PromptImage] = []+ if self.user_images:+ for user_image_name in self.user_images:+ log.debug(f"Getting user image '{user_image_name}' from context")+ try:+ prompt_image_content = context_provider.get_typed_object_or_attribute(name=user_image_name, wanted_type=ImageContent)+ except ContextProviderException as exc:+ raise LLMPromptSpecError(+ f"Could not find a valid user image named '{user_image_name}' from the provided context_provider: {exc}"+ ) from exc++ if prompt_image_content is not None: # An ImageContent can be optional..+ if base_64 := prompt_image_content.base_64:+ user_image = PromptImageFactory.make_prompt_image(base_64=base_64)+ else:+ image_uri = prompt_image_content.url+ user_image = PromptImageFactory.make_prompt_image_from_uri(uri=image_uri)+ prompt_user_images.append(user_image)++ ############################################################+ # User text+ ############################################################+ user_text = await self._unravel_text(+ context_provider=context_provider,+ jinja2_blueprint=self.user_text_jinja2_blueprint,+ text_verbatim_name=self.user_prompt_verbatim_name,+ fixed_text=self.user_text,+ extra_params=extra_params,+ )+ if not user_text:+ raise ValueError("For user_text we need either a pipe_jinja2, a text_verbatim_name or a fixed user_text")++ if output_structure_prompt:+ user_text += output_structure_prompt++ log.verbose(f"User text with {output_concept_string=}:\n {user_text}")++ ############################################################+ # System text+ ############################################################+ system_text = await self._unravel_text(+ context_provider=context_provider,+ jinja2_blueprint=self.system_prompt_jinja2_blueprint,+ text_verbatim_name=self.system_prompt_verbatim_name,+ fixed_text=self.system_prompt,+ extra_params=extra_params,+ )++ ############################################################+ # Full LLMPrompt+ ############################################################+ llm_prompt = LLMPrompt(+ system_text=system_text,+ user_text=user_text,+ user_images=prompt_user_images,+ )++ return llm_prompt++ async def _unravel_text(+ self,+ context_provider: ContextProviderAbstract,+ jinja2_blueprint: Optional[Jinja2Blueprint],+ text_verbatim_name: Optional[str],+ fixed_text: Optional[str],+ extra_params: Optional[Dict[str, Any]] = None,+ ) -> Optional[str]:+ the_text: Optional[str]+ if jinja2_blueprint:+ log.verbose(f"Working with Jinja2 pipe '{jinja2_blueprint.jinja2_name}'")+ if (prompting_style := self.prompting_style) and not jinja2_blueprint.prompting_style:+ jinja2_blueprint.prompting_style = prompting_style+ log.verbose(f"Setting prompting style to {prompting_style}")++ context: Dict[str, Any] = context_provider.generate_context()+ if extra_params:+ context.update(**extra_params)+ if jinja2_blueprint.extra_context:+ context.update(**jinja2_blueprint.extra_context)++ the_text = await get_content_generator().make_jinja2_text(+ context=context,+ jinja2_name=jinja2_blueprint.jinja2_name,+ jinja2=jinja2_blueprint.jinja2,+ prompting_style=self.prompting_style,+ template_category=jinja2_blueprint.template_category,+ )+ elif text_verbatim_name:+ user_text_verbatim = get_template(+ template_name=text_verbatim_name,+ )+ if not user_text_verbatim:+ raise ValueError(f"Could not find text_verbatim template '{text_verbatim_name}'")+ the_text = user_text_verbatim+ elif fixed_text:+ the_text = fixed_text+ else:+ the_text = None+ return the_textdiff --git a/pipelex/cogt/llm/llm_worker_abstract.py b/pipelex/cogt/llm/llm_worker_abstract.pyindex b28e5e39c..90f9bbbd4 100644--- a/pipelex/cogt/llm/llm_worker_abstract.py+++ b/pipelex/cogt/llm/llm_worker_abstract.py@@ -92,7 +92,7 @@ class LLMWorkerAbstract(InferenceWorkerAbstract, ABC):llm_job: LLMJob,schema: Type[BaseModelTypeVar],) -> BaseModelTypeVar:- log.debug("LLM Worker gen_object")+ log.debug(f"LLM Worker gen_object using {self.desc}")log.verbose(llm_job.params_desc)log.verbose(llm_job.llm_prompt.desc(), title="llm_prompt")diff --git a/pipelex/core/bundles/exceptions.py b/pipelex/core/bundles/exceptions.pynew file mode 100644index 000000000..ed7a4b5cf--- /dev/null+++ b/pipelex/core/bundles/exceptions.py@@ -0,0 +1,2 @@+class PipelexBundleBlueprintError(Exception):+ passdiff --git a/pipelex/core/bundles/pipelex_bundle.py b/pipelex/core/bundles/pipelex_bundle.pydeleted file mode 100644index d5d56a6a9..000000000--- a/pipelex/core/bundles/pipelex_bundle.py+++ /dev/null@@ -1,15 +0,0 @@-from typing import Dict--from pydantic import BaseModel--from pipelex.core.concepts.concept import Concept-from pipelex.core.domains.domain import Domain-from pipelex.core.pipes.pipe_abstract import PipeAbstract---class PipelexBundle(BaseModel):- """Complete bundle of a pipelex bundle."""-- domain: Domain- concepts: Dict[str, Concept]- pipes: Dict[str, PipeAbstract]diff --git a/pipelex/core/bundles/pipelex_bundle_blueprint.py b/pipelex/core/bundles/pipelex_bundle_blueprint.pyindex 1b7dfb705..0fac74d70 100644--- a/pipelex/core/bundles/pipelex_bundle_blueprint.py+++ b/pipelex/core/bundles/pipelex_bundle_blueprint.py@@ -1,17 +1,18 @@from typing import Annotated, Dict, Optional, Union-from pydantic import BaseModel, Field+from pydantic import BaseModel, ConfigDict, Field, field_validatorfrom pipelex.core.concepts.concept_blueprint import ConceptBlueprint-from pipelex.pipe_controllers.pipe_batch_factory import PipeBatchBlueprint-from pipelex.pipe_controllers.pipe_condition_factory import PipeConditionBlueprint-from pipelex.pipe_controllers.pipe_parallel_factory import PipeParallelBlueprint-from pipelex.pipe_controllers.pipe_sequence_factory import PipeSequenceBlueprint-from pipelex.pipe_operators.pipe_func_factory import PipeFuncBlueprint-from pipelex.pipe_operators.pipe_img_gen_factory import PipeImgGenBlueprint-from pipelex.pipe_operators.pipe_jinja2_factory import PipeJinja2Blueprint-from pipelex.pipe_operators.pipe_llm_factory import PipeLLMBlueprint-from pipelex.pipe_operators.pipe_ocr_factory import PipeOcrBlueprint+from pipelex.core.domains.domain_blueprint import DomainBlueprint+from pipelex.pipe_controllers.batch.pipe_batch_blueprint import PipeBatchBlueprint+from pipelex.pipe_controllers.condition.pipe_condition_blueprint import PipeConditionBlueprint+from pipelex.pipe_controllers.parallel.pipe_parallel_blueprint import PipeParallelBlueprint+from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint+from pipelex.pipe_operators.func.pipe_func_blueprint import PipeFuncBlueprint+from pipelex.pipe_operators.img_gen.pipe_img_gen_blueprint import PipeImgGenBlueprint+from pipelex.pipe_operators.jinja2.pipe_jinja2_blueprint import PipeJinja2Blueprint+from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint+from pipelex.pipe_operators.ocr.pipe_ocr_blueprint import PipeOcrBlueprintPipeBlueprintUnion = Annotated[Union[@@ -34,6 +35,8 @@ PipeBlueprintUnion = Annotated[class PipelexBundleBlueprint(BaseModel):"""Complete blueprint of a pipelex bundle TOML definition."""+ model_config = ConfigDict(extra="forbid")+domain: strdefinition: Optional[str] = Nonesystem_prompt: Optional[str] = None@@ -43,3 +46,9 @@ class PipelexBundleBlueprint(BaseModel):concept: Optional[Dict[str, ConceptBlueprint | str]] = Field(default_factory=dict)pipe: Optional[Dict[str, PipeBlueprintUnion]] = Field(default_factory=dict)++ @field_validator("domain", mode="before")+ @classmethod+ def validate_domain_syntax(cls, domain: str) -> str:+ DomainBlueprint.validate_domain_code(code=domain)+ return domaindiff --git a/pipelex/core/bundles/pipelex_bundle_factory.py b/pipelex/core/bundles/pipelex_bundle_factory.pydeleted file mode 100644index bf45adbf6..000000000--- a/pipelex/core/bundles/pipelex_bundle_factory.py+++ /dev/null@@ -1,47 +0,0 @@-from typing import Dict--from pydantic import BaseModel--from pipelex.core.bundles.pipelex_bundle import PipelexBundle-from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.core.concepts.concept import Concept-from pipelex.core.concepts.concept_blueprint import ConceptBlueprint-from pipelex.core.concepts.concept_factory import ConceptFactory-from pipelex.core.domains.domain import Domain-from pipelex.core.pipes.pipe_abstract import PipeAbstract-from pipelex.core.pipes.pipe_factory import PipeFactory---class PipelexBundleFactory(BaseModel):- @classmethod- def make_from_blueprint(cls, blueprint: PipelexBundleBlueprint) -> PipelexBundle:- """Make a PipelexBundle from a PipelexBundleBlueprint."""- domain = Domain(- code=blueprint.domain,- definition=blueprint.definition,- system_prompt=blueprint.system_prompt,- system_prompt_to_structure=blueprint.system_prompt_to_structure,- prompt_template_to_structure=blueprint.prompt_template_to_structure,- )- concepts: Dict[str, Concept] = {}- if blueprint.concept is not None:- for concept_name, concept_blueprint_or_str in blueprint.concept.items():- if isinstance(concept_blueprint_or_str, ConceptBlueprint):- concepts[concept_name] = ConceptFactory.make_concept_from_blueprint(- domain=blueprint.domain, code=concept_name, concept_blueprint=concept_blueprint_or_str- )- else:- # One line concepts- concepts[concept_name] = ConceptFactory.make_concept_from_definition_str(- domain_code=blueprint.domain, concept_str=concept_name, definition=concept_blueprint_or_str- )-- pipes: Dict[str, PipeAbstract] = {}- if blueprint.pipe is not None:- for pipe_name, pipe_blueprint in blueprint.pipe.items():- pipes[pipe_name] = PipeFactory.make_pipe_from_blueprint(- domain_code=blueprint.domain,- pipe_code=pipe_name,- pipe_blueprint=pipe_blueprint,- )- return PipelexBundle(domain=domain, concepts=concepts, pipes=pipes)diff --git a/tests/unit/pipelex/core/bundles/test_pipelex_bundle.py b/pipelex/core/concepts/__init__.pysimilarity index 100%rename from tests/unit/pipelex/core/bundles/test_pipelex_bundle.pyrename to pipelex/core/concepts/__init__.pydiff --git a/pipelex/core/concepts/concept.py b/pipelex/core/concepts/concept.pyindex 4b98b9175..6b5bbec5b 100644--- a/pipelex/core/concepts/concept.py+++ b/pipelex/core/concepts/concept.py@@ -1,15 +1,14 @@-import re-from typing import List, Tuple+from typing import Optionalfrom kajson.kajson_manager import KajsonManager-from pydantic import BaseModel, ConfigDict, Field, field_validator, model_validator-from typing_extensions import Self+from pydantic import BaseModel, ConfigDict, field_validatorfrom pipelex import log-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_blueprint import ConceptBlueprintfrom pipelex.core.domains.domain import SpecialDomain+from pipelex.core.domains.domain_blueprint import DomainBlueprintfrom pipelex.core.stuffs.stuff_content import StuffContent-from pipelex.exceptions import ConceptCodeError, ConceptDomainError, ConceptError+from pipelex.tools.class_registry_utils import ClassRegistryUtilsfrom pipelex.tools.misc.string_utils import pascal_case_to_sentence@@ -20,107 +19,69 @@ class Concept(BaseModel):domain: strdefinition: strstructure_class_name: str- refines: List[str] = Field(default_factory=list)+ refines: Optional[str] = None- @model_validator(mode="after")- # TODO: Refacto, its not clean- def validate_code_domain(self) -> Self:- if not Concept.concept_str_contains_domain(self.code):- raise ConceptCodeError(f"Code must contain a dot (.) for concept with code '{self.code}' and domain '{self.domain}'")-- domain, code = Concept.extract_domain_and_concept_from_str(concept_str=self.code)- if domain != self.domain:- raise ConceptDomainError(- f"Left part of code must match the domain field for concept with "- f"code '{self.code}' and domain '{self.domain}': {domain} != {self.domain}"- )-- self.validate_domain_syntax(domain, self.code, self.domain)- self.validate_concept_code_syntax(code, self.code, self.domain)-- return self-- @classmethod- def validate_domain_syntax(cls, domain: str, code: str, domain_field: str) -> None:- if not re.match(r"^[a-z][a-z0-9_]*$", domain):- raise ConceptDomainError(- f"Domain must be snake_case (lowercase letters, numbers, and underscores only) "- f"for concept with code '{code}' and domain '{domain_field}': {domain}"- )-- @classmethod- def validate_concept_code_syntax(cls, code: str, concept_code: str, domain_field: str) -> None:- if not re.match(r"^[A-Z][a-zA-Z0-9]*$", code):- raise ConceptCodeError(- f"Code must be PascalCase (letters and numbers only, starting with uppercase) "- f"for concept with code '{concept_code}' and domain '{domain_field}': {code}"- )-- @field_validator("refines")- @classmethod- def validate_refines(cls, value: List[str]) -> List[str]:- validated_refines: List[str] = []-- for refine_code in value:- # Handle NativeConcept values directly without importing ConceptCodeFactory to avoid circular import- if not cls.concept_str_contains_domain(refine_code):- # Check if it's a valid NativeConcept name- if refine_code in NativeConcept.names():- native_concept = NativeConcept(refine_code)- full_code = native_concept.code- validated_refines.append(full_code)- continue- else:- raise ConceptCodeError(f"Each refine code must contain a single dot (.), got: {refine_code}")- else:- # Already has domain, validate it directly- full_code = refine_code- validated_refines.append(full_code)-- # Validate the domain and concept syntax for the full code- domain, code = cls.extract_domain_and_concept_from_str(concept_str=full_code)- cls.validate_concept_code_syntax(code=code, concept_code=full_code, domain_field=domain)- cls.validate_domain_syntax(domain=domain, code=full_code, domain_field=domain)-- return validated_refines+ @property+ def concept_string(self) -> str:+ return f"{self.domain}.{self.code}"@classmethod- def extract_domain_and_concept_from_str(cls, concept_str: str) -> Tuple[str, str]:- if "." in concept_str:- domain_code, concept_code = concept_str.split(".")- return domain_code, concept_code- raise ConceptError(f"Could not extract domain and concept from '{concept_str}'")+ def is_implicit_concept(cls, concept_string: str) -> bool:+ ConceptBlueprint.validate_concept_string(concept_string=concept_string)+ return concept_string.startswith(SpecialDomain.IMPLICIT.value)++ @field_validator("code")+ def validate_code(cls, code: str) -> str:+ ConceptBlueprint.validate_concept_code(concept_code=code)+ return code++ @field_validator("domain")+ def validate_domain(cls, domain: str) -> str:+ DomainBlueprint.validate_domain_code(code=domain)+ return domain- @classmethod- def extract_concept_name_from_str(cls, concept_str: str) -> str:- _, concept = cls.extract_domain_and_concept_from_str(concept_str=concept_str)- return concept+ @field_validator("refines", mode="before")+ def validate_refines(cls, refines: Optional[str]) -> Optional[str]:+ if refines is None:+ return None+ ConceptBlueprint.validate_concept_string(concept_string=refines)+ return refines@classmethod- def extract_domain_from_str(cls, concept_str: str) -> str:- domain, _ = cls.extract_domain_and_concept_from_str(concept_str=concept_str)- return domain+ def sentence_from_concept(cls, concept: "Concept") -> str:+ return pascal_case_to_sentence(name=concept.code)@classmethod- def concept_str_contains_domain(cls, concept_str: str) -> bool:- """Check if the concept code contains a domain and is in the form <domain>.<concept_code>"""- return "." in concept_str and len(concept_str.split(".")) == 2+ def is_native_concept(cls, concept: "Concept") -> bool:+ return ConceptBlueprint.is_native_concept_string_or_concept_code(concept_string_or_concept_code=concept.concept_string)@classmethod- def sentence_from_concept_code(cls, concept_code: str) -> str:- return pascal_case_to_sentence(name=concept_code)+ def are_concept_compatible(cls, concept_1: "Concept", concept_2: "Concept", strict: bool = False) -> bool:+ if concept_1.concept_string == concept_2.concept_string:+ return True+ if concept_1.structure_class_name == concept_2.structure_class_name:+ return True+ if concept_1.refines is None and concept_2.refines is None:+ concept_1_class = KajsonManager.get_class_registry().get_class(name=concept_1.structure_class_name)+ concept_2_class = KajsonManager.get_class_registry().get_class(name=concept_2.structure_class_name)- @property- def node_name(self) -> str:- return self.code+ if concept_1_class is None or concept_2_class is None:+ return False- @classmethod- def is_native_concept(cls, concept_str: str) -> bool:- if Concept.concept_str_contains_domain(concept_str=concept_str):- domain = Concept.extract_domain_from_str(concept_str=concept_str)- return domain == SpecialDomain.NATIVE.value- else:- return concept_str in NativeConcept.names()+ if strict:+ # Check if classes are equivalent (same fields, types, descriptions)+ return ClassRegistryUtils.are_classes_equivalent(concept_1_class, concept_2_class)+ else:+ # Check if concept_1 is a subclass of concept_2+ try:+ if issubclass(concept_1_class, concept_2_class):+ return True+ except TypeError:+ pass++ # Check if concept_1 has a field that is of type concept_2_class+ return ClassRegistryUtils.has_compatible_field(concept_1_class, concept_2_class)+ return False@classmethoddef is_valid_structure_class(cls, structure_class_name: str) -> bool:diff --git a/pipelex/core/concepts/concept_blueprint.py b/pipelex/core/concepts/concept_blueprint.pyindex 4012935f5..378bbdadf 100644--- a/pipelex/core/concepts/concept_blueprint.py+++ b/pipelex/core/concepts/concept_blueprint.py@@ -1,13 +1,22 @@from typing import Any, Dict, List, Optional, Union-from pydantic import BaseModel, ConfigDict, Field, model_validator+from pydantic import BaseModel, ConfigDict, Field, field_validator, model_validatorfrom typing_extensions import Self-from pipelex.exceptions import ConceptFactoryError+from pipelex.core.concepts.concept_native import NativeConceptEnum, is_native_concept+from pipelex.core.concepts.exceptions import ConceptCodeError, ConceptStringError, ConceptStringOrConceptCodeError+from pipelex.core.domains.domain import SpecialDomain+from pipelex.core.domains.domain_blueprint import DomainBlueprint+from pipelex.tools.misc.string_utils import is_pascal_case+from pipelex.tools.typing.validation_utils import has_more_than_one_among_attributes_from_listfrom pipelex.types import StrEnum-class ConceptStructureBlueprintError(ConceptFactoryError):+class ConceptBlueprintError(Exception):+ pass+++class ConceptStructureBlueprintError(Exception):pass@@ -29,23 +38,83 @@ class ConceptStructureBlueprint(BaseModel):value_type: Optional[str] = Nonechoices: Optional[List[str]] = Field(default_factory=list)required: Optional[bool] = Field(default=True)+ default_value: Optional[Any] = None++ # TODO: date translator for default_value@model_validator(mode="after")def validate_structure_blueprint(self) -> Self:"""Validate the structure blueprint according to type rules."""# If type is None (array), choices must not be Noneif self.type is None and not self.choices:- raise ConceptStructureBlueprintError("When type is None (array), choices must not be empty")+ raise ConceptStructureBlueprintError(+ f"When type is None (array), choices must not be empty. Actual type: {self.type}, choices: {self.choices}"+ )# If type is "dict", key_type and value_type must not be emptyif self.type == ConceptStructureBlueprintFieldType.DICT:if not self.key_type:- raise ConceptStructureBlueprintError(f"When type is '{ConceptStructureBlueprintFieldType.DICT}', key_type must not be empty")+ raise ConceptStructureBlueprintError(+ f"When type is '{ConceptStructureBlueprintFieldType.DICT}', key_type must not be empty. Actual key_type: {self.key_type}"+ )if not self.value_type:- raise ConceptStructureBlueprintError(f"When type is '{ConceptStructureBlueprintFieldType.DICT}', value_type must not be empty")+ raise ConceptStructureBlueprintError(+ f"When type is '{ConceptStructureBlueprintFieldType.DICT}', value_type must not be empty. Actual value_type: {self.value_type}"+ )++ # Check when default_value is not None, type is not None (except for choice fields)+ if self.default_value is not None and self.type is None and not self.choices:+ raise ConceptStructureBlueprintError(+ f"When default_value is not None, type must be specified (unless choices are provided). "+ f"Actual type: {self.type}, default_value: {self.default_value}, choices: {self.choices}"+ )++ # Check default_value type is the same as type+ if self.default_value is not None and self.type is not None:+ self._validate_default_value_type()++ # Check default_value is valid for choice fields+ if self.default_value is not None and self.type is None and self.choices:+ if self.default_value not in self.choices:+ raise ConceptStructureBlueprintError(+ f"default_value must be one of the valid choices. Got '{self.default_value}', valid choices: {self.choices}"+ )return self+ def _validate_default_value_type(self) -> None:+ """Validate that default_value matches the specified type."""+ if self.type is None or self.default_value is None:+ return++ match self.type:+ case ConceptStructureBlueprintFieldType.TEXT:+ if not isinstance(self.default_value, str):+ self._raise_type_mismatch_error("str", type(self.default_value).__name__)+ case ConceptStructureBlueprintFieldType.INTEGER:+ if not isinstance(self.default_value, int):+ self._raise_type_mismatch_error("int", type(self.default_value).__name__)+ case ConceptStructureBlueprintFieldType.BOOLEAN:+ if not isinstance(self.default_value, bool):+ self._raise_type_mismatch_error("bool", type(self.default_value).__name__)+ case ConceptStructureBlueprintFieldType.NUMBER:+ if not isinstance(self.default_value, (int, float)):+ self._raise_type_mismatch_error("number (int or float)", type(self.default_value).__name__)+ case ConceptStructureBlueprintFieldType.LIST:+ if not isinstance(self.default_value, list):+ self._raise_type_mismatch_error("list", type(self.default_value).__name__)+ case ConceptStructureBlueprintFieldType.DICT:+ if not isinstance(self.default_value, dict):+ self._raise_type_mismatch_error("dict", type(self.default_value).__name__)+ case _:+ raise ConceptStructureBlueprintError(f"Unknown type: {self.type} in structure blueprint with definition: {self.definition}")++ def _raise_type_mismatch_error(self, expected_type_name: str, actual_type_name: str) -> None:+ """Raise a type mismatch error with consistent formatting."""+ raise ConceptStructureBlueprintError(+ f"default_value type mismatch: expected {expected_type_name} for type '{self.type}', but got {actual_type_name}"+ )+ConceptStructureBlueprintType = Union[str, ConceptStructureBlueprint]@@ -55,27 +124,111 @@ class ConceptBlueprint(BaseModel):definition: strstructure: Optional[Union[str, Dict[str, ConceptStructureBlueprintType]]] = None- refines: Optional[Union[str, List[str]]] = Field(default_factory=list)-- @model_validator(mode="after")- def model_validate_blueprint(self) -> Self:- return self-- def structure_to_field_def(self) -> Dict[str, Any]:- if isinstance(self.structure, str):- raise ValueError("structure_to_field_def can only be called when structure is a dict in the blueprint")-- if self.structure is None:- return {}-- # Process the dict structure- result: Dict[str, Any] = {}- for key, value in self.structure.items():- if isinstance(value, ConceptStructureBlueprint):- # Use model_dump for ConceptStructureBlueprint instances- result[key] = value.model_dump()- else:- # This shouldn't happen based on the type hints, but handle it gracefully- result[key] = {"type": ConceptStructureBlueprintFieldType.TEXT, "definition": value}-- return result+ # TODO: restore possibility of multiple refiles+ refines: Optional[str] = None++ @classmethod+ def is_native_concept_code(cls, concept_code: str) -> bool:+ ConceptBlueprint.validate_concept_code(concept_code=concept_code)+ return concept_code in [native_concept.value for native_concept in NativeConceptEnum]++ @classmethod+ def is_native_concept_string_or_concept_code(cls, concept_string_or_concept_code: str) -> bool:+ if "." in concept_string_or_concept_code:+ domain, concept_code = concept_string_or_concept_code.split(".", 1)+ if domain == SpecialDomain.NATIVE.value and concept_code in [native_concept.value for native_concept in NativeConceptEnum]:+ return True+ else:+ if is_native_concept(concept_string_or_concept_code):+ return True+ return False++ @classmethod+ def validate_concept_code(cls, concept_code: str) -> None:+ if not is_pascal_case(concept_code):+ raise ConceptCodeError(+ f"Concept code '{concept_code}' must be PascalCase (letters and numbers only, starting with uppercase, without `.`)"+ )++ @classmethod+ def validate_concept_string_or_concept_code(cls, concept_string_or_concept_code: str) -> None:+ if concept_string_or_concept_code.count(".") > 1:+ raise ConceptStringOrConceptCodeError(+ f"concept_string_or_concept_code '{concept_string_or_concept_code}' is invalid. "+ "It should either contain a domain in snake_case and a concept code in PascalCase separated by one dot, "+ "or be a concept code in PascalCase."+ )++ elif concept_string_or_concept_code.count(".") == 1:+ domain, concept_code = concept_string_or_concept_code.split(".")+ DomainBlueprint.validate_domain_code(code=domain)+ cls.validate_concept_code(concept_code=concept_code)+ else:+ cls.validate_concept_code(concept_code=concept_string_or_concept_code)++ @staticmethod+ def validate_concept_string(concept_string: str) -> None:+ """Validate that a concept code follows PascalCase convention."""+ if "." not in concept_string:+ raise ConceptStringError(+ f"Concept string '{concept_string}' is invalid. It should contain a domain in snake_case "+ "and a concept code in PascalCase separated by one dot."+ )+ elif concept_string.count(".") > 1:+ raise ConceptStringError(+ f"Concept string '{concept_string}' is invalid. It should contain a domain in snake_case "+ "and a concept code in PascalCase separated by one dot."+ )+ else:+ domain, concept_code = concept_string.split(".", 1)++ # Validate domain+ DomainBlueprint.validate_domain_code(domain)++ # Validate concept code+ if not is_pascal_case(concept_code):+ raise ConceptCodeError(+ f"Concept code '{concept_code}' must be PascalCase (letters and numbers only, starting with uppercase, without `.`)"+ )++ # Validate that if the concept code is among the native concepts, the domain MUST be native.+ if concept_code in [native_concept.value for native_concept in NativeConceptEnum]:+ if domain != SpecialDomain.NATIVE.value:+ raise ConceptStringError(+ f"Concept string '{concept_string}' is invalid. "+ f"Concept code '{concept_code}' is a native concept, so the domain must be '{SpecialDomain.NATIVE.value}', "+ f"or nothing, but not '{domain}'"+ )++ # Validate that if the domain is native, the concept code is a native concept+ if domain == SpecialDomain.NATIVE.value:+ if concept_code not in [native_concept.value for native_concept in NativeConceptEnum]:+ raise ConceptStringError(+ f"Concept string '{concept_string}' is invalid. "+ f"Concept code '{concept_code}' is not a native concept, so the domain must not be '{SpecialDomain.NATIVE.value}'."+ )++ @field_validator("refines", mode="before")+ @classmethod+ def validate_refines(cls, refines: Optional[str] = None) -> Optional[str]:+ if refines is not None:+ if not is_native_concept(refines):+ raise ConceptBlueprintError(f"Forbidden to refine a non-native concept: '{refines}'. Refining non-native concepts will come soon.")+ cls.validate_concept_string_or_concept_code(concept_string_or_concept_code=refines)+ return refines++ @model_validator(mode="before")+ def model_validate_blueprint(cls, values: Union[Dict[str, Any], "ConceptBlueprint"]) -> Union[Dict[str, Any], "ConceptBlueprint"]:+ if isinstance(values, dict):+ if values.get("refines") and values.get("structure"):+ raise ConceptBlueprintError(+ f"Forbidden to have refines and structure at the same time: `{values.get('refines')}` "+ f"and `{values.get('structure')}` for concept that has the definition `{values.get('definition')}`"+ )+ elif hasattr(values, "refines") and hasattr(values, "structure"):+ if has_more_than_one_among_attributes_from_list(obj=values, attributes_list=["refines", "structure"]):+ raise ConceptBlueprintError(+ f"Forbidden to have refines and structure at the same time: `{values.refines}` "+ f"and `{values.structure}` for concept that has the definition `{values.definition}`"+ )+ return valuesdiff --git a/pipelex/core/concepts/concept_code_factory.py b/pipelex/core/concepts/concept_code_factory.pydeleted file mode 100644index dbfd0cd9c..000000000--- a/pipelex/core/concepts/concept_code_factory.py+++ /dev/null@@ -1,27 +0,0 @@-from typing import Optional--from pipelex.core.concepts.concept import Concept-from pipelex.core.concepts.concept_native import NativeConcept-from pipelex.exceptions import ConceptFactoryError---class ConceptCodeFactory:- @classmethod- def make_concept_code(cls, domain: str, code: str) -> str:- if "." in code:- return code- return f"{domain}.{code}"-- @classmethod- def make_concept_code_from_str(cls, concept_str: str, domain: Optional[str] = None, fallback_domain: Optional[str] = None) -> str:- if Concept.concept_str_contains_domain(concept_str=concept_str):- return concept_str- elif concept_str in NativeConcept.names():- native_concept = NativeConcept(concept_str)- return native_concept.code- elif domain:- return cls.make_concept_code(domain=domain, code=concept_str)- elif fallback_domain:- return cls.make_concept_code(domain=fallback_domain, code=concept_str)- else:- raise ConceptFactoryError(f"Concept '{concept_str}' does not contain a domain and no fallback domain was provided")diff --git a/pipelex/core/concepts/concept_factory.py b/pipelex/core/concepts/concept_factory.pyindex 240e8b5ec..28b5ae33c 100644--- a/pipelex/core/concepts/concept_factory.py+++ b/pipelex/core/concepts/concept_factory.py@@ -1,168 +1,199 @@-from typing import Any, Dict, List, Union+from typing import Any, Dict, List, Optional-from pydantic import ValidationError+from kajson.kajson_manager import KajsonManager+from pydantic import BaseModelfrom pipelex.core.concepts.concept import Concept-from pipelex.core.concepts.concept_blueprint import ConceptBlueprint-from pipelex.core.concepts.concept_code_factory import ConceptCodeFactory-from pipelex.core.concepts.concept_native import NativeConcept, NativeConceptClass+from pipelex.core.concepts.concept_blueprint import (+ ConceptBlueprint,+ ConceptStructureBlueprint,+ ConceptStructureBlueprintFieldType,+ ConceptStructureBlueprintType,+)+from pipelex.core.concepts.concept_native import NativeConceptEnumData, is_native_conceptfrom pipelex.core.domains.domain import SpecialDomainfrom pipelex.core.stuffs.stuff_content import TextContent-from pipelex.create.structured_output_generator import generate_structured_output_from_inline_definition+from pipelex.create.structured_output_generator import StructureGeneratorfrom pipelex.exceptions import ConceptFactoryError, StructureClassError-from pipelex.hub import get_class_registry+++class DomainAndConceptCode(BaseModel):+ """Small model to represent domain and concept code pair."""++ domain: str+ concept_code: strclass ConceptFactory:@classmethod- def make_refines(cls, domain: str, refines: Union[str, List[str]]) -> List[str]:- if isinstance(refines, str):- concept_str_list = [refines]- else:- concept_str_list = refines- new_refines: List[str] = []- for concept_str in concept_str_list:- concept_code = ConceptCodeFactory.make_concept_code_from_str(concept_str=concept_str, domain=domain, fallback_domain=domain)- new_refines.append(concept_code)- return new_refines+ def normalize_structure_blueprint(cls, structure_dict: Dict[str, ConceptStructureBlueprintType]) -> Dict[str, ConceptStructureBlueprint]:+ """Convert a mixed structure dictionary to a proper ConceptStructureBlueprint dictionary.++ Args:+ structure_dict: Dictionary that may contain strings or ConceptStructureBlueprint objects++ Returns:+ Dictionary with all values as ConceptStructureBlueprint objects+ """+ normalized: Dict[str, ConceptStructureBlueprint] = {}++ for field_name, field_value in structure_dict.items():+ if isinstance(field_value, str):+ # Convert string definition to ConceptStructureBlueprint for text field+ normalized[field_name] = ConceptStructureBlueprint(+ definition=field_value,+ type=ConceptStructureBlueprintFieldType.TEXT, # Explicitly set as text field+ required=True, # Default for simple string definitions+ )+ else:+ normalized[field_name] = field_value++ return normalized@classmethod- def make_concept_from_definition_str(- cls,- domain_code: str,- concept_str: str,- definition: str,- ) -> Concept:- structure_class_name: str- refines: List[str]- if Concept.concept_str_contains_domain(concept_str=concept_str):- concept_name = Concept.extract_concept_name_from_str(concept_str=concept_str)+ def make_implicit_concept(cls, concept_string: str) -> Concept:+ ConceptBlueprint.validate_concept_string(concept_string=concept_string)+ return Concept(+ code=concept_string.split(".")[1],+ domain=SpecialDomain.IMPLICIT,+ definition=concept_string,+ structure_class_name=TextContent.__name__,+ )++ @classmethod+ def construct_concept_string_with_domain(cls, domain: str, concept_code: str) -> str:+ return f"{domain}.{concept_code}"++ @classmethod+ def make(cls, concept_code: str, domain: str, definition: str, structure_class_name: str, refines: Optional[str] = None) -> Concept:+ return Concept(+ code=concept_code,+ domain=domain,+ definition=definition,+ structure_class_name=structure_class_name,+ refines=refines,+ )++ @classmethod+ def make_native_concept(cls, native_concept_data: NativeConceptEnumData) -> Concept:+ return Concept(+ code=native_concept_data.code,+ domain=SpecialDomain.NATIVE,+ definition=native_concept_data.definition,+ structure_class_name=native_concept_data.content_class_name,+ )++ @classmethod+ def make_domain_and_concept_code_from_concept_string_or_concept_code(+ cls, domain: str, concept_string_or_concept_code: str, concept_codes_from_the_same_domain: Optional[List[str]] = None+ ) -> DomainAndConceptCode:+ # At this point, the concept_string_or_concept_code is already validated+ if "." in concept_string_or_concept_code:+ # Is a concept string.+ parts = concept_string_or_concept_code.rsplit(".")+ return DomainAndConceptCode(domain=parts[0], concept_code=parts[1])else:- concept_name = concept_str- if Concept.is_valid_structure_class(structure_class_name=concept_name):- # structure is set implicitly, by the concept's code- structure_class_name = concept_name- refines = []+ if is_native_concept(concept_string_or_concept_code=concept_string_or_concept_code):+ return DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code=concept_string_or_concept_code)++ elif (+ concept_codes_from_the_same_domain and concept_string_or_concept_code in concept_codes_from_the_same_domain+ ): # Is a concept code from the same domain+ return DomainAndConceptCode(domain=domain, concept_code=concept_string_or_concept_code)+ else:+ return DomainAndConceptCode(domain=SpecialDomain.IMPLICIT.value, concept_code=concept_string_or_concept_code)++ @classmethod+ def make_refine(cls, refine: str) -> str:+ if ConceptBlueprint.is_native_concept_string_or_concept_code(concept_string_or_concept_code=refine):+ if "." in refine:+ return refine+ else:+ return f"{SpecialDomain.NATIVE}.{refine}"else:- structure_class_name = TextContent.__name__- refines = [NativeConcept.TEXT.code]-- try:- the_concept = Concept(- code=ConceptCodeFactory.make_concept_code(domain_code, concept_name),- domain=domain_code,- definition=definition,- structure_class_name=structure_class_name,- refines=refines,- )- return Concept.model_validate(the_concept)- except ValidationError as exc:- raise ConceptFactoryError(f"Error validating concept: {exc}") from exc+ raise ConceptFactoryError(f"Refine '{refine}' is not a native concept")@classmethod- def make_concept_from_blueprint(+ def make_refines(cls, blueprint: ConceptBlueprint) -> Optional[str]:+ if blueprint.refines:+ return cls.make_refine(refine=blueprint.refines)+ return None++ @classmethod+ def make_from_blueprint(cls,domain: str,- code: str,- concept_blueprint: ConceptBlueprint,+ concept_code: str,+ blueprint: ConceptBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,) -> Concept:- current_refines: List[str]- if concept_blueprint.refines:- current_refines = cls.make_refines(domain=domain, refines=concept_blueprint.refines)- else:- current_refines = []+ ConceptBlueprint.validate_concept_code(concept_code=concept_code)+ structure_class_name: str+ current_refine: Optional[str] = None- structure_class_name: str = code- if concept_blueprint.structure:- if isinstance(concept_blueprint.structure, str):- # Structure is defined inline - generate Python class dynamically- if not Concept.is_valid_structure_class(structure_class_name=concept_blueprint.structure):+ # Handle structure definition+ if blueprint.structure:+ if isinstance(blueprint.structure, str):+ # Structure is defined as a string - check if the class is in the registry and is valid+ if not Concept.is_valid_structure_class(structure_class_name=blueprint.structure):raise StructureClassError(- f"Structure class '{concept_blueprint.structure}' set for concept '{code}' in domain '{domain}' "+ f"Structure class '{blueprint.structure}' set for concept '{concept_code}' in domain '{domain}' ""is not a registered subclass of StuffContent")- structure_class_name = concept_blueprint.structure+ structure_class_name = blueprint.structureelse:- # Structure is defined as a ConceptStructureBlueprint+ # Structure is defined as a ConceptStructureBlueprint - run the structure generator and put it in the class registrytry:- # Generate Python class from inline definition- python_code = generate_structured_output_from_inline_definition(- class_name=code,- fields_def=concept_blueprint.structure_to_field_def(),- enums=None, # TODO: Handle enums if needed in the future+ # Normalize the structure blueprint to ensure all values are ConceptStructureBlueprint objects+ normalized_structure = cls.normalize_structure_blueprint(blueprint.structure)++ python_code = StructureGenerator().generate_from_structure_blueprint(+ class_name=concept_code,+ structure_blueprint=normalized_structure,)# Execute the generated Python code to register the classexec_globals: Dict[str, Any] = {}exec(python_code, exec_globals)- # Get the generated class and register it- generated_class = exec_globals[code]- get_class_registry().register_class(generated_class)+ # Register the generated class+ KajsonManager.get_class_registry().register_class(exec_globals[concept_code])++ # The structure_class_name of the concept is the concept_code+ structure_class_name = concept_codeexcept Exception as exc:- raise ConceptFactoryError(f"Error generating structure class for concept '{code}' in domain '{domain}': {exc}") from exc- elif Concept.is_valid_structure_class(structure_class_name=code):- # No structure defined on the blueprint, but the concept code is a valid structure class- pass+ raise ConceptFactoryError(f"Error generating structure class for concept '{concept_code}' in domain '{domain}': {exc}") from exc++ # Handle refines definition+ elif blueprint.refines:+ # If we have refines, validate that there is no structure related to the concept code in the class registry+ if Concept.is_valid_structure_class(structure_class_name=concept_code):+ raise ConceptFactoryError(+ f"Concept '{concept_code}' in domain '{domain}' has refines but also has a structure class registered. "+ "A concept cannot have both structure and refines."+ )+ current_refine = cls.make_refines(blueprint=blueprint)+ structure_class_name = current_refine.split(".")[1] + "Content" if current_refine else TextContent.__name__+ # Handle neither structure nor refines - check the class registryelse:- if concept_blueprint.refines:- # Has a refining element- pass+ # If there is a class, use it. structure_class_name is then the concept_code+ if Concept.is_valid_structure_class(structure_class_name=concept_code):+ structure_class_name = concept_codeelse:- # Fallback to Text structure+ # If there is NO class, the fallback class is TextContent.__name__structure_class_name = TextContent.__name__- current_refines = [NativeConcept.TEXT.code]- refines = cls.make_refines(domain=domain, refines=current_refines)- return Concept(- code=ConceptCodeFactory.make_concept_code(domain, code),+ domain_and_concept_code = cls.make_domain_and_concept_code_from_concept_string_or_concept_code(domain=domain,- definition=concept_blueprint.definition,- structure_class_name=structure_class_name,- refines=refines,+ concept_string_or_concept_code=concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,)- @classmethod- def make_native_concept(cls, native_concept: NativeConcept) -> Concept:- definition: str- match native_concept:- case NativeConcept.TEXT:- definition = "A text"- case NativeConcept.IMAGE:- definition = "An image"- case NativeConcept.PDF:- definition = "A PDF"- case NativeConcept.TEXT_AND_IMAGES:- definition = "A text and an image"- case NativeConcept.NUMBER:- definition = "A number"- case NativeConcept.LLM_PROMPT:- definition = "A prompt for an LLM"- case NativeConcept.DYNAMIC:- definition = "A dynamic concept"- case NativeConcept.PAGE:- definition = "The content of a page of a document, comprising text and linked images as well as an optional page view image"- case NativeConcept.ANYTHING:- raise RuntimeError("NativeConcept.ANYTHING cannot be used as a concept")-return Concept(- code=native_concept.code,- domain=SpecialDomain.NATIVE,- definition=definition,- structure_class_name=native_concept.content_class_name,+ domain=domain_and_concept_code.domain,+ code=domain_and_concept_code.concept_code,+ definition=blueprint.definition,+ structure_class_name=structure_class_name,+ refines=current_refine,)-- @classmethod- def make_native_concept_from_native_concept_class(cls, native_concept_class: NativeConceptClass) -> Concept:- native_concept = native_concept_class.native_concept- return cls.make_native_concept(native_concept=native_concept)-- @classmethod- def list_native_concepts(cls) -> List[Concept]:- concepts: List[Concept] = []- for native_concept in NativeConcept:- if native_concept == NativeConcept.ANYTHING:- continue- concepts.append(cls.make_native_concept(native_concept=native_concept))- return conceptsdiff --git a/pipelex/core/concepts/concept_library.py b/pipelex/core/concepts/concept_library.pyindex a79a4d8d1..a5c04c426 100644--- a/pipelex/core/concepts/concept_library.py+++ b/pipelex/core/concepts/concept_library.py@@ -3,11 +3,10 @@ from typing import Any, Dict, List, Optional, Typefrom pydantic import Field, RootModelfrom typing_extensions import override-from pipelex import logfrom pipelex.core.concepts.concept import Concept-from pipelex.core.concepts.concept_code_factory import ConceptCodeFactory+from pipelex.core.concepts.concept_blueprint import ConceptBlueprintfrom pipelex.core.concepts.concept_factory import ConceptFactory-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnumfrom pipelex.core.concepts.concept_provider_abstract import ConceptProviderAbstractfrom pipelex.core.domains.domain import SpecialDomainfrom pipelex.core.stuffs.stuff_content import ImageContent@@ -21,169 +20,106 @@ class ConceptLibrary(RootModel[ConceptLibraryRoot], ConceptProviderAbstract):root: ConceptLibraryRoot = Field(default_factory=dict)def validate_with_libraries(self):+ """Validates that the each refine concept code in the refines array of each concept in the library exists in the library"""for concept in self.root.values():- for domain_concept_code in concept.refines:- if "." in domain_concept_code:- domain, concept_code = Concept.extract_domain_and_concept_from_str(concept_str=domain_concept_code)-- found_concept = self.root.get(f"{domain}.{concept_code}", None)- if not found_concept:- raise ConceptLibraryError(- f"Concept '{concept.code}' refines '{domain_concept_code}' but no concept "- f"with the code '{concept_code}' and domain '{domain}' exists"- )- else:- current_domain = concept.domain- found_concept = self.root.get(f"{current_domain}.{domain_concept_code}", None)- if not found_concept:- raise ConceptLibraryError(- f"Concept '{concept.code}' refines '{domain_concept_code}' but no concept "- f"with the code '{domain_concept_code}' and domain '{current_domain}' exists"- )- if found_concept.domain != current_domain:- raise ConceptLibraryError(- f"Concept '{concept.code}' refines '{domain_concept_code}' but the concept "- f"exists in domain '{found_concept.domain}' and not in the same domain '{current_domain}'"- )-- self.get_required_concept(concept_code=domain_concept_code)+ if concept.refines and concept.refines not in self.root.keys():+ raise ConceptLibraryError(+ f"Concept '{concept.code}' refines '{concept.refines}' but no concept with the code '{concept.refines}' exists"+ )++ @override+ def setup(self):+ native_concepts = [+ ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[native_concept]) for native_concept in NativeConceptEnum+ ]+ self.add_concepts(native_concepts)+ @overridedef reset(self):self.root = {}+ self.setup()++ @override+ def teardown(self):+ self.root = {}@classmethoddef make_empty(cls):return cls(root={})@override- def is_concept_implicit(self, concept_code: str) -> bool:- concept_names = self._list_concept_names()- is_implicit = concept_code not in concept_names- if is_implicit:- log.debug(f"Concept '{concept_code}' is implicit")- return is_implicit+ def get_native_concept(self, native_concept: NativeConceptEnum) -> Concept:+ try:+ return self.root[f"{SpecialDomain.NATIVE.value}.{native_concept.value}"]+ except KeyError:+ raise ConceptLibraryConceptNotFoundError(f"Native concept '{native_concept.value}' not found in the library")++ def get_native_concepts(self) -> List[Concept]:+ """Create all native concepts from the hardcoded data"""+ return [self.get_native_concept(native_concept=native_concept) for native_concept in NativeConceptEnum]@overridedef list_concepts(self) -> List[Concept]:return list(self.root.values())- def _list_concept_names(self) -> List[str]:- return [Concept.extract_domain_and_concept_from_str(concept.code)[1] for concept in self.list_concepts()]-- @override- def is_concept_code_legal(self, concept_code: str) -> bool:- """Given a `domain.concept_code` concept_str verifies that this concept does belong to this domain or not."""- if Concept.concept_str_contains_domain(concept_str=concept_code):- domain = Concept.extract_domain_from_str(concept_str=concept_code)- concept_code = Concept.extract_concept_name_from_str(concept_str=concept_code)- return f"{domain}.{concept_code}" in self.root- else:- return False-@overridedef list_concepts_by_domain(self, domain: str) -> List[Concept]:return [concept for key, concept in self.root.items() if key.startswith(f"{domain}.")]+ @overridedef add_new_concept(self, concept: Concept):- name = concept.code- if name in self.root:- raise ConceptLibraryError(f"Concept '{name}' already exists in the library")- self.root[name] = concept+ if concept.concept_string in self.root:+ raise ConceptLibraryError(f"Concept '{concept.concept_string}' already exists in the library")+ self.root[concept.concept_string] = concept+ @overridedef add_concepts(self, concepts: List[Concept]):for concept in concepts:self.add_new_concept(concept=concept)@override- def is_compatible(self, tested_concept: Concept, wanted_concept: Concept) -> bool:- if tested_concept.code == wanted_concept.code:+ def is_compatible(self, tested_concept: Concept, wanted_concept: Concept, strict: bool = False) -> bool:+ if Concept.are_concept_compatible(concept_1=tested_concept, concept_2=wanted_concept, strict=strict):return True- for inherited_concept_code in tested_concept.refines:- inherited_concept = self.get_required_concept(concept_code=inherited_concept_code)- if self.is_compatible(inherited_concept, wanted_concept):- return Truereturn False@override- def is_compatible_by_concept_code(self, tested_concept_code: str, wanted_concept_code: str) -> bool:- if wanted_concept_code == NativeConcept.ANYTHING.code:- log.verbose(- f"Concept '{tested_concept_code}' is compatible with '{wanted_concept_code}' "- f"because '{wanted_concept_code}' is '{NativeConcept.ANYTHING.code}'"- )- return True- tested_concept = self.get_required_concept(concept_code=tested_concept_code)- wanted_concept = self.get_required_concept(concept_code=wanted_concept_code)- if tested_concept.code == wanted_concept.code:- log.verbose(f"Concept '{tested_concept_code}' is compatible with '{wanted_concept_code}' because they have the same code")- return True- for inherited_concept_code in tested_concept.refines:- if self.is_compatible_by_concept_code(inherited_concept_code, wanted_concept_code):- log.verbose(- f"Concept '{tested_concept_code}' is compatible with '{wanted_concept_code}' "- f"because '{tested_concept_code}' refines '{inherited_concept_code}' which is compatible with '{wanted_concept_code}'"- )- return True- return False-- @override- def get_concept(self, concept_code: str) -> Optional[Concept]:- return self.root.get(concept_code, None)-- @override- def get_required_concept(self, concept_code: str) -> Concept:- if Concept.is_native_concept(concept_str=concept_code):- if Concept.concept_str_contains_domain(concept_str=concept_code):- domain, concept_code = Concept.extract_domain_and_concept_from_str(concept_str=concept_code)- concept_code = f"{domain}.{concept_code}"- else:- concept_code = f"{SpecialDomain.NATIVE.value}.{concept_code}"- the_concept = self.get_concept(concept_code=concept_code)- if not the_concept:- if self.is_concept_implicit(concept_code=concept_code):- # The implicit concept is obviously coming with a domain (the one it is used in)- # TODO: replace this with a concept factory method make_implicit_concept- return ConceptFactory.make_concept_from_definition_str(- domain_code=SpecialDomain.IMPLICIT,- concept_str=Concept.extract_domain_and_concept_from_str(concept_str=concept_code)[1],- definition=concept_code,- )- else:- raise ConceptLibraryConceptNotFoundError(f"Concept code was not found and is not implicit: '{concept_code}'")- return the_concept-- @override- def get_concepts_dict(self) -> Dict[str, Concept]:- return self.root-- @override- def teardown(self) -> None:- self.root = {}+ def get_required_concept(self, concept_string: str) -> Concept:+ """+ `concept_string` can have the domain or not. If it doesn't have the domain, it is assumed to be native.+ If it is not native and doesnt have a domain, it should raise an error+ """+ if Concept.is_implicit_concept(concept_string=concept_string):+ return ConceptFactory.make_implicit_concept(concept_string=concept_string)+ ConceptBlueprint.validate_concept_string(concept_string=concept_string)+ concept = self.root[concept_string]+ return concept@overridedef get_class(self, concept_code: str) -> Optional[Type[Any]]:return get_class_registry().get_class(concept_code)@override- def is_image_concept(self, concept_code: str) -> bool:+ def is_image_concept(self, concept: Concept) -> bool:"""Check if the concept is an image concept.It is an image concept if its structure class is a subclass of ImageContentor if it refines the native Image concept."""- concept = self.get_concept(concept_code=concept_code)- if not concept:- return Falsepydantic_model = self.get_class(concept_code=concept.structure_class_name)is_image_class = bool(pydantic_model and issubclass(pydantic_model, ImageContent))- refines_image = self.is_compatible_by_concept_code(tested_concept_code=concept.code, wanted_concept_code=NativeConcept.IMAGE.code)+ refines_image = self.is_compatible(+ tested_concept=concept, wanted_concept=self.get_native_concept(native_concept=NativeConceptEnum.IMAGE), strict=True+ )return is_image_class or refines_image@override- def search_for_concept_in_domains(self, concept_name: str, search_domains: List[str]) -> Optional[Concept]:+ def search_for_concept_in_domains(self, concept_code: str, search_domains: List[str]) -> Optional[Concept]:+ ConceptBlueprint.validate_concept_code(concept_code=concept_code)for domain in search_domains:- concept_code = ConceptCodeFactory.make_concept_code(domain=domain, code=concept_name)- if found_concept := self.get_concept(concept_code=concept_code):+ if found_concept := self.get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(domain=domain, concept_code=concept_code)+ ):return found_conceptreturn Nonediff --git a/pipelex/core/concepts/concept_native.py b/pipelex/core/concepts/concept_native.pyindex b9c5a349c..de8e2030b 100644--- a/pipelex/core/concepts/concept_native.py+++ b/pipelex/core/concepts/concept_native.py@@ -1,49 +1,20 @@-from enum import Enum-from typing import List+from typing import Dict, NamedTuplefrom pipelex.core.domains.domain import SpecialDomainfrom pipelex.types import StrEnum-class NativeConceptClass(StrEnum):- DYNAMIC = "DynamicContent"- TEXT = "TextContent"- IMAGE = "ImageContent"- PDF = "PDFContent"- TEXT_AND_IMAGES = "TextAndImagesContent"- NUMBER = "NumberContent"- LLM_PROMPT = "LLMPromptContent"- PAGE = "PageContent"+class NativeConceptEnumError(Exception):+ pass- @classmethod- def class_names(cls) -> List[str]:- return [code.value for code in cls]- @property- def native_concept(self) -> "NativeConcept":- match self:- case NativeConceptClass.DYNAMIC:- return NativeConcept.DYNAMIC- case NativeConceptClass.TEXT:- return NativeConcept.TEXT- case NativeConceptClass.IMAGE:- return NativeConcept.IMAGE- case NativeConceptClass.PDF:- return NativeConcept.PDF- case NativeConceptClass.TEXT_AND_IMAGES:- return NativeConcept.TEXT_AND_IMAGES- case NativeConceptClass.NUMBER:- return NativeConcept.NUMBER- case NativeConceptClass.LLM_PROMPT:- return NativeConcept.LLM_PROMPT- case NativeConceptClass.PAGE:- return NativeConcept.PAGE+class NativeConceptEnumData(NamedTuple):+ code: str+ content_class_name: str+ definition: str-# Exceptionally, we use an Enum here (and not our usual StrEnum) to avoid confusion with-# the concept_code which must have the form "native.ConceptName"-class NativeConcept(Enum):- ANYTHING = "Anything"+class NativeConceptEnum(StrEnum):DYNAMIC = "Dynamic"TEXT = "Text"IMAGE = "Image"@@ -52,35 +23,54 @@ class NativeConcept(Enum):NUMBER = "Number"LLM_PROMPT = "LlmPrompt"PAGE = "Page"+ ANYTHING = "Anything"+++NATIVE_CONCEPTS_DATA: Dict[NativeConceptEnum, NativeConceptEnumData] = {+ NativeConceptEnum.DYNAMIC: NativeConceptEnumData(+ code=NativeConceptEnum.DYNAMIC, content_class_name=f"{NativeConceptEnum.DYNAMIC}Content", definition="A dynamic concept"+ ),+ NativeConceptEnum.TEXT: NativeConceptEnumData(+ code=NativeConceptEnum.TEXT, content_class_name=f"{NativeConceptEnum.TEXT}Content", definition="A text"+ ),+ NativeConceptEnum.IMAGE: NativeConceptEnumData(+ code=NativeConceptEnum.IMAGE, content_class_name=f"{NativeConceptEnum.IMAGE}Content", definition="An image"+ ),+ NativeConceptEnum.PDF: NativeConceptEnumData(+ code=NativeConceptEnum.PDF, content_class_name=f"{NativeConceptEnum.PDF}Content", definition="A PDF"+ ),+ NativeConceptEnum.TEXT_AND_IMAGES: NativeConceptEnumData(+ code=NativeConceptEnum.TEXT_AND_IMAGES, content_class_name=f"{NativeConceptEnum.TEXT_AND_IMAGES}Content", definition="A text and an image"+ ),+ NativeConceptEnum.NUMBER: NativeConceptEnumData(+ code=NativeConceptEnum.NUMBER, content_class_name=f"{NativeConceptEnum.NUMBER}Content", definition="A number"+ ),+ NativeConceptEnum.LLM_PROMPT: NativeConceptEnumData(+ code=NativeConceptEnum.LLM_PROMPT, content_class_name=f"{NativeConceptEnum.LLM_PROMPT}Content", definition="A prompt for an LLM"+ ),+ NativeConceptEnum.PAGE: NativeConceptEnumData(+ code=NativeConceptEnum.PAGE,+ content_class_name=f"{NativeConceptEnum.PAGE}Content",+ definition="The content of a page of a document, comprising text and linked images and an optional page view image",+ ),+ NativeConceptEnum.ANYTHING: NativeConceptEnumData(+ code=NativeConceptEnum.ANYTHING, content_class_name=f"{NativeConceptEnum.ANYTHING}Content", definition="Anything"+ ),+}+++def is_native_concept(concept_string_or_concept_code: str) -> bool:+ """Check if a concept reference is a native concept (short or fully qualified form)."""+ native_concept_values = [native_concept.value for native_concept in NativeConceptEnum]- @classmethod- def names(cls) -> List[str]:- return [code.value for code in cls]+ # Check short form (e.g., "Text")+ if concept_string_or_concept_code in native_concept_values:+ return True- @property- def code(self) -> str:- if "." in self.value:- return self.value- return f"{SpecialDomain.NATIVE}.{self.value}"+ # Check fully qualified form (e.g., "native.Text")+ if "." in concept_string_or_concept_code:+ domain, concept_code = concept_string_or_concept_code.split(".", 1)+ if domain == SpecialDomain.NATIVE.value and concept_code in native_concept_values:+ return True- @property- def content_class_name(self) -> NativeConceptClass:- match self:- case NativeConcept.TEXT:- return NativeConceptClass.TEXT- case NativeConcept.IMAGE:- return NativeConceptClass.IMAGE- case NativeConcept.PDF:- return NativeConceptClass.PDF- case NativeConcept.TEXT_AND_IMAGES:- return NativeConceptClass.TEXT_AND_IMAGES- case NativeConcept.NUMBER:- return NativeConceptClass.NUMBER- case NativeConcept.LLM_PROMPT:- return NativeConceptClass.LLM_PROMPT- case NativeConcept.DYNAMIC:- return NativeConceptClass.DYNAMIC- case NativeConcept.PAGE:- return NativeConceptClass.PAGE- case NativeConcept.ANYTHING:- raise RuntimeError("NativeConcept.ANYTHING cannot be used as a content class name")+ return Falsediff --git a/pipelex/core/concepts/concept_provider_abstract.py b/pipelex/core/concepts/concept_provider_abstract.pyindex 5f2f33f4e..00ab47841 100644--- a/pipelex/core/concepts/concept_provider_abstract.py+++ b/pipelex/core/concepts/concept_provider_abstract.py@@ -2,41 +2,42 @@ from abc import ABC, abstractmethodfrom typing import Any, Dict, List, Optional, Typefrom pipelex.core.concepts.concept import Concept+from pipelex.core.concepts.concept_native import NativeConceptEnumConceptLibraryRoot = Dict[str, Concept]class ConceptProviderAbstract(ABC):@abstractmethod- def get_concept(self, concept_code: str) -> Optional[Concept]:+ def add_new_concept(self, concept: Concept) -> None:pass@abstractmethod- def list_concepts_by_domain(self, domain: str) -> List[Concept]:+ def add_concepts(self, concepts: List[Concept]) -> None:pass@abstractmethod- def list_concepts(self) -> List[Concept]:+ def list_concepts_by_domain(self, domain: str) -> List[Concept]:pass@abstractmethod- def is_concept_implicit(self, concept_code: str) -> bool:+ def list_concepts(self) -> List[Concept]:pass@abstractmethod- def get_required_concept(self, concept_code: str) -> Concept:+ def get_required_concept(self, concept_string: str) -> Concept:pass@abstractmethod- def get_concepts_dict(self) -> Dict[str, Concept]:+ def is_compatible(self, tested_concept: Concept, wanted_concept: Concept, strict: bool = False) -> bool:pass@abstractmethod- def is_compatible(self, tested_concept: Concept, wanted_concept: Concept) -> bool:+ def setup(self) -> None:pass@abstractmethod- def is_compatible_by_concept_code(self, tested_concept_code: str, wanted_concept_code: str) -> bool:+ def reset(self) -> None:pass@abstractmethod@@ -44,17 +45,17 @@ class ConceptProviderAbstract(ABC):pass@abstractmethod- def get_class(self, concept_code: str) -> Optional[Type[Any]]:+ def is_image_concept(self, concept: Concept) -> bool:pass@abstractmethod- def is_image_concept(self, concept_code: str) -> bool:+ def search_for_concept_in_domains(self, concept_code: str, search_domains: List[str]) -> Optional[Concept]:pass@abstractmethod- def is_concept_code_legal(self, concept_code: str) -> bool:+ def get_class(self, concept_code: str) -> Optional[Type[Any]]:pass@abstractmethod- def search_for_concept_in_domains(self, concept_name: str, search_domains: List[str]) -> Optional[Concept]:+ def get_native_concept(self, native_concept: NativeConceptEnum) -> Concept:passdiff --git a/pipelex/core/concepts/exceptions.py b/pipelex/core/concepts/exceptions.pynew file mode 100644index 000000000..6624def1f--- /dev/null+++ b/pipelex/core/concepts/exceptions.py@@ -0,0 +1,10 @@+class ConceptCodeError(Exception):+ pass+++class ConceptStringError(Exception):+ pass+++class ConceptStringOrConceptCodeError(Exception):+ passdiff --git a/pipelex/core/domains/domain.py b/pipelex/core/domains/domain.pyindex 04cfbd35d..c3a0b9936 100644--- a/pipelex/core/domains/domain.py+++ b/pipelex/core/domains/domain.py@@ -1,7 +1,7 @@from typing import Optionalfrom pydantic import BaseModel-from typing_extensions import Self, override+from typing_extensions import Selffrom pipelex.types import StrEnum@@ -18,10 +18,6 @@ class Domain(BaseModel):system_prompt_to_structure: Optional[str] = Noneprompt_template_to_structure: Optional[str] = None- @override- def __str__(self):- return self.code-@classmethoddef make_default(cls) -> Self:return cls(code=SpecialDomain.NATIVE)diff --git a/pipelex/core/domains/domain_blueprint.py b/pipelex/core/domains/domain_blueprint.pynew file mode 100644index 000000000..e73e3e6ef--- /dev/null+++ b/pipelex/core/domains/domain_blueprint.py@@ -0,0 +1,20 @@+from typing import Optional++from pydantic import BaseModel++from pipelex.core.domains.exceptions import DomainError+from pipelex.tools.misc.string_utils import is_snake_case+++class DomainBlueprint(BaseModel):+ code: str+ definition: Optional[str] = None+ system_prompt: Optional[str] = None+ system_prompt_to_structure: Optional[str] = None+ prompt_template_to_structure: Optional[str] = None++ @staticmethod+ def validate_domain_code(code: str) -> None:+ """Validate that a domain code follows snake_case convention."""+ if not is_snake_case(code):+ raise DomainError(f"Domain code '{code}' must be snake_case (lowercase letters, numbers, and underscores only)")diff --git a/pipelex/core/domains/domain_factory.py b/pipelex/core/domains/domain_factory.pynew file mode 100644index 000000000..449349ea2--- /dev/null+++ b/pipelex/core/domains/domain_factory.py@@ -0,0 +1,14 @@+from pipelex.core.domains.domain import Domain+from pipelex.core.domains.domain_blueprint import DomainBlueprint+++class DomainFactory:+ @classmethod+ def make_from_blueprint(cls, blueprint: DomainBlueprint) -> Domain:+ return Domain(+ code=blueprint.code,+ definition=blueprint.definition,+ system_prompt=blueprint.system_prompt,+ system_prompt_to_structure=blueprint.system_prompt_to_structure,+ prompt_template_to_structure=blueprint.prompt_template_to_structure,+ )diff --git a/pipelex/core/domains/domain_library.py b/pipelex/core/domains/domain_library.pyindex 372ab0536..f0d72015e 100644--- a/pipelex/core/domains/domain_library.py+++ b/pipelex/core/domains/domain_library.py@@ -1,13 +1,11 @@-from typing import Dict, List, Optional+from typing import Dict, Optionalfrom pydantic import RootModelfrom typing_extensions import override-from pipelex import logfrom pipelex.core.domains.domain import Domainfrom pipelex.core.domains.domain_provider_abstract import DomainProviderAbstractfrom pipelex.exceptions import DomainLibraryError-from pipelex.tools.misc.file_utils import save_text_to_pathDomainLibraryRoot = Dict[str, Domain]@@ -31,48 +29,17 @@ class DomainLibrary(RootModel[DomainLibraryRoot], DomainProviderAbstract):else:self.root[domain_code] = domain- def print_all(self):- log.dev("-" * 80)- log.dev("DomainLibrary")- log.dev("-" * 80)- for domain_code, domain in self.root.items():- log.dev(f"• {domain_code}:")- log.dev(f" - definition: {domain.definition}")- if system_prompt := domain.system_prompt:- log.dev(f" - system_prompt: {system_prompt}")-- def _export_as_text_listing(self) -> str:- exported_lines: List[str] = []- for domain_code, domain in self.root.items():- exported_lines.append(f" • {domain_code}: {domain.definition}")- return "\n".join(exported_lines)-- def export_listing_to_path(self, export_path: str):- log.dev("-" * 80)- log.dev(f"Exporting DomainLibrary to {export_path}")- log.dev("-" * 80)- exported_string = self._export_as_text_listing()- save_text_to_path(exported_string, export_path)-@override- def get_domain(self, domain_code: str) -> Optional[Domain]:- return self.root.get(domain_code)+ def get_domain(self, domain: str) -> Optional[Domain]:+ return self.root.get(domain)@override- def get_required_domain(self, domain_code: str) -> Domain:- the_domain = self.get_domain(domain_code=domain_code)+ def get_required_domain(self, domain: str) -> Domain:+ the_domain = self.get_domain(domain=domain)if not the_domain:- raise DomainLibraryError(f"Domain '{domain_code}' not found. Check for typos and make sure it is declared in a pipeline library.")+ raise DomainLibraryError(f"Domain '{domain}' not found. Check for typos and make sure it is declared in a pipeline library.")return the_domain- @override- def get_domains(self) -> List[Domain]:- return list(self.root.values())-- @override- def get_domains_dict(self) -> Dict[str, Domain]:- return self.root-@overridedef teardown(self) -> None:self.root = {}diff --git a/pipelex/core/domains/domain_provider_abstract.py b/pipelex/core/domains/domain_provider_abstract.pyindex 08e37bcba..bb2b7bfc8 100644--- a/pipelex/core/domains/domain_provider_abstract.py+++ b/pipelex/core/domains/domain_provider_abstract.py@@ -1,24 +1,16 @@from abc import ABC, abstractmethod-from typing import Dict, List, Optional+from typing import Optionalfrom pipelex.core.domains.domain import Domainclass DomainProviderAbstract(ABC):@abstractmethod- def get_domain(self, domain_code: str) -> Optional[Domain]:+ def get_domain(self, domain: str) -> Optional[Domain]:pass@abstractmethod- def get_required_domain(self, domain_code: str) -> Domain:- pass-- @abstractmethod- def get_domains(self) -> List[Domain]:- pass-- @abstractmethod- def get_domains_dict(self) -> Dict[str, Domain]:+ def get_required_domain(self, domain: str) -> Domain:pass@abstractmethoddiff --git a/pipelex/core/domains/exceptions.py b/pipelex/core/domains/exceptions.pynew file mode 100644index 000000000..24c45ca08--- /dev/null+++ b/pipelex/core/domains/exceptions.py@@ -0,0 +1,2 @@+class DomainError(Exception):+ passdiff --git a/pipelex/core/exceptions.py b/pipelex/core/exceptions.pynew file mode 100644index 000000000..ab615cb16--- /dev/null+++ b/pipelex/core/exceptions.py@@ -0,0 +1,25 @@+"""Custom exceptions for the Pipelex core module."""+++class PipelexInterpreterError(Exception):+ """Base exception class for PipelexInterpreter errors."""++ pass+++class PipelexConfigurationError(PipelexInterpreterError):+ """Raised when there are configuration issues with the PipelexInterpreter."""++ pass+++class PipelexFileError(PipelexInterpreterError):+ """Raised when there are file-related issues in PipelexInterpreter."""++ pass+++class PipelexUnknownPipeError(PipelexInterpreterError):+ """Raised when encountering an unknown pipe blueprint type."""++ passdiff --git a/pipelex/core/interpreter.py b/pipelex/core/interpreter.pyindex a67c2b748..fd5bbe10a 100644--- a/pipelex/core/interpreter.py+++ b/pipelex/core/interpreter.py@@ -1,5 +1,5 @@from pathlib import Path-from typing import Any, Dict, List, Optional+from typing import Any, Dict, Mapping, Optional, Unionimport tomlfrom pydantic import BaseModel, model_validator@@ -7,16 +7,18 @@ from typing_extensions import Selffrom pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprintfrom pipelex.core.concepts.concept_blueprint import ConceptBlueprint-from pipelex.pipe_controllers.pipe_batch_factory import PipeBatchBlueprint-from pipelex.pipe_controllers.pipe_condition_factory import PipeConditionBlueprint-from pipelex.pipe_controllers.pipe_parallel_factory import PipeParallelBlueprint-from pipelex.pipe_controllers.pipe_sequence_factory import PipeSequenceBlueprint-from pipelex.pipe_operators.pipe_func_factory import PipeFuncBlueprint-from pipelex.pipe_operators.pipe_img_gen_factory import PipeImgGenBlueprint-from pipelex.pipe_operators.pipe_jinja2_factory import PipeJinja2Blueprint-from pipelex.pipe_operators.pipe_llm_factory import PipeLLMBlueprint-from pipelex.pipe_operators.pipe_ocr_factory import PipeOcrBlueprint-from pipelex.tools.misc.toml_utils import clean_trailing_whitespace, dict_to_toml, validate_toml_content, validate_toml_file+from pipelex.core.exceptions import PipelexConfigurationError, PipelexFileError, PipelexUnknownPipeError+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.pipe_controllers.batch.pipe_batch_blueprint import PipeBatchBlueprint+from pipelex.pipe_controllers.condition.pipe_condition_blueprint import PipeConditionBlueprint+from pipelex.pipe_controllers.parallel.pipe_parallel_blueprint import PipeParallelBlueprint+from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint+from pipelex.pipe_operators.func.pipe_func_blueprint import PipeFuncBlueprint+from pipelex.pipe_operators.img_gen.pipe_img_gen_blueprint import PipeImgGenBlueprint+from pipelex.pipe_operators.jinja2.pipe_jinja2_blueprint import PipeJinja2Blueprint+from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint+from pipelex.pipe_operators.ocr.pipe_ocr_blueprint import PipeOcrBlueprint+from pipelex.tools.misc.toml_utils import clean_trailing_whitespace, validate_toml_content, validate_toml_fileclass PipelexInterpreter(BaseModel):@@ -25,11 +27,26 @@ class PipelexInterpreter(BaseModel):file_path: Optional[Path] = Nonefile_content: Optional[str] = None+ @staticmethod+ def escape_toml_string(value: Optional[str]) -> str:+ """Escape a string for TOML serialization."""+ if value is None:+ return ""+ # Escape backslashes first (must be done first)+ value = value.replace("\\", "\\\\")+ # Escape quotes+ value = value.replace('"', '\\"')+ # Replace actual newlines with escaped newlines+ value = value.replace("\n", "\\n")+ value = value.replace("\r", "\\r")+ value = value.replace("\t", "\\t")+ return value+@model_validator(mode="after")def check_file_path_or_file_content(self) -> Self:"""Need to check if there is at least one of file_path or file_content"""if self.file_path is None and self.file_content is None:- raise ValueError("Either file_path or file_content must be provided")+ raise PipelexConfigurationError("Either file_path or file_content must be provided")return self@model_validator(mode="after")@@ -40,6 +57,28 @@ class PipelexInterpreter(BaseModel):validate_toml_content(content=self.file_content, file_path=str(self.file_path))return self+ def get_file_content(self) -> str:+ """Load TOML content from file_path or use file_content directly."""+ if self.file_path:+ try:+ with open(self.file_path, "r", encoding="utf-8") as file:+ file_content = file.read()++ # Clean trailing whitespace and write back if needed+ cleaned_content = clean_trailing_whitespace(file_content)+ if file_content != cleaned_content:+ with open(self.file_path, "w", encoding="utf-8") as file:+ file.write(cleaned_content)+ return cleaned_content++ return file_content++ except Exception as exc:+ raise PipelexFileError(f"Failed to read TOML file '{self.file_path}': {exc}") from exc+ elif self.file_content is None:+ raise PipelexConfigurationError("file_content must be provided if file_path is not provided")+ return self.file_content+@staticmethoddef is_pipelex_file(file_path: Path) -> bool:"""Check if a file is a valid Pipelex TOML file.@@ -74,29 +113,6 @@ class PipelexInterpreter(BaseModel):# If we can't read the file, it's not a valid Pipelex filereturn False- def _load_toml_content(self) -> str:- """Load TOML content from file_path or use file_content directly."""- if self.file_path:- try:- with open(self.file_path, "r", encoding="utf-8") as file:- file_content = file.read()-- # Clean trailing whitespace and write back if needed- cleaned_content = clean_trailing_whitespace(file_content)- if file_content != cleaned_content:- with open(self.file_path, "w", encoding="utf-8") as file:- file.write(cleaned_content)- return cleaned_content-- return file_content-- except Exception as exc:- raise ValueError(f"Failed to read TOML file '{self.file_path}': {exc}") from exc- else:- if self.file_content is None:- raise ValueError("file_content must be provided if file_path is not provided")- return self.file_content-def _parse_toml_content(self, content: str) -> Dict[str, Any]:"""Parse TOML content and return the dictionary."""try:@@ -107,147 +123,556 @@ class PipelexInterpreter(BaseModel):def make_pipelex_bundle_blueprint(self) -> PipelexBundleBlueprint:"""Make a PipelexBundleBlueprint from the file_path or file_content"""- file_content = self._load_toml_content()+ file_content = self.get_file_content()toml_data = self._parse_toml_content(file_content)return PipelexBundleBlueprint.model_validate(toml_data)@staticmethoddef make_toml_content(blueprint: PipelexBundleBlueprint) -> str:"""Convert a PipelexBundleBlueprint to properly formatted TOML content."""- toml_data: Dict[str, Any] = {}+ toml_parts: list[str] = []# Domain-level fields- toml_data["domain"] = blueprint.domain+ domain_fields: list[str] = []+ domain_fields.append(f'domain = "{PipelexInterpreter.escape_toml_string(blueprint.domain)}"')if blueprint.definition:- toml_data["definition"] = blueprint.definition+ domain_fields.append(f'definition = "{PipelexInterpreter.escape_toml_string(blueprint.definition)}"')if blueprint.system_prompt:- toml_data["system_prompt"] = blueprint.system_prompt+ domain_fields.append(f'system_prompt = "{PipelexInterpreter.escape_toml_string(blueprint.system_prompt)}"')if blueprint.system_prompt_to_structure:- toml_data["system_prompt_to_structure"] = blueprint.system_prompt_to_structure+ domain_fields.append(f'system_prompt_to_structure = "{PipelexInterpreter.escape_toml_string(blueprint.system_prompt_to_structure)}"')if blueprint.prompt_template_to_structure:- toml_data["prompt_template_to_structure"] = blueprint.prompt_template_to_structure+ domain_fields.append(f'prompt_template_to_structure = "{PipelexInterpreter.escape_toml_string(blueprint.prompt_template_to_structure)}"')- # Concepts section - always include if concepts is not None- if blueprint.concept is not None:- toml_data["concept"] = PipelexInterpreter._serialize_concepts(blueprint.concept, blueprint.domain)+ toml_parts.append("\n".join(domain_fields))++ # Concepts section+ if blueprint.concept:+ concept_toml = PipelexInterpreter.concepts_to_toml_string(blueprint.concept, blueprint.domain)+ if concept_toml: # Only add if not empty+ toml_parts.append(concept_toml)# Pipes sectionif blueprint.pipe:- toml_data["pipe"] = PipelexInterpreter._serialize_pipes(blueprint.pipe, blueprint.domain)+ pipes_toml = PipelexInterpreter.pipes_to_toml_string(blueprint.pipe, blueprint.domain)+ if pipes_toml: # Only add if not empty+ toml_parts.append(pipes_toml)- return dict_to_toml(toml_data)+ result = "\n\n".join(toml_parts)+ if result and not result.endswith("\n"):+ result += "\n"+ return result@staticmethod- def _serialize_concepts(concepts: Optional[Dict[str, ConceptBlueprint | str]], domain: str) -> Dict[str, Any]:- """Serialize concepts section with domain context."""- result: Dict[str, Any] = {}- if concepts is None:- return {}+ def concepts_to_toml_string(concepts: Dict[str, ConceptBlueprint | str], domain: str) -> str:+ """Convert concepts dict to TOML string."""+ if not concepts:+ return ""++ toml_parts: list[str] = []+ simple_concepts: list[str] = []+ complex_concepts: list[str] = []for concept_name, concept_blueprint in concepts.items():if isinstance(concept_blueprint, str):- # Simple string concept- result[concept_name] = concept_blueprint+ simple_concepts.append(f'{concept_name} = "{PipelexInterpreter.escape_toml_string(concept_blueprint)}"')else:- # Complex ConceptBlueprint- if hasattr(concept_blueprint, "structure") and concept_blueprint.structure:- # Structured concept - create nested structure- concept_data: Dict[str, Any] = {}- if concept_blueprint.definition:- concept_data["definition"] = concept_blueprint.definition- if concept_blueprint.structure:- concept_data["structure"] = {}- if isinstance(concept_blueprint.structure, str):- concept_data["structure"] = concept_blueprint.structure- else:- for field_name, field_value in concept_blueprint.structure.items():- if isinstance(field_value, str):- concept_data["structure"][field_name] = field_value- else:- # ConceptStructureBlueprint- field_data: Dict[str, Any] = {}- field_data["type"] = field_value.type- field_data["definition"] = field_value.definition- field_data["required"] = field_value.required- concept_data["structure"][field_name] = field_data- result[concept_name] = concept_data- elif hasattr(concept_blueprint, "refines") and concept_blueprint.refines:- # Concept with refines- concept_data = {}- if concept_blueprint.definition:- concept_data["definition"] = concept_blueprint.definition- concept_data["refines"] = concept_blueprint.refines- result[concept_name] = concept_data- else:+ # Handle ConceptBlueprint objects+ if concept_blueprint.structure is None and concept_blueprint.refines is None:# Simple concept with just definition- result[concept_name] = concept_blueprint.definition if concept_blueprint.definition else f"Concept {concept_name}"+ simple_concepts.append(f'{concept_name} = "{PipelexInterpreter.escape_toml_string(concept_blueprint.definition)}"')+ else:+ # Complex concept needs its own section+ complex_concept_toml = PipelexInterpreter.complex_concept_to_toml_string(concept_name, concept_blueprint)+ complex_concepts.append(complex_concept_toml)++ # Add simple concepts section if we have any+ if simple_concepts:+ toml_parts.append("[concept]")+ toml_parts.extend(simple_concepts)++ # Add complex concepts with proper spacing+ if complex_concepts:+ # If we had simple concepts, add an empty line before complex ones+ if simple_concepts:+ toml_parts.append("")+ # Add each complex concept with empty lines between them+ for i, complex_concept in enumerate(complex_concepts):+ if i > 0: # Add empty line between complex concepts+ toml_parts.append("")+ toml_parts.append(complex_concept)++ return "\n".join(toml_parts)++ @staticmethod+ def complex_concept_to_toml_string(concept_name: str, concept: ConceptBlueprint) -> str:+ """Convert a complex ConceptBlueprint to TOML string."""+ lines: list[str] = [f"[concept.{concept_name}]"]++ if concept.definition:+ lines.append(f'definition = "{PipelexInterpreter.escape_toml_string(concept.definition)}"')++ if concept.refines:+ lines.append(f'refines = "{PipelexInterpreter.escape_toml_string(concept.refines)}"')++ if concept.structure:+ if isinstance(concept.structure, str):+ lines.append(f'structure = "{PipelexInterpreter.escape_toml_string(concept.structure)}"')+ else:+ # Complex structure with fields+ lines.append("")+ lines.append(f"[concept.{concept_name}.structure]")+ for field_name, field_def in concept.structure.items():+ field_toml = PipelexInterpreter.structure_field_to_toml_string(field_name, field_def)+ lines.append(field_toml)++ return "\n".join(lines)++ @staticmethod+ def structure_field_to_toml_string(field_name: str, field_def: Any) -> str:+ """Convert a structure field to TOML string."""+ if isinstance(field_def, str):+ return f'{field_name} = "{PipelexInterpreter.escape_toml_string(field_def)}"'+ else:+ # Complex field with type, definition, required, etc.+ field_parts: list[str] = []++ if hasattr(field_def, "type") and field_def.type:+ type_value = field_def.type.value if hasattr(field_def.type, "value") else field_def.type+ field_parts.append(f'type = "{PipelexInterpreter.escape_toml_string(str(type_value))}"')++ if hasattr(field_def, "definition") and field_def.definition:+ field_parts.append(f'definition = "{PipelexInterpreter.escape_toml_string(field_def.definition)}"')++ if hasattr(field_def, "required") and field_def.required is not None:+ field_parts.append(f"required = {str(field_def.required).lower()}")++ return f"{field_name} = {{ {', '.join(field_parts)} }}"++ @staticmethod+ def pipes_to_toml_string(pipes: Dict[str, Any], domain: str) -> str:+ """Convert pipes dict to TOML string."""+ toml_parts: list[str] = []+ for pipe_name, blueprint in pipes.items():+ pipe_toml = PipelexInterpreter.pipe_to_toml_string(pipe_name, blueprint, domain)+ toml_parts.append(pipe_toml)+ return "\n\n".join(toml_parts)++ @staticmethod+ def pipe_to_toml_string(pipe_name: str, blueprint: Any, domain: str) -> str:+ """Convert a single pipe blueprint to TOML string."""+ if isinstance(blueprint, PipeLLMBlueprint):+ return PipelexInterpreter.llm_pipe_to_toml_string(pipe_name, blueprint, domain)+ elif isinstance(blueprint, PipeSequenceBlueprint):+ return PipelexInterpreter.sequence_pipe_to_toml_string(pipe_name, blueprint, domain)+ elif isinstance(blueprint, PipeOcrBlueprint):+ return PipelexInterpreter.ocr_pipe_to_toml_string(pipe_name, blueprint, domain)+ elif isinstance(blueprint, PipeFuncBlueprint):+ return PipelexInterpreter.func_pipe_to_toml_string(pipe_name, blueprint, domain)+ elif isinstance(blueprint, PipeImgGenBlueprint):+ return PipelexInterpreter.img_gen_pipe_to_toml_string(pipe_name, blueprint, domain)+ elif isinstance(blueprint, PipeJinja2Blueprint):+ return PipelexInterpreter.jinja2_pipe_to_toml_string(pipe_name, blueprint, domain)+ elif isinstance(blueprint, PipeConditionBlueprint):+ return PipelexInterpreter.condition_pipe_to_toml_string(pipe_name, blueprint, domain)+ elif isinstance(blueprint, PipeParallelBlueprint):+ return PipelexInterpreter.parallel_pipe_to_toml_string(pipe_name, blueprint, domain)+ elif isinstance(blueprint, PipeBatchBlueprint):+ return PipelexInterpreter.batch_pipe_to_toml_string(pipe_name, blueprint, domain)+ else:+ # Fallback to old dict approach for unknown pipe types+ pipe_dict = PipelexInterpreter.serialize_pipe(blueprint, domain)+ return f"[pipe.{pipe_name}]\n" + "\n".join([f'{k} = "{v}"' if isinstance(v, str) else f"{k} = {v}" for k, v in pipe_dict.items()])++ @staticmethod+ def llm_pipe_to_toml_string(pipe_name: str, pipe: PipeLLMBlueprint, domain: str) -> str:+ """Convert a PipeLLM blueprint directly to TOML section string."""+ lines: list[str] = [+ f"[pipe.{pipe_name}]",+ f'type = "{PipelexInterpreter.escape_toml_string(pipe.type)}"',+ f'definition = "{PipelexInterpreter.escape_toml_string(pipe.definition)}"',+ ]++ # Add inputs first if they exist+ PipelexInterpreter.add_inputs_to_lines_if_exist(lines, pipe.inputs)++ # Add output after inputs (or immediately if no inputs)+ lines.append(f'output = "{PipelexInterpreter.escape_toml_string(pipe.output_concept_string_or_concept_code)}"')++ # Add optional fields+ if pipe.nb_output is not None:+ lines.append(f"nb_output = {pipe.nb_output}")+ if pipe.multiple_output is not None:+ lines.append(f"multiple_output = {str(pipe.multiple_output).lower()}")+ if pipe.system_prompt_template:+ lines.append(f'system_prompt_template = "{PipelexInterpreter.escape_toml_string(pipe.system_prompt_template)}"')+ if pipe.system_prompt:+ lines.append(f'system_prompt = "{PipelexInterpreter.escape_toml_string(pipe.system_prompt)}"')+ if pipe.prompt_template:+ lines.append(f'prompt_template = "{PipelexInterpreter.escape_toml_string(pipe.prompt_template)}"')+ if pipe.template_name:+ lines.append(f'template_name = "{PipelexInterpreter.escape_toml_string(pipe.template_name)}"')+ if pipe.prompt:+ lines.append(f'prompt = "{PipelexInterpreter.escape_toml_string(pipe.prompt)}"')++ return "\n".join(lines)++ @staticmethod+ def ocr_pipe_to_toml_string(pipe_name: str, pipe: PipeOcrBlueprint, domain: str) -> str:+ """Convert a PipeOcr blueprint directly to TOML section string."""+ lines: list[str] = [+ f"[pipe.{pipe_name}]",+ f'type = "{pipe.type}"',+ f'definition = "{pipe.definition}"',+ ]++ # Add inputs if they exist+ PipelexInterpreter.add_inputs_to_lines_if_exist(lines, pipe.inputs)++ lines.append(f'output = "{PipelexInterpreter.escape_toml_string(pipe.output_concept_string_or_concept_code)}"')++ return "\n".join(lines)++ @staticmethod+ def func_pipe_to_toml_string(pipe_name: str, pipe: PipeFuncBlueprint, domain: str) -> str:+ """Convert a PipeFunc blueprint directly to TOML section string."""+ lines: list[str] = [+ f"[pipe.{pipe_name}]",+ f'type = "{pipe.type}"',+ f'definition = "{pipe.definition}"',+ ]++ # Add inputs if they exist+ PipelexInterpreter.add_inputs_to_lines_if_exist(lines, pipe.inputs)++ lines.append(f'output = "{PipelexInterpreter.escape_toml_string(pipe.output_concept_string_or_concept_code)}"')+ lines.append(f'function_name = "{PipelexInterpreter.escape_toml_string(pipe.function_name)}"')++ return "\n".join(lines)++ @staticmethod+ def img_gen_pipe_to_toml_string(pipe_name: str, pipe: PipeImgGenBlueprint, domain: str) -> str:+ """Convert a PipeImgGen blueprint directly to TOML section string."""+ lines: list[str] = [+ f"[pipe.{pipe_name}]",+ f'type = "{pipe.type}"',+ f'definition = "{pipe.definition}"',+ ]++ # Add inputs if they exist+ PipelexInterpreter.add_inputs_to_lines_if_exist(lines, pipe.inputs)++ lines.append(f'output = "{PipelexInterpreter.escape_toml_string(pipe.output_concept_string_or_concept_code)}"')++ # Add optional fields+ if pipe.img_gen_prompt:+ lines.append(f'img_gen_prompt = "{PipelexInterpreter.escape_toml_string(pipe.img_gen_prompt)}"')+ if pipe.imgg_handle:+ lines.append(f'imgg_handle = "{PipelexInterpreter.escape_toml_string(pipe.imgg_handle)}"')+ if pipe.aspect_ratio:+ lines.append(f'aspect_ratio = "{pipe.aspect_ratio}"')+ if pipe.quality:+ lines.append(f'quality = "{pipe.quality}"')+ if pipe.nb_steps:+ lines.append(f"nb_steps = {pipe.nb_steps}")+ if pipe.guidance_scale:+ lines.append(f"guidance_scale = {pipe.guidance_scale}")+ if pipe.is_moderated is not None:+ lines.append(f"is_moderated = {str(pipe.is_moderated).lower()}")+ if pipe.safety_tolerance:+ lines.append(f'safety_tolerance = "{pipe.safety_tolerance}"')+ if pipe.is_raw is not None:+ lines.append(f"is_raw = {str(pipe.is_raw).lower()}")+ if pipe.seed:+ lines.append(f"seed = {pipe.seed}")+ if pipe.nb_output:+ lines.append(f"nb_output = {pipe.nb_output}")++ return "\n".join(lines)++ @staticmethod+ def jinja2_pipe_to_toml_string(pipe_name: str, pipe: PipeJinja2Blueprint, domain: str) -> str:+ """Convert a PipeJinja2 blueprint directly to TOML section string."""+ lines: list[str] = [+ f"[pipe.{pipe_name}]",+ f'type = "{pipe.type}"',+ f'definition = "{pipe.definition}"',+ ]++ # Add inputs if they exist+ PipelexInterpreter.add_inputs_to_lines_if_exist(lines, pipe.inputs)++ lines.append(f'output = "{PipelexInterpreter.escape_toml_string(pipe.output_concept_string_or_concept_code)}"')++ # Add jinja2 template+ if pipe.jinja2:+ lines.append(f'jinja2 = "{PipelexInterpreter.escape_toml_string(pipe.jinja2)}"')+ if pipe.jinja2_name:+ lines.append(f'jinja2_name = "{PipelexInterpreter.escape_toml_string(pipe.jinja2_name)}"')++ return "\n".join(lines)++ @staticmethod+ def condition_pipe_to_toml_string(pipe_name: str, pipe: PipeConditionBlueprint, domain: str) -> str:+ """Convert a PipeCondition blueprint directly to TOML section string."""+ lines: list[str] = [+ f"[pipe.{pipe_name}]",+ f'type = "{pipe.type}"',+ f'definition = "{pipe.definition}"',+ ]++ # Add inputs if they exist+ PipelexInterpreter.add_inputs_to_lines_if_exist(lines, pipe.inputs)++ lines.append(f'output = "{PipelexInterpreter.escape_toml_string(pipe.output_concept_string_or_concept_code)}"')++ # Add pipe_map+ if pipe.pipe_map:+ pipe_map_parts: list[str] = []+ pipe_map_dict = pipe.pipe_map.root+ for key, value in pipe_map_dict.items():+ pipe_map_parts.append(f'{key} = "{value}"')+ lines.append(f"pipe_map = {{ {', '.join(pipe_map_parts)} }}")++ # Add optional fields+ if pipe.expression_template:+ lines.append(f'expression_template = "{pipe.expression_template}"')+ if pipe.expression:+ lines.append(f'expression = "{pipe.expression}"')+ if pipe.default_pipe_code:+ lines.append(f'default_pipe_code = "{pipe.default_pipe_code}"')+ if pipe.add_alias_from_expression_to:+ lines.append(f'add_alias_from_expression_to = "{pipe.add_alias_from_expression_to}"')++ return "\n".join(lines)++ @staticmethod+ def parallel_pipe_to_toml_string(pipe_name: str, pipe: PipeParallelBlueprint, domain: str) -> str:+ """Convert a PipeParallel blueprint directly to TOML section string."""+ lines: list[str] = [+ f"[pipe.{pipe_name}]",+ f'type = "{pipe.type}"',+ f'definition = "{pipe.definition}"',+ ]++ # Add inputs if they exist+ PipelexInterpreter.add_inputs_to_lines_if_exist(lines, pipe.inputs)++ lines.append(f'output = "{PipelexInterpreter.escape_toml_string(pipe.output_concept_string_or_concept_code)}"')++ # Add parallels array+ if pipe.parallels:+ lines.append("parallels = [")+ for parallel in pipe.parallels:+ parallel_string = PipelexInterpreter.sub_pipe_to_toml_string(parallel)+ lines.append(f" {parallel_string},")+ lines.append("]")++ # Add optional fields+ if pipe.add_each_output is not True: # Only include if not default True+ lines.append(f"add_each_output = {str(pipe.add_each_output).lower()}")+ if pipe.combined_output:+ lines.append(f'combined_output = "{pipe.combined_output}"')++ return "\n".join(lines)++ @staticmethod+ def batch_pipe_to_toml_string(pipe_name: str, pipe: PipeBatchBlueprint, domain: str) -> str:+ """Convert a PipeBatch blueprint directly to TOML section string."""+ lines: list[str] = [+ f"[pipe.{pipe_name}]",+ f'type = "{pipe.type}"',+ f'definition = "{pipe.definition}"',+ ]++ # Add inputs if they exist+ PipelexInterpreter.add_inputs_to_lines_if_exist(lines, pipe.inputs)++ lines.append(f'output = "{PipelexInterpreter.escape_toml_string(pipe.output_concept_string_or_concept_code)}"')+ lines.append(f'branch_pipe_code = "{pipe.branch_pipe_code}"')++ # Add optional fields+ if pipe.input_list_name:+ lines.append(f'input_list_name = "{pipe.input_list_name}"')+ if pipe.input_item_name:+ lines.append(f'input_item_name = "{pipe.input_item_name}"')++ return "\n".join(lines)++ @staticmethod+ def serialize_concept_structure_field(field_value: Any) -> Any:+ """Serialize a single concept structure field."""+ from pipelex.core.concepts.concept_blueprint import ConceptStructureBlueprint++ if isinstance(field_value, str):+ return field_value+ elif isinstance(field_value, ConceptStructureBlueprint):+ field_data: Dict[str, Any] = {+ "definition": field_value.definition,+ "required": field_value.required,+ }+ if field_value.type is not None:+ field_data["type"] = field_value.type+ if field_value.item_type is not None:+ field_data["item_type"] = field_value.item_type+ if field_value.key_type is not None:+ field_data["key_type"] = field_value.key_type+ if field_value.value_type is not None:+ field_data["value_type"] = field_value.value_type+ if field_value.choices:+ field_data["choices"] = field_value.choices+ if field_value.default_value is not None:+ field_data["default_value"] = field_value.default_value+ return field_data+ else:+ return field_value++ @staticmethod+ def serialize_concept_structure(structure: Union[str, Dict[str, Any]]) -> Union[str, Dict[str, Any]]:+ """Serialize concept structure field."""+ if isinstance(structure, str):+ return structure+ else:+ result: Dict[str, Any] = {}+ for field_name, field_value in structure.items():+ result[field_name] = PipelexInterpreter.serialize_concept_structure_field(field_value)+ return result++ @staticmethod+ def serialize_single_concept(concept_blueprint: Union[ConceptBlueprint, str]) -> Union[str, Dict[str, Any]]:+ """Serialize a single concept blueprint."""+ if isinstance(concept_blueprint, str):+ return concept_blueprint++ # Handle ConceptBlueprint object+ if concept_blueprint.structure is not None:+ # Structured concept+ concept_data = {+ "definition": concept_blueprint.definition,+ "structure": PipelexInterpreter.serialize_concept_structure(concept_blueprint.structure),+ }+ return concept_data+ elif concept_blueprint.refines is not None:+ # Concept with refines+ concept_data = {"definition": concept_blueprint.definition, "refines": concept_blueprint.refines}+ return concept_data+ else:+ # Simple concept with just definition+ return concept_blueprint.definition++ @staticmethod+ def serialize_concepts(concepts: Optional[Dict[str, ConceptBlueprint | str]], domain: str) -> Dict[str, Any]:+ """Serialize concepts section with domain context."""+ if concepts is None:+ return {}++ result: Dict[str, Any] = {}+ for concept_name, concept_blueprint in concepts.items():+ result[concept_name] = PipelexInterpreter.serialize_single_concept(concept_blueprint)return result@staticmethod- def _serialize_pipes(pipes: Dict[str, Any], domain: str) -> Dict[str, Any]:+ def serialize_pipes(pipes: Dict[str, Any], domain: str) -> Dict[str, Any]:"""Serialize pipes section with domain context."""result: Dict[str, Any] = {}- for pipe_name, pipe_blueprint in pipes.items():- result[pipe_name] = PipelexInterpreter._serialize_pipe(pipe_blueprint, domain)+ for pipe_name, blueprint in pipes.items():+ result[pipe_name] = PipelexInterpreter.serialize_pipe(blueprint, domain)return result@staticmethod- def _serialize_pipe(pipe_blueprint: Any, domain: str) -> Dict[str, Any]:+ def serialize_pipe(blueprint: Any, domain: str) -> Dict[str, Any]:"""Serialize a single pipe blueprint with domain context."""- if isinstance(pipe_blueprint, PipeLLMBlueprint):- return PipelexInterpreter._serialize_llm_pipe(pipe_blueprint, domain)- elif isinstance(pipe_blueprint, PipeOcrBlueprint):- return PipelexInterpreter._serialize_ocr_pipe(pipe_blueprint, domain)- elif isinstance(pipe_blueprint, PipeFuncBlueprint):- return PipelexInterpreter._serialize_func_pipe(pipe_blueprint, domain)- elif isinstance(pipe_blueprint, PipeImgGenBlueprint):- return PipelexInterpreter._serialize_img_gen_pipe(pipe_blueprint, domain)- elif isinstance(pipe_blueprint, PipeJinja2Blueprint):- return PipelexInterpreter._serialize_jinja2_pipe(pipe_blueprint, domain)- elif isinstance(pipe_blueprint, PipeSequenceBlueprint):- return PipelexInterpreter._serialize_sequence_pipe(pipe_blueprint, domain)- elif isinstance(pipe_blueprint, PipeConditionBlueprint):- return PipelexInterpreter._serialize_condition_pipe(pipe_blueprint, domain)- elif isinstance(pipe_blueprint, PipeParallelBlueprint):- return PipelexInterpreter._serialize_parallel_pipe(pipe_blueprint, domain)- elif isinstance(pipe_blueprint, PipeBatchBlueprint):- return PipelexInterpreter._serialize_batch_pipe(pipe_blueprint, domain)+ if isinstance(blueprint, PipeLLMBlueprint):+ return PipelexInterpreter.serialize_llm_pipe(blueprint, domain)+ elif isinstance(blueprint, PipeOcrBlueprint):+ return PipelexInterpreter.serialize_ocr_pipe(blueprint, domain)+ elif isinstance(blueprint, PipeFuncBlueprint):+ return PipelexInterpreter._serialize_func_pipe(blueprint, domain)+ elif isinstance(blueprint, PipeImgGenBlueprint):+ return PipelexInterpreter._serialize_img_gen_pipe(blueprint, domain)+ elif isinstance(blueprint, PipeJinja2Blueprint):+ return PipelexInterpreter.serialize_jinja2_pipe(blueprint, domain)+ elif isinstance(blueprint, PipeSequenceBlueprint):+ return PipelexInterpreter.serialize_sequence_pipe(blueprint, domain)+ elif isinstance(blueprint, PipeConditionBlueprint):+ return PipelexInterpreter._serialize_condition_pipe(blueprint, domain)+ elif isinstance(blueprint, PipeParallelBlueprint):+ return PipelexInterpreter._serialize_parallel_pipe(blueprint, domain)+ elif isinstance(blueprint, PipeBatchBlueprint):+ return PipelexInterpreter._serialize_batch_pipe(blueprint, domain)else:- raise ValueError(f"Unknown pipe blueprint type: {type(pipe_blueprint)}")+ raise PipelexUnknownPipeError(f"Unknown pipe blueprint type: {type(blueprint)}")@staticmethod- def _serialize_llm_pipe(pipe: PipeLLMBlueprint, domain: str) -> Dict[str, Any]:+ def serialize_llm_pipe(pipe: PipeLLMBlueprint, domain: str) -> Dict[str, Any]:"""Serialize PipeLLM blueprint."""result: Dict[str, Any] = {"type": pipe.type,"definition": pipe.definition,- "output": pipe.output,}- # Add optional fields only if they have values+ # Add inputs first if they existif pipe.inputs:- result["inputs"] = PipelexInterpreter._serialize_inputs(pipe.inputs)- if pipe.prompt_template:- result["prompt_template"] = pipe.prompt_template+ result["inputs"] = PipelexInterpreter.serialize_inputs(pipe.inputs)++ # Then output+ result["output"] = pipe.output_concept_string_or_concept_code++ # Add optional fields in expected order based on test cases+ if pipe.nb_output is not None:+ result["nb_output"] = pipe.nb_output+ if pipe.multiple_output is not None:+ result["multiple_output"] = pipe.multiple_output++ if pipe.system_prompt_template:+ result["system_prompt_template"] = pipe.system_prompt_templateif pipe.system_prompt:result["system_prompt"] = pipe.system_prompt+ if pipe.prompt_template:+ result["prompt_template"] = pipe.prompt_template+ if pipe.template_name:+ result["template_name"] = pipe.template_name+ if pipe.prompt:+ result["prompt"] = pipe.prompt++ # Less common fields+ if pipe.system_prompt_template_name:+ result["system_prompt_template_name"] = pipe.system_prompt_template_name+ if pipe.system_prompt_name:+ result["system_prompt_name"] = pipe.system_prompt_name+ if pipe.prompt_name:+ result["prompt_name"] = pipe.prompt_name+ if pipe.llm:+ result["llm"] = pipe.llm+ if pipe.llm_to_structure:+ result["llm_to_structure"] = pipe.llm_to_structure+ if pipe.structuring_method:+ result["structuring_method"] = pipe.structuring_method+ if pipe.prompt_template_to_structure:+ result["prompt_template_to_structure"] = pipe.prompt_template_to_structure+ if pipe.system_prompt_to_structure:+ result["system_prompt_to_structure"] = pipe.system_prompt_to_structure+return result+ @staticmethod+ def add_common_pipe_fields(result: Dict[str, Any], pipe: Any) -> None:+ """Add common pipe fields (inputs) to result dict if they exist."""+ if hasattr(pipe, "inputs") and pipe.inputs:+ result["inputs"] = PipelexInterpreter.serialize_inputs(pipe.inputs)+@staticmethoddef _serialize_ocr_pipe(pipe: PipeOcrBlueprint, domain: str) -> Dict[str, Any]:"""Serialize PipeOcr blueprint."""result: Dict[str, Any] = {"type": pipe.type,"definition": pipe.definition,- "output": pipe.output,+ "output": pipe.output_concept_string_or_concept_code,}- # Add optional fields only if they have values- if pipe.inputs:- result["inputs"] = PipelexInterpreter._serialize_inputs(pipe.inputs)-+ PipelexInterpreter.add_common_pipe_fields(result, pipe)return result@staticmethod@@ -256,14 +681,11 @@ class PipelexInterpreter(BaseModel):result: Dict[str, Any] = {"type": pipe.type,"definition": pipe.definition,- "output": pipe.output,+ "output": pipe.output_concept_string_or_concept_code,"function_name": pipe.function_name,}- # Add optional fields only if they have values- if pipe.inputs:- result["inputs"] = PipelexInterpreter._serialize_inputs(pipe.inputs)-+ PipelexInterpreter.add_common_pipe_fields(result, pipe)return result@staticmethod@@ -272,12 +694,12 @@ class PipelexInterpreter(BaseModel):result: Dict[str, Any] = {"type": pipe.type,"definition": pipe.definition,- "output": pipe.output,+ "output": pipe.output_concept_string_or_concept_code,}+ PipelexInterpreter.add_common_pipe_fields(result, pipe)+# Add optional fields only if they have values- if pipe.inputs:- result["inputs"] = PipelexInterpreter._serialize_inputs(pipe.inputs)if pipe.img_gen_prompt:result["img_gen_prompt"] = pipe.img_gen_promptif pipe.imgg_handle:@@ -304,17 +726,65 @@ class PipelexInterpreter(BaseModel):return result@staticmethod- def _serialize_jinja2_pipe(pipe: PipeJinja2Blueprint, domain: str) -> Dict[str, Any]:+ def serialize_ocr_pipe(pipe: PipeOcrBlueprint, domain: str) -> Dict[str, Any]:+ """Serialize a PipeOcr blueprint."""+ result: Dict[str, Any] = {+ "type": pipe.type,+ "definition": pipe.definition,+ }++ # Add common pipe fields+ PipelexInterpreter.add_common_pipe_fields(result, pipe)++ # Add output+ result["output"] = pipe.output_concept_string_or_concept_code++ # Add optional fields+ if pipe.ocr_platform:+ result["ocr_platform"] = pipe.ocr_platform+ if pipe.page_images:+ result["page_images"] = pipe.page_images+ if pipe.page_image_captions:+ result["page_image_captions"] = pipe.page_image_captions+ if pipe.page_views:+ result["page_views"] = pipe.page_views+ if pipe.page_views_dpi:+ result["page_views_dpi"] = pipe.page_views_dpi++ return result++ @staticmethod+ def serialize_sequence_pipe(pipe: PipeSequenceBlueprint, domain: str) -> Dict[str, Any]:+ """Serialize a PipeSequence blueprint."""+ result: Dict[str, Any] = {+ "type": pipe.type,+ "definition": pipe.definition,+ }++ # Add common pipe fields+ PipelexInterpreter.add_common_pipe_fields(result, pipe)++ # Add output+ result["output"] = pipe.output_concept_string_or_concept_code++ # Add steps+ if pipe.steps:+ result["steps"] = [PipelexInterpreter.serialize_sub_pipe(step) for step in pipe.steps]++ return result++ @staticmethod+ def serialize_jinja2_pipe(pipe: PipeJinja2Blueprint, domain: str) -> Dict[str, Any]:"""Serialize PipeJinja2 blueprint."""result: Dict[str, Any] = {"type": pipe.type,"definition": pipe.definition,- "output": pipe.output,+ "output": pipe.output_concept_string_or_concept_code,}+ PipelexInterpreter.add_common_pipe_fields(result, pipe)+# Add optional fields only if they have values- if pipe.inputs:- result["inputs"] = PipelexInterpreter._serialize_inputs(pipe.inputs)if pipe.jinja2_name:result["jinja2_name"] = pipe.jinja2_nameif pipe.jinja2:@@ -327,53 +797,99 @@ class PipelexInterpreter(BaseModel):return result+ @staticmethod+ def serialize_sub_pipe(sub_pipe: Any) -> Dict[str, Any]:+ """Serialize a sub pipe (step or parallel) blueprint."""+ step_data: Dict[str, Any] = {+ "pipe": sub_pipe.pipe,+ "result": sub_pipe.result,+ }+ # Only include optional fields if they have non-default values+ if sub_pipe.nb_output is not None:+ step_data["nb_output"] = sub_pipe.nb_output+ if sub_pipe.multiple_output is not None:+ step_data["multiple_output"] = sub_pipe.multiple_output+ if sub_pipe.batch_over is not False: # Only include if not default False+ step_data["batch_over"] = sub_pipe.batch_over+ if sub_pipe.batch_as is not None:+ step_data["batch_as"] = sub_pipe.batch_as+ return step_data++ @staticmethod+ def sub_pipe_to_toml_string(sub_pipe: Any) -> str:+ """Convert a sub pipe blueprint directly to a TOML inline table string."""+ parts = [f'pipe = "{sub_pipe.pipe}"', f'result = "{sub_pipe.result}"']++ # Add optional fields if they have non-default values+ if sub_pipe.nb_output is not None:+ parts.append(f"nb_output = {sub_pipe.nb_output}")+ if sub_pipe.multiple_output is not None:+ parts.append(f"multiple_output = {str(sub_pipe.multiple_output).lower()}")+ if sub_pipe.batch_over is not False: # Only include if not default False+ if isinstance(sub_pipe.batch_over, str):+ parts.append(f'batch_over = "{sub_pipe.batch_over}"')+ else:+ parts.append(f"batch_over = {str(sub_pipe.batch_over).lower()}")+ if sub_pipe.batch_as is not None:+ parts.append(f'batch_as = "{sub_pipe.batch_as}"')++ return "{ " + ", ".join(parts) + " }"+@staticmethoddef _serialize_sequence_pipe(pipe: PipeSequenceBlueprint, domain: str) -> Dict[str, Any]:"""Serialize PipeSequence blueprint."""result: Dict[str, Any] = {"type": pipe.type,"definition": pipe.definition,- "output": pipe.output,+ "output": pipe.output_concept_string_or_concept_code,}- # Add optional fields only if they have values- if pipe.inputs:- result["inputs"] = PipelexInterpreter._serialize_inputs(pipe.inputs)+ PipelexInterpreter.add_common_pipe_fields(result, pipe)+if pipe.steps:- # Serialize steps, but only include non-default values- serialized_steps: List[Dict[str, Any]] = []- for step in pipe.steps:- step_data: Dict[str, Any] = {- "pipe": step.pipe,- "result": step.result,- }- # Only include optional fields if they have non-default values- if step.nb_output is not None:- step_data["nb_output"] = step.nb_output- if step.multiple_output is not None:- step_data["multiple_output"] = step.multiple_output- if step.batch_over is not False: # Only include if not default False- step_data["batch_over"] = step.batch_over- if step.batch_as is not None:- step_data["batch_as"] = step.batch_as- serialized_steps.append(step_data)- result["steps"] = serialized_steps+ result["steps"] = [PipelexInterpreter.serialize_sub_pipe(step) for step in pipe.steps]return result+ @staticmethod+ def sequence_pipe_to_toml_string(pipe_name: str, pipe: PipeSequenceBlueprint, domain: str) -> str:+ """Convert a PipeSequence blueprint directly to TOML section string."""+ lines: list[str] = [+ f"[pipe.{pipe_name}]",+ f'type = "{pipe.type}"',+ f'definition = "{pipe.definition}"',+ ]++ # Add inputs first if they exist+ if hasattr(pipe, "inputs"):+ PipelexInterpreter.add_inputs_to_lines_if_exist(lines, pipe.inputs)++ # Add output after inputs+ lines.append(f'output = "{pipe.output_concept_string_or_concept_code}"')++ # Add steps array with proper spacing+ if pipe.steps:+ lines.append("steps = [")+ for step in pipe.steps:+ step_string = PipelexInterpreter.sub_pipe_to_toml_string(step)+ lines.append(f" {step_string},")+ lines.append("]")++ return "\n".join(lines)+@staticmethoddef _serialize_condition_pipe(pipe: PipeConditionBlueprint, domain: str) -> Dict[str, Any]:"""Serialize PipeCondition blueprint."""result: Dict[str, Any] = {"type": pipe.type,"definition": pipe.definition,- "output": pipe.output,+ "output": pipe.output_concept_string_or_concept_code,"pipe_map": pipe.pipe_map,}+ PipelexInterpreter.add_common_pipe_fields(result, pipe)+# Add optional fields only if they have values- if pipe.inputs:- result["inputs"] = PipelexInterpreter._serialize_inputs(pipe.inputs)if pipe.expression_template:result["expression_template"] = pipe.expression_templateif pipe.expression:@@ -391,31 +907,13 @@ class PipelexInterpreter(BaseModel):result: Dict[str, Any] = {"type": pipe.type,"definition": pipe.definition,- "output": pipe.output,+ "output": pipe.output_concept_string_or_concept_code,}- # Add optional fields only if they have values- if pipe.inputs:- result["inputs"] = PipelexInterpreter._serialize_inputs(pipe.inputs)+ PipelexInterpreter.add_common_pipe_fields(result, pipe)+if pipe.parallels:- # Serialize parallels, but only include non-default values- serialized_parallels: List[Dict[str, Any]] = []- for parallel in pipe.parallels:- parallel_data: Dict[str, Any] = {- "pipe": parallel.pipe,- "result": parallel.result,- }- # Only include optional fields if they have non-default values- if parallel.nb_output is not None:- parallel_data["nb_output"] = parallel.nb_output- if parallel.multiple_output is not None:- parallel_data["multiple_output"] = parallel.multiple_output- if parallel.batch_over is not False: # Only include if not default False- parallel_data["batch_over"] = parallel.batch_over- if parallel.batch_as is not None:- parallel_data["batch_as"] = parallel.batch_as- serialized_parallels.append(parallel_data)- result["parallels"] = serialized_parallels+ result["parallels"] = [PipelexInterpreter.serialize_sub_pipe(parallel) for parallel in pipe.parallels]if pipe.add_each_output is not True: # Only include if not default Trueresult["add_each_output"] = pipe.add_each_outputif pipe.combined_output:@@ -429,13 +927,12 @@ class PipelexInterpreter(BaseModel):result: Dict[str, Any] = {"type": pipe.type,"definition": pipe.definition,- "output": pipe.output,+ "output": pipe.output_concept_string_or_concept_code,"branch_pipe_code": pipe.branch_pipe_code,}- # Add optional fields only if they have values- if pipe.inputs:- result["inputs"] = PipelexInterpreter._serialize_inputs(pipe.inputs)+ PipelexInterpreter.add_common_pipe_fields(result, pipe)+if pipe.input_list_name:result["input_list_name"] = pipe.input_list_nameif pipe.input_item_name:@@ -444,14 +941,71 @@ class PipelexInterpreter(BaseModel):return result@staticmethod- def _serialize_inputs(inputs: Dict[str, Any]) -> Dict[str, str]:- """Convert InputRequirementBlueprint objects to concept code strings for TOML serialization."""- result: Dict[str, str] = {}+ def serialize_input_requirement(input_req: InputRequirementBlueprint) -> Dict[str, Any]:+ """Serialize a single InputRequirementBlueprint to TOML format."""+ result: Dict[str, Any] = {"concept": input_req.concept}+ if input_req.multiplicity is not None:+ result["multiplicity"] = input_req.multiplicity+ return result++ @staticmethod+ def serialize_inputs(inputs: Mapping[str, Union[str, InputRequirementBlueprint]]) -> Dict[str, Any]:+ """Convert InputRequirementBlueprint objects to proper TOML format for serialization."""+ result: Dict[str, Any] = {}for key, value in inputs.items():- if hasattr(value, "concept_code"):- # InputRequirementBlueprint object- result[key] = value.concept_code+ if isinstance(value, InputRequirementBlueprint):+ result[key] = PipelexInterpreter.serialize_input_requirement(value)else:- # Already a string+ # Already a string - simple caseresult[key] = str(value)return result++ @staticmethod+ def inputs_to_toml_string(inputs: Mapping[str, Union[str, InputRequirementBlueprint]]) -> str:+ """Convert inputs dictionary to TOML string format."""+ inputs_dict = PipelexInterpreter.serialize_inputs(inputs)+ inputs_parts: list[str] = []++ for key, value in inputs_dict.items():+ if isinstance(value, dict):+ # Nested dict (like InputRequirementBlueprint)+ nested_parts: list[str] = []+ nested_dict: Dict[str, Any] = value+ for nested_key, nested_value in nested_dict.items():+ if isinstance(nested_value, str):+ nested_parts.append(f'{nested_key} = "{PipelexInterpreter.escape_toml_string(nested_value)}"')+ else:+ nested_parts.append(f"{nested_key} = {str(nested_value).lower()}")+ inputs_parts.append(f"{key} = {{ {', '.join(nested_parts)} }}")+ else:+ # Simple string value+ if isinstance(value, str):+ inputs_parts.append(f'{key} = "{PipelexInterpreter.escape_toml_string(value)}"')+ else:+ # Fallback for any other type+ inputs_parts.append(f'{key} = "{PipelexInterpreter.escape_toml_string(str(value))}"')++ return f"{{ {', '.join(inputs_parts)} }}"++ @staticmethod+ def add_inputs_to_lines_if_exist(lines: list[str], pipe_inputs: Optional[Mapping[str, Union[str, InputRequirementBlueprint]]]) -> None:+ """Add inputs line to TOML lines if inputs exist."""+ if pipe_inputs:+ inputs_dict = PipelexInterpreter.serialize_inputs(pipe_inputs)+ inputs_parts: list[str] = []+ for key, value in inputs_dict.items():+ if isinstance(value, dict):+ nested_parts: list[str] = []+ nested_dict: Dict[str, Any] = value+ for nested_key, nested_value in nested_dict.items():+ if isinstance(nested_value, str):+ nested_parts.append(f'{nested_key} = "{PipelexInterpreter.escape_toml_string(nested_value)}"')+ else:+ nested_parts.append(f"{nested_key} = {str(nested_value).lower()}")+ inputs_parts.append(f"{key} = {{ {', '.join(nested_parts)} }}")+ else:+ if isinstance(value, str):+ inputs_parts.append(f'{key} = "{PipelexInterpreter.escape_toml_string(value)}"')+ else:+ inputs_parts.append(f'{key} = "{PipelexInterpreter.escape_toml_string(str(value))}"')+ lines.append(f"inputs = {{ {', '.join(inputs_parts)} }}")diff --git a/pipelex/core/memory/working_memory.py b/pipelex/core/memory/working_memory.pyindex d7c54fcca..a2efebb03 100644--- a/pipelex/core/memory/working_memory.py+++ b/pipelex/core/memory/working_memory.py@@ -2,10 +2,9 @@ from operator import attrgetterfrom typing import Any, Dict, List, Optional, Set, Typefrom pydantic import BaseModel, Field, model_validator-from typing_extensions import Self+from typing_extensions import Self, overridefrom pipelex import log, pretty_print-from pipelex.core.concepts.concept_native import NativeConceptfrom pipelex.core.stuffs.stuff import Stufffrom pipelex.core.stuffs.stuff_artefact import StuffArtefactfrom pipelex.core.stuffs.stuff_content import (@@ -15,7 +14,6 @@ from pipelex.core.stuffs.stuff_content import (MermaidContent,NumberContent,PDFContent,- StuffContent,StuffContentType,TextAndImagesContent,TextContent,@@ -26,7 +24,7 @@ from pipelex.exceptions import (WorkingMemoryStuffNotFoundError,WorkingMemoryTypeError,)-from pipelex.tools.misc.json_utils import save_as_json_to_path+from pipelex.tools.misc.context_provider_abstract import ContextProviderAbstractMAIN_STUFF_NAME = "main_stuff"BATCH_ITEM_STUFF_NAME = "BATCH_ITEM"@@ -36,7 +34,7 @@ StuffDict = Dict[str, Stuff]StuffArtefactDict = Dict[str, StuffArtefact]-class WorkingMemory(BaseModel):+class WorkingMemory(BaseModel, ContextProviderAbstract):root: StuffDict = Field(default_factory=dict)aliases: Dict[str, str] = Field(default_factory=dict)@@ -60,24 +58,11 @@ class WorkingMemory(BaseModel):content = stuff.content.rendered_plain()if len(content) > PRETTY_PRINT_MAX_LENGTH:content = content[:PRETTY_PRINT_MAX_LENGTH] + "..."- pretty_print(content, title=f"{stuff.stuff_name} ({stuff.concept_code})")+ pretty_print(content, title=f"{stuff.stuff_name} ({stuff.concept.code})")def make_deep_copy(self) -> Self:return self.model_copy(deep=True)- def generate_full_stuff_dict(self) -> StuffDict:- full_stuff_dict: StuffDict = self.root.copy()- full_stuff_dict.update({alias: self.root[target] for alias, target in self.aliases.items()})- return full_stuff_dict-- def generate_stuff_artefact_dict(self) -> StuffArtefactDict:- artefact_dict: StuffArtefactDict = {}- for name, stuff in self.root.items():- artefact_dict[name] = stuff.make_artefact()- for alias, target in self.aliases.items():- artefact_dict[alias] = artefact_dict[target]- return artefact_dict-def get_optional_stuff(self, name: str) -> Optional[Stuff]:if named_stuff := self.root.get(name):return named_stuff@@ -105,41 +90,6 @@ class WorkingMemory(BaseModel):message=f"Stuff '{name}' not found in working memory, valid keys are: {self.list_keys()}",)- def get_stuff_or_attribute(self, name: str, wanted_type: Optional[Type[Any]] = None) -> Any:- if "." in name:- parts = name.split(".", 1) # Split only at the first dot- base_name = parts[0]- attr_path_str = parts[1] # Keep the rest as a dot-separated string-- base_stuff = self.get_stuff(base_name)-- try:- stuff_content = attrgetter(attr_path_str)(base_stuff.content)- except AttributeError as exc:- raise WorkingMemoryStuffAttributeNotFoundError(- variable_name=name,- message=f"Stuff attribute not found in attribute path '{name}': {exc}",- ) from exc-- # Sometimes, some stuff content are Optional, therefore can be None. So Do not impose a wanted type- if stuff_content is not None and wanted_type is not None and not isinstance(stuff_content, wanted_type):- raise WorkingMemoryTypeError(- variable_name=name,- message=f"Content at '{name}' is of type {type(stuff_content).__name__}, it should be {wanted_type.__name__}",- )-- return stuff_content- else:- content = self.get_stuff(name).content-- if wanted_type is not None and not isinstance(content, wanted_type):- raise WorkingMemoryTypeError(- variable_name=name,- message=f"Content of '{name}' is of type {type(content).__name__}, it should be {wanted_type.__name__}",- )-- return content-def get_stuffs(self, names: Set[str]) -> List[Stuff]:the_stuffs: List[Stuff] = []for name in names:@@ -155,7 +105,7 @@ class WorkingMemory(BaseModel):def is_stuff_code_used(self, stuff_code: str) -> bool:for stuff in self.root.values():- if stuff.concept_code == stuff_code:+ if stuff.concept.code == stuff_code:return Truereturn False@@ -173,6 +123,7 @@ class WorkingMemory(BaseModel):self.root[name] = stuffdef add_new_stuff(self, name: str, stuff: Stuff, aliases: Optional[List[str]] = None):+ # TODO: Add unit tests for this methodlog.debug(f"Adding new stuff '{name}' to WorkingMemory with aliases: {aliases}")if self.is_stuff_code_used(stuff_code=stuff.stuff_code):raise WorkingMemoryConsistencyError(f"Stuff code '{stuff.stuff_code}' is already used by another stuff")@@ -193,15 +144,16 @@ class WorkingMemory(BaseModel):self.set_alias(alias, name)def set_new_main_stuff(self, stuff: Stuff, name: Optional[str] = None):+ # TODO: Add unit tests for this methodif name:self.remove_main_stuff()self.add_new_stuff(name=name, stuff=stuff, aliases=[MAIN_STUFF_NAME])- log.verbose(f"Setting new main stuff {name}: {stuff.concept_code} = '{stuff.short_desc}'")+ log.verbose(f"Setting new main stuff {name}: {stuff.concept.code} = '{stuff.short_desc}'")log.verbose(stuff.content.rendered_plain())else:self.remove_alias_to_main_stuff()self.set_stuff(name=MAIN_STUFF_NAME, stuff=stuff)- log.verbose(f"Setting new main stuff (unnamed): {stuff.concept_code} = '{stuff.short_desc}'")+ log.verbose(f"Setting new main stuff (unnamed): {stuff.concept.code} = '{stuff.short_desc}'")def set_alias(self, alias: str, target: str) -> None:"""Add an alias pointing to a target name."""@@ -235,45 +187,61 @@ class WorkingMemory(BaseModel):def list_keys(self) -> List[str]:return list(self.root.keys()) + list(self.aliases.keys())+ def pretty_print(self):+ for name, stuff in self.root.items():+ pretty_print(stuff.content.rendered_plain(), title=f"{name}: {stuff.concept.code}")+################################################################################################- # Export methods+ # ContextProviderAbstract################################################################################################- def content_dict(self) -> Dict[str, StuffContent]:- result = {name: stuff.content for name, stuff in self.root.items()}- # Include aliased content- result.update({alias: self.root[target].content for alias, target in self.aliases.items()})- return result-- def pretty_print(self):+ @override+ def generate_context(self) -> Dict[str, Any]:+ # TODO: Add unit tests for this method+ artefact_dict: StuffArtefactDict = {}for name, stuff in self.root.items():- pretty_print(stuff.content.rendered_plain(), title=f"{name}: {stuff.concept_code}")-- def update_from_strings_from_dict(self, context_dict: Dict[str, Any]) -> "WorkingMemory":- update_stuff_dict: StuffDict = {}- for name, str_content in context_dict.items():- if not isinstance(str_content, str):- continue- stuff_content: StuffContent- if str_content.startswith("http"):- if ".png" in str_content or ".jpg" in str_content or ".jpeg" in str_content:- stuff_content = ImageContent(url=str_content)- else:- log.warning(f"Skipping unknown URL content: {str_content}")- continue- else:- stuff_content = TextContent(text=str_content)- update_stuff_dict[name] = Stuff(- stuff_name=name,- stuff_code="",- concept_code=NativeConcept.TEXT.code,- content=stuff_content,- )- self.root.update(update_stuff_dict)- return self+ a = stuff.make_artefact()+ artefact_dict[name] = a+ for alias, target in self.aliases.items():+ artefact_dict[alias] = artefact_dict[target]+ return artefact_dict++ @override+ def get_typed_object_or_attribute(self, name: str, wanted_type: Optional[Type[Any]] = None) -> Any:+ # TODO: Add unit tests for this method+ if "." in name:+ parts = name.split(".", 1) # Split only at the first dot+ base_name = parts[0]+ attr_path_str = parts[1] # Keep the rest as a dot-separated string++ base_stuff = self.get_stuff(base_name)++ try:+ stuff_content = attrgetter(attr_path_str)(base_stuff.content)+ except AttributeError as exc:+ raise WorkingMemoryStuffAttributeNotFoundError(+ variable_name=name,+ message=f"Stuff attribute not found in attribute path '{name}': {exc}",+ ) from exc- def save_to_memory_file(self, memory_file_path: str):- save_as_json_to_path(self.model_dump(serialize_as_any=True), memory_file_path)+ # Sometimes, some stuff content are Optional, therefore can be None. So Do not impose a wanted type+ if stuff_content is not None and wanted_type is not None and not isinstance(stuff_content, wanted_type):+ raise WorkingMemoryTypeError(+ variable_name=name,+ message=f"Content at '{name}' is of type {type(stuff_content).__name__}, it should be {wanted_type.__name__}",+ )++ return stuff_content+ else:+ content = self.get_stuff(name).content++ if wanted_type is not None and not isinstance(content, wanted_type):+ raise WorkingMemoryTypeError(+ variable_name=name,+ message=f"Content of '{name}' is of type {type(content).__name__}, it should be {wanted_type.__name__}",+ )++ return content################################################################################################# Stuff accessorsdiff --git a/pipelex/core/memory/working_memory_factory.py b/pipelex/core/memory/working_memory_factory.pyindex 0cda7d5cf..78af56e79 100644--- a/pipelex/core/memory/working_memory_factory.py+++ b/pipelex/core/memory/working_memory_factory.py@@ -6,14 +6,15 @@ from pydantic import BaseModelfrom pipelex import logfrom pipelex.client.protocol import CompactMemory, ImplicitMemory-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept import ConceptBlueprint, SpecialDomain+from pipelex.core.concepts.concept_native import NativeConceptEnumfrom pipelex.core.memory.working_memory import MAIN_STUFF_NAME, StuffDict, WorkingMemoryfrom pipelex.core.pipes.pipe_input_spec import TypedNamedInputRequirementfrom pipelex.core.stuffs.stuff import Stufffrom pipelex.core.stuffs.stuff_content import ImageContent, ListContent, PDFContent, StuffContent, TextContent-from pipelex.core.stuffs.stuff_factory import StuffBlueprint, StuffFactory+from pipelex.core.stuffs.stuff_factory import StuffFactoryfrom pipelex.exceptions import WorkingMemoryFactoryError-from pipelex.tools.misc.json_utils import load_json_dict_from_path+from pipelex.hub import get_required_conceptclass WorkingMemoryFactory(BaseModel):@@ -21,25 +22,29 @@ class WorkingMemoryFactory(BaseModel):def make_from_text(cls,text: str,- concept_str: str = NativeConcept.TEXT.code,+ concept_string: str = SpecialDomain.NATIVE.value + "." + NativeConceptEnum.TEXT.value,name: Optional[str] = "text",) -> WorkingMemory:- stuff = StuffFactory.make_stuff(- concept_str=concept_str,- content=TextContent(text=text),- name=name,+ ConceptBlueprint.validate_concept_string(concept_string=concept_string)+ return cls.make_from_single_stuff(+ stuff=StuffFactory.make_stuff(+ concept=get_required_concept(concept_string=concept_string),+ content=TextContent(text=text),+ name=name,+ ))- return cls.make_from_single_stuff(stuff=stuff)@classmethoddef make_from_image(cls,image_url: str,- concept_str: str = NativeConcept.IMAGE.code,+ concept_string: str = SpecialDomain.NATIVE.value + "." + NativeConceptEnum.IMAGE.value,name: Optional[str] = "image",) -> WorkingMemory:+ # TODO: validate that the concept is compatible with an image concept+ ConceptBlueprint.validate_concept_string(concept_string=concept_string)stuff = StuffFactory.make_stuff(- concept_str=concept_str,+ concept=get_required_concept(concept_string=concept_string),content=ImageContent(url=image_url),name=name,)@@ -49,33 +54,24 @@ class WorkingMemoryFactory(BaseModel):def make_from_pdf(cls,pdf_url: str,- concept_str: str = NativeConcept.PDF.code,+ concept_string: str = SpecialDomain.NATIVE.value + "." + NativeConceptEnum.PDF.value,name: Optional[str] = "pdf",) -> WorkingMemory:- stuff = StuffFactory.make_stuff(- concept_str=concept_str,- content=PDFContent(url=pdf_url),- name=name,+ ConceptBlueprint.validate_concept_string(concept_string=concept_string)+ return cls.make_from_single_stuff(+ stuff=StuffFactory.make_stuff(+ concept=get_required_concept(concept_string=concept_string),+ content=PDFContent(url=pdf_url),+ name=name,+ ))- return cls.make_from_single_stuff(stuff=stuff)-- @classmethod- def make_from_stuff_and_name(cls, stuff: Stuff, name: str) -> WorkingMemory:- stuff_dict: StuffDict = {name: stuff}- aliases: Dict[str, str] = {MAIN_STUFF_NAME: name}- return WorkingMemory(root=stuff_dict, aliases=aliases)-- @classmethod- def make_from_single_blueprint(cls, blueprint: StuffBlueprint) -> WorkingMemory:- stuff = StuffFactory.make_from_blueprint(blueprint=blueprint)- return cls.make_from_single_stuff(stuff=stuff)@classmethoddef make_from_single_stuff(cls, stuff: Stuff) -> WorkingMemory:- name = stuff.stuff_name- if not name:+ if not stuff.stuff_name:raise WorkingMemoryFactoryError(f"Cannot make_from_single_stuff because stuff has no name: {stuff}")- return cls.make_from_stuff_and_name(stuff=stuff, name=name)+ stuff_dict: StuffDict = {stuff.stuff_name: stuff}+ return WorkingMemory(root=stuff_dict, aliases={MAIN_STUFF_NAME: stuff.stuff_name})@classmethoddef make_from_multiple_stuffs(@@ -103,16 +99,17 @@ class WorkingMemoryFactory(BaseModel):@classmethoddef make_from_strings_from_dict(cls, input_dict: Dict[str, Any]) -> WorkingMemory:+ # TODO: Add unit tests for this methodstuff_dict: StuffDict = {}for name, content in input_dict.items():if not isinstance(content, str):continuetext_content = TextContent(text=content)- stuff_dict[name] = Stuff(- stuff_name=name,- stuff_code="",- concept_code=NativeConcept.TEXT.code,+ stuff_dict[name] = StuffFactory.make_stuff(+ concept=get_required_concept(concept_string=SpecialDomain.NATIVE.value + "." + NativeConceptEnum.TEXT.value),content=text_content,+ name=name,+ code="",)return WorkingMemory(root=stuff_dict)@@ -120,12 +117,6 @@ class WorkingMemoryFactory(BaseModel):def make_empty(cls) -> WorkingMemory:return WorkingMemory(root={})- @classmethod- def make_from_memory_file(cls, memory_file_path: str) -> WorkingMemory:- working_memory_dict = load_json_dict_from_path(memory_file_path)- working_memory = WorkingMemory.model_validate(working_memory_dict)- return working_memory-@classmethoddef make_from_compact_memory(cls,@@ -180,7 +171,7 @@ class WorkingMemoryFactory(BaseModel):return MockFactory.build() # type: ignoreelse:# Fallback to text content- return TextContent(text=f"DRY RUN: Mock content for '{requirement.variable_name}' ({requirement.concept_code})")+ return TextContent(text=f"DRY RUN: Mock content for '{requirement.variable_name}' ({requirement.concept.code})")@classmethoddef make_for_dry_run(cls, needed_inputs: List[TypedNamedInputRequirement]) -> "WorkingMemory":@@ -193,13 +184,12 @@ class WorkingMemoryFactory(BaseModel):Returns:WorkingMemory with mock objects for each needed input"""-working_memory = cls.make_empty()for requirement in needed_inputs:log.debug(f"Creating dry run mock for '{requirement.variable_name}' with concept "- f"'{requirement.concept_code}' and class '{requirement.structure_class.__name__}'"+ f"'{requirement.concept.code}' and class '{requirement.structure_class.__name__}'")try:@@ -207,11 +197,11 @@ class WorkingMemoryFactory(BaseModel):mock_content = cls.create_mock_content(requirement)# Create stuff with mock content- mock_stuff = Stuff(- stuff_name=requirement.variable_name,- stuff_code=shortuuid.uuid()[:5],- concept_code=requirement.concept_code,+ mock_stuff = StuffFactory.make_stuff(+ concept=requirement.concept,content=mock_content,+ name=requirement.variable_name,+ code=shortuuid.uuid()[:5],)working_memory.add_new_stuff(name=requirement.variable_name, stuff=mock_stuff)@@ -232,26 +222,26 @@ class WorkingMemoryFactory(BaseModel):mock_list_content = ListContent[StuffContent](items=items)# Create stuff with mock content- mock_stuff = Stuff(- stuff_name=requirement.variable_name,- stuff_code=shortuuid.uuid()[:5],- concept_code=requirement.concept_code,+ mock_stuff = StuffFactory.make_stuff(+ concept=requirement.concept,content=mock_list_content,+ name=requirement.variable_name,+ code=shortuuid.uuid()[:5],)working_memory.add_new_stuff(name=requirement.variable_name, stuff=mock_stuff)except Exception as exc:log.warning(- f"Failed to create mock for '{requirement.variable_name}' ({requirement.concept_code}): {exc}. Using fallback text content."+ f"Failed to create mock for '{requirement.variable_name}' ({requirement.concept.code}): {exc}. Using fallback text content.")# Create fallback text content- fallback_content = TextContent(text=f"DRY RUN: Fallback mock for '{requirement.variable_name}' ({requirement.concept_code})")- fallback_stuff = Stuff(- stuff_name=requirement.variable_name,- stuff_code=shortuuid.uuid()[:5],- concept_code=requirement.concept_code,+ fallback_content = TextContent(text=f"DRY RUN: Fallback mock for '{requirement.variable_name}' ({requirement.concept.code})")+ fallback_stuff = StuffFactory.make_stuff(+ concept=requirement.concept,content=fallback_content,+ name=requirement.variable_name,+ code=shortuuid.uuid()[:5],)working_memory.add_new_stuff(name=requirement.variable_name, stuff=fallback_stuff)diff --git a/pipelex/core/pipes/exceptions.py b/pipelex/core/pipes/exceptions.pynew file mode 100644index 000000000..baf2346d9--- /dev/null+++ b/pipelex/core/pipes/exceptions.py@@ -0,0 +1,4 @@+class PipeBlueprintError(Exception):+ """Exception raised for errors in the PipeBlueprint class."""++ passdiff --git a/pipelex/core/pipes/pipe_abstract.py b/pipelex/core/pipes/pipe_abstract.pyindex 76e8192e0..31823d362 100644--- a/pipelex/core/pipes/pipe_abstract.py+++ b/pipelex/core/pipes/pipe_abstract.py@@ -1,11 +1,11 @@from abc import ABC, abstractmethod-from typing import Any, Dict, Optional, Set, Type+from typing import List, Optional, Set, Type-from pydantic import BaseModel, ConfigDict, Field, model_validator+from pydantic import BaseModel, ConfigDict, Field, field_validator-from pipelex.core.concepts.concept_code_factory import ConceptCodeFactory-from pipelex.core.domains.domain import SpecialDomain+from pipelex.core.concepts.concept import Conceptfrom pipelex.core.memory.working_memory import WorkingMemory+from pipelex.core.pipes.pipe_blueprint import PipeBlueprintfrom pipelex.core.pipes.pipe_input_spec import PipeInputSpecfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunParams@@ -19,35 +19,20 @@ class PipeAbstract(ABC, BaseModel):code: strdomain: strdefinition: Optional[str] = None- # TODO: support auto (implicit) input, it makes sense for pipe controllersinputs: PipeInputSpec = Field(default_factory=PipeInputSpec)- output_concept_code: str-- @model_validator(mode="before")- @classmethod- # TODO: This is a hack to add the domain prefix to the concept code.- # Fix this with a more simple Concept Factory approach.- def add_domain_prefix(cls, data: Dict[str, Any]) -> Dict[str, Any]:- # Process output_concept_code - always present- if "output_concept_code" in data:- data["output_concept_code"] = ConceptCodeFactory.make_concept_code_from_str(- domain=data["domain"],- concept_str=data["output_concept_code"],- fallback_domain=SpecialDomain.IMPLICIT,- )-- # Process inputs - always present- if "inputs" in data:- inputs = data["inputs"]- if isinstance(inputs, PipeInputSpec):- for _, input_requirement in inputs.root.items():- input_requirement.concept_code = ConceptCodeFactory.make_concept_code_from_str(- concept_str=input_requirement.concept_code,- domain=data["domain"],- fallback_domain=SpecialDomain.IMPLICIT,- )-- return data+ output: Concept++ @field_validator("code", mode="before")+ def validate_pipe_code_syntax(cls, code: str) -> str:+ PipeBlueprint.validate_pipe_code_syntax(pipe_code=code)+ return code++ @abstractmethod+ def validate_output(self):+ """+ Validate the output for the pipe.+ """+ pass@propertydef class_name(self) -> str:@@ -88,9 +73,11 @@ class PipeAbstract(ABC, BaseModel):"""return set()- def concept_dependencies(self) -> Set[str]:- required_concepts = set([self.output_concept_code])- required_concepts.update(self.inputs.concepts)+ def concept_dependencies(self) -> List[Concept]:+ required_concepts: List[Concept] = [self.output]+ for concept in self.inputs.concepts:+ required_concepts.append(concept)+ required_concepts.append(self.output)return required_concepts@abstractmethoddiff --git a/pipelex/core/pipes/pipe_blueprint.py b/pipelex/core/pipes/pipe_blueprint.pyindex 962143c38..9179ad350 100644--- a/pipelex/core/pipes/pipe_blueprint.py+++ b/pipelex/core/pipes/pipe_blueprint.py@@ -1,18 +1,14 @@-from typing import Any, Dict, Optional+from typing import Any, Dict, Optional, Union-from pydantic import BaseModel, model_validator-from typing_extensions import Self+from pydantic import BaseModel, Field, field_validator-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint+from pipelex.core.concepts.concept_blueprint import ConceptBlueprint+from pipelex.core.pipes.exceptions import PipeBlueprintError+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.tools.misc.string_utils import is_snake_casefrom pipelex.types import StrEnum-class PipeBlueprintError(Exception):- """Exception raised for errors in the PipeBlueprint class."""-- pass--class AllowedPipeTypes(StrEnum):# Pipe OperatorsPIPE_FUNC = "PipeFunc"@@ -36,13 +32,24 @@ class PipeBlueprint(BaseModel):type: Any # TODO: Find a better way to handle this.definition: Optional[str] = None- inputs: Optional[Dict[str, InputRequirementBlueprint]] = None- output: str+ inputs: Optional[Dict[str, Union[str, InputRequirementBlueprint]]] = None+ output_concept_string_or_concept_code: str = Field(alias="output")- @model_validator(mode="after")- def validate_pipe_type(self) -> Self:+ @field_validator("type", mode="after")+ def validate_pipe_type(cls, value: Any) -> Any:"""Validate that the pipe type is one of the allowed values."""allowed_types = [_type.value for _type in AllowedPipeTypes]- if self.type not in allowed_types:- raise PipeBlueprintError(f"Invalid pipe type '{self.type}'. Must be one of: {sorted(allowed_types)}")- return self+ if value not in allowed_types:+ raise PipeBlueprintError(f"Invalid pipe type '{value}'. Must be one of: {allowed_types}")+ return value++ @field_validator("output_concept_string_or_concept_code", mode="before")+ def validate_concept_string_or_concept_code(cls, output: str) -> str:+ ConceptBlueprint.validate_concept_string_or_concept_code(concept_string_or_concept_code=output)+ return output++ @classmethod+ def validate_pipe_code_syntax(cls, pipe_code: str) -> str:+ if not is_snake_case(pipe_code):+ raise PipeBlueprintError(f"Invalid pipe code syntax '{pipe_code}'. Must be in snake_case.")+ return pipe_codediff --git a/pipelex/core/pipes/pipe_factory.py b/pipelex/core/pipes/pipe_factory.pyindex eff1b405c..d4a3ba12b 100644--- a/pipelex/core/pipes/pipe_factory.py+++ b/pipelex/core/pipes/pipe_factory.py@@ -1,4 +1,4 @@-from typing import Any, Protocol, Type, TypeVar+from typing import Any, List, Optional, Protocol, Type, TypeVarfrom kajson.exceptions import ClassRegistryInheritanceError, ClassRegistryNotFoundErrorfrom kajson.kajson_manager import KajsonManager@@ -15,25 +15,27 @@ PipeType = TypeVar("PipeType", bound="PipeAbstract", covariant=True)@runtime_checkableclass PipeFactoryProtocol(Protocol[PipeBlueprintType, PipeType]):@classmethod- def make_pipe_from_blueprint(+ def make_from_blueprint(cls,- domain_code: str,+ domain: str,pipe_code: str,- pipe_blueprint: PipeBlueprintType,+ blueprint: PipeBlueprintType,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,) -> PipeType: ...class PipeFactory(PipeFactoryProtocol[PipeBlueprint, PipeAbstract]):@classmethod@override- def make_pipe_from_blueprint(+ def make_from_blueprint(cls,- domain_code: str,+ domain: str,pipe_code: str,- pipe_blueprint: PipeBlueprint,+ blueprint: PipeBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,) -> PipeAbstract:# The factory class name for that specific type of Pipe is the pipe class name with "Factory" suffix- factory_class_name = f"{pipe_blueprint.type}Factory"+ factory_class_name = f"{blueprint.type}Factory"try:pipe_factory: Type[PipeFactoryProtocol[Any, Any]] = KajsonManager.get_class_registry().get_required_subclass(name=factory_class_name,@@ -48,9 +50,10 @@ class PipeFactory(PipeFactoryProtocol[PipeBlueprint, PipeAbstract]):f"Pipe '{pipe_code}' couldn't be created: factory '{factory_class_name}' is not a subclass of {type(PipeFactoryProtocol)}.") from factory_inheritance_error- pipe_from_blueprint: PipeAbstract = pipe_factory.make_pipe_from_blueprint(- domain_code=domain_code,+ pipe_from_blueprint: PipeAbstract = pipe_factory.make_from_blueprint(+ domain=domain,pipe_code=pipe_code,- pipe_blueprint=pipe_blueprint,+ blueprint=blueprint,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,)return pipe_from_blueprintdiff --git a/pipelex/core/pipes/pipe_input_spec.py b/pipelex/core/pipes/pipe_input_spec.pyindex 8b9244c36..212254d37 100644--- a/pipelex/core/pipes/pipe_input_spec.py+++ b/pipelex/core/pipes/pipe_input_spec.py@@ -1,30 +1,16 @@-from typing import Any, Callable, Dict, List, Optional, Set, Tuple, Type+from typing import Callable, Dict, List, Optional, Tuple, Type-from pydantic import BaseModel, Field, RootModel, field_validator, model_validator-from typing_extensions import Self+from pydantic import BaseModel, Field, RootModel, field_validatorfrom pipelex import log-from pipelex.core.concepts.concept_code_factory import ConceptCodeFactory+from pipelex.core.concepts.concept import Conceptfrom pipelex.core.pipes.pipe_run_params import PipeOutputMultiplicityfrom pipelex.core.stuffs.stuff_content import StuffContentfrom pipelex.exceptions import PipeInputNotFoundError-class InputRequirementBlueprint(BaseModel):- concept_code: str- multiplicity: Optional[PipeOutputMultiplicity] = None-- @model_validator(mode="before")- @classmethod- def validate_input(cls, data: Any) -> Any:- """If the incoming data is a string, convert it to a dict with concept_code."""- if isinstance(data, str):- return {"concept_code": data}- return data--class InputRequirement(BaseModel):- concept_code: str+ concept: Conceptmultiplicity: Optional[PipeOutputMultiplicity] = None@@ -74,60 +60,40 @@ class PipeInputSpec(RootModel[PipeInputSpecRoot]):if transformed_key != required_input:log.verbose(f"Sub-attribute {required_input} detected, using {transformed_key} as variable name")- # Validate concept_code- concept_code = ConceptCodeFactory.make_concept_code_from_str(concept_str=requirement.concept_code)-if transformed_key in transformed_dict and transformed_dict[transformed_key] != requirement:log.verbose(f"Variable {transformed_key} already exists with a different concept code: {transformed_dict[transformed_key]} -> {requirement}")- transformed_dict[transformed_key] = InputRequirement(concept_code=concept_code, multiplicity=requirement.multiplicity)+ transformed_dict[transformed_key] = InputRequirement(concept=requirement.concept, multiplicity=requirement.multiplicity)return transformed_dictdef set_default_domain(self, domain: str):for input_name, requirement in self.root.items():- input_concept_code = requirement.concept_code+ input_concept_code = requirement.concept.codeif "." not in input_concept_code:- requirement.concept_code = f"{domain}.{input_concept_code}"+ requirement.concept.code = f"{domain}.{input_concept_code}"self.root[input_name] = requirement- def get_required_concept_code(self, variable_name: str) -> str:+ def get_required_input_requirement(self, variable_name: str) -> InputRequirement:requirement = self.root.get(variable_name)if not requirement:raise PipeInputNotFoundError(f"Variable '{variable_name}' not found in input spec")- return requirement.concept_code+ return requirement- def add_requirement(self, variable_name: str, concept_code: str, multiplicity: Optional[PipeOutputMultiplicity] = None):- self.root[variable_name] = InputRequirement(concept_code=concept_code, multiplicity=multiplicity)-- @classmethod- def make_empty(cls) -> Self:- return cls(root={})-- @classmethod- def make_from_blueprint(cls, domain: str, blueprint: Dict[str, InputRequirementBlueprint]) -> Self:- for var_name, input_requirement_blueprint in blueprint.items():- concept_code = ConceptCodeFactory.make_concept_code_from_str(domain=domain, concept_str=input_requirement_blueprint.concept_code)- blueprint[var_name].concept_code = concept_code- return cls(- root={- var_name: InputRequirement(- concept_code=input_requirement_blueprint.concept_code, multiplicity=input_requirement_blueprint.multiplicity- )- for var_name, input_requirement_blueprint in blueprint.items()- }- )+ def add_requirement(self, variable_name: str, concept: Concept, multiplicity: Optional[PipeOutputMultiplicity] = None):+ self.root[variable_name] = InputRequirement(concept=concept, multiplicity=multiplicity)@propertydef items(self) -> List[Tuple[str, InputRequirement]]:return list(self.root.items())@property- def concepts(self) -> Set[str]:- all_concepts: Set[str] = set()+ def concepts(self) -> List[Concept]:+ all_concepts: List[Concept] = []for requirement in self.root.values():- all_concepts.add(requirement.concept_code)+ if requirement.concept.concept_string not in [c.concept_string for c in all_concepts]:+ all_concepts.append(requirement.concept)return all_concepts@property@@ -152,7 +118,7 @@ class PipeInputSpec(RootModel[PipeInputSpecRoot]):NamedInputRequirement(variable_name=required_variable_name,requirement_expression=requirement_expression,- concept_code=requirement.concept_code,+ concept=requirement.concept,multiplicity=requirement.multiplicity,))diff --git a/pipelex/core/pipes/pipe_input_spec_blueprint.py b/pipelex/core/pipes/pipe_input_spec_blueprint.pynew file mode 100644index 000000000..c66e417d8--- /dev/null+++ b/pipelex/core/pipes/pipe_input_spec_blueprint.py@@ -0,0 +1,17 @@+from typing import Optional++from pydantic import BaseModel, field_validator++from pipelex.core.concepts.concept_blueprint import ConceptBlueprint+from pipelex.core.pipes.pipe_run_params import PipeOutputMultiplicity+++class InputRequirementBlueprint(BaseModel):+ concept: str+ multiplicity: Optional[PipeOutputMultiplicity] = None++ @field_validator("concept", mode="before")+ @classmethod+ def validate_concept_string(cls, concept_string: str) -> str:+ ConceptBlueprint.validate_concept_string_or_concept_code(concept_string_or_concept_code=concept_string)+ return concept_stringdiff --git a/pipelex/core/pipes/pipe_input_spec_factory.py b/pipelex/core/pipes/pipe_input_spec_factory.pynew file mode 100644index 000000000..0caa6f8fa--- /dev/null+++ b/pipelex/core/pipes/pipe_input_spec_factory.py@@ -0,0 +1,42 @@+from typing import Dict, List, Optional, Union++from pipelex.core.concepts.concept_blueprint import ConceptBlueprint+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_input_spec import InputRequirement, PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.hub import get_concept_provider+++class PipeInputSpecFactory:+ """Factory for creating PipeInputSpec instances with dependencies."""++ @classmethod+ def make_empty(cls) -> PipeInputSpec:+ return PipeInputSpec(root={})++ @classmethod+ def make_from_blueprint(+ cls, domain: str, blueprint: Dict[str, Union[str, InputRequirementBlueprint]], concept_codes_from_the_same_domain: Optional[List[str]] = None+ ) -> PipeInputSpec:+ inputs: Dict[str, InputRequirement] = {}+ for var_name, input_requirement_blueprint in blueprint.items():+ if isinstance(input_requirement_blueprint, str):+ input_requirement_blueprint = InputRequirementBlueprint(concept=input_requirement_blueprint)++ concept_string = input_requirement_blueprint.concept+ ConceptBlueprint.validate_concept_string_or_concept_code(concept_string_or_concept_code=concept_string)+ input_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=concept_string,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )++ inputs[var_name] = InputRequirement(+ concept=get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=input_domain_and_code.domain, concept_code=input_domain_and_code.concept_code+ )+ ),+ multiplicity=input_requirement_blueprint.multiplicity,+ )+ return PipeInputSpec(root=inputs)diff --git a/pipelex/core/pipes/pipe_library.py b/pipelex/core/pipes/pipe_library.pyindex 5df5f0419..912c9594a 100644--- a/pipelex/core/pipes/pipe_library.py+++ b/pipelex/core/pipes/pipe_library.py@@ -16,16 +16,18 @@ PipeLibraryRoot = Dict[str, PipeAbstract]class PipeLibrary(RootModel[PipeLibraryRoot], PipeProviderAbstract):+ @overridedef validate_with_libraries(self):concept_provider = get_concept_provider()for pipe in self.root.values():+ pipe.validate_output()try:- for concept_code in pipe.concept_dependencies():+ for concept in pipe.concept_dependencies():try:- concept_provider.get_required_concept(concept_code=concept_code)+ concept_provider.get_required_concept(concept_string=concept.concept_string)except ConceptError as concept_error:raise PipeLibraryError(- f"Error validating pipe '{pipe.code}' dependency concept '{concept_code}' because of: {concept_error}"+ f"Error validating pipe '{pipe.code}' dependency concept '{concept.concept_string}' because of: {concept_error}") from concept_errorfor pipe_code in pipe.pipe_dependencies():self.get_required_pipe(pipe_code=pipe_code)@@ -37,15 +39,13 @@ class PipeLibrary(RootModel[PipeLibraryRoot], PipeProviderAbstract):def make_empty(cls):return cls(root={})+ @overridedef add_new_pipe(self, pipe: PipeAbstract):- name = pipe.code- pipe.inputs.set_default_domain(domain=pipe.domain)- if pipe.output_concept_code and "." not in pipe.output_concept_code:- pipe.output_concept_code = f"{pipe.domain}.{pipe.output_concept_code}"- if name in self.root:- raise PipeLibraryError(f"Pipe '{name}' already exists in the library")+ if pipe.code in self.root:+ raise PipeLibraryError(f"Pipe '{pipe.code}' already exists in the library")self.root[pipe.code] = pipe+ @overridedef add_pipes(self, pipes: List[PipeAbstract]):for pipe in pipes:self.add_new_pipe(pipe=pipe)@@ -53,8 +53,8 @@ class PipeLibrary(RootModel[PipeLibraryRoot], PipeProviderAbstract):def add_or_update_pipe(self, pipe: PipeAbstract):name = pipe.codepipe.inputs.set_default_domain(domain=pipe.domain)- if pipe.output_concept_code and "." not in pipe.output_concept_code:- pipe.output_concept_code = f"{pipe.domain}.{pipe.output_concept_code}"+ if pipe.output.code and "." not in pipe.output.code:+ pipe.output.code = f"{pipe.domain}.{pipe.output.code}"self.root[name] = pipe@override@@ -121,9 +121,9 @@ class PipeLibrary(RootModel[PipeLibraryRoot], PipeProviderAbstract):for pipe in domain_pipes:inputs = pipe.inputs- formatted_inputs = [f"{name}: {_format_concept_code(requirement.concept_code, domain)}" for name, requirement in inputs.items]+ formatted_inputs = [f"{name}: {_format_concept_code(requirement.concept.code, domain)}" for name, requirement in inputs.items]formatted_inputs_str = ", ".join(formatted_inputs)- output_code = _format_concept_code(pipe.output_concept_code, domain)+ output_code = _format_concept_code(pipe.output.code, domain)table.add_row(pipe.code,@@ -135,7 +135,7 @@ class PipeLibrary(RootModel[PipeLibraryRoot], PipeProviderAbstract):pipes_dict[domain][pipe.code] = {"definition": pipe.definition or "","inputs": formatted_inputs_str,- "output": pipe.output_concept_code,+ "output": pipe.output.code,}pretty_print(table)diff --git a/pipelex/core/pipes/pipe_provider_abstract.py b/pipelex/core/pipes/pipe_provider_abstract.pyindex ebeb52120..48fca9e43 100644--- a/pipelex/core/pipes/pipe_provider_abstract.py+++ b/pipelex/core/pipes/pipe_provider_abstract.py@@ -7,6 +7,10 @@ PipeLibraryRoot = Dict[str, PipeAbstract]class PipeProviderAbstract(ABC):+ @abstractmethod+ def validate_with_libraries(self) -> None:+ pass+@abstractmethoddef get_required_pipe(self, pipe_code: str) -> PipeAbstract:pass@@ -30,3 +34,11 @@ class PipeProviderAbstract(ABC):@abstractmethoddef pretty_list_pipes(self) -> None:pass++ @abstractmethod+ def add_new_pipe(self, pipe: PipeAbstract) -> None:+ pass++ @abstractmethod+ def add_pipes(self, pipes: List[PipeAbstract]) -> None:+ passdiff --git a/pipelex/core/pipes/pipe_run_params.py b/pipelex/core/pipes/pipe_run_params.pyindex 35eb7872f..d4d424e6d 100644--- a/pipelex/core/pipes/pipe_run_params.py+++ b/pipelex/core/pipes/pipe_run_params.py@@ -1,4 +1,4 @@-from typing import Any, Dict, List, Optional, Tuple, Union+from typing import Any, Dict, List, Optional, Unionfrom pydantic import BaseModel, Field, field_validatorfrom typing_extensions import Self@@ -23,7 +23,42 @@ FORCE_DRY_RUN_MODE_ENV_KEY = "PIPELEX_FORCE_DRY_RUN_MODE"PipeOutputMultiplicity = Union[bool, int]+class OutputMultiplicityResolution(BaseModel):+ """+ Result of resolving output multiplicity settings between base and override values.++ This model provides a clear, structured representation of how output multiplicity+ should be applied, replacing the previous tuple-based return format.+ """++ resolved_multiplicity: Optional[PipeOutputMultiplicity] = Field(description="The final multiplicity value to use after resolution")++ enable_multiple_outputs: bool = Field(description="Whether multiple outputs should be generated")++ specific_output_count: Optional[int] = Field(default=None, description="Exact number of outputs to generate, if specified")++def make_output_multiplicity(nb_output: Optional[int], multiple_output: Optional[bool]) -> Optional[PipeOutputMultiplicity]:+ """+ This function takes two mutually exclusive parameters that control how many outputs+ a pipe should generate and converts them into a single PipeOutputMultiplicity type.++ Args:+ nb_output: Specific number of outputs to generate. If provided and truthy,+ takes precedence over multiple_output.+ multiple_output: Boolean flag indicating whether to generate multiple outputs.+ If True, lets the LLM decide how many outputs to generate.++ Examples:+ >>> make_output_multiplicity(nb_output=3, multiple_output=None)+ 3+ >>> make_output_multiplicity(nb_output=None, multiple_output=True)+ True+ >>> make_output_multiplicity(nb_output=None, multiple_output=False)+ None+ >>> make_output_multiplicity(nb_output=0, multiple_output=True)+ True+ """output_multiplicity: Optional[PipeOutputMultiplicity]if nb_output:output_multiplicity = nb_output@@ -35,45 +70,98 @@ def make_output_multiplicity(nb_output: Optional[int], multiple_output: Optionaldef output_multiplicity_to_apply(- output_multiplicity_base: Optional[PipeOutputMultiplicity],- output_multiplicity_override: Optional[PipeOutputMultiplicity],-) -> Tuple[Optional[PipeOutputMultiplicity], bool, Optional[int]]:+ base_multiplicity: Optional[PipeOutputMultiplicity],+ override_multiplicity: Optional[PipeOutputMultiplicity],+) -> OutputMultiplicityResolution:"""- Interpret / unwrap the output multiplicity override and return the appropriate values.+ Resolve output multiplicity settings by combining base configuration with override.++ This function implements a priority system where override values take precedence over+ base values, with clear logic to handle different type combinations and return+ a structured result indicating how output multiplicity should be applied.++ Args:+ base_multiplicity: Base multiplicity setting (from pipe definition).+ - None: Single output (default)+ - True: Multiple outputs (LLM decides count)+ - int: Specific number of outputs+ override_multiplicity: Override multiplicity setting (from runtime params).+ - None: Use base value+ - True: Enable multiple outputs+ - False: Force single output (disable multiplicity)+ - int: Specific number of outputs++ Returns:+ OutputMultiplicityResolution: Structured result containing:+ - resolved_multiplicity: The final multiplicity value to use+ - enable_multiple_outputs: True if multiple outputs should be generated+ - specific_output_count: Exact number of outputs if specified, None otherwise++ Resolution Logic:+ - If override is None: Use base value as-is+ - If override is False: Force single output regardless of base+ - If override is True: Enable multiple outputs, preserve base count if it's int+ - If override is int: Use override count, enable multiple outputs++ Examples:+ >>> result = output_multiplicity_to_apply(None, None)+ >>> (result.resolved_multiplicity, result.enable_multiple_outputs, result.specific_output_count)+ (None, False, None)+ >>> result = output_multiplicity_to_apply(True, None)+ >>> (result.resolved_multiplicity, result.enable_multiple_outputs, result.specific_output_count)+ (True, True, None)+ >>> result = output_multiplicity_to_apply(3, None)+ >>> (result.resolved_multiplicity, result.enable_multiple_outputs, result.specific_output_count)+ (3, True, 3)"""- log.debug(f"output_multiplicity_base = {output_multiplicity_base}")- log.debug(f"output_multiplicity_override = {output_multiplicity_override}")- if output_multiplicity_override is None:- log.debug("output_multiplicity_override is None")- if isinstance(output_multiplicity_base, bool):- log.debug("output_multiplicity_base is bool")- return output_multiplicity_base, output_multiplicity_base, None- elif isinstance(output_multiplicity_base, int):- log.debug("output_multiplicity_base is int")- return output_multiplicity_base, True, output_multiplicity_base+ log.debug(f"base_multiplicity = {base_multiplicity}")+ log.debug(f"override_multiplicity = {override_multiplicity}")++ # Case 1: No override provided - use base value as-is+ if override_multiplicity is None:+ log.debug("override_multiplicity is None - using base value")++ if isinstance(base_multiplicity, bool):+ log.debug("base_multiplicity is bool")+ return OutputMultiplicityResolution(+ resolved_multiplicity=base_multiplicity, enable_multiple_outputs=base_multiplicity, specific_output_count=None+ )+ elif isinstance(base_multiplicity, int):+ log.debug("base_multiplicity is int")+ return OutputMultiplicityResolution(+ resolved_multiplicity=base_multiplicity, enable_multiple_outputs=True, specific_output_count=base_multiplicity+ )else:- log.debug("output_multiplicity_base is not bool")- return output_multiplicity_base, False, output_multiplicity_base- elif isinstance(output_multiplicity_override, bool):- log.debug("output_multiplicity_override is bool")- if output_multiplicity_override:- log.debug("output_multiplicity_override is True")- if isinstance(output_multiplicity_base, bool):- log.debug("output_multiplicity_base is bool")- # base is also bool, we disregard it- return True, True, None+ log.debug("base_multiplicity is None")+ return OutputMultiplicityResolution(resolved_multiplicity=base_multiplicity, enable_multiple_outputs=False, specific_output_count=None)++ # Case 2: Override is a boolean+ elif isinstance(override_multiplicity, bool):+ log.debug("override_multiplicity is bool")++ if override_multiplicity:+ log.debug("override_multiplicity is True - enabling multiple outputs")++ if isinstance(base_multiplicity, bool):+ log.debug("base_multiplicity is bool - disregarding base, using True")+ return OutputMultiplicityResolution(resolved_multiplicity=True, enable_multiple_outputs=True, specific_output_count=None)else:- log.debug("output_multiplicity_base is not bool")- # base is an int, we use it- return output_multiplicity_base, True, output_multiplicity_base+ log.debug("base_multiplicity is int or None - preserving base value")+ return OutputMultiplicityResolution(+ resolved_multiplicity=base_multiplicity,+ enable_multiple_outputs=True,+ specific_output_count=base_multiplicity if isinstance(base_multiplicity, int) else None,+ )else:- log.debug("output_multiplicity_override is False")- # override is False, we refuse multiplicity- return False, False, None+ log.debug("override_multiplicity is False - forcing single output")+ return OutputMultiplicityResolution(resolved_multiplicity=False, enable_multiple_outputs=False, specific_output_count=None)++ # Case 3: Override is an integerelse:- log.debug("output_multiplicity_override is int")- # override is an int, we use it- return output_multiplicity_override, True, output_multiplicity_override+ log.debug("override_multiplicity is int - using override value")+ return OutputMultiplicityResolution(+ resolved_multiplicity=override_multiplicity, enable_multiple_outputs=True, specific_output_count=override_multiplicity+ )class BatchParams(BaseModel):@@ -125,6 +213,9 @@ class PipeRunParams(BaseModel):@classmethoddef validate_param_keys(cls, value: Dict[str, Any]) -> Dict[str, Any]:for key in value:+ if key == PipeRunParamKey.DYNAMIC_OUTPUT_CONCEPT:+ # TODO: validate the concept code+ passif not key.startswith("_"):raise ValueError(f"Parameter key '{key}' must start with an underscore '_'")return valuediff --git a/pipelex/core/registry_models.py b/pipelex/core/registry_models.pyindex 0b3d7843d..91d15bfee 100644--- a/pipelex/core/registry_models.py+++ b/pipelex/core/registry_models.py@@ -8,7 +8,6 @@ from pipelex.core.stuffs.stuff_content import (HtmlContent,ImageContent,ListContent,- LLMPromptContent,NumberContent,PageContent,PDFContent,@@ -18,25 +17,24 @@ from pipelex.core.stuffs.stuff_content import (TextContent,)from pipelex.libraries.pipelines.meta.pipeline_draft import PipelexBundleBlueprint, PipelineDraft-from pipelex.pipe_controllers.pipe_batch import PipeBatch-from pipelex.pipe_controllers.pipe_batch_factory import PipeBatchFactory-from pipelex.pipe_controllers.pipe_condition import PipeCondition-from pipelex.pipe_controllers.pipe_condition_factory import PipeConditionFactory-from pipelex.pipe_controllers.pipe_parallel import PipeParallel-from pipelex.pipe_controllers.pipe_parallel_factory import PipeParallelFactory-from pipelex.pipe_controllers.pipe_sequence import PipeSequence-from pipelex.pipe_controllers.pipe_sequence_factory import PipeSequenceFactory-from pipelex.pipe_operators.pipe_func import PipeFunc-from pipelex.pipe_operators.pipe_func_factory import PipeFuncFactory-from pipelex.pipe_operators.pipe_img_gen import PipeImgGen-from pipelex.pipe_operators.pipe_img_gen_factory import PipeImgGenFactory-from pipelex.pipe_operators.pipe_jinja2 import PipeJinja2-from pipelex.pipe_operators.pipe_jinja2_factory import PipeJinja2Factory-from pipelex.pipe_operators.pipe_llm import PipeLLM-from pipelex.pipe_operators.pipe_llm_factory import PipeLLMFactory-from pipelex.pipe_operators.pipe_llm_prompt import PipeLLMPrompt-from pipelex.pipe_operators.pipe_ocr import PipeOcr-from pipelex.pipe_operators.pipe_ocr_factory import PipeOcrFactory+from pipelex.pipe_controllers.batch.pipe_batch import PipeBatch+from pipelex.pipe_controllers.batch.pipe_batch_factory import PipeBatchFactory+from pipelex.pipe_controllers.condition.pipe_condition import PipeCondition+from pipelex.pipe_controllers.condition.pipe_condition_factory import PipeConditionFactory+from pipelex.pipe_controllers.parallel.pipe_parallel import PipeParallel+from pipelex.pipe_controllers.parallel.pipe_parallel_factory import PipeParallelFactory+from pipelex.pipe_controllers.sequence.pipe_sequence import PipeSequence+from pipelex.pipe_controllers.sequence.pipe_sequence_factory import PipeSequenceFactory+from pipelex.pipe_operators.func.pipe_func import PipeFunc+from pipelex.pipe_operators.func.pipe_func_factory import PipeFuncFactory+from pipelex.pipe_operators.img_gen.pipe_img_gen import PipeImgGen+from pipelex.pipe_operators.img_gen.pipe_img_gen_factory import PipeImgGenFactory+from pipelex.pipe_operators.jinja2.pipe_jinja2 import PipeJinja2+from pipelex.pipe_operators.jinja2.pipe_jinja2_factory import PipeJinja2Factory+from pipelex.pipe_operators.llm.pipe_llm import PipeLLM+from pipelex.pipe_operators.llm.pipe_llm_factory import PipeLLMFactory+from pipelex.pipe_operators.ocr.pipe_ocr import PipeOcr+from pipelex.pipe_operators.ocr.pipe_ocr_factory import PipeOcrFactoryfrom pipelex.tools.registry_models import ModelType, RegistryModels@@ -48,7 +46,6 @@ class PipelexRegistryModels(RegistryModels):PipeImgGen,PipeJinja2,PipeLLM,- PipeLLMPrompt,PipeOcr,]@@ -78,7 +75,6 @@ class PipelexRegistryModels(RegistryModels):TextContent,NumberContent,ImageContent,- LLMPromptContent,Stuff,StuffContent,HtmlContent,diff --git a/pipelex/core/stuffs/stuff.py b/pipelex/core/stuffs/stuff.pyindex 88659b56a..354ed7235 100644--- a/pipelex/core/stuffs/stuff.py+++ b/pipelex/core/stuffs/stuff.py@@ -28,7 +28,7 @@ class Stuff(CustomBaseModel):stuff_code: strstuff_name: Optional[str] = None- concept_code: str+ concept: Conceptcontent: StuffContentdef make_artefact(self) -> StuffArtefact:@@ -38,9 +38,9 @@ class Stuff(CustomBaseModel):if value is None:returnif key in artefact_dict:- stuff_name = self.stuff_name or f"unnamed using concept code {self.concept_code}"+ stuff_name = self.stuff_name or f"unnamed using concept code {self.concept.code}"raise StuffError(- f"""Cannot create stuff artefact for stuff '{stuff_name}' of concept '{self.concept_code}' because reserved field '{key}'+ f"""Cannot create stuff artefact for stuff '{stuff_name}' of concept '{self.concept.code}' because reserved field '{key}'in the structured output '{self.content.__class__.__name__}' already exists in the stuff content.Forbidden fields are: 'stuff_name', 'content_class', 'concept_code', 'stuff_code', 'content'.""")@@ -48,23 +48,19 @@ Forbidden fields are: 'stuff_name', 'content_class', 'concept_code', 'stuff_codeset_artefact_field("stuff_name", self.stuff_name)set_artefact_field("content_class", self.content.__class__.__name__)- set_artefact_field("concept_code", self.concept_code)+ set_artefact_field("concept_code", self.concept.code)set_artefact_field("stuff_code", self.stuff_code)set_artefact_field("content", self.content)return StuffArtefact(artefact_dict)@classmethod- def make_stuff_name(cls, concept_str: str) -> str:- if Concept.concept_str_contains_domain(concept_str):- return pascal_case_to_snake_case(Concept.extract_concept_name_from_str(concept_str=concept_str))- else:- log.error(f"Generating stuff name for Concept str '{concept_str}' which does not contain a domain")- return pascal_case_to_snake_case(name=concept_str)+ def make_stuff_name(cls, concept: Concept) -> str:+ return pascal_case_to_snake_case(name=concept.code)@propertydef title(self) -> str:- name_from_concept = Stuff.make_stuff_name(concept_str=self.concept_code)- concept_display = Concept.sentence_from_concept_code(concept_code=self.concept_code)+ name_from_concept = Stuff.make_stuff_name(concept=self.concept)+ concept_display = Concept.sentence_from_concept(concept=self.concept)if self.is_list:return f"List of [{concept_display}]"elif self.stuff_name:@@ -78,7 +74,7 @@ Forbidden fields are: 'stuff_name', 'content_class', 'concept_code', 'stuff_code@propertydef short_desc(self) -> str:return f"""{self.stuff_code}:-{self.concept_code} — {type(self.content).__name__}:+{self.concept.code} — {type(self.content).__name__}:{self.content.short_desc}"""@overridediff --git a/pipelex/core/stuffs/stuff_content.py b/pipelex/core/stuffs/stuff_content.pyindex 4e32ebeb2..0449d6c4c 100644--- a/pipelex/core/stuffs/stuff_content.py+++ b/pipelex/core/stuffs/stuff_content.py@@ -12,7 +12,6 @@ from pydantic import BaseModelfrom typing_extensions import Self, overridefrom yattag import Doc-from pipelex.cogt.llm.llm_prompt import LLMPromptfrom pipelex.cogt.ocr.ocr_output import ExtractedImagefrom pipelex.tools.misc.base_64_utils import save_base64_to_binary_filefrom pipelex.tools.misc.file_utils import ensure_directory_exists, get_incremental_file_path, save_text_to_path@@ -399,10 +398,6 @@ class StructuredContent(StuffContent):return convert_to_markdown(data=dict_dump, level=level, is_pretty=is_pretty)-class LLMPromptContent(StructuredContent, LLMPrompt):- pass--class ListContent(StuffContent, Generic[StuffContentType]):items: List[StuffContentType]diff --git a/pipelex/core/stuffs/stuff_factory.py b/pipelex/core/stuffs/stuff_factory.pyindex 4fb383025..4ca2376d1 100644--- a/pipelex/core/stuffs/stuff_factory.py+++ b/pipelex/core/stuffs/stuff_factory.py@@ -1,22 +1,22 @@-from typing import Any, Dict, List, Optional, Tuple, Type, cast+from typing import Any, Dict, List, Optional, Type, castimport shortuuid-from pydantic import BaseModel, ValidationError+from pydantic import BaseModel, ValidationError, field_validatorfrom pipelex.client.protocol import StuffContentOrDatafrom pipelex.core.concepts.concept import Concept-from pipelex.core.concepts.concept_code_factory import ConceptCodeFactory+from pipelex.core.concepts.concept_blueprint import ConceptBlueprintfrom pipelex.core.concepts.concept_factory import ConceptFactory-from pipelex.core.concepts.concept_native import NativeConcept, NativeConceptClass+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnum+from pipelex.core.domains.domain import SpecialDomainfrom pipelex.core.stuffs.stuff import Stufffrom pipelex.core.stuffs.stuff_content import (ListContent,StuffContent,- StuffContentInitableFromStr,TextContent,)-from pipelex.exceptions import ConceptError, PipelexError-from pipelex.hub import get_class_registry, get_concept_provider, get_required_concept+from pipelex.exceptions import PipelexError+from pipelex.hub import get_class_registry, get_concept_providerfrom pipelex.tools.typing.pydantic_utils import format_pydantic_validation_error@@ -26,32 +26,50 @@ class StuffFactoryError(PipelexError):class StuffBlueprint(BaseModel):stuff_name: str- concept_code: str+ concept_string: strcontent: Dict[str, Any] | str+ @field_validator("concept_string")+ def validate_concept_string(cls, concept_string: str) -> str:+ ConceptBlueprint.validate_concept_string(concept_string)+ return concept_string+class StuffFactory:@classmethod- def make_stuff_name(cls, concept_str: str) -> str:- return Stuff.make_stuff_name(concept_str=concept_str)+ def make_stuff_name(cls, concept: Concept) -> str:+ return Stuff.make_stuff_name(concept=concept)++ @classmethod+ def make_from_str(cls, str_value: str, name: str) -> Stuff:+ return cls.make_stuff(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),+ content=TextContent(text=str_value),+ name=name,+ )++ @classmethod+ def make_from_concept_string(cls, concept_string: str, name: str, content: StuffContent) -> Stuff:+ ConceptBlueprint.validate_concept_string(concept_string)+ concept = get_concept_provider().get_required_concept(concept_string=concept_string)+ return cls.make_stuff(+ concept=concept,+ content=content,+ name=name,+ )@classmethoddef make_stuff(cls,- concept_str: str,+ concept: Concept,content: StuffContent,name: Optional[str] = None,code: Optional[str] = None,) -> Stuff:- try:- concept_code = ConceptCodeFactory.make_concept_code_from_str(concept_str=concept_str)- except ConceptError as exc:- stuff_ref = name or code or "unnamed"- raise StuffFactoryError(f"Could not make stuff '{stuff_ref}': Could not make concept from '{concept_str}': {exc}") from excif not name:- name = cls.make_stuff_name(concept_code)+ name = cls.make_stuff_name(concept=concept)return Stuff(- concept_code=concept_code,+ concept=concept,content=content,stuff_name=name,stuff_code=code or shortuuid.uuid()[:5],@@ -66,125 +84,58 @@ class StuffFactory:name: Optional[str] = None,code: Optional[str] = None,) -> Stuff:+ # TODO: Add unit tests for this methodconcept_provider = get_concept_provider()concept = concept_provider.search_for_concept_in_domains(- concept_name=concept_name,+ concept_code=concept_name,search_domains=search_domains,)if not concept:raise StuffFactoryError(f"Could not find a concept named '{concept_name}' in domains {search_domains}")- return cls.make_stuff_using_concept(concept=concept, content=content, name=name, code=code)-- @classmethod- def make_stuff_using_concept(- cls,- concept: Concept,- content: StuffContent,- name: Optional[str] = None,- code: Optional[str] = None,- ) -> Stuff:- if not name:- name = cls.make_stuff_name(concept_str=concept.code)- return Stuff(- concept_code=concept.code,- content=content,- stuff_name=name,- stuff_code=code or shortuuid.uuid()[:5],- )+ return cls.make_stuff(concept=concept, content=content, name=name, code=code)@classmethoddef make_from_blueprint(cls, blueprint: StuffBlueprint) -> "Stuff":- if isinstance(blueprint.content, str) and get_concept_provider().is_compatible_by_concept_code(- tested_concept_code=blueprint.concept_code, wanted_concept_code=NativeConcept.TEXT.code+ concept_library = get_concept_provider()+ if isinstance(blueprint.content, str) and concept_library.is_compatible(+ tested_concept=concept_library.get_required_concept(concept_string=blueprint.concept_string),+ wanted_concept=concept_library.get_native_concept(native_concept=NativeConceptEnum.TEXT),):- the_stuff = cls.make_from_str(- concept_str=NativeConcept.TEXT.code,- str_value=blueprint.content,+ the_stuff = cls.make_stuff(+ concept=concept_library.get_native_concept(native_concept=NativeConceptEnum.TEXT),+ content=TextContent(text=blueprint.content),name=blueprint.stuff_name,)else:- the_stuff_content = StuffContentFactory.make_stuffcontent_from_concept_code_required(- concept_code=blueprint.concept_code, value=blueprint.content+ the_stuff_content = StuffContentFactory.make_stuff_content_from_concept_required(+ concept=concept_library.get_required_concept(concept_string=blueprint.concept_string),+ value=blueprint.content,)the_stuff = cls.make_stuff(- concept_str=blueprint.concept_code,+ concept=concept_library.get_required_concept(concept_string=blueprint.concept_string),content=the_stuff_content,name=blueprint.stuff_name,)return the_stuff- @classmethod- def make_from_blueprint_dict(cls, blueprint: StuffBlueprint) -> "Stuff":- return cls.make_from_blueprint(blueprint=blueprint)-- @classmethod- def make_from_str(- cls,- str_value: str,- name: Optional[str] = None,- concept_str: str = NativeConcept.TEXT.code,- ) -> Stuff:- try:- concept_code = ConceptCodeFactory.make_concept_code_from_str(concept_str=concept_str)- except ConceptError:- stuff_ref = name or "unnamed"- raise StuffFactoryError(f"Concept '{concept_str}' does not contain a domain, could not make stuff '{stuff_ref}'")- the_concept = get_required_concept(concept_code=concept_code)- the_subclass_name = the_concept.structure_class_name- the_subclass = get_class_registry().get_class(name=the_subclass_name) or eval(the_subclass_name)- if not issubclass(the_subclass, StuffContentInitableFromStr):- raise StuffFactoryError(f"Concept '{concept_code}', subclass '{the_subclass}' is not InitableFromStr")- stuff_content: StuffContent = the_subclass.make_from_str(str_value)-- if not name:- name = cls.make_stuff_name(concept_str)-- return Stuff(- concept_code=concept_str,- content=stuff_content,- stuff_name=name,- stuff_code=shortuuid.uuid()[:5],- )-- @classmethod- def make_multiple_text_from_str(cls, str_text_dict: Dict[str, str]) -> List[Stuff]:- """- Make multiple stuffs from a dictionary of strings.- It is implied that each string value should be associated with a native.Text concept.- """- return [cls.make_from_str(concept_str=NativeConcept.TEXT.code, str_value=str_value, name=name) for name, str_value in str_text_dict.items()]-- @classmethod- def make_multiple_stuff_from_str(cls, str_stuff_and_concepts_dict: Dict[str, Tuple[str, str]]) -> List[Stuff]:- """- Make multiple stuffs from a dictionary of strings.- It is implied that each string value should be associated with a native.Text concept.- """- result: List[Stuff] = []- for name, (concept_code, str_value) in str_stuff_and_concepts_dict.items():- stuff = cls.make_from_str(concept_str=concept_code, str_value=str_value, name=name)- result.append(stuff)- return result-@classmethoddef combine_stuffs(cls,- concept_code: str,+ concept: Concept,stuff_contents: Dict[str, StuffContent],name: Optional[str] = None,) -> Stuff:+ # TODO: Add unit tests for this method"""Combine a dictionary of stuffs into a single stuff."""- the_concept = get_required_concept(concept_code=concept_code)- the_subclass_name = the_concept.structure_class_name- the_subclass = get_class_registry().get_required_subclass(name=the_subclass_name, base_class=StuffContent)+ the_subclass = get_class_registry().get_required_subclass(name=concept.structure_class_name, base_class=StuffContent)try:the_stuff_content = the_subclass.model_validate(obj=stuff_contents)except ValidationError as exc:raise StuffFactoryError(f"Error combining stuffs: {format_pydantic_validation_error(exc=exc)}") from excreturn cls.make_stuff(- concept_str=concept_code,+ concept=concept,content=the_stuff_content,name=name,)@@ -195,8 +146,9 @@ class StuffFactory:name: str,stuff_content_or_data: StuffContentOrData,search_domains: List[str],- code: Optional[str] = None,+ stuff_code: Optional[str] = None,) -> Stuff:+ # TODO: Add unit tests for this methodcontent: StuffContentconcept_name: strif isinstance(stuff_content_or_data, ListContent):@@ -210,29 +162,34 @@ class StuffFactory:search_domains=search_domains,content=content,name=name,- code=code,+ code=stuff_code,)except StuffFactoryError as exc:raise StuffFactoryError(f"Could not make stuff for ListContent '{name}': {exc}") from excelif isinstance(stuff_content_or_data, StuffContent):content = stuff_content_or_data- concept_name = type(content).__name__- if concept_name in NativeConceptClass.class_names():- native_concept_class = NativeConceptClass(concept_name)- concept = ConceptFactory.make_native_concept_from_native_concept_class(native_concept_class=native_concept_class)+ concept_class_name = type(content).__name__+ native_concept_class_names = [data.content_class_name for data in NATIVE_CONCEPTS_DATA.values()]++ if concept_class_name in native_concept_class_names:+ concept = get_concept_provider().get_required_concept(+ concept_string=SpecialDomain.NATIVE.value + "." + concept_class_name.split("Content")[0]+ )return cls.make_stuff(- concept_str=concept.code,+ concept=concept,content=content,name=name,- code=code,+ code=stuff_code,)+ # For non-native StuffContent, we need to define concept_name+ concept_name = concept_class_name.split("Content")[0]try:return cls.make_stuff_using_concept_name_and_search_domains(concept_name=concept_name,search_domains=search_domains,content=content,name=name,- code=code,+ code=stuff_code,)except StuffFactoryError as exc:raise StuffFactoryError(f"Could not make stuff for StuffContent '{name}': {exc}") from exc@@ -249,43 +206,56 @@ class StuffFactory:search_domains=search_domains,content=content,name=name,- code=code,+ code=stuff_code,)except StuffFactoryError as exc:raise StuffFactoryError(f"Could not make stuff for list of StuffContent '{name}': {exc}") from excelif isinstance(stuff_content_or_data, str):str_stuff: str = stuff_content_or_data- return StuffFactory.make_from_str(- str_value=str_stuff,+ return StuffFactory.make_stuff(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),+ content=TextContent(text=str_stuff),name=name,)else:stuff_content_dict: Dict[str, Any] = stuff_content_or_datatry:- concept_code: Optional[str]concept_code = stuff_content_dict.get("concept") or stuff_content_dict.get("concept_code")if not concept_code:raise StuffFactoryError("Stuff content data dict is badly formed: no concept code")content_value = stuff_content_dict["content"]+ if ConceptBlueprint.is_native_concept_string_or_concept_code(concept_string_or_concept_code=concept_code):+ concept = ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum(concept_code)])+ content = StuffContentFactory.make_stuff_content_from_concept_with_fallback(+ concept=concept,+ value=content_value,+ )+ return StuffFactory.make_stuff(+ concept=concept,+ name=name,+ content=content,+ code=stuff_code,+ )except KeyError as exc:raise StuffFactoryError(f"Stuff content data dict is badly formed: {exc}") from exc+if isinstance(content_value, StuffContent):return StuffFactory.make_stuff(- concept_str=concept_code,+ concept=get_concept_provider().get_required_concept(concept_string=concept_code),name=name,content=content_value,- code=code,+ code=stuff_code,)else:- content = StuffContentFactory.make_stuffcontent_from_concept_code_with_fallback(- concept_code=concept_code,+ content = StuffContentFactory.make_stuff_content_from_concept_with_fallback(+ concept=get_concept_provider().get_required_concept(concept_string=concept_code),value=content_value,)return StuffFactory.make_stuff(- concept_str=concept_code,+ concept=get_concept_provider().get_required_concept(concept_string=concept_code),name=name,content=content,- code=code,+ code=stuff_code,)@@ -301,28 +271,26 @@ class StuffContentFactory:return stuff_content_subclass.model_validate(obj=value)@classmethod- def make_stuffcontent_from_concept_code_required(cls, concept_code: str, value: Dict[str, Any] | str) -> StuffContent:+ def make_stuff_content_from_concept_required(cls, concept: Concept, value: Dict[str, Any] | str) -> StuffContent:"""Create StuffContent from concept code, requiring the concept to be linked to a class in the registry.Raises StuffContentFactoryError if no registry class is found."""- concept = get_required_concept(concept_code=concept_code)the_subclass_name = concept.structure_class_namethe_subclass = get_class_registry().get_required_subclass(name=the_subclass_name, base_class=StuffContent)return cls.make_content_from_value(stuff_content_subclass=the_subclass, value=value)@classmethod- def make_stuffcontent_from_concept_code_with_fallback(cls, concept_code: str, value: Dict[str, Any] | str) -> StuffContent:+ def make_stuff_content_from_concept_with_fallback(cls, concept: Concept, value: Dict[str, Any] | str) -> StuffContent:"""Create StuffContent from concept code, falling back to TextContent if no registry class is found."""- concept = get_required_concept(concept_code=concept_code)the_structure_class = get_class_registry().get_class(name=concept.structure_class_name)if the_structure_class is None:return cls.make_content_from_value(stuff_content_subclass=TextContent, value=value)if not issubclass(the_structure_class, StuffContent):- raise StuffContentFactoryError(f"Concept '{concept_code}', subclass '{the_structure_class}' is not a subclass of StuffContent")+ raise StuffContentFactoryError(f"Concept '{concept.code}', subclass '{the_structure_class}' is not a subclass of StuffContent")return cls.make_content_from_value(stuff_content_subclass=the_structure_class, value=value)diff --git a/pipelex/create/build_blueprint.py b/pipelex/create/build_blueprint.pyindex 867fe91ce..40c822bdd 100644--- a/pipelex/create/build_blueprint.py+++ b/pipelex/create/build_blueprint.py@@ -5,7 +5,7 @@ from typing import Optionalfrom pipelex import log, pretty_printfrom pipelex.core.interpreter import PipelexInterpreterfrom pipelex.create.helpers import get_support_file-from pipelex.libraries.pipelines.meta.pipeline_draft import PipelexBundleBlueprintStuff+from pipelex.libraries.pipelines.meta.pipeline_draft import PipelexBundleBlueprintfrom pipelex.pipeline.execute import execute_pipelinefrom pipelex.tools.misc.file_utils import save_text_to_pathfrom pipelex.tools.misc.json_utils import save_as_json_to_path@@ -31,7 +31,7 @@ async def do_build_blueprint()pretty_print(pipe_output, title="Pipe Output")- blueprint = pipe_output.main_stuff_as(content_type=PipelexBundleBlueprintStuff)+ blueprint = pipe_output.main_stuff_as(content_type=PipelexBundleBlueprint)pipeline_draft = pipe_output.working_memory.get_stuff_as_str(name="pipeline_draft")# Save or display resultdiff --git a/pipelex/create/structured_output_generator.py b/pipelex/create/structured_output_generator.pyindex 3c4bd0023..2c6479783 100644--- a/pipelex/create/structured_output_generator.py+++ b/pipelex/create/structured_output_generator.py@@ -1,16 +1,18 @@-"""Generate Pydantic BaseModel classes from TOML definitions for structured outputs."""+"""Generate Pydantic BaseModel classes from concept structure blueprints for structured outputs."""from __future__ import annotations-from typing import Any, Dict, List, Optional, Union+import ast+from typing import Any, Dict, List, Type, Union, cast-import tomlkit+from pipelex import log+from pipelex.core.concepts.concept_blueprint import ConceptStructureBlueprint, ConceptStructureBlueprintFieldType-from pipelex.core.concepts.concept_blueprint import ConceptStructureBlueprintFieldType+class StructureGenerator:+ """Generate Pydantic BaseModel classes from concept structure blueprints."""-class StructuredOutputGenerator:- """Generate Pydantic BaseModel classes from TOML structured output definitions."""+ # TODO: The methods that return False for a failed validation should just raise (proper errors).def __init__(self):self.imports = {@@ -21,112 +23,54 @@ class StructuredOutputGenerator:}self.enum_definitions: Dict[str, Dict[str, Any]] = {} # Store enum definitions- def generate_from_toml(self, toml_content: str) -> str:- """Generate Python module content from TOML structure and enum definitions.+ def _format_default_value(self, value: Any) -> str:+ """Format default value for Python code, ensuring strings use double quotes."""+ if isinstance(value, str):+ return f'"{value}"'+ else:+ return repr(value)++ def generate_from_structure_blueprint(self, class_name: str, structure_blueprint: Dict[str, ConceptStructureBlueprint]) -> str:+ """Generate Python module content from structure blueprint.Args:- toml_content: TOML content containing structure and enum definitions+ class_name: Name of the class to generate+ structure_blueprint: Dictionary mapping field names to their ConceptStructureBlueprint definitionsReturns:Generated Python module content"""- data = tomlkit.parse(toml_content)-- # Process enums first (if any)- enums: List[str] = []- if "enum" in data:- enum_defs = data["enum"]- for enum_name, enum_def in enum_defs.items(): # type: ignore[attr-defined,union-attr]- self.enum_definitions[str(enum_name)] = dict(enum_def) # type: ignore[arg-type]- enum_code = self.generate_enum(str(enum_name), dict(enum_def)) # type: ignore[arg-type]- enums.append(enum_code)-- # Process structures- if "structure" not in data:- raise ValueError("TOML must contain a 'structure' section")-- structures = data["structure"]- classes: List[str] = []-- for class_name, structure_def in structures.items(): # type: ignore[attr-defined,union-attr]- class_code = self.generate_class(str(class_name), dict(structure_def)) # type: ignore[arg-type]- classes.append(class_code)+ # Generate the class+ class_code = self._generate_class_from_blueprint(class_name, structure_blueprint)# Generate the complete moduleimports_section = "\n".join(sorted(self.imports))- # Combine enums and classes- all_definitions: List[str] = []- if enums:- all_definitions.extend(enums)- if classes:- all_definitions.extend(classes)+ generated_code = f"{imports_section}\n\n\n{class_code}\n"- definitions_section = "\n\n\n".join(all_definitions)+ # Validate the generated code+ if not self.validate_generated_code(generated_code, class_name):+ raise ValueError(f"Generated code for class '{class_name}' failed validation")- return f"{imports_section}\n\n\n{definitions_section}\n"+ return generated_code- def generate_enum(self, enum_name: str, enum_def: Dict[str, Any]) -> str:- """Generate an enum class definition.-- Args:- enum_name: Name of the enum- enum_def: Enum definition from TOML-- Returns:- Generated enum class code- """- definition = enum_def.get("definition", f"Generated {enum_name} enum")- values: List[str] | Dict[str, str] = enum_def.get("values", [])-- # Generate enum header- enum_header = f'class {enum_name}(str, Enum):\n """{definition}"""\n'-- # Generate enum values- value_definitions: List[str] = []-- if isinstance(values, list):- # Simple list of values- for value in values:- # Convert to uppercase for enum member name- value_str = str(value)- member_name = value_str.upper().replace(" ", "_").replace("-", "_")- value_definitions.append(f' {member_name} = "{value_str}"')- else:- # Key-value pairs with descriptions- for key, description in values.items():- key_str = str(key)- desc_str = str(description)- member_name = key_str.upper().replace(" ", "_").replace("-", "_")- value_definitions.append(f' {member_name} = "{key_str}" # {desc_str}')-- if not value_definitions:- # Empty enum with just pass- return enum_header + "\n pass"-- values_code = "\n".join(value_definitions)- return enum_header + "\n" + values_code-- def generate_class(self, class_name: str, structure_def: Dict[str, Any]) -> str:- """Generate a single class definition.+ def _generate_class_from_blueprint(self, class_name: str, structure_blueprint: Dict[str, ConceptStructureBlueprint]) -> str:+ """Generate a class definition from ConceptStructureBlueprint.Args:class_name: Name of the class- structure_def: Structure definition from TOML+ structure_blueprint: Dictionary mapping field names to their ConceptStructureBlueprint definitionsReturns:Generated class code"""- definition = structure_def.get("definition", f"Generated {class_name} class")- fields = structure_def.get("fields", {})-# Generate class header- class_header = f'class {class_name}(StructuredContent):\n """{definition}"""\n'+ class_header = f'class {class_name}(StructuredContent):\n """Generated {class_name} class"""\n'# Generate fieldsfield_definitions: List[str] = []- for field_name, field_def in fields.items():- field_code = self._generate_field(str(field_name), field_def) # type: ignore[arg-type]+ for field_name, field_blueprint in structure_blueprint.items():+ field_code = self._generate_field_from_blueprint(field_name, field_blueprint)field_definitions.append(field_code)if not field_definitions:@@ -136,6 +80,102 @@ class StructuredOutputGenerator:fields_code = "\n".join(field_definitions)return class_header + "\n" + fields_code+ def _generate_field_from_blueprint(self, field_name: str, field_blueprint: ConceptStructureBlueprint) -> str:+ """Generate a field definition from ConceptStructureBlueprint.++ Args:+ field_name: Name of the field+ field_blueprint: ConceptStructureBlueprint instance++ Returns:+ Generated field code+ """+ # Determine Python type+ if field_blueprint.choices:+ # Inline choices - use Literal type+ python_type = f"Literal[{', '.join(repr(c) for c in field_blueprint.choices)}]"+ else:+ # Handle complex types+ python_type = self._get_python_type_from_blueprint(field_blueprint)++ # Make optional if not required+ if not field_blueprint.required:+ python_type = f"Optional[{python_type}]"++ # Generate Field parameters+ field_params = [f'description="{field_blueprint.definition}"']++ if field_blueprint.required:+ if field_blueprint.default_value is not None:+ field_params.insert(0, f"default={self._format_default_value(field_blueprint.default_value)}")+ else:+ field_params.insert(0, "...")+ else:+ if field_blueprint.default_value is not None:+ field_params.insert(0, f"default={self._format_default_value(field_blueprint.default_value)}")+ else:+ field_params.insert(0, "default=None")++ field_call = f"Field({', '.join(field_params)})"++ return f" {field_name}: {python_type} = {field_call}"++ def _get_python_type_from_blueprint(self, field_blueprint: ConceptStructureBlueprint) -> str:+ """Convert ConceptStructureBlueprint to Python type annotation.++ Args:+ field_blueprint: ConceptStructureBlueprint instance++ Returns:+ Python type annotation string+ """+ if field_blueprint.type is None:+ # This should not happen based on validation, but handle gracefully+ return "str"++ # Use match/case for type handling+ match field_blueprint.type:+ case ConceptStructureBlueprintFieldType.TEXT:+ return "str"+ case ConceptStructureBlueprintFieldType.NUMBER:+ return "float"+ case ConceptStructureBlueprintFieldType.INTEGER:+ return "int"+ case ConceptStructureBlueprintFieldType.BOOLEAN:+ return "bool"+ case ConceptStructureBlueprintFieldType.DATE:+ self.imports.add("from datetime import datetime")+ return "datetime"+ case ConceptStructureBlueprintFieldType.LIST:+ item_type = field_blueprint.item_type or "Any"+ # Recursively handle item types if they're FieldType enums+ try:+ item_type_enum = ConceptStructureBlueprintFieldType(item_type)+ # Create a temporary blueprint for the item type+ temp_blueprint = ConceptStructureBlueprint(definition="temp", type=item_type_enum)+ item_type = self._get_python_type_from_blueprint(temp_blueprint)+ except ValueError:+ # Keep as string if not a known FieldType+ pass+ return f"List[{item_type}]"+ case ConceptStructureBlueprintFieldType.DICT:+ key_type = field_blueprint.key_type or "str"+ value_type = field_blueprint.value_type or "Any"+ # Recursively handle key and value types+ try:+ key_type_enum = ConceptStructureBlueprintFieldType(key_type)+ temp_blueprint = ConceptStructureBlueprint(definition="temp", type=key_type_enum)+ key_type = self._get_python_type_from_blueprint(temp_blueprint)+ except ValueError:+ pass+ try:+ value_type_enum = ConceptStructureBlueprintFieldType(value_type)+ temp_blueprint = ConceptStructureBlueprint(definition="temp", type=value_type_enum)+ value_type = self._get_python_type_from_blueprint(temp_blueprint)+ except ValueError:+ pass+ return f"Dict[{key_type}, {value_type}]"+def _generate_field(self, field_name: str, field_def: Union[Dict[str, Any], str]) -> str:"""Generate a single field definition.@@ -173,12 +213,12 @@ class StructuredOutputGenerator:if required:if default_value is not None:- field_params.insert(0, f"default={repr(default_value)}")+ field_params.insert(0, f"default={self._format_default_value(default_value)}")else:field_params.insert(0, "...")else:if default_value is not None:- field_params.insert(0, f"default={repr(default_value)}")+ field_params.insert(0, f"default={self._format_default_value(default_value)}")else:field_params.insert(0, "default=None")@@ -219,6 +259,9 @@ class StructuredOutputGenerator:return "int"case ConceptStructureBlueprintFieldType.BOOLEAN:return "bool"+ case ConceptStructureBlueprintFieldType.DATE:+ self.imports.add("from datetime import datetime")+ return "datetime"case ConceptStructureBlueprintFieldType.LIST:item_type = field_def.get("item_type", "Any")# Check if item_type is an enum reference@@ -254,73 +297,155 @@ class StructuredOutputGenerator:# Unknown FieldType, assume it's a custom typereturn str(field_type)+ def validate_generated_code(self, python_code: str, expected_class_name: str) -> bool:+ """Validate that the generated Python code is syntactically correct and executable.-def generate_structured_outputs_from_toml_file(toml_file_path: str, output_file_path: str) -> None:- """Generate structured output Python module from TOML file.-- Args:- toml_file_path: Path to input TOML file containing structure definitions- output_file_path: Path to output Python file- """- with open(toml_file_path, "r", encoding="utf-8") as f:- toml_content = f.read()-- generator = StructuredOutputGenerator()- python_code = generator.generate_from_toml(toml_content)-- with open(output_file_path, "w", encoding="utf-8") as f:- f.write(python_code)---def generate_structured_outputs_from_toml_string(toml_content: str) -> str:- """Generate structured output Python code from TOML string.-- Args:- toml_content: TOML content as string containing structure definitions-- Returns:- Generated Python module content- """- generator = StructuredOutputGenerator()- return generator.generate_from_toml(toml_content)---def generate_structured_output_from_inline_definition(- class_name: str, fields_def: Dict[str, Any], enums: Optional[Dict[str, Dict[str, Any]]] = None-) -> str:- """Generate structured output Python code from inline field definitions.-- Args:- class_name: Name of the class to generate- fields_def: Dictionary of field definitions (same format as TOML structure.fields)- enums: Optional dictionary of enum definitions to include-- Returns:- Generated Python module content- """- generator = StructuredOutputGenerator()-- # Add any provided enums- if enums:- for enum_name, enum_def in enums.items():- generator.enum_definitions[enum_name] = enum_def-- # Create a structure definition from the inline fields- structure_def = {"definition": f"Generated {class_name} structure", "fields": fields_def}-- # Generate the class- class_code = generator.generate_class(class_name, structure_def)-- # Generate enums if any- enum_codes: List[str] = []- if enums:- for enum_name, enum_def in enums.items():- enum_code = generator.generate_enum(enum_name, enum_def)- enum_codes.append(enum_code)-- # Combine everything- imports_section = "\n".join(sorted(generator.imports))- all_definitions: List[str] = enum_codes + [class_code] if enum_codes else [class_code]- definitions_section = "\n\n\n".join(all_definitions)+ Args:+ python_code: The generated Python code to validate+ expected_class_name: The name of the class that should be created- return f"{imports_section}\n\n\n{definitions_section}\n"+ Returns:+ True if the code is valid, False otherwise+ """+ # Step 1: Syntax validation+ if not self._validate_syntax(python_code):+ return False++ # Step 2: Compilation validation+ if not self._validate_compilation(python_code):+ return False++ # Step 3: Execution and class creation validation+ if not self._validate_execution(python_code, expected_class_name):+ return False++ # Step 4: Class instantiation validation+ if not self._validate_instantiation(python_code, expected_class_name):+ return False++ return True++ def _validate_syntax(self, python_code: str) -> bool:+ """Validate that the code has valid Python syntax."""+ try:+ ast.parse(python_code)+ return True+ except SyntaxError as e:+ log.error(f"Syntax error in generated code: {e}")+ return False++ def _validate_compilation(self, python_code: str) -> bool:+ """Validate that the code can be compiled."""+ try:+ compile(python_code, "<generated>", "exec")+ return True+ except Exception as e:+ log.error(f"Compilation error in generated code: {e}")+ return False++ def _validate_execution(self, python_code: str, expected_class_name: str) -> bool:+ """Validate that the code executes and creates the expected class."""+ try:+ # Import necessary modules for the execution context+ from datetime import datetime+ from enum import Enum+ from typing import Any, Dict, List, Literal, Optional++ from pydantic import Field++ from pipelex.core.stuffs.stuff_content import StructuredContent++ # Provide necessary imports in the execution context+ exec_globals = {+ "__builtins__": __builtins__,+ "datetime": datetime,+ "Enum": Enum,+ "Optional": Optional,+ "List": List,+ "Dict": Dict,+ "Any": Any,+ "Literal": Literal,+ "Field": Field,+ "StructuredContent": StructuredContent,+ }+ exec_locals: Dict[str, Any] = {}+ exec(python_code, exec_globals, exec_locals)++ # Verify the expected class was created+ if expected_class_name not in exec_locals:+ log.error(f"Expected class '{expected_class_name}' not found in generated code")+ return False++ # Verify it's actually a class+ if not isinstance(exec_locals[expected_class_name], type):+ log.error(f"'{expected_class_name}' is not a class")+ return False++ return True++ except ImportError as e:+ log.error(f"Import error in generated code: {e}")+ return False+ except Exception as e:+ log.error(f"Execution error in generated code: {e}")+ return False++ def _validate_instantiation(self, python_code: str, expected_class_name: str) -> bool:+ """Validate that the generated class can be instantiated."""+ try:+ # Import necessary modules for the execution context+ from datetime import datetime+ from enum import Enum+ from typing import Any, Dict, List, Literal, Optional++ from pydantic import Field++ from pipelex.core.stuffs.stuff_content import StructuredContent++ # Provide necessary imports in the execution context+ exec_globals = {+ "__builtins__": __builtins__,+ "datetime": datetime,+ "Enum": Enum,+ "Optional": Optional,+ "List": List,+ "Dict": Dict,+ "Any": Any,+ "Literal": Literal,+ "Field": Field,+ "StructuredContent": StructuredContent,+ }+ exec_locals: Dict[str, Any] = {}+ exec(python_code, exec_globals, exec_locals)++ generated_class = cast(Type[Any], exec_locals[expected_class_name])++ # Try to create an instance (this will catch Pydantic validation issues)+ # For validation purposes, we'll try to create an instance with minimal valid data+ instance: Any = None+ try:+ # First try with no arguments (works for classes with all optional fields)+ instance = generated_class()+ except Exception:+ # If that fails, try with empty dict (some models accept this)+ try:+ instance = generated_class(**{})+ except Exception:+ # If that fails too, the class structure is probably fine but requires specific data+ # For validation purposes, we'll just check that it's a valid Pydantic model class+ if not hasattr(generated_class, "model_fields"):+ log.error("Generated class doesn't appear to be a Pydantic model")+ return False+ # Class structure is valid, just requires specific data to instantiate+ return True++ # Verify it's a Pydantic model with the expected structure+ if instance is not None and not hasattr(instance, "model_fields"):+ log.error("Generated class doesn't appear to be a Pydantic model")+ return False++ return True++ except Exception as e:+ log.error(f"Instantiation error in generated code: {e}")+ return Falsediff --git a/pipelex/exceptions.py b/pipelex/exceptions.pyindex 9c9da0009..320aa600f 100644--- a/pipelex/exceptions.py+++ b/pipelex/exceptions.py@@ -4,6 +4,7 @@ from click import ClickExceptionfrom typing_extensions import overridefrom pipelex.tools.exceptions import RootException+from pipelex.tools.misc.context_provider_abstract import ContextProviderExceptionfrom pipelex.types import StrEnum@@ -22,7 +23,7 @@ class StaticValidationError(Exception):def __init__(self,error_type: StaticValidationErrorType,- domain_code: str,+ domain: str,pipe_code: Optional[str] = None,variable_names: Optional[List[str]] = None,required_concept_codes: Optional[List[str]] = None,@@ -31,7 +32,7 @@ class StaticValidationError(Exception):explanation: Optional[str] = None,):self.error_type = error_type- self.domain_code = domain_code+ self.domain = domainself.pipe_code = pipe_codeself.variable_names = variable_namesself.required_concept_codes = required_concept_codes@@ -41,7 +42,7 @@ class StaticValidationError(Exception):super().__init__()def desc(self) -> str:- msg = f"{self.error_type} • domain='{self.domain_code}'"+ msg = f"{self.error_type} • domain='{self.domain}'"if self.pipe_code:msg += f" • pipe='{self.pipe_code}'"if self.variable_names:@@ -73,10 +74,8 @@ class WorkingMemoryConsistencyError(WorkingMemoryError):pass-class WorkingMemoryVariableError(WorkingMemoryError):- def __init__(self, variable_name: str, message: str, *args: object, **kwargs: object) -> None:- self.variable_name = variable_name- super().__init__(message, *args, **kwargs)+class WorkingMemoryVariableError(WorkingMemoryError, ContextProviderException):+ passclass WorkingMemoryTypeError(WorkingMemoryVariableError):@@ -254,10 +253,6 @@ class ConceptCodeError(ConceptError):pass-class ConceptDomainError(ConceptError):- pass--class PipelineManagerNotFoundError(PipelexError):passdiff --git a/pipelex/hub.py b/pipelex/hub.pyindex 55e36ac81..11adbcd5b 100644--- a/pipelex/hub.py+++ b/pipelex/hub.py@@ -1,4 +1,4 @@-from typing import ClassVar, List, Optional, Type+from typing import ClassVar, Optional, Typefrom kajson.class_registry_abstract import ClassRegistryAbstract@@ -390,20 +390,13 @@ def get_secret(secret_id: str) -> str:return get_secrets_provider().get_secret(secret_id=secret_id)-def get_domains(excluded_domains: Optional[List[str]] = None) -> List[Domain]:- domains = get_pipelex_hub().get_required_domain_provider().get_domains()- if excluded_domains:- domains = [domain for domain in domains if domain.code not in excluded_domains]- return domains+def get_required_domain(domain: str) -> Domain:+ return get_pipelex_hub().get_required_domain_provider().get_required_domain(domain=domain)-def get_required_domain(domain_code: str) -> Domain:- return get_pipelex_hub().get_required_domain_provider().get_required_domain(domain_code=domain_code)---def get_optional_domain(domain_code: str) -> Optional[Domain]:+def get_optional_domain(domain: str) -> Optional[Domain]:if domain_provider := get_pipelex_hub().get_optional_domain_provider():- return domain_provider.get_domain(domain_code=domain_code)+ return domain_provider.get_domain(domain=domain)else:return None@@ -428,8 +421,8 @@ def get_optional_concept_provider() -> Optional[ConceptProviderAbstract]:return get_pipelex_hub().get_optional_concept_provider()-def get_required_concept(concept_code: str) -> Concept:- return get_pipelex_hub().get_required_concept_provider().get_required_concept(concept_code=concept_code)+def get_required_concept(concept_string: str) -> Concept:+ return get_pipelex_hub().get_required_concept_provider().get_required_concept(concept_string=concept_string)def get_pipe_router() -> PipeRouterProtocol:diff --git a/pipelex/libraries/library_manager.py b/pipelex/libraries/library_manager.pyindex a72e32048..de9b400df 100644--- a/pipelex/libraries/library_manager.py+++ b/pipelex/libraries/library_manager.py@@ -7,13 +7,18 @@ from typing_extensions import overridefrom pipelex import logfrom pipelex.cogt.llm.llm_models.llm_deck import LLMDeckfrom pipelex.config import get_config-from pipelex.core.bundles.pipelex_bundle import PipelexBundle-from pipelex.core.bundles.pipelex_bundle_factory import PipelexBundleFactory+from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint+from pipelex.core.concepts.concept import Concept+from pipelex.core.concepts.concept_blueprint import ConceptBlueprintfrom pipelex.core.concepts.concept_factory import ConceptFactoryfrom pipelex.core.concepts.concept_library import ConceptLibrary+from pipelex.core.domains.domain import Domain+from pipelex.core.domains.domain_blueprint import DomainBlueprint+from pipelex.core.domains.domain_factory import DomainFactoryfrom pipelex.core.domains.domain_library import DomainLibraryfrom pipelex.core.interpreter import PipelexInterpreterfrom pipelex.core.pipes.pipe_abstract import PipeAbstract+from pipelex.core.pipes.pipe_factory import PipeFactoryfrom pipelex.core.pipes.pipe_library import PipeLibraryfrom pipelex.exceptions import (ConceptLibraryError,@@ -108,8 +113,7 @@ class LibraryManager(LibraryManagerAbstract):@overridedef setup(self) -> None:- native_concepts = ConceptFactory.list_native_concepts()- self.concept_library.add_concepts(concepts=native_concepts)+ self.concept_library.setup()@overridedef teardown(self) -> None:@@ -156,20 +160,72 @@ class LibraryManager(LibraryManagerAbstract):@overridedef load_from_file(self, toml_path: Path) -> None:+ """Load a single file - this method is kept for compatibility."""if not PipelexInterpreter.is_pipelex_file(toml_path):raise LibraryError(f"File is not a valid Pipelex TOML file: {toml_path}")- converter = PipelexInterpreter(file_path=toml_path)- blueprint = converter.make_pipelex_bundle_blueprint()- pipelex_bundle = PipelexBundleFactory.make_from_blueprint(blueprint=blueprint)- self.load_from_pipelex_bundle(pipelex_bundle=pipelex_bundle)+ blueprint = PipelexInterpreter(file_path=toml_path).make_pipelex_bundle_blueprint()+ self.load_from_blueprint(blueprint)@override- def load_from_pipelex_bundle(self, pipelex_bundle: PipelexBundle) -> List[PipeAbstract]:- self.domain_library.add_domain(domain=pipelex_bundle.domain)- self.concept_library.add_concepts(concepts=list(pipelex_bundle.concepts.values()))- self.pipe_library.add_pipes(pipes=list(pipelex_bundle.pipes.values()))- return list(pipelex_bundle.pipes.values())+ def load_from_blueprint(self, blueprint: PipelexBundleBlueprint) -> List[PipeAbstract]:+ """Load a blueprint."""+ # Create and load domain+ domain = self._load_domain_from_blueprint(blueprint)+ self.domain_library.add_domain(domain=domain)++ # Create and load concepts+ concepts = self._load_concepts_from_blueprint(blueprint)+ self.concept_library.add_concepts(concepts=concepts)++ # Create and load pipes+ pipes = self._load_pipes_from_blueprint(blueprint)+ self.pipe_library.add_pipes(pipes=pipes)++ return pipes++ def _load_domain_from_blueprint(self, blueprint: PipelexBundleBlueprint) -> Domain:+ """Create a Domain from blueprint."""+ return DomainFactory.make_from_blueprint(+ blueprint=DomainBlueprint(+ code=blueprint.domain,+ definition=blueprint.definition,+ system_prompt=blueprint.system_prompt,+ system_prompt_to_structure=blueprint.system_prompt_to_structure,+ prompt_template_to_structure=blueprint.prompt_template_to_structure,+ )+ )++ def _load_concepts_from_blueprint(self, blueprint: PipelexBundleBlueprint) -> List[Concept]:+ """Create Concepts from blueprint."""+ concepts: List[Concept] = []++ if blueprint.concept is not None:+ for concept_code, concept_blueprint_or_str in blueprint.concept.items():+ concept = ConceptFactory.make_from_blueprint(+ domain=blueprint.domain,+ concept_code=concept_code,+ concept_codes_from_the_same_domain=list(blueprint.concept.keys()),+ blueprint=ConceptBlueprint(definition=concept_blueprint_or_str)+ if isinstance(concept_blueprint_or_str, str)+ else concept_blueprint_or_str,+ )+ concepts.append(concept)+ return concepts++ def _load_pipes_from_blueprint(self, blueprint: PipelexBundleBlueprint) -> List[PipeAbstract]:+ """Create Pipes from blueprint."""+ pipes: List[PipeAbstract] = []+ if blueprint.pipe is not None:+ for pipe_name, pipe_blueprint in blueprint.pipe.items():+ pipe = PipeFactory.make_from_blueprint(+ domain=blueprint.domain,+ pipe_code=pipe_name,+ blueprint=pipe_blueprint,+ concept_codes_from_the_same_domain=list(blueprint.concept.keys()) if blueprint.concept else None,+ )+ pipes.append(pipe)+ return pipes@overridedef load_libraries(self, library_dirs: Optional[List[Path]] = None, library_file_paths: Optional[List[Path]] = None) -> None:@@ -191,8 +247,33 @@ class LibraryManager(LibraryManagerAbstract):if library_file_paths is not None:all_toml_paths = library_file_paths+ # Parse all blueprints first+ blueprints: List[PipelexBundleBlueprint] = []for toml_file_path in all_toml_paths:- self.load_from_file(toml_path=toml_file_path)+ blueprint = PipelexInterpreter(file_path=toml_file_path).make_pipelex_bundle_blueprint()+ blueprints.append(blueprint)++ # Load all domains first+ all_domains: List[Domain] = []+ for blueprint in blueprints:+ domain = self._load_domain_from_blueprint(blueprint)+ all_domains.append(domain)+ for domain in all_domains:+ self.domain_library.add_domain(domain=domain)++ # Load all concepts second+ all_concepts: List[Concept] = []+ for blueprint in blueprints:+ concepts = self._load_concepts_from_blueprint(blueprint)+ all_concepts.extend(concepts)+ self.concept_library.add_concepts(concepts=all_concepts)++ # Load all pipes third+ all_pipes: List[PipeAbstract] = []+ for blueprint in blueprints:+ pipes = self._load_pipes_from_blueprint(blueprint)+ all_pipes.extend(pipes)+ self.pipe_library.add_pipes(pipes=all_pipes)# TODO: move to LLMDeckManagerdef load_deck(self) -> LLMDeck:diff --git a/pipelex/libraries/library_manager_abstract.py b/pipelex/libraries/library_manager_abstract.pyindex de1ec0afa..b04f195e7 100644--- a/pipelex/libraries/library_manager_abstract.py+++ b/pipelex/libraries/library_manager_abstract.py@@ -2,7 +2,7 @@ from abc import ABC, abstractmethodfrom pathlib import Pathfrom typing import List, Optional-from pipelex.core.bundles.pipelex_bundle import PipelexBundle+from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprintfrom pipelex.core.pipes.pipe_abstract import PipeAbstract@@ -32,5 +32,5 @@ class LibraryManagerAbstract(ABC):pass@abstractmethod- def load_from_pipelex_bundle(self, pipelex_bundle: PipelexBundle) -> List[PipeAbstract]:+ def load_from_blueprint(self, blueprint: PipelexBundleBlueprint) -> List[PipeAbstract]:passdiff --git a/pipelex/libraries/pipelines/images.toml b/pipelex/libraries/pipelines/images.tomlindex b46d0869a..55d5ea470 100644--- a/pipelex/libraries/pipelines/images.toml+++ b/pipelex/libraries/pipelines/images.toml@@ -25,6 +25,7 @@ inputs = { image = "Image" }output = "VisualDescription"system_prompt = "You are a very good observer."llm = "llm_to_describe_img"+structuring_method = "preliminary_text"prompt_template = """Describe the provided image in great detail."""diff --git a/pipelex/libraries/pipelines/meta/meta_pipeline.toml b/pipelex/libraries/pipelines/meta/meta_pipeline.tomlindex cbeb7ad44..791c63900 100644--- a/pipelex/libraries/pipelines/meta/meta_pipeline.toml+++ b/pipelex/libraries/pipelines/meta/meta_pipeline.toml@@ -10,7 +10,7 @@ PipeBlueprint = "Details enabling to create a pipe"[concept.PipelexBundleBlueprint]definition = "Details enabling to create a pipeline"-structure = "PipelexBundleBlueprintStuff"+structure = "PipelexBundleBlueprint"[pipe][pipe.build_blueprint]@@ -51,7 +51,6 @@ definition = "Generate a pipeline blueprint from natural language requirements"inputs = { build_pipeline_rules = "Text", pipeline_draft = "Text", pipeline_name = "Text", domain = "Text", requirements = "Text" }output = "PipelexBundleBlueprint"llm = "llm_to_pipelex"-# structuring_method = "preliminary_text"prompt_template = """You are a Pipelex pipeline architect. Build a structured pipeline blueprint from the provided pipeline draft text.diff --git a/pipelex/libraries/pipelines/meta/pipeline_draft.py b/pipelex/libraries/pipelines/meta/pipeline_draft.pyindex c756a9d6b..162c08bd5 100644--- a/pipelex/libraries/pipelines/meta/pipeline_draft.py+++ b/pipelex/libraries/pipelines/meta/pipeline_draft.py@@ -2,7 +2,7 @@ from typing import Dictfrom pydantic import Field-from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint+from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint as PipelexBundleBlueprintBaseModelfrom pipelex.core.stuffs.stuff_content import StructuredContent@@ -28,7 +28,7 @@ class PipelineDraft(StructuredContent):pipe: Dict[str, PipeDraft] = Field(default_factory=dict)-class PipelexBundleBlueprintStuff(PipelexBundleBlueprint, StructuredContent):+class PipelexBundleBlueprint(PipelexBundleBlueprintBaseModel, StructuredContent):"""Complete blueprint of a pipelex bundle TOML file."""passdiff --git a/pipelex/pipe_controllers/pipe_batch.py b/pipelex/pipe_controllers/batch/pipe_batch.pysimilarity index 97%rename from pipelex/pipe_controllers/pipe_batch.pyrename to pipelex/pipe_controllers/batch/pipe_batch.pyindex f7116e03f..015bc1b0f 100644--- a/pipelex/pipe_controllers/pipe_batch.py+++ b/pipelex/pipe_controllers/batch/pipe_batch.py@@ -34,6 +34,10 @@ class PipeBatch(PipeController):def pipe_dependencies(self) -> Set[str]:return set([self.branch_pipe_code])+ @override+ def validate_output(self):+ pass+@model_validator(mode="after")def validate_required_variables(self) -> Self:# Skip for now@@ -78,7 +82,7 @@ class PipeBatch(PipeController):batch_params = pipe_run_params.batch_params or self.batch_params or BatchParams.make_default()input_item_stuff_name = batch_params.input_item_stuff_nametry:- input_item_concept_code = self.inputs.get_required_concept_code(input_item_stuff_name)+ input_item_concept_code = self.inputs.get_required_input_requirement(input_item_stuff_name)except PipeInputNotFoundError as exc:raise PipeInputError(f"Batch input item stuff named '{input_item_stuff_name}' is not in this PipeBatch '{self.code}' input spec: {self.inputs}"@@ -122,7 +126,7 @@ class PipeBatch(PipeController):branch_input_item_code = f"{input_stuff_code}-branch-{branch_index}"item_input_stuff = StuffFactory.make_stuff(code=branch_input_item_code,- concept_str=input_item_concept_code,+ concept=input_item_concept_code.concept,content=item,name=input_item_stuff_name,)@@ -166,7 +170,7 @@ class PipeBatch(PipeController):list_content: ListContent[StuffContent] = ListContent(items=output_items)output_stuff = StuffFactory.make_stuff(code=output_stuff_code,- concept_str=self.output_concept_code,+ concept=self.output,content=list_content,name=output_name,)diff --git a/pipelex/pipe_controllers/batch/pipe_batch_blueprint.py b/pipelex/pipe_controllers/batch/pipe_batch_blueprint.pynew file mode 100644index 000000000..2abf365cf--- /dev/null+++ b/pipelex/pipe_controllers/batch/pipe_batch_blueprint.py@@ -0,0 +1,11 @@+from typing import Literal, Optional++from pipelex.core.pipes.pipe_blueprint import PipeBlueprint+++class PipeBatchBlueprint(PipeBlueprint):+ type: Literal["PipeBatch"] = "PipeBatch"+ branch_pipe_code: str++ input_list_name: Optional[str] = None+ input_item_name: Optional[str] = Nonediff --git a/pipelex/pipe_controllers/batch/pipe_batch_factory.py b/pipelex/pipe_controllers/batch/pipe_batch_factory.pynew file mode 100644index 000000000..91977a2c2--- /dev/null+++ b/pipelex/pipe_controllers/batch/pipe_batch_factory.py@@ -0,0 +1,46 @@+from typing import List, Optional++from typing_extensions import override++from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactory+from pipelex.core.pipes.pipe_run_params import BatchParams+from pipelex.hub import get_concept_provider+from pipelex.pipe_controllers.batch.pipe_batch import PipeBatch+from pipelex.pipe_controllers.batch.pipe_batch_blueprint import PipeBatchBlueprint+++class PipeBatchFactory(PipeFactoryProtocol[PipeBatchBlueprint, PipeBatch]):+ @classmethod+ @override+ def make_from_blueprint(+ cls,+ domain: str,+ pipe_code: str,+ blueprint: PipeBatchBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,+ ) -> PipeBatch:+ output_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=blueprint.output_concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ return PipeBatch(+ domain=domain,+ code=pipe_code,+ definition=blueprint.definition,+ inputs=PipeInputSpecFactory.make_from_blueprint(+ domain=domain, blueprint=blueprint.inputs or {}, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain+ ),+ output=get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=output_domain_and_code.domain, concept_code=output_domain_and_code.concept_code+ )+ ),+ branch_pipe_code=blueprint.branch_pipe_code,+ batch_params=BatchParams.make_optional_batch_params(+ input_list_name=blueprint.input_list_name or False,+ input_item_name=blueprint.input_item_name,+ ),+ )diff --git a/pipelex/pipe_controllers/pipe_condition.py b/pipelex/pipe_controllers/condition/pipe_condition.pysimilarity index 75%rename from pipelex/pipe_controllers/pipe_condition.pyrename to pipelex/pipe_controllers/condition/pipe_condition.pyindex f0252a0ca..f7d5652ad 100644--- a/pipelex/pipe_controllers/pipe_condition.py+++ b/pipelex/pipe_controllers/condition/pipe_condition.py@@ -1,13 +1,17 @@-from typing import Dict, List, Optional, Set, cast+from typing import Dict, List, Optional, Set, Union, castimport shortuuid-from pydantic import model_validator+from pydantic import field_validator, model_validatorfrom typing_extensions import Self, overridefrom pipelex import logfrom pipelex.config import StaticValidationReaction, get_config+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnumfrom pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.pipes.pipe_input_spec import PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunParamsfrom pipelex.exceptions import (@@ -21,10 +25,11 @@ from pipelex.exceptions import (WorkingMemoryStuffNotFoundError,)from pipelex.hub import get_pipe_router, get_pipeline_tracker, get_required_pipe-from pipelex.pipe_controllers.pipe_condition_details import PipeConditionDetails+from pipelex.pipe_controllers.condition.pipe_condition_details import PipeConditionDetails, PipeConditionPipeMapfrom pipelex.pipe_controllers.pipe_controller import PipeController-from pipelex.pipe_operators.pipe_jinja2 import PipeJinja2, PipeJinja2Output-from pipelex.pipe_operators.pipe_jinja2_factory import PipeJinja2Factory+from pipelex.pipe_operators.jinja2.pipe_jinja2 import PipeJinja2Output+from pipelex.pipe_operators.jinja2.pipe_jinja2_blueprint import PipeJinja2Blueprint+from pipelex.pipe_operators.jinja2.pipe_jinja2_factory import PipeJinja2Factoryfrom pipelex.pipeline.job_metadata import JobCategory, JobMetadatafrom pipelex.tools.typing.validation_utils import has_exactly_one_among_attributes_from_list@@ -32,13 +37,50 @@ from pipelex.tools.typing.validation_utils import has_exactly_one_among_attributclass PipeCondition(PipeController):expression_template: Optional[str] = Noneexpression: Optional[str] = None- pipe_map: Dict[str, str]+ # TODO: rething this pipe_map.+ pipe_map: List[PipeConditionPipeMap]default_pipe_code: Optional[str] = Noneadd_alias_from_expression_to: Optional[str] = None########################################################################################## Validation#########################################################################################+ @override+ def validate_output(self):+ """+ Validate the output for the pipe condition.+ The output of the pipe condition should match the output of all the conditional pipes, and the default pipe.+ """+ for pipe_condition_pipe_map in self.pipe_map:+ pipe = get_required_pipe(pipe_code=pipe_condition_pipe_map.pipe_code)+ if self.output.concept_string != pipe.output.concept_string:+ raise PipeConditionError(+ f"The output concept code '{self.output.concept_string}' of the pipe '{self.code}' is "+ f"not matching the output concept code '{pipe.output.concept_string}' of the pipe '{pipe_condition_pipe_map.pipe_code}'"+ )+ if self.default_pipe_code:+ default_pipe = get_required_pipe(pipe_code=self.default_pipe_code)+ if self.output.concept_string != default_pipe.output.concept_string:+ raise PipeConditionError(+ f"The output concept code '{self.output.concept_string}' of the pipe '{self.code}' is "+ f"not matching the output concept code '{default_pipe.output.concept_string}' of the default pipe '{self.default_pipe_code}'"+ )++ @field_validator("pipe_map")+ @classmethod+ def validate_pipe_map(cls, pipe_map: List[PipeConditionPipeMap]) -> List[PipeConditionPipeMap]:+ # Validate that the expressions and pipe_code are UNIQUE+ expression_results = [pipe_condition_pipe_map.expression_result for pipe_condition_pipe_map in pipe_map]+ pipe_codes = [pipe_condition_pipe_map.pipe_code for pipe_condition_pipe_map in pipe_map]+ if len(expression_results) != len(set(expression_results)):+ raise PipeDefinitionError(+ f"PipeCondition '{cls.code}' must have a unique expression result for each pipe in pipe_map in pipe_map: {pipe_map}"+ )+ if len(pipe_codes) != len(set(pipe_codes)):+ raise PipeDefinitionError(+ f"PipeCondition '{cls.code}' must have a unique pipe code for each expression result in pipe_map in pipe_map: {pipe_map}"+ )+ return pipe_map@model_validator(mode="after")def validate_expression(self) -> Self:@@ -74,7 +116,7 @@ class PipeCondition(PipeController):required_variables: Set[str] = set()# Variables from the expression/expression_templatepipe_jinja2 = PipeJinja2Factory.make_pipe_jinja2_from_template_str(- domain_code=self.domain,+ domain=self.domain,template_str=self.applied_expression_template,inputs=self.inputs,)@@ -100,11 +142,11 @@ class PipeCondition(PipeController):1. Inputs needed by the condition expression/expression_template2. Inputs needed by ALL possible target pipes (since we don't know which will be chosen)"""- needed_inputs = PipeInputSpec.make_empty()+ needed_inputs = PipeInputSpecFactory.make_empty()# 1. Add the variables from the expression/expression_templatepipe_jinja2 = PipeJinja2Factory.make_pipe_jinja2_from_template_str(- domain_code=self.domain,+ domain=self.domain,template_str=self.applied_expression_template,inputs=self.inputs,)@@ -113,13 +155,18 @@ class PipeCondition(PipeController):if not var_name.startswith("_"): # exclude internal variables starting with `_`# We don't know the concept code from just the variable name,# so we'll use a generic placeholder that will be validated later- needed_inputs.add_requirement(variable_name=var_name, concept_code=f"{self.domain}.Unknown")+ needed_inputs.add_requirement(+ variable_name=var_name,+ concept=ConceptFactory.make_native_concept(+ native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.ANYTHING],+ ),+ )# 2. Add the inputs needed by all possible target pipes- for pipe_code in self.pipe_map.values():- pipe = get_required_pipe(pipe_code=pipe_code)+ for pipe_condition_pipe_map in self.pipe_map:+ pipe = get_required_pipe(pipe_code=pipe_condition_pipe_map.pipe_code)for input_name, requirement in pipe.needed_inputs().items:- needed_inputs.add_requirement(variable_name=input_name, concept_code=requirement.concept_code)+ needed_inputs.add_requirement(variable_name=input_name, concept=requirement.concept)return needed_inputs@@ -146,7 +193,7 @@ class PipeCondition(PipeController):if named_input_requirement.variable_name not in self.inputs.variables:missing_input_var_error = StaticValidationError(error_type=StaticValidationErrorType.MISSING_INPUT_VARIABLE,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[named_input_requirement.variable_name],)@@ -163,7 +210,7 @@ class PipeCondition(PipeController):if input_name not in the_needed_inputs.required_names:extraneous_input_var_error = StaticValidationError(error_type=StaticValidationErrorType.EXTRANEOUS_INPUT_VARIABLE,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[input_name],)@@ -186,7 +233,7 @@ class PipeCondition(PipeController):@overridedef pipe_dependencies(self) -> Set[str]:- pipe_codes = list(self.pipe_map.values())+ pipe_codes = [pipe_condition_pipe_map.pipe_code for pipe_condition_pipe_map in self.pipe_map]if self.default_pipe_code:pipe_codes.append(self.default_pipe_code)return set(pipe_codes)@@ -199,16 +246,31 @@ class PipeCondition(PipeController):pipe_run_params: PipeRunParams,output_name: Optional[str] = None,) -> PipeOutput:- log.dev(f"{self.class_name} generating a '{self.output_concept_code}'")+ log.dev(f"{self.class_name} generating a '{self.output.code}'")# TODO: restore pipe_layer feature# pipe_run_params.push_pipe_code(pipe_code=pipe_code)- pipe_jinja2 = PipeJinja2(- code="adhoc_for_pipe_condition",- domain=self.domain,+ # Convert PipeInputSpec to blueprint format+ inputs_blueprint: Dict[str, Union[str, InputRequirementBlueprint]] = {}+ for var_name, requirement in self.inputs.root.items():+ inputs_blueprint[var_name] = InputRequirementBlueprint(+ concept=requirement.concept.concept_string,+ multiplicity=requirement.multiplicity,+ )++ pipe_jinja2_blueprint = PipeJinja2Blueprint(+ definition="Jinja2 template for pipe condition evaluation",jinja2=self.applied_expression_template,- inputs=self.inputs,+ inputs=inputs_blueprint,+ output=self.output.code,+ )++ # TODO: use jinja2 directly without going though a pipe+ pipe_jinja2 = PipeJinja2Factory.make_from_blueprint(+ domain=self.domain,+ pipe_code="adhoc_for_pipe_condition",+ blueprint=pipe_jinja2_blueprint,)jinja2_job_metadata = job_metadata.copy_with_update(updated_metadata=JobMetadata(@@ -245,7 +307,14 @@ class PipeCondition(PipeController):target=self.add_alias_from_expression_to,)- chosen_pipe_code = self.pipe_map.get(evaluated_expression, self.default_pipe_code)+ chosen_pipe_code = next(+ (+ pipe_condition_pipe_map.pipe_code+ for pipe_condition_pipe_map in self.pipe_map+ if pipe_condition_pipe_map.expression_result == evaluated_expression+ ),+ self.default_pipe_code,+ )if not chosen_pipe_code:error_msg = f"No pipe code found for evaluated expression '{evaluated_expression}' in pipe {self.code}:"error_msg += f"\n\nExpression: {self.applied_expression_template}"@@ -325,7 +394,7 @@ class PipeCondition(PipeController):# 2. Validate that the expression template is validtry:pipe_jinja2 = PipeJinja2Factory.make_pipe_jinja2_from_template_str(- domain_code=self.domain,+ domain=self.domain,template_str=self.applied_expression_template,inputs=self.inputs,)@@ -344,7 +413,7 @@ class PipeCondition(PipeController):)# 3. Validate that all pipes in the pipe_map exist- all_pipe_codes = set(self.pipe_map.values())+ all_pipe_codes = set([pipe_condition_pipe_map.pipe_code for pipe_condition_pipe_map in self.pipe_map])if self.default_pipe_code:all_pipe_codes.add(self.default_pipe_code)@@ -369,7 +438,8 @@ class PipeCondition(PipeController):)# Here, it should launch the dry run of all the pipes in the pipe_map- for pipe_code in self.pipe_map.values():+ for pipe_condition_pipe_map in self.pipe_map:+ pipe_code = pipe_condition_pipe_map.pipe_codepipe = get_required_pipe(pipe_code=pipe_code)await pipe.run_pipe(job_metadata=job_metadata,diff --git a/pipelex/pipe_controllers/condition/pipe_condition_blueprint.py b/pipelex/pipe_controllers/condition/pipe_condition_blueprint.pynew file mode 100644index 000000000..30ab6852b--- /dev/null+++ b/pipelex/pipe_controllers/condition/pipe_condition_blueprint.py@@ -0,0 +1,20 @@+from typing import Dict, Literal, Optional++from pydantic import Field, RootModel++from pipelex.core.pipes.pipe_blueprint import PipeBlueprint++PipeConditionPipeMapRoot = Dict[str, str]+++class PipeConditionPipeMapBlueprint(RootModel[PipeConditionPipeMapRoot]):+ root: PipeConditionPipeMapRoot = Field(default_factory=dict)+++class PipeConditionBlueprint(PipeBlueprint):+ type: Literal["PipeCondition"] = "PipeCondition"+ expression_template: Optional[str] = None+ expression: Optional[str] = None+ pipe_map: PipeConditionPipeMapBlueprint = Field(default_factory=PipeConditionPipeMapBlueprint)+ default_pipe_code: Optional[str] = None+ add_alias_from_expression_to: Optional[str] = Nonediff --git a/pipelex/pipe_controllers/pipe_condition_details.py b/pipelex/pipe_controllers/condition/pipe_condition_details.pysimilarity index 56%rename from pipelex/pipe_controllers/pipe_condition_details.pyrename to pipelex/pipe_controllers/condition/pipe_condition_details.pyindex 10bbb6c70..f88084956 100644--- a/pipelex/pipe_controllers/pipe_condition_details.py+++ b/pipelex/pipe_controllers/condition/pipe_condition_details.py@@ -1,13 +1,17 @@-from typing import Dict, Optional+from typing import List, Optionalfrom pydantic import BaseModel+class PipeConditionPipeMap(BaseModel):+ expression_result: str+ pipe_code: str++class PipeConditionDetails(BaseModel):code: strtest_expression: str- pipe_map: Dict[str, str]+ pipe_map: List[PipeConditionPipeMap]default_pipe_code: Optional[str] = None-evaluated_expression: strchosen_pipe_code: strdiff --git a/pipelex/pipe_controllers/condition/pipe_condition_factory.py b/pipelex/pipe_controllers/condition/pipe_condition_factory.pynew file mode 100644index 000000000..cebdaedeb--- /dev/null+++ b/pipelex/pipe_controllers/condition/pipe_condition_factory.py@@ -0,0 +1,52 @@+from typing import List, Optional++from typing_extensions import override++from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactory+from pipelex.hub import get_concept_provider+from pipelex.pipe_controllers.condition.pipe_condition import PipeCondition+from pipelex.pipe_controllers.condition.pipe_condition_blueprint import PipeConditionBlueprint, PipeConditionPipeMapBlueprint+from pipelex.pipe_controllers.condition.pipe_condition_details import PipeConditionPipeMap+++class PipeConditionFactory(PipeFactoryProtocol[PipeConditionBlueprint, PipeCondition]):+ @classmethod+ def make_pipe_condition_pipe_map(cls, pipe_map: PipeConditionPipeMapBlueprint) -> List[PipeConditionPipeMap]:+ return [+ PipeConditionPipeMap(expression_result=expression_result, pipe_code=pipe_code) for expression_result, pipe_code in pipe_map.root.items()+ ]++ @classmethod+ @override+ def make_from_blueprint(+ cls,+ domain: str,+ pipe_code: str,+ blueprint: PipeConditionBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,+ ) -> PipeCondition:+ output_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=blueprint.output_concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ return PipeCondition(+ domain=domain,+ code=pipe_code,+ definition=blueprint.definition,+ inputs=PipeInputSpecFactory.make_from_blueprint(+ domain=domain, blueprint=blueprint.inputs or {}, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain+ ),+ output=get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=output_domain_and_code.domain, concept_code=output_domain_and_code.concept_code+ )+ ),+ expression_template=blueprint.expression_template,+ expression=blueprint.expression,+ pipe_map=cls.make_pipe_condition_pipe_map(pipe_map=blueprint.pipe_map),+ default_pipe_code=blueprint.default_pipe_code,+ add_alias_from_expression_to=blueprint.add_alias_from_expression_to,+ )diff --git a/pipelex/pipe_controllers/pipe_parallel.py b/pipelex/pipe_controllers/parallel/pipe_parallel.pysimilarity index 95%rename from pipelex/pipe_controllers/pipe_parallel.pyrename to pipelex/pipe_controllers/parallel/pipe_parallel.pyindex 9123ce048..754273e45 100644--- a/pipelex/pipe_controllers/pipe_parallel.py+++ b/pipelex/pipe_controllers/parallel/pipe_parallel.py@@ -6,8 +6,10 @@ from typing_extensions import Self, overridefrom pipelex import logfrom pipelex.config import StaticValidationReaction, get_config+from pipelex.core.concepts.concept import Conceptfrom pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.pipes.pipe_input_spec import PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunMode, PipeRunParamsfrom pipelex.core.stuffs.stuff import Stuff@@ -25,7 +27,7 @@ class PipeParallel(PipeController):parallel_sub_pipes: List[SubPipe]add_each_output: bool- combined_output: Optional[str]+ combined_output: Optional[Concept]@overridedef required_variables(self) -> Set[str]:@@ -37,7 +39,7 @@ class PipeParallel(PipeController):Calculate the inputs needed by this PipeParallel.This is the inputs needed by ALL parallel sub-pipes since they all run simultaneously."""- needed_inputs = PipeInputSpec.make_empty()+ needed_inputs = PipeInputSpecFactory.make_empty()for sub_pipe in self.parallel_sub_pipes:pipe = get_required_pipe(pipe_code=sub_pipe.pipe_code)@@ -50,15 +52,15 @@ class PipeParallel(PipeController):if sub_pipe.batch_params:batch_as_input = sub_pipe.batch_params.input_item_stuff_name# Create a new PipeInputSpec without the batch_as input- filtered_needed_inputs = PipeInputSpec.make_empty()+ filtered_needed_inputs = PipeInputSpecFactory.make_empty()for var_name, requirement in pipe_needed_inputs.root.items():if var_name != batch_as_input:- filtered_needed_inputs.add_requirement(variable_name=var_name, concept_code=requirement.concept_code)+ filtered_needed_inputs.add_requirement(variable_name=var_name, concept=requirement.concept)pipe_needed_inputs = filtered_needed_inputs# Add all inputs from this parallel pipefor var_name, requirement in pipe_needed_inputs.root.items():- needed_inputs.add_requirement(variable_name=var_name, concept_code=requirement.concept_code)+ needed_inputs.add_requirement(variable_name=var_name, concept=requirement.concept)return needed_inputs@@ -70,6 +72,10 @@ class PipeParallel(PipeController):return self+ @override+ def validate_output(self):+ pass+def _validate_inputs(self):"""Validate that the inputs declared for this PipeParallel match what is actually needed.@@ -85,7 +91,7 @@ class PipeParallel(PipeController):if named_input_requirement.variable_name not in self.inputs.variables:missing_input_var_error = StaticValidationError(error_type=StaticValidationErrorType.MISSING_INPUT_VARIABLE,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[named_input_requirement.variable_name],)@@ -102,7 +108,7 @@ class PipeParallel(PipeController):if input_name not in the_needed_inputs.required_names:extraneous_input_var_error = StaticValidationError(error_type=StaticValidationErrorType.EXTRANEOUS_INPUT_VARIABLE,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[input_name],)@@ -137,6 +143,7 @@ class PipeParallel(PipeController):"""Run a list of pipes in parallel."""+if not self.add_each_output and not self.combined_output:raise PipeDefinitionError("PipeParallel requires either add_each_output or combined_output to be set")if pipe_run_params.final_stuff_code:@@ -182,9 +189,10 @@ class PipeParallel(PipeController):f"PipeParallel requires unique output names for each parallel sub pipe, but {sub_pipe_output_name} is already used")output_stuff_contents[sub_pipe_output_name] = output_stuff.content- if combined_output := self.combined_output:++ if self.combined_output:combined_output_stuff = StuffFactory.combine_stuffs(- concept_code=combined_output,+ concept=self.combined_output,stuff_contents=output_stuff_contents,name=output_name,)@@ -294,9 +302,9 @@ class PipeParallel(PipeController):output_stuff_contents[sub_pipe_output_name] = output_stuff.content# 5. Handle combined output if specified- if combined_output := self.combined_output:+ if self.combined_output:combined_output_stuff = StuffFactory.combine_stuffs(- concept_code=combined_output,+ concept=self.combined_output,stuff_contents=output_stuff_contents,name=output_name,)diff --git a/pipelex/pipe_controllers/parallel/pipe_parallel_blueprint.py b/pipelex/pipe_controllers/parallel/pipe_parallel_blueprint.pynew file mode 100644index 000000000..9dc11a673--- /dev/null+++ b/pipelex/pipe_controllers/parallel/pipe_parallel_blueprint.py@@ -0,0 +1,20 @@+from typing import List, Literal, Optional++from pydantic import field_validator++from pipelex.core.concepts.concept_blueprint import ConceptBlueprint+from pipelex.core.pipes.pipe_blueprint import PipeBlueprint+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprint+++class PipeParallelBlueprint(PipeBlueprint):+ type: Literal["PipeParallel"] = "PipeParallel"+ parallels: List[SubPipeBlueprint]+ add_each_output: bool = True+ combined_output: Optional[str] = None++ @field_validator("combined_output", mode="before")+ def validate_combined_output(cls, combined_output: str) -> str:+ if combined_output:+ ConceptBlueprint.validate_concept_string_or_concept_code(concept_string_or_concept_code=combined_output)+ return combined_outputdiff --git a/pipelex/pipe_controllers/parallel/pipe_parallel_factory.py b/pipelex/pipe_controllers/parallel/pipe_parallel_factory.pynew file mode 100644index 000000000..a2d9b5224--- /dev/null+++ b/pipelex/pipe_controllers/parallel/pipe_parallel_factory.py@@ -0,0 +1,69 @@+from typing import List, Optional++from typing_extensions import override++from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactory+from pipelex.exceptions import PipeDefinitionError+from pipelex.hub import get_concept_provider+from pipelex.pipe_controllers.parallel.pipe_parallel import PipeParallel+from pipelex.pipe_controllers.parallel.pipe_parallel_blueprint import PipeParallelBlueprint+from pipelex.pipe_controllers.sub_pipe import SubPipe+from pipelex.pipe_controllers.sub_pipe_factory import SubPipeFactory+++class PipeParallelFactory(PipeFactoryProtocol[PipeParallelBlueprint, PipeParallel]):+ @classmethod+ @override+ def make_from_blueprint(+ cls,+ domain: str,+ pipe_code: str,+ blueprint: PipeParallelBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,+ ) -> PipeParallel:+ parallel_sub_pipes: List[SubPipe] = []+ for sub_pipe_blueprint in blueprint.parallels:+ if not sub_pipe_blueprint.result:+ raise PipeDefinitionError("PipeParallel requires a result specified for each parallel sub pipe")+ sub_pipe = SubPipeFactory.make_from_blueprint(sub_pipe_blueprint, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain)+ parallel_sub_pipes.append(sub_pipe)+ if not blueprint.add_each_output and not blueprint.combined_output:+ raise PipeDefinitionError("PipeParallel requires either add_each_output or combined_output to be set")++ if blueprint.combined_output:+ combined_output_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=blueprint.output_concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ combined_output = get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=combined_output_domain_and_code.domain, concept_code=combined_output_domain_and_code.concept_code+ )+ )+ else:+ combined_output = None++ output_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=blueprint.output_concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ return PipeParallel(+ domain=domain,+ code=pipe_code,+ definition=blueprint.definition,+ inputs=PipeInputSpecFactory.make_from_blueprint(+ domain=domain, blueprint=blueprint.inputs or {}, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain+ ),+ output=get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=output_domain_and_code.domain, concept_code=output_domain_and_code.concept_code+ )+ ),+ parallel_sub_pipes=parallel_sub_pipes,+ add_each_output=blueprint.add_each_output,+ combined_output=combined_output,+ )diff --git a/pipelex/pipe_controllers/pipe_batch_factory.py b/pipelex/pipe_controllers/pipe_batch_factory.pydeleted file mode 100644index 7a4797f67..000000000--- a/pipelex/pipe_controllers/pipe_batch_factory.py+++ /dev/null@@ -1,41 +0,0 @@-from typing import Literal, Optional--from typing_extensions import override--from pipelex.core.pipes.pipe_blueprint import PipeBlueprint-from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol-from pipelex.core.pipes.pipe_input_spec import PipeInputSpec-from pipelex.core.pipes.pipe_run_params import BatchParams-from pipelex.pipe_controllers.pipe_batch import PipeBatch---class PipeBatchBlueprint(PipeBlueprint):- type: Literal["PipeBatch"] = "PipeBatch"- branch_pipe_code: str-- input_list_name: Optional[str] = None- input_item_name: Optional[str] = None---class PipeBatchFactory(PipeFactoryProtocol[PipeBatchBlueprint, PipeBatch]):- @classmethod- @override- def make_pipe_from_blueprint(- cls,- domain_code: str,- pipe_code: str,- pipe_blueprint: PipeBatchBlueprint,- ) -> PipeBatch:- batch_params = BatchParams.make_optional_batch_params(- input_list_name=pipe_blueprint.input_list_name or False,- input_item_name=pipe_blueprint.input_item_name,- )- return PipeBatch(- domain=domain_code,- code=pipe_code,- definition=pipe_blueprint.definition,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- output_concept_code=pipe_blueprint.output,- branch_pipe_code=pipe_blueprint.branch_pipe_code,- batch_params=batch_params,- )diff --git a/pipelex/pipe_controllers/pipe_condition_factory.py b/pipelex/pipe_controllers/pipe_condition_factory.pydeleted file mode 100644index 75fae4fbd..000000000--- a/pipelex/pipe_controllers/pipe_condition_factory.py+++ /dev/null@@ -1,42 +0,0 @@-from typing import Dict, Literal, Optional--from typing_extensions import override--from pipelex.core.pipes.pipe_blueprint import PipeBlueprint-from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol-from pipelex.core.pipes.pipe_input_spec import PipeInputSpec-from pipelex.pipe_controllers.pipe_condition import PipeCondition---class PipeConditionBlueprint(PipeBlueprint):- type: Literal["PipeCondition"] = "PipeCondition"- expression_template: Optional[str] = None- expression: Optional[str] = None- # TODO: make the values of pipe_map a Union[str, PipeAdapter] or something to set a specific alias- # TODO: Add a Blueprint for the pipe_map- pipe_map: Dict[str, str]- default_pipe_code: Optional[str] = None- add_alias_from_expression_to: Optional[str] = None---class PipeConditionFactory(PipeFactoryProtocol[PipeConditionBlueprint, PipeCondition]):- @classmethod- @override- def make_pipe_from_blueprint(- cls,- domain_code: str,- pipe_code: str,- pipe_blueprint: PipeConditionBlueprint,- ) -> PipeCondition:- return PipeCondition(- domain=domain_code,- code=pipe_code,- definition=pipe_blueprint.definition,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- output_concept_code=pipe_blueprint.output,- expression_template=pipe_blueprint.expression_template,- expression=pipe_blueprint.expression,- pipe_map=pipe_blueprint.pipe_map,- default_pipe_code=pipe_blueprint.default_pipe_code,- add_alias_from_expression_to=pipe_blueprint.add_alias_from_expression_to,- )diff --git a/pipelex/pipe_controllers/pipe_controller.py b/pipelex/pipe_controllers/pipe_controller.pyindex 344efc1b7..5dcb428f0 100644--- a/pipelex/pipe_controllers/pipe_controller.py+++ b/pipelex/pipe_controllers/pipe_controller.py@@ -33,7 +33,7 @@ class PipeController(PipeAbstract):indent_level = len(pipe_run_params.pipe_stack) - 1indent = " " * indent_levellabel = f"{indent}{self.class_name}: {self.code}".ljust(80)- output = self.output_concept_code.split(".")[-1]+ output = self.output.codelog.info(f"{label} → {output}")pipe_output = await self._run_controller_pipe(job_metadata=job_metadata,@@ -46,7 +46,7 @@ class PipeController(PipeAbstract):indent_level = len(pipe_run_params.pipe_stack) - 1indent = " " * indent_levellabel = f"{indent}{name}: {self.code}".ljust(80)- output = self.output_concept_code.split(".")[-1]+ output = self.output.codelog.info(f"{label} → {output}")pipe_output = await self._dry_run_controller_pipe(job_metadata=job_metadata,diff --git a/pipelex/pipe_controllers/pipe_parallel_factory.py b/pipelex/pipe_controllers/pipe_parallel_factory.pydeleted file mode 100644index d2d25ceb3..000000000--- a/pipelex/pipe_controllers/pipe_parallel_factory.py+++ /dev/null@@ -1,53 +0,0 @@-from typing import List, Literal, Optional--from typing_extensions import override--from pipelex.core.concepts.concept import Concept-from pipelex.core.pipes.pipe_blueprint import PipeBlueprint-from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol-from pipelex.core.pipes.pipe_input_spec import PipeInputSpec-from pipelex.exceptions import PipeDefinitionError-from pipelex.hub import get_concept_provider-from pipelex.pipe_controllers.pipe_parallel import PipeParallel-from pipelex.pipe_controllers.sub_pipe import SubPipe-from pipelex.pipe_controllers.sub_pipe_factory import SubPipeBlueprint---class PipeParallelBlueprint(PipeBlueprint):- type: Literal["PipeParallel"] = "PipeParallel"- parallels: List[SubPipeBlueprint]- add_each_output: bool = True- combined_output: Optional[str] = None---class PipeParallelFactory(PipeFactoryProtocol[PipeParallelBlueprint, PipeParallel]):- @classmethod- @override- def make_pipe_from_blueprint(- cls,- domain_code: str,- pipe_code: str,- pipe_blueprint: PipeParallelBlueprint,- ) -> PipeParallel:- parallel_sub_pipes: List[SubPipe] = []- for sub_pipe_blueprint in pipe_blueprint.parallels:- if not sub_pipe_blueprint.result:- raise PipeDefinitionError("PipeParallel requires a result specified for each parallel sub pipe")- sub_pipe = sub_pipe_blueprint.make_sub_pipe()- parallel_sub_pipes.append(sub_pipe)- if not pipe_blueprint.add_each_output and not pipe_blueprint.combined_output:- raise PipeDefinitionError("PipeParallel requires either add_each_output or combined_output to be set")- if pipe_blueprint.combined_output and not Concept.concept_str_contains_domain(concept_str=pipe_blueprint.combined_output):- pipe_blueprint.combined_output = domain_code + "." + pipe_blueprint.combined_output- get_concept_provider().is_concept_code_legal(concept_code=pipe_blueprint.combined_output)-- return PipeParallel(- domain=domain_code,- code=pipe_code,- definition=pipe_blueprint.definition,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- output_concept_code=pipe_blueprint.output,- parallel_sub_pipes=parallel_sub_pipes,- add_each_output=pipe_blueprint.add_each_output,- combined_output=pipe_blueprint.combined_output,- )diff --git a/pipelex/pipe_controllers/pipe_sequence_factory.py b/pipelex/pipe_controllers/pipe_sequence_factory.pydeleted file mode 100644index e49b76865..000000000--- a/pipelex/pipe_controllers/pipe_sequence_factory.py+++ /dev/null@@ -1,34 +0,0 @@-from typing import List, Literal--from typing_extensions import override--from pipelex.core.pipes.pipe_blueprint import PipeBlueprint-from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol-from pipelex.core.pipes.pipe_input_spec import PipeInputSpec-from pipelex.pipe_controllers.pipe_sequence import PipeSequence-from pipelex.pipe_controllers.sub_pipe_factory import SubPipeBlueprint---class PipeSequenceBlueprint(PipeBlueprint):- type: Literal["PipeSequence"] = "PipeSequence"- steps: List[SubPipeBlueprint]---class PipeSequenceFactory(PipeFactoryProtocol[PipeSequenceBlueprint, PipeSequence]):- @classmethod- @override- def make_pipe_from_blueprint(- cls,- domain_code: str,- pipe_code: str,- pipe_blueprint: PipeSequenceBlueprint,- ) -> PipeSequence:- pipe_steps = [step.make_sub_pipe() for step in pipe_blueprint.steps]- return PipeSequence(- domain=domain_code,- code=pipe_code,- definition=pipe_blueprint.definition,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- output_concept_code=pipe_blueprint.output,- sequential_sub_pipes=pipe_steps,- )diff --git a/pipelex/pipe_controllers/sequence/exceptions.py b/pipelex/pipe_controllers/sequence/exceptions.pynew file mode 100644index 000000000..bfafd40b9--- /dev/null+++ b/pipelex/pipe_controllers/sequence/exceptions.py@@ -0,0 +1,6 @@+class PipeSequenceBlueprintError(Exception):+ pass+++class PipeSequenceError(Exception):+ passdiff --git a/pipelex/pipe_controllers/pipe_sequence.py b/pipelex/pipe_controllers/sequence/pipe_sequence.pysimilarity index 81%rename from pipelex/pipe_controllers/pipe_sequence.pyrename to pipelex/pipe_controllers/sequence/pipe_sequence.pyindex 8d561d186..2de58e9ef 100644--- a/pipelex/pipe_controllers/pipe_sequence.py+++ b/pipelex/pipe_controllers/sequence/pipe_sequence.py@@ -7,6 +7,7 @@ from pipelex import logfrom pipelex.config import StaticValidationReaction, get_configfrom pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.pipes.pipe_input_spec import PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunMode, PipeRunParamsfrom pipelex.exceptions import (@@ -16,6 +17,7 @@ from pipelex.exceptions import ()from pipelex.hub import get_required_pipefrom pipelex.pipe_controllers.pipe_controller import PipeController+from pipelex.pipe_controllers.sequence.exceptions import PipeSequenceErrorfrom pipelex.pipe_controllers.sub_pipe import SubPipefrom pipelex.pipeline.job_metadata import JobMetadata@@ -30,7 +32,7 @@ class PipeSequence(PipeController):This is the inputs needed by all pipes in the sequence MINUS the outputs generated by previous steps."""- needed_inputs = PipeInputSpec.make_empty()+ needed_inputs = PipeInputSpecFactory.make_empty()generated_outputs: Set[str] = set()for sequential_sub_pipe in self.sequential_sub_pipes:@@ -41,25 +43,25 @@ class PipeSequence(PipeController):# Instead we must add the batch_over variable nale.if sequential_sub_pipe.batch_params:batch_as_input = sequential_sub_pipe.batch_params.input_item_stuff_name- batch_item_concept_code = sub_pipe_needed_inputs.get_required_concept_code(variable_name=batch_as_input)+ batch_item_concept_code = sub_pipe_needed_inputs.get_required_input_requirement(variable_name=batch_as_input)# Create a new PipeInputSpec without the batch_as input# TODO: this should be done with a simple remove_requirement() method on the PipeInputSpec- filtered_needed_inputs = PipeInputSpec.make_empty()+ filtered_needed_inputs = PipeInputSpecFactory.make_empty()for var_name, requirement in sub_pipe_needed_inputs.items:if var_name != batch_as_input:- filtered_needed_inputs.add_requirement(variable_name=var_name, concept_code=requirement.concept_code)+ filtered_needed_inputs.add_requirement(variable_name=var_name, concept=requirement.concept)sub_pipe_needed_inputs = filtered_needed_inputsbatch_over = sequential_sub_pipe.batch_params.input_list_stuff_namesub_pipe_needed_inputs.add_requirement(variable_name=batch_over,- concept_code=batch_item_concept_code,+ concept=batch_item_concept_code.concept,multiplicity=True,)# Add inputs that haven't been generated by previous stepsfor var_name, requirement in sub_pipe_needed_inputs.items:if var_name not in generated_outputs:- needed_inputs.add_requirement(var_name, requirement.concept_code, requirement.multiplicity)+ needed_inputs.add_requirement(var_name, requirement.concept, requirement.multiplicity)# Add this step's output to generated outputsif sequential_sub_pipe.output_name:@@ -71,6 +73,20 @@ class PipeSequence(PipeController):def required_variables(self) -> Set[str]:return set()+ @override+ def validate_output(self):+ """+ Validate the output for the pipe sequence.+ The output of the pipe sequence should match the output of the last step.+ """+ last_step_output_pipe = get_required_pipe(pipe_code=self.sequential_sub_pipes[-1].pipe_code)+ if self.output.concept_string != last_step_output_pipe.output.concept_string:+ raise PipeSequenceError(+ f"The output concept code '{self.output.concept_string}' of the pipe '{self.code}' is "+ f"not matching the output concept code '{last_step_output_pipe.output.concept_string}' "+ f"of the last step '{self.sequential_sub_pipes[-1].pipe_code}'"+ )+@model_validator(mode="after")def validate_inputs(self) -> Self:if len(self.sequential_sub_pipes) == 0:@@ -99,10 +115,10 @@ class PipeSequence(PipeController):if named_input_requirement.variable_name not in self.inputs.variables:missing_input_var_error = StaticValidationError(error_type=StaticValidationErrorType.MISSING_INPUT_VARIABLE,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[named_input_requirement.variable_name],- required_concept_codes=[named_input_requirement.concept_code],+ required_concept_codes=[named_input_requirement.concept.code],)match reactions.get(StaticValidationErrorType.MISSING_INPUT_VARIABLE, default_reaction):case StaticValidationReaction.IGNORE:@@ -118,7 +134,7 @@ class PipeSequence(PipeController):log.debug(f"the_needed_inputs.required_names: {the_needed_inputs.required_names}")extraneous_input_var_error = StaticValidationError(error_type=StaticValidationErrorType.EXTRANEOUS_INPUT_VARIABLE,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[input_name],)@@ -188,6 +204,13 @@ class PipeSequence(PipeController):if pipe_run_params.run_mode != PipeRunMode.DRY:raise PipeRunParamsError(f"PipeSequence._dry_run_controller_pipe() called with run_mode = {pipe_run_params.run_mode} in pipe {self.code}")log.debug(f"PipeSequence._dry_run_controller_pipe() called with {self.code=} {pipe_run_params=}")+ # Verify the output of this pipe is matching the output of the last step.+ concept_string_of_last_step = get_required_pipe(pipe_code=self.sequential_sub_pipes[-1].pipe_code).output.concept_string+ if self.output.concept_string != concept_string_of_last_step:+ raise ValueError(+ f"The output concept code '{self.output.concept_string}' of the pipe '{self.code}' is "+ f"not matching the output concept code '{concept_string_of_last_step}' of the last step '{self.sequential_sub_pipes[-1].pipe_code}'"+ )return await self._run_controller_pipe(job_metadata=job_metadata,working_memory=working_memory,diff --git a/pipelex/pipe_controllers/sequence/pipe_sequence_blueprint.py b/pipelex/pipe_controllers/sequence/pipe_sequence_blueprint.pynew file mode 100644index 000000000..2cee016ac--- /dev/null+++ b/pipelex/pipe_controllers/sequence/pipe_sequence_blueprint.py@@ -0,0 +1,9 @@+from typing import List, Literal++from pipelex.core.pipes.pipe_blueprint import PipeBlueprint+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprint+++class PipeSequenceBlueprint(PipeBlueprint):+ type: Literal["PipeSequence"] = "PipeSequence"+ steps: List[SubPipeBlueprint]diff --git a/pipelex/pipe_controllers/sequence/pipe_sequence_factory.py b/pipelex/pipe_controllers/sequence/pipe_sequence_factory.pynew file mode 100644index 000000000..4f79ca82d--- /dev/null+++ b/pipelex/pipe_controllers/sequence/pipe_sequence_factory.py@@ -0,0 +1,45 @@+from typing import List, Optional++from typing_extensions import override++from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactory+from pipelex.hub import get_concept_provider+from pipelex.pipe_controllers.sequence.pipe_sequence import PipeSequence+from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint+from pipelex.pipe_controllers.sub_pipe_factory import SubPipeFactory+++class PipeSequenceFactory(PipeFactoryProtocol[PipeSequenceBlueprint, PipeSequence]):+ @classmethod+ @override+ def make_from_blueprint(+ cls,+ domain: str,+ pipe_code: str,+ blueprint: PipeSequenceBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,+ ) -> PipeSequence:+ output_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=blueprint.output_concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ return PipeSequence(+ domain=domain,+ code=pipe_code,+ definition=blueprint.definition,+ inputs=PipeInputSpecFactory.make_from_blueprint(+ domain=domain, blueprint=blueprint.inputs or {}, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain+ ),+ output=get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=output_domain_and_code.domain, concept_code=output_domain_and_code.concept_code+ )+ ),+ sequential_sub_pipes=[+ SubPipeFactory.make_from_blueprint(blueprint=step, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain)+ for step in blueprint.steps+ ],+ )diff --git a/pipelex/pipe_controllers/sub_pipe.py b/pipelex/pipe_controllers/sub_pipe.pyindex 8e7372658..2feeb93b6 100644--- a/pipelex/pipe_controllers/sub_pipe.py+++ b/pipelex/pipe_controllers/sub_pipe.py@@ -1,15 +1,17 @@-from typing import Optional+from typing import List, Optionalfrom pydantic import BaseModelfrom pipelex import logfrom pipelex.core.memory.working_memory import WorkingMemory+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprintfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import BatchParams, PipeOutputMultiplicity, PipeRunMode, PipeRunParamsfrom pipelex.exceptions import PipeInputError, WorkingMemoryStuffNotFoundErrorfrom pipelex.hub import get_pipe_router, get_pipeline_tracker, get_required_pipe-from pipelex.pipe_controllers.pipe_batch import PipeBatch-from pipelex.pipe_controllers.pipe_condition import PipeCondition+from pipelex.pipe_controllers.batch.pipe_batch_blueprint import PipeBatchBlueprint+from pipelex.pipe_controllers.batch.pipe_batch_factory import PipeBatchFactory+from pipelex.pipe_controllers.condition.pipe_condition import PipeConditionfrom pipelex.pipeline.job_metadata import JobMetadata@@ -18,6 +20,7 @@ class SubPipe(BaseModel):output_name: Optional[str] = Noneoutput_multiplicity: Optional[PipeOutputMultiplicity] = Nonebatch_params: Optional[BatchParams] = None+ concept_codes_from_the_same_domain: Optional[List[str]] = Noneasync def run_pipe(self,@@ -30,9 +33,12 @@ class SubPipe(BaseModel):log.debug(f"SubPipe {self.pipe_code} to generate {self.output_name}")if self.output_multiplicity:sub_pipe_run_params.output_multiplicity = self.output_multiplicity- pipe = get_required_pipe(pipe_code=self.pipe_code)- pipe_output: PipeOutputsub_pipe_run_params.batch_params = self.batch_params++ sub_pipe = get_required_pipe(pipe_code=self.pipe_code)+ pipe_output: PipeOutput++ # Case 1: Batch processingif batch_params := self.batch_params:try:input_list_stuff = working_memory.get_stuff(name=batch_params.input_list_stuff_name)@@ -41,18 +47,29 @@ class SubPipe(BaseModel):f"Input list stuff named '{batch_params.input_list_stuff_name}' required by sub_pipe '{self.pipe_code}' "f"of pipe '{calling_pipe_code}' not found in working memory: {exc}") from exc- input_concept_code = input_list_stuff.concept_code- output_concept_code = pipe.output_concept_code- sub_pipe = get_required_pipe(pipe_code=self.pipe_code)- pipe_batch_inputs = sub_pipe.inputs- pipe_batch_inputs.add_requirement(variable_name=batch_params.input_list_stuff_name, concept_code=input_concept_code)- pipe_batch = PipeBatch(- domain=pipe.domain,- code=self.pipe_code,- inputs=pipe_batch_inputs,- output_concept_code=output_concept_code,+ sub_pipe.inputs.add_requirement(variable_name=batch_params.input_list_stuff_name, concept=input_list_stuff.concept)++ # Create blueprint for PipeBatch+ pipe_batch_blueprint = PipeBatchBlueprint(+ definition=f"Batch processing for {self.pipe_code}",branch_pipe_code=self.pipe_code,+ output=sub_pipe.output.code,+ input_list_name=batch_params.input_list_stuff_name,+ input_item_name=batch_params.input_item_stuff_name,+ # inputs should be of type: Dict[str, InputRequirementBlueprint]+ inputs={+ batch_params.input_item_stuff_name: InputRequirementBlueprint(+ concept=sub_pipe.inputs.root[batch_params.input_item_stuff_name].concept.concept_string+ ),+ },+ )++ pipe_batch = PipeBatchFactory.make_from_blueprint(+ domain=sub_pipe.domain,+ pipe_code=self.pipe_code,+ blueprint=pipe_batch_blueprint,+ concept_codes_from_the_same_domain=self.concept_codes_from_the_same_domain,)# This is the only line that changes between run and dry_runif sub_pipe_run_params.run_mode == PipeRunMode.DRY:@@ -71,11 +88,12 @@ class SubPipe(BaseModel):pipe_run_params=sub_pipe_run_params,output_name=self.output_name,)- elif isinstance(pipe, PipeCondition):+ # Case 2: Condition processing+ elif isinstance(sub_pipe, PipeCondition):# This is the only line that changes between run and dry_runif sub_pipe_run_params.run_mode == PipeRunMode.DRY:sub_pipe_run_params.run_mode = PipeRunMode.DRY- pipe_output = await pipe.run_pipe(+ pipe_output = await sub_pipe.run_pipe(job_metadata=job_metadata,working_memory=working_memory,pipe_run_params=sub_pipe_run_params,@@ -91,7 +109,8 @@ class SubPipe(BaseModel):pipe_run_params=sub_pipe_run_params,)else:- required_variables = pipe.required_variables()+ # Case 3: Normal processing+ required_variables = sub_pipe.required_variables()log.debug(required_variables, title=f"Required variables for {self.pipe_code}")required_stuff_names = set([required_variable for required_variable in required_variables if not required_variable.startswith("_")])try:@@ -105,7 +124,7 @@ class SubPipe(BaseModel):# This is the only line that changes between run and dry_runif sub_pipe_run_params.run_mode == PipeRunMode.DRY:sub_pipe_run_params.run_mode = PipeRunMode.DRY- pipe_output = await pipe.run_pipe(+ pipe_output = await sub_pipe.run_pipe(job_metadata=job_metadata,working_memory=working_memory,pipe_run_params=sub_pipe_run_params,diff --git a/pipelex/pipe_controllers/sub_pipe_blueprint.py b/pipelex/pipe_controllers/sub_pipe_blueprint.pynew file mode 100644index 000000000..256251d78--- /dev/null+++ b/pipelex/pipe_controllers/sub_pipe_blueprint.py@@ -0,0 +1,37 @@+from typing import Optional, Union++from pydantic import BaseModel, ConfigDict, model_validator+from typing_extensions import Self++from pipelex.exceptions import PipeDefinitionError+from pipelex.tools.typing.validation_utils import has_more_than_one_among_attributes_from_list+++class SubPipeBlueprint(BaseModel):+ model_config = ConfigDict(extra="forbid")++ pipe: str+ result: Optional[str] = None+ nb_output: Optional[int] = None+ multiple_output: Optional[bool] = None+ batch_over: Union[bool, str] = False+ batch_as: Optional[str] = None++ @model_validator(mode="after")+ def validate_multiple_output(self) -> Self:+ if has_more_than_one_among_attributes_from_list(self, attributes_list=["nb_output", "multiple_output"]):+ raise PipeDefinitionError("PipeStepBlueprint should have no more than '1' of nb_output or multiple_output")+ return self++ @model_validator(mode="after")+ def validate_batch_params(self) -> Self:+ batch_over_is_specified = self.batch_over is not False and self.batch_over != ""+ batch_as_is_specified = self.batch_as is not None and self.batch_as != ""++ if batch_over_is_specified and not batch_as_is_specified:+ raise PipeDefinitionError(f"In pipe '{self.pipe}': When 'batch_over' is specified, 'batch_as' must also be provided")++ if batch_as_is_specified and not batch_over_is_specified:+ raise PipeDefinitionError(f"In pipe '{self.pipe}': When 'batch_as' is specified, 'batch_over' must also be provided")++ return selfdiff --git a/pipelex/pipe_controllers/sub_pipe_factory.py b/pipelex/pipe_controllers/sub_pipe_factory.pyindex 4991b49b6..39987175d 100644--- a/pipelex/pipe_controllers/sub_pipe_factory.py+++ b/pipelex/pipe_controllers/sub_pipe_factory.py@@ -1,55 +1,30 @@-from typing import Optional, Union--from pydantic import BaseModel, ConfigDict, model_validator-from typing_extensions import Self+from typing import List, Optionalfrom pipelex.core.pipes.pipe_run_params import BatchParams, make_output_multiplicity-from pipelex.exceptions import PipeDefinitionErrorfrom pipelex.pipe_controllers.sub_pipe import SubPipe-from pipelex.tools.typing.validation_utils import has_more_than_one_among_attributes_from_list---class SubPipeBlueprint(BaseModel):- model_config = ConfigDict(extra="forbid")-- pipe: str- result: Optional[str] = None- nb_output: Optional[int] = None- multiple_output: Optional[bool] = None- batch_over: Union[bool, str] = False- batch_as: Optional[str] = None-- @model_validator(mode="after")- def validate_multiple_output(self) -> Self:- if has_more_than_one_among_attributes_from_list(self, attributes_list=["nb_output", "multiple_output"]):- raise PipeDefinitionError("PipeStepBlueprint should have no more than '1' of nb_output or multiple_output")- return self-- @model_validator(mode="after")- def validate_batch_params(self) -> Self:- batch_over_is_specified = self.batch_over is not False and self.batch_over != ""- batch_as_is_specified = self.batch_as is not None and self.batch_as != ""-- if batch_over_is_specified and not batch_as_is_specified:- raise PipeDefinitionError(f"In pipe '{self.pipe}': When 'batch_over' is specified, 'batch_as' must also be provided")-- if batch_as_is_specified and not batch_over_is_specified:- raise PipeDefinitionError(f"In pipe '{self.pipe}': When 'batch_as' is specified, 'batch_over' must also be provided")+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprint- return self- def make_sub_pipe(self) -> SubPipe:+class SubPipeFactory:+ @classmethod+ def make_from_blueprint(+ cls,+ blueprint: SubPipeBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,+ ) -> SubPipe:+ """Create a SubPipe from a SubPipeBlueprint."""output_multiplicity = make_output_multiplicity(- nb_output=self.nb_output,- multiple_output=self.multiple_output,+ nb_output=blueprint.nb_output,+ multiple_output=blueprint.multiple_output,)batch_params = BatchParams.make_optional_batch_params(- input_list_name=self.batch_over,- input_item_name=self.batch_as,+ input_list_name=blueprint.batch_over,+ input_item_name=blueprint.batch_as,)return SubPipe(- pipe_code=self.pipe,- output_name=self.result,+ pipe_code=blueprint.pipe,+ output_name=blueprint.result,output_multiplicity=output_multiplicity,batch_params=batch_params,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,)diff --git a/pipelex/pipe_operators/pipe_func.py b/pipelex/pipe_operators/func/pipe_func.pysimilarity index 88%rename from pipelex/pipe_operators/pipe_func.pyrename to pipelex/pipe_operators/func/pipe_func.pyindex 5a803e6e3..ad0568fb0 100644--- a/pipelex/pipe_operators/pipe_func.py+++ b/pipelex/pipe_operators/func/pipe_func.py@@ -3,6 +3,7 @@ from typing import List, Optional, Set, cast, get_type_hintsfrom typing_extensions import overridefrom pipelex import log+from pipelex.core.concepts.concept_factory import ConceptFactoryfrom pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_input_spec import PipeInputSpec, TypedNamedInputRequirement@@ -31,6 +32,10 @@ class PipeFunc(PipeOperator):def needed_inputs(self) -> PipeInputSpec:return self.inputs+ @override+ def validate_output(self):+ pass+@overrideasync def _run_operator_pipe(self,@@ -59,7 +64,7 @@ class PipeFunc(PipeOperator):output_stuff = StuffFactory.make_stuff(name=output_name,- concept_str=self.output_concept_code,+ concept=self.output,content=the_content,)@@ -106,7 +111,15 @@ class PipeFunc(PipeOperator):raise ValueError(f"Function '{self.function_name}' return type {return_type} is not a subclass of StuffContent")requirement = TypedNamedInputRequirement(- variable_name="mock_output", concept_code=f"mock.{return_type.__name__}", structure_class=return_type, multiplicity=False+ variable_name="mock_output",+ concept=ConceptFactory.make(+ concept_code=f"{return_type.__name__}",+ domain="generic",+ definition="Lorem Ipsum",+ structure_class_name=return_type.__name__,+ ),+ structure_class=return_type,+ multiplicity=False,)mock_content = WorkingMemoryFactory.create_mock_content(requirement)@@ -115,7 +128,7 @@ class PipeFunc(PipeOperator):output_stuff = StuffFactory.make_stuff(name=output_name,- concept_str=self.output_concept_code,+ concept=self.output,content=mock_content,)diff --git a/pipelex/pipe_operators/func/pipe_func_blueprint.py b/pipelex/pipe_operators/func/pipe_func_blueprint.pynew file mode 100644index 000000000..ded1ad92e--- /dev/null+++ b/pipelex/pipe_operators/func/pipe_func_blueprint.py@@ -0,0 +1,8 @@+from typing import Literal++from pipelex.core.pipes.pipe_blueprint import PipeBlueprint+++class PipeFuncBlueprint(PipeBlueprint):+ type: Literal["PipeFunc"] = "PipeFunc"+ function_name: strdiff --git a/pipelex/pipe_operators/func/pipe_func_factory.py b/pipelex/pipe_operators/func/pipe_func_factory.pynew file mode 100644index 000000000..e5745616b--- /dev/null+++ b/pipelex/pipe_operators/func/pipe_func_factory.py@@ -0,0 +1,41 @@+from typing import List, Optional++from typing_extensions import override++from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactory+from pipelex.hub import get_concept_provider+from pipelex.pipe_operators.func.pipe_func import PipeFunc+from pipelex.pipe_operators.func.pipe_func_blueprint import PipeFuncBlueprint+++class PipeFuncFactory(PipeFactoryProtocol[PipeFuncBlueprint, PipeFunc]):+ @classmethod+ @override+ def make_from_blueprint(+ cls,+ domain: str,+ pipe_code: str,+ blueprint: PipeFuncBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,+ ) -> PipeFunc:+ output_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=blueprint.output_concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ return PipeFunc(+ domain=domain,+ code=pipe_code,+ definition=blueprint.definition,+ inputs=PipeInputSpecFactory.make_from_blueprint(+ domain=domain, blueprint=blueprint.inputs or {}, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain+ ),+ output=get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=output_domain_and_code.domain, concept_code=output_domain_and_code.concept_code+ )+ ),+ function_name=blueprint.function_name,+ )diff --git a/pipelex/pipe_operators/pipe_img_gen.py b/pipelex/pipe_operators/img_gen/pipe_img_gen.pysimilarity index 87%rename from pipelex/pipe_operators/pipe_img_gen.pyrename to pipelex/pipe_operators/img_gen/pipe_img_gen.pyindex de624c0e0..290b4569c 100644--- a/pipelex/pipe_operators/pipe_img_gen.py+++ b/pipelex/pipe_operators/img_gen/pipe_img_gen.py@@ -10,9 +10,11 @@ from pipelex.cogt.imgg.imgg_handle import ImggHandlefrom pipelex.cogt.imgg.imgg_job_components import AspectRatio, Background, ImggJobParams, Qualityfrom pipelex.cogt.imgg.imgg_prompt import ImggPromptfrom pipelex.config import StaticValidationReaction, get_config-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnumfrom pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.pipes.pipe_input_spec import PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeOutputMultiplicity, PipeRunMode, PipeRunParams, output_multiplicity_to_applyfrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory@@ -51,7 +53,6 @@ DEFAULT_PROMPT_VAR_NAME = "prompt"class PipeImgGen(PipeOperator):- output_concept_code: str = NativeConcept.IMAGE.codeimgg_prompt: Optional[str] = None# TODO: wrap this up in imgg llm_presets like for llmimgg_handle: Optional[ImggHandle] = None@@ -80,14 +81,31 @@ class PipeImgGen(PipeOperator):self._validate_inputs()return self+ @override+ def validate_output(self):+ if not get_concept_provider().is_compatible(+ tested_concept=self.output,+ wanted_concept=get_concept_provider().get_native_concept(native_concept=NativeConceptEnum.IMAGE),+ strict=True,+ ):+ raise PipeDefinitionError(+ f"The output of a ImgGen pipe must be compatible with the Image concept. "+ f"In the pipe '{self.code}' the output is '{self.output.concept_string}'"+ )+@overridedef needed_inputs(self) -> PipeInputSpec:- needed_inputs = PipeInputSpec.make_empty()+ needed_inputs = PipeInputSpecFactory.make_empty()if self.imgg_prompt:- needed_inputs.add_requirement(variable_name="imgg_prompt", concept_code=NativeConcept.TEXT.code)+ needed_inputs.add_requirement(+ variable_name="imgg_prompt",+ concept=ConceptFactory.make_native_concept(+ native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT],+ ),+ )else:for input_name, requirement in self.inputs.items:- needed_inputs.add_requirement(variable_name=input_name, concept_code=requirement.concept_code)+ needed_inputs.add_requirement(variable_name=input_name, concept=requirement.concept)return needed_inputs@override@@ -112,20 +130,20 @@ class PipeImgGen(PipeOperator):candidate_prompt_var_names: List[str] = []for input_name, requirement in self.inputs.items:- log.debug(f"Validating input '{input_name}' with concept code '{requirement.concept_code}'")- if concept_provider.is_compatible_by_concept_code(- tested_concept_code=requirement.concept_code,- wanted_concept_code=NativeConcept.TEXT.code,+ log.debug(f"Validating input '{input_name}' with concept code '{requirement.concept.code}'")+ if concept_provider.is_compatible(+ tested_concept=requirement.concept,+ wanted_concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),):self.img_gen_prompt_var_name = input_namecandidate_prompt_var_names.append(input_name)else:inadequate_input_concept_error = StaticValidationError(error_type=StaticValidationErrorType.INADEQUATE_INPUT_CONCEPT,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[input_name],- provided_concept_code=requirement.concept_code,+ provided_concept_code=requirement.concept.code,explanation="Only a text input can be provided for image gen prompt",)match reactions.get(StaticValidationErrorType.INADEQUATE_INPUT_CONCEPT, default_reaction):@@ -138,7 +156,7 @@ class PipeImgGen(PipeOperator):if len(candidate_prompt_var_names) > 1:too_many_candidate_inputs_error = StaticValidationError(error_type=StaticValidationErrorType.TOO_MANY_CANDIDATE_INPUTS,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=candidate_prompt_var_names,explanation="Only one text input can be provided for image gen prompt",@@ -153,7 +171,7 @@ class PipeImgGen(PipeOperator):elif len(candidate_prompt_var_names) == 0:missing_input_var_error = StaticValidationError(error_type=StaticValidationErrorType.MISSING_INPUT_VARIABLE,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,explanation="You must provide an image gen prompt either as attribute of the pipe or as a single text input",)@@ -178,10 +196,11 @@ class PipeImgGen(PipeOperator):) -> PipeImgGenOutput:content_generator = content_generator or get_content_generator()- applied_output_multiplicity, _, _ = output_multiplicity_to_apply(- output_multiplicity_base=self.output_multiplicity or False,- output_multiplicity_override=pipe_run_params.output_multiplicity,+ multiplicity_resolution = output_multiplicity_to_apply(+ base_multiplicity=self.output_multiplicity or False,+ override_multiplicity=pipe_run_params.output_multiplicity,)+ applied_output_multiplicity = multiplicity_resolution.resolved_multiplicitylog.debug("Getting image generation prompt from context")if self.imgg_prompt:@@ -283,7 +302,7 @@ class PipeImgGen(PipeOperator):output_stuff = StuffFactory.make_stuff(name=output_name,- concept_str=self.output_concept_code,+ concept=self.output,content=the_content,)diff --git a/pipelex/pipe_operators/pipe_img_gen_factory.py b/pipelex/pipe_operators/img_gen/pipe_img_gen_blueprint.pysimilarity index 52%rename from pipelex/pipe_operators/pipe_img_gen_factory.pyrename to pipelex/pipe_operators/img_gen/pipe_img_gen_blueprint.pyindex 528a0a1ba..a08ad0f00 100644--- a/pipelex/pipe_operators/pipe_img_gen_factory.py+++ b/pipelex/pipe_operators/img_gen/pipe_img_gen_blueprint.py@@ -1,15 +1,12 @@from typing import Literal, Optional, Unionfrom pydantic import Field, model_validator-from typing_extensions import Self, override+from typing_extensions import Selffrom pipelex.cogt.imgg.imgg_handle import ImggHandlefrom pipelex.cogt.imgg.imgg_job_components import AspectRatio, Qualityfrom pipelex.core.pipes.pipe_blueprint import PipeBlueprint-from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol-from pipelex.core.pipes.pipe_input_spec import PipeInputSpecfrom pipelex.exceptions import PipeDefinitionError-from pipelex.pipe_operators.pipe_img_gen import PipeImgGenfrom pipelex.tools.typing.validation_utils import has_more_than_one_among_attributes_from_lists@@ -38,33 +35,3 @@ class PipeImgGenBlueprint(PipeBlueprint):):raise PipeDefinitionError(f"PipeImgGenBlueprint should have no more than one of {excess_attributes_list} among them")return self---class PipeImgGenFactory(PipeFactoryProtocol[PipeImgGenBlueprint, PipeImgGen]):- @classmethod- @override- def make_pipe_from_blueprint(- cls,- domain_code: str,- pipe_code: str,- pipe_blueprint: PipeImgGenBlueprint,- ) -> PipeImgGen:- output_multiplicity = pipe_blueprint.nb_output or 1- return PipeImgGen(- domain=domain_code,- code=pipe_code,- definition=pipe_blueprint.definition,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- output_concept_code=pipe_blueprint.output,- output_multiplicity=output_multiplicity,- imgg_prompt=pipe_blueprint.img_gen_prompt,- imgg_handle=pipe_blueprint.imgg_handle,- aspect_ratio=pipe_blueprint.aspect_ratio,- nb_steps=pipe_blueprint.nb_steps,- guidance_scale=pipe_blueprint.guidance_scale,- is_moderated=pipe_blueprint.is_moderated,- safety_tolerance=pipe_blueprint.safety_tolerance,- is_raw=pipe_blueprint.is_raw,- seed=pipe_blueprint.seed,- img_gen_prompt_var_name=pipe_blueprint.img_gen_prompt_var_name,- )diff --git a/pipelex/pipe_operators/img_gen/pipe_img_gen_factory.py b/pipelex/pipe_operators/img_gen/pipe_img_gen_factory.pynew file mode 100644index 000000000..14cb5e58d--- /dev/null+++ b/pipelex/pipe_operators/img_gen/pipe_img_gen_factory.py@@ -0,0 +1,51 @@+from typing import List, Optional++from typing_extensions import override++from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactory+from pipelex.hub import get_concept_provider+from pipelex.pipe_operators.img_gen.pipe_img_gen import PipeImgGen+from pipelex.pipe_operators.img_gen.pipe_img_gen_blueprint import PipeImgGenBlueprint+++class PipeImgGenFactory(PipeFactoryProtocol[PipeImgGenBlueprint, PipeImgGen]):+ @classmethod+ @override+ def make_from_blueprint(+ cls,+ domain: str,+ pipe_code: str,+ blueprint: PipeImgGenBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,+ ) -> PipeImgGen:+ output_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=blueprint.output_concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ return PipeImgGen(+ domain=domain,+ code=pipe_code,+ definition=blueprint.definition,+ inputs=PipeInputSpecFactory.make_from_blueprint(+ domain=domain, blueprint=blueprint.inputs or {}, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain+ ),+ output=get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=output_domain_and_code.domain, concept_code=output_domain_and_code.concept_code+ )+ ),+ output_multiplicity=blueprint.nb_output or 1,+ imgg_prompt=blueprint.img_gen_prompt,+ imgg_handle=blueprint.imgg_handle,+ aspect_ratio=blueprint.aspect_ratio,+ nb_steps=blueprint.nb_steps,+ guidance_scale=blueprint.guidance_scale,+ is_moderated=blueprint.is_moderated,+ safety_tolerance=blueprint.safety_tolerance,+ is_raw=blueprint.is_raw,+ seed=blueprint.seed,+ img_gen_prompt_var_name=blueprint.img_gen_prompt_var_name,+ )diff --git a/pipelex/pipe_operators/pipe_jinja2.py b/pipelex/pipe_operators/jinja2/pipe_jinja2.pysimilarity index 90%rename from pipelex/pipe_operators/pipe_jinja2.pyrename to pipelex/pipe_operators/jinja2/pipe_jinja2.pyindex b4376ef4c..c882f3ee8 100644--- a/pipelex/pipe_operators/pipe_jinja2.py+++ b/pipelex/pipe_operators/jinja2/pipe_jinja2.py@@ -1,6 +1,5 @@from typing import Any, ClassVar, Dict, Optional, Set-import shortuuidfrom jinja2 import TemplateSyntaxErrorfrom pydantic import ConfigDict, model_validatorfrom typing_extensions import Self, override@@ -9,14 +8,17 @@ from pipelex import logfrom pipelex.cogt.content_generation.content_generator_dry import ContentGeneratorDryfrom pipelex.cogt.content_generation.content_generator_protocol import ContentGeneratorProtocolfrom pipelex.config import get_config-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept import Concept+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnumfrom pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.pipes.pipe_input_spec import PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunMode, PipeRunParamsfrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory-from pipelex.core.stuffs.stuff import Stufffrom pipelex.core.stuffs.stuff_content import TextContent+from pipelex.core.stuffs.stuff_factory import StuffFactoryfrom pipelex.exceptions import PipeDefinitionError, PipeRunParamsErrorfrom pipelex.hub import get_content_generator, get_template, get_template_providerfrom pipelex.pipe_operators.pipe_operator import PipeOperator@@ -39,7 +41,9 @@ class PipeJinja2(PipeOperator):model_config = ConfigDict(extra="forbid", strict=False)adhoc_pipe_code: ClassVar[str] = "jinja2_render"- output_concept_code: str = NativeConcept.TEXT.code+ output: Concept = ConceptFactory.make_native_concept(+ native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT],+ )jinja2_name: Optional[str] = Nonejinja2: Optional[str] = None@@ -71,6 +75,10 @@ class PipeJinja2(PipeOperator):raise PipeDefinitionError(f"Required variable '{required_variable_name}' is not in the inputs of pipe {self.code}")return self+ @override+ def validate_output(self):+ pass+@overridedef validate_with_libraries(self):if self.jinja2_name:@@ -79,9 +87,9 @@ class PipeJinja2(PipeOperator):@overridedef needed_inputs(self) -> PipeInputSpec:- needed_inputs = PipeInputSpec.make_empty()+ needed_inputs = PipeInputSpecFactory.make_empty()for input_name, requirement in self.inputs.root.items():- needed_inputs.add_requirement(variable_name=input_name, concept_code=requirement.concept_code)+ needed_inputs.add_requirement(variable_name=input_name, concept=requirement.concept)return needed_inputs@property@@ -122,7 +130,7 @@ class PipeJinja2(PipeOperator):f"PipeJinja2 does not suppport multiple outputs, got output_multiplicity = {pipe_run_params.output_multiplicity}")- context: Dict[str, Any] = working_memory.generate_stuff_artefact_dict()+ context: Dict[str, Any] = working_memory.generate_context()if pipe_run_params:context.update(**pipe_run_params.params)if self.extra_context:@@ -139,12 +147,7 @@ class PipeJinja2(PipeOperator):assert isinstance(jinja2_text, str)the_content = TextContent(text=jinja2_text)- output_stuff = Stuff(- concept_code=self.output_concept_code,- content=the_content,- stuff_name=output_name,- stuff_code=shortuuid.uuid()[:5],- )+ output_stuff = StuffFactory.make_stuff(concept=self.output, content=the_content, name=output_name)working_memory.set_new_main_stuff(stuff=output_stuff,diff --git a/pipelex/pipe_operators/jinja2/pipe_jinja2_blueprint.py b/pipelex/pipe_operators/jinja2/pipe_jinja2_blueprint.pynew file mode 100644index 000000000..4cdf09ee0--- /dev/null+++ b/pipelex/pipe_operators/jinja2/pipe_jinja2_blueprint.py@@ -0,0 +1,8 @@+from typing import Literal++from pipelex.core.pipes.pipe_blueprint import PipeBlueprint+from pipelex.tools.templating.jinja2_blueprint import Jinja2Blueprint+++class PipeJinja2Blueprint(PipeBlueprint, Jinja2Blueprint):+ type: Literal["PipeJinja2"] = "PipeJinja2"diff --git a/pipelex/pipe_operators/jinja2/pipe_jinja2_factory.py b/pipelex/pipe_operators/jinja2/pipe_jinja2_factory.pynew file mode 100644index 000000000..abfe83e9e--- /dev/null+++ b/pipelex/pipe_operators/jinja2/pipe_jinja2_factory.py@@ -0,0 +1,90 @@+from typing import List, Optional++from typing_extensions import override++from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol+from pipelex.core.pipes.pipe_input_spec import PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactory+from pipelex.exceptions import PipeDefinitionError+from pipelex.hub import get_concept_provider+from pipelex.pipe_operators.jinja2.pipe_jinja2 import PipeJinja2+from pipelex.pipe_operators.jinja2.pipe_jinja2_blueprint import PipeJinja2Blueprint+from pipelex.tools.templating.jinja2_parsing import check_jinja2_parsing+from pipelex.tools.templating.jinja2_template_category import Jinja2TemplateCategory+from pipelex.tools.templating.template_preprocessor import preprocess_template+++class PipeJinja2Factory(PipeFactoryProtocol[PipeJinja2Blueprint, PipeJinja2]):+ @classmethod+ @override+ def make_from_blueprint(+ cls,+ domain: str,+ pipe_code: str,+ blueprint: PipeJinja2Blueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,+ ) -> PipeJinja2:+ preprocessed_template: Optional[str] = None+ if blueprint.jinja2:+ preprocessed_template = preprocess_template(blueprint.jinja2)+ check_jinja2_parsing(+ jinja2_template_source=preprocessed_template,+ template_category=blueprint.template_category,+ )+ else:+ preprocessed_template = None++ output_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=blueprint.output_concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ return PipeJinja2(+ domain=domain,+ code=pipe_code,+ definition=blueprint.definition,+ inputs=PipeInputSpecFactory.make_from_blueprint(+ domain=domain, blueprint=blueprint.inputs or {}, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain+ ),+ output=get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=output_domain_and_code.domain, concept_code=output_domain_and_code.concept_code+ )+ ),+ jinja2_name=blueprint.jinja2_name,+ jinja2=preprocessed_template,+ prompting_style=blueprint.prompting_style,+ template_category=blueprint.template_category,+ extra_context=blueprint.extra_context,+ )++ @classmethod+ def make_pipe_jinja2_from_template_str(+ cls,+ domain: str,+ inputs: Optional[PipeInputSpec] = None,+ template_str: Optional[str] = None,+ template_name: Optional[str] = None,+ ) -> PipeJinja2:+ if template_str:+ preprocessed_template = preprocess_template(template_str)+ check_jinja2_parsing(+ jinja2_template_source=preprocessed_template,+ template_category=Jinja2TemplateCategory.LLM_PROMPT,+ )+ return PipeJinja2(+ domain=domain,+ code="adhoc_pipe_jinja2_from_template_str",+ jinja2=preprocessed_template,+ inputs=inputs or PipeInputSpecFactory.make_empty(),+ )+ elif template_name:+ return PipeJinja2(+ domain=domain,+ code="adhoc_pipe_jinja2_from_template_name",+ jinja2_name=template_name,+ inputs=inputs or PipeInputSpecFactory.make_empty(),+ )+ else:+ raise PipeDefinitionError("Either template_str or template_name must be provided to make_pipe_jinja2_from_template_str")diff --git a/pipelex/pipe_operators/pipe_llm.py b/pipelex/pipe_operators/llm/pipe_llm.pysimilarity index 71%rename from pipelex/pipe_operators/pipe_llm.pyrename to pipelex/pipe_operators/llm/pipe_llm.pyindex 54db47d07..95bd71b36 100644--- a/pipelex/pipe_operators/pipe_llm.py+++ b/pipelex/pipe_operators/llm/pipe_llm.py@@ -10,13 +10,15 @@ from pipelex.cogt.llm.llm_models.llm_deck_check import check_llm_setting_with_defrom pipelex.cogt.llm.llm_models.llm_setting import LLMSetting, LLMSettingChoices, LLMSettingOrPresetIdfrom pipelex.cogt.llm.llm_prompt import LLMPromptfrom pipelex.cogt.llm.llm_prompt_factory_abstract import LLMPromptFactoryAbstract+from pipelex.cogt.llm.llm_prompt_spec import LLMPromptSpec+from pipelex.cogt.llm.llm_prompt_template import LLMPromptTemplatefrom pipelex.config import StaticValidationReaction, get_config-from pipelex.core.concepts.concept import Concept-from pipelex.core.concepts.concept_code_factory import ConceptCodeFactory-from pipelex.core.concepts.concept_native import NativeConcept, NativeConceptClass+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NativeConceptEnumfrom pipelex.core.domains.domain import Domain, SpecialDomainfrom pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.pipes.pipe_input_spec import PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import (PipeOutputMultiplicity,@@ -44,17 +46,10 @@ from pipelex.hub import (get_required_pipe,get_template,)-from pipelex.pipe_operators.pipe_jinja2_factory import PipeJinja2Factory-from pipelex.pipe_operators.pipe_llm_prompt import PipeLLMPrompt, PipeLLMPromptOutput+from pipelex.pipe_operators.llm.pipe_llm_blueprint import StructuringMethodfrom pipelex.pipe_operators.pipe_operator import PipeOperator-from pipelex.pipe_operators.piped_llm_prompt_factory import PipedLLMPromptFactory-from pipelex.pipeline.job_metadata import JobCategory, JobMetadata-from pipelex.types import StrEnum---class StructuringMethod(StrEnum):- DIRECT = "direct"- PRELIMINARY_TEXT = "preliminary_text"+from pipelex.pipeline.job_metadata import JobMetadata+from pipelex.tools.typing.type_inspector import get_type_structureclass PipeLLMOutput(PipeOutput):@@ -62,7 +57,7 @@ class PipeLLMOutput(PipeOutput):class PipeLLM(PipeOperator):- pipe_llm_prompt: PipeLLMPrompt+ llm_prompt_spec: LLMPromptSpecllm_choices: Optional[LLMSettingChoices] = Nonestructuring_method: Optional[StructuringMethod] = Noneprompt_template_to_structure: Optional[str] = None@@ -78,19 +73,17 @@ class PipeLLM(PipeOperator):@model_validator(mode="after")def validate_output_concept_consistency(self) -> Self:if self.structuring_method is not None:- output_concept = get_required_concept(concept_code=self.output_concept_code)- if output_concept.structure_class_name == NativeConceptClass.TEXT:- concept_name = Concept.extract_concept_name_from_str(concept_str=self.output_concept_code)+ if self.output.structure_class_name == NativeConceptEnum.TEXT.value:raise PipeDefinitionError(- f"Output concept '{self.output_concept_code}' is considered a Text concept, "- f"so it cannot be structured. Maybe you forgot to add '{concept_name}' to the class registry?"+ f"Output concept '{self.output.code}' is considered a Text concept, "+ f"so it cannot be structured. Maybe you forgot to add '{NativeConceptEnum.TEXT.value}' to the class registry?")return self@overridedef validate_with_libraries(self):self._validate_inputs()- self.pipe_llm_prompt.validate_with_libraries()+ self.llm_prompt_spec.validate_with_libraries()if self.prompt_template_to_structure:get_template(template_name=self.prompt_template_to_structure)if self.system_prompt_to_structure:@@ -99,19 +92,32 @@ class PipeLLM(PipeOperator):for llm_setting in self.llm_choices.list_used_presets():check_llm_setting_with_deck(llm_setting_or_preset_id=llm_setting)+ @override+ def validate_output(self):+ if get_concept_provider().is_compatible(+ tested_concept=self.output,+ wanted_concept=get_concept_provider().get_native_concept(native_concept=NativeConceptEnum.IMAGE),+ ):+ raise PipeDefinitionError(+ f"The output of a LLM pipe cannot be compatible with the Image concept. In the "+ f"pipe '{self.code}' the output is '{self.output.concept_string}'"+ )+@overridedef needed_inputs(self) -> PipeInputSpec:"""Needed inputs are the inputs needed to run the pipe, specified in the inputs attribute of the pipe"""# The images are not tagged in the prompt_template.# Therefore if an image is provided in the inputs, it becomes a needed input.- needed_inputs = PipeInputSpec.make_empty()+ needed_inputs = PipeInputSpecFactory.make_empty()concept_provider = get_concept_provider()for input_name, requirement in self.inputs.items:- if concept_provider.is_image_concept(concept_code=requirement.concept_code):- needed_inputs.add_requirement(variable_name=input_name, concept_code=NativeConcept.IMAGE.code)+ if concept_provider.is_image_concept(concept=requirement.concept):+ needed_inputs.add_requirement(+ variable_name=input_name, concept=concept_provider.get_native_concept(native_concept=NativeConceptEnum.IMAGE)+ )else:- needed_inputs.add_requirement(variable_name=input_name, concept_code=requirement.concept_code)+ needed_inputs.add_requirement(variable_name=input_name, concept=requirement.concept)return needed_inputs@@ -119,7 +125,7 @@ class PipeLLM(PipeOperator):def required_variables(self) -> Set[str]:"""Required variables are the variables that are used in the current prompt template or system prompt"""required_variables: Set[str] = set()- required_variables.update(self.pipe_llm_prompt.required_variables())+ required_variables.update(self.llm_prompt_spec.required_variables())required_variables = {variable_name for variable_name in required_variables if not variable_name.startswith("_")}return required_variables@@ -143,7 +149,7 @@ class PipeLLM(PipeOperator):if named_input_requirement.variable_name not in self.inputs.variables:missing_input_var_error = StaticValidationError(error_type=StaticValidationErrorType.MISSING_INPUT_VARIABLE,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[named_input_requirement.variable_name],)@@ -155,39 +161,41 @@ class PipeLLM(PipeOperator):case StaticValidationReaction.RAISE:raise missing_input_var_error- # there is one case where the needed input is of specific concept: the user_images- if named_input_requirement.concept_code == NativeConcept.IMAGE.code:+ # There is one case where the needed input is of specific concept: the user_images+ if named_input_requirement.concept == concept_provider.get_native_concept(native_concept=NativeConceptEnum.IMAGE):try:- concept_code_of_declared_input = self.inputs.get_required_concept_code(variable_name=named_input_requirement.variable_name)+ input_requirement_of_declared_input = self.inputs.get_required_input_requirement(+ variable_name=named_input_requirement.variable_name+ )except PipeInputNotFoundError as exc:raise PipeInputError(f"Input variable '{named_input_requirement.variable_name}' is not in this PipeLLM '{self.code}' input spec: {self.inputs}") from exc- if not concept_provider.is_compatible_by_concept_code(- tested_concept_code=concept_code_of_declared_input,- wanted_concept_code=named_input_requirement.concept_code,+ if not concept_provider.is_compatible(+ tested_concept=input_requirement_of_declared_input.concept,+ wanted_concept=named_input_requirement.concept,):if named_input_requirement.variable_name != named_input_requirement.requirement_expression:# the required_input is a sub-attribute of the required variable# TODO: check that the sub-attribute is compatible with the concept code# let's check at least that the input is a structured concept- input_concept = concept_provider.get_required_concept(concept_code=concept_code_of_declared_input)+ input_concept = input_requirement_of_declared_input.conceptinput_concept_class_name = input_concept.structure_class_nameinput_concept_class = get_class_registry().get_required_subclass(name=input_concept_class_name, base_class=StuffContent)if issubclass(input_concept_class, StructuredContent):continueexplanation = "The input provided for LLM Vision must be an image or a concept that refines image"- if inadequate_concept := get_concept_provider().get_concept(concept_code=concept_code_of_declared_input):+ if inadequate_concept := input_requirement_of_declared_input.concept:explanation += f",\nconcept = {inadequate_concept}"else:explanation += ",\nconcept not found"inadequate_input_concept_error = StaticValidationError(error_type=StaticValidationErrorType.INADEQUATE_INPUT_CONCEPT,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[named_input_requirement.variable_name],- provided_concept_code=concept_code_of_declared_input,+ provided_concept_code=input_requirement_of_declared_input.concept.code,explanation=explanation,)match reactions.get(StaticValidationErrorType.INADEQUATE_INPUT_CONCEPT, default_reaction):@@ -197,12 +205,13 @@ class PipeLLM(PipeOperator):log.error(inadequate_input_concept_error.desc())case StaticValidationReaction.RAISE:raise inadequate_input_concept_error- # check that all inputs are in the required variables++ # Check that all inputs are in the required variablesfor input_name in self.inputs.variables:if input_name not in the_needed_inputs.required_names:extraneous_input_var_error = StaticValidationError(error_type=StaticValidationErrorType.EXTRANEOUS_INPUT_VARIABLE,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[input_name],)@@ -213,14 +222,6 @@ class PipeLLM(PipeOperator):log.error(extraneous_input_var_error.desc())case StaticValidationReaction.RAISE:raise extraneous_input_var_error- else:- # Check if this input is an image concept but is being used as a variable in the prompt- if concept_provider.is_image_concept(concept_code=input_name):- raise PipeDefinitionError(- f"Image-based input '{input_name}' of concept '{input_name}' "- f"cannot be used as a variable in a prompt for Pipe '{self.code}'. "- f"Image variables are automatically passed to vision-enabled LLMs."- )@overrideasync def _run_operator_pipe(@@ -234,38 +235,28 @@ class PipeLLM(PipeOperator):content_generator = content_generator or get_content_generator()# interpret / unwrap the argumentslog.debug(f"PipeLLM pipe_code = {self.code}")- if self.output_concept_code == ConceptCodeFactory.make_concept_code(- SpecialDomain.NATIVE,- NativeConcept.DYNAMIC.code,- ):+ output_concept = self.output+ if self.output.code == SpecialDomain.NATIVE.value + "." + NativeConceptEnum.DYNAMIC.value:# TODO: This DYNAMIC_OUTPUT_CONCEPT should not be a field in the params attribute of PipeRunParams.# It should be an attribute of PipeRunParams.output_concept_code = pipe_run_params.dynamic_output_concept_code or pipe_run_params.params.get(PipeRunParamKey.DYNAMIC_OUTPUT_CONCEPT)if not output_concept_code:- output_concept_code = NativeConcept.TEXT.code- else:- output_concept_code = self.output_concept_code+ output_concept_code = SpecialDomain.NATIVE.value + "." + NativeConceptEnum.TEXT.value+ else:+ output_concept = get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(domain=self.domain, concept_code=output_concept_code)+ )- self.pipe_llm_prompt.output_concept_code = output_concept_code+ # self.llm_prompt_spec.output = output_concept- applied_output_multiplicity, is_multiple_output, fixed_nb_output = output_multiplicity_to_apply(- output_multiplicity_base=self.output_multiplicity,- output_multiplicity_override=pipe_run_params.output_multiplicity,- )- log.debug(- f"PipeLLM pipe_code = {self.code}: applied_output_multiplicity = {applied_output_multiplicity}, "- f"is_multiple_output = {is_multiple_output}, fixed_nb_output = {fixed_nb_output}"+ multiplicity_resolution = output_multiplicity_to_apply(+ base_multiplicity=self.output_multiplicity,+ override_multiplicity=pipe_run_params.output_multiplicity,)-- output_concept = get_required_concept(concept_code=output_concept_code)- if is_multiple_output:- if fixed_nb_output:- log.verbose(f"{self.class_name} generate {fixed_nb_output} x '{output_concept_code}' (class '{output_concept.structure_class_name}')")- else:- log.verbose(f"{self.class_name} generate a list of '{output_concept_code}' (class '{output_concept.structure_class_name}')")- else:- log.verbose(f"{self.class_name} generate a single '{output_concept_code}' (class '{output_concept.structure_class_name}')")+ applied_output_multiplicity = multiplicity_resolution.resolved_multiplicity+ is_multiple_output = multiplicity_resolution.enable_multiple_outputs+ fixed_nb_output = multiplicity_resolution.specific_output_count# Collect what LLM settings we have for this particular PipeLLMllm_for_text_choice: Optional[LLMSettingOrPresetId] = None@@ -292,49 +283,39 @@ class PipeLLM(PipeOperator):)llm_setting_for_object: LLMSetting = get_llm_deck().get_llm_setting(llm_setting_or_preset_id=llm_setting_or_preset_id_for_object)- if not self.pipe_llm_prompt.prompting_style and (llm_model := get_llm_deck().find_optional_llm_model(llm_handle=llm_setting_main.llm_handle)):+ if not self.llm_prompt_spec.prompting_style and (llm_model := get_llm_deck().find_optional_llm_model(llm_handle=llm_setting_main.llm_handle)):llm_family = llm_model.llm_family- if llm_setting_main.prompting_target:- log.dev(f"prompting_target for '{llm_setting_main.llm_handle}' from setting: {llm_setting_main}")- else:- log.dev(f"prompting_target for '{llm_setting_main.llm_handle}' from llm_family: {llm_family}")prompting_target = llm_setting_main.prompting_target or llm_family.prompting_target- self.pipe_llm_prompt.prompting_style = get_config().pipelex.prompting_config.get_prompting_style(+ self.llm_prompt_spec.prompting_style = get_config().pipelex.prompting_config.get_prompting_style(prompting_target=prompting_target,)- # prepare the job- prompt_job_metadata = job_metadata.copy_with_update(- updated_metadata=JobMetadata(- job_category=JobCategory.PROMPTING_JOB,- )- )-is_with_preliminary_text = (self.structuring_method == StructuringMethod.PRELIMINARY_TEXT) or get_config().pipelex.structure_config.is_default_text_then_structure++ # Append output structure prompt if needed+ output_structure_prompt: Optional[str] = PipeLLM.get_output_structure_prompt(+ concept_string=pipe_run_params.dynamic_output_concept_code or output_concept.concept_string,+ is_with_preliminary_text=is_with_preliminary_text or False,+ )+llm_prompt_run_params = PipeRunParams.copy_by_injecting_multiplicity(pipe_run_params=pipe_run_params,applied_output_multiplicity=applied_output_multiplicity,is_with_preliminary_text=is_with_preliminary_text,)- # llm_prompt_1: LLMPrompt = (- # await self.pipe_llm_prompt.run_pipe(- # job_metadata=prompt_job_metadata,- # working_memory=working_memory,- # pipe_run_params=llm_prompt_run_params,- # )- # ).llm_prompt- # TODO: restore the possibility above, without need to explicitly cast the output- pipe_output: PipeOutput = await self.pipe_llm_prompt.run_pipe(- job_metadata=prompt_job_metadata,- working_memory=working_memory,- pipe_run_params=llm_prompt_run_params,+ # TODO: we need a better solution for structuring_method (text then object), meanwhile,+ # we acknowledge the code here with llm_prompt_1 and llm_prompt_2 is overly complex and should be refactored.+ llm_prompt_1 = await self.llm_prompt_spec.make_llm_prompt(+ output_concept_string=output_concept.concept_string,+ context_provider=working_memory,+ output_structure_prompt=output_structure_prompt,+ extra_params=llm_prompt_run_params.params,)- llm_prompt_1 = cast(PipeLLMPromptOutput, pipe_output).llm_promptthe_content: StuffContent- if output_concept.structure_class_name == NativeConceptClass.TEXT and not is_multiple_output:+ if output_concept.structure_class_name == NativeConceptEnum.TEXT.value and not is_multiple_output:log.debug(f"PipeLLM generating a single text output: {self.class_name}_gen_text")generated_text: str = await content_generator.make_llm_text(job_metadata=job_metadata,@@ -346,8 +327,13 @@ class PipeLLM(PipeOperator):text=generated_text,)else:- log.debug(f"PipeLLM generating {fixed_nb_output} output(s)" if fixed_nb_output else "PipeLLM generating a list of output(s)")+ if is_multiple_output:+ log.debug(f"PipeLLM generating {fixed_nb_output} output(s)" if fixed_nb_output else "PipeLLM generating a list of output(s)")+ else:+ log.debug("PipeLLM generating a single output")+ # TODO: we need a better solution for structuring_method (text then object), meanwhile,+ # we acknowledge the code here with llm_prompt_1 and llm_prompt_2 is overly complex and should be refactored.llm_prompt_2_factory: Optional[LLMPromptFactoryAbstract]if self.structuring_method:structuring_method = cast(StructuringMethod, self.structuring_method)@@ -358,46 +344,33 @@ class PipeLLM(PipeOperator):case StructuringMethod.PRELIMINARY_TEXT:pipe = get_required_pipe(pipe_code=self.code)# TODO: run_pipe() could get the domain at the same time as the pip_code- domain = get_required_domain(domain_code=pipe.domain)+ domain = get_required_domain(domain=pipe.domain)prompt_template_to_structure = self.prompt_template_to_structure or domain.prompt_template_to_structure- user_pipe_jinja2 = PipeJinja2Factory.make_pipe_jinja2_to_structure(- domain_code=self.domain,- prompt_template_to_structure=prompt_template_to_structure,- )system_prompt = self.system_prompt_to_structure or domain.system_prompt- pipe_llm_prompt_2 = PipeLLMPrompt(- code="adhoc_for_pipe_llm_prompt_2",- domain=self.domain,- user_pipe_jinja2=user_pipe_jinja2,- system_prompt=system_prompt,- output_concept_code=output_concept_code,+ llm_prompt_2_proto = LLMPrompt(+ system_text=system_prompt,+ user_text=prompt_template_to_structure,)- llm_prompt_2_factory = PipedLLMPromptFactory(- pipe_llm_prompt=pipe_llm_prompt_2,+ llm_prompt_2_factory = LLMPromptTemplate(+ proto_prompt=llm_prompt_2_proto,)elif get_config().pipelex.structure_config.is_default_text_then_structure:log.debug(f"PipeLLM pipe_code is '{self.code}' and is_default_text_then_structure")# TODO: run_pipe() should get the domain along with the pip_codeif the_pipe := get_optional_pipe(pipe_code=self.code):- domain = get_required_domain(domain_code=the_pipe.domain)+ domain = get_required_domain(domain=the_pipe.domain)else:domain = Domain.make_default()prompt_template_to_structure = self.prompt_template_to_structure or domain.prompt_template_to_structure- user_pipe_jinja2 = PipeJinja2Factory.make_pipe_jinja2_to_structure(- domain_code=self.domain,- prompt_template_to_structure=prompt_template_to_structure,- )system_prompt = self.system_prompt_to_structure or domain.system_prompt- pipe_llm_prompt_2 = PipeLLMPrompt(- code="adhoc_for_pipe_llm_prompt_2",- domain=self.domain,- user_pipe_jinja2=user_pipe_jinja2,- system_prompt=system_prompt,- output_concept_code=output_concept_code,+ llm_prompt_2_proto = LLMPrompt(+ system_text=system_prompt,+ user_text=prompt_template_to_structure,)- llm_prompt_2_factory = PipedLLMPromptFactory(- pipe_llm_prompt=pipe_llm_prompt_2,+ llm_prompt_2_factory = LLMPromptTemplate(+ proto_prompt=llm_prompt_2_proto,)+ log.debug(llm_prompt_2_factory, title="llm_prompt_2_factory")else:llm_prompt_2_factory = None@@ -413,7 +386,7 @@ class PipeLLM(PipeOperator):content_generator=content_generator,)- output_stuff = StuffFactory.make_stuff_using_concept(+ output_stuff = StuffFactory.make_stuff(name=output_name,concept=output_concept,content=the_content,@@ -528,3 +501,38 @@ class PipeLLM(PipeOperator):content_generator=content_generator_dry,)return pipe_output++ @staticmethod+ def get_output_structure_prompt(concept_string: str, is_with_preliminary_text: bool) -> str:+ concept = get_required_concept(concept_string=concept_string)+ class_name = concept.structure_class_name+ output_class = get_class_registry().get_class(class_name)+ if not output_class:+ return ""++ class_structure = get_type_structure(output_class, base_class=StuffContent)++ if not class_structure:+ return ""++ class_structure_str = "\n".join(class_structure)++ # TODO: use proper prompt templating for this+ if is_with_preliminary_text:+ output_structure_prompt = (+ f"\n\n---\nRequested output format: The requested output will be used to define the following class: {class_name}\n"+ f"{class_structure_str}\n"+ "You do NOT need to output a formatted JSON object, another LLM will take care of that. "+ "If you cannot find a value that is Optional, output None for that field. "+ "However, you MUST clearly output the values for each of these fields in your response.\n---\n"+ "DO NOT create information. If the information is not present, output None."+ )+ else:+ output_structure_prompt = (+ f"\n\n---\nRequested output format: The output must conform to the following BaseModel: {class_name}\n"+ f"{class_structure_str}\n"+ "If you cannot find a value that is Optional, output None for that field. "+ "However, you MUST clearly output the values for each of these fields in your response.\n---\n"+ "DO NOT create information. If the information is not present, output None."+ )+ return output_structure_promptdiff --git a/pipelex/pipe_operators/llm/pipe_llm_blueprint.py b/pipelex/pipe_operators/llm/pipe_llm_blueprint.pynew file mode 100644index 000000000..5ef3be93f--- /dev/null+++ b/pipelex/pipe_operators/llm/pipe_llm_blueprint.py@@ -0,0 +1,57 @@+from typing import Literal, Optional++from pydantic import field_validator, model_validator+from typing_extensions import Self++from pipelex.cogt.llm.llm_models.llm_setting import LLMSettingOrPresetId+from pipelex.core.pipes.pipe_blueprint import PipeBlueprint+from pipelex.exceptions import PipeDefinitionError+from pipelex.tools.typing.validation_utils import has_more_than_one_among_attributes_from_lists+from pipelex.types import StrEnum+++class StructuringMethod(StrEnum):+ DIRECT = "direct"+ PRELIMINARY_TEXT = "preliminary_text"+++class PipeLLMBlueprint(PipeBlueprint):+ type: Literal["PipeLLM"] = "PipeLLM"+ system_prompt_template: Optional[str] = None+ system_prompt_template_name: Optional[str] = None+ system_prompt_name: Optional[str] = None+ system_prompt: Optional[str] = None++ prompt_template: Optional[str] = None+ template_name: Optional[str] = None+ prompt_name: Optional[str] = None+ prompt: Optional[str] = None++ llm: Optional[LLMSettingOrPresetId] = None+ llm_to_structure: Optional[LLMSettingOrPresetId] = None++ structuring_method: Optional[StructuringMethod] = None+ prompt_template_to_structure: Optional[str] = None+ system_prompt_to_structure: Optional[str] = None++ nb_output: Optional[int] = None+ multiple_output: Optional[bool] = None++ @field_validator("nb_output", mode="after")+ def validate_nb_output(cls, value: Optional[int] = None) -> Optional[int]:+ if value and value < 1:+ raise PipeDefinitionError("PipeLLMBlueprint nb_output must be greater than 0")+ return value++ @model_validator(mode="after")+ def validate_multiple_output(self) -> Self:+ if excess_attributes_list := has_more_than_one_among_attributes_from_lists(+ self,+ attributes_lists=[+ ["nb_output", "multiple_output"],+ ["system_prompt", "system_prompt_name", "system_prompt_template", "system_prompt_template_name"],+ ["prompt", "prompt_name", "prompt_template", "template_name"],+ ],+ ):+ raise PipeDefinitionError(f"PipeLLMBlueprint should have no more than one of {excess_attributes_list} among them")+ return selfdiff --git a/pipelex/pipe_operators/llm/pipe_llm_factory.py b/pipelex/pipe_operators/llm/pipe_llm_factory.pynew file mode 100644index 000000000..456d11f57--- /dev/null+++ b/pipelex/pipe_operators/llm/pipe_llm_factory.py@@ -0,0 +1,139 @@+from typing import List, Optional++from typing_extensions import override++from pipelex.cogt.llm.llm_models.llm_setting import LLMSettingChoices+from pipelex.cogt.llm.llm_prompt_spec import LLMPromptSpec+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactory+from pipelex.core.pipes.pipe_run_params import make_output_multiplicity+from pipelex.exceptions import PipeDefinitionError+from pipelex.hub import get_concept_provider, get_optional_domain+from pipelex.pipe_operators.llm.pipe_llm import PipeLLM+from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint+from pipelex.tools.templating.jinja2_blueprint import Jinja2Blueprint+from pipelex.tools.templating.jinja2_errors import Jinja2TemplateError+from pipelex.tools.templating.template_provider_abstract import TemplateNotFoundError+++class PipeLLMFactory(PipeFactoryProtocol[PipeLLMBlueprint, PipeLLM]):+ @classmethod+ @override+ def make_from_blueprint(+ cls,+ domain: str,+ pipe_code: str,+ blueprint: PipeLLMBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,+ ) -> PipeLLM:+ system_prompt_jinja2_blueprint: Optional[Jinja2Blueprint] = None+ system_prompt: Optional[str] = None+ if blueprint.system_prompt_template or blueprint.system_prompt_template_name:+ try:+ system_prompt_jinja2_blueprint = Jinja2Blueprint(+ jinja2=blueprint.system_prompt_template,+ jinja2_name=blueprint.system_prompt_template_name,+ )+ except Jinja2TemplateError as exc:+ error_msg = f"Jinja2 template error in system prompt for pipe '{pipe_code}' in domain '{domain}': {exc}."+ if blueprint.system_prompt_template:+ error_msg += f"\nThe system prompt template is:\n{blueprint.system_prompt_template}"+ else:+ error_msg += "The system prompt template is not provided."+ raise PipeDefinitionError(error_msg) from exc+ elif not blueprint.system_prompt and not blueprint.system_prompt_name:+ # really no system prompt provided, let's use the domain's default system prompt+ if domain_obj := get_optional_domain(domain=domain):+ system_prompt = domain_obj.system_prompt++ user_text_jinja2_blueprint: Optional[Jinja2Blueprint] = None+ if blueprint.prompt_template or blueprint.template_name:+ try:+ user_text_jinja2_blueprint = Jinja2Blueprint(+ jinja2=blueprint.prompt_template,+ jinja2_name=blueprint.template_name,+ )+ except Jinja2TemplateError as exc:+ error_msg = f"Jinja2 syntax error in user prompt for pipe '{pipe_code}' in domain '{domain}': {exc}."+ if blueprint.prompt_template:+ error_msg += f"\nThe prompt template is:\n{blueprint.prompt_template}"+ else:+ error_msg += "The prompt template is not provided."+ raise PipeDefinitionError(error_msg) from exc+ elif blueprint.prompt is None and blueprint.prompt_name is None:+ # no jinja2 provided, no verbatim name, no fixed text, let's try and use the pipe code as jinja2 name+ try:+ user_text_jinja2_blueprint = Jinja2Blueprint(+ jinja2_name=pipe_code,+ )+ except TemplateNotFoundError as exc:+ error_msg = f"Jinja2 template not found for pipe '{pipe_code}' in domain '{domain}': {exc}."+ raise PipeDefinitionError(error_msg) from exc++ user_images: List[str] = []+ if blueprint.inputs:+ for stuff_name, requirement in blueprint.inputs.items():+ if isinstance(requirement, str):+ requirement = InputRequirementBlueprint(concept=requirement)+ concept_string = requirement.concept+ domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=concept_string,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ concept = get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=domain_and_code.domain, concept_code=domain_and_code.concept_code+ )+ )++ if get_concept_provider().is_image_concept(concept=concept):+ user_images.append(stuff_name)++ llm_prompt_spec = LLMPromptSpec(+ system_prompt_jinja2_blueprint=system_prompt_jinja2_blueprint,+ system_prompt_verbatim_name=blueprint.system_prompt_name,+ system_prompt=blueprint.system_prompt or system_prompt,+ user_text_jinja2_blueprint=user_text_jinja2_blueprint,+ user_prompt_verbatim_name=blueprint.prompt_name,+ user_text=blueprint.prompt,+ user_images=user_images or None,+ )++ llm_choices = LLMSettingChoices(+ for_text=blueprint.llm,+ for_object=blueprint.llm_to_structure,+ )++ # output_multiplicity defaults to False for PipeLLM so unless it's run with explicit demand for multiple outputs,+ # we'll generate only one output+ output_multiplicity = make_output_multiplicity(+ nb_output=blueprint.nb_output,+ multiple_output=blueprint.multiple_output,+ )++ output_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=blueprint.output_concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ output_concept_domain, output_concept_code = output_domain_and_code.domain, output_domain_and_code.concept_code+ return PipeLLM(+ domain=domain,+ code=pipe_code,+ definition=blueprint.definition,+ inputs=PipeInputSpecFactory.make_from_blueprint(+ domain=domain, blueprint=blueprint.inputs or {}, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain+ ),+ output=get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(domain=output_concept_domain, concept_code=output_concept_code)+ ),+ llm_prompt_spec=llm_prompt_spec,+ llm_choices=llm_choices,+ structuring_method=blueprint.structuring_method,+ prompt_template_to_structure=blueprint.prompt_template_to_structure,+ system_prompt_to_structure=blueprint.system_prompt_to_structure,+ output_multiplicity=output_multiplicity,+ )diff --git a/pipelex/pipe_operators/pipe_ocr.py b/pipelex/pipe_operators/ocr/pipe_ocr.pysimilarity index 88%rename from pipelex/pipe_operators/pipe_ocr.pyrename to pipelex/pipe_operators/ocr/pipe_ocr.pyindex 7746c436e..d99feb6fc 100644--- a/pipelex/pipe_operators/pipe_ocr.py+++ b/pipelex/pipe_operators/ocr/pipe_ocr.py@@ -11,9 +11,11 @@ from pipelex.cogt.ocr.ocr_handle import OcrHandlefrom pipelex.cogt.ocr.ocr_input import OcrInputfrom pipelex.cogt.ocr.ocr_job_components import OcrJobConfig, OcrJobParamsfrom pipelex.config import StaticValidationReaction, get_config-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_native import NativeConceptEnumfrom pipelex.core.memory.working_memory import WorkingMemory-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec+from pipelex.core.pipes.pipe_input_spec import PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunMode, PipeRunParamsfrom pipelex.core.stuffs.stuff_content import ImageContent, ListContent, PageContent, TextAndImagesContent, TextContent@@ -58,6 +60,11 @@ class PipeOcr(PipeOperator):def required_variables(self) -> Set[str]:return {PIPE_OCR_INPUT_NAME}+ @override+ def validate_output(self):+ if self.output != get_concept_provider().get_native_concept(native_concept=NativeConceptEnum.PAGE):+ raise PipeDefinitionError(f"PipeOcr output should be a Page concept, but is {self.output.concept_string}")+def _validate_inputs(self):concept_provider = get_concept_provider()static_validation_config = get_config().pipelex.static_validation_config@@ -69,26 +76,28 @@ class PipeOcr(PipeOperator):for input_name, requirement in self.inputs.items:log.debug(f"{input_name=}")log.debug(f"{requirement=}")- log.debug(f"Validating input '{input_name}' with concept code '{requirement.concept_code}'")- if concept_provider.is_compatible_by_concept_code(- tested_concept_code=requirement.concept_code,- wanted_concept_code=NativeConcept.IMAGE.code,+ log.debug(f"Validating input '{input_name}' with concept code '{requirement.concept.code}'")+ if concept_provider.is_compatible(+ tested_concept=requirement.concept,+ wanted_concept=concept_provider.get_native_concept(native_concept=NativeConceptEnum.IMAGE),+ strict=True,):self.image_stuff_name = input_namecandidate_prompt_var_names.append(input_name)- elif concept_provider.is_compatible_by_concept_code(- tested_concept_code=requirement.concept_code,- wanted_concept_code=NativeConcept.PDF.code,+ elif concept_provider.is_compatible(+ tested_concept=requirement.concept,+ wanted_concept=concept_provider.get_native_concept(native_concept=NativeConceptEnum.PDF),+ strict=True,):self.pdf_stuff_name = input_namecandidate_prompt_var_names.append(input_name)else:inadequate_input_concept_error = StaticValidationError(error_type=StaticValidationErrorType.INADEQUATE_INPUT_CONCEPT,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=[input_name],- provided_concept_code=requirement.concept_code,+ provided_concept_code=requirement.concept.code,explanation="For OCR you must provide either a pdf or an image or a concept that refines one of them",)match reactions.get(StaticValidationErrorType.INADEQUATE_INPUT_CONCEPT, default_reaction):@@ -102,7 +111,7 @@ class PipeOcr(PipeOperator):if len(candidate_prompt_var_names) > 1:too_many_candidate_inputs_error = StaticValidationError(error_type=StaticValidationErrorType.TOO_MANY_CANDIDATE_INPUTS,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,variable_names=candidate_prompt_var_names,explanation="Only one image or pdf can be provided for OCR",@@ -117,7 +126,7 @@ class PipeOcr(PipeOperator):elif len(candidate_prompt_var_names) == 0:missing_input_var_error = StaticValidationError(error_type=StaticValidationErrorType.MISSING_INPUT_VARIABLE,- domain_code=self.domain,+ domain=self.domain,pipe_code=self.code,explanation="For OCR you must provide either a pdf or an image or a concept that refines one of them",)@@ -131,9 +140,9 @@ class PipeOcr(PipeOperator):@overridedef needed_inputs(self) -> PipeInputSpec:- return PipeInputSpec.make_from_blueprint(+ return PipeInputSpecFactory.make_from_blueprint(domain=self.domain,- blueprint={PIPE_OCR_INPUT_NAME: InputRequirementBlueprint(concept_code=self.inputs.root[PIPE_OCR_INPUT_NAME].concept_code)},+ blueprint={PIPE_OCR_INPUT_NAME: InputRequirementBlueprint(concept=self.inputs.root[PIPE_OCR_INPUT_NAME].concept.concept_string)},)@override@@ -222,7 +231,7 @@ class PipeOcr(PipeOperator):output_stuff = StuffFactory.make_stuff(name=output_name,- concept_str=self.output_concept_code,+ concept=self.output,content=content,)diff --git a/pipelex/pipe_operators/ocr/pipe_ocr_blueprint.py b/pipelex/pipe_operators/ocr/pipe_ocr_blueprint.pynew file mode 100644index 000000000..4dd378c6a--- /dev/null+++ b/pipelex/pipe_operators/ocr/pipe_ocr_blueprint.py@@ -0,0 +1,13 @@+from typing import Literal, Optional++from pipelex.cogt.ocr.ocr_platform import OcrPlatform+from pipelex.core.pipes.pipe_blueprint import PipeBlueprint+++class PipeOcrBlueprint(PipeBlueprint):+ type: Literal["PipeOcr"] = "PipeOcr"+ ocr_platform: Optional[OcrPlatform] = None+ page_images: Optional[bool] = None+ page_image_captions: Optional[bool] = None+ page_views: Optional[bool] = None+ page_views_dpi: Optional[int] = Nonediff --git a/pipelex/pipe_operators/ocr/pipe_ocr_factory.py b/pipelex/pipe_operators/ocr/pipe_ocr_factory.pynew file mode 100644index 000000000..a2be46d49--- /dev/null+++ b/pipelex/pipe_operators/ocr/pipe_ocr_factory.py@@ -0,0 +1,55 @@+from typing import List, Optional++from typing_extensions import override++from pipelex.cogt.ocr.ocr_engine_factory import OcrEngineFactory+from pipelex.cogt.ocr.ocr_handle import OcrHandle+from pipelex.cogt.ocr.ocr_platform import OcrPlatform+from pipelex.config import get_config+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol+from pipelex.core.pipes.pipe_input_spec_factory import PipeInputSpecFactory+from pipelex.hub import get_concept_provider+from pipelex.pipe_operators.ocr.pipe_ocr import PipeOcr+from pipelex.pipe_operators.ocr.pipe_ocr_blueprint import PipeOcrBlueprint+++class PipeOcrFactory(PipeFactoryProtocol[PipeOcrBlueprint, PipeOcr]):+ @classmethod+ @override+ def make_from_blueprint(+ cls,+ domain: str,+ pipe_code: str,+ blueprint: PipeOcrBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]] = None,+ ) -> PipeOcr:+ ocr_platform = blueprint.ocr_platform or OcrPlatform.MISTRAL+ match ocr_platform:+ case OcrPlatform.MISTRAL:+ ocr_engine = OcrEngineFactory.make_ocr_engine(ocr_handle=OcrHandle.MISTRAL_OCR)++ output_domain_and_code = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=blueprint.output_concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )++ return PipeOcr(+ domain=domain,+ code=pipe_code,+ definition=blueprint.definition,+ ocr_engine=ocr_engine,+ output=get_concept_provider().get_required_concept(+ concept_string=ConceptFactory.construct_concept_string_with_domain(+ domain=output_domain_and_code.domain, concept_code=output_domain_and_code.concept_code+ )+ ),+ inputs=PipeInputSpecFactory.make_from_blueprint(+ domain=domain, blueprint=blueprint.inputs or {}, concept_codes_from_the_same_domain=concept_codes_from_the_same_domain+ ),+ should_include_images=blueprint.page_images or False,+ should_caption_images=blueprint.page_image_captions or False,+ should_include_page_views=blueprint.page_views or False,+ page_views_dpi=blueprint.page_views_dpi or get_config().cogt.ocr_config.default_page_views_dpi,+ )diff --git a/pipelex/pipe_operators/pipe_func_factory.py b/pipelex/pipe_operators/pipe_func_factory.pydeleted file mode 100644index c702acd44..000000000--- a/pipelex/pipe_operators/pipe_func_factory.py+++ /dev/null@@ -1,32 +0,0 @@-from typing import Literal--from typing_extensions import override--from pipelex.core.pipes.pipe_blueprint import PipeBlueprint-from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol-from pipelex.core.pipes.pipe_input_spec import PipeInputSpec-from pipelex.pipe_operators.pipe_func import PipeFunc---class PipeFuncBlueprint(PipeBlueprint):- type: Literal["PipeFunc"] = "PipeFunc"- function_name: str---class PipeFuncFactory(PipeFactoryProtocol[PipeFuncBlueprint, PipeFunc]):- @classmethod- @override- def make_pipe_from_blueprint(- cls,- domain_code: str,- pipe_code: str,- pipe_blueprint: PipeFuncBlueprint,- ) -> PipeFunc:- return PipeFunc(- domain=domain_code,- code=pipe_code,- definition=pipe_blueprint.definition,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- output_concept_code=pipe_blueprint.output,- function_name=pipe_blueprint.function_name,- )diff --git a/pipelex/pipe_operators/pipe_jinja2_factory.py b/pipelex/pipe_operators/pipe_jinja2_factory.pydeleted file mode 100644index 228ec13ad..000000000--- a/pipelex/pipe_operators/pipe_jinja2_factory.py+++ /dev/null@@ -1,98 +0,0 @@-from typing import Literal, Optional--from typing_extensions import override--from pipelex.config import get_config-from pipelex.core.pipes.pipe_blueprint import PipeBlueprint-from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol-from pipelex.core.pipes.pipe_input_spec import PipeInputSpec-from pipelex.exceptions import PipeDefinitionError-from pipelex.pipe_operators.pipe_jinja2 import PipeJinja2-from pipelex.tools.templating.jinja2_parsing import check_jinja2_parsing-from pipelex.tools.templating.jinja2_template_category import Jinja2TemplateCategory-from pipelex.tools.templating.template_preprocessor import preprocess_template-from pipelex.tools.templating.templating_models import PromptingStyle---class PipeJinja2Blueprint(PipeBlueprint):- type: Literal["PipeJinja2"] = "PipeJinja2"- jinja2_name: Optional[str] = None- jinja2: Optional[str] = None- prompting_style: Optional[PromptingStyle] = None- template_category: Jinja2TemplateCategory = Jinja2TemplateCategory.LLM_PROMPT---class PipeJinja2Factory(PipeFactoryProtocol[PipeJinja2Blueprint, PipeJinja2]):- @classmethod- @override- def make_pipe_from_blueprint(- cls,- domain_code: str,- pipe_code: str,- pipe_blueprint: PipeJinja2Blueprint,- ) -> PipeJinja2:- preprocessed_template: Optional[str] = None- if pipe_blueprint.jinja2:- preprocessed_template = preprocess_template(pipe_blueprint.jinja2)- check_jinja2_parsing(- jinja2_template_source=preprocessed_template,- template_category=pipe_blueprint.template_category,- )- else:- preprocessed_template = None- return PipeJinja2(- domain=domain_code,- code=pipe_code,- definition=pipe_blueprint.definition,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- output_concept_code=pipe_blueprint.output,- jinja2_name=pipe_blueprint.jinja2_name,- jinja2=preprocessed_template,- prompting_style=pipe_blueprint.prompting_style,- template_category=pipe_blueprint.template_category,- )-- @classmethod- def make_pipe_jinja2_from_template_str(- cls,- domain_code: str,- inputs: Optional[PipeInputSpec] = None,- template_str: Optional[str] = None,- template_name: Optional[str] = None,- ) -> PipeJinja2:- if template_str:- preprocessed_template = preprocess_template(template_str)- check_jinja2_parsing(- jinja2_template_source=preprocessed_template,- template_category=Jinja2TemplateCategory.LLM_PROMPT,- )- return PipeJinja2(- domain=domain_code,- code="adhoc_pipe_jinja2_from_template_str",- jinja2=preprocessed_template,- inputs=inputs or PipeInputSpec.make_empty(),- )- elif template_name:- return PipeJinja2(- domain=domain_code,- code="adhoc_pipe_jinja2_from_template_name",- jinja2_name=template_name,- inputs=inputs or PipeInputSpec.make_empty(),- )- else:- raise PipeDefinitionError("Either template_str or template_name must be provided to make_pipe_jinja2_from_template_str")-- @classmethod- def make_pipe_jinja2_to_structure(- cls,- domain_code: str,- prompt_template_to_structure: Optional[str],- ) -> PipeJinja2:- jinja2_name = prompt_template_to_structure or get_config().pipelex.generic_template_names.structure_from_preliminary_text_user- prompting_style = PromptingStyle.make_default_prompting_style()- return PipeJinja2(- domain=domain_code,- code="adhoc_pipe_jinja2_to_structure",- jinja2_name=jinja2_name,- prompting_style=prompting_style,- )diff --git a/pipelex/pipe_operators/pipe_llm_factory.py b/pipelex/pipe_operators/pipe_llm_factory.pydeleted file mode 100644index 13ebe68c0..000000000--- a/pipelex/pipe_operators/pipe_llm_factory.py+++ /dev/null@@ -1,162 +0,0 @@-from typing import List, Literal, Optional--from pydantic import model_validator-from typing_extensions import Self, override--from pipelex.cogt.llm.llm_models.llm_setting import LLMSettingChoices, LLMSettingOrPresetId-from pipelex.core.pipes.pipe_blueprint import PipeBlueprint-from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol-from pipelex.core.pipes.pipe_input_spec import PipeInputSpec-from pipelex.core.pipes.pipe_run_params import make_output_multiplicity-from pipelex.exceptions import PipeDefinitionError-from pipelex.hub import get_concept_provider, get_optional_domain-from pipelex.pipe_operators.pipe_jinja2 import PipeJinja2-from pipelex.pipe_operators.pipe_jinja2_factory import PipeJinja2Factory-from pipelex.pipe_operators.pipe_llm import PipeLLM, StructuringMethod-from pipelex.pipe_operators.pipe_llm_prompt import PipeLLMPrompt-from pipelex.tools.templating.jinja2_errors import Jinja2TemplateError-from pipelex.tools.templating.template_provider_abstract import TemplateNotFoundError-from pipelex.tools.typing.validation_utils import has_more_than_one_among_attributes_from_lists---class PipeLLMBlueprint(PipeBlueprint):- type: Literal["PipeLLM"] = "PipeLLM"- system_prompt_template: Optional[str] = None- system_prompt_template_name: Optional[str] = None- system_prompt_name: Optional[str] = None- system_prompt: Optional[str] = None-- prompt_template: Optional[str] = None- template_name: Optional[str] = None- prompt_name: Optional[str] = None- prompt: Optional[str] = None-- llm: Optional[LLMSettingOrPresetId] = None- llm_to_structure: Optional[LLMSettingOrPresetId] = None-- structuring_method: Optional[StructuringMethod] = None- prompt_template_to_structure: Optional[str] = None- system_prompt_to_structure: Optional[str] = None-- nb_output: Optional[int] = None- multiple_output: Optional[bool] = None-- @model_validator(mode="after")- def validate_multiple_output(self) -> Self:- if excess_attributes_list := has_more_than_one_among_attributes_from_lists(- self,- attributes_lists=[- ["nb_output", "multiple_output"],- ["system_prompt", "system_prompt_name", "system_prompt_template", "system_prompt_template_name"],- ["prompt", "prompt_name", "prompt_template", "template_name"],- ],- ):- raise PipeDefinitionError(f"PipeLLMBlueprint should have no more than one of {excess_attributes_list} among them")- return self---class PipeLLMFactory(PipeFactoryProtocol[PipeLLMBlueprint, PipeLLM]):- @classmethod- @override- def make_pipe_from_blueprint(- cls,- domain_code: str,- pipe_code: str,- pipe_blueprint: PipeLLMBlueprint,- ) -> PipeLLM:- system_prompt_pipe_jinja2: Optional[PipeJinja2] = None- system_prompt: Optional[str] = None- if pipe_blueprint.system_prompt_template or pipe_blueprint.system_prompt_template_name:- try:- system_prompt_pipe_jinja2 = PipeJinja2(- code="adhoc_for_system_prompt",- domain=domain_code,- jinja2=pipe_blueprint.system_prompt_template,- jinja2_name=pipe_blueprint.system_prompt_template_name,- )- except Jinja2TemplateError as exc:- error_msg = f"Jinja2 template error in system prompt for pipe '{pipe_code}' in domain '{domain_code}': {exc}."- if pipe_blueprint.system_prompt_template:- error_msg += f"\nThe system prompt template is:\n{pipe_blueprint.system_prompt_template}"- else:- error_msg += "The system prompt template is not provided."- raise PipeDefinitionError(error_msg) from exc- elif not pipe_blueprint.system_prompt and not pipe_blueprint.system_prompt_name:- # really no system prompt provided, let's use the domain's default system prompt- if domain := get_optional_domain(domain_code=domain_code):- system_prompt = domain.system_prompt-- user_pipe_jinja2: Optional[PipeJinja2] = None- if pipe_blueprint.prompt_template or pipe_blueprint.template_name:- try:- user_pipe_jinja2 = PipeJinja2Factory.make_pipe_jinja2_from_template_str(- domain_code=domain_code,- template_str=pipe_blueprint.prompt_template,- template_name=pipe_blueprint.template_name,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- )- except Jinja2TemplateError as exc:- error_msg = f"Jinja2 syntax error in user prompt for pipe '{pipe_code}' in domain '{domain_code}': {exc}."- if pipe_blueprint.prompt_template:- error_msg += f"\nThe prompt template is:\n{pipe_blueprint.prompt_template}"- else:- error_msg += "The prompt template is not provided."- raise PipeDefinitionError(error_msg) from exc- elif pipe_blueprint.prompt is None and pipe_blueprint.prompt_name is None:- # no jinja2 provided, no verbatim name, no fixed text, let's try and use the pipe code as jinja2 name- try:- user_pipe_jinja2 = PipeJinja2(- code="adhoc_for_user_prompt",- domain=domain_code,- jinja2_name=pipe_code,- )- except TemplateNotFoundError as exc:- error_msg = f"Jinja2 template not found for pipe '{pipe_code}' in domain '{domain_code}': {exc}."- raise PipeDefinitionError(error_msg) from exc-- user_images: List[str] = []- if pipe_blueprint.inputs:- for stuff_name, requirement in (pipe_blueprint.inputs).items():- concept = get_concept_provider().get_required_concept(concept_code=requirement.concept_code)- if get_concept_provider().is_image_concept(concept_code=concept.code):- user_images.append(stuff_name)- else:- # Implicit text concept- pass- pipe_llm_prompt = PipeLLMPrompt(- code="adhoc_for_pipe_llm_prompt",- domain=domain_code,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- system_prompt_pipe_jinja2=system_prompt_pipe_jinja2,- system_prompt_verbatim_name=pipe_blueprint.system_prompt_name,- system_prompt=pipe_blueprint.system_prompt or system_prompt,- user_pipe_jinja2=user_pipe_jinja2,- user_prompt_verbatim_name=pipe_blueprint.prompt_name,- user_text=pipe_blueprint.prompt,- user_images=user_images or None,- )-- llm_choices = LLMSettingChoices(- for_text=pipe_blueprint.llm,- for_object=pipe_blueprint.llm_to_structure,- )-- # output_multiplicity defaults to False for PipeLLM so unless it's run with explicit demand for multiple outputs,- # we'll generate only one output- output_multiplicity = make_output_multiplicity(- nb_output=pipe_blueprint.nb_output,- multiple_output=pipe_blueprint.multiple_output,- )- return PipeLLM(- domain=domain_code,- code=pipe_code,- definition=pipe_blueprint.definition,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- output_concept_code=pipe_blueprint.output,- pipe_llm_prompt=pipe_llm_prompt,- llm_choices=llm_choices,- structuring_method=pipe_blueprint.structuring_method,- prompt_template_to_structure=pipe_blueprint.prompt_template_to_structure,- system_prompt_to_structure=pipe_blueprint.system_prompt_to_structure,- output_multiplicity=output_multiplicity,- )diff --git a/pipelex/pipe_operators/pipe_llm_prompt.py b/pipelex/pipe_operators/pipe_llm_prompt.pydeleted file mode 100644index 612b87536..000000000--- a/pipelex/pipe_operators/pipe_llm_prompt.py+++ /dev/null@@ -1,321 +0,0 @@-from typing import ClassVar, List, Optional, Set, cast--from pydantic import model_validator-from typing_extensions import Self, override--from pipelex import log-from pipelex.cogt.image.prompt_image import PromptImage-from pipelex.cogt.image.prompt_image_factory import PromptImageFactory-from pipelex.cogt.llm.llm_prompt import LLMPrompt-from pipelex.core.concepts.concept import Concept-from pipelex.core.concepts.concept_native import NativeConcept-from pipelex.core.memory.working_memory import WorkingMemory-from pipelex.core.pipes.pipe_input_spec import PipeInputSpec-from pipelex.core.pipes.pipe_output import PipeOutput-from pipelex.core.pipes.pipe_run_params import PipeRunMode, PipeRunParams-from pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory-from pipelex.core.stuffs.stuff_content import ImageContent, LLMPromptContent, StuffContent-from pipelex.core.stuffs.stuff_factory import StuffFactory-from pipelex.exceptions import (- PipeDefinitionError,- PipeInputError,- PipeRunParamsError,- WorkingMemoryVariableError,-)-from pipelex.hub import get_class_registry, get_template-from pipelex.pipe_operators.pipe_jinja2 import PipeJinja2, PipeJinja2Output-from pipelex.pipe_operators.pipe_operator import PipeOperator-from pipelex.pipeline.job_metadata import JobCategory, JobMetadata-from pipelex.tools.templating.templating_models import PromptingStyle-from pipelex.tools.typing.type_inspector import get_type_structure-from pipelex.tools.typing.validation_utils import has_exactly_one_among_attributes_from_list, has_more_than_one_among_attributes_from_list---class PipeLLMPromptOutput(PipeOutput):- @property- def llm_prompt(self) -> LLMPrompt:- return self.main_stuff_as(content_type=LLMPromptContent)---# TODO: consider adding a PipeLLMPromptFactory for consistency-class PipeLLMPrompt(PipeOperator):- adhoc_pipe_code: ClassVar[str] = "adhoc_pipe_code_for_prompt_llm"-- output_concept_code: str = NativeConcept.LLM_PROMPT.code-- prompting_style: Optional[PromptingStyle] = None-- system_prompt_pipe_jinja2: Optional[PipeJinja2] = None- system_prompt_verbatim_name: Optional[str] = None- system_prompt: Optional[str] = None-- user_pipe_jinja2: Optional[PipeJinja2] = None- user_prompt_verbatim_name: Optional[str] = None- user_text: Optional[str] = None-- user_images: Optional[List[str]] = None-- @model_validator(mode="after")- def validate_user_text(self) -> Self:- if not has_exactly_one_among_attributes_from_list(- obj=self,- attributes_list=[- "user_text",- "user_pipe_jinja2",- "user_prompt_verbatim_name",- ],- ):- raise PipeDefinitionError(- f"PipeLLMPrompt user text must have exactly one of user_text, user_pipe_jinja2 or user_prompt_verbatim_name: {self}"- )- if has_more_than_one_among_attributes_from_list(- obj=self,- attributes_list=[- "system_prompt",- "system_prompt_pipe_jinja2",- "system_prompt_verbatim_name",- ],- ):- raise PipeDefinitionError(- f"PipeLLMPrompt system got more than one of system_prompt, system_prompt_pipe_jinja2, system_prompt_verbatim_name: {self}"- )- return self-- @override- def validate_with_libraries(self):- if self.user_prompt_verbatim_name:- get_template(template_name=self.user_prompt_verbatim_name)- if self.system_prompt_verbatim_name:- get_template(template_name=self.system_prompt_verbatim_name)-- if self.user_pipe_jinja2:- self.user_pipe_jinja2.validate_with_libraries()- if self.system_prompt_pipe_jinja2:- self.system_prompt_pipe_jinja2.validate_with_libraries()-- @override- def needed_inputs(self) -> PipeInputSpec:- conceptless_required_variables: Set[str] = set()- if self.user_pipe_jinja2:- conceptless_required_variables.update(self.user_pipe_jinja2.required_variables())- if self.system_prompt_pipe_jinja2:- conceptless_required_variables.update(self.system_prompt_pipe_jinja2.required_variables())-- pipe_input_spec = PipeInputSpec.make_empty()- for conceptless_required_variable in conceptless_required_variables:- if conceptless_required_variable.startswith("_"):- # variables starting with _ are run parameters, not inputs- continue- pipe_input_spec.add_requirement(variable_name=conceptless_required_variable, concept_code=NativeConcept.ANYTHING.code)-- return pipe_input_spec-- @override- def required_variables(self) -> Set[str]:- required_variables: Set[str] = set()- if self.user_pipe_jinja2:- required_variables.update(self.user_pipe_jinja2.required_variables())- if self.system_prompt_pipe_jinja2:- required_variables.update(self.system_prompt_pipe_jinja2.required_variables())- if self.user_images:- user_images_top_object_name = [user_image.split(".", 1)[0] for user_image in self.user_images]- required_variables.update(user_images_top_object_name)- return required_variables-- @override- async def _run_operator_pipe(- self,- job_metadata: JobMetadata,- working_memory: WorkingMemory,- pipe_run_params: PipeRunParams,- output_name: Optional[str] = None,- ) -> PipeLLMPromptOutput:- if pipe_run_params.is_multiple_output_required:- raise PipeRunParamsError(- f"PipeLLMPrompt does not suppport multiple outputs, got output_multiplicity = {pipe_run_params.output_multiplicity}"- )-- ############################################################- # User images- ############################################################- prompt_user_images: List[PromptImage] = []- if self.user_images:- for user_image_name in self.user_images:- log.debug(f"Getting user image '{user_image_name}' from context")- try:- prompt_image_content = working_memory.get_stuff_or_attribute(name=user_image_name, wanted_type=ImageContent)- except WorkingMemoryVariableError as exc:- raise PipeInputError(f"Could not find a valid user image named '{user_image_name}' in the working_memory: {exc}") from exc-- if prompt_image_content is not None: # An ImageContent can be optional..- if base_64 := prompt_image_content.base_64:- user_image = PromptImageFactory.make_prompt_image(base_64=base_64)- else:- image_uri = prompt_image_content.url- user_image = PromptImageFactory.make_prompt_image_from_uri(uri=image_uri)- prompt_user_images.append(user_image)-- ############################################################- # User text- ############################################################- user_text = await self._unravel_text(- job_metadata=job_metadata,- working_memory=working_memory,- pipe_jinja2=self.user_pipe_jinja2,- text_verbatim_name=self.user_prompt_verbatim_name,- fixed_text=self.user_text,- pipe_run_params=pipe_run_params,- )- if not user_text:- raise ValueError("For user_text we need either a pipe_jinja2, a text_verbatim_name or a fixed user_text")-- # Append output structure prompt if needed- if pipe_run_params.dynamic_output_concept_code:- user_text += PipeLLMPrompt.get_output_structure_prompt(- output_concept=pipe_run_params.dynamic_output_concept_code,- is_with_preliminary_text=pipe_run_params.is_with_preliminary_text or False,- )- else:- user_text += PipeLLMPrompt.get_output_structure_prompt(- output_concept=self.output_concept_code,- is_with_preliminary_text=pipe_run_params.is_with_preliminary_text or False,- )-- log.verbose(f"User text with {self.output_concept_code=}:\n {user_text}")-- ############################################################- # System text- ############################################################- system_text = await self._unravel_text(- job_metadata=job_metadata,- working_memory=working_memory,- pipe_jinja2=self.system_prompt_pipe_jinja2,- text_verbatim_name=self.system_prompt_verbatim_name,- fixed_text=self.system_prompt,- pipe_run_params=pipe_run_params,- )-- ############################################################- # Full LLMPrompt- ############################################################- llm_prompt = LLMPromptContent(- system_text=system_text,- user_text=user_text,- user_images=prompt_user_images,- )-- output_stuff = StuffFactory.make_stuff(- name=output_name,- concept_str=self.output_concept_code,- content=llm_prompt,- )-- working_memory.set_new_main_stuff(- stuff=output_stuff,- name=output_name,- )-- pipe_output = PipeLLMPromptOutput(- working_memory=working_memory,- pipeline_run_id=job_metadata.pipeline_run_id,- )- return pipe_output-- @override- async def _dry_run_operator_pipe(- self,- job_metadata: JobMetadata,- working_memory: WorkingMemory,- pipe_run_params: Optional[PipeRunParams] = None,- output_name: Optional[str] = None,- ) -> PipeOutput:- return await self._run_operator_pipe(- job_metadata=job_metadata,- working_memory=working_memory,- pipe_run_params=pipe_run_params or PipeRunParamsFactory.make_run_params(pipe_run_mode=PipeRunMode.DRY),- output_name=output_name,- )-- @staticmethod- def get_output_structure_prompt(output_concept: str, is_with_preliminary_text: bool) -> str:- class_name = Concept.extract_concept_name_from_str(concept_str=output_concept)- output_class = get_class_registry().get_class(class_name)- if not output_class:- return ""-- class_structure = get_type_structure(output_class, base_class=StuffContent)-- if not class_structure:- return ""-- class_structure_str = "\n".join(class_structure)-- # TODO: use proper prompt templating for this- if is_with_preliminary_text:- output_structure_prompt = (- f"\n\n---\nRequested output format: The requested output will be used to define the following class: {class_name}\n"- f"{class_structure_str}\n"- "You do NOT need to output a formatted JSON object, another LLM will take care of that. "- "If you cannot find a value that is Optional, output None for that field. "- "However, you MUST clearly output the values for each of these fields in your response.\n---\n"- "DO NOT create information. If the information is not present, output None."- )- else:- output_structure_prompt = (- f"\n\n---\nRequested output format: The output must conform to the following BaseModel: {class_name}\n"- f"{class_structure_str}\n"- "If you cannot find a value that is Optional, output None for that field. "- "However, you MUST clearly output the values for each of these fields in your response.\n---\n"- "DO NOT create information. If the information is not present, output None."- )- return output_structure_prompt-- async def _unravel_text(- self,- job_metadata: JobMetadata,- working_memory: WorkingMemory,- pipe_run_params: PipeRunParams,- pipe_jinja2: Optional[PipeJinja2],- text_verbatim_name: Optional[str],- fixed_text: Optional[str],- ) -> Optional[str]:- the_text: Optional[str]- if pipe_jinja2:- log.verbose(f"Working with Jinja2 pipe '{pipe_jinja2.jinja2_name}'")- if (prompting_style := self.prompting_style) and not pipe_jinja2.prompting_style:- pipe_jinja2.prompting_style = prompting_style- log.verbose(f"Setting prompting style to {prompting_style}")-- jinja2_job_metadata = job_metadata.copy_with_update(- updated_metadata=JobMetadata(- job_category=JobCategory.JINJA2_JOB,- )- )- # the_text = (- # await pipe_jinja2.run_pipe(- # job_metadata=jinja2_job_metadata,- # working_memory=working_memory,- # pipe_run_params=pipe_run_params,- # )- # ).rendered_text- # TODO: restore the possibility above, without need to explicitly cast the output- pipe_output: PipeOutput = await pipe_jinja2.run_pipe(- job_metadata=jinja2_job_metadata,- working_memory=working_memory,- pipe_run_params=pipe_run_params,- )- pipe_jinja2_output = cast(PipeJinja2Output, pipe_output)- the_text = pipe_jinja2_output.rendered_text-- elif text_verbatim_name:- user_text_verbatim = get_template(- template_name=text_verbatim_name,- )- if not user_text_verbatim:- raise ValueError(f"Could not find text_verbatim template '{text_verbatim_name}'")- the_text = user_text_verbatim- elif fixed_text:- the_text = fixed_text- else:- the_text = None- return the_textdiff --git a/pipelex/pipe_operators/pipe_ocr_factory.py b/pipelex/pipe_operators/pipe_ocr_factory.pydeleted file mode 100644index 621a7b7d8..000000000--- a/pipelex/pipe_operators/pipe_ocr_factory.py+++ /dev/null@@ -1,49 +0,0 @@-from typing import Literal, Optional--from typing_extensions import override--from pipelex.cogt.ocr.ocr_engine_factory import OcrEngineFactory-from pipelex.cogt.ocr.ocr_handle import OcrHandle-from pipelex.cogt.ocr.ocr_platform import OcrPlatform-from pipelex.config import get_config-from pipelex.core.pipes.pipe_blueprint import PipeBlueprint-from pipelex.core.pipes.pipe_factory import PipeFactoryProtocol-from pipelex.core.pipes.pipe_input_spec import PipeInputSpec-from pipelex.pipe_operators.pipe_ocr import PipeOcr---class PipeOcrBlueprint(PipeBlueprint):- type: Literal["PipeOcr"] = "PipeOcr"- ocr_platform: Optional[OcrPlatform] = None- page_images: Optional[bool] = None- page_image_captions: Optional[bool] = None- page_views: Optional[bool] = None- page_views_dpi: Optional[int] = None---class PipeOcrFactory(PipeFactoryProtocol[PipeOcrBlueprint, PipeOcr]):- @classmethod- @override- def make_pipe_from_blueprint(- cls,- domain_code: str,- pipe_code: str,- pipe_blueprint: PipeOcrBlueprint,- ) -> PipeOcr:- ocr_platform = pipe_blueprint.ocr_platform or OcrPlatform.MISTRAL- match ocr_platform:- case OcrPlatform.MISTRAL:- ocr_engine = OcrEngineFactory.make_ocr_engine(ocr_handle=OcrHandle.MISTRAL_OCR)-- return PipeOcr(- domain=domain_code,- code=pipe_code,- definition=pipe_blueprint.definition,- ocr_engine=ocr_engine,- output_concept_code=pipe_blueprint.output,- inputs=PipeInputSpec.make_from_blueprint(domain=domain_code, blueprint=pipe_blueprint.inputs or {}),- should_include_images=pipe_blueprint.page_images or False,- should_caption_images=pipe_blueprint.page_image_captions or False,- should_include_page_views=pipe_blueprint.page_views or False,- page_views_dpi=pipe_blueprint.page_views_dpi or get_config().cogt.ocr_config.default_page_views_dpi,- )diff --git a/pipelex/pipe_operators/pipe_operator.py b/pipelex/pipe_operators/pipe_operator.pyindex 6ff71c733..09bc7145e 100644--- a/pipelex/pipe_operators/pipe_operator.py+++ b/pipelex/pipe_operators/pipe_operator.py@@ -37,7 +37,7 @@ class PipeOperator(PipeAbstract):indent_level = len(pipe_run_params.pipe_stack) - 1indent = " " * indent_levellabel = f"{indent}{name}: {self.code}".ljust(80)- output = self.output_concept_code.split(".")[-1]+ output = self.output.codelog.info(f"{label} → {output}")pipe_output = await self._run_operator_pipe(job_metadata=job_metadata,@@ -50,7 +50,7 @@ class PipeOperator(PipeAbstract):indent_level = len(pipe_run_params.pipe_stack) - 1indent = " " * indent_levellabel = f"{indent}{name}: {self.code}".ljust(80)- output = self.output_concept_code.split(".")[-1]+ output = self.output.codelog.info(f"{label} → {output}")pipe_output = await self._dry_run_operator_pipe(job_metadata=job_metadata,diff --git a/pipelex/pipe_operators/piped_llm_prompt_factory.py b/pipelex/pipe_operators/piped_llm_prompt_factory.pydeleted file mode 100644index 911c49b93..000000000--- a/pipelex/pipe_operators/piped_llm_prompt_factory.py+++ /dev/null@@ -1,46 +0,0 @@-from typing import Any, cast--from typing_extensions import override--from pipelex.cogt.llm.llm_prompt import LLMPrompt-from pipelex.cogt.llm.llm_prompt_factory_abstract import LLMPromptFactoryAbstract, make_empty_prompt-from pipelex.cogt.llm.llm_prompt_template_inputs import LLMPromptTemplateInputs-from pipelex.core.memory.working_memory_factory import WorkingMemoryFactory-from pipelex.core.pipes.pipe_output import PipeOutput-from pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory-from pipelex.pipe_operators.pipe_llm_prompt import PipeLLMPrompt, PipeLLMPromptOutput-from pipelex.pipeline.job_metadata import JobMetadata---class PipedLLMPromptFactory(LLMPromptFactoryAbstract):- pipe_llm_prompt: PipeLLMPrompt- proto_prompt: LLMPrompt = make_empty_prompt()- base_template_inputs: LLMPromptTemplateInputs = LLMPromptTemplateInputs()-- @property- @override- def desc(self) -> str:- return f"{PipedLLMPromptFactory.__name__} based on proto prompt: {self.proto_prompt} and base inputs: {self.base_template_inputs}"-- @override- async def make_llm_prompt_from_args(- self,- **prompt_arguments: Any,- ) -> LLMPrompt:- arguments_dict = prompt_arguments.copy()- working_memory = WorkingMemoryFactory.make_from_strings_from_dict(input_dict=arguments_dict)- # llm_prompt: LLMPrompt = (- # await self.pipe_llm_prompt.run_pipe(- # pipe_run_params=PipeRunParamsFactory.make_run_params(),- # job_metadata=JobMetadata(session_id=get_config().session_id),- # working_memory=working_memory,- # )- # ).llm_prompt- # TODO: restore the possibility above, without need to explicitly cast the output- pipe_output: PipeOutput = await self.pipe_llm_prompt.run_pipe(- pipe_run_params=PipeRunParamsFactory.make_run_params(),- job_metadata=JobMetadata(),- working_memory=working_memory,- )- llm_prompt = cast(PipeLLMPromptOutput, pipe_output).llm_prompt- return llm_promptdiff --git a/pipelex/pipe_works/pipe_dry.py b/pipelex/pipe_works/pipe_dry.pyindex 278313f41..738446cfc 100644--- a/pipelex/pipe_works/pipe_dry.py+++ b/pipelex/pipe_works/pipe_dry.py@@ -12,7 +12,7 @@ from pipelex.core.pipes.pipe_input_spec import PipeInputSpec, TypedNamedInputReqfrom pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactoryfrom pipelex.core.stuffs.stuff_content import StuffContent, TextContent-from pipelex.hub import get_class_registry, get_concept_provider, get_pipe_provider+from pipelex.hub import get_class_registry, get_pipe_providerfrom pipelex.pipeline.job_metadata import JobMetadata@@ -21,7 +21,7 @@ async def dry_run_all_pipes():await dry_run_pipes(pipes=all_pipes)-async def dry_run_single_pipe(pipe_code: str) -> str:+async def dry_run_single_pipe(pipe_code: str):"""Dry run a single pipe by its code.@@ -31,17 +31,11 @@ async def dry_run_single_pipe(pipe_code: str) -> str:Returns:Status string: "SUCCESS" or error message"""- try:- # Get the pipe using the hub function- pipe = get_pipe_provider().get_optional_pipe(pipe_code=pipe_code)- if not pipe:- return f"FAILED: Pipe '{pipe_code}' not found"- # Run the single pipe- result = await dry_run_pipes(pipes=[pipe])- return result.get(pipe_code, f"FAILED: No result for pipe '{pipe_code}'")- except Exception as exc:- return f"FAILED: {str(exc)}"+ # Get the pipe using the hub function+ pipe = get_pipe_provider().get_required_pipe(pipe_code=pipe_code)+ # Run the single pipe+ await dry_run_pipes(pipes=[pipe])async def dry_run_pipe_codes(pipe_codes: List[str]) -> Dict[str, str]:@@ -75,7 +69,8 @@ async def dry_run_pipes(pipes: List[PipeAbstract]) -> Dict[str, str]:start_time = time.time()results: Dict[str, str] = {}-+ pipe_provider = get_pipe_provider()+ pipe_provider.validate_with_libraries()# Get the list of pipes that are allowed to fail from configallowed_to_fail_pipes = get_config().pipelex.dry_run_config.allowed_to_fail_pipes@@ -84,11 +79,13 @@ async def dry_run_pipes(pipes: List[PipeAbstract]) -> Dict[str, str]:# Define a function that will run in a threaddef run_pipe_in_thread(pipe: PipeAbstract) -> Tuple[str, str]:"""Execute pipe.run_pipe in a thread and return its status."""+ # try:+ # This function runs in a separate threadtry:- # This function runs in a separate threadneeded_inputs = pipe.needed_inputs()log.debug(f"Needed inputs for {pipe.code}: {needed_inputs}")needed_inputs_for_factory = _convert_to_working_memory_format(needed_inputs_spec=needed_inputs)+log.debug(f"Needed inputs for {pipe.code} converted to working memory format: {needed_inputs_for_factory}")working_memory = WorkingMemoryFactory.make_for_dry_run(needed_inputs=needed_inputs_for_factory)@@ -107,19 +104,18 @@ async def dry_run_pipes(pipes: List[PipeAbstract]) -> Dict[str, str]:)result = (pipe.code, "SUCCESS")log.debug(f"✓ Pipe {pipe.code} dry run completed successfully")+ return resultfinally:loop.close()- return result-except Exception as exc:error_msg = f"FAILED: {str(exc)}"# Check if this pipe is allowed to failif pipe.code in allowed_to_fail_pipes:- log.debug(f"✗ Pipe {pipe.code} dry run failed: {exc} (this is normal, allowed by config)")+ log.debug(f"✗ Pipe '{pipe.code}' dry run failed: {exc} (this is normal, allowed by config)")else:- log.error(f"✗ Pipe {pipe.code} dry run failed: {exc}")+ log.error(f"✗ Pipe '{pipe.code}' dry run failed: {exc}")return (pipe.code, error_msg)@@ -165,13 +161,12 @@ def _convert_to_working_memory_format(needed_inputs_spec: PipeInputSpec) -> ListList of tuples (variable_name, concept_code, structure_class)"""needed_inputs_for_factory: List[TypedNamedInputRequirement] = []- concept_provider = get_concept_provider()class_registry = get_class_registry()for named_input_requirement in needed_inputs_spec.named_input_requirements:try:# Get the concept and its structure class- concept = concept_provider.get_required_concept(concept_code=named_input_requirement.concept_code)+ concept = named_input_requirement.conceptstructure_class_name = concept.structure_class_name# Get the actual class from the registry@@ -187,7 +182,7 @@ def _convert_to_working_memory_format(needed_inputs_spec: PipeInputSpec) -> List# Fallback to TextContent if we can't get the proper classlog.warning(f"Could not get structure class '{structure_class_name}' for "- f"concept '{named_input_requirement.concept_code}', falling back to TextContent"+ f"concept '{named_input_requirement.concept.code}', falling back to TextContent")text_typed_named_input_requirement = TypedNamedInputRequirement.make_from_named(named=named_input_requirement,@@ -197,7 +192,7 @@ def _convert_to_working_memory_format(needed_inputs_spec: PipeInputSpec) -> Listexcept Exception as exc:# Fallback to TextContent for any errors- log.warning(f"Error getting structure class for concept '{named_input_requirement.concept_code}': {exc}, falling back to TextContent")+ log.warning(f"Error getting structure class for concept '{named_input_requirement.concept.code}': {exc}, falling back to TextContent")text_typed_named_input_requirement = TypedNamedInputRequirement.make_from_named(named=named_input_requirement,structure_class=TextContent,diff --git a/pipelex/pipeline/track/pipeline_tracker.py b/pipelex/pipeline/track/pipeline_tracker.pyindex 3cb99fb9f..eda8c2d9f 100644--- a/pipelex/pipeline/track/pipeline_tracker.py+++ b/pipelex/pipeline/track/pipeline_tracker.py@@ -11,7 +11,7 @@ from pipelex import logfrom pipelex.core.concepts.concept import Conceptfrom pipelex.core.stuffs.stuff import Stufffrom pipelex.exceptions import JobHistoryError-from pipelex.pipe_controllers.pipe_condition_details import PipeConditionDetails+from pipelex.pipe_controllers.condition.pipe_condition_details import PipeConditionDetailsfrom pipelex.pipeline.track.flow_chart import PipelineFlowChartfrom pipelex.pipeline.track.pipeline_tracker_protocol import PipelineTrackerProtocolfrom pipelex.pipeline.track.tracker_config import TrackerConfig@@ -76,9 +76,8 @@ class PipelineTracker(PipelineTrackerProtocol):stuff: Stuff,as_item_index: Optional[int] = None,) -> str:- concept_code = stuff.concept_code- concept_display = Concept.sentence_from_concept_code(concept_code=concept_code)- log.debug(f"Concept display: {concept_code} -> {concept_display}")+ concept_display = Concept.sentence_from_concept(concept=stuff.concept)+ log.debug(f"Concept display: {stuff.concept.code} -> {concept_display}")if stuff.is_list:concept_display = f"List of [{concept_display}]"if as_item_index is not None:diff --git a/pipelex/pipeline/track/pipeline_tracker_protocol.py b/pipelex/pipeline/track/pipeline_tracker_protocol.pyindex 1228130d9..374540725 100644--- a/pipelex/pipeline/track/pipeline_tracker_protocol.py+++ b/pipelex/pipeline/track/pipeline_tracker_protocol.py@@ -7,7 +7,7 @@ from typing import List, Optional, Protocolfrom typing_extensions import overridefrom pipelex.core.stuffs.stuff import Stuff-from pipelex.pipe_controllers.pipe_condition_details import PipeConditionDetails+from pipelex.pipe_controllers.condition.pipe_condition_details import PipeConditionDetailsclass PipelineTrackerProtocol(Protocol):diff --git a/pipelex/tools/class_registry_utils.py b/pipelex/tools/class_registry_utils.pyindex 4fbcb2037..f44b33592 100644--- a/pipelex/tools/class_registry_utils.py+++ b/pipelex/tools/class_registry_utils.py@@ -1,7 +1,9 @@from pathlib import Path-from typing import Any, List, Optional, Type+from typing import Any, Dict, List, Optional, Type, Union, get_args, get_origin++from kajson.kajson_manager import KajsonManager+from pydantic.fields import FieldInfo-from pipelex.hub import get_class_registryfrom pipelex.tools.typing.module_inspector import find_classes_in_module, import_module_from_file@@ -23,7 +25,7 @@ class ClassRegistryUtils:include_imported=is_include_imported,)- get_class_registry().register_classes(classes=classes_to_register)+ KajsonManager.get_class_registry().register_classes(classes=classes_to_register)@classmethoddef register_classes_in_folder(@@ -77,3 +79,71 @@ class ClassRegistryUtils:return list(path.rglob(pattern))else:return list(path.glob(pattern))++ @staticmethod+ def are_classes_equivalent(class_1: Type[Any], class_2: Type[Any]) -> bool:+ """Check if two Pydantic classes are equivalent (same fields, types, descriptions)."""+ if not (hasattr(class_1, "model_fields") and hasattr(class_2, "model_fields")):+ return class_1 == class_2++ # Compare model schemas using Pydantic's built-in capabilities+ try:+ schema_1: Dict[str, Any] = class_1.model_json_schema() # type: ignore[attr-defined]+ schema_2: Dict[str, Any] = class_2.model_json_schema() # type: ignore[attr-defined]+ return schema_1 == schema_2+ except Exception:+ # Fallback to manual field comparison if schema comparison fails+ fields_1: Dict[str, FieldInfo] = class_1.model_fields # type: ignore[attr-defined]+ fields_2: Dict[str, FieldInfo] = class_2.model_fields # type: ignore[attr-defined]++ if set(fields_1.keys()) != set(fields_2.keys()):+ return False++ for field_name in fields_1.keys():+ field_1: FieldInfo = fields_1[field_name]+ field_2: FieldInfo = fields_2[field_name]++ # Compare field types+ if field_1.annotation != field_2.annotation:+ return False++ # Compare field descriptions if they exist+ if getattr(field_1, "description", None) != getattr(field_2, "description", None):+ return False++ # Compare default values+ if field_1.default != field_2.default:+ return False++ return True++ @staticmethod+ def has_compatible_field(class_1: Type[Any], class_2: Type[Any]) -> bool:+ """Check if class_1 has a field that is compatible with class_2."""+ if not hasattr(class_1, "model_fields"):+ return False++ fields: Dict[str, FieldInfo] = class_1.model_fields # type: ignore[attr-defined]+ for _field_name, field_info in fields.items():+ field_type = field_info.annotation++ # Handle Optional types by extracting the inner type+ origin = get_origin(field_type)+ if origin is Union:+ args = get_args(field_type)+ # Check if this is Optional[T] (Union[T, None])+ if len(args) == 2 and type(None) in args:+ field_type = args[0] if args[1] is type(None) else args[1]++ # Check if the field type matches class_2+ if field_type == class_2:+ return True++ # Check if field_type is a subclass of class_2+ try:+ if isinstance(field_type, type) and issubclass(field_type, class_2):+ return True+ except TypeError:+ pass++ return Falsediff --git a/pipelex/tools/misc/context_provider_abstract.py b/pipelex/tools/misc/context_provider_abstract.pynew file mode 100644index 000000000..8bfd24567--- /dev/null+++ b/pipelex/tools/misc/context_provider_abstract.py@@ -0,0 +1,25 @@+from abc import ABC, abstractmethod+from typing import Any, Dict, Optional, Type++from pipelex.tools.exceptions import ToolException+++class ContextProviderException(ToolException):+ def __init__(self, variable_name: str, message: str, *args: object, **kwargs: object) -> None:+ self.variable_name = variable_name+ super().__init__(message, *args, **kwargs)+++class ContextProviderAbstract(ABC):+ """+ A ContextProvider provides context to templating engine. This interface is implemented by WorkingMemory.+ It exists to make these features available to lower level classes.+ """++ @abstractmethod+ def get_typed_object_or_attribute(self, name: str, wanted_type: Optional[Type[Any]] = None) -> Any:+ pass++ @abstractmethod+ def generate_context(self) -> Dict[str, Any]:+ passdiff --git a/pipelex/tools/misc/string_utils.py b/pipelex/tools/misc/string_utils.pyindex 9502723b7..940705b24 100644--- a/pipelex/tools/misc/string_utils.py+++ b/pipelex/tools/misc/string_utils.py@@ -196,3 +196,11 @@ def snake_to_capitalize_first_letter(snake_str: str) -> str:components = snake_str.split("_")phrase = " ".join(components)return phrase.capitalize()+++def is_snake_case(word: str) -> bool:+ return re.match(r"^[a-z][a-z0-9_]*$", word) is not None+++def is_pascal_case(word: str) -> bool:+ return re.match(r"^[A-Z][a-zA-Z0-9]*$", word) is not Nonediff --git a/pipelex/tools/misc/toml_utils.py b/pipelex/tools/misc/toml_utils.pyindex ad2cf078d..4545f596a 100644--- a/pipelex/tools/misc/toml_utils.py+++ b/pipelex/tools/misc/toml_utils.py@@ -5,6 +5,7 @@ from typing import Any, Dict, List, Mapping, Optional, castimport tomlimport tomlkit+from pydantic import BaseModelfrom tomlkit import array, document, inline_table, tablefrom tomlkit import string as tk_string@@ -155,8 +156,18 @@ def make_toml_string(return tk_string(normalized, multiline=needs_multiline, literal=use_literal)-def _convert_to_inline(value: Any):+def _convert_to_inline(value: Any) -> Any:"""Recursively convert Python values; dicts -> inline tables; lists kept as arrays."""+ # Handle Pydantic models by converting them to dict first+ if isinstance(value, BaseModel):+ # For RootModel, use the root attribute; for regular models, use model_dump()+ if hasattr(value, "root"):+ # This is a RootModel, use its root value+ value = getattr(value, "root")+ else:+ # This is a regular BaseModel, convert to dict+ value = value.model_dump()+if isinstance(value, Mapping):value = cast(Mapping[str, Any], value)inline_table_obj = inline_table()@@ -181,14 +192,20 @@ def _convert_to_inline(value: Any):return array_objif isinstance(value, str):- # Triple quotes if needed (or forced); closing quotes on their own line.- return make_toml_string(- value,- prefer_literal=False, # flip to True for '''...'''- force_multiline=False, # flip to True to force """...""" even without \n- ensure_trailing_newline=True, # keep closing """ on its own line- ensure_leading_blank_line_in_value=False, # flip to True to keep a blank first line- )+ # For prompt templates and similar fields, escape newlines instead of using multiline format+ if any(keyword in str(value) for keyword in ["@", "$"]) and "\n" in value:+ # This looks like a prompt template - escape newlines for single-line format+ # Return the string directly and let tomlkit handle the escaping properly+ return value+ else:+ # Triple quotes if needed (or forced); closing quotes on their own line.+ return make_toml_string(+ value,+ prefer_literal=False, # flip to True for '''...'''+ force_multiline=False, # flip to True to force """...""" even without \n+ ensure_trailing_newline=True, # keep closing """ on its own line+ ensure_leading_blank_line_in_value=False, # flip to True to keep a blank first line+ )return value@@ -293,9 +310,71 @@ def dict_to_toml(data: Mapping[str, Any]) -> str:# Post-process to fix inline table spacing: {key = "value"} -> { key = "value" }- # Add space after opening brace and before closing brace for TOML inline tables only+ # Fix spacing around inline table contents - ensure single space after { and before }# This regex matches TOML inline tables (containing = signs) but not Jinja2 templates- dumped_content = re.sub(r"\{([^}]*=[^}]*)\}", r"{ \1 }", dumped_content)+ # We need to handle nested braces properly by working from innermost to outermost++ def fix_inline_table_spacing(content: str) -> str:+ """Fix spacing in inline tables, handling nested structures, but avoid modifying braces inside strings."""+ # Split content into lines and process each line+ lines = content.split("\n")+ processed_lines: list[str] = []++ for line in lines:+ # Only process lines that contain TOML inline tables (have '=' and braces outside quotes)+ # Skip lines that are just string values with braces (like Jinja2 templates)+ if "=" in line and "{" in line and "}" in line:+ # Check if this line has a TOML key-value assignment with inline table+ # Pattern: key = { ... } or key = { nested = { ... } }+ if re.match(r"^\s*\w+\s*=\s*\{", line):+ # This is a TOML inline table assignment, apply spacing fixes+ processed_line = line++ # Apply multiple passes to handle nested structures properly+ for _ in range(10): # Prevent infinite loops+ old_line = processed_line++ # First: fix simple inline tables (no nested braces)+ processed_line = re.sub(r"\{\s*([^{}]*=[^{}]*?)\s*\}", r"{ \1 }", processed_line)++ # Second: fix nested inline tables - outer tables containing inner ones+ # Match pattern like { key = { inner = "value" } }+ processed_line = re.sub(r"\{\s*([^={}]*=\s*\{[^}]*\}[^{}]*?)\s*\}", r"{ \1 }", processed_line)++ # Third: fix complex nested cases with multiple inner tables+ # Handle cases like {key1 = {inner = "value"}, key2 = {inner2 = "value2"}}+ processed_line = re.sub(r"\{\s*([^{}]*=\s*\{[^}]*\}.*?)\s*\}", r"{ \1 }", processed_line)++ # Fourth: clean up any excessive whitespace that might remain+ # Remove multiple consecutive spaces inside tables+ processed_line = re.sub(r"\{\s*([^{}]*?)\s{2,}\}", r"{ \1 }", processed_line)++ # Fifth: ensure consistent single space formatting+ processed_line = re.sub(r"\{\s{2,}([^{}]*?)\s*\}", r"{ \1 }", processed_line)++ if old_line == processed_line:+ break++ # Final cleanup: fix any remaining spacing issues in inline tables+ # First: ensure there's a space between adjacent closing braces "}}"+ processed_line = re.sub(r"\}\}", "} }", processed_line)++ # Then: remove extra spaces (2 or more) before closing braces, but keep single spaces+ # This pattern matches cases like "} }" (2+ spaces) and replaces with "} }"+ processed_line = re.sub(r"\}\s{2,}\}", "} }", processed_line)++ processed_lines.append(processed_line)+ else:+ # This line has braces but is not a TOML inline table (e.g., string with Jinja2)+ # Leave it unchanged+ processed_lines.append(line)+ else:+ # No braces or no assignment, leave unchanged+ processed_lines.append(line)++ return "\n".join(processed_lines)++ dumped_content = fix_inline_table_spacing(dumped_content)return dumped_contentdiff --git a/pipelex/tools/templating/jinja2_blueprint.py b/pipelex/tools/templating/jinja2_blueprint.pynew file mode 100644index 000000000..ac136d9d9--- /dev/null+++ b/pipelex/tools/templating/jinja2_blueprint.py@@ -0,0 +1,17 @@+from typing import Any, Dict, Optional++from pydantic import BaseModel, Field++from pipelex.tools.templating.jinja2_template_category import Jinja2TemplateCategory+from pipelex.tools.templating.templating_models import PromptingStyle+++class Jinja2Blueprint(BaseModel):+ jinja2_name: Optional[str] = Field(default=None, description="Name of the Jinja2 template to use")+ jinja2: Optional[str] = Field(default=None, description="Raw Jinja2 template string")+ prompting_style: Optional[PromptingStyle] = Field(default=None, description="Style of prompting to use (typically for different LLMs)")+ template_category: Jinja2TemplateCategory = Field(+ default=Jinja2TemplateCategory.LLM_PROMPT,+ description="Category of the template (could also be HTML, MARKDOWN, MERMAID, etc.), influences Jinja2 rendering environment config",+ )+ extra_context: Optional[Dict[str, Any]] = Field(default=None, description="Additional context variables for template rendering")diff --git a/pipelex/tools/templating/jinja2_rendering.py b/pipelex/tools/templating/jinja2_rendering.pyindex 20c2355e1..2b1f42e54 100644--- a/pipelex/tools/templating/jinja2_rendering.py+++ b/pipelex/tools/templating/jinja2_rendering.py@@ -16,7 +16,9 @@ from pipelex.tools.templating.jinja2_errors import (make_jinja2_error_explanation,)from pipelex.tools.templating.jinja2_models import Jinja2ContextKey+from pipelex.tools.templating.jinja2_parsing import check_jinja2_parsingfrom pipelex.tools.templating.jinja2_template_category import Jinja2TemplateCategory+from pipelex.tools.templating.template_preprocessor import preprocess_templatefrom pipelex.tools.templating.template_provider_abstract import TemplateProviderAbstractfrom pipelex.tools.templating.templating_models import PromptingStyle@@ -59,6 +61,12 @@ async def render_jinja2(explanation = make_jinja2_error_explanation(jinja2_name=jinja2_name, template_text=jinja2)raise Jinja2RenderError(f"Jinja2 render error: '{exc}' {explanation}") from exc+ template_source = preprocess_template(template_source)+ check_jinja2_parsing(+ jinja2_template_source=template_source,+ template_category=template_category,+ )+parsed_ast = jinja2_env.parse(template_source)if undeclared_variables := meta.find_undeclared_variables(parsed_ast):undeclared_variables.discard("preliminary_text")diff --git a/pyproject.toml b/pyproject.tomlindex 194524aff..0a4f58fce 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "pipelex"-version = "0.7.0"+version = "0.8.0"description = "Pipelex is an open-source dev tool based on a simple declarative language that lets you define replicable, structured, composable LLM pipelines."authors = [{ name = "Evotis S.A.S.", email = "[email protected]" }]maintainers = [{ name = "Pipelex staff", email = "[email protected]" }]@@ -19,6 +19,7 @@ classifiers = [dependencies = ["aiofiles>=23.2.1",+ "backports.strenum>=1.3.0 ; python_version < '3.11'","filetype>=1.2.0","httpx>=0.27.0","instructor>=1.8.3",@@ -57,7 +58,6 @@ bedrock = ["boto3>=1.34.131", "aioboto3>=13.4.0"]fal = ["fal-client>=0.4.1"]google = ["google-auth-oauthlib>=1.2.1"]mistralai = ["mistralai==1.5.2"]-compat = ["backports.strenum>=1.3.0 ; python_version < '3.11'"]docs = ["mkdocs==1.6.1","mkdocs-glightbox==0.4.0",diff --git a/tests/data/test_migrate_v0_1_0_to_v0_2_0.toml b/tests/data/test_migrate_v0_1_0_to_v0_2_0.tomlindex 1d6f5b417..fd4b96bbe 100644--- a/tests/data/test_migrate_v0_1_0_to_v0_2_0.toml+++ b/tests/data/test_migrate_v0_1_0_to_v0_2_0.toml@@ -13,7 +13,7 @@ refines = "Text"[concept.AnotherConcept]Concept = "Another concept to test migration"structure = "CustomStructure"-refines = ["Text", "Document"]+refines = "Text"[concept.AlreadyMigrated]definition = "This one is already migrated"diff --git a/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_1.py b/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_1.pyindex 9862c2c57..fb5e2fded 100644--- a/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_1.py+++ b/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_1.py@@ -2,6 +2,7 @@ import pytestfrom pytest import FixtureRequestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_factory import ConceptFactoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunMode@@ -31,7 +32,12 @@ class TestPipeConditionExpressionTemplate:# Create input datacategory_input = CategoryInput(category=category)stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition.CategoryInput",+ concept=ConceptFactory.make(+ concept_code="CategoryInput",+ domain="test_pipe_condition",+ definition="test_pipe_condition.CategoryInput",+ structure_class_name="CategoryInput",+ ),content=category_input,name="input_data",)diff --git a/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_2.py b/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_2.pyindex a466918d0..cbc10f3ba 100644--- a/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_2.py+++ b/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_2.py@@ -2,6 +2,7 @@ import pytestfrom pytest import FixtureRequestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_factory import ConceptFactoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunMode@@ -31,7 +32,12 @@ class TestPipeConditionExpression:# Create input datacategory_input = CategoryInput(category=category)stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition.CategoryInput",+ concept=ConceptFactory.make(+ concept_code="CategoryInput",+ domain="test_pipe_condition",+ definition="test_pipe_condition.CategoryInput",+ structure_class_name="CategoryInput",+ ),content=category_input,name="input_data",)diff --git a/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_simple.py b/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_simple.pyindex 133375a42..448d41e4a 100644--- a/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_simple.py+++ b/tests/e2e/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_simple.py@@ -3,12 +3,17 @@import pytestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NativeConceptEnum+from pipelex.core.domains.domain import SpecialDomainfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactory-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec, TypedNamedInputRequirement+from pipelex.core.pipes.pipe_input_spec import TypedNamedInputRequirement+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprintfrom pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactoryfrom pipelex.exceptions import DryRunError-from pipelex.pipe_controllers.pipe_condition import PipeCondition+from pipelex.pipe_controllers.condition.pipe_condition_blueprint import PipeConditionBlueprint, PipeConditionPipeMapBlueprint+from pipelex.pipe_controllers.condition.pipe_condition_factory import PipeConditionFactoryfrom pipelex.pipeline.job_metadata import JobMetadatafrom tests.test_pipelines.pipe_controllers.pipe_condition.pipe_condition import CategoryInput@@ -20,18 +25,21 @@ class TestPipeConditionSimple:async def test_direct_pipe_condition_should_fail(self):"""Test a PipeCondition created directly in code that should FAIL dry run."""# Create a PipeCondition directly in Python that requires an input- pipe_condition = PipeCondition(- code="test_condition_fail",- domain="test_domain",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_domain", blueprint={"user_category": InputRequirementBlueprint(concept_code="test_pipe_condition.CategoryInput")}- ),- output_concept_code="native.Text",+ pipe_condition_blueprint = PipeConditionBlueprint(+ definition="Test condition that should fail",+ inputs={"user_category": InputRequirementBlueprint(concept="test_pipe_condition.CategoryInput")},+ output=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",expression_template="{{ user_category.category }}",- pipe_map={"small": "process_small", "medium": "process_medium", "large": "process_large"},+ pipe_map=PipeConditionPipeMapBlueprint(root={"small": "process_small", "medium": "process_medium", "large": "process_large"}),default_pipe_code="process_small",)+ pipe_condition = PipeConditionFactory.make_from_blueprint(+ domain="test_domain",+ pipe_code="test_condition_fail",+ blueprint=pipe_condition_blueprint,+ )+# Test with empty working memory - should FAILempty_working_memory = WorkingMemoryFactory.make_empty()@@ -51,28 +59,32 @@ class TestPipeConditionSimple:async def test_direct_pipe_condition_should_succeed(self):"""Test a PipeCondition created directly in code that should SUCCEED dry run."""# Create a PipeCondition directly in Python- pipe_condition = PipeCondition(- code="test_condition_succeed",- domain="test_domain",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_domain", blueprint={"user_status": InputRequirementBlueprint(concept_code="test_pipe_condition.CategoryInput")}- ),- output_concept_code="native.Text",+ pipe_condition_blueprint = PipeConditionBlueprint(+ definition="Test condition that should succeed",+ inputs={"user_status": InputRequirementBlueprint(concept="test_pipe_condition.CategoryInput")},+ output=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",expression_template="{{ user_status.category }}",- pipe_map={- "active": "process_small", # Map to existing pipes- "inactive": "process_medium",- "pending": "process_large",- },+ pipe_map=PipeConditionPipeMapBlueprint(root={"active": "process_small", "inactive": "process_medium", "pending": "process_large"}),default_pipe_code="process_small",)+ pipe_condition = PipeConditionFactory.make_from_blueprint(+ domain="test_domain",+ pipe_code="test_condition_succeed",+ blueprint=pipe_condition_blueprint,+ )+# Test with proper working memory - should SUCCEED or fail at expression evaluation (not missing inputs)working_memory = WorkingMemoryFactory.make_for_dry_run(needed_inputs=[TypedNamedInputRequirement(variable_name="user_status",- concept_code="test_pipe_condition.CategoryInput",+ concept=ConceptFactory.make(+ concept_code="CategoryInput",+ domain="test_pipe_condition",+ definition="CategoryInput",+ structure_class_name="CategoryInput",+ ),structure_class=CategoryInput,)]diff --git a/tests/e2e/pipelex/pipes/pipe_controller/pipe_parallel/test_pipe_parallel_1.py b/tests/e2e/pipelex/pipes/pipe_controller/pipe_parallel/test_pipe_parallel_1.pyindex f22730e93..de9934a0b 100644--- a/tests/e2e/pipelex/pipes/pipe_controller/pipe_parallel/test_pipe_parallel_1.py+++ b/tests/e2e/pipelex/pipes/pipe_controller/pipe_parallel/test_pipe_parallel_1.py@@ -4,6 +4,7 @@ import pytestfrom pytest import FixtureRequestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_factory import ConceptFactoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunMode@@ -36,7 +37,12 @@ class TestPipeParallelDocumentAnalysis:# Create input datadocument_input = DocumentInput(text=document_text)stuff = StuffFactory.make_stuff(- concept_str="test_pipe_parallel.DocumentInput",+ concept=ConceptFactory.make(+ concept_code="DocumentInput",+ domain="test_pipe_parallel",+ definition="test_pipe_parallel.DocumentInput",+ structure_class_name="DocumentInput",+ ),content=document_input,name="document",)diff --git a/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_batching.py b/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_batching.pyindex 72f3517f1..a51762fcc 100644--- a/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_batching.py+++ b/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_batching.py@@ -5,6 +5,7 @@ from typing import castimport pytestfrom pipelex import log+from pipelex.core.concepts.concept_factory import ConceptFactoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_input_spec import TypedNamedInputRequirementfrom pipelex.core.pipes.pipe_run_params import PipeRunMode@@ -27,7 +28,12 @@ async def test_review_analysis_sequence_with_batching(pipe_run_mode: PipeRunModeneeded_inputs=[TypedNamedInputRequirement(variable_name="document",- concept_code="customer_feedback.Document",+ concept=ConceptFactory.make(+ concept_code="Document",+ domain="customer_feedback",+ definition="Lorem ipsum",+ structure_class_name="Document",+ ),structure_class=Document,),]@@ -41,7 +47,12 @@ async def test_review_analysis_sequence_with_batching(pipe_run_mode: PipeRunModeelse:document_stuff = StuffFactory.make_stuff(name="document",- concept_str="customer_feedback.Document",+ concept=ConceptFactory.make(+ concept_code="Document",+ domain="customer_feedback",+ definition="customer_feedback.Document",+ structure_class_name="Document",+ ),content=Document(text="Review 1: Great product! Love the quality and fast shipping. 5 stars!\n\n\Review 2: Could be better. The product arrived damaged and customer service\@@ -61,7 +72,8 @@ async def test_review_analysis_sequence_with_batching(pipe_run_mode: PipeRunModeassert pipe_output is not Noneassert pipe_output.working_memory is not Noneassert pipe_output.main_stuff is not None- assert pipe_output.main_stuff.concept_code == "customer_feedback.ProductRating"+ assert pipe_output.main_stuff.concept.code == "ProductRating"+ assert pipe_output.main_stuff.concept.domain == "customer_feedback"# Log the working memory for debugginglog.debug("Final working memory after pipeline execution:")diff --git a/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_multiplicity.py b/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_multiplicity.pyindex 489e5e2b8..ed2f9df4e 100644--- a/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_multiplicity.py+++ b/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_multiplicity.py@@ -3,6 +3,7 @@import pytestfrom pytest import FixtureRequest+from pipelex.core.concepts.concept_factory import ConceptFactoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.stuffs.stuff_content import TextContent@@ -19,7 +20,12 @@ class TestPipeSequenceMultiplicity:# Create test inputtopic_stuff = StuffFactory.make_stuff(name="topic",- concept_str="creative_ideation.CreativeTopic",+ concept=ConceptFactory.make(+ concept_code="CreativeTopic",+ domain="creative_ideation",+ definition="creative_ideation.CreativeTopic",+ structure_class_name="CreativeTopic",+ ),content=TextContent(text="Sustainable transportation solutions for urban areas"),)@@ -36,4 +42,5 @@ class TestPipeSequenceMultiplicity:assert pipe_output is not Noneassert pipe_output.working_memory is not Noneassert pipe_output.main_stuff is not None- assert pipe_output.main_stuff.concept_code == "creative_ideation.BestIdea"+ assert pipe_output.main_stuff.concept.code == "BestIdea"+ assert pipe_output.main_stuff.concept.domain == "creative_ideation"diff --git a/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_simple.py b/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_simple.pyindex 0e561f39f..9f44043cc 100644--- a/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_simple.py+++ b/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_simple.py@@ -3,6 +3,7 @@import pytestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_factory import ConceptFactoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory@@ -20,7 +21,12 @@ async def test_simple_text_sequence(pipe_run_mode: PipeRunMode):# Create test inputraw_text_stuff = StuffFactory.make_stuff(name="raw_text",- concept_str="simple_text_processing.RawText",+ concept=ConceptFactory.make(+ concept_code="RawText",+ domain="simple_text_processing",+ definition="simple_text_processing.RawText",+ structure_class_name="TextContent",+ ),content=TextContent(text="This is some messy text with bad spacing."),)@@ -39,4 +45,5 @@ async def test_simple_text_sequence(pipe_run_mode: PipeRunMode):assert pipe_output is not Noneassert pipe_output.working_memory is not Noneassert pipe_output.main_stuff is not None- assert pipe_output.main_stuff.concept_code == "simple_text_processing.SummaryText"+ assert pipe_output.main_stuff.concept.code == "SummaryText"+ assert pipe_output.main_stuff.concept.domain == "simple_text_processing"diff --git a/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_with_input_memory.py b/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_with_input_memory.pynew file mode 100644index 000000000..f48fec848--- /dev/null+++ b/tests/e2e/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_with_input_memory.py@@ -0,0 +1,129 @@+"""Test pipe sequence with input memory functionality."""++import pytest++from pipelex import pretty_print+from pipelex.hub import get_report_delegate+from pipelex.pipeline.execute import execute_pipeline+from tests.test_pipelines.test_tweet import OptimizedTweet++SAMPLE_DRAFT_TWEET = """+Local high school basketball star Maria Rodriguez was the talk of Division I scouts - 6'2",+averaging 28 points per game, with offers from Duke, Stanford, and UConn all on the table.+Her single mother worked three jobs to keep them afloat, and a full ride scholarship seemed+like their golden ticket out of poverty.++But Maria saw something else when she looked around her neighborhood in East Oakland. Kids+as young as 8 were getting recruited into gangs because there was literally nothing else to+do after school. The community center had been closed for budget cuts, the local high school's+sports programs were underfunded, and talented kids were falling through the cracks every single day.++So Maria made a decision that shocked everyone: she turned down every scholarship offer and+enrolled at the local community college instead. Her guidance counselor called her crazy. Her mother+cried for weeks. But Maria had a plan.++She started coaching youth basketball teams for free, but knew she needed to leverage cutting-edge+digital transformation strategies to optimize her community impact ecosystem. Maria decided to disrupt+traditional youth development paradigms by creating a revolutionary blockchain-powered, cloud-native+mobile application called "HoopSync" - a next-generation SaaS platform that synergizes basketball+analytics with holistic youth empowerment through machine learning algorithms that predict optimal+mentorship touchpoints while scaling community engagement metrics across multiple verticals.++The app was basically just a group chat where kids could message her about practice times, but Maria's+LinkedIn posts made it sound like she was launching the next unicorn startup. She used phrases like+"pivoting the youth sports landscape through innovative digital solutions" and "monetizing social+impact through strategic technology integration." The cringe factor was off the charts.++Things got ultra-awkward when Maria tried to go viral on TikTok with her "Ball is Life, Tech is Wife"+dance challenge. The video of her doing robot moves while dribbling a basketball in her garage got 47+views (mostly from her mom's different accounts) and became a local meme for all the wrong reasons.+She literally ended every sentence with "periodt bestie" for three months and wore backwards baseball+aps to "connect with the youth demographic."++But somehow, despite the cringey marketing and unnecessarily complicated app that could have been a+simple calendar, Maria's genuine heart shone through. She personally drove kids to tryouts across the+Bay Area, organized weekend tournaments in parking lots, and convinced local businesses to sponsor uniforms.+Within two years, she had created a pipeline that helped 47 kids earn college scholarships - more than+her high school had produced in the previous decade combined.++The real breakthrough came when one of her TikTok fails accidentally went viral (2.3M views of her+tripping while filming a "motivational Monday" video). Instead of hiding, Maria owned the embarrassment+and pivoted it into authentic storytelling about failure and resilience. The authenticity resonated,+leading to corporate partnerships and even NBA players donating equipment after seeing her genuine+mission beyond the tech buzzwords.++Now she's breaking ground on a 15,000 square foot community center funded by the unlikely combination+of her cringe-famous social media presence and the world's most over-engineered youth sports app.+The center will serve 500+ kids annually, and Maria has finally learned that sometimes the best technology+is just showing up with a basketball and genuine care.++Maria's story proves that even the most cringe-worthy execution can't stop authentic purpose, and+that sometimes you have to embrace being the main character of your own embarrassing story to create real change.+"""++SAMPLE_WRITING_STYLE = """+🧵 THREAD: The $20 decision that changed everything++I was broke, living paycheck to paycheck, when I saw a coding bootcamp ad.++$20 for a trial week. I had to choose between that and groceries.++I chose the bootcamp.++Fast forward 18 months:+→ $85k salary+→ Remote work freedom+→ Built apps used by 100k+ people+→ Speaking at conferences++The lesson? Sometimes the scariest decisions lead to the biggest breakthroughs.++What $20 decision are you avoiding right now? 👇++#TechTwitter #CodingJourney #CareerChange+"""+++class TestPipeSequenceWithInputMemory:+ """Test pipe sequence functionality with input memory."""++ async def test_optimize_tweet_sequence_with_input_memory(self):+ """Test the optimize_tweet_sequence pipeline using input_memory parameter."""+ # Execute the pipeline using input_memory+ pipe_output = await execute_pipeline(+ pipe_code="optimize_tweet_sequence",+ input_memory={+ "draft_tweet": {+ "concept": "tech_tweet.DraftTweet",+ "content": SAMPLE_DRAFT_TWEET,+ },+ "writing_style": {+ "concept": "tech_tweet.WritingStyle",+ "content": SAMPLE_WRITING_STYLE,+ },+ },+ )++ # Get the optimized tweet+ optimized_tweet = pipe_output.main_stuff_as(content_type=OptimizedTweet)++ # Basic assertions+ assert pipe_output is not None+ assert pipe_output.working_memory is not None+ assert pipe_output.main_stuff is not None+ assert optimized_tweet is not None+ assert isinstance(optimized_tweet, OptimizedTweet)+ assert len(optimized_tweet.text) > 0++ # Log output and generate report+ pretty_print(pipe_output, title="Pipe output for optimize_tweet_sequence")+ get_report_delegate().generate_report()++ # Verify the optimized tweet is different from the draft+ assert optimized_tweet.text != SAMPLE_DRAFT_TWEET+ # Verify it's not empty+ assert len(optimized_tweet.text.strip()) > 0+ assert "Maria Rodriguez" in optimized_tweet.textdiff --git a/tests/integration/pipelex/client/test_client.py b/tests/integration/pipelex/client/test_client.pyindex 7fa887796..214af7f7f 100644--- a/tests/integration/pipelex/client/test_client.py+++ b/tests/integration/pipelex/client/test_client.py@@ -6,7 +6,10 @@ from pydantic import BaseModelfrom pipelex import pretty_printfrom pipelex.client.client import PipelexClientfrom pipelex.client.protocol import COMPACT_MEMORY_KEY, PipelineState-from pipelex.core.memory.working_memory import WorkingMemory+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnum+from pipelex.core.domains.domain import SpecialDomain+from pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.stuffs.stuff import Stufffrom pipelex.core.stuffs.stuff_content import TextContentfrom pipelex.core.stuffs.stuff_factory import StuffFactory@@ -30,7 +33,7 @@ class TestPipelexApiClient:pipe_code="retrieve_excerpts",memory=[StuffFactory.make_stuff(- concept_str="Text",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),name="text",content=TextContent(text="""@@ -75,7 +78,9 @@ class TestPipelexApiClient:),),StuffFactory.make_stuff(- concept_str="answer.Question",+ concept=ConceptFactory.make(+ concept_code="Question", domain="answer", definition="answer.Question", structure_class_name="Question"+ ),name="question",content=TextContent(text="Aerodynamic features?"),),@@ -95,11 +100,9 @@ class TestPipelexApiClient:"""for example in examples:# Create working memory from example data- memory = WorkingMemory()question = example.memory[1]text = example.memory[0]- memory.add_new_stuff(name=question.stuff_name or question.concept_code, stuff=question)- memory.add_new_stuff(name=text.stuff_name or text.concept_code, stuff=text)+ memory = WorkingMemoryFactory.make_from_multiple_stuffs(stuff_list=[question, text], main_name=text.stuff_name or text.concept.code)# Execute pipeclient = PipelexClient()@@ -138,7 +141,7 @@ class TestPipelexApiClient:assert isinstance(item["justification"], str)# Verify text structure- assert working_memory["text"]["concept_code"] == "native.Text"+ assert working_memory["text"]["concept_code"] == f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}"assert "content" in working_memory["text"]assert isinstance(working_memory["text"]["content"], str)assert "The Dawn of Ultra-Rapid Transit" in working_memory["text"]["content"]diff --git a/tests/integration/pipelex/cogt/test_image_gen.py b/tests/integration/pipelex/cogt/test_image_gen.pyindex 86a83790a..21c4fdb8d 100644--- a/tests/integration/pipelex/cogt/test_image_gen.py+++ b/tests/integration/pipelex/cogt/test_image_gen.py@@ -12,7 +12,6 @@ from tests.integration.pipelex.test_data import IMGGTestCasesclass TestImageGeneration:@pytest.mark.parametrize("topic, imgg_prompt_text", IMGGTestCases.IMAGE_DESC)async def test_imgg_using_handle(self, imgg_handle: str, topic: str, imgg_prompt_text: str):- pretty_print(imgg_prompt_text, title=topic)imgg_worker_async = get_imgg_worker(imgg_handle=imgg_handle)imgg_job = ImggJobFactory.make_imgg_job_from_prompt_contents(positive_text=imgg_prompt_text,diff --git a/tests/unit/pipelex/core/memory/test_working_memory_factory.py b/tests/integration/pipelex/core/memory/test_working_memory_factory.pysimilarity index 75%rename from tests/unit/pipelex/core/memory/test_working_memory_factory.pyrename to tests/integration/pipelex/core/memory/test_working_memory_factory.pyindex 2082ae354..e01cb59cf 100644--- a/tests/unit/pipelex/core/memory/test_working_memory_factory.py+++ b/tests/integration/pipelex/core/memory/test_working_memory_factory.py@@ -1,5 +1,5 @@from pipelex.client.protocol import CompactMemory-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_native import NativeConceptEnumfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.stuffs.stuff_content import ImageContent, PageContent, TextAndImagesContent, TextContent@@ -9,7 +9,7 @@ class TestWorkingMemoryFactory:"""Test deserialization of compact memory with text content."""compact_memory: CompactMemory = {"text_item": {- "concept_code": NativeConcept.TEXT.code,+ "concept_code": NativeConceptEnum.TEXT.value,"content": "Hello, world!",}}@@ -20,34 +20,15 @@ class TestWorkingMemoryFactory:assert "text_item" in working_memory.rootstuff = working_memory.root["text_item"]- assert stuff.concept_code == NativeConcept.TEXT.code+ assert stuff.concept.code == NativeConceptEnum.TEXT.valueassert isinstance(stuff.content, TextContent)assert stuff.content.text == "Hello, world!"- def test_make_from_compact_memory_with_structured_content(self):- """Test deserialization of compact memory with structured content."""- compact_memory: CompactMemory = {- "structured_item": {- "concept_code": "some.CustomConcept",- "content": "This is fallback text content since CustomConcept doesn't exist",- }- }-- working_memory = WorkingMemoryFactory.make_from_compact_memory(compact_memory)-- assert working_memory is not None- assert "structured_item" in working_memory.root-- stuff = working_memory.root["structured_item"]- assert stuff.concept_code == "some.CustomConcept"- assert stuff.content is not None- assert isinstance(stuff.content, TextContent) # Falls back to TextContent-def test_make_from_compact_memory_with_complex_nested_content(self):"""Test deserialization of compact memory with complex nested structured content."""compact_memory: CompactMemory = {"complex_page": {- "concept_code": NativeConcept.PAGE.code,+ "concept_code": NativeConceptEnum.PAGE.value,"content": {"text_and_images": {"text": {@@ -79,7 +60,7 @@ class TestWorkingMemoryFactory:assert "complex_page" in working_memory.rootstuff = working_memory.root["complex_page"]- assert stuff.concept_code == NativeConcept.PAGE.code+ assert stuff.concept.code == NativeConceptEnum.PAGE.valueassert isinstance(stuff.content, PageContent)# Verify text_and_images structure@@ -137,26 +118,21 @@ class TestWorkingMemoryFactory:"""Test deserialization of compact memory with multiple items."""compact_memory: CompactMemory = {"text1": {- "concept_code": NativeConcept.TEXT.code,+ "concept_code": NativeConceptEnum.TEXT.value,"content": "First text",},"text2": {- "concept_code": NativeConcept.TEXT.code,+ "concept_code": NativeConceptEnum.TEXT.value,"content": "Second text",},- "structured": {- "concept_code": "custom.Concept",- "content": "Fallback text for custom concept",- },}working_memory = WorkingMemoryFactory.make_from_compact_memory(compact_memory)assert working_memory is not None- assert len(working_memory.root) == 3+ assert len(working_memory.root) == 2assert "text1" in working_memory.rootassert "text2" in working_memory.root- assert "structured" in working_memory.root# Verify text contenttext1_stuff = working_memory.root["text1"]@@ -166,9 +142,3 @@ class TestWorkingMemoryFactory:text2_stuff = working_memory.root["text2"]assert isinstance(text2_stuff.content, TextContent)assert text2_stuff.content.text == "Second text"-- # Verify structured content (falls back to TextContent)- structured_stuff = working_memory.root["structured"]- assert structured_stuff.concept_code == "custom.Concept"- assert isinstance(structured_stuff.content, TextContent)- assert structured_stuff.content.text == "Fallback text for custom concept"diff --git a/tests/integration/pipelex/pipes/pipe_controller/pipe_batch/test_pipe_batch_simple.py b/tests/integration/pipelex/pipes/controller/pipe_batch/test_pipe_batch_simple.pysimilarity index 72%rename from tests/integration/pipelex/pipes/pipe_controller/pipe_batch/test_pipe_batch_simple.pyrename to tests/integration/pipelex/pipes/controller/pipe_batch/test_pipe_batch_simple.pyindex 69c0003d6..3ef5c9643 100644--- a/tests/integration/pipelex/pipes/pipe_controller/pipe_batch/test_pipe_batch_simple.py+++ b/tests/integration/pipelex/pipes/controller/pipe_batch/test_pipe_batch_simple.py@@ -6,13 +6,17 @@ import pytestfrom pytest import FixtureRequestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_factory import ConceptBlueprint, ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnumfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactory-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec-from pipelex.core.pipes.pipe_run_params import BatchParams, PipeRunMode+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactoryfrom pipelex.core.stuffs.stuff_content import ListContent, StuffContent, TextContentfrom pipelex.core.stuffs.stuff_factory import StuffFactory-from pipelex.pipe_controllers.pipe_batch import PipeBatch+from pipelex.hub import get_concept_provider+from pipelex.pipe_controllers.batch.pipe_batch_blueprint import PipeBatchBlueprint+from pipelex.pipe_controllers.batch.pipe_batch_factory import PipeBatchFactoryfrom pipelex.pipeline.job_metadata import JobMetadata@@ -25,19 +29,39 @@ class TestPipeBatchSimple:async def test_simple_batch_processing(self, request: FixtureRequest, pipe_run_mode: PipeRunMode):"""Test PipeBatch with a simple batch processing scenario."""# Create PipeBatch instance - it will call the uppercase_transformer pipe from the TOML- pipe_batch = PipeBatch(- domain="test_integration",- code="simple_batch",+ domain = "test_integration"+ concept_1 = ConceptFactory.make_from_blueprint(+ concept_code="TestConcept1",+ domain=domain,+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ concept_codes_from_the_same_domain=["TestConcept1"],+ )+ concept_2 = ConceptFactory.make_from_blueprint(+ concept_code="TestConcept2",+ domain=domain,+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ concept_codes_from_the_same_domain=["TestConcept2"],+ )+ concept_library = get_concept_provider()+ concept_library.add_concepts([concept_1, concept_2])++ pipe_batch_blueprint = PipeBatchBlueprint(+ definition="Simple batch processing test",branch_pipe_code="uppercase_transformer", # This exists in the TOML file- inputs=PipeInputSpec.make_from_blueprint(- domain="test_integration",- blueprint={- "text_list": InputRequirementBlueprint(concept_code="Text"),- "text_item": InputRequirementBlueprint(concept_code="Text"),- },- ),- output_concept_code="test_integration.UppercaseText",- batch_params=BatchParams(input_list_stuff_name="text_list", input_item_stuff_name="text_item"),+ inputs={+ "text_list": InputRequirementBlueprint(concept=concept_1.concept_string),+ "text_item": InputRequirementBlueprint(concept=concept_2.concept_string),+ },+ output=concept_2.concept_string,+ input_list_name="text_list",+ input_item_name="text_item",+ )++ pipe_batch = PipeBatchFactory.make_from_blueprint(+ domain=domain,+ pipe_code="simple_batch",+ blueprint=pipe_batch_blueprint,+ concept_codes_from_the_same_domain=["TestConcept1", "TestConcept2"],)# Create test data - list of text items@@ -48,7 +72,7 @@ class TestPipeBatchSimple:]text_list_stuff = StuffFactory.make_stuff(- concept_str="Text",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),content=ListContent[StuffContent](items=cast(List[StuffContent], text_items)),name="text_list",)@@ -57,7 +81,7 @@ class TestPipeBatchSimple:# Verify the PipeBatch instance was created correctlyassert pipe_batch is not None- assert pipe_batch.domain == "test_integration"+ assert pipe_batch.domain == domainassert pipe_batch.code == "simple_batch"assert pipe_batch.branch_pipe_code == "uppercase_transformer"assert pipe_batch.batch_params is not None@@ -109,8 +133,6 @@ class TestPipeBatchSimple:assert isinstance(item, TextContent)if pipe_run_mode != PipeRunMode.DRY:assert item.text == expected_results[i], f"Item {i}: expected '{expected_results[i]}', got '{item.text}'"- else:- assert "DRY RUN" in item.text# Verify working memory contains all the expected elementsfinal_working_memory = pipe_output.working_memory@@ -128,7 +150,8 @@ class TestPipeBatchSimple:# New result should be addedbatch_result = final_working_memory.get_stuff("batch_result")assert batch_result is not None- assert batch_result.concept_code == "test_integration.UppercaseText"+ assert batch_result.concept.code == concept_2.code+ assert batch_result.concept.domain == domain# Verify the batch result content matches exactlyassert isinstance(batch_result.content, ListContent)@@ -138,10 +161,6 @@ class TestPipeBatchSimple:assert result_list.items[0].text == "UPPER: HELLO"assert result_list.items[1].text == "UPPER: WORLD"assert result_list.items[2].text == "UPPER: TEST"- else:- assert "DRY RUN" in result_list.items[0].text- assert "DRY RUN" in result_list.items[1].text- assert "DRY RUN" in result_list.items[2].text# Verify working memory structureassert len(final_working_memory.root) == 2diff --git a/tests/integration/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_complex.py b/tests/integration/pipelex/pipes/controller/pipe_condition/test_pipe_condition_complex.pysimilarity index 77%rename from tests/integration/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_complex.pyrename to tests/integration/pipelex/pipes/controller/pipe_condition/test_pipe_condition_complex.pyindex 3a29a8fb5..04ffe60e8 100644--- a/tests/integration/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_complex.py+++ b/tests/integration/pipelex/pipes/controller/pipe_condition/test_pipe_condition_complex.py@@ -6,6 +6,7 @@ import pytestfrom pytest import FixtureRequestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_factory import ConceptFactoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunMode@@ -36,12 +37,22 @@ class TestPipeConditionComplex:# Create stuffs for working memorydoc_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.DocumentRequest",+ concept=ConceptFactory.make(+ concept_code="DocumentRequest",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.DocumentRequest",+ structure_class_name="DocumentRequest",+ ),content=doc_request,name="doc_request",)user_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.UserProfile",+ concept=ConceptFactory.make(+ concept_code="UserProfile",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.UserProfile",+ structure_class_name="UserProfile",+ ),content=user_profile,name="user_profile",)@@ -65,8 +76,6 @@ class TestPipeConditionComplex:assert isinstance(final_result.content, TextContent)if pipe_run_mode != PipeRunMode.DRY:assert "URGENT_TECHNICAL_PROCESSED" in final_result.content.text- else:- assert "DRY RUN" in final_result.content.textasync def test_business_finance_routing(self, request: FixtureRequest, pipe_run_mode: PipeRunMode):"""Test business document for finance department routing."""@@ -74,12 +83,22 @@ class TestPipeConditionComplex:user_profile = UserProfile(user_level="intermediate", department="finance")doc_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.DocumentRequest",+ concept=ConceptFactory.make(+ concept_code="DocumentRequest",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.DocumentRequest",+ structure_class_name="DocumentRequest",+ ),content=doc_request,name="doc_request",)user_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.UserProfile",+ concept=ConceptFactory.make(+ concept_code="UserProfile",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.UserProfile",+ structure_class_name="UserProfile",+ ),content=user_profile,name="user_profile",)@@ -107,12 +126,22 @@ class TestPipeConditionComplex:user_profile = UserProfile(user_level="expert", department="legal")doc_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.DocumentRequest",+ concept=ConceptFactory.make(+ concept_code="DocumentRequest",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.DocumentRequest",+ structure_class_name="DocumentRequest",+ ),content=doc_request,name="doc_request",)user_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.UserProfile",+ concept=ConceptFactory.make(+ concept_code="UserProfile",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.UserProfile",+ structure_class_name="UserProfile",+ ),content=user_profile,name="user_profile",)@@ -148,12 +177,22 @@ class TestPipeConditionComplex:)doc_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.DocumentRequest",+ concept=ConceptFactory.make(+ concept_code="DocumentRequest",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.DocumentRequest",+ structure_class_name="DocumentRequest",+ ),content=doc_request,name="doc_request",)user_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.UserProfile",+ concept=ConceptFactory.make(+ concept_code="UserProfile",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.UserProfile",+ structure_class_name="UserProfile",+ ),content=user_profile,name="user_profile",)@@ -182,12 +221,22 @@ class TestPipeConditionComplex:user_profile = UserProfile(user_level="beginner", department="marketing")doc_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.DocumentRequest",+ concept=ConceptFactory.make(+ concept_code="DocumentRequest",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.DocumentRequest",+ structure_class_name="DocumentRequest",+ ),content=doc_request,name="doc_request",)user_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.UserProfile",+ concept=ConceptFactory.make(+ concept_code="UserProfile",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.UserProfile",+ structure_class_name="UserProfile",+ ),content=user_profile,name="user_profile",)@@ -211,7 +260,12 @@ class TestPipeConditionComplex:doc_request = DocumentRequest(document_type="technical", priority="urgent", language="english", complexity="high")doc_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.DocumentRequest",+ concept=ConceptFactory.make(+ concept_code="DocumentRequest",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.DocumentRequest",+ structure_class_name="DocumentRequest",+ ),content=doc_request,name="doc_request",)@@ -270,12 +324,22 @@ class TestPipeConditionComplex:)doc_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.DocumentRequest",+ concept=ConceptFactory.make(+ concept_code="DocumentRequest",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.DocumentRequest",+ structure_class_name="DocumentRequest",+ ),content=doc_request,name="doc_request",)user_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_complex.UserProfile",+ concept=ConceptFactory.make(+ concept_code="UserProfile",+ domain="test_pipe_condition_complex",+ definition="test_pipe_condition_complex.UserProfile",+ structure_class_name="UserProfile",+ ),content=user_profile,name="user_profile",)diff --git a/tests/integration/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_simple.py b/tests/integration/pipelex/pipes/controller/pipe_condition/test_pipe_condition_simple.pysimilarity index 76%rename from tests/integration/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_simple.pyrename to tests/integration/pipelex/pipes/controller/pipe_condition/test_pipe_condition_simple.pyindex 269b15903..4bb31f103 100644--- a/tests/integration/pipelex/pipes/pipe_controller/pipe_condition/test_pipe_condition_simple.py+++ b/tests/integration/pipelex/pipes/controller/pipe_condition/test_pipe_condition_simple.py@@ -6,8 +6,11 @@ import pytestfrom pytest import FixtureRequestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnum+from pipelex.core.domains.domain import SpecialDomainfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactory-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprintfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory@@ -15,7 +18,8 @@ from pipelex.core.stuffs.stuff_content import TextContentfrom pipelex.core.stuffs.stuff_factory import StuffFactoryfrom pipelex.exceptions import DryRunErrorfrom pipelex.hub import get_pipe_router-from pipelex.pipe_controllers.pipe_condition import PipeCondition+from pipelex.pipe_controllers.condition.pipe_condition_blueprint import PipeConditionBlueprint, PipeConditionPipeMapBlueprint+from pipelex.pipe_controllers.condition.pipe_condition_factory import PipeConditionFactoryfrom pipelex.pipeline.job_metadata import JobMetadatafrom tests.test_pipelines.pipe_controllers.pipe_condition.pipe_condition import CategoryInput@@ -28,18 +32,21 @@ class TestPipeConditionSimple:async def test_condition_long_text_processing(self, request: FixtureRequest, pipe_run_mode: PipeRunMode):"""Test PipeCondition with long text that should trigger capitalize_long_text pipe."""- pipe_condition = PipeCondition(- domain="test_integration",- code="text_length_condition",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_integration", blueprint={"input_text": InputRequirementBlueprint(concept_code="Text")}- ),- output_concept_code="Text",+ pipe_condition_blueprint = PipeConditionBlueprint(+ definition="Text length condition for testing",+ inputs={"input_text": InputRequirementBlueprint(concept=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}")},+ output=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",expression_template="{% if input_text.text|length > 5 %}long{% else %}short{% endif %}",- pipe_map={"long": "capitalize_long_text", "short": "add_prefix_short_text"},+ pipe_map=PipeConditionPipeMapBlueprint(root={"long": "capitalize_long_text", "short": "add_prefix_short_text"}),+ )++ pipe_condition = PipeConditionFactory.make_from_blueprint(+ domain="test_integration",+ pipe_code="text_length_condition",+ blueprint=pipe_condition_blueprint,)input_text_stuff = StuffFactory.make_stuff(- concept_str="Text",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),content=TextContent(text="hello world"), # 11 charactersname="input_text",)@@ -48,8 +55,10 @@ class TestPipeConditionSimple:assert pipe_condition.domain == "test_integration"assert pipe_condition.code == "text_length_condition"- assert pipe_condition.pipe_map["long"] == "capitalize_long_text"- assert pipe_condition.pipe_map["short"] == "add_prefix_short_text"+ assert pipe_condition.pipe_map[0].expression_result == "long"+ assert pipe_condition.pipe_map[0].pipe_code == "capitalize_long_text"+ assert pipe_condition.pipe_map[1].expression_result == "short"+ assert pipe_condition.pipe_map[1].pipe_code == "add_prefix_short_text"input_text = working_memory.get_stuff("input_text")assert input_text is not None@@ -71,9 +80,7 @@ class TestPipeConditionSimple:final_result = pipe_output.main_stuffassert isinstance(final_result.content, TextContent)# Should be: "hello world" (11 chars > 5) -> expression="long" -> capitalize_long_text -> "LONG: HELLO WORLD"- if pipe_run_mode == PipeRunMode.DRY:- assert "DRY RUN" in final_result.content.text- else:+ if pipe_run_mode != PipeRunMode.DRY:assert final_result.content.text == "LONG: HELLO WORLD"# Verify working memory structure@@ -90,29 +97,33 @@ class TestPipeConditionSimple:final_result_in_memory = final_working_memory.get_main_stuff()assert final_result_in_memory is not Noneassert isinstance(final_result_in_memory.content, TextContent)- if pipe_run_mode == PipeRunMode.DRY:- assert "DRY RUN" in final_result_in_memory.content.text- else:+ if pipe_run_mode != PipeRunMode.DRY:assert final_result_in_memory.content.text == "LONG: HELLO WORLD"- assert final_result_in_memory.concept_code == "native.Text"+ assert (+ f"{final_result_in_memory.concept.domain}.{final_result_in_memory.concept.code}"+ == f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}"+ )async def test_condition_short_text_processing(self, request: FixtureRequest, pipe_run_mode: PipeRunMode):"""Test PipeCondition with short text that should trigger add_prefix_short_text pipe."""# Create PipeCondition instance - pipes are loaded from TOML files- pipe_condition = PipeCondition(- domain="test_integration",- code="text_length_condition",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_integration", blueprint={"input_text": InputRequirementBlueprint(concept_code="Text")}- ),- output_concept_code="Text",+ pipe_condition_blueprint = PipeConditionBlueprint(+ definition="Text length condition for short text testing",+ inputs={"input_text": InputRequirementBlueprint(concept=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}")},+ output=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",expression_template="{% if input_text.text|length > 5 %}long{% else %}short{% endif %}",- pipe_map={"long": "capitalize_long_text", "short": "add_prefix_short_text"},+ pipe_map=PipeConditionPipeMapBlueprint(root={"long": "capitalize_long_text", "short": "add_prefix_short_text"}),+ )++ pipe_condition = PipeConditionFactory.make_from_blueprint(+ domain="test_integration",+ pipe_code="text_length_condition",+ blueprint=pipe_condition_blueprint,)# Create test data - short text input (<= 5 characters)input_text_stuff = StuffFactory.make_stuff(- concept_str="Text",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),content=TextContent(text="hi"), # 2 charactersname="input_text",)@@ -141,9 +152,7 @@ class TestPipeConditionSimple:final_result = pipe_output.main_stuffassert isinstance(final_result.content, TextContent)# Should be: "hi" (2 chars <= 5) -> expression="short" -> add_prefix_short_text -> "SHORT: hi"- if pipe_run_mode == PipeRunMode.DRY:- assert "DRY RUN" in final_result.content.text- else:+ if pipe_run_mode != PipeRunMode.DRY:assert final_result.content.text == "SHORT: hi"# Verify working memory structure@@ -160,18 +169,24 @@ class TestPipeConditionSimple:final_result_in_memory = final_working_memory.get_main_stuff()assert final_result_in_memory is not Noneassert isinstance(final_result_in_memory.content, TextContent)- if pipe_run_mode == PipeRunMode.DRY:- assert "DRY RUN" in final_result_in_memory.content.text- else:+ if pipe_run_mode != PipeRunMode.DRY:assert final_result_in_memory.content.text == "SHORT: hi"- assert final_result_in_memory.concept_code == "native.Text"+ assert (+ f"{final_result_in_memory.concept.domain}.{final_result_in_memory.concept.code}"+ == f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}"+ )async def test_condition_dry_run_success(self, request: FixtureRequest):"""Test PipeCondition dry run with valid inputs using real pipe - should succeed."""# Create test data using CategoryInput for the real pipe basic_condition_by_category_2category_input = CategoryInput(category="small")input_data_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_2.CategoryInput",+ concept=ConceptFactory.make(+ concept_code="CategoryInput",+ domain="test_pipe_condition_2",+ definition="test_pipe_condition_2.CategoryInput",+ structure_class_name="CategoryInput",+ ),content=category_input,name="input_data",)@@ -194,8 +209,6 @@ class TestPipeConditionSimple:# For dry run, the output should be a synthetic result from the chosen pipe (process_small_2)final_result = pipe_output.main_stuffassert isinstance(final_result.content, TextContent)- # The dry run should contain some indication it's a dry run result- assert "DRY RUN" in final_result.content.text# Verify working memory structure is preservedfinal_working_memory = pipe_output.working_memory@@ -233,7 +246,12 @@ class TestPipeConditionSimple:# Create test data using CategoryInput for the medium categorycategory_input = CategoryInput(category="medium")input_data_stuff = StuffFactory.make_stuff(- concept_str="test_pipe_condition_2.CategoryInput",+ concept=ConceptFactory.make(+ concept_code="CategoryInput",+ domain="test_pipe_condition_2",+ definition="test_pipe_condition_2.CategoryInput",+ structure_class_name="CategoryInput",+ ),content=category_input,name="input_data",)@@ -258,8 +276,6 @@ class TestPipeConditionSimple:# Verify that the dry run correctly validated the pipeline structure for medium categoryfinal_result = pipe_output.main_stuffassert isinstance(final_result.content, TextContent)- # The dry run should contain some indication it's a dry run result from process_medium_2- assert "DRY RUN" in final_result.content.text# Verify working memory structurefinal_working_memory = pipe_output.working_memorydiff --git a/tests/integration/pipelex/pipes/controller/pipe_condition/test_pipe_condition_validation.py b/tests/integration/pipelex/pipes/controller/pipe_condition/test_pipe_condition_validation.pynew file mode 100644index 000000000..f15bcfa78--- /dev/null+++ b/tests/integration/pipelex/pipes/controller/pipe_condition/test_pipe_condition_validation.py@@ -0,0 +1,97 @@+from pipelex.core.concepts.concept_factory import ConceptBlueprint, ConceptFactory+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.hub import get_concept_provider+from pipelex.pipe_controllers.condition.pipe_condition_blueprint import PipeConditionBlueprint, PipeConditionPipeMapBlueprint+from pipelex.pipe_controllers.condition.pipe_condition_factory import PipeConditionFactory+++class TestPipeConditionValidation:+ """Tests for PipeCondition validate_inputs method"""++ def test_pipe_condition_creation(self):+ """Test basic PipeCondition creation"""+ domain = "test_domain"+ concept_1 = ConceptFactory.make_from_blueprint(+ concept_code="TestConcept",+ domain=domain,+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ concept_codes_from_the_same_domain=["TestConcept"],+ )+ concept_2 = ConceptFactory.make_from_blueprint(+ concept_code="Result", domain=domain, blueprint=ConceptBlueprint(definition="Lorem Ipsum"), concept_codes_from_the_same_domain=["Result"]+ )+ concept_library = get_concept_provider()+ concept_library.add_concepts([concept_1, concept_2])++ pipe_condition_blueprint = PipeConditionBlueprint(+ definition="Test condition for validation",+ inputs={"input_var": InputRequirementBlueprint(concept=concept_1.concept_string)},+ output=concept_2.concept_string,+ expression="input_var",+ pipe_map=PipeConditionPipeMapBlueprint(root={"value1": "pipe_a", "value2": "pipe_b"}),+ default_pipe_code="default_pipe",+ )++ pipe_condition = PipeConditionFactory.make_from_blueprint(+ domain=domain,+ pipe_code="test_condition",+ blueprint=pipe_condition_blueprint,+ )++ assert pipe_condition.code == "test_condition"+ assert pipe_condition.domain == domain+ assert len(pipe_condition.pipe_map) == 2+ assert pipe_condition.expression == "input_var"+ assert pipe_condition.default_pipe_code == "default_pipe"++ concept_library.teardown()++ def test_pipe_condition_expression_template_vs_expression(self):+ """Test that both expression_template and expression formats work"""+ # Test with expression_template+ domain = "test_domain"+ concept_library = get_concept_provider()+ concept_1 = ConceptFactory.make_from_blueprint(+ concept_code="TestConcept",+ domain=domain,+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ concept_codes_from_the_same_domain=["TestConcept"],+ )+ concept_2 = ConceptFactory.make_from_blueprint(+ concept_code="Result", domain=domain, blueprint=ConceptBlueprint(definition="Lorem Ipsum"), concept_codes_from_the_same_domain=["Result"]+ )+ concept_library.add_concepts([concept_1, concept_2])++ pipe_condition_template_blueprint = PipeConditionBlueprint(+ definition="Test condition with expression template",+ inputs={"var": InputRequirementBlueprint(concept=concept_1.concept_string)},+ output=concept_2.concept_string,+ expression_template="{{ var }}",+ pipe_map=PipeConditionPipeMapBlueprint(root={"value": "target_pipe"}),+ )++ pipe_condition_template = PipeConditionFactory.make_from_blueprint(+ domain=domain,+ pipe_code="test_condition_template",+ blueprint=pipe_condition_template_blueprint,+ )++ # Test with expression+ pipe_condition_expr_blueprint = PipeConditionBlueprint(+ definition="Test condition with expression",+ inputs={"var": InputRequirementBlueprint(concept=concept_1.concept_string)},+ output=concept_2.concept_string,+ expression="var",+ pipe_map=PipeConditionPipeMapBlueprint(root={"value": "target_pipe"}),+ )++ pipe_condition_expr = PipeConditionFactory.make_from_blueprint(+ domain=domain,+ pipe_code="test_condition_expr",+ blueprint=pipe_condition_expr_blueprint,+ )++ # Both should have the same applied expression template format+ assert pipe_condition_template.applied_expression_template == "{{ var }}"+ assert pipe_condition_expr.applied_expression_template == "{{ var }}"+ concept_library.teardown()diff --git a/tests/integration/pipelex/pipes/pipe_controller/pipe_parallel/test_pipe_parallel_simple.py b/tests/integration/pipelex/pipes/controller/pipe_parallel/test_pipe_parallel_simple.pysimilarity index 72%rename from tests/integration/pipelex/pipes/pipe_controller/pipe_parallel/test_pipe_parallel_simple.pyrename to tests/integration/pipelex/pipes/controller/pipe_parallel/test_pipe_parallel_simple.pyindex f5191c50d..b309aa175 100644--- a/tests/integration/pipelex/pipes/pipe_controller/pipe_parallel/test_pipe_parallel_simple.py+++ b/tests/integration/pipelex/pipes/controller/pipe_parallel/test_pipe_parallel_simple.py@@ -5,14 +5,18 @@ from typing import castimport pytestfrom pytest import FixtureRequest+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnum+from pipelex.core.domains.domain import SpecialDomainfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactory-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprintfrom pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactoryfrom pipelex.core.stuffs.stuff_content import TextContentfrom pipelex.core.stuffs.stuff_factory import StuffFactory-from pipelex.pipe_controllers.pipe_parallel import PipeParallel-from pipelex.pipe_controllers.sub_pipe import SubPipe+from pipelex.pipe_controllers.parallel.pipe_parallel_blueprint import PipeParallelBlueprint+from pipelex.pipe_controllers.parallel.pipe_parallel_factory import PipeParallelFactory+from pipelex.pipe_controllers.sub_pipe_factory import SubPipeBlueprintfrom pipelex.pipeline.job_metadata import JobMetadata@@ -25,25 +29,28 @@ class TestPipeParallelSimple:async def test_parallel_text_analysis(self, request: FixtureRequest, pipe_run_mode: PipeRunMode):"""Test PipeParallel running three text analysis pipes in parallel."""# Create PipeParallel instance - pipes are loaded from TOML files- pipe_parallel = PipeParallel(- domain="test_integration",- code="parallel_text_analyzer",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_integration", blueprint={"input_text": InputRequirementBlueprint(concept_code="Text")}- ),- output_concept_code="Text",- parallel_sub_pipes=[- SubPipe(pipe_code="analyze_sentiment", output_name="sentiment_result"),- SubPipe(pipe_code="count_words", output_name="word_count_result"),- SubPipe(pipe_code="extract_keywords", output_name="keywords_result"),+ pipe_parallel_blueprint = PipeParallelBlueprint(+ definition="Parallel text analysis pipeline",+ inputs={"input_text": InputRequirementBlueprint(concept=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}")},+ output=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",+ parallels=[+ SubPipeBlueprint(pipe="analyze_sentiment", result="sentiment_result"),+ SubPipeBlueprint(pipe="count_words", result="word_count_result"),+ SubPipeBlueprint(pipe="extract_keywords", result="keywords_result"),],add_each_output=True,combined_output=None,)+ pipe_parallel = PipeParallelFactory.make_from_blueprint(+ domain="test_integration",+ pipe_code="parallel_text_analyzer",+ blueprint=pipe_parallel_blueprint,+ )+# Create test datainput_text_stuff = StuffFactory.make_stuff(- concept_str="Text",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),content=TextContent(text="The weather is beautiful today. I love sunny days and outdoor activities."),name="input_text",)@@ -99,11 +106,9 @@ class TestPipeParallelSimple:assert sentiment_result is not Noneassert isinstance(sentiment_result.content, TextContent)# Should return one of: positive, negative, neutral- if pipe_run_mode == PipeRunMode.DRY:- assert "DRY RUN" in sentiment_result.content.text- else:+ if pipe_run_mode != PipeRunMode.DRY:assert sentiment_result.content.text.lower() in ["positive", "negative", "neutral"]- assert sentiment_result.concept_code == "native.Text"+ assert f"{sentiment_result.concept.domain}.{sentiment_result.concept.code}" == f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}"# Verify word count resultword_count_result = final_working_memory.get_stuff("word_count_result")@@ -111,11 +116,10 @@ class TestPipeParallelSimple:assert isinstance(word_count_result.content, TextContent)# Should be a number (as text)word_count_text = word_count_result.content.text.strip()- if pipe_run_mode == PipeRunMode.DRY:- assert "DRY RUN" in word_count_text- else:+ if pipe_run_mode != PipeRunMode.DRY:assert word_count_text.isdigit() or word_count_text in ["12", "thirteen", "twelve"] # Allow for some variation- assert word_count_result.concept_code == "native.Text"+ assert word_count_result.concept.code == "Text"+ assert word_count_result.concept.domain == "native"# Verify keywords extraction resultkeywords_result = final_working_memory.get_stuff("keywords_result")@@ -123,8 +127,10 @@ class TestPipeParallelSimple:assert isinstance(keywords_result.content, TextContent)# Should contain comma-separated keywordskeywords_text = keywords_result.content.text.strip()- assert "," in keywords_text or len(keywords_text.split()) >= 2 # Should have multiple keywords- assert keywords_result.concept_code == "native.Text"+ if pipe_run_mode != PipeRunMode.DRY:+ assert "," in keywords_text or len(keywords_text.split()) >= 2 # Should have multiple keywords+ assert keywords_result.concept.code == "Text"+ assert keywords_result.concept.domain == "native"# Verify that all results are different (pipes ran independently)assert sentiment_result.content.text != word_count_result.content.text@@ -139,25 +145,28 @@ class TestPipeParallelSimple:async def test_parallel_short_text_analysis(self, request: FixtureRequest, pipe_run_mode: PipeRunMode):"""Test PipeParallel with shorter text to verify consistent behavior."""# Create PipeParallel instance- pipe_parallel = PipeParallel(- domain="test_integration",- code="parallel_text_analyzer",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_integration", blueprint={"input_text": InputRequirementBlueprint(concept_code="Text")}- ),- output_concept_code="Text",- parallel_sub_pipes=[- SubPipe(pipe_code="analyze_sentiment", output_name="sentiment_result"),- SubPipe(pipe_code="count_words", output_name="word_count_result"),- SubPipe(pipe_code="extract_keywords", output_name="keywords_result"),+ pipe_parallel_blueprint = PipeParallelBlueprint(+ definition="Parallel text analysis pipeline for short text",+ inputs={"input_text": InputRequirementBlueprint(concept=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}")},+ output=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",+ parallels=[+ SubPipeBlueprint(pipe="analyze_sentiment", result="sentiment_result"),+ SubPipeBlueprint(pipe="count_words", result="word_count_result"),+ SubPipeBlueprint(pipe="extract_keywords", result="keywords_result"),],add_each_output=True,combined_output=None,)+ pipe_parallel = PipeParallelFactory.make_from_blueprint(+ domain="test_integration",+ pipe_code="parallel_text_analyzer",+ blueprint=pipe_parallel_blueprint,+ )+# Create test data - shorter textinput_text_stuff = StuffFactory.make_stuff(- concept_str="Text",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),content=TextContent(text="Hello world"),name="input_text",)@@ -202,13 +211,9 @@ class TestPipeParallelSimple:# For "Hello world" - word count should be around 2word_count_text = word_count_result.content.text.strip()- if pipe_run_mode == PipeRunMode.DRY:- assert "DRY RUN" in word_count_text- else:+ if pipe_run_mode != PipeRunMode.DRY:assert word_count_text in ["2", "two"] or word_count_text.isdigit()# Sentiment should be one of the valid values- if pipe_run_mode == PipeRunMode.DRY:- assert "DRY RUN" in sentiment_result.content.text- else:+ if pipe_run_mode != PipeRunMode.DRY:assert sentiment_result.content.text.lower() in ["positive", "negative", "neutral"]diff --git a/tests/integration/pipelex/pipes/controller/pipe_parallel/test_pipe_parallel_validation.py b/tests/integration/pipelex/pipes/controller/pipe_parallel/test_pipe_parallel_validation.pynew file mode 100644index 000000000..816d2a7b0--- /dev/null+++ b/tests/integration/pipelex/pipes/controller/pipe_parallel/test_pipe_parallel_validation.py@@ -0,0 +1,177 @@+from pipelex.core.concepts.concept_blueprint import ConceptBlueprint+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.pipes.pipe_input_spec import PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.hub import get_concept_provider, get_pipe_provider+from pipelex.pipe_controllers.parallel.pipe_parallel_blueprint import PipeParallelBlueprint+from pipelex.pipe_controllers.parallel.pipe_parallel_factory import PipeParallelFactory+from pipelex.pipe_controllers.sub_pipe_factory import SubPipeBlueprint+from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint+from pipelex.pipe_operators.llm.pipe_llm_factory import PipeLLMFactory+++class TestPipeParallelValidation:+ """Tests for PipeParallel creation and basic structure"""++ def test_pipe_parallel_with_real_pipe_structure(self):+ """Test PipeParallel structure with a real pipe"""+ # Create a real PipeLLM that will infer inputs from the prompt template+ domain = "test_domain"+ concept_library = get_concept_provider()+ concept_blueprint = ConceptBlueprint(definition="A test document")+ concept_1 = ConceptFactory.make_from_blueprint(+ domain=domain, concept_code="Document", blueprint=concept_blueprint, concept_codes_from_the_same_domain=["Document"]+ )+ concept_2 = ConceptFactory.make_from_blueprint(+ domain=domain, concept_code="Context", blueprint=concept_blueprint, concept_codes_from_the_same_domain=["Context"]+ )+ concept_3 = ConceptFactory.make_from_blueprint(+ domain=domain, concept_code="Analysis", blueprint=concept_blueprint, concept_codes_from_the_same_domain=["Analysis"]+ )+ concept_library.add_concepts(concepts=[concept_1, concept_2, concept_3])++ pipe_llm_blueprint = PipeLLMBlueprint(+ inputs={+ "document": InputRequirementBlueprint(concept=concept_1.concept_string),+ "context": InputRequirementBlueprint(concept=concept_2.concept_string),+ },+ definition="Analysis pipe for document processing",+ output=ConceptFactory.construct_concept_string_with_domain(domain=domain, concept_code=concept_3.code),+ prompt_template="Analyze this document: \n@context\n@document",+ )++ real_pipe = PipeLLMFactory.make_from_blueprint(+ domain=domain,+ pipe_code="analyze_document",+ blueprint=pipe_llm_blueprint,+ )++ pipe_provider = get_pipe_provider()+ pipe_provider.add_new_pipe(pipe=real_pipe)++ # Verify the real pipe was created successfully+ assert real_pipe.domain == domain+ assert real_pipe.output.code == concept_3.code+ assert real_pipe.output.domain == domain++ # Create PipeParallel that would reference this pipe+ pipe_parallel_blueprint = PipeParallelBlueprint(+ definition="Parallel document processor for testing",+ inputs={+ "document": InputRequirementBlueprint(concept=concept_1.code),+ "context": InputRequirementBlueprint(concept=concept_2.code),+ },+ output=ConceptFactory.construct_concept_string_with_domain(domain=domain, concept_code=concept_3.code),+ parallels=[SubPipeBlueprint(pipe=real_pipe.code, result="analysis_result")],+ add_each_output=True,+ combined_output=None,+ )++ pipe_parallel = PipeParallelFactory.make_from_blueprint(+ domain=domain,+ pipe_code="parallel_document_processor",+ blueprint=pipe_parallel_blueprint,+ )++ # Verify the PipeParallel structure is correct+ assert len(pipe_parallel.parallel_sub_pipes) == 1+ assert pipe_parallel.parallel_sub_pipes[0].pipe_code == "analyze_document"+ assert pipe_parallel.parallel_sub_pipes[0].output_name == "analysis_result"++ # Verify PipeParallel has the expected structure+ assert pipe_parallel.domain == domain+ assert pipe_parallel.code == "parallel_document_processor"+ assert pipe_parallel.add_each_output is True++ concept_library.teardown()++ def test_pipe_parallel_creation(self):+ """Test basic PipeParallel creation and structure"""+ # Create a simple PipeParallel with proper inputs+ domain = "test_domain"+ concept_library = get_concept_provider()+ concept_blueprint = ConceptBlueprint(definition="Lorem Ipsum")+ concept_1 = ConceptFactory.make_from_blueprint(+ domain=domain, concept_code="Document", blueprint=concept_blueprint, concept_codes_from_the_same_domain=["Document"]+ )+ concept_2 = ConceptFactory.make_from_blueprint(+ domain=domain, concept_code="Context", blueprint=concept_blueprint, concept_codes_from_the_same_domain=["Context"]+ )+ concept_3 = ConceptFactory.make_from_blueprint(+ domain=domain, concept_code="ProcessedAnalysis", blueprint=concept_blueprint, concept_codes_from_the_same_domain=["ProcessedAnalysis"]+ )+ concept_library.add_concepts(concepts=[concept_1, concept_2, concept_3])++ pipe_parallel_blueprint = PipeParallelBlueprint(+ definition="Basic parallel pipe for testing",+ inputs={"input_var": InputRequirementBlueprint(concept=concept_1.concept_string)},+ output=ConceptFactory.construct_concept_string_with_domain(domain=domain, concept_code=concept_3.code),+ parallels=[SubPipeBlueprint(pipe="test_pipe_1", result="result_1")],+ add_each_output=True,+ combined_output=None,+ )++ pipe_parallel = PipeParallelFactory.make_from_blueprint(+ domain=domain,+ pipe_code="test_parallel",+ blueprint=pipe_parallel_blueprint,+ )++ # Verify the PipeParallel was created correctly+ assert pipe_parallel.code == "test_parallel"+ assert pipe_parallel.domain == domain+ assert len(pipe_parallel.parallel_sub_pipes) == 1+ assert pipe_parallel.inputs.root["input_var"].concept.code == concept_1.code+ assert pipe_parallel.output.code == concept_3.code+ assert pipe_parallel.output.domain == domain+ assert pipe_parallel.add_each_output is True+ assert pipe_parallel.combined_output is None++ concept_library.teardown()++ def test_pipe_parallel_needed_inputs_structure(self):+ """Test that PipeParallel needed_inputs method can be called and returns expected structure"""+ domain = "test_domain"+ concept_library = get_concept_provider()+ concept_blueprint = ConceptBlueprint(definition="A test document")+ concept_1 = ConceptFactory.make_from_blueprint(+ domain=domain, concept_code="Document", blueprint=concept_blueprint, concept_codes_from_the_same_domain=["Document"]+ )+ concept_2 = ConceptFactory.make_from_blueprint(+ domain=domain, concept_code="Context", blueprint=concept_blueprint, concept_codes_from_the_same_domain=["Context"]+ )+ concept_3 = ConceptFactory.make_from_blueprint(+ domain=domain, concept_code="ProcessedAnalysis", blueprint=concept_blueprint, concept_codes_from_the_same_domain=["ProcessedAnalysis"]+ )+ concept_library.add_concepts(concepts=[concept_1, concept_2, concept_3])++ # Create PipeParallel with no sub-pipes to avoid dependency resolution+ pipe_parallel_blueprint = PipeParallelBlueprint(+ definition="Parallel processor for testing inputs structure",+ inputs={+ "document": InputRequirementBlueprint(concept=concept_1.concept_string),+ "context": InputRequirementBlueprint(concept=concept_2.concept_string),+ },+ output=ConceptFactory.construct_concept_string_with_domain(domain=domain, concept_code=concept_3.code),+ parallels=[], # No sub-pipes to avoid dependency issues+ add_each_output=True,+ combined_output=None,+ )++ pipe_parallel = PipeParallelFactory.make_from_blueprint(+ domain=domain,+ pipe_code="parallel_document_processor",+ blueprint=pipe_parallel_blueprint,+ )++ # Test that needed_inputs method can be called+ needed_inputs = pipe_parallel.needed_inputs()++ # Verify it returns a PipeInputSpec object+ assert isinstance(needed_inputs, PipeInputSpec)+ assert hasattr(needed_inputs, "root")+ assert isinstance(needed_inputs.root, dict)+ # With no sub-pipes, should return empty inputs+ assert len(needed_inputs.root) == 0++ concept_library.teardown()diff --git a/tests/integration/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_dry_run.py b/tests/integration/pipelex/pipes/controller/pipe_sequence/test_pipe_sequence_dry_run.pysimilarity index 86%rename from tests/integration/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_dry_run.pyrename to tests/integration/pipelex/pipes/controller/pipe_sequence/test_pipe_sequence_dry_run.pyindex b49f15b07..ff9d74352 100644--- a/tests/integration/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_dry_run.py+++ b/tests/integration/pipelex/pipes/controller/pipe_sequence/test_pipe_sequence_dry_run.py@@ -4,6 +4,7 @@ import pytestfrom pytest import FixtureRequestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_factory import ConceptFactoryfrom pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_output import PipeOutput@@ -40,12 +41,18 @@ class TestPipeSequenceDryRun:# Create Stuff object for the discord channel updates listdiscord_updates_stuff = StuffFactory.make_stuff(- concept_str="discord_newsletter.DiscordChannelUpdate", content=discord_channel_updates, name="discord_channel_updates"+ concept=ConceptFactory.make(+ concept_code="DiscordChannelUpdate",+ domain="discord_newsletter",+ definition="Lorem Ipsum",+ structure_class_name="DiscordChannelUpdate",+ ),+ content=discord_channel_updates,+ name="discord_channel_updates",)# Create working memory with the discord channel updatesworking_memory = WorkingMemoryFactory.make_from_single_stuff(stuff=discord_updates_stuff)-# Run the Discord newsletter pipeline in dry run modepipe_output: PipeOutput = await get_pipe_router().run_pipe_code(pipe_code="write_discord_newsletter",@@ -65,16 +72,16 @@ class TestPipeSequenceDryRun:# The pipeline only has one step (summarization), so the final output is ChannelSummary# This test is focused on verifying that batching works correctly in dry run mode- assert pipe_output.main_stuff.concept_code == "discord_newsletter.ChannelSummary"- if pipe_run_mode == PipeRunMode.DRY:- assert isinstance(pipe_output.main_stuff.content, ListContent)+ assert pipe_output.main_stuff.concept.code == "HtmlNewsletter"+ assert pipe_output.main_stuff.concept.domain == "discord_newsletter"# Verify working memory structurefinal_working_memory: WorkingMemory = pipe_output.working_memory# Check that discord_channel_updates was created as ListContentdiscord_updates_stuff_final = final_working_memory.get_stuff("discord_channel_updates")- assert discord_updates_stuff_final.concept_code == "discord_newsletter.DiscordChannelUpdate"+ assert discord_updates_stuff_final.concept.code == "DiscordChannelUpdate"+ assert discord_updates_stuff_final.concept.domain == "discord_newsletter"if pipe_run_mode == PipeRunMode.DRY:# The key assertion: verify it's a ListContent with multiple items@@ -90,7 +97,8 @@ class TestPipeSequenceDryRun:# Check that channel_summaries was created as ListContent (result of batched operation)channel_summaries_stuff: Stuff | None = final_working_memory.get_optional_stuff("channel_summaries")assert channel_summaries_stuff is not None, "channel_summaries should be in working memory"- assert channel_summaries_stuff.concept_code == "discord_newsletter.ChannelSummary"+ assert channel_summaries_stuff.concept.code == "ChannelSummary"+ assert channel_summaries_stuff.concept.domain == "discord_newsletter"# Verify channel_summaries is also a ListContent with multiple ChannelSummary itemschannel_summaries_list: ListContent[ChannelSummary] = channel_summaries_stuff.as_list_of_fixed_content_type(item_type=ChannelSummary)@@ -111,4 +119,4 @@ class TestPipeSequenceDryRun:print("✅ Successfully verified dry run working memory:")print(f" - discord_channel_updates: ListContent with {len(discord_updates_list.items)} items")print(f" - channel_summaries: ListContent with {len(channel_summaries_list.items)} items")- print(f" - Final output: ChannelSummary list with concept code {pipe_output.main_stuff.concept_code}")+ print(f" - Final output: ChannelSummary list with concept code {pipe_output.main_stuff.concept.code}")diff --git a/tests/integration/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_simple.py b/tests/integration/pipelex/pipes/controller/pipe_sequence/test_pipe_sequence_simple.pysimilarity index 73%rename from tests/integration/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_simple.pyrename to tests/integration/pipelex/pipes/controller/pipe_sequence/test_pipe_sequence_simple.pyindex 704ea1ab7..487f4c564 100644--- a/tests/integration/pipelex/pipes/pipe_controller/pipe_sequence/test_pipe_sequence_simple.py+++ b/tests/integration/pipelex/pipes/controller/pipe_sequence/test_pipe_sequence_simple.py@@ -6,14 +6,19 @@ import pytestfrom pytest import FixtureRequestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_blueprint import ConceptBlueprint+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnumfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactory-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprintfrom pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactoryfrom pipelex.core.stuffs.stuff_content import TextContentfrom pipelex.core.stuffs.stuff_factory import StuffFactory-from pipelex.pipe_controllers.pipe_sequence import PipeSequence-from pipelex.pipe_controllers.sub_pipe import SubPipe+from pipelex.hub import get_concept_provider+from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint+from pipelex.pipe_controllers.sequence.pipe_sequence_factory import PipeSequenceFactory+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprintfrom pipelex.pipeline.job_metadata import JobMetadata@@ -25,23 +30,37 @@ class TestPipeSequenceSimple:async def test_simple_sequence_processing(self, request: FixtureRequest, pipe_run_mode: PipeRunMode):"""Test PipeSequence with a simple 2-step text transformation scenario."""+ domain = "test_integration"+ concept_1 = ConceptFactory.make_from_blueprint(+ concept_code="TestConcept1",+ domain=domain,+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ concept_codes_from_the_same_domain=["TestConcept1"],+ )+ concept_library = get_concept_provider()+ concept_library.add_concepts([concept_1])+ concept_2 = concept_library.get_native_concept(native_concept=NativeConceptEnum.TEXT)+# Create PipeSequence instance - pipes are loaded from TOML files- pipe_sequence = PipeSequence(- domain="test_integration",- code="simple_sequence",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_integration", blueprint={"input_text": InputRequirementBlueprint(concept_code="Text")}- ),- output_concept_code="Text",- sequential_sub_pipes=[- SubPipe(pipe_code="capitalize_text", output_name="capitalized_text"),- SubPipe(pipe_code="add_prefix", output_name="final_text"),+ pipe_sequence_blueprint = PipeSequenceBlueprint(+ definition="Simple sequence for text processing",+ inputs={"input_text": InputRequirementBlueprint(concept=concept_1.concept_string)},+ output=concept_2.concept_string,+ steps=[+ SubPipeBlueprint(pipe="capitalize_text", result="capitalized_text"),+ SubPipeBlueprint(pipe="add_prefix", result="final_text"),],)+ pipe_sequence = PipeSequenceFactory.make_from_blueprint(+ domain="test_integration",+ pipe_code="simple_sequence",+ blueprint=pipe_sequence_blueprint,+ )+# Create test data - single text inputinput_text_stuff = StuffFactory.make_stuff(- concept_str="Text",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),content=TextContent(text="hello world"),name="input_text",)@@ -91,8 +110,6 @@ class TestPipeSequenceSimple:# Should be: "hello world" -> "HELLO WORLD" -> "PROCESSED: HELLO WORLD"if pipe_run_mode != PipeRunMode.DRY:assert final_result.content.text == "PROCESSED: HELLO WORLD"- else:- assert "DRY RUN" in final_result.content.text# Verify working memory contains all intermediate resultsfinal_working_memory = pipe_output.working_memory@@ -109,8 +126,6 @@ class TestPipeSequenceSimple:assert isinstance(capitalized_result.content, TextContent)if pipe_run_mode != PipeRunMode.DRY:assert capitalized_result.content.text == "HELLO WORLD"- else:- assert "DRY RUN" in capitalized_result.content.text# Final result should be there (stored as final_text, which is the last SubPipe's output_name)final_result_in_memory = final_working_memory.get_stuff("final_text")@@ -118,8 +133,6 @@ class TestPipeSequenceSimple:assert isinstance(final_result_in_memory.content, TextContent)if pipe_run_mode != PipeRunMode.DRY:assert final_result_in_memory.content.text == "PROCESSED: HELLO WORLD"- else:- assert "DRY RUN" in final_result_in_memory.content.text# Verify working memory structureassert len(final_working_memory.root) == 3 # input, intermediate, finaldiff --git a/tests/integration/pipelex/pipes/controller/pipe_sequence/test_pipe_sequence_validation.py b/tests/integration/pipelex/pipes/controller/pipe_sequence/test_pipe_sequence_validation.pynew file mode 100644index 000000000..45ddf4a72--- /dev/null+++ b/tests/integration/pipelex/pipes/controller/pipe_sequence/test_pipe_sequence_validation.py@@ -0,0 +1,86 @@+from pipelex.core.concepts.concept_factory import ConceptBlueprint, ConceptFactory+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.hub import get_concept_provider+from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint+from pipelex.pipe_controllers.sequence.pipe_sequence_factory import PipeSequenceFactory+from pipelex.pipe_controllers.sub_pipe_factory import SubPipeBlueprint+++class TestPipeSequenceValidation:+ """Tests for PipeSequence validate_inputs method"""++ def test_pipe_sequence_creation(self):+ """Test basic PipeSequence creation"""+ domain = "test_domain"+ concept_1 = ConceptFactory.make_from_blueprint(+ concept_code="TestConcept",+ domain=domain,+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ concept_codes_from_the_same_domain=["TestConcept"],+ )+ concept_2 = ConceptFactory.make_from_blueprint(+ concept_code="ProcessedText",+ domain=domain,+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ concept_codes_from_the_same_domain=["ProcessedText"],+ )+ concept_library = get_concept_provider()+ concept_library.add_concepts([concept_1, concept_2])++ pipe_sequence_blueprint = PipeSequenceBlueprint(+ definition="Test sequence for validation",+ inputs={"text": InputRequirementBlueprint(concept=concept_1.concept_string)},+ output=concept_2.concept_string,+ steps=[SubPipeBlueprint(pipe="test_pipe_1", result="intermediate_result")],+ )++ pipe_sequence = PipeSequenceFactory.make_from_blueprint(+ domain=domain,+ pipe_code="test_sequence",+ blueprint=pipe_sequence_blueprint,+ )++ assert pipe_sequence.code == "test_sequence"+ assert pipe_sequence.domain == domain+ assert len(pipe_sequence.sequential_sub_pipes) == 1+ assert pipe_sequence.sequential_sub_pipes[0].pipe_code == "test_pipe_1"+ assert pipe_sequence.sequential_sub_pipes[0].output_name == "intermediate_result"++ concept_library.teardown()++ def test_pipe_sequence_multiple_sub_pipes(self):+ """Test PipeSequence with multiple sequential sub-pipes"""+ domain = "test_domain"+ concept_1 = ConceptFactory.make_from_blueprint(+ concept_code="TestConcept",+ domain=domain,+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ concept_codes_from_the_same_domain=["TestConcept"],+ )+ concept_2 = ConceptFactory.make_from_blueprint(+ concept_code="ProcessedText",+ domain=domain,+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ concept_codes_from_the_same_domain=["ProcessedText"],+ )+ concept_library = get_concept_provider()+ concept_library.add_concepts([concept_1, concept_2])++ pipe_sequence_blueprint = PipeSequenceBlueprint(+ definition="Test sequence with multiple steps",+ inputs={"initial_input": InputRequirementBlueprint(concept=concept_1.concept_string)},+ output=concept_2.concept_string,+ steps=[SubPipeBlueprint(pipe="step_1", result="intermediate"), SubPipeBlueprint(pipe="step_2", result="final_output")],+ )++ pipe_sequence = PipeSequenceFactory.make_from_blueprint(+ domain=domain,+ pipe_code="test_sequence",+ blueprint=pipe_sequence_blueprint,+ )++ assert pipe_sequence.code == "test_sequence"+ assert len(pipe_sequence.sequential_sub_pipes) == 2+ assert pipe_sequence.inputs.root["initial_input"].concept.code == concept_1.code++ concept_library.teardown()diff --git a/tests/integration/pipelex/pipes/pipe_operator/pipe_func/__init__.py b/tests/integration/pipelex/pipes/operator/pipe_func/__init__.pysimilarity index 100%rename from tests/integration/pipelex/pipes/pipe_operator/pipe_func/__init__.pyrename to tests/integration/pipelex/pipes/operator/pipe_func/__init__.pydiff --git a/tests/integration/pipelex/pipes/pipe_operator/pipe_func/test_pipe_func.py b/tests/integration/pipelex/pipes/operator/pipe_func/test_pipe_func.pysimilarity index 81%rename from tests/integration/pipelex/pipes/pipe_operator/pipe_func/test_pipe_func.pyrename to tests/integration/pipelex/pipes/operator/pipe_func/test_pipe_func.pyindex 5a8ec7a0e..3c82511f6 100644--- a/tests/integration/pipelex/pipes/pipe_operator/pipe_func/test_pipe_func.py+++ b/tests/integration/pipelex/pipes/operator/pipe_func/test_pipe_func.py@@ -1,14 +1,17 @@import pytestfrom pipelex import log, pretty_print-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnumfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactoryfrom pipelex.core.stuffs.stuff_content import TextContentfrom pipelex.core.stuffs.stuff_factory import StuffFactoryfrom pipelex.hub import get_pipe_router, get_report_delegate-from pipelex.pipe_operators.pipe_func import PipeFunc, PipeFuncOutput+from pipelex.pipe_operators.func.pipe_func import PipeFuncOutput+from pipelex.pipe_operators.func.pipe_func_blueprint import PipeFuncBlueprint+from pipelex.pipe_operators.func.pipe_func_factory import PipeFuncFactoryfrom pipelex.pipe_works.pipe_job_factory import PipeJobFactoryfrom pipelex.tools.func_registry import func_registryfrom tests.cases.source_code import wrap_lines@@ -43,7 +46,7 @@ if __name__ == "__main__":# Create stuff with the source codesource_text_stuff = StuffFactory.make_stuff(name="source_text",- concept_str=NativeConcept.TEXT.code,+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),content=TextContent(text=sample_code),)@@ -51,12 +54,17 @@ if __name__ == "__main__":working_memory = WorkingMemoryFactory.make_from_single_stuff(stuff=source_text_stuff)# Create the PipeFunc job+ pipe_func_blueprint = PipeFuncBlueprint(+ definition="Function pipe for wrapping lines",+ function_name="wrap_lines",+ output=NativeConceptEnum.TEXT.value,+ )+pipe_job = PipeJobFactory.make_pipe_job(- pipe=PipeFunc(- code="wrap_lines",+ pipe=PipeFuncFactory.make_from_blueprint(domain="source_code",- output_concept_code=NativeConcept.TEXT.code,- function_name="wrap_lines",+ pipe_code="wrap_lines",+ blueprint=pipe_func_blueprint,),pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),working_memory=working_memory,diff --git a/tests/integration/pipelex/pipes/pipe_operator/pipe_imgg/test_pipe_imgg.py b/tests/integration/pipelex/pipes/operator/pipe_imgg/test_pipe_imgg.pysimilarity index 62%rename from tests/integration/pipelex/pipes/pipe_operator/pipe_imgg/test_pipe_imgg.pyrename to tests/integration/pipelex/pipes/operator/pipe_imgg/test_pipe_imgg.pyindex 35c71093c..901eb9fc3 100644--- a/tests/integration/pipelex/pipes/pipe_operator/pipe_imgg/test_pipe_imgg.py+++ b/tests/integration/pipelex/pipes/operator/pipe_imgg/test_pipe_imgg.py@@ -2,11 +2,13 @@ import pytestfrom pipelex import pretty_printfrom pipelex.cogt.imgg.imgg_handle import ImggHandle-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_native import NativeConceptEnumfrom pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactoryfrom pipelex.hub import get_pipe_router-from pipelex.pipe_operators.pipe_img_gen import PipeImgGen, PipeImgGenOutput+from pipelex.pipe_operators.img_gen.pipe_img_gen import PipeImgGenOutput+from pipelex.pipe_operators.img_gen.pipe_img_gen_blueprint import PipeImgGenBlueprint+from pipelex.pipe_operators.img_gen.pipe_img_gen_factory import PipeImgGenFactoryfrom pipelex.pipe_works.pipe_job_factory import PipeJobFactoryfrom tests.integration.pipelex.test_data import IMGGTestCases@@ -24,14 +26,19 @@ class TestPipeImgg:topic: str,image_desc: str,):+ pipe_imgg_blueprint = PipeImgGenBlueprint(+ definition="Image generation test",+ img_gen_prompt=image_desc,+ imgg_handle=imgg_handle,+ output=NativeConceptEnum.IMAGE.value,+ nb_output=1,+ )+pipe_job = PipeJobFactory.make_pipe_job(- pipe=PipeImgGen(- code="adhoc_for_test_pipe_img_gen",+ pipe=PipeImgGenFactory.make_from_blueprint(domain="generic",- imgg_handle=imgg_handle,- imgg_prompt=image_desc,- output_concept_code=NativeConcept.IMAGE.code,- output_multiplicity=False,+ pipe_code="adhoc_for_test_pipe_img_gen",+ blueprint=pipe_imgg_blueprint,),pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),)diff --git a/tests/integration/pipelex/pipes/operator/pipe_llm/test_pipe_llm.py b/tests/integration/pipelex/pipes/operator/pipe_llm/test_pipe_llm.pynew file mode 100644index 000000000..c94b51ecf--- /dev/null+++ b/tests/integration/pipelex/pipes/operator/pipe_llm/test_pipe_llm.py@@ -0,0 +1,94 @@+from typing import List++import pytest++from pipelex import log, pretty_print+from pipelex.core.concepts.concept_native import NativeConceptEnum+from pipelex.core.domains.domain import SpecialDomain+from pipelex.core.memory.working_memory_factory import WorkingMemoryFactory+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.core.pipes.pipe_run_params import PipeRunMode+from pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory+from pipelex.core.stuffs.stuff import Stuff+from pipelex.hub import get_pipe_router, get_report_delegate+from pipelex.pipe_operators.llm.pipe_llm import PipeLLMOutput+from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint+from pipelex.pipe_operators.llm.pipe_llm_factory import PipeLLMFactory+from pipelex.pipe_works.pipe_job_factory import PipeJobFactory+from tests.integration.pipelex.test_data import PipeTestCases++[email protected]_runnable[email protected](loop_scope="class")+class TestPipeLLM:+ async def test_pipe_llm(+ self,+ pipe_run_mode: PipeRunMode,+ ):+ pipe_llm_blueprint = PipeLLMBlueprint(+ definition="LLM test for basic text generation",+ output=NativeConceptEnum.TEXT.value,+ system_prompt=PipeTestCases.SYSTEM_PROMPT,+ prompt=PipeTestCases.USER_PROMPT,+ )++ pipe_job = PipeJobFactory.make_pipe_job(+ pipe=PipeLLMFactory.make_from_blueprint(+ domain="generic",+ pipe_code="adhoc_for_test_pipe_llm",+ blueprint=pipe_llm_blueprint,+ ),+ pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),+ )+ pipe_llm_output: PipeLLMOutput = await get_pipe_router().run_pipe_job(+ pipe_job=pipe_job,+ )++ log.verbose(pipe_llm_output, title="stuff")+ llm_generated_text = pipe_llm_output.main_stuff_as_text+ pretty_print(llm_generated_text, title="llm_generated_text")+ get_report_delegate().generate_report()++ @pytest.mark.llm+ @pytest.mark.inference+ @pytest.mark.asyncio(loop_scope="class")+ @pytest.mark.parametrize("stuff, attribute_paths", PipeTestCases.STUFFS_IMAGE_ATTRIBUTES)+ async def test_pipe_llm_attribute_image(+ self,+ stuff: Stuff,+ attribute_paths: List[str],+ pipe_run_mode: PipeRunMode,+ ):+ for attribute_path in attribute_paths:+ stuff_name = attribute_path+ if not stuff_name:+ pytest.fail(f"Cannot use nameless stuff in this test: {stuff}")+ working_memory = WorkingMemoryFactory.make_from_single_stuff(stuff=stuff)+ pipe_llm_blueprint = PipeLLMBlueprint(+ definition="LLM test for image processing with attributes",+ inputs={stuff_name: InputRequirementBlueprint(concept=stuff.concept.concept_string)},+ output=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",+ system_prompt=PipeTestCases.SYSTEM_PROMPT,+ prompt=PipeTestCases.MULTI_IMG_DESC_PROMPT,+ )++ pipe_job = PipeJobFactory.make_pipe_job(+ working_memory=working_memory,+ pipe=PipeLLMFactory.make_from_blueprint(+ domain="generic",+ pipe_code="adhoc_for_test_pipe_llm_image",+ blueprint=pipe_llm_blueprint,+ ),+ pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),+ )++ pipe_llm_output: PipeLLMOutput = await get_pipe_router().run_pipe_job(+ pipe_job=pipe_job,+ )++ log.verbose(pipe_llm_output, title="stuff")+ llm_generated_text = pipe_llm_output.main_stuff_as_text+ pretty_print(llm_generated_text, title="llm_generated_text")+ get_report_delegate().generate_report()diff --git a/tests/integration/pipelex/pipes/operator/pipe_ocr/test_pipe_ocr.py b/tests/integration/pipelex/pipes/operator/pipe_ocr/test_pipe_ocr.pynew file mode 100644index 000000000..f28b05703--- /dev/null+++ b/tests/integration/pipelex/pipes/operator/pipe_ocr/test_pipe_ocr.py@@ -0,0 +1,109 @@+from typing import Any++import pytest++from pipelex import pretty_print+from pipelex.core.concepts.concept_blueprint import ConceptBlueprint+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NativeConceptEnum+from pipelex.core.memory.working_memory_factory import WorkingMemoryFactory+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.core.pipes.pipe_run_params import PipeRunMode+from pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory+from pipelex.core.stuffs.stuff_content import PageContent+from pipelex.hub import get_concept_provider, get_pipe_router+from pipelex.pipe_operators.ocr.pipe_ocr import PIPE_OCR_INPUT_NAME, PipeOcrOutput+from pipelex.pipe_operators.ocr.pipe_ocr_blueprint import PipeOcrBlueprint+from pipelex.pipe_operators.ocr.pipe_ocr_factory import PipeOcrFactory+from pipelex.pipe_works.pipe_job_factory import PipeJobFactory+from tests.integration.pipelex.test_data import PipeOcrTestCases++[email protected]_runnable[email protected](loop_scope="class")+class TestPipeOCR:+ @pytest.fixture(scope="class", autouse=True)+ def setup(self):+ concept_provider = get_concept_provider()+ concept_1 = ConceptFactory.make_from_blueprint(+ concept_code="PageScan",+ domain="ocr",+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ concept_codes_from_the_same_domain=["PageScan"],+ )+ concept_provider.add_new_concept(concept=concept_1)++ yield++ concept_provider.teardown()++ @pytest.mark.parametrize("image_url", PipeOcrTestCases.PIPE_OCR_IMAGE_TEST_CASES)+ async def test_pipe_ocr_image(+ self,+ pipe_run_mode: PipeRunMode,+ image_url: str,+ setup: Any,+ ):+ pipe_ocr_blueprint = PipeOcrBlueprint(+ definition="OCR test for image processing",+ inputs={"page_scan": InputRequirementBlueprint(concept=NativeConceptEnum.IMAGE.value)},+ output=NativeConceptEnum.TEXT_AND_IMAGES.value,+ page_images=True,+ page_image_captions=False,+ page_views=True,+ page_views_dpi=72,+ )++ pipe_job = PipeJobFactory.make_pipe_job(+ pipe=PipeOcrFactory.make_from_blueprint(+ domain="generic",+ pipe_code="adhoc_for_test_pipe_ocr_image",+ blueprint=pipe_ocr_blueprint,+ ),+ pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),+ working_memory=WorkingMemoryFactory.make_from_image(+ image_url=image_url,+ name="page_scan",+ ),+ )+ pipe_ocr_output: PipeOcrOutput = await get_pipe_router().run_pipe_job(+ pipe_job=pipe_job,+ )+ ocr_text = pipe_ocr_output.main_stuff_as_list(item_type=PageContent)+ pretty_print(ocr_text, title="ocr_text")++ @pytest.mark.parametrize("pdf_url", PipeOcrTestCases.PIPE_OCR_PDF_TEST_CASES)+ async def test_pipe_ocr_pdf(+ self,+ pipe_run_mode: PipeRunMode,+ pdf_url: str,+ ):+ pipe_ocr_blueprint = PipeOcrBlueprint(+ definition="OCR test for PDF processing",+ inputs={PIPE_OCR_INPUT_NAME: InputRequirementBlueprint(concept=NativeConceptEnum.PDF.value)},+ output=NativeConceptEnum.TEXT_AND_IMAGES.value,+ page_images=True,+ page_image_captions=False,+ page_views=True,+ page_views_dpi=72,+ )++ pipe_job = PipeJobFactory.make_pipe_job(+ pipe=PipeOcrFactory.make_from_blueprint(+ domain="generic",+ pipe_code="adhoc_for_test_pipe_ocr_pdf",+ blueprint=pipe_ocr_blueprint,+ ),+ pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),+ working_memory=WorkingMemoryFactory.make_from_pdf(+ pdf_url=pdf_url,+ name=PIPE_OCR_INPUT_NAME,+ ),+ )+ pipe_ocr_output: PipeOcrOutput = await get_pipe_router().run_pipe_job(+ pipe_job=pipe_job,+ )+ ocr_text = pipe_ocr_output.main_stuff_as_list(item_type=PageContent)+ pretty_print(ocr_text, title="ocr_text")diff --git a/tests/integration/pipelex/pipes/pipe_operator/pipe_llm/test_pipe_llm.py b/tests/integration/pipelex/pipes/pipe_operator/pipe_llm/test_pipe_llm.pydeleted file mode 100644index 0f93d28a1..000000000--- a/tests/integration/pipelex/pipes/pipe_operator/pipe_llm/test_pipe_llm.py+++ /dev/null@@ -1,91 +0,0 @@-from typing import List--import pytest--from pipelex import log, pretty_print-from pipelex.core.concepts.concept_native import NativeConcept-from pipelex.core.memory.working_memory_factory import WorkingMemoryFactory-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec-from pipelex.core.pipes.pipe_run_params import PipeRunMode-from pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory-from pipelex.core.stuffs.stuff import Stuff-from pipelex.hub import get_pipe_router, get_report_delegate-from pipelex.pipe_operators.pipe_llm import PipeLLM, PipeLLMOutput-from pipelex.pipe_operators.pipe_llm_prompt import PipeLLMPrompt-from pipelex.pipe_works.pipe_job_factory import PipeJobFactory-from tests.integration.pipelex.test_data import PipeTestCases--[email protected]_runnable[email protected](loop_scope="class")-class TestPipeLLM:- async def test_pipe_llm(- self,- pipe_run_mode: PipeRunMode,- ):- pipe_job = PipeJobFactory.make_pipe_job(- pipe=PipeLLM(- code="adhoc_for_test_pipe_llm",- domain="generic",- output_concept_code=NativeConcept.TEXT.code,- pipe_llm_prompt=PipeLLMPrompt(- code="adhoc_for_test_pipe_llm",- domain="generic",- system_prompt=PipeTestCases.SYSTEM_PROMPT,- user_text=PipeTestCases.USER_PROMPT,- ),- ),- pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),- )- pipe_llm_output: PipeLLMOutput = await get_pipe_router().run_pipe_job(- pipe_job=pipe_job,- )-- log.verbose(pipe_llm_output, title="stuff")- llm_generated_text = pipe_llm_output.main_stuff_as_text- pretty_print(llm_generated_text, title="llm_generated_text")- get_report_delegate().generate_report()-- @pytest.mark.llm- @pytest.mark.inference- @pytest.mark.asyncio(loop_scope="class")- @pytest.mark.parametrize("stuff, attribute_paths", PipeTestCases.STUFFS_IMAGE_ATTRIBUTES)- async def test_pipe_llm_attribute_image(- self,- stuff: Stuff,- attribute_paths: List[str],- pipe_run_mode: PipeRunMode,- ):- stuff_name = stuff.stuff_name- if not stuff_name:- pytest.fail(f"Cannot use nameless stuff in this test: {stuff}")- working_memory = WorkingMemoryFactory.make_from_single_stuff(stuff=stuff)- pipe_job = PipeJobFactory.make_pipe_job(- working_memory=working_memory,- pipe=PipeLLM(- code="adhoc_for_test_pipe_llm_image",- domain="generic",- inputs=PipeInputSpec.make_from_blueprint(- domain="generic", blueprint={stuff_name: InputRequirementBlueprint(concept_code=stuff.concept_code)}- ),- output_concept_code=NativeConcept.TEXT.code,- pipe_llm_prompt=PipeLLMPrompt(- code="adhoc_for_test_pipe_llm_image",- domain="generic",- system_prompt=PipeTestCases.SYSTEM_PROMPT,- user_text=PipeTestCases.MULTI_IMG_DESC_PROMPT,- ),- ),- pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),- )-- pipe_llm_output: PipeLLMOutput = await get_pipe_router().run_pipe_job(- pipe_job=pipe_job,- )-- log.verbose(pipe_llm_output, title="stuff")- llm_generated_text = pipe_llm_output.main_stuff_as_text- pretty_print(llm_generated_text, title="llm_generated_text")- get_report_delegate().generate_report()diff --git a/tests/integration/pipelex/pipes/pipe_operator/pipe_ocr/test_pipe_ocr.py b/tests/integration/pipelex/pipes/pipe_operator/pipe_ocr/test_pipe_ocr.pydeleted file mode 100644index 87a6b6757..000000000--- a/tests/integration/pipelex/pipes/pipe_operator/pipe_ocr/test_pipe_ocr.py+++ /dev/null@@ -1,81 +0,0 @@-import pytest--from pipelex import pretty_print-from pipelex.core.concepts.concept_native import NativeConcept-from pipelex.core.memory.working_memory_factory import WorkingMemoryFactory-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec-from pipelex.core.pipes.pipe_run_params import PipeRunMode-from pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory-from pipelex.core.stuffs.stuff_content import PageContent-from pipelex.hub import get_pipe_router-from pipelex.pipe_operators.pipe_ocr import PIPE_OCR_INPUT_NAME, PipeOcr, PipeOcrOutput-from pipelex.pipe_works.pipe_job_factory import PipeJobFactory-from tests.integration.pipelex.test_data import PipeOcrTestCases--[email protected]_runnable[email protected](loop_scope="class")-class TestPipeOCR:- @pytest.mark.parametrize("image_url", PipeOcrTestCases.PIPE_OCR_IMAGE_TEST_CASES)- async def test_pipe_ocr_image(- self,- pipe_run_mode: PipeRunMode,- image_url: str,- ):- pipe_job = PipeJobFactory.make_pipe_job(- pipe=PipeOcr(- code="adhoc_for_test_pipe_ocr_image",- domain="generic",- inputs=PipeInputSpec.make_from_blueprint(domain="generic", blueprint={"page_scan": InputRequirementBlueprint(concept_code="Image")}),- should_include_images=True,- should_caption_images=False,- should_include_page_views=True,- page_views_dpi=72,- output_concept_code=NativeConcept.TEXT_AND_IMAGES.code,- ),- pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),- working_memory=WorkingMemoryFactory.make_from_image(- image_url=image_url,- concept_str="ocr.PageScan",- name="page_scan",- ),- )- pipe_ocr_output: PipeOcrOutput = await get_pipe_router().run_pipe_job(- pipe_job=pipe_job,- )- ocr_text = pipe_ocr_output.main_stuff_as_list(item_type=PageContent)- pretty_print(ocr_text, title="ocr_text")-- @pytest.mark.parametrize("pdf_url", PipeOcrTestCases.PIPE_OCR_PDF_TEST_CASES)- async def test_pipe_ocr_pdf(- self,- pipe_run_mode: PipeRunMode,- pdf_url: str,- ):- pipe_job = PipeJobFactory.make_pipe_job(- pipe=PipeOcr(- code="adhoc_for_test_pipe_ocr_pdf",- domain="generic",- inputs=PipeInputSpec.make_from_blueprint(- domain="generic", blueprint={PIPE_OCR_INPUT_NAME: InputRequirementBlueprint(concept_code=NativeConcept.PDF.code)}- ),- should_include_images=True,- should_caption_images=False,- should_include_page_views=True,- page_views_dpi=72,- output_concept_code=NativeConcept.TEXT_AND_IMAGES.code,- ),- pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),- working_memory=WorkingMemoryFactory.make_from_pdf(- pdf_url=pdf_url,- concept_str=NativeConcept.PDF.code,- name=PIPE_OCR_INPUT_NAME,- ),- )- pipe_ocr_output: PipeOcrOutput = await get_pipe_router().run_pipe_job(- pipe_job=pipe_job,- )- ocr_text = pipe_ocr_output.main_stuff_as_list(item_type=PageContent)- pretty_print(ocr_text, title="ocr_text")diff --git a/tests/integration/pipelex/pipes/test_image_inputs.py b/tests/integration/pipelex/pipes/test_image_inputs.pyindex d5eef6d24..58f8c8e70 100644--- a/tests/integration/pipelex/pipes/test_image_inputs.py+++ b/tests/integration/pipelex/pipes/test_image_inputs.py@@ -2,6 +2,8 @@ import pytestfrom pytest import FixtureRequestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnumfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeRunMode@@ -60,7 +62,11 @@ class TestImageInputs:page_content = PageContent(text_and_images=text_and_images, page_view=image_content)# Create stuff from page content- stuff = StuffFactory.make_stuff(concept_str="Page", content=page_content, name="page")+ stuff = StuffFactory.make_stuff(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.PAGE]),+ content=page_content,+ name="page",+ )# Create working memoryworking_memory = WorkingMemoryFactory.make_from_single_stuff(stuff=stuff)diff --git a/tests/integration/pipelex/pipes/test_pipe_jinja2.py b/tests/integration/pipelex/pipes/test_pipe_jinja2.pyindex 988869d06..0eabb2d50 100644--- a/tests/integration/pipelex/pipes/test_pipe_jinja2.py+++ b/tests/integration/pipelex/pipes/test_pipe_jinja2.py@@ -1,11 +1,14 @@import pytestfrom pipelex import pretty_print+from pipelex.core.concepts.concept_native import NativeConceptEnumfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_run_params import PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactoryfrom pipelex.hub import get_pipe_router-from pipelex.pipe_operators.pipe_jinja2 import PipeJinja2, PipeJinja2Output+from pipelex.pipe_operators.jinja2.pipe_jinja2 import PipeJinja2Output+from pipelex.pipe_operators.jinja2.pipe_jinja2_blueprint import PipeJinja2Blueprint+from pipelex.pipe_operators.jinja2.pipe_jinja2_factory import PipeJinja2Factoryfrom pipelex.pipe_works.pipe_job_factory import PipeJobFactoryfrom pipelex.tools.templating.templating_models import PromptingStyle, TagStyle, TextFormatfrom tests.cases import JINJA2TestCases@@ -20,12 +23,18 @@ class TestPipeJinja2:pipe_run_mode: PipeRunMode,jinja2: str,):+ pipe_jinja2_blueprint = PipeJinja2Blueprint(+ definition="Jinja2 test for any context",+ jinja2=jinja2,+ output=NativeConceptEnum.TEXT.value,+ extra_context={"place_holder": "[some text from test_pipe_jinja2_for_any]"},+ )+pipe_job = PipeJobFactory.make_pipe_job(- pipe=PipeJinja2(- code="adhoc_for_test_pipe_jinja2_for_any",+ pipe=PipeJinja2Factory.make_from_blueprint(domain="generic",- jinja2=jinja2,- extra_context={"place_holder": "[some text from test_pipe_jinja2_for_any]"},+ pipe_code="adhoc_for_test_pipe_jinja2_for_any",+ blueprint=pipe_jinja2_blueprint,),pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),)@@ -41,12 +50,18 @@ class TestPipeJinja2:):working_memory = WorkingMemoryFactory.make_from_text(text="[some text from test_pipe_jinja2_for_stuff]", name="place_holder")+ pipe_jinja2_blueprint = PipeJinja2Blueprint(+ definition="Jinja2 test for stuff context",+ jinja2=jinja2,+ prompting_style=PromptingStyle(tag_style=TagStyle.TICKS, text_format=TextFormat.MARKDOWN),+ output=NativeConceptEnum.TEXT.value,+ )+pipe_job = PipeJobFactory.make_pipe_job(- pipe=PipeJinja2(- code="adhoc_for_test_pipe_jinja2",+ pipe=PipeJinja2Factory.make_from_blueprint(domain="generic",- jinja2=jinja2,- prompting_style=PromptingStyle(tag_style=TagStyle.TICKS, text_format=TextFormat.MARKDOWN),+ pipe_code="adhoc_for_test_pipe_jinja2",+ blueprint=pipe_jinja2_blueprint,),pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),working_memory=working_memory,diff --git a/tests/integration/pipelex/pipes/test_pipe_llm_prompt.py b/tests/integration/pipelex/pipes/test_pipe_llm_prompt.pydeleted file mode 100644index 00354d843..000000000--- a/tests/integration/pipelex/pipes/test_pipe_llm_prompt.py+++ /dev/null@@ -1,189 +0,0 @@-from typing import List, Tuple, Type--import pytest--from pipelex.core.concepts.concept_native import NativeConcept-from pipelex.core.memory.working_memory_factory import WorkingMemoryFactory-from pipelex.core.pipes.pipe_run_params import PipeRunMode-from pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactory-from pipelex.core.stuffs.stuff_content import StructuredContent-from pipelex.hub import get_pipe_router-from pipelex.pipe_operators.pipe_llm_prompt import PipeLLMPrompt, PipeLLMPromptOutput-from pipelex.pipe_works.pipe_job_factory import PipeJobFactory-from pipelex.tools.templating.templating_models import PromptingStyle, TagStyle, TextFormat-from tests.integration.pipelex.test_data import PipeTestCases-from tests.test_pipelines.pipe_llm_prompt import (- ComplexListContent,- DocumentTypeContent,- MusicCategoryContent,- PersonContent,- SimpleStructuredContent,- SimpleTextContent,-)--[email protected]_runnable[email protected](loop_scope="class")-class TestPipeLLMPrompt:- async def test_simple_prompt(self, pipe_run_mode: PipeRunMode):- """Test basic prompt with system and user text."""- pipe_llm_prompt = PipeLLMPrompt(- code="test_simple_prompt",- domain="generic",- system_prompt=PipeTestCases.SYSTEM_PROMPT,- user_text=PipeTestCases.USER_PROMPT,- output_concept_code=NativeConcept.TEXT.code,- )-- pipe_output: PipeLLMPromptOutput = await get_pipe_router().run_pipe_job(- pipe_job=PipeJobFactory.make_pipe_job(- pipe=pipe_llm_prompt,- pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),- )- )-- assert pipe_output is not None- assert pipe_output.working_memory is not None- assert pipe_output.main_stuff is not None- assert pipe_output.llm_prompt is not None- assert pipe_output.llm_prompt.user_text is not None- assert pipe_output.llm_prompt.user_text.endswith(- PipeLLMPrompt.get_output_structure_prompt(NativeConcept.TEXT.code, is_with_preliminary_text=False)- )-- async def test_prompt_with_images(self, pipe_run_mode: PipeRunMode):- """Test prompt with image inputs."""- stuff_name = "image"- working_memory = WorkingMemoryFactory.make_from_single_stuff(stuff=PipeTestCases.SIMPLE_STUFF_IMAGE)-- pipe_llm_prompt = PipeLLMPrompt(- code="test_prompt_with_images",- domain="generic",- system_prompt=PipeTestCases.SYSTEM_PROMPT,- user_text=PipeTestCases.MULTI_IMG_DESC_PROMPT,- user_images=[stuff_name], # Just use the stuff name, the content will be extracted as ImageContent- output_concept_code=NativeConcept.TEXT.code,- )-- pipe_output: PipeLLMPromptOutput = await get_pipe_router().run_pipe_job(- pipe_job=PipeJobFactory.make_pipe_job(- pipe=pipe_llm_prompt,- pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),- working_memory=working_memory,- )- )-- assert pipe_output is not None- assert pipe_output.working_memory is not None- assert pipe_output.main_stuff is not None-- async def test_prompt_with_output_structure(self, pipe_run_mode: PipeRunMode):- """Test prompt with output structure for different content types."""- test_cases: List[Tuple[Type[StructuredContent], str, str]] = [- (SimpleTextContent, "Empty class inheritance", "test.SimpleTextContent"),- (SimpleStructuredContent, "Primitive types", "test.SimpleStructuredContent"),- (DocumentTypeContent, "Enum fields", "test.DocumentTypeContent"),- (PersonContent, "Nested content", "test.PersonContent"),- (ComplexListContent, "List content", "test.ComplexListContent"),- (MusicCategoryContent, "Music genre", "test.MusicCategoryContent"),- ]-- for content_class, description, concept_code in test_cases:- pipe_llm_prompt = PipeLLMPrompt(- code=f"test_output_structure_{content_class.__name__}",- domain="generic",- system_prompt=PipeTestCases.SYSTEM_PROMPT,- user_text=f"Generate content for {description}",- output_concept_code=concept_code,- )-- pipe_output: PipeLLMPromptOutput = await get_pipe_router().run_pipe_job(- pipe_job=PipeJobFactory.make_pipe_job(- pipe=pipe_llm_prompt,- pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),- )- )-- assert pipe_output is not None- assert pipe_output.working_memory is not None- assert pipe_output.main_stuff is not None-- # Verify output structure is appended- output_structure = pipe_llm_prompt.get_output_structure_prompt(concept_code, is_with_preliminary_text=False)-- assert pipe_output.llm_prompt is not None- assert pipe_output.llm_prompt.user_text is not None- assert output_structure in pipe_output.llm_prompt.user_text-- # Verify docstrings and field descriptions are included- if content_class.__doc__:- assert content_class.__doc__ in output_structure-- # Verify field descriptions- for _, field in content_class.model_fields.items():- if field.description:- assert field.description in output_structure-- async def test_prompt_with_prompting_style(self, pipe_run_mode: PipeRunMode):- """Test prompt with different prompting styles."""- prompting_style = PromptingStyle(- tag_style=TagStyle.NO_TAG,- text_format=TextFormat.PLAIN,- )- pipe_llm_prompt = PipeLLMPrompt(- code="test_prompting_style",- domain="generic",- system_prompt=PipeTestCases.SYSTEM_PROMPT,- user_text=PipeTestCases.USER_PROMPT,- prompting_style=prompting_style,- output_concept_code=NativeConcept.TEXT.code,- )-- pipe_output: PipeLLMPromptOutput = await get_pipe_router().run_pipe_job(- pipe_job=PipeJobFactory.make_pipe_job(- pipe=pipe_llm_prompt,- pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),- )- )-- assert pipe_output is not None- assert pipe_output.working_memory is not None- assert pipe_output.main_stuff is not None-- async def test_prompt_validation_errors(self):- """Test validation errors for invalid prompt configurations."""- # Test missing user text- with pytest.raises(Exception) as exc_info:- PipeLLMPrompt(- code="test_validation_error",- domain="generic",- system_prompt=PipeTestCases.SYSTEM_PROMPT,- output_concept_code=NativeConcept.TEXT.code,- )- assert "must have exactly one of user_text" in str(exc_info.value)-- # Test multiple user text sources- with pytest.raises(Exception) as exc_info:- PipeLLMPrompt(- code="test_validation_error",- domain="generic",- system_prompt=PipeTestCases.SYSTEM_PROMPT,- user_text=PipeTestCases.USER_PROMPT,- user_prompt_verbatim_name="some_template",- output_concept_code=NativeConcept.TEXT.code,- )- assert "must have exactly one of user_text" in str(exc_info.value)-- # Test multiple system prompts- with pytest.raises(Exception) as exc_info:- PipeLLMPrompt(- code="test_validation_error",- domain="generic",- system_prompt=PipeTestCases.SYSTEM_PROMPT,- system_prompt_verbatim_name="some_template",- user_text=PipeTestCases.USER_PROMPT,- output_concept_code=NativeConcept.TEXT.code,- )- assert "got more than one of system_prompt" in str(exc_info.value)diff --git a/tests/integration/pipelex/pipes/test_pipe_running_variants.py b/tests/integration/pipelex/pipes/test_pipe_running_variants.pyindex 09d0a9e06..4d973209e 100644--- a/tests/integration/pipelex/pipes/test_pipe_running_variants.py+++ b/tests/integration/pipelex/pipes/test_pipe_running_variants.py@@ -6,13 +6,11 @@ from pytest import FixtureRequestfrom pipelex import log, pretty_printfrom pipelex.config import get_config-from pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_output import PipeOutputfrom pipelex.core.pipes.pipe_run_params import PipeOutputMultiplicity, PipeRunModefrom pipelex.core.pipes.pipe_run_params_factory import PipeRunParamsFactoryfrom pipelex.core.stuffs.stuff import Stuff-from pipelex.core.stuffs.stuff_factory import StuffBlueprintfrom pipelex.hub import get_library_manager, get_pipe_router, get_report_delegatefrom pipelex.pipeline.activity.activity_handler import ActivityHandlerForResultFilesfrom pipelex.pipeline.job_metadata import JobMetadata@@ -25,34 +23,6 @@ from tests.integration.pipelex.test_data import PipeTestCases@pytest.mark.inference@pytest.mark.asyncio(loop_scope="class")class TestPipeRunningVariants:- @pytest.mark.parametrize("topic, blueprint, pipe_code", PipeTestCases.BLUEPRINT_AND_PIPE)- async def test_pipe_from_blueprint(- self,- pipe_run_mode: PipeRunMode,- request: FixtureRequest,- pipe_result_handler: Tuple[str, ActivityHandlerForResultFiles],- save_working_memory: Any,- topic: str,- blueprint: StuffBlueprint,- pipe_code: str,- ):- log.verbose(blueprint, title=f"{topic}: start from '{blueprint.stuff_name}', run pipe '{pipe_code}'")- working_memory = WorkingMemoryFactory.make_from_single_blueprint(blueprint=blueprint)- pipe_output: PipeOutput = await get_pipe_router().run_pipe_code(- pipe_code=pipe_code,- pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),- working_memory=working_memory,- job_metadata=JobMetadata(job_name=request.node.originalname), # type: ignore- )- log.verbose(pipe_output, title="pipe_output")- pretty_print(pipe_output, title="pipe_output")-- # Save stuff context- result_dir_path, _ = pipe_result_handler- await save_working_memory(pipe_output, result_dir_path)-- get_report_delegate().generate_report()-@pytest.mark.parametrize("topic, stuff, pipe_code", PipeTestCases.STUFF_AND_PIPE)async def test_pipe_from_stuff(self,@@ -92,7 +62,7 @@ class TestPipeRunningVariants:pipe_output: PipeOutput = await get_pipe_router().run_pipe_code(pipe_code=pipe_code,pipe_run_params=PipeRunParamsFactory.make_run_params(pipe_run_mode=pipe_run_mode),- working_memory=WorkingMemory(),+ working_memory=WorkingMemoryFactory.make_empty(),job_metadata=JobMetadata(job_name=request.node.originalname), # type: ignore)get_report_delegate().generate_report()@@ -124,7 +94,7 @@ class TestPipeRunningVariants:pipe_run_mode=pipe_run_mode,output_multiplicity=output_multiplicity,),- working_memory=WorkingMemory(),+ working_memory=WorkingMemoryFactory.make_empty(),job_metadata=JobMetadata(job_name=request.node.originalname), # type: ignore)get_report_delegate().generate_report()diff --git a/tests/integration/pipelex/plugins/test_external_plugin.py b/tests/integration/pipelex/plugins/test_external_plugin.pyindex 0e10cbcec..70fc1a067 100644--- a/tests/integration/pipelex/plugins/test_external_plugin.py+++ b/tests/integration/pipelex/plugins/test_external_plugin.py@@ -8,13 +8,14 @@ from pipelex import log, pretty_printfrom pipelex.cogt.llm.llm_job import LLMJobfrom pipelex.cogt.llm.llm_job_components import LLMJobParamsfrom pipelex.cogt.llm.llm_job_factory import LLMJobFactory-from pipelex.cogt.llm.llm_models.llm_setting import LLMSetting, LLMSettingChoices+from pipelex.cogt.llm.llm_models.llm_setting import LLMSettingfrom pipelex.cogt.llm.llm_worker_abstract import LLMWorkerAbstractfrom pipelex.cogt.llm.token_category import NbTokensByCategoryDict, TokenCategory-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_native import NativeConceptEnumfrom pipelex.hub import get_inference_manager, get_pipe_router, get_report_delegate-from pipelex.pipe_operators.pipe_llm import PipeLLM, PipeLLMOutput-from pipelex.pipe_operators.pipe_llm_prompt import PipeLLMPrompt+from pipelex.pipe_operators.llm.pipe_llm import PipeLLMOutput+from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint+from pipelex.pipe_operators.llm.pipe_llm_factory import PipeLLMFactoryfrom pipelex.pipe_works.pipe_job_factory import PipeJobFactoryfrom pipelex.tools.typing.pydantic_utils import BaseModelTypeVarfrom tests.integration.pipelex.cogt.test_data import LLMTestConstants, Person@@ -86,24 +87,24 @@ class TestExternalPlugin:llm_handle=llm_handle,llm_worker_class=MockExternalLLMWorker,)++ pipe_llm_blueprint = PipeLLMBlueprint(+ definition="LLM test with external plugin",+ output=NativeConceptEnum.TEXT.value,+ system_prompt=PipeTestCases.SYSTEM_PROMPT,+ prompt=PipeTestCases.USER_PROMPT,+ llm=LLMSetting(+ llm_handle=llm_handle,+ temperature=0.5,+ max_tokens=None,+ ),+ )+pipe_job = PipeJobFactory.make_pipe_job(- pipe=PipeLLM(- code="adhoc_for_test_pipe_llm_with_external_llm_handle",+ pipe=PipeLLMFactory.make_from_blueprint(domain="generic",- output_concept_code=NativeConcept.TEXT.code,- pipe_llm_prompt=PipeLLMPrompt(- code="adhoc_for_test_pipe_llm_with_external_llm_handle",- domain="generic",- system_prompt=PipeTestCases.SYSTEM_PROMPT,- user_text=PipeTestCases.USER_PROMPT,- ),- llm_choices=LLMSettingChoices.make_completed_with_defaults(- for_text=LLMSetting(- llm_handle=llm_handle,- temperature=0.5,- max_tokens=None,- ),- ),+ pipe_code="adhoc_for_test_pipe_llm_with_external_llm_handle",+ blueprint=pipe_llm_blueprint,),)pipe_llm_output: PipeLLMOutput = await get_pipe_router().run_pipe_job(diff --git a/tests/integration/pipelex/test_data.py b/tests/integration/pipelex/test_data.pyindex c1f817596..d098ce72c 100644--- a/tests/integration/pipelex/test_data.py+++ b/tests/integration/pipelex/test_data.py@@ -1,5 +1,7 @@from typing import ClassVar, List, Optional, Tuple, Type+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnumfrom pipelex.core.pipes.pipe_run_params import PipeOutputMultiplicityfrom pipelex.core.stuffs.stuff import Stufffrom pipelex.core.stuffs.stuff_content import (@@ -11,7 +13,7 @@ from pipelex.core.stuffs.stuff_content import ()from pipelex.core.stuffs.stuff_factory import StuffBlueprint, StuffFactoryfrom pipelex.exceptions import PipeStackOverflowError-from pipelex.pipe_operators.pipe_ocr import PIPE_OCR_INPUT_NAME+from pipelex.pipe_operators.ocr.pipe_ocr import PIPE_OCR_INPUT_NAMEfrom tests.cases import ImageTestCases, PDFTestCases@@ -49,22 +51,22 @@ class PipeTestCases:# Create simple Stuff objectsSIMPLE_STUFF_TEXT = StuffFactory.make_stuff(name="text",- concept_str="Text",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),content=TextContent(text="Describe a t-shirt in 2 sentences"),)SIMPLE_STUFF_IMAGE = StuffFactory.make_stuff(name="image",- concept_str="Image",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.IMAGE]),content=ImageContent(url=URL_IMG_FASHION_PHOTO_1),)SIMPLE_STUFF_PDF = StuffFactory.make_stuff(name=PIPE_OCR_INPUT_NAME,- concept_str="PDF",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.PDF]),content=PDFContent(url=PDFTestCases.DOCUMENT_URLS[0]),)COMPLEX_STUFF = StuffFactory.make_stuff(name="complex",- concept_str="tests.Complex",+ concept=ConceptFactory.make(concept_code="Complex", domain="tests", definition="tests.Complex", structure_class_name="Complex"),content=ListContent(items=[TextContent(text="The quick brown fox jumps over the lazy dog"),@@ -75,7 +77,7 @@ class PipeTestCases:STUFF_CONTENT_WITH_IMAGE_ATTRIBUTE_1 = SomeContentWithImageAttribute(image_attribute=ImageContent(url=URL_IMG_FASHION_PHOTO_1))STUFF_WITH_IMAGE_ATTRIBUTE = StuffFactory.make_stuff(- concept_str="Image",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.IMAGE]),content=STUFF_CONTENT_WITH_IMAGE_ATTRIBUTE_1,name="stuff_with_image",)@@ -84,7 +86,7 @@ class PipeTestCases:sub_object=STUFF_CONTENT_WITH_IMAGE_ATTRIBUTE_1,)STUFF_WITH_IMAGE_ATTRIBUTE_IN_SUB_OBJECT = StuffFactory.make_stuff(- concept_str="Image",+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.IMAGE]),content=STUFF_CONTENT_WITH_IMAGE_ATTRIBUTE_IN_SUB_OBJECT,name="stuff_with_image_in_sub_object",)@@ -108,7 +110,7 @@ class PipeTestCases:]TRICKY_QUESTION_BLUEPRINT = StuffBlueprint(stuff_name="question",- concept_code="answer.Question",+ concept_string="answer.Question",content=USER_TEXT_TRICKY_2,)BLUEPRINT_AND_PIPE: ClassVar[List[Tuple[str, StuffBlueprint, str]]] = [ # topic, blueprint, pipediff --git a/tests/integration/pipelex/test_inline_structure_concepts.py b/tests/integration/pipelex/test_inline_structure_concepts.pyindex dd1ba11ab..e8deb5236 100644--- a/tests/integration/pipelex/test_inline_structure_concepts.py+++ b/tests/integration/pipelex/test_inline_structure_concepts.py@@ -42,13 +42,15 @@ class TestInlineStructureConcepts:blueprint = ConceptBlueprint(definition="Analysis of a photo's visual content", structure=inline_structure)# Create concept from blueprint- concept = ConceptFactory.make_concept_from_blueprint(domain="test_domain", code="TestFeatureAnalysis", concept_blueprint=blueprint)+ concept = ConceptFactory.make_from_blueprint(+ domain="test_domain", concept_code="TestFeatureAnalysis", blueprint=blueprint, concept_codes_from_the_same_domain=["TestFeatureAnalysis"]+ )# Verify concept properties- assert concept.code == "test_domain.TestFeatureAnalysis"+ assert concept.domain == "test_domain"+ assert concept.code == "TestFeatureAnalysis"assert concept.definition == "Analysis of a photo's visual content"assert concept.structure_class_name == "TestFeatureAnalysis"- assert concept.domain == "test_domain"# Verify the generated class is registered and accessibleassert get_class_registry().has_class("TestFeatureAnalysis")@@ -64,13 +66,13 @@ class TestInlineStructureConcepts:visual_elements="Car, road, trees, sky", # pyright: ignore[reportCallIssue]composition="Central composition with car in focus", # pyright: ignore[reportCallIssue]color_palette="Red, green, blue, white", # pyright: ignore[reportCallIssue]+ mood_atmosphere="The overall mood or atmosphere", # pyright: ignore[reportCallIssue])assert instance.dominant_feature == "A bright red car" # type: ignoreassert instance.visual_elements == "Car, road, trees, sky" # type: ignoreassert instance.composition == "Central composition with car in focus" # type: ignoreassert instance.color_palette == "Red, green, blue, white" # type: ignore- assert instance.mood_atmosphere is None # type: ignoredef test_string_reference_structure_definition(self):"""Test that string reference structure definitions still work."""@@ -78,10 +80,13 @@ class TestInlineStructureConcepts:blueprint = ConceptBlueprint(definition="Test with string reference", structure="TextContent")# Create concept from blueprint- concept = ConceptFactory.make_concept_from_blueprint(domain="test_domain", code="TestStringRef", concept_blueprint=blueprint)+ concept = ConceptFactory.make_from_blueprint(+ domain="test_domain", concept_code="TestStringRef", blueprint=blueprint, concept_codes_from_the_same_domain=["TestStringRef"]+ )# Verify concept properties- assert concept.code == "test_domain.TestStringRef"+ assert concept.code == "TestStringRef"+ assert concept.domain == "test_domain"assert concept.definition == "Test with string reference"assert concept.structure_class_name == "TextContent"@@ -91,7 +96,9 @@ class TestInlineStructureConcepts:blueprint = ConceptBlueprint(definition="Test auto-detection")# Create concept from blueprint- concept = ConceptFactory.make_concept_from_blueprint(domain="test_domain", code="TestAutoDetect", concept_blueprint=blueprint)+ concept = ConceptFactory.make_from_blueprint(+ domain="test_domain", concept_code="TestAutoDetect", blueprint=blueprint, concept_codes_from_the_same_domain=["TestAutoDetect"]+ )# Should default to TextContent since TestAutoDetect is not a registered classassert concept.structure_class_name == "TextContent"@@ -122,10 +129,13 @@ class TestInlineStructureConcepts:blueprint = ConceptBlueprint(definition="Complex document structure", structure=inline_structure)- concept = ConceptFactory.make_concept_from_blueprint(domain="test_domain", code="ComplexDocument", concept_blueprint=blueprint)+ concept = ConceptFactory.make_from_blueprint(+ domain="test_domain", concept_code="ComplexDocument", blueprint=blueprint, concept_codes_from_the_same_domain=["ComplexDocument"]+ )# Verify concept creation- assert concept.code == "test_domain.ComplexDocument"+ assert concept.code == "ComplexDocument"+ assert concept.domain == "test_domain"assert concept.structure_class_name == "ComplexDocument"# Verify the generated class works@@ -155,10 +165,11 @@ class TestInlineStructureConcepts:match="Structure class 'NonExistentClass' set for concept 'TestInvalidRef' in domain 'test_domain' is \not a registered subclass of StuffContent",):- _ = ConceptFactory.make_concept_from_blueprint(+ _ = ConceptFactory.make_from_blueprint(domain="test_domain",- code="TestInvalidRef",- concept_blueprint=ConceptBlueprint(definition="Test invalid reference", structure="NonExistentClass"),+ concept_code="TestInvalidRef",+ blueprint=ConceptBlueprint(definition="Test invalid reference", structure="NonExistentClass"),+ concept_codes_from_the_same_domain=["TestInvalidRef"],)def test_multiple_inline_structures_do_not_conflict(self):@@ -170,7 +181,9 @@ not a registered subclass of StuffContent",}blueprint1 = ConceptBlueprint(definition="Person information", structure=structure1)- concept1 = ConceptFactory.make_concept_from_blueprint(domain="test_domain", code="Person", concept_blueprint=blueprint1)+ concept1 = ConceptFactory.make_from_blueprint(+ domain="test_domain", concept_code="Person", blueprint=blueprint1, concept_codes_from_the_same_domain=["Person"]+ )# Second structure with same field names but different contextstructure2: Dict[str, ConceptStructureBlueprintType] = {@@ -179,7 +192,9 @@ not a registered subclass of StuffContent",}blueprint2 = ConceptBlueprint(definition="Product information", structure=structure2)- concept2 = ConceptFactory.make_concept_from_blueprint(domain="test_domain", code="Product", concept_blueprint=blueprint2)+ concept2 = ConceptFactory.make_from_blueprint(+ domain="test_domain", concept_code="Product", blueprint=blueprint2, concept_codes_from_the_same_domain=["Product"]+ )# Both should be created successfullyassert concept1.structure_class_name == "Person"diff --git a/tests/integration/pipelex/test_libraries.py b/tests/integration/pipelex/test_libraries.pyindex 89f42cb75..0709d76e5 100644--- a/tests/integration/pipelex/test_libraries.py+++ b/tests/integration/pipelex/test_libraries.py@@ -45,7 +45,7 @@ def pretty_print_all_pipes(pipe.definition,pipe.__class__.__name__,", ".join([f"{name}: {concept_code}" for name, concept_code in pipe.inputs.items]),- pipe.output_concept_code,+ pipe.output.code,)console.print("\n")@@ -77,7 +77,7 @@ def pretty_print_all_concepts(concept.code,concept.definition,concept.structure_class_name,- ", ".join(concept.refines),+ concept.refines,)console.print("\n")@@ -99,7 +99,9 @@ class TestLibraries:assert len(library_manager.pipe_library.root) > 0, "No pipes were loaded"# Test individual concepts and pipes- assert library_manager.concept_library.get_concept(known_concept) is not None- pretty_print(f"Concept: {known_concept} is correctly loaded as {library_manager.concept_library.get_concept(known_concept)}")+ assert library_manager.concept_library.get_required_concept(concept_string=known_concept) is not None+ pretty_print(+ f"Concept: {known_concept} is correctly loaded as {library_manager.concept_library.get_required_concept(concept_string=known_concept)}"+ )assert library_manager.pipe_library.get_optional_pipe(known_pipe) is not Nonepretty_print(f"Pipe: {known_pipe} is correctly loaded as {library_manager.pipe_library.get_optional_pipe(known_pipe)}")diff --git a/tests/test_pipelines/concept_library/is_compatible_concept_code.toml b/tests/test_pipelines/concept_library/is_compatible_concept_code.tomlindex dd7d2f0ae..39c2d52c2 100644--- a/tests/test_pipelines/concept_library/is_compatible_concept_code.toml+++ b/tests/test_pipelines/concept_library/is_compatible_concept_code.toml@@ -10,37 +10,33 @@ FundamentalsDoc = "A comprehensive overview of the fundamental concepts and prin# Concept that explicitly refines Text[concept.ExplicitTextConcept]definition = "A concept that explicitly refines Text"-refines = ["Text"]+refines = "Text"# Concept that refines Image[concept.ImageBasedConcept]definition = "A concept based on images"-refines = ["Image"]+refines = "Image"# Concept that refines FundamentalsDoc[concept.DocumentationConcept]definition = "A specialized documentation concept"-structure = "DocumentationConcept"-refines = ["FundamentalsDoc"]# Concept that refines both Text and Image (multiple inheritance)[concept.MultiMediaConcept]definition = "A concept that combines text and images"-structure = "MultiMediaConcept"-refines = ["Text", "Image"]# Concept with custom structure that doesn't refine anything[concept.IndependentConcept]definition = "An independent concept with custom structure"structure = "IndependentConcept"-# Concept that refines a non-native concept+# Concept that refines a native concept (changed from non-native)[concept.SpecializedDoc]-definition = "A specialized document that builds on FundamentalsDoc"-refines = ["FundamentalsDoc"]+definition = "A specialized document that builds on Text"+refines = "Text"-# Chain of inheritance: Text -> ExplicitTextConcept -> DerivedTextConcept+# Concept that refines a native concept (changed from non-native chain)[concept.DerivedTextConcept]-definition = "A concept derived from ExplicitTextConcept"-refines = ["ExplicitTextConcept"]+definition = "A concept derived from Text"+refines = "Text"diff --git a/tests/test_pipelines/discord_newsletter.toml b/tests/test_pipelines/discord_newsletter.tomlindex eb84f8682..eda0b16a9 100644--- a/tests/test_pipelines/discord_newsletter.toml+++ b/tests/test_pipelines/discord_newsletter.toml@@ -1,21 +1,48 @@domain = "discord_newsletter"-definition = "Discord newsletter generation pipeline"+definition = "Create newsletters from Discord channel content by summarizing messages and organizing them according to newsletter format"[concept]DiscordChannelUpdate = "A Discord channel with its messages for newsletter generation"ChannelSummary = "A summarized Discord channel for newsletter inclusion"-Newsletter = "The final newsletter content with organized channel summaries"+HtmlNewsletter = "The final newsletter content in html format with organized channel summaries"[pipe.write_discord_newsletter]type = "PipeSequence"definition = "Create a newsletter from Discord articles by summarizing channels and organizing content"inputs = { discord_channel_updates = "DiscordChannelUpdate" }-output = "Newsletter"+output = "HtmlNewsletter"steps = [{ pipe = "summarize_discord_channel_update", batch_over = "discord_channel_updates", batch_as = "discord_channel_update", result = "channel_summaries" },+ { pipe = "write_weekly_summary", result = "weekly_summary" },+ { pipe = "format_html_newsletter", result = "html_newsletter" },]+[pipe.summarize_discord_channel_update]+type = "PipeCondition"+definition = "Select the appropriate summary pipe based on the channel name"+inputs = { discord_channel_update = "DiscordChannelUpdate" }+output = "ChannelSummary"+expression = "discord_channel_update.name"+pipe_map = { "Introduce-Yourself" = "summarize_discord_channel_update_for_new_members" }+default_pipe_code = "summarize_discord_channel_update_general"++[pipe.summarize_discord_channel_update_for_new_members]+type = "PipeLLM"+definition = "Summarize the new member announcements"+inputs = { discord_channel_update = "DiscordChannelUpdate" }+output = "ChannelSummary"+system_prompt = "You are a newsletter editor who creates engaging summaries of Discord channel content. You extract key information, preserve important links, and write in a clear, concise style suitable for newsletter readers."+prompt_template = """+Analyze this Discord channel update and create a newsletter-friendly summary.++Channel Information:+@discord_channel_update++Summarize with one bullet point for each new member+"""++[pipe.summarize_discord_channel_update_general]type = "PipeLLM"definition = "Summarize a Discord channel's messages into newsletter-friendly content"inputs = { discord_channel_update = "DiscordChannelUpdate" }@@ -30,5 +57,72 @@ Channel Information:The summary should be informative and engaging for newsletter readers who want to understand what happened in this channel during the week.Generate one or more summary items: each one can correspond to a single message or to a bunch of messages that were part of the same conversation.Each summary item should be in plain text, no bullet points. You can make some parts **bold** to highlight important information.++Make sure to preserve the channel name and position from the input for proper ordering in the newsletter.+"""++[pipe.write_weekly_summary]+type = "PipeLLM"+definition = "Combine channel summaries into a short summary of the week's Share channel content (200 characters)"+inputs = { channel_summaries = "ChannelSummary" }+output = "Text"+prompt_template = """+Write a single overall summary of the week's content based on the following Share channel summaries:++{% for channel in channel_summaries.content.items if channel.category == "Share" %}+{{ channel }}+{% endfor %}++Keep it short: 200 characters.+"""++[pipe.format_html_newsletter]+type = "PipeJinja2"+definition = "Combine weekly and channel summaries into a complete newsletter following specific formatting requirements"+inputs = { weekly_summary = "Text", channel_summaries = "ChannelSummary" }+output = "HtmlNewsletter"+template_category = "html"+jinja2 = """+<!-- Weekly Summary -->+<h2>☀️ Weekly Summary</h2>+<p>+$weekly_summary+</p>++<!-- New Members Section -->+{% set introduce_channels = channel_summaries.content.items | selectattr('category', 'equalto', 'Introduce Yourself') | list %}+{% if introduce_channels %}+ <h2>🙌 New members</h2>+ <ul>+ {% for channel in introduce_channels %}+ {% for item in channel.summary_items_as_html %}+ <li>{{ item }}</li>+ {% endfor %}+ {% endfor %}+ </ul>+{% endif %}++<!-- Share Channel Section -->+{% set regular_channels = channel_summaries.content.items | selectattr('category', 'equalto', 'Share') | list | sort(attribute='position') %}+{% if regular_channels %}+ {% for channel in regular_channels %}+ <h2>{{ channel.channel_name }}</h2>+ {% for item in channel.summary_items_as_html %}+ <p>{{ item }}</p>+ {% endfor %}+ {% endfor %}+{% endif %}++<!-- Geographic Hubs Section -->+{% set geo_hubs = channel_summaries.content.items | selectattr('category', 'equalto', 'Geographic Hubs') | list | sort(attribute='position') %}+{% if geo_hubs %}+ <h2>🌎 Geographic hubs</h2>+ {% for channel in geo_hubs %}+ <h3>{{ channel.channel_name }}</h3>+ {% for item in channel.summary_items_as_html %}+ <p>{{ item }}</p>+ {% endfor %}+ {% endfor %}+{% endif %}"""diff --git a/tests/test_pipelines/failing_pipelines.toml b/tests/test_pipelines/failing_pipelines.tomlindex 64323fac3..5045ec2c2 100644--- a/tests/test_pipelines/failing_pipelines.toml+++ b/tests/test_pipelines/failing_pipelines.toml@@ -9,7 +9,7 @@ definition = "This pipe is a dummy pipe"output = "Text"llm = { llm_handle = "gpt-4o-mini", temperature = 1, max_tokens = 50 }prompt_template = """-This is a dummy prompt, do whatever you want. Something funny but not a joke, ok?+Output only "Hello"."""[pipe.infinite_loop_1]diff --git a/tests/test_pipelines/misc_tests/multiplicity.toml b/tests/test_pipelines/misc_tests/multiplicity.tomlindex 1f8957e2a..2f556db06 100644--- a/tests/test_pipelines/misc_tests/multiplicity.toml+++ b/tests/test_pipelines/misc_tests/multiplicity.toml@@ -42,7 +42,7 @@ Just state what it is in a single sentence.type = "PipeLLM"definition = "Imagine a fantasy scene including products of nature"inputs = { product_of_nature = "ProductOfNature" }-output = "FantasyScene"+output = "images.ImgGenPrompt"prompt_template = """Imagine a fantasy scene including the following products of nature:@@ -54,21 +54,20 @@ Keep it short and concise, just one sentence.[pipe.imagine_nature_scene_of_original_power_rangers_colors]type = "PipeSequence"definition = "Imagine nature scenes of Power Rangers colors"-output = "Image"+output = "images.ImgGenPrompt"steps = [{ pipe = "original_power_ranger_colors", result = "color" },{ pipe = "imagine_nature_product", result = "product_of_nature" },- { pipe = "imagine_fantasy_scene_including_products_of_nature", result = "imgg_prompt" },+ { pipe = "imagine_fantasy_scene_including_products_of_nature" },]-[pipe.imagine_nature_scene_of_alltime_power_rangers_colors]type = "PipeSequence"definition = "Imagine nature scenes of Power Rangers colors"-output = "Image"+output = "images.ImgGenPrompt"steps = [{ pipe = "alltime_power_ranger_colors", result = "color", multiple_output = true },{ pipe = "imagine_nature_product", result = "product_of_nature" },- { pipe = "imagine_fantasy_scene_including_products_of_nature", result = "imgg_prompt" },+ { pipe = "imagine_fantasy_scene_including_products_of_nature" },]diff --git a/tests/test_pipelines/misc_tests/tests.toml b/tests/test_pipelines/misc_tests/tests.tomlindex d5e91c743..e06141fef 100644--- a/tests/test_pipelines/misc_tests/tests.toml+++ b/tests/test_pipelines/misc_tests/tests.toml@@ -30,7 +30,7 @@ Explain that this is a test prompt which took no input from the user.type = "PipeLLM"definition = "No Input but generates a text that could be long"output = "Text"-llm = { llm_handle = "gpt-4o-mini", temperature = 0.5, max_tokens = 100 }+llm = { llm_handle = "gpt-4o-mini", temperature = 0.5, max_tokens = 1000 }prompt_template = """Tell me a short story about a red baloon."""diff --git a/tests/test_pipelines/test_tweet.py b/tests/test_pipelines/test_tweet.pynew file mode 100644index 000000000..c4ae1cf08--- /dev/null+++ b/tests/test_pipelines/test_tweet.py@@ -0,0 +1,8 @@+from pipelex.core.stuffs.stuff_content import TextContent+++class OptimizedTweet(TextContent):+ """A tweet optimized for Twitter/X engagement following best practices."""++ # TBD+ passdiff --git a/tests/test_pipelines/test_tweet.toml b/tests/test_pipelines/test_tweet.tomlnew file mode 100644index 000000000..191fdb59d--- /dev/null+++ b/tests/test_pipelines/test_tweet.toml@@ -0,0 +1,82 @@+domain = "tech_tweet"+definition = "A pipeline for optimizing tech tweets using Twitter/X best practices"++[concept]+DraftTweet = "A draft version of a tech tweet that needs optimization"+OptimizedTweet = "A tweet optimized for Twitter/X engagement following best practices"+TweetAnalysis = "Analysis of the tweet's structure and potential improvements"+WritingStyle = "A style of writing"++[pipe]+[pipe.analyze_tweet]+type = "PipeLLM"+definition = "Analyze the draft tweet and identify areas for improvement"+inputs = { draft_tweet = "DraftTweet" }+output = "TweetAnalysis"+system_prompt = """+You are an expert in social media optimization, particularly for tech content on Twitter/X.+Your role is to analyze tech tweets and check if they display typical startup communication pitfalls.+"""+prompt_template = """+Evaluate the tweet for these key issues:++**Fluffiness** - Overuse of buzzwords without concrete meaning (e.g., "synergizing disruptive paradigms")++**Cringiness** - Content that induces secondhand embarrassment (overly enthusiastic, trying too hard to be cool, excessive emoji use)++**Humblebragginess** - Disguising boasts as casual updates or false modesty ("just happened to close our $ 10M round 🤷")++**Vagueness** - Failing to clearly communicate what the product/service actually does++For each criterion, provide:+1. A score (1-5) where 1 = not present, 5 = severely present+2. If the problem is not present, no comment. Otherwise, explain of the issue and give concise guidance on fixing it, without providing an actual rewrite++@draft_tweet++"""++[pipe.optimize_tweet]+type = "PipeLLM"+definition = "Optimize the tweet based on the analysis"+inputs = { draft_tweet = "DraftTweet", tweet_analysis = "TweetAnalysis", writing_style = "WritingStyle" }+output = "OptimizedTweet"+system_prompt = """+You are an expert in writing engaging tech tweets that drive meaningful discussions and engagement.+Your goal is to rewrite tweets to be impactful and avoid the pitfalls identified in the analysis.+"""+prompt_template = """+Rewrite this tech tweet to be more engaging and effective, based on the analysis:++Original tweet:+@draft_tweet++Analysis:+@tweet_analysis++Requirements:+- Include a clear call-to-action+- Make it engaging and shareable+- Use clear, concise language++### Reference style example++@writing_style++### Additional style instructions++No hashtags.+Minimal emojis.+Keep the core meaning of the original tweet.+"""++[pipe.optimize_tweet_sequence]+type = "PipeSequence"+definition = "Analyze and optimize a tech tweet in sequence"+inputs = { draft_tweet = "DraftTweet", writing_style = "WritingStyle" }+output = "OptimizedTweet"+steps = [+ { pipe = "analyze_tweet", result = "tweet_analysis" },+ { pipe = "optimize_tweet", result = "optimized_tweet" },+]+diff --git a/tests/test_pipelines/tricky_questions.toml b/tests/test_pipelines/tricky_questions.tomlindex 04e0648f1..798495bc8 100644--- a/tests/test_pipelines/tricky_questions.toml+++ b/tests/test_pipelines/tricky_questions.toml@@ -9,8 +9,6 @@ ThoughtfulAnswerConclusion = "Conclusion of a thoughtful answer"[concept.ThoughtfulAnswer]definition = "A thoughtful answer to a question"-structure = "ThoughtfulAnswer"-refines = "AnswerToAQuestion"[pipe][pipe.analyse_question_tricky]diff --git a/tests/unit/pipelex/client/test_api_serialization.py b/tests/unit/pipelex/client/test_api_serialization.pyindex e3d69a0a4..063b97993 100644--- a/tests/unit/pipelex/client/test_api_serialization.py+++ b/tests/unit/pipelex/client/test_api_serialization.py@@ -8,10 +8,11 @@ import pytestfrom pydantic import BaseModelfrom pipelex.client.api_serializer import ApiSerializer-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnumfrom pipelex.core.memory.working_memory import WorkingMemoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactory-from pipelex.core.stuffs.stuff_content import NumberContent+from pipelex.core.stuffs.stuff_content import NumberContent, TextContentfrom pipelex.core.stuffs.stuff_factory import StuffFactoryfrom tests.test_pipelines.datetime import DateTimeEvent@@ -59,19 +60,34 @@ class TestApiSerialization:created_at=datetime(2024, 1, 1, 9, 0, 0),)- stuff = StuffFactory.make_stuff(concept_str="event.DateTimeEvent", name="project_meeting", content=datetime_event)+ stuff = StuffFactory.make_stuff(+ concept=ConceptFactory.make(+ concept_code="DateTimeEvent", domain="event", definition="event.DateTimeEvent", structure_class_name="DateTimeEvent"+ ),+ name="project_meeting",+ content=datetime_event,+ )return WorkingMemoryFactory.make_from_single_stuff(stuff=stuff)@pytest.fixturedef text_content_memory(self) -> WorkingMemory:"""Create WorkingMemory with text content."""- return WorkingMemoryFactory.make_from_text(text="Sample text content", concept_str=NativeConcept.TEXT.code, name="sample_text")+ stuff = StuffFactory.make_stuff(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),+ name="sample_text",+ content=TextContent(text="Sample text content"),+ )+ return WorkingMemoryFactory.make_from_single_stuff(stuff=stuff)@pytest.fixturedef number_content_memory(self) -> WorkingMemory:"""Create WorkingMemory with number content."""number_content = NumberContent(number=3.14159)- stuff = StuffFactory.make_stuff(concept_str="native.Number", name="pi_value", content=number_content)+ stuff = StuffFactory.make_stuff(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.NUMBER]),+ name="pi_value",+ content=number_content,+ )return WorkingMemoryFactory.make_from_single_stuff(stuff=stuff)def test_serialize_working_memory_with_datetime(self, datetime_content_memory: WorkingMemory):@@ -85,7 +101,7 @@ class TestApiSerialization:# Check the dict structuredatetime_blueprint = compact_memory["project_meeting"]assert isinstance(datetime_blueprint, dict)- assert datetime_blueprint["concept_code"] == "event.DateTimeEvent"+ assert datetime_blueprint["concept_code"] == "DateTimeEvent"# Check content is properly serializedcontent = datetime_blueprint["content"]@@ -132,7 +148,7 @@ class TestApiSerialization:assert "sample_text" in compact_memorytext_blueprint = compact_memory["sample_text"]- assert text_blueprint["concept_code"] == NativeConcept.TEXT.code+ assert text_blueprint["concept_code"] == NativeConceptEnum.TEXT.valueassert isinstance(text_blueprint["content"], str)assert text_blueprint["content"] == "Sample text content"@@ -144,6 +160,6 @@ class TestApiSerialization:assert "pi_value" in compact_memorynumber_blueprint = compact_memory["pi_value"]- assert number_blueprint["concept_code"] == "native.Number"+ assert number_blueprint["concept_code"] == NativeConceptEnum.NUMBER.valueassert isinstance(number_blueprint["content"], dict)assert number_blueprint["content"]["number"] == 3.14159diff --git a/tests/unit/pipelex/core/concepts/concept/test_concept.py b/tests/unit/pipelex/core/concepts/concept/test_concept.pynew file mode 100644index 000000000..9e9a4ec00--- /dev/null+++ b/tests/unit/pipelex/core/concepts/concept/test_concept.py@@ -0,0 +1,320 @@+import pytest++from pipelex.core.concepts.concept import Concept+from pipelex.core.concepts.concept_blueprint import ConceptBlueprint+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnum+from pipelex.core.concepts.exceptions import ConceptCodeError, ConceptStringError+from pipelex.core.domains.domain import SpecialDomain+from pipelex.core.domains.exceptions import DomainError+++class TestConcept:+ """Test Concept class."""++ def test_is_native_concept_code(self):+ """Test is_native_concept_code method."""+ assert ConceptBlueprint.is_native_concept_code(NativeConceptEnum.TEXT.value) is True+ assert ConceptBlueprint.is_native_concept_code(NativeConceptEnum.IMAGE.value) is True+ assert ConceptBlueprint.is_native_concept_code(NativeConceptEnum.PDF.value) is True+ assert ConceptBlueprint.is_native_concept_code(NativeConceptEnum.TEXT_AND_IMAGES.value) is True+ assert ConceptBlueprint.is_native_concept_code(NativeConceptEnum.NUMBER.value) is True+ assert ConceptBlueprint.is_native_concept_code(NativeConceptEnum.LLM_PROMPT.value) is True+ assert ConceptBlueprint.is_native_concept_code(NativeConceptEnum.ANYTHING.value) is True+ assert ConceptBlueprint.is_native_concept_code(NativeConceptEnum.DYNAMIC.value) is True++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.IMAGE.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.PDF.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT_AND_IMAGES.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.NUMBER.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.LLM_PROMPT.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"not_native.{NativeConceptEnum.TEXT.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"not_native.{NativeConceptEnum.IMAGE.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"not_native.{NativeConceptEnum.PDF.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"not_native.{NativeConceptEnum.TEXT_AND_IMAGES.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"not_native.{NativeConceptEnum.NUMBER.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"not_native.{NativeConceptEnum.LLM_PROMPT.value}")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code(f"not_native.{NativeConceptEnum.DYNAMIC.value}")++ assert ConceptBlueprint.is_native_concept_code("RandomConcept") is False+ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.is_native_concept_code("text")++ def test_is_native_concept_string_or_concept_code(self):+ """Test is_native_concept_code method."""+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(NativeConceptEnum.TEXT.value) is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(NativeConceptEnum.IMAGE.value) is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(NativeConceptEnum.PDF.value) is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(NativeConceptEnum.TEXT_AND_IMAGES.value) is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(NativeConceptEnum.NUMBER.value) is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(NativeConceptEnum.LLM_PROMPT.value) is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(NativeConceptEnum.ANYTHING.value) is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(NativeConceptEnum.DYNAMIC.value) is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}") is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.IMAGE.value}") is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.PDF.value}") is True+ assert (+ ConceptBlueprint.is_native_concept_string_or_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT_AND_IMAGES.value}")+ is True+ )+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.NUMBER.value}") is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.LLM_PROMPT.value}") is True+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"not_native.{NativeConceptEnum.TEXT.value}") is False+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"not_native.{NativeConceptEnum.IMAGE.value}") is False+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"not_native.{NativeConceptEnum.PDF.value}") is False+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"not_native.{NativeConceptEnum.TEXT_AND_IMAGES.value}") is False+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"not_native.{NativeConceptEnum.NUMBER.value}") is False+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"not_native.{NativeConceptEnum.LLM_PROMPT.value}") is False+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"not_native.{NativeConceptEnum.ANYTHING.value}") is False+ assert ConceptBlueprint.is_native_concept_string_or_concept_code(f"not_native.{NativeConceptEnum.DYNAMIC.value}") is False+ assert ConceptBlueprint.is_native_concept_string_or_concept_code("RandomConcept") is False+ assert ConceptBlueprint.is_native_concept_string_or_concept_code("text") is False++ def test_is_native_concept(self):+ """Test is_native_concept method."""+ valid_domain = "valid_domain"+ valid_definition = "Lorem Ipsum"++ for native_concept in NativeConceptEnum:+ assert Concept.is_native_concept(ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[native_concept])) is True++ assert (+ Concept.is_native_concept(+ ConceptFactory.make_from_blueprint(+ concept_code=NativeConceptEnum.TEXT.value,+ domain=valid_domain,+ blueprint=ConceptBlueprint(definition=valid_definition),+ concept_codes_from_the_same_domain=["RandomConcept"],+ )+ )+ is True+ )+ assert (+ Concept.is_native_concept(+ ConceptFactory.make_from_blueprint(+ concept_code=NativeConceptEnum.TEXT.value,+ domain=SpecialDomain.NATIVE.value,+ blueprint=ConceptBlueprint(definition=valid_definition),+ )+ )+ is True+ )+ assert (+ Concept.is_native_concept(+ ConceptFactory.make_from_blueprint(+ concept_code=NativeConceptEnum.IMAGE.value,+ domain=valid_domain,+ blueprint=ConceptBlueprint(definition=valid_definition),+ concept_codes_from_the_same_domain=["RandomConcept"],+ )+ )+ is True+ )+ assert (+ Concept.is_native_concept(+ ConceptFactory.make_from_blueprint(+ concept_code=NativeConceptEnum.PDF.value,+ domain=valid_domain,+ blueprint=ConceptBlueprint(definition=valid_definition),+ concept_codes_from_the_same_domain=["RandomConcept"],+ )+ )+ is True+ )+ assert (+ Concept.is_native_concept(+ ConceptFactory.make_from_blueprint(+ concept_code=NativeConceptEnum.TEXT_AND_IMAGES.value,+ domain=valid_domain,+ blueprint=ConceptBlueprint(definition=valid_definition),+ concept_codes_from_the_same_domain=["RandomConcept"],+ )+ )+ is True+ )+ assert (+ Concept.is_native_concept(+ ConceptFactory.make_from_blueprint(+ concept_code=NativeConceptEnum.NUMBER.value,+ domain=valid_domain,+ blueprint=ConceptBlueprint(definition=valid_definition),+ concept_codes_from_the_same_domain=["RandomConcept"],+ )+ )+ is True+ )+ assert (+ Concept.is_native_concept(+ ConceptFactory.make_from_blueprint(+ concept_code=NativeConceptEnum.LLM_PROMPT.value,+ domain=valid_domain,+ blueprint=ConceptBlueprint(definition=valid_definition),+ concept_codes_from_the_same_domain=["RandomConcept"],+ )+ )+ is True+ )+ assert (+ Concept.is_native_concept(+ ConceptFactory.make_from_blueprint(+ concept_code=NativeConceptEnum.ANYTHING.value,+ domain=valid_domain,+ blueprint=ConceptBlueprint(definition=valid_definition),+ concept_codes_from_the_same_domain=["RandomConcept"],+ )+ )+ is True+ )+ assert (+ Concept.is_native_concept(+ ConceptFactory.make_from_blueprint(+ concept_code="RandomConcept",+ domain=valid_domain,+ blueprint=ConceptBlueprint(definition=valid_definition),+ concept_codes_from_the_same_domain=["RandomConcept"],+ )+ )+ is False+ )++ def test_construct_concept_string_with_domain(self):+ """Test construct_concept_string_with_domain method."""+ valid_domain = "valid_domain"+ assert (+ ConceptFactory.construct_concept_string_with_domain(domain=valid_domain, concept_code=NativeConceptEnum.TEXT.value)+ == f"{valid_domain}.{NativeConceptEnum.TEXT.value}"+ )++ def test_validate_concept_string(self):+ """Test validate_concept_string method."""+ valid_domain = "valid_domain"+ valid_concept_code = "ConceptCode"+ valid_concept_string = f"{valid_domain}.{valid_concept_code}"+ # Valid cases - should not raise exceptions+ assert ConceptBlueprint.validate_concept_string(valid_concept_string) is None+ assert ConceptBlueprint.validate_concept_string(f"snake_case_domain.{valid_concept_code}") is None+ assert ConceptBlueprint.validate_concept_string(f"domain_123.{valid_concept_code}") is None+ assert ConceptBlueprint.validate_concept_string(f"{valid_domain}.TEXT") is None+ assert ConceptBlueprint.validate_concept_string(f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.ANYTHING.value}") is None++ # Invalid cases - should raise ConceptCodeError++ # Multiple dots+ with pytest.raises(ConceptStringError):+ ConceptBlueprint.validate_concept_string(f"domain.sub.{valid_concept_code}")++ with pytest.raises(ConceptStringError):+ ConceptBlueprint.validate_concept_string(f"a.b.c.{valid_concept_code}")++ # Invalid domain (not snake_case)+ with pytest.raises(DomainError):+ ConceptBlueprint.validate_concept_string(f"InvalidDomain.{valid_concept_code}")++ with pytest.raises(DomainError):+ ConceptBlueprint.validate_concept_string(f"domain-name.{valid_concept_code}")++ with pytest.raises(DomainError):+ ConceptBlueprint.validate_concept_string(f"Domain_Name.{valid_concept_code}")++ with pytest.raises(DomainError):+ ConceptBlueprint.validate_concept_string(f"123domain.{valid_concept_code}")++ # Invalid concept code (not PascalCase)+ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.validate_concept_string(f"{valid_domain}.invalidText")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.validate_concept_string(f"{valid_domain}.text")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.validate_concept_string(f"{valid_domain}.Text_Name")++ with pytest.raises(ConceptCodeError):+ ConceptBlueprint.validate_concept_string(f"{valid_domain}.text-name")++ # Invalid native concept+ with pytest.raises(ConceptStringError):+ ConceptBlueprint.validate_concept_string(f"{SpecialDomain.NATIVE.value}.InvalidNativeConcept")++ def test_are_concept_compatible(self):+ """Test are_concept_compatible method."""+ concept1 = ConceptFactory.make_from_blueprint(+ concept_code="Code1",+ domain="domain1",+ blueprint=ConceptBlueprint(definition="Lorem Ipsum", refines=NativeConceptEnum.TEXT.value),+ concept_codes_from_the_same_domain=["Code1"],+ )+ concept2 = ConceptFactory.make_from_blueprint(+ concept_code="Code2",+ domain="domain1",+ blueprint=ConceptBlueprint(definition="Lorem Ipsum", refines=NativeConceptEnum.TEXT.value),+ concept_codes_from_the_same_domain=["Code1"],+ )+ concept3 = ConceptFactory.make_from_blueprint(+ concept_code="Code3",+ domain="domain2",+ blueprint=ConceptBlueprint(definition="Lorem Ipsum", structure="TextContent"),+ concept_codes_from_the_same_domain=["Code1"],+ )+ concept4 = ConceptFactory.make_from_blueprint(+ concept_code="Code4",+ domain="domain1",+ blueprint=ConceptBlueprint(definition="Lorem Ipsum", structure="ImageContent"),+ concept_codes_from_the_same_domain=["Code1"],+ )++ concept_5 = ConceptFactory.make_native_concept(+ native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.PAGE],+ )++ concept_6 = ConceptFactory.make_native_concept(+ native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.IMAGE],+ )++ concept_7 = ConceptFactory.make_from_blueprint(+ concept_code="VisualDescription",+ domain="images",+ blueprint=ConceptBlueprint(definition="Lorem Ipsum"),+ )++ assert Concept.are_concept_compatible(concept_7, concept_6, strict=True) is False+ assert Concept.are_concept_compatible(concept_7, concept_6, strict=False) is False++ # Test same code and domain+ assert Concept.are_concept_compatible(concept1, concept2) is True++ # Test different code and domain+ assert Concept.are_concept_compatible(concept1, concept3) is True++ # Test same structure class name+ assert Concept.are_concept_compatible(concept1, concept4) is False++ # Test same refines+ assert Concept.are_concept_compatible(concept_5, concept_6, strict=False) is True+ assert Concept.are_concept_compatible(concept_5, concept_6, strict=True) is Falsediff --git a/tests/unit/pipelex/core/concepts/concept_factory.py/__init__.py b/tests/unit/pipelex/core/concepts/concept_factory.py/__init__.pynew file mode 100644index 000000000..e69de29bbdiff --git a/tests/unit/pipelex/core/concepts/concept_factory.py/data.py b/tests/unit/pipelex/core/concepts/concept_factory.py/data.pynew file mode 100644index 000000000..659170052--- /dev/null+++ b/tests/unit/pipelex/core/concepts/concept_factory.py/data.py@@ -0,0 +1,264 @@+"""Test data for ConceptFactory tests."""++from typing import ClassVar, List, Optional, Tuple++from pipelex.core.concepts.concept import Concept+from pipelex.core.concepts.concept_blueprint import (+ ConceptBlueprint,+ ConceptStructureBlueprint,+ ConceptStructureBlueprintFieldType,+)+from pipelex.core.concepts.concept_factory import DomainAndConceptCode+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnum+from pipelex.core.domains.domain import SpecialDomain+++class TestCases:+ """Test cases for ConceptFactory methods."""++ # Test cases for make_refines method - only native concepts can be refined+ MAKE_REFINES_TEST_CASES: ClassVar[List[Tuple[str, ConceptBlueprint, str]]] = [+ (+ "native_concept_string",+ ConceptBlueprint(definition="A concept that refines a native text concept", refines=NativeConceptEnum.TEXT.value),+ f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",+ ),+ (+ "fully_qualified_native_string",+ ConceptBlueprint(+ definition="A concept that refines a fully qualified native concept",+ refines=f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",+ ),+ f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",+ ),+ ]++ # Test cases for make_domain_and_concept_code_from_concept_string_or_concept_code method+ MAKE_DOMAIN_AND_CONCEPT_CODE_TEST_CASES: ClassVar[List[Tuple[str, str, Optional[List[str]], DomainAndConceptCode]]] = [+ # Test case 1: Concept string with dot notation+ ("my_domain", "other_domain.ConceptName", None, DomainAndConceptCode(domain="other_domain", concept_code="ConceptName")),+ # Test case 2: Concept string with dot notation (ignores same domain codes)+ ("my_domain", "other_domain.ConceptName", ["ConceptName"], DomainAndConceptCode(domain="other_domain", concept_code="ConceptName")),+ # Test case 3: Native concept code (Text)+ ("my_domain", "Text", None, DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code="Text")),+ # Test case 4: Native concept code (Image)+ ("my_domain", "Image", None, DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code="Image")),+ # Test case 5: Native concept code (PDF)+ ("my_domain", "PDF", None, DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code="PDF")),+ # Test case 6: Native concept code with same domain codes provided (native takes precedence)+ ("my_domain", "Text", ["Text", "OtherConcept"], DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code="Text")),+ # Test case 7: Concept code from same domain+ ("my_domain", "MyConcept", ["MyConcept", "OtherConcept"], DomainAndConceptCode(domain="my_domain", concept_code="MyConcept")),+ # Test case 8: Concept code from same domain (case sensitive)+ ("my_domain", "MyConcept", ["MyCon", "OtherConcept"], DomainAndConceptCode(domain=SpecialDomain.IMPLICIT, concept_code="MyConcept")),+ # Test case 9: Unknown concept code (no same domain codes)+ ("my_domain", "UnknownConcept", None, DomainAndConceptCode(domain=SpecialDomain.IMPLICIT, concept_code="UnknownConcept")),+ # Test case 10: Unknown concept code (not in same domain codes)+ (+ "my_domain",+ "UnknownConcept",+ ["KnownConcept", "OtherConcept"],+ DomainAndConceptCode(domain=SpecialDomain.IMPLICIT, concept_code="UnknownConcept"),+ ),+ # Test case 11: Empty same domain codes list+ ("my_domain", "SomeConcept", [], DomainAndConceptCode(domain=SpecialDomain.IMPLICIT, concept_code="SomeConcept")),+ # Test case 12: Different domain in concept string+ ("my_domain", "another_domain.SomeConcept", ["SomeConcept"], DomainAndConceptCode(domain="another_domain", concept_code="SomeConcept")),+ # Test case 13: All native concept codes+ ("my_domain", "Dynamic", None, DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code="Dynamic")),+ ("my_domain", "TextAndImages", None, DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code="TextAndImages")),+ ("my_domain", "Number", None, DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code="Number")),+ ("my_domain", "LlmPrompt", None, DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code="LlmPrompt")),+ ("my_domain", "Page", None, DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code="Page")),+ ("my_domain", "Anything", None, DomainAndConceptCode(domain=SpecialDomain.NATIVE, concept_code="Anything")),+ ]++ # Test cases for make_from_blueprint method+ MAKE_FROM_BLUEPRINT_TEST_CASES: ClassVar[List[Tuple[str, str, str, ConceptBlueprint, Optional[List[str]], Concept]]] = [+ # Test case 1: Simple blueprint with no structure or refines (goes to implicit)+ (+ "simple_blueprint",+ "my_domain",+ "SimpleConcept",+ ConceptBlueprint(definition="A simple concept"),+ None,+ Concept(+ domain=SpecialDomain.IMPLICIT,+ code="SimpleConcept",+ definition="A simple concept",+ structure_class_name=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT].content_class_name,+ refines=None,+ ),+ ),+ # Test case 2: Blueprint with string structure (existing class, goes to implicit)+ (+ "string_structure_existing_class",+ "my_domain",+ "ConceptWithStructure",+ ConceptBlueprint(definition="A concept with string structure", structure="TextContent"),+ None,+ Concept(+ domain=SpecialDomain.IMPLICIT,+ code="ConceptWithStructure",+ definition="A concept with string structure",+ structure_class_name=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT].content_class_name,+ refines=None,+ ),+ ),+ # Test case 3: Blueprint with refines (native concept, goes to implicit)+ (+ "blueprint_with_refines_text",+ "my_domain",+ "MyTextConcept",+ ConceptBlueprint(definition="A concept that refines Text", refines="Text"),+ None,+ Concept(+ domain=SpecialDomain.IMPLICIT,+ code="MyTextConcept",+ definition="A concept that refines Text",+ structure_class_name=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT].content_class_name,+ refines="native.Text",+ ),+ ),+ # Test case 4: Blueprint with refines (fully qualified native concept, goes to implicit)+ (+ "blueprint_with_refines_native_image",+ "my_domain",+ "MyImageConcept",+ ConceptBlueprint(definition="A concept that refines native.Image", refines="native.Image"),+ None,+ Concept(+ domain=SpecialDomain.IMPLICIT,+ code="MyImageConcept",+ definition="A concept that refines native.Image",+ structure_class_name=NATIVE_CONCEPTS_DATA[NativeConceptEnum.IMAGE].content_class_name,+ refines="native.Image",+ ),+ ),+ # Test case 5: Native concept code (should go to native domain)+ (+ "native_concept_code",+ "my_domain",+ "Text",+ ConceptBlueprint(definition="Native text concept"),+ None,+ Concept(+ domain=SpecialDomain.NATIVE,+ code="Text",+ definition="Native text concept",+ structure_class_name=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT].content_class_name,+ refines=None,+ ),+ ),+ # Test case 6: Concept code from same domain+ (+ "same_domain_concept",+ "my_domain",+ "DomainConcept",+ ConceptBlueprint(definition="A concept from same domain"),+ ["DomainConcept", "OtherConcept"],+ Concept(+ domain="my_domain",+ code="DomainConcept",+ definition="A concept from same domain",+ structure_class_name=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT].content_class_name,+ refines=None,+ ),+ ),+ # Test case 7: Unknown concept code (should go to implicit domain)+ (+ "implicit_concept",+ "my_domain",+ "UnknownConcept",+ ConceptBlueprint(definition="An unknown concept"),+ ["KnownConcept"],+ Concept(+ domain=SpecialDomain.IMPLICIT,+ code="UnknownConcept",+ definition="An unknown concept",+ structure_class_name=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT].content_class_name,+ refines=None,+ ),+ ),+ # Test case 8: Blueprint with dict structure (implicit domain)+ (+ "dict_structure_implicit",+ SpecialDomain.IMPLICIT,+ "PersonConcept",+ ConceptBlueprint(+ definition="A person with structured data",+ structure={+ "name": "The person's name",+ "age": ConceptStructureBlueprint(definition="The person's age", type=ConceptStructureBlueprintFieldType.NUMBER, required=True),+ "active": ConceptStructureBlueprint(+ definition="Whether the person is active", type=ConceptStructureBlueprintFieldType.BOOLEAN, required=False, default_value=True+ ),+ },+ ),+ None,+ Concept(+ domain=SpecialDomain.IMPLICIT,+ code="PersonConcept",+ definition="A person with structured data",+ structure_class_name="PersonConcept",+ refines=None,+ ),+ ),+ # Test case 9: Blueprint with dict structure (same domain)+ (+ "dict_structure_same_domain",+ "my_domain",+ "PersonConcept",+ ConceptBlueprint(+ definition="A person with structured data",+ structure={+ "name": ConceptStructureBlueprint(definition="The person's name", type=ConceptStructureBlueprintFieldType.TEXT, required=True),+ "age": ConceptStructureBlueprint(definition="The person's age", type=ConceptStructureBlueprintFieldType.NUMBER, required=True),+ "active": ConceptStructureBlueprint(+ definition="Whether the person is active", type=ConceptStructureBlueprintFieldType.BOOLEAN, required=False, default_value=True+ ),+ },+ ),+ ["PersonConcept", "OtherConcept"],+ Concept(+ domain="my_domain",+ code="PersonConcept",+ definition="A person with structured data",+ structure_class_name="PersonConcept",+ refines=None,+ ),+ ),+ # Test case 10: Blueprint with refines (implicit domain)+ (+ "refines_implicit_domain",+ "my_domain",+ "ConceptWithRefines",+ ConceptBlueprint(definition="A concept with refines", refines="Text"),+ None,+ Concept(+ domain=SpecialDomain.IMPLICIT,+ code="ConceptWithRefines",+ definition="A concept with refines",+ structure_class_name=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT].content_class_name,+ refines="native.Text",+ ),+ ),+ # Test case 11: Blueprint with refines (same domain)+ (+ "refines_same_domain",+ "my_domain",+ "ConceptWithRefines",+ ConceptBlueprint(definition="A concept with refines", refines="native.Image"),+ ["ConceptWithRefines", "OtherConcept"],+ Concept(+ domain="my_domain",+ code="ConceptWithRefines",+ definition="A concept with refines",+ structure_class_name=NATIVE_CONCEPTS_DATA[NativeConceptEnum.IMAGE].content_class_name,+ refines="native.Image",+ ),+ ),+ ]++ # Legacy alias for backward compatibility+ TEST_CASES = MAKE_REFINES_TEST_CASESdiff --git a/tests/unit/pipelex/core/concepts/concept_factory.py/test_concept_factory.py b/tests/unit/pipelex/core/concepts/concept_factory.py/test_concept_factory.pynew file mode 100644index 000000000..790e5526d--- /dev/null+++ b/tests/unit/pipelex/core/concepts/concept_factory.py/test_concept_factory.py@@ -0,0 +1,127 @@+"""Tests for ConceptFactory methods."""++from typing import Dict, List, Optional++import pytest++from pipelex.core.concepts.concept import Concept+from pipelex.core.concepts.concept_blueprint import (+ ConceptBlueprint,+ ConceptStructureBlueprint,+ ConceptStructureBlueprintFieldType,+ ConceptStructureBlueprintType,+)+from pipelex.core.concepts.concept_factory import ConceptFactory++from .data import TestCases+++class TestConceptFactory:+ """Test ConceptFactory methods with various configurations."""++ @pytest.mark.parametrize(+ "test_name,blueprint,expected_result",+ TestCases.MAKE_REFINES_TEST_CASES,+ )+ def test_make_refines(+ self,+ test_name: str,+ blueprint: ConceptBlueprint,+ expected_result: str,+ ):+ """Test make_refines method with different blueprint configurations."""+ result = ConceptFactory.make_refines(blueprint=blueprint)+ assert result == expected_result, f"Failed for test case: {test_name}"++ def test_normalize_structure_blueprint(self):+ """Test that mixed structure blueprints are properly normalized."""+ mixed_structure_blueprint: Dict[str, ConceptStructureBlueprintType] = {+ "name": "The name of the person",+ "age": ConceptStructureBlueprint(definition="The age of the person", type=ConceptStructureBlueprintFieldType.NUMBER, required=True),+ "active": ConceptStructureBlueprint(+ definition="Whether the person is active", type=ConceptStructureBlueprintFieldType.BOOLEAN, required=False, default_value=True+ ),+ }++ expected_structure: Dict[str, ConceptStructureBlueprint] = {+ "name": ConceptStructureBlueprint(definition="The name of the person", type=ConceptStructureBlueprintFieldType.TEXT, required=True),+ "age": ConceptStructureBlueprint(definition="The age of the person", type=ConceptStructureBlueprintFieldType.NUMBER, required=True),+ "active": ConceptStructureBlueprint(+ definition="Whether the person is active", type=ConceptStructureBlueprintFieldType.BOOLEAN, required=False, default_value=True+ ),+ }++ assert ConceptFactory.normalize_structure_blueprint(mixed_structure_blueprint) == expected_structure++ mixed_structure_blueprint2: Dict[str, ConceptStructureBlueprintType] = {+ "name": ConceptStructureBlueprint(definition="The name of the person", type=ConceptStructureBlueprintFieldType.TEXT, required=True),+ "age": ConceptStructureBlueprint(definition="The age of the person", type=ConceptStructureBlueprintFieldType.NUMBER, required=True),+ "active": ConceptStructureBlueprint(+ definition="Whether the person is active", type=ConceptStructureBlueprintFieldType.BOOLEAN, required=False, default_value=True+ ),+ }++ expected_structure2: Dict[str, ConceptStructureBlueprint] = {+ "name": ConceptStructureBlueprint(definition="The name of the person", type=ConceptStructureBlueprintFieldType.TEXT, required=True),+ "age": ConceptStructureBlueprint(definition="The age of the person", type=ConceptStructureBlueprintFieldType.NUMBER, required=True),+ "active": ConceptStructureBlueprint(+ definition="Whether the person is active", type=ConceptStructureBlueprintFieldType.BOOLEAN, required=False, default_value=True+ ),+ }++ assert ConceptFactory.normalize_structure_blueprint(mixed_structure_blueprint2) == expected_structure2++ @pytest.mark.parametrize(+ "domain,concept_string_or_concept_code,concept_codes_from_the_same_domain,expected_result",+ TestCases.MAKE_DOMAIN_AND_CONCEPT_CODE_TEST_CASES,+ )+ def test_make_domain_and_concept_code_from_concept_string_or_concept_code(+ self,+ domain: str,+ concept_string_or_concept_code: str,+ concept_codes_from_the_same_domain: Optional[List[str]],+ expected_result: List[str],+ ):+ """Test make_domain_and_concept_code_from_concept_string_or_concept_code method with various inputs."""+ result = ConceptFactory.make_domain_and_concept_code_from_concept_string_or_concept_code(+ domain=domain,+ concept_string_or_concept_code=concept_string_or_concept_code,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )+ assert result == expected_result++ @pytest.mark.parametrize(+ "test_name,domain,concept_code,blueprint,concept_codes_from_the_same_domain,expected_concept",+ TestCases.MAKE_FROM_BLUEPRINT_TEST_CASES,+ )+ def test_make_from_blueprint(+ self,+ test_name: str,+ domain: str,+ concept_code: str,+ blueprint: ConceptBlueprint,+ concept_codes_from_the_same_domain: Optional[List[str]],+ expected_concept: Concept,+ ):+ """Test make_from_blueprint method with various blueprint configurations."""+ result = ConceptFactory.make_from_blueprint(+ domain=domain,+ concept_code=concept_code,+ blueprint=blueprint,+ concept_codes_from_the_same_domain=concept_codes_from_the_same_domain,+ )++ assert result == expected_concept, f"Concept mismatch for {test_name}"++ def test_make_from_blueprint_with_invalid_structure_class(self):+ """Test that make_from_blueprint raises StructureClassError for invalid structure class."""+ blueprint = ConceptBlueprint(definition="A concept with invalid structure", structure="NonExistentStructureClass")++ from pipelex.exceptions import StructureClassError++ with pytest.raises(StructureClassError, match="is not a registered subclass of StuffContent"):+ ConceptFactory.make_from_blueprint(+ domain="my_domain",+ concept_code="TestConcept",+ blueprint=blueprint,+ )diff --git a/tests/unit/pipelex/core/concepts/concept_library/test_concept_library.py b/tests/unit/pipelex/core/concepts/concept_library/test_concept_library.pynew file mode 100644index 000000000..465473694--- /dev/null+++ b/tests/unit/pipelex/core/concepts/concept_library/test_concept_library.py@@ -0,0 +1,71 @@+from pipelex.core.concepts.concept_blueprint import ConceptBlueprint+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnum+from pipelex.hub import get_concept_provider+++class TestConceptLibrary:+ def test_is_image_concept(self):+ concept_library = get_concept_provider()+ native_image_concept = ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.IMAGE])++ concept_1 = ConceptFactory.make_from_blueprint(+ domain="test",+ concept_code="TestConcept",+ blueprint=ConceptBlueprint(+ definition="Lorem Ipsum",+ structure="ImageContent",+ ),+ )++ concept_2 = ConceptFactory.make_from_blueprint(+ domain="test",+ concept_code="TestConcept2",+ blueprint=ConceptBlueprint(+ definition="Lorem Ipsum",+ refines="native.Image",+ ),+ )+ concept_3 = ConceptFactory.make_from_blueprint(+ domain="test",+ concept_code="TestConcept2",+ blueprint=ConceptBlueprint(+ definition="Lorem Ipsum",+ refines="Image",+ ),+ )++ concept_4 = ConceptFactory.make_from_blueprint(+ domain="test",+ concept_code="TestConcept4",+ blueprint=ConceptBlueprint(+ definition="Lorem Ipsum",+ structure="ImageContent",+ ),+ )++ concept_5 = ConceptFactory.make_from_blueprint(+ domain="test",+ concept_code="TestConcept5",+ blueprint=ConceptBlueprint(+ definition="Lorem Ipsum",+ structure="TextContent",+ ),+ )++ concept_6 = ConceptFactory.make_from_blueprint(+ domain="test",+ concept_code="TestConcept6",+ blueprint=ConceptBlueprint(+ definition="Lorem Ipsum",+ structure="PDFContent",+ ),+ )++ assert concept_library.is_image_concept(concept=native_image_concept) is True+ assert concept_library.is_image_concept(concept=concept_1) is True+ assert concept_library.is_image_concept(concept=concept_2) is True+ assert concept_library.is_image_concept(concept=concept_3) is True+ assert concept_library.is_image_concept(concept=concept_4) is True+ assert concept_library.is_image_concept(concept=concept_5) is False+ assert concept_library.is_image_concept(concept=concept_6) is Falsediff --git a/tests/unit/pipelex/core/concepts/test_concept_blueprint.py b/tests/unit/pipelex/core/concepts/test_concept_blueprint.pynew file mode 100644index 000000000..613a8d9d0--- /dev/null+++ b/tests/unit/pipelex/core/concepts/test_concept_blueprint.py@@ -0,0 +1,163 @@+"""Tests for ConceptStructureBlueprint validation logic."""++import pytest++from pipelex.core.concepts.concept_blueprint import (+ ConceptStructureBlueprint,+ ConceptStructureBlueprintError,+ ConceptStructureBlueprintFieldType,+)+++class TestConceptStructureBlueprintValidation:+ """Test ConceptStructureBlueprint validation logic."""++ def test_valid_structure_blueprints(self):+ """Test that valid structure blueprints are accepted."""+ # Valid text field with default+ text_blueprint = ConceptStructureBlueprint(+ definition="A text field", type=ConceptStructureBlueprintFieldType.TEXT, default_value="default text"+ )+ assert text_blueprint.default_value == "default text"++ # Valid integer field with default+ int_blueprint = ConceptStructureBlueprint(definition="An integer field", type=ConceptStructureBlueprintFieldType.INTEGER, default_value=42)+ assert int_blueprint.default_value == 42++ # Valid boolean field with default+ bool_blueprint = ConceptStructureBlueprint(definition="A boolean field", type=ConceptStructureBlueprintFieldType.BOOLEAN, default_value=True)+ assert bool_blueprint.default_value is True++ # Valid number field with int default+ number_blueprint = ConceptStructureBlueprint(definition="A number field", type=ConceptStructureBlueprintFieldType.NUMBER, default_value=42)+ assert number_blueprint.default_value == 42++ # Valid number field with float default+ float_blueprint = ConceptStructureBlueprint(definition="A number field", type=ConceptStructureBlueprintFieldType.NUMBER, default_value=3.14)+ assert float_blueprint.default_value == 3.14++ # Valid list field with default+ list_blueprint = ConceptStructureBlueprint(+ definition="A list field", type=ConceptStructureBlueprintFieldType.LIST, item_type="text", default_value=["item1", "item2"]+ )+ assert list_blueprint.default_value == ["item1", "item2"]++ # Valid dict field with default+ dict_blueprint = ConceptStructureBlueprint(+ definition="A dict field",+ type=ConceptStructureBlueprintFieldType.DICT,+ key_type="text",+ value_type="text",+ default_value={"key": "value"},+ )+ assert dict_blueprint.default_value == {"key": "value"}++ # Valid choice field with default+ choice_blueprint = ConceptStructureBlueprint(definition="A choice field", choices=["low", "medium", "high"], default_value="medium")+ assert choice_blueprint.default_value == "medium"++ def test_default_value_type_mismatch(self):+ """Test that default_value type mismatches are caught."""+ # Text field with non-string default+ with pytest.raises(ConceptStructureBlueprintError, match="default_value type mismatch: expected str"):+ ConceptStructureBlueprint(definition="A text field", type=ConceptStructureBlueprintFieldType.TEXT, default_value=42)++ # Integer field with non-integer default+ with pytest.raises(ConceptStructureBlueprintError, match="default_value type mismatch: expected int"):+ ConceptStructureBlueprint(definition="An integer field", type=ConceptStructureBlueprintFieldType.INTEGER, default_value="not an int")++ # Boolean field with non-boolean default+ with pytest.raises(ConceptStructureBlueprintError, match="default_value type mismatch: expected bool"):+ ConceptStructureBlueprint(definition="A boolean field", type=ConceptStructureBlueprintFieldType.BOOLEAN, default_value="not a bool")++ # Number field with invalid type+ with pytest.raises(ConceptStructureBlueprintError, match="default_value type mismatch: expected number"):+ ConceptStructureBlueprint(definition="A number field", type=ConceptStructureBlueprintFieldType.NUMBER, default_value="not a number")++ # List field with non-list default+ with pytest.raises(ConceptStructureBlueprintError, match="default_value type mismatch: expected list"):+ ConceptStructureBlueprint(+ definition="A list field", type=ConceptStructureBlueprintFieldType.LIST, item_type="text", default_value="not a list"+ )++ # Dict field with non-dict default+ with pytest.raises(ConceptStructureBlueprintError, match="default_value type mismatch: expected dict"):+ ConceptStructureBlueprint(+ definition="A dict field",+ type=ConceptStructureBlueprintFieldType.DICT,+ key_type="text",+ value_type="text",+ default_value="not a dict",+ )++ def test_missing_type_with_default_value(self):+ """Test that missing type when default_value is provided (except for choices) is caught."""+ # Missing type with default_value (no choices) - this will trigger the "type is None (array)" validation first+ with pytest.raises(ConceptStructureBlueprintError, match="When type is None \\(array\\), choices must not be empty"):+ ConceptStructureBlueprint(definition="A field without type", default_value="some value")++ def test_default_value_without_type_but_with_choices_allowed(self):+ """Test that default_value with choices but no type is allowed (choice fields)."""+ # This should work - choice fields can have default_value without explicit type+ choice_blueprint = ConceptStructureBlueprint(definition="A choice field", choices=["option1", "option2", "option3"], default_value="option2")+ assert choice_blueprint.default_value == "option2"+ assert choice_blueprint.type is None+ assert choice_blueprint.choices == ["option1", "option2", "option3"]++ def test_invalid_choice_default_value(self):+ """Test that invalid default_value for choice fields is caught."""+ # Invalid choice default+ with pytest.raises(ConceptStructureBlueprintError, match="default_value must be one of the valid choices"):+ ConceptStructureBlueprint(definition="A choice field", choices=["low", "medium", "high"], default_value="invalid_choice")++ def test_existing_validations_still_work(self):+ """Test that existing validations continue to work."""+ # Type None (array) without choices+ with pytest.raises(ConceptStructureBlueprintError, match="When type is None \\(array\\), choices must not be empty"):+ ConceptStructureBlueprint(definition="Array field without choices", type=None)++ # Dict type without key_type+ with pytest.raises(ConceptStructureBlueprintError, match="key_type must not be empty"):+ ConceptStructureBlueprint(definition="Dict field without key_type", type=ConceptStructureBlueprintFieldType.DICT, value_type="text")++ # Dict type without value_type+ with pytest.raises(ConceptStructureBlueprintError, match="value_type must not be empty"):+ ConceptStructureBlueprint(definition="Dict field without value_type", type=ConceptStructureBlueprintFieldType.DICT, key_type="text")++ def test_edge_cases(self):+ """Test edge cases for validation."""+ # Valid field without default_value+ valid_blueprint = ConceptStructureBlueprint(definition="A field without default", type=ConceptStructureBlueprintFieldType.TEXT)+ assert valid_blueprint.default_value is None++ # Valid choice field without default_value+ choice_blueprint = ConceptStructureBlueprint(definition="A choice field without default", choices=["option1", "option2"])+ assert choice_blueprint.default_value is None++ # Boolean field with False default (should be valid)+ bool_false_blueprint = ConceptStructureBlueprint(+ definition="Boolean field with False default", type=ConceptStructureBlueprintFieldType.BOOLEAN, default_value=False+ )+ assert bool_false_blueprint.default_value is False++ # Integer field with 0 default (should be valid)+ int_zero_blueprint = ConceptStructureBlueprint(+ definition="Integer field with 0 default", type=ConceptStructureBlueprintFieldType.INTEGER, default_value=0+ )+ assert int_zero_blueprint.default_value == 0++ # Empty list as default (should be valid)+ empty_list_blueprint = ConceptStructureBlueprint(+ definition="List field with empty default", type=ConceptStructureBlueprintFieldType.LIST, item_type="text", default_value=[]+ )+ assert empty_list_blueprint.default_value == []++ # Empty dict as default (should be valid)+ empty_dict_blueprint = ConceptStructureBlueprint(+ definition="Dict field with empty default",+ type=ConceptStructureBlueprintFieldType.DICT,+ key_type="text",+ value_type="text",+ default_value={},+ )+ assert empty_dict_blueprint.default_value == {}diff --git a/tests/unit/pipelex/core/concepts/test_concept_library.py b/tests/unit/pipelex/core/concepts/test_concept_library.pydeleted file mode 100644index a719a4b89..000000000--- a/tests/unit/pipelex/core/concepts/test_concept_library.py+++ /dev/null@@ -1,231 +0,0 @@-from pipelex.core.concepts.concept import Concept-from pipelex.core.concepts.concept_native import NativeConcept-from pipelex.core.concepts.concept_provider_abstract import ConceptProviderAbstract---class Testget_concept_providerIsNativeConcept:- """Test get_concept_provider.is_native_concept method."""-- def test_is_native_concept_with_native_domain_prefix_true(self):- """Test concept strings with native domain prefix return True."""- # Test with various native concepts that have explicit domain- assert Concept.is_native_concept("native.Text") is True- assert Concept.is_native_concept("native.Image") is True- assert Concept.is_native_concept("native.PDF") is True- assert Concept.is_native_concept("native.Number") is True- assert Concept.is_native_concept("native.Dynamic") is True- assert Concept.is_native_concept("native.LlmPrompt") is True- assert Concept.is_native_concept("native.TextAndImages") is True- assert Concept.is_native_concept("native.Page") is True- assert Concept.is_native_concept("native.Anything") is True-- def test_is_native_concept_with_non_native_domain_prefix_false(self):- """Test concept strings with non-native domain prefix return False."""-- # Test with various non-native domains- assert Concept.is_native_concept("custom.Text") is False- assert Concept.is_native_concept("documents.Page") is False- assert Concept.is_native_concept("images.Photo") is False- assert Concept.is_native_concept("test_domain.TestConcept") is False- assert Concept.is_native_concept("my_domain.MyClass") is False-- def test_is_native_concept_without_domain_native_concept_names_true(self):- """Test concept strings without domain that are native concept names return True."""- # Test all native concept names without domain- native_names = NativeConcept.names()- for native_name in native_names:- assert Concept.is_native_concept(native_name) is True, f"Failed for native concept: {native_name}"-- def test_is_native_concept_without_domain_non_native_names_false(self):- """Test concept strings without domain that are not native concept names return False."""- # Test various non-native concept names without domain- assert Concept.is_native_concept("CustomConcept") is False- assert Concept.is_native_concept("MyClass") is False- assert Concept.is_native_concept("Document") is False- assert Concept.is_native_concept("Photo") is False- assert Concept.is_native_concept("UnknownConcept") is False-- def test_is_native_concept_empty_string(self):- """Test empty string returns False."""- assert Concept.is_native_concept("") is False-- def test_is_native_concept_invalid_domain_format(self):- """Test concept strings with invalid domain format (multiple dots)."""- # These should be handled by the concept_str_contains_domain check- # Multiple dots should not be considered as having a domain- assert Concept.is_native_concept("domain.concept.subconcept") is False- assert Concept.is_native_concept("a.b.c.d") is False-- def test_is_native_concept_just_dot(self):- """Test concept string that is just a dot."""- assert Concept.is_native_concept(".") is False-- def test_is_native_concept_dot_at_start_or_end(self):- """Test concept strings with dot at start or end."""- # .Text has domain="" and concept="Text", so domain != "native" -> False- assert Concept.is_native_concept(".Text") is False- # Text. has domain="Text" and concept="", so domain != "native" -> False- assert Concept.is_native_concept("Text.") is False- # .native has domain="" and concept="native", so domain != "native" -> False- assert Concept.is_native_concept(".native") is False- # native. has domain="native" and concept="", so domain == "native" -> True- assert Concept.is_native_concept("native.") is True-- def test_is_native_concept_case_sensitivity(self):- """Test that the function is case sensitive for domain checking."""- # Test case variations of native domain- assert Concept.is_native_concept("Native.Text") is False # Capital N- assert Concept.is_native_concept("NATIVE.Text") is False # All caps- # The concept part doesn't matter for domain validation, only the domain part matters- assert Concept.is_native_concept("native.text") is True # lowercase concept but native domain-- # Test case variations of native concept names without domain- assert Concept.is_native_concept("text") is False # lowercase- assert Concept.is_native_concept("TEXT") is False # uppercase- assert Concept.is_native_concept("image") is False # lowercase-- def test_is_native_concept_whitespace(self):- """Test concept strings with whitespace."""- # Whitespace in concept names without domain should make it invalid (not in NativeConcept.names())- assert Concept.is_native_concept(" Text") is False- assert Concept.is_native_concept("Text ") is False- # Whitespace in domain part should make it invalid- assert Concept.is_native_concept(" native.Text") is False- # Whitespace in concept part doesn't matter for domain validation, only domain matters- assert Concept.is_native_concept("native.Text ") is True- assert Concept.is_native_concept("native .Text") is False # whitespace in domain- assert Concept.is_native_concept("native. Text") is True # whitespace in concept part-- def test_is_native_concept_special_characters(self):- """Test concept strings with special characters."""- # Special characters should make it invalid- assert Concept.is_native_concept("native-Text") is False- assert Concept.is_native_concept("native_Text") is False- assert Concept.is_native_concept("native/Text") is False- assert Concept.is_native_concept("native\\Text") is False-- def test_native_concept_names_consistency(self):- """Test that the function uses the correct native concept names."""-- # Get the actual native concept names- native_names = NativeConcept.names()-- # Verify some expected names are present- expected_names = ["Text", "Image", "PDF", "Number", "Dynamic", "LlmPrompt", "TextAndImages", "Page", "Anything"]- for expected_name in expected_names:- assert expected_name in native_names, f"Expected native concept name {expected_name} not found"- # Test that each expected name returns True- assert Concept.is_native_concept(expected_name) is True-- def test_is_native_concept_common_examples(self):- """Test that common native concept names work without domain prefix."""-- # Test the most commonly used native concept names- common_native_concepts = ["Text", "Image", "PDF", "Number", "Dynamic"]-- for concept_name in common_native_concepts:- # These should return True without needing "native." prefix- assert Concept.is_native_concept(concept_name) is True, f"'{concept_name}' should be recognized as native concept"-- # And they should also work with the explicit "native." prefix- assert Concept.is_native_concept(f"native.{concept_name}") is True, f"'native.{concept_name}' should also be recognized as native concept"---class TestConceptLibraryCompatibility:- """Test ConceptLibrary compatibility methods."""-- def test_is_compatible_by_concept_code_simple_text_concept_vs_text(self, concept_provider: ConceptProviderAbstract):- """Test that SimpleTextConcept (no structure) is compatible with native Text."""- # Test: SimpleTextConcept should be compatible with native Text (defaults to Text)- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.SimpleTextConcept", wanted_concept_code="native.Text"- )- assert result is True, "SimpleTextConcept should be compatible with native Text"-- def test_is_compatible_by_concept_code_fundamentals_doc_vs_text(self, concept_provider: ConceptProviderAbstract):- """Test that FundamentalsDoc (custom structure) is not compatible with native Text."""- # Test: FundamentalsDoc should NOT be compatible with native Text (has custom structure)- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.FundamentalsDoc", wanted_concept_code="native.Text"- )- assert result is False, "FundamentalsDoc should not be compatible with native Text"-- def test_is_compatible_by_concept_code_explicit_text_concept_vs_text(self, concept_provider: ConceptProviderAbstract):- """Test that ExplicitTextConcept (explicitly refines Text) is compatible with native Text."""- # Test: ExplicitTextConcept should be compatible with native Text- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.ExplicitTextConcept", wanted_concept_code="native.Text"- )- assert result is True, "ExplicitTextConcept should be compatible with native Text"-- def test_is_compatible_by_concept_code_image_based_concept_vs_image(self, concept_provider: ConceptProviderAbstract):- """Test that ImageBasedConcept is compatible with native Image."""- # Test: ImageBasedConcept should be compatible with native Image- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.ImageBasedConcept", wanted_concept_code="native.Image"- )- assert result is True, "ImageBasedConcept should be compatible with native Image"-- def test_is_compatible_by_concept_code_image_based_concept_vs_text(self, concept_provider: ConceptProviderAbstract):- """Test that ImageBasedConcept is not compatible with native Text."""- # Test: ImageBasedConcept should NOT be compatible with native Text- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.ImageBasedConcept", wanted_concept_code="native.Text"- )- assert result is False, "ImageBasedConcept should not be compatible with native Text"-- def test_is_compatible_by_concept_code_documentation_concept_vs_fundamentals_doc(self, concept_provider: ConceptProviderAbstract):- """Test that DocumentationConcept is compatible with FundamentalsDoc."""- # Test: DocumentationConcept should be compatible with FundamentalsDoc- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.DocumentationConcept", wanted_concept_code="concept_library_tests.FundamentalsDoc"- )- assert result is True, "DocumentationConcept should be compatible with FundamentalsDoc"-- def test_is_compatible_by_concept_code_specialized_doc_vs_fundamentals_doc(self, concept_provider: ConceptProviderAbstract):- """Test that SpecializedDoc is compatible with FundamentalsDoc."""- # Test: SpecializedDoc should be compatible with FundamentalsDoc- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.SpecializedDoc", wanted_concept_code="concept_library_tests.FundamentalsDoc"- )- assert result is True, "SpecializedDoc should be compatible with FundamentalsDoc"-- def test_is_compatible_by_concept_code_multimedia_concept_vs_text(self, concept_provider: ConceptProviderAbstract):- """Test that MultiMediaConcept is compatible with Text (multiple inheritance)."""- # Test: MultiMediaConcept should be compatible with Text- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.MultiMediaConcept", wanted_concept_code="native.Text"- )- assert result is True, "MultiMediaConcept should be compatible with Text"-- def test_is_compatible_by_concept_code_multimedia_concept_vs_image(self, concept_provider: ConceptProviderAbstract):- """Test that MultiMediaConcept is compatible with Image (multiple inheritance)."""- # Test: MultiMediaConcept should be compatible with Image- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.MultiMediaConcept", wanted_concept_code="native.Image"- )- assert result is True, "MultiMediaConcept should be compatible with Image"-- def test_is_compatible_by_concept_code_independent_concept_vs_text(self, concept_provider: ConceptProviderAbstract):- """Test that IndependentConcept is not compatible with Text."""- # Test: IndependentConcept should NOT be compatible with Text (no refines)- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.IndependentConcept", wanted_concept_code="native.Text"- )- assert result is False, "IndependentConcept should not be compatible with Text"-- def test_is_compatible_by_concept_code_derived_text_concept_vs_text(self, concept_provider: ConceptProviderAbstract):- """Test that DerivedTextConcept is compatible with Text (inheritance chain)."""- # Test: DerivedTextConcept should be compatible with Text (through ExplicitTextConcept)- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.DerivedTextConcept", wanted_concept_code="native.Text"- )- assert result is True, "DerivedTextConcept should be compatible with Text through inheritance chain"-- def test_is_compatible_by_concept_code_derived_text_concept_vs_explicit_text(self, concept_provider: ConceptProviderAbstract):- """Test that DerivedTextConcept is compatible with ExplicitTextConcept (direct inheritance)."""- # Test: DerivedTextConcept should be compatible with ExplicitTextConcept- result = concept_provider.is_compatible_by_concept_code(- tested_concept_code="concept_library_tests.DerivedTextConcept", wanted_concept_code="concept_library_tests.ExplicitTextConcept"- )- assert result is True, "DerivedTextConcept should be compatible with ExplicitTextConcept"diff --git a/tests/unit/pipelex/core/concepts/test_concept_pydantic_validation.py b/tests/unit/pipelex/core/concepts/test_concept_pydantic_validation.pydeleted file mode 100644index 023df56f6..000000000--- a/tests/unit/pipelex/core/concepts/test_concept_pydantic_validation.py+++ /dev/null@@ -1,197 +0,0 @@-import pytest--from pipelex.core.concepts.concept import Concept-from pipelex.core.concepts.concept_native import NativeConcept-from pipelex.exceptions import ConceptCodeError, ConceptDomainError---class TestConceptPydanticFieldValidation:- """Test Concept validation through Pydantic field validation by instantiating the class."""-- def test_concept_creation_with_valid_refines(self):- """Test successful concept creation with valid refines list."""- concept = Concept(- code="test_domain.TestConcept",- domain="test_domain",- structure_class_name="TextContent",- definition="A test concept",- refines=["domain1.Concept1", "domain2.Concept2"],- )- assert concept.refines == ["domain1.Concept1", "domain2.Concept2"]-- def test_concept_creation_with_empty_refines(self):- """Test successful concept creation with empty refines list."""- concept = Concept(- code="test_domain.TestConcept", domain="test_domain", structure_class_name="TextContent", definition="A test concept", refines=[]- )- assert concept.refines == []-- def test_concept_creation_with_default_refines(self):- """Test successful concept creation without specifying refines (should default to empty list)."""- concept = Concept(code="test_domain.TestConcept", domain="test_domain", structure_class_name="TextContent", definition="A test concept")- assert concept.refines == []-- def test_concept_creation_with_native_concept_refines(self):- """Test successful concept creation with NativeConcept string values in refines."""- concept = Concept(- code="test_domain.TestConcept",- domain="test_domain",- structure_class_name="TextContent",- definition="A test concept",- refines=[- NativeConcept.TEXT.value,- NativeConcept.IMAGE.value,- NativeConcept.PDF.value,- ],- )- # NativeConcept strings should be converted to full codes- assert concept.refines == [- NativeConcept.TEXT.code,- NativeConcept.IMAGE.code,- NativeConcept.PDF.code,- ]-- def test_concept_creation_with_mixed_refines(self):- """Test successful concept creation with mix of NativeConcept and domain.concept refines."""- concept = Concept(- code="test_domain.TestConcept",- domain="test_domain",- structure_class_name="TextContent",- definition="A test concept",- refines=[- "valid_domain.ValidConcept",- NativeConcept.TEXT.value,- "another_domain.AnotherConcept",- NativeConcept.IMAGE.value,- ],- )- expected_refines = [- "valid_domain.ValidConcept",- NativeConcept.TEXT.code,- "another_domain.AnotherConcept",- NativeConcept.IMAGE.code,- ]- assert concept.refines == expected_refines-- def test_concept_creation_with_only_native_concept_refines(self):- """Test successful concept creation with only NativeConcept values in refines."""- concept = Concept(- code="test_domain.TestConcept",- domain="test_domain",- structure_class_name="TextContent",- definition="A test concept",- refines=[- NativeConcept.DYNAMIC.value,- NativeConcept.TEXT.value,- NativeConcept.NUMBER.value,- ],- )- assert concept.refines == [- NativeConcept.DYNAMIC.code,- NativeConcept.TEXT.code,- NativeConcept.NUMBER.code,- ]-- def test_concept_creation_with_refines_missing_dot(self):- """Test concept creation fails when refines contain invalid codes missing dot."""- with pytest.raises(ConceptCodeError) as exc_info:- Concept(- code="test_domain.TestConcept",- domain="test_domain",- structure_class_name="TextContent",- definition="A test concept",- refines=["invalidConcept"],- )-- assert "Each refine code must contain a single dot" in str(exc_info.value)-- def test_concept_creation_with_refines_invalid_domain(self):- """Test concept creation fails when refines contain invalid domain format."""- with pytest.raises(ConceptDomainError) as exc_info:- Concept(- code="test_domain.TestConcept",- domain="test_domain",- structure_class_name="TextContent",- definition="A test concept",- refines=["InvalidDomain.Concept"],- )-- assert "Domain must be snake_case" in str(exc_info.value)-- def test_concept_creation_with_refines_invalid_concept_code(self):- """Test concept creation fails when refines contain invalid concept code format."""- with pytest.raises(ConceptCodeError) as exc_info:- Concept(- code="test_domain.TestConcept",- domain="test_domain",- structure_class_name="TextContent",- definition="A test concept",- refines=["valid_domain.invalid_concept"],- )-- assert "Code must be PascalCase" in str(exc_info.value)-- def test_concept_creation_with_multiple_refines_errors(self):- """Test concept creation fails when multiple refines are invalid."""- with pytest.raises(ConceptCodeError) as exc_info:- Concept(- code="test_domain.TestConcept",- domain="test_domain",- structure_class_name="TextContent",- definition="A test concept",- refines=[- "invalidConcept",- "InvalidDomain.Concept",- "valid_domain.invalid_concept",- ],- )-- # The first error should be about the missing dot (validation stops at first error)- assert "Each refine code must contain a single dot" in str(exc_info.value)-- def test_concept_creation_with_mixed_valid_invalid_refines(self):- """Test concept creation fails even when some refines are valid but others are invalid."""- with pytest.raises(ConceptCodeError) as exc_info:- Concept(- code="test_domain.TestConcept",- domain="test_domain",- structure_class_name="TextContent",- definition="A test concept",- refines=[- "valid_domain.ValidConcept",- "invalidConcept",- ],- )-- assert "Each refine code must contain a single dot" in str(exc_info.value)-- def test_concept_creation_with_refines_multiple_dots(self):- """Test concept creation fails when refines contain codes with multiple dots."""- with pytest.raises(ConceptCodeError) as exc_info:- Concept(- code="test_domain.TestConcept",- domain="test_domain",- structure_class_name="TextContent",- definition="A test concept",- refines=["domain.concept.subconcept"],- )-- assert "Each refine code must contain a single dot" in str(exc_info.value)-- def test_concept_creation_with_valid_complex_refines(self):- """Test successful concept creation with more complex valid refines."""- concept = Concept(- code="my_domain.MyTestConcept",- domain="my_domain",- structure_class_name="TextContent",- definition="A complex test concept",- refines=[- "base_domain.BaseConcept",- "another_domain.AnotherConcept123",- "third_domain.ThirdConcept",- "snake_case_domain.PascalCaseConcept",- ],- )- assert len(concept.refines) == 4- assert "base_domain.BaseConcept" in concept.refines- assert "snake_case_domain.PascalCaseConcept" in concept.refinesdiff --git a/tests/unit/pipelex/core/concepts/test_concept_refines.py b/tests/unit/pipelex/core/concepts/test_concept_refines.pydeleted file mode 100644index c5acb9377..000000000--- a/tests/unit/pipelex/core/concepts/test_concept_refines.py+++ /dev/null@@ -1,94 +0,0 @@-import pytest--from pipelex.core.concepts.concept import Concept-from pipelex.core.concepts.concept_native import NativeConcept-from pipelex.exceptions import ConceptCodeError, ConceptDomainError, ConceptError---class TestConceptRefinesValidationFunction:- def test_validate_refines_success(self):- # Test valid refines list- valid_refines = ["domain1.Concept1", "domain2.Concept2", NativeConcept.TEXT.value]- result = Concept.validate_refines(valid_refines)- # NativeConcept.TEXT.value ("Text") should be converted to its full code "native.Text"- expected = ["domain1.Concept1", "domain2.Concept2", NativeConcept.TEXT.code]- assert result == expected-- def test_validate_refines_empty_list(self):- # Test empty refines list- result = Concept.validate_refines([])- assert result == []-- def test_validate_refines_with_native_concept_strings(self):- # Test refines with NativeConcept string values- valid_refines = [- "domain1.Concept1",- NativeConcept.TEXT.value,- NativeConcept.IMAGE.value,- NativeConcept.PDF.value,- ]- result = Concept.validate_refines(valid_refines)- # The NativeConcept strings should be converted to full codes- expected = [- "domain1.Concept1",- NativeConcept.TEXT.code,- NativeConcept.IMAGE.code,- NativeConcept.PDF.code,- ]- assert result == expected-- def test_validate_refines_with_only_native_concepts(self):- # Test refines with only NativeConcept values- valid_refines = [- NativeConcept.TEXT.value,- NativeConcept.IMAGE.value,- NativeConcept.DYNAMIC.value,- ]- result = Concept.validate_refines(valid_refines)- expected = [- NativeConcept.TEXT.code,- NativeConcept.IMAGE.code,- NativeConcept.DYNAMIC.code,- ]- assert result == expected-- def test_validate_refines_with_mixed_native_and_domain_concepts(self):- # Test refines with mix of NativeConcept values and domain.concept codes- valid_refines = [- "my_domain.MyClass",- NativeConcept.TEXT.value,- "another_domain.AnotherClass",- NativeConcept.IMAGE.value,- ]- result = Concept.validate_refines(valid_refines)- expected = [- "my_domain.MyClass",- NativeConcept.TEXT.code,- "another_domain.AnotherClass",- NativeConcept.IMAGE.code,- ]- assert result == expected-- def test_validate_refines_missing_dot(self):- # Test refines with missing dot- with pytest.raises(ConceptCodeError) as exc_info:- Concept.validate_refines(["invalidConcept"])- assert "Each refine code must contain a single dot" in str(exc_info.value)-- def test_validate_refines_invalid_domain(self):- # Test refines with invalid domain format- with pytest.raises(ConceptDomainError) as exc_info:- Concept.validate_refines(["InvalidDomain.Concept"])- assert "Domain must be snake_case" in str(exc_info.value)-- def test_validate_refines_invalid_concept(self):- # Test refines with invalid concept format- with pytest.raises(ConceptCodeError) as exc_info:- Concept.validate_refines(["valid_domain.invalid_concept"])- assert "Code must be PascalCase" in str(exc_info.value)-- def test_validate_refines_multiple_dots(self):- # Test refines with multiple dots- with pytest.raises(ConceptError) as exc_info:- Concept.validate_refines(["domain.concept.subconcept"])- assert "Each refine code must contain a single dot" in str(exc_info.value)diff --git a/tests/unit/pipelex/core/test_interpreter.py b/tests/unit/pipelex/core/interpreter/test_interpreter.pysimilarity index 80%rename from tests/unit/pipelex/core/test_interpreter.pyrename to tests/unit/pipelex/core/interpreter/test_interpreter.pyindex 6a6861d1e..fbc2bfe3e 100644--- a/tests/unit/pipelex/core/test_interpreter.py+++ b/tests/unit/pipelex/core/interpreter/test_interpreter.py@@ -1,4 +1,5 @@from pathlib import Path+from typing import Typeimport pytest@@ -40,3 +41,11 @@ class TestPipelexInterpreter:pretty_print(get_toml_content, title=f"TOML content {test_name}")pretty_print(toml_content, title=f"Expected TOML content {test_name}")assert get_toml_content == toml_content++ @pytest.mark.parametrize("test_name,invalid_toml_content,expected_exception", InterpreterTestCases.ERROR_TEST_CASES)+ def test_invalid_toml_should_raise_exception(self, test_name: str, invalid_toml_content: str, expected_exception: Type[Exception]):+ """Test that invalid TOML content raises appropriate exceptions."""+ converter = PipelexInterpreter(file_content=invalid_toml_content)++ with pytest.raises(expected_exception):+ converter.make_pipelex_bundle_blueprint()diff --git a/tests/unit/pipelex/core/interpreter/test_interpreter_serialize.py b/tests/unit/pipelex/core/interpreter/test_interpreter_serialize.pynew file mode 100644index 000000000..d018e1ad1--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_interpreter_serialize.py@@ -0,0 +1,360 @@+"""Unit tests for PipelexInterpreter serialize functions."""++from typing import Any, Dict++from pipelex.core.concepts.concept_blueprint import ConceptBlueprint, ConceptStructureBlueprint, ConceptStructureBlueprintFieldType+from pipelex.core.interpreter import PipelexInterpreter+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprint+from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint+from pipelex.pipe_operators.ocr.pipe_ocr_blueprint import PipeOcrBlueprint+++class TestSerializeInputRequirement:+ """Test _serialize_input_requirement function."""++ def test_serialize_input_requirement_basic(self):+ """Test serializing basic InputRequirementBlueprint."""+ input_req = InputRequirementBlueprint(concept="Text")+ result = PipelexInterpreter.serialize_input_requirement(input_req)++ expected = {"concept": "Text"}+ assert result == expected++ def test_serialize_input_requirement_with_multiplicity_int(self):+ """Test serializing InputRequirementBlueprint with integer multiplicity."""+ input_req = InputRequirementBlueprint(concept="Text", multiplicity=3)+ result = PipelexInterpreter.serialize_input_requirement(input_req)++ expected = {"concept": "Text", "multiplicity": 3}+ assert result == expected++ def test_serialize_input_requirement_with_multiplicity_bool(self):+ """Test serializing InputRequirementBlueprint with boolean multiplicity."""+ input_req = InputRequirementBlueprint(concept="Text", multiplicity=True)+ result = PipelexInterpreter.serialize_input_requirement(input_req)++ expected = {"concept": "Text", "multiplicity": True}+ assert result == expected+++class TestSerializeInputs:+ """Test _serialize_inputs function."""++ def test_serialize_inputs_mixed_types(self):+ """Test serializing mixed input types."""+ inputs: Dict[str, str | InputRequirementBlueprint] = {+ "text": "Text",+ "data": InputRequirementBlueprint(concept="Data", multiplicity=2),+ "query": InputRequirementBlueprint(concept="Text"),+ }+ result = PipelexInterpreter.serialize_inputs(inputs)++ expected = {"text": "Text", "data": {"concept": "Data", "multiplicity": 2}, "query": {"concept": "Text"}}+ assert result == expected++ def test_serialize_inputs_empty(self):+ """Test serializing empty inputs."""+ inputs: Dict[str, Any] = {}+ result = PipelexInterpreter.serialize_inputs(inputs)++ assert result == {}+++class TestSerializeConceptStructure:+ """Test concept structure serialization functions."""++ def test_serialize_concept_structure_field_string(self):+ """Test serializing string concept structure field."""+ field_value = "Simple description"+ result = PipelexInterpreter.serialize_concept_structure_field(field_value)++ assert result == "Simple description"++ def test_serialize_concept_structure_field_blueprint(self):+ """Test serializing ConceptStructureBlueprint field."""+ field_value = ConceptStructureBlueprint(definition="A text field", type=ConceptStructureBlueprintFieldType.TEXT, required=True)+ result = PipelexInterpreter.serialize_concept_structure_field(field_value)++ expected = {"definition": "A text field", "required": True, "type": "text"}+ assert result == expected++ def test_serialize_concept_structure_field_blueprint_with_all_fields(self):+ """Test serializing ConceptStructureBlueprint with all optional fields."""+ field_value = ConceptStructureBlueprint(+ definition="A complex field",+ type=ConceptStructureBlueprintFieldType.DICT,+ key_type="string",+ value_type="integer",+ choices=["option1", "option2"],+ required=False,+ default_value={"default": 42},+ )+ result = PipelexInterpreter.serialize_concept_structure_field(field_value)++ expected = {+ "definition": "A complex field",+ "required": False,+ "type": "dict",+ "key_type": "string",+ "value_type": "integer",+ "choices": ["option1", "option2"],+ "default_value": {"default": 42},+ }+ assert result == expected++ def test_serialize_concept_structure_string(self):+ """Test serializing string concept structure."""+ structure = "Simple structure"+ result = PipelexInterpreter.serialize_concept_structure(structure)++ assert result == "Simple structure"++ def test_serialize_concept_structure_dict(self):+ """Test serializing dict concept structure."""+ structure = {+ "name": "Person's name",+ "age": ConceptStructureBlueprint(definition="Person's age", type=ConceptStructureBlueprintFieldType.INTEGER, required=True),+ }+ result = PipelexInterpreter.serialize_concept_structure(structure)++ expected = {+ "name": "Person's name",+ "age": {"definition": "Person's age", "required": True, "type": "integer"},+ }+ assert result == expected+++class TestSerializeSingleConcept:+ """Test _serialize_single_concept function."""++ def test_serialize_single_concept_string(self):+ """Test serializing string concept."""+ concept = "Simple concept definition"+ result = PipelexInterpreter.serialize_single_concept(concept)++ assert result == "Simple concept definition"++ def test_serialize_single_concept_simple_definition(self):+ """Test serializing ConceptBlueprint with just definition."""+ concept = ConceptBlueprint(definition="A simple concept")+ result = PipelexInterpreter.serialize_single_concept(concept)++ assert result == "A simple concept"++ def test_serialize_single_concept_with_refines(self):+ """Test serializing ConceptBlueprint with refines."""+ concept = ConceptBlueprint(definition="A specialized text", refines="Text")+ result = PipelexInterpreter.serialize_single_concept(concept)++ expected = {"definition": "A specialized text", "refines": "Text"}+ assert result == expected++ def test_serialize_single_concept_with_structure(self):+ """Test serializing ConceptBlueprint with structure."""+ concept = ConceptBlueprint(+ definition="A person",+ structure={+ "name": "Person's name",+ "age": ConceptStructureBlueprint(definition="Person's age", type=ConceptStructureBlueprintFieldType.INTEGER, required=True),+ },+ )+ result = PipelexInterpreter.serialize_single_concept(concept)++ expected = {+ "definition": "A person",+ "structure": {+ "name": "Person's name",+ "age": {"definition": "Person's age", "required": True, "type": "integer"},+ },+ }+ assert result == expected+++class TestSerializeConcepts:+ """Test _serialize_concepts function."""++ def test_serialize_concepts_empty(self):+ """Test serializing empty concepts."""+ result = PipelexInterpreter.serialize_concepts(None, "test_domain")+ assert result == {}++ def test_serialize_concepts_mixed(self):+ """Test serializing mixed concept types."""+ concepts: Dict[str, ConceptBlueprint | str] = {+ "SimpleText": "A simple text concept",+ "PersonInfo": ConceptBlueprint(definition="Information about a person", refines="Text"),+ "StructuredData": ConceptBlueprint(+ definition="Structured data",+ structure={+ "title": "Data title",+ "value": ConceptStructureBlueprint(definition="Data value", type=ConceptStructureBlueprintFieldType.NUMBER, required=True),+ },+ ),+ }+ result = PipelexInterpreter.serialize_concepts(concepts, "test_domain")++ expected = {+ "SimpleText": "A simple text concept",+ "PersonInfo": {"definition": "Information about a person", "refines": "Text"},+ "StructuredData": {+ "definition": "Structured data",+ "structure": {+ "title": "Data title",+ "value": {"definition": "Data value", "required": True, "type": "number"},+ },+ },+ }+ assert result == expected+++class TestSerializeSubPipe:+ """Test _serialize_sub_pipe function."""++ def test_serialize_sub_pipe_basic(self):+ """Test serializing basic sub pipe."""+ sub_pipe = SubPipeBlueprint(pipe="test_pipe", result="test_result")+ result = PipelexInterpreter.serialize_sub_pipe(sub_pipe)++ expected = {"pipe": "test_pipe", "result": "test_result"}+ assert result == expected++ def test_serialize_sub_pipe_with_nb_output_and_batch(self):+ """Test serializing sub pipe with nb_output and batch fields."""+ sub_pipe = SubPipeBlueprint(pipe="test_pipe", result="test_result", nb_output=3, batch_over="input_list", batch_as="current_item")+ result = PipelexInterpreter.serialize_sub_pipe(sub_pipe)++ expected = {"pipe": "test_pipe", "result": "test_result", "nb_output": 3, "batch_over": "input_list", "batch_as": "current_item"}+ assert result == expected++ def test_serialize_sub_pipe_with_multiple_output_and_batch(self):+ """Test serializing sub pipe with multiple_output and batch fields."""+ sub_pipe = SubPipeBlueprint(pipe="test_pipe", result="test_result", multiple_output=True, batch_over="input_list", batch_as="current_item")+ result = PipelexInterpreter.serialize_sub_pipe(sub_pipe)++ expected = {"pipe": "test_pipe", "result": "test_result", "multiple_output": True, "batch_over": "input_list", "batch_as": "current_item"}+ assert result == expected++ def test_serialize_sub_pipe_skip_defaults(self):+ """Test that default values are not included in serialization."""+ sub_pipe = SubPipeBlueprint(+ pipe="test_pipe",+ result="test_result",+ batch_over=False, # Default value+ batch_as=None, # Default value+ )+ result = PipelexInterpreter.serialize_sub_pipe(sub_pipe)++ expected = {"pipe": "test_pipe", "result": "test_result"}+ assert result == expected+++class TestSerializePipeBlueprints:+ """Test individual pipe blueprint serialization functions."""++ def test_serialize_llm_pipe_basic(self):+ """Test serializing basic PipeLLM blueprint."""+ pipe = PipeLLMBlueprint(type="PipeLLM", definition="Generate text using LLM", output="Text", prompt_template="Generate a story")+ result = PipelexInterpreter.serialize_llm_pipe(pipe, "test_domain")++ expected = {"type": "PipeLLM", "definition": "Generate text using LLM", "output": "Text", "prompt_template": "Generate a story"}+ assert result == expected++ def test_serialize_llm_pipe_with_inputs_and_options(self):+ """Test serializing PipeLLM blueprint with inputs and optional fields."""+ pipe = PipeLLMBlueprint(+ type="PipeLLM",+ definition="Extract information",+ inputs={"text": "Text", "topic": InputRequirementBlueprint(concept="Text", multiplicity=1)},+ output="ExtractedInfo",+ system_prompt="You are an expert extractor",+ prompt_template="Extract info about $topic from @text",+ nb_output=2,+ )+ result = PipelexInterpreter.serialize_llm_pipe(pipe, "test_domain")++ expected = {+ "type": "PipeLLM",+ "definition": "Extract information",+ "inputs": {"text": "Text", "topic": {"concept": "Text", "multiplicity": 1}},+ "output": "ExtractedInfo",+ "nb_output": 2,+ "system_prompt": "You are an expert extractor",+ "prompt_template": "Extract info about $topic from @text",+ }+ assert result == expected++ def test_serialize_ocr_pipe_basic(self):+ """Test serializing basic PipeOcr blueprint."""+ pipe = PipeOcrBlueprint(type="PipeOcr", definition="Extract text from PDF", output="Page")+ result = PipelexInterpreter.serialize_ocr_pipe(pipe, "test_domain")++ expected = {"type": "PipeOcr", "definition": "Extract text from PDF", "output": "Page"}+ assert result == expected++ def test_serialize_sequence_pipe_basic(self):+ """Test serializing basic PipeSequence blueprint."""+ pipe = PipeSequenceBlueprint(+ type="PipeSequence",+ definition="Process in sequence",+ output="Result",+ steps=[SubPipeBlueprint(pipe="step1", result="result1"), SubPipeBlueprint(pipe="step2", result="result2")],+ )+ result = PipelexInterpreter.serialize_sequence_pipe(pipe, "test_domain")++ expected = {+ "type": "PipeSequence",+ "definition": "Process in sequence",+ "output": "Result",+ "steps": [{"pipe": "step1", "result": "result1"}, {"pipe": "step2", "result": "result2"}],+ }+ assert result == expected+++class TestAddCommonPipeFields:+ """Test _add_common_pipe_fields helper function."""++ def test_add_common_pipe_fields_with_inputs(self):+ """Test adding common pipe fields when inputs exist."""+ result: Dict[str, Any] = {"type": "TestPipe"}++ # Mock pipe with inputs+ class MockPipe:+ def __init__(self):+ self.inputs = {"text": "Text", "data": InputRequirementBlueprint(concept="Data")}++ pipe = MockPipe()+ PipelexInterpreter.add_common_pipe_fields(result, pipe)++ expected = {"type": "TestPipe", "inputs": {"text": "Text", "data": {"concept": "Data"}}}+ assert result == expected++ def test_add_common_pipe_fields_without_inputs(self):+ """Test adding common pipe fields when no inputs exist."""+ result: Dict[str, Any] = {"type": "TestPipe"}++ # Mock pipe without inputs+ class MockPipe:+ def __init__(self):+ self.inputs = None++ pipe = MockPipe()+ PipelexInterpreter.add_common_pipe_fields(result, pipe)++ expected = {"type": "TestPipe"}+ assert result == expected++ def test_add_common_pipe_fields_no_inputs_attribute(self):+ """Test adding common pipe fields when pipe has no inputs attribute."""+ result: Dict[str, Any] = {"type": "TestPipe"}++ # Mock pipe without inputs attribute+ class MockPipe:+ pass++ pipe = MockPipe()+ PipelexInterpreter.add_common_pipe_fields(result, pipe)++ expected = {"type": "TestPipe"}+ assert result == expecteddiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_batch_toml.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_batch_toml.pynew file mode 100644index 000000000..a3de6c774--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_batch_toml.py@@ -0,0 +1,56 @@+"""Test PipelexInterpreter Batch pipe to TOML string conversion."""++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.pipe_controllers.batch.pipe_batch_blueprint import PipeBatchBlueprint+++class TestPipelexInterpreterBatchToml:+ """Test Batch pipe to TOML string conversion."""++ @pytest.mark.parametrize(+ "pipe_name,blueprint,expected_toml",+ [+ # Basic Batch pipe+ (+ "batch_process",+ PipeBatchBlueprint(+ type="PipeBatch",+ definition="Process items in batch",+ output="ProcessedData",+ branch_pipe_code="process_item",+ input_list_name="items",+ input_item_name="current_item",+ ),+ """[pipe.batch_process]+type = "PipeBatch"+definition = "Process items in batch"+output = "ProcessedData"+branch_pipe_code = "process_item"+input_list_name = "items"+input_item_name = "current_item\"""",+ ),+ # Batch pipe with inputs+ (+ "batch_with_inputs",+ PipeBatchBlueprint(+ type="PipeBatch",+ definition="Batch processing with inputs",+ inputs={"data_list": "Text", "config": "Text"},+ output="ProcessedData",+ branch_pipe_code="transform_item",+ ),+ """[pipe.batch_with_inputs]+type = "PipeBatch"+definition = "Batch processing with inputs"+inputs = { data_list = "Text", config = "Text" }+output = "ProcessedData"+branch_pipe_code = "transform_item\"""",+ ),+ ],+ )+ def test_batch_pipe_to_toml_string(self, pipe_name: str, blueprint: PipeBatchBlueprint, expected_toml: str):+ """Test converting Batch pipe blueprint to TOML string."""+ result = PipelexInterpreter.batch_pipe_to_toml_string(pipe_name, blueprint, "test_domain")+ assert result == expected_tomldiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_concept_toml.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_concept_toml.pynew file mode 100644index 000000000..a116259f3--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_concept_toml.py@@ -0,0 +1,99 @@+"""Test PipelexInterpreter concept to TOML string conversion."""++import pytest++from pipelex.core.concepts.concept_blueprint import ConceptBlueprint, ConceptStructureBlueprint, ConceptStructureBlueprintFieldType+from pipelex.core.interpreter import PipelexInterpreter+++class TestPipelexInterpreterConceptToml:+ """Test concept to TOML string conversion."""++ @pytest.mark.parametrize(+ "concepts,expected_toml",+ [+ # Simple string concepts+ (+ {"ProcessedData": "Data that has been processed", "UserInfo": "Information about a user"},+ """[concept]+ProcessedData = "Data that has been processed"+UserInfo = "Information about a user\"""",+ ),+ # Single concept+ (+ {"Document": "A text document"},+ """[concept]+Document = "A text document\"""",+ ),+ # ConceptBlueprint objects+ (+ {+ "ProcessedData": ConceptBlueprint(definition="Data that has been processed"),+ "UserInfo": ConceptBlueprint(definition="Information about a user"),+ },+ """[concept]+ProcessedData = "Data that has been processed"+UserInfo = "Information about a user\"""",+ ),+ # Complex ConceptBlueprint with structure+ (+ {+ "FeatureAnalysis": ConceptBlueprint(+ definition="Analysis of a photo's visual content and key features",+ structure={+ "dominant_feature": ConceptStructureBlueprint(+ definition="The most important or dominant feature in the image",+ type=ConceptStructureBlueprintFieldType.TEXT,+ required=True,+ ),+ "visual_elements": ConceptStructureBlueprint(+ definition="Description of key visual elements present",+ type=ConceptStructureBlueprintFieldType.TEXT,+ required=True,+ ),+ "composition": "Analysis of the image composition",+ "color_palette": "Description of the main colors in the image",+ "mood_atmosphere": "The overall mood or atmosphere of the image",+ },+ ),+ },+ """[concept.FeatureAnalysis]+definition = "Analysis of a photo's visual content and key features"++[concept.FeatureAnalysis.structure]+dominant_feature = { type = "text", definition = "The most important or dominant feature in the image", required = true }+visual_elements = { type = "text", definition = "Description of key visual elements present", required = true }+composition = "Analysis of the image composition"+color_palette = "Description of the main colors in the image"+mood_atmosphere = "The overall mood or atmosphere of the image\"""",+ ),+ # ConceptBlueprint with refines+ (+ {+ "EnhancedText": ConceptBlueprint(+ definition="Enhanced text content with additional metadata",+ refines="Text",+ ),+ },+ """[concept.EnhancedText]+definition = "Enhanced text content with additional metadata"+refines = "Text\"""",+ ),+ # ConceptBlueprint with structure name+ (+ {+ "ProductInfo": ConceptBlueprint(+ definition="Detailed information about a product",+ structure="ProductStructure",+ ),+ },+ """[concept.ProductInfo]+definition = "Detailed information about a product"+structure = "ProductStructure\"""",+ ),+ ],+ )+ def test_concepts_to_toml_string(self, concepts: dict[str, ConceptBlueprint | str], expected_toml: str):+ """Test converting concepts dict to TOML string."""+ result = PipelexInterpreter.concepts_to_toml_string(concepts, "test_domain")+ assert result == expected_tomldiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_condition_toml.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_condition_toml.pynew file mode 100644index 000000000..e6c9f06ba--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_condition_toml.py@@ -0,0 +1,56 @@+"""Test PipelexInterpreter Condition pipe to TOML string conversion."""++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.pipe_controllers.condition.pipe_condition_blueprint import PipeConditionBlueprint, PipeConditionPipeMapBlueprint+++class TestPipelexInterpreterConditionToml:+ """Test Condition pipe to TOML string conversion."""++ @pytest.mark.parametrize(+ "pipe_name,blueprint,expected_toml",+ [+ # Basic Condition pipe with expression+ (+ "conditional_process",+ PipeConditionBlueprint(+ type="PipeCondition",+ definition="Process based on condition",+ output="ProcessedData",+ pipe_map=PipeConditionPipeMapBlueprint({"small": "process_small", "large": "process_large"}),+ expression="input_data.category",+ ),+ """[pipe.conditional_process]+type = "PipeCondition"+definition = "Process based on condition"+output = "ProcessedData"+pipe_map = { small = "process_small", large = "process_large" }+expression = "input_data.category\"""",+ ),+ # Condition pipe with expression template and inputs+ (+ "complex_condition",+ PipeConditionBlueprint(+ type="PipeCondition",+ definition="Complex conditional processing",+ inputs={"data": "Text", "threshold": "Text"},+ output="ProcessedData",+ pipe_map=PipeConditionPipeMapBlueprint({"low": "process_low", "medium": "process_medium", "high": "process_high"}),+ expression_template="{{ data.size if data.size > threshold else 'low' }}",+ ),+ """[pipe.complex_condition]+type = "PipeCondition"+definition = "Complex conditional processing"+inputs = { data = "Text", threshold = "Text" }+output = "ProcessedData"+pipe_map = { low = "process_low", medium = "process_medium", high = "process_high" }+expression_template = "{{ data.size if data.size > threshold else 'low' }}\"""",+ ),+ ],+ )+ def test_condition_pipe_to_toml_string(self, pipe_name: str, blueprint: PipeConditionBlueprint, expected_toml: str):+ """Test converting Condition pipe blueprint to TOML string."""+ result = PipelexInterpreter.condition_pipe_to_toml_string(pipe_name, blueprint, "test_domain")+ assert result == expected_tomldiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_func_toml.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_func_toml.pynew file mode 100644index 000000000..0b2d3f1b6--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_func_toml.py@@ -0,0 +1,52 @@+"""Test PipelexInterpreter Func pipe to TOML string conversion."""++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.pipe_operators.func.pipe_func_blueprint import PipeFuncBlueprint+++class TestPipelexInterpreterFuncToml:+ """Test Func pipe to TOML string conversion."""++ @pytest.mark.parametrize(+ "pipe_name,blueprint,expected_toml",+ [+ # Basic Func pipe+ (+ "process_data",+ PipeFuncBlueprint(+ type="PipeFunc",+ definition="Process data with function",+ output="ProcessedData",+ function_name="process_data_function",+ ),+ """[pipe.process_data]+type = "PipeFunc"+definition = "Process data with function"+output = "ProcessedData"+function_name = "process_data_function\"""",+ ),+ # Func pipe with inputs+ (+ "transform_data",+ PipeFuncBlueprint(+ type="PipeFunc",+ definition="Transform input data",+ inputs={"data": "Text", "config": "Text"},+ output="TransformedData",+ function_name="transform_function",+ ),+ """[pipe.transform_data]+type = "PipeFunc"+definition = "Transform input data"+inputs = { data = "Text", config = "Text" }+output = "TransformedData"+function_name = "transform_function\"""",+ ),+ ],+ )+ def test_func_pipe_to_toml_string(self, pipe_name: str, blueprint: PipeFuncBlueprint, expected_toml: str):+ """Test converting Func pipe blueprint to TOML string."""+ result = PipelexInterpreter.func_pipe_to_toml_string(pipe_name, blueprint, "test_domain")+ assert result == expected_tomldiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_img_gen_toml.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_img_gen_toml.pynew file mode 100644index 000000000..fd8b46be6--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_img_gen_toml.py@@ -0,0 +1,55 @@+"""Test PipelexInterpreter ImgGen pipe to TOML string conversion."""++import pytest++from pipelex.cogt.imgg.imgg_job_components import AspectRatio+from pipelex.core.interpreter import PipelexInterpreter+from pipelex.pipe_operators.img_gen.pipe_img_gen_blueprint import PipeImgGenBlueprint+++class TestPipelexInterpreterImgGenToml:+ """Test ImgGen pipe to TOML string conversion."""++ @pytest.mark.parametrize(+ "pipe_name,blueprint,expected_toml",+ [+ # Basic ImgGen pipe+ (+ "generate_image",+ PipeImgGenBlueprint(+ type="PipeImgGen",+ definition="Generate an image from a prompt",+ output="Image",+ img_gen_prompt="A beautiful landscape",+ ),+ """[pipe.generate_image]+type = "PipeImgGen"+definition = "Generate an image from a prompt"+output = "Image"+img_gen_prompt = "A beautiful landscape\"""",+ ),+ # ImgGen pipe with some options+ (+ "generate_with_options",+ PipeImgGenBlueprint(+ type="PipeImgGen",+ definition="Generate image with options",+ output="Image",+ img_gen_prompt="A futuristic city",+ aspect_ratio=AspectRatio.LANDSCAPE_16_9,+ seed=12345,+ ),+ """[pipe.generate_with_options]+type = "PipeImgGen"+definition = "Generate image with options"+output = "Image"+img_gen_prompt = "A futuristic city"+aspect_ratio = "landscape_16_9"+seed = 12345""",+ ),+ ],+ )+ def test_img_gen_pipe_to_toml_string(self, pipe_name: str, blueprint: PipeImgGenBlueprint, expected_toml: str):+ """Test converting ImgGen pipe blueprint to TOML string."""+ result = PipelexInterpreter.img_gen_pipe_to_toml_string(pipe_name, blueprint, "test_domain")+ assert result == expected_tomldiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_input_spec.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_input_spec.pynew file mode 100644index 000000000..5c2035506--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_input_spec.py@@ -0,0 +1,60 @@+"""Test PipelexInterpreter input serialization for the two main cases."""++from typing import Any++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+++class TestPipelexInterpreterInputSpec:+ """Test input serialization for both simple strings and InputRequirementBlueprint objects."""++ def test_inputs_to_toml_string_simple_strings(self):+ """Test converting simple string inputs to TOML format like { text = "Text", topic = "Text" }."""+ # Simple string inputs (like "Text")+ simple_inputs = {"text": "Text", "topic": "Text"}++ result = PipelexInterpreter.inputs_to_toml_string(simple_inputs)++ expected = '{ text = "Text", topic = "Text" }'+ assert result == expected++ def test_inputs_to_toml_string_input_requirement_blueprints(self):+ """Test converting InputRequirementBlueprint inputs to TOML format like { text = { concept = "Text", multiplicity = 1 } }."""+ # InputRequirementBlueprint inputs+ complex_inputs = {+ "text": InputRequirementBlueprint(concept="Text", multiplicity=1),+ "problem": InputRequirementBlueprint(concept="Text"), # multiplicity=None+ "documents": InputRequirementBlueprint(concept="Text", multiplicity=True),+ "query": InputRequirementBlueprint(concept="Text", multiplicity=False),+ }++ result = PipelexInterpreter.inputs_to_toml_string(complex_inputs)++ expected = (+ '{ text = { concept = "Text", multiplicity = 1 }, problem = { concept = "Text" }, '+ 'documents = { concept = "Text", multiplicity = true }, query = { concept = "Text", multiplicity = false } }'+ )+ assert result == expected++ @pytest.mark.parametrize(+ "input_req,expected",+ [+ # Test with just concept (multiplicity=None should not be included)+ (InputRequirementBlueprint(concept="Text"), {"concept": "Text"}),+ # Test with concept and multiplicity=1+ (InputRequirementBlueprint(concept="Text", multiplicity=1), {"concept": "Text", "multiplicity": 1}),+ # Test with concept and multiplicity=True+ (InputRequirementBlueprint(concept="Text", multiplicity=True), {"concept": "Text", "multiplicity": True}),+ # Test with concept and multiplicity=False+ (InputRequirementBlueprint(concept="Text", multiplicity=False), {"concept": "Text", "multiplicity": False}),+ # Test with different concept+ (InputRequirementBlueprint(concept="Image", multiplicity=5), {"concept": "Image", "multiplicity": 5}),+ ],+ )+ def test_serialize_input_requirement(self, input_req: InputRequirementBlueprint, expected: dict[str, Any]):+ """Test serializing a single InputRequirementBlueprint with various multiplicity values."""+ result = PipelexInterpreter.serialize_input_requirement(input_req)+ assert result == expecteddiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_jinja2_spacing.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_jinja2_spacing.pynew file mode 100644index 000000000..0c7723c48--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_jinja2_spacing.py@@ -0,0 +1,82 @@+"""Test PipelexInterpreter jinja2_pipe_to_toml_string function."""++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.pipe_operators.jinja2.pipe_jinja2_blueprint import PipeJinja2Blueprint+++class TestPipelexInterpreterJinja2PipeTomlString:+ """Test the jinja2_pipe_to_toml_string function directly."""++ @pytest.mark.parametrize(+ "pipe_name,blueprint,expected_result",+ [+ # Basic Jinja2 pipe+ (+ "greeting_pipe",+ PipeJinja2Blueprint(+ type="PipeJinja2",+ definition="Process a Jinja2 template",+ output="Text",+ jinja2="Hello {{ name }}!",+ ),+ """[pipe.greeting_pipe]+type = "PipeJinja2"+definition = "Process a Jinja2 template"+output = "Text"+jinja2 = "Hello {{ name }}!\"""",+ ),+ # Jinja2 pipe with inputs+ (+ "template_pipe",+ PipeJinja2Blueprint(+ type="PipeJinja2",+ definition="Process template with inputs",+ inputs={"name": "Text", "greeting": "Text"},+ output="Text",+ jinja2="{{ greeting }} {{ name }}!",+ ),+ """[pipe.template_pipe]+type = "PipeJinja2"+definition = "Process template with inputs"+inputs = { name = "Text", greeting = "Text" }+output = "Text"+jinja2 = "{{ greeting }} {{ name }}!\"""",+ ),+ # Jinja2 pipe with complex template+ (+ "complex_pipe",+ PipeJinja2Blueprint(+ type="PipeJinja2",+ definition="Process complex template",+ output="Text",+ jinja2="{% for item in items %}{{ item.name }}{% endfor %}",+ ),+ """[pipe.complex_pipe]+type = "PipeJinja2"+definition = "Process complex template"+output = "Text"+jinja2 = "{% for item in items %}{{ item.name }}{% endfor %}\"""",+ ),+ # Jinja2 pipe with jinja2_name instead of inline jinja2+ (+ "named_template_pipe",+ PipeJinja2Blueprint(+ type="PipeJinja2",+ definition="Use named template",+ output="Text",+ jinja2_name="greeting_template",+ ),+ """[pipe.named_template_pipe]+type = "PipeJinja2"+definition = "Use named template"+output = "Text"+jinja2_name = "greeting_template\"""",+ ),+ ],+ )+ def test_jinja2_pipe_to_toml_string(self, pipe_name: str, blueprint: PipeJinja2Blueprint, expected_result: str):+ """Test converting PipeJinja2Blueprint to TOML string with various configurations."""+ result = PipelexInterpreter.jinja2_pipe_to_toml_string(pipe_name, blueprint, "test_domain")+ assert result == expected_resultdiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_jinja2_toml.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_jinja2_toml.pynew file mode 100644index 000000000..0b21babf0--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_jinja2_toml.py@@ -0,0 +1,52 @@+"""Test PipelexInterpreter Jinja2 pipe to TOML string conversion."""++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.pipe_operators.jinja2.pipe_jinja2_blueprint import PipeJinja2Blueprint+++class TestPipelexInterpreterJinja2Toml:+ """Test Jinja2 pipe to TOML string conversion."""++ @pytest.mark.parametrize(+ "pipe_name,blueprint,expected_toml",+ [+ # Basic Jinja2 pipe+ (+ "process_template",+ PipeJinja2Blueprint(+ type="PipeJinja2",+ definition="Process a Jinja2 template",+ output="Text",+ jinja2="Hello {{ name }}!",+ ),+ """[pipe.process_template]+type = "PipeJinja2"+definition = "Process a Jinja2 template"+output = "Text"+jinja2 = "Hello {{ name }}!\"""",+ ),+ # Jinja2 pipe with inputs and named template+ (+ "format_data",+ PipeJinja2Blueprint(+ type="PipeJinja2",+ definition="Format data with template",+ inputs={"data": "Text", "format": "Text"},+ output="Text",+ jinja2_name="data_formatter",+ ),+ """[pipe.format_data]+type = "PipeJinja2"+definition = "Format data with template"+inputs = { data = "Text", format = "Text" }+output = "Text"+jinja2_name = "data_formatter\"""",+ ),+ ],+ )+ def test_jinja2_pipe_to_toml_string(self, pipe_name: str, blueprint: PipeJinja2Blueprint, expected_toml: str):+ """Test converting Jinja2 pipe blueprint to TOML string."""+ result = PipelexInterpreter.jinja2_pipe_to_toml_string(pipe_name, blueprint, "test_domain")+ assert result == expected_tomldiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_llm_toml.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_llm_toml.pynew file mode 100644index 000000000..444696e20--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_llm_toml.py@@ -0,0 +1,96 @@+"""Test PipelexInterpreter LLM pipe to TOML string conversion."""++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint+++class TestPipelexInterpreterLlmToml:+ """Test LLM pipe to TOML string conversion."""++ @pytest.mark.parametrize(+ "pipe_name,blueprint,expected_toml",+ [+ # Simple LLM pipe with string inputs+ (+ "simple_llm",+ PipeLLMBlueprint(+ type="PipeLLM",+ definition="Simple text generation",+ inputs={"text": "Text", "topic": "Text"},+ output="Text",+ prompt_template="Generate text about $topic based on: @text",+ ),+ """[pipe.simple_llm]+type = "PipeLLM"+definition = "Simple text generation"+inputs = { text = "Text", topic = "Text" }+output = "Text"+prompt_template = "Generate text about $topic based on: @text\"""",+ ),+ # LLM pipe with complex inputs (InputRequirementBlueprint)+ (+ "complex_llm",+ PipeLLMBlueprint(+ type="PipeLLM",+ definition="Extract structured information",+ inputs={+ "documents": InputRequirementBlueprint(concept="Text", multiplicity=True),+ "query": InputRequirementBlueprint(concept="Text", multiplicity=False),+ },+ output="DocumentSummary",+ prompt_template="Extract information from documents: @documents based on query: $query",+ ),+ """[pipe.complex_llm]+type = "PipeLLM"+definition = "Extract structured information"+inputs = { documents = { concept = "Text", multiplicity = true }, query = { concept = "Text", multiplicity = false } }+output = "DocumentSummary"+prompt_template = "Extract information from documents: @documents based on query: $query\"""",+ ),+ # LLM pipe with system prompt+ (+ "system_prompt_llm",+ PipeLLMBlueprint(+ type="PipeLLM",+ definition="Analysis with system prompt",+ inputs={"content": "Text"},+ output="Text",+ system_prompt_template="You are an expert analyst with $expertise_level knowledge",+ prompt_template="Analyze this content: @content",+ ),+ """[pipe.system_prompt_llm]+type = "PipeLLM"+definition = "Analysis with system prompt"+inputs = { content = "Text" }+output = "Text"+system_prompt_template = "You are an expert analyst with $expertise_level knowledge"+prompt_template = "Analyze this content: @content\"""",+ ),+ # LLM pipe with nb_output+ (+ "multiple_output_llm",+ PipeLLMBlueprint(+ type="PipeLLM",+ definition="Generate multiple outputs",+ inputs={"topic": "Text"},+ output="Text",+ nb_output=3,+ prompt_template="Generate ideas about: $topic",+ ),+ """[pipe.multiple_output_llm]+type = "PipeLLM"+definition = "Generate multiple outputs"+inputs = { topic = "Text" }+output = "Text"+nb_output = 3+prompt_template = "Generate ideas about: $topic\"""",+ ),+ ],+ )+ def test_llm_pipe_to_toml_string(self, pipe_name: str, blueprint: PipeLLMBlueprint, expected_toml: str):+ """Test converting LLM pipe blueprint to TOML string."""+ result = PipelexInterpreter.llm_pipe_to_toml_string(pipe_name, blueprint, "test_domain")+ assert result == expected_tomldiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_ocr_toml.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_ocr_toml.pynew file mode 100644index 000000000..d59fa8a19--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_ocr_toml.py@@ -0,0 +1,48 @@+"""Test PipelexInterpreter OCR pipe to TOML string conversion."""++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.pipe_operators.ocr.pipe_ocr_blueprint import PipeOcrBlueprint+++class TestPipelexInterpreterOcrToml:+ """Test OCR pipe to TOML string conversion."""++ @pytest.mark.parametrize(+ "pipe_name,blueprint,expected_toml",+ [+ # Basic OCR pipe+ (+ "extract_text",+ PipeOcrBlueprint(+ type="PipeOcr",+ definition="Extract text from document",+ output="Page",+ ),+ """[pipe.extract_text]+type = "PipeOcr"+definition = "Extract text from document"+output = "Page\"""",+ ),+ # OCR pipe with inputs+ (+ "extract_with_input",+ PipeOcrBlueprint(+ type="PipeOcr",+ definition="Extract text from PDF",+ inputs={"ocr_input": "PDF"},+ output="Page",+ ),+ """[pipe.extract_with_input]+type = "PipeOcr"+definition = "Extract text from PDF"+inputs = { ocr_input = "PDF" }+output = "Page\"""",+ ),+ ],+ )+ def test_ocr_pipe_to_toml_string(self, pipe_name: str, blueprint: PipeOcrBlueprint, expected_toml: str):+ """Test converting OCR pipe blueprint to TOML string."""+ result = PipelexInterpreter.ocr_pipe_to_toml_string(pipe_name, blueprint, "test_domain")+ assert result == expected_tomldiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_parallel_toml.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_parallel_toml.pynew file mode 100644index 000000000..52d5c6e01--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_parallel_toml.py@@ -0,0 +1,71 @@+"""Test PipelexInterpreter Parallel pipe to TOML string conversion."""++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.pipe_controllers.parallel.pipe_parallel_blueprint import PipeParallelBlueprint+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprint+++class TestPipelexInterpreterParallelToml:+ """Test Parallel pipe to TOML string conversion."""++ @pytest.mark.parametrize(+ "pipe_name,blueprint,expected_toml",+ [+ # Basic Parallel pipe+ (+ "parallel_process",+ PipeParallelBlueprint(+ type="PipeParallel",+ definition="Process data in parallel",+ output="ProcessedData",+ parallels=[+ SubPipeBlueprint(pipe="process_a", result="result_a"),+ SubPipeBlueprint(pipe="process_b", result="result_b"),+ ],+ ),+ """[pipe.parallel_process]+type = "PipeParallel"+definition = "Process data in parallel"+output = "ProcessedData"+parallels = [+ { pipe = "process_a", result = "result_a" },+ { pipe = "process_b", result = "result_b" },+]""",+ ),+ # Parallel pipe with inputs and options+ (+ "complex_parallel",+ PipeParallelBlueprint(+ type="PipeParallel",+ definition="Complex parallel processing",+ inputs={"data": "Text"},+ output="ProcessedData",+ parallels=[+ SubPipeBlueprint(pipe="analyze", result="analysis"),+ SubPipeBlueprint(pipe="summarize", result="summary"),+ SubPipeBlueprint(pipe="extract", result="extraction"),+ ],+ add_each_output=False,+ combined_output="MergedResults",+ ),+ """[pipe.complex_parallel]+type = "PipeParallel"+definition = "Complex parallel processing"+inputs = { data = "Text" }+output = "ProcessedData"+parallels = [+ { pipe = "analyze", result = "analysis" },+ { pipe = "summarize", result = "summary" },+ { pipe = "extract", result = "extraction" },+]+add_each_output = false+combined_output = "MergedResults\"""",+ ),+ ],+ )+ def test_parallel_pipe_to_toml_string(self, pipe_name: str, blueprint: PipeParallelBlueprint, expected_toml: str):+ """Test converting Parallel pipe blueprint to TOML string."""+ result = PipelexInterpreter.parallel_pipe_to_toml_string(pipe_name, blueprint, "test_domain")+ assert result == expected_tomldiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_sequence_toml.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_sequence_toml.pynew file mode 100644index 000000000..a4e01e979--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_sequence_toml.py@@ -0,0 +1,89 @@+"""Test PipelexInterpreter Sequence pipe to TOML string conversion."""++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprint+++class TestPipelexInterpreterSequenceToml:+ """Test Sequence pipe to TOML string conversion."""++ @pytest.mark.parametrize(+ "pipe_name,blueprint,expected_toml",+ [+ # Simple sequence pipe with 2 steps+ (+ "simple_sequence",+ PipeSequenceBlueprint(+ type="PipeSequence",+ definition="Process data in sequence",+ output="ProcessedData",+ steps=[+ SubPipeBlueprint(pipe="extract_info", result="extracted"),+ SubPipeBlueprint(pipe="summarize", result="final_summary"),+ ],+ ),+ """[pipe.simple_sequence]+type = "PipeSequence"+definition = "Process data in sequence"+output = "ProcessedData"+steps = [+ { pipe = "extract_info", result = "extracted" },+ { pipe = "summarize", result = "final_summary" },+]""",+ ),+ # Sequence pipe with inputs and steps+ (+ "sequence_with_inputs",+ PipeSequenceBlueprint(+ type="PipeSequence",+ definition="Process data with inputs",+ inputs={"text": InputRequirementBlueprint(concept="Text", multiplicity=1), "topic": "Text"},+ output="ProcessedData",+ steps=[+ SubPipeBlueprint(pipe="extract_info", result="extracted"),+ SubPipeBlueprint(pipe="summarize", result="final_summary"),+ ],+ ),+ """[pipe.sequence_with_inputs]+type = "PipeSequence"+definition = "Process data with inputs"+inputs = { text = { concept = "Text", multiplicity = 1 }, topic = "Text" }+output = "ProcessedData"+steps = [+ { pipe = "extract_info", result = "extracted" },+ { pipe = "summarize", result = "final_summary" },+]""",+ ),+ # Sequence pipe with complex sub pipe options+ (+ "complex_sequence",+ PipeSequenceBlueprint(+ type="PipeSequence",+ definition="Complex sequence processing",+ output="ProcessedData",+ steps=[+ SubPipeBlueprint(pipe="step1", result="result1", nb_output=2),+ SubPipeBlueprint(pipe="step2", result="result2", multiple_output=True),+ SubPipeBlueprint(pipe="step3", result="result3", batch_over="items", batch_as="item"),+ ],+ ),+ """[pipe.complex_sequence]+type = "PipeSequence"+definition = "Complex sequence processing"+output = "ProcessedData"+steps = [+ { pipe = "step1", result = "result1", nb_output = 2 },+ { pipe = "step2", result = "result2", multiple_output = true },+ { pipe = "step3", result = "result3", batch_over = "items", batch_as = "item" },+]""",+ ),+ ],+ )+ def test_sequence_pipe_to_toml_string(self, pipe_name: str, blueprint: PipeSequenceBlueprint, expected_toml: str):+ """Test converting Sequence pipe blueprint to TOML string."""+ result = PipelexInterpreter.sequence_pipe_to_toml_string(pipe_name, blueprint, "test_domain")+ assert result == expected_tomldiff --git a/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_serialize_sub_pipe.py b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_serialize_sub_pipe.pynew file mode 100644index 000000000..f45541981--- /dev/null+++ b/tests/unit/pipelex/core/interpreter/test_pipelex_interpreter_serialize_sub_pipe.py@@ -0,0 +1,159 @@+"""Test PipelexInterpreter serialize_sub_pipe function."""++from typing import Any, Dict++import pytest++from pipelex.core.interpreter import PipelexInterpreter+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprint+++class TestPipelexInterpreterSerializeSubPipe:+ """Test the serialize_sub_pipe function directly."""++ @pytest.mark.parametrize(+ "sub_pipe_blueprint,expected_result",+ [+ # Basic sub pipe (step in sequence)+ (+ SubPipeBlueprint(+ pipe="step1",+ result="intermediate1",+ ),+ {+ "pipe": "step1",+ "result": "intermediate1",+ },+ ),+ # Sub pipe with nb_output+ (+ SubPipeBlueprint(+ pipe="generate_ideas",+ result="ideas",+ nb_output=3,+ ),+ {+ "pipe": "generate_ideas",+ "result": "ideas",+ "nb_output": 3,+ },+ ),+ # Sub pipe with multiple_output+ (+ SubPipeBlueprint(+ pipe="brainstorm",+ result="solutions",+ multiple_output=True,+ ),+ {+ "pipe": "brainstorm",+ "result": "solutions",+ "multiple_output": True,+ },+ ),+ # Sub pipe with batch_over and batch_as+ (+ SubPipeBlueprint(+ pipe="process_items",+ result="processed_items",+ batch_over="input_list",+ batch_as="current_item",+ ),+ {+ "pipe": "process_items",+ "result": "processed_items",+ "batch_over": "input_list",+ "batch_as": "current_item",+ },+ ),+ # Sub pipe with nb_output and batch fields (no multiple_output)+ (+ SubPipeBlueprint(+ pipe="complex_step",+ result="complex_result",+ nb_output=2,+ batch_over="items",+ batch_as="item",+ ),+ {+ "pipe": "complex_step",+ "result": "complex_result",+ "nb_output": 2,+ "batch_over": "items",+ "batch_as": "item",+ },+ ),+ # Sub pipe with batch_over=False (default, should not be included)+ (+ SubPipeBlueprint(+ pipe="simple_step",+ result="simple_result",+ batch_over=False, # This is the default and should not appear in output+ ),+ {+ "pipe": "simple_step",+ "result": "simple_result",+ # batch_over=False should not be included since it's the default+ },+ ),+ ],+ )+ def test_serialize_sub_pipe(self, sub_pipe_blueprint: SubPipeBlueprint, expected_result: Dict[str, Any]):+ """Test serializing SubPipeBlueprint with various configurations."""+ result = PipelexInterpreter.serialize_sub_pipe(sub_pipe_blueprint)+ assert result == expected_result++ @pytest.mark.parametrize(+ "sub_pipe_blueprint,expected_toml_string",+ [+ # Basic sub pipe (step in sequence)+ (+ SubPipeBlueprint(+ pipe="step1",+ result="intermediate1",+ ),+ '{ pipe = "step1", result = "intermediate1" }',+ ),+ # Sub pipe with nb_output+ (+ SubPipeBlueprint(+ pipe="generate_ideas",+ result="ideas",+ nb_output=3,+ ),+ '{ pipe = "generate_ideas", result = "ideas", nb_output = 3 }',+ ),+ # Sub pipe with multiple_output+ (+ SubPipeBlueprint(+ pipe="brainstorm",+ result="solutions",+ multiple_output=True,+ ),+ '{ pipe = "brainstorm", result = "solutions", multiple_output = true }',+ ),+ # Sub pipe with batch_over and batch_as+ (+ SubPipeBlueprint(+ pipe="process_items",+ result="processed_items",+ batch_over="input_list",+ batch_as="current_item",+ ),+ '{ pipe = "process_items", result = "processed_items", batch_over = "input_list", batch_as = "current_item" }',+ ),+ # Sub pipe with batch_over=False (default, should not be included)+ (+ SubPipeBlueprint(+ pipe="simple_step",+ result="simple_result",+ batch_over=False, # This is the default and should not appear in output+ ),+ '{ pipe = "simple_step", result = "simple_result" }',+ ),+ ],+ )+ def test_sub_pipe_to_toml_string(self, sub_pipe_blueprint: SubPipeBlueprint, expected_toml_string: str):+ """Test converting SubPipeBlueprint directly to TOML inline table string."""+ result = PipelexInterpreter.sub_pipe_to_toml_string(sub_pipe_blueprint)+ assert result == expected_toml_stringdiff --git a/tests/unit/pipelex/core/memory/test_dry_working_memory.py b/tests/unit/pipelex/core/memory/test_dry_working_memory.pyindex 96e100e61..ea25c0708 100644--- a/tests/unit/pipelex/core/memory/test_dry_working_memory.py+++ b/tests/unit/pipelex/core/memory/test_dry_working_memory.py@@ -6,7 +6,8 @@ import pytestfrom pytest import FixtureRequestfrom pipelex import log-from pipelex.core.concepts.concept_native import NativeConcept+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NativeConceptEnumfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.pipes.pipe_input_spec import TypedNamedInputRequirementfrom pipelex.core.stuffs.stuff_content import PageContent, TextContent@@ -29,7 +30,9 @@ class TestDryWorkingMemory:needed_inputs = [TypedNamedInputRequirement(variable_name="page",- concept_code=NativeConcept.PAGE.code,+ concept=ConceptFactory.make(+ concept_code=NativeConceptEnum.PAGE.value, domain="test_tricky_questions", definition="Lorem Ipsum", structure_class_name="Page"+ ),structure_class=PageContent,),]@@ -41,7 +44,7 @@ class TestDryWorkingMemory:# Verify concept code is correctpage_stuff = dry_memory.get_stuff("page")- assert page_stuff.concept_code == NativeConcept.PAGE.code+ assert page_stuff.concept.code == NativeConceptEnum.PAGE.valueassert page_stuff.stuff_name == "page"# Verify structured content was created properly@@ -69,12 +72,17 @@ class TestDryWorkingMemory:needed_inputs = [TypedNamedInputRequirement(variable_name="thoughtful_answer",- concept_code="test_tricky_questions.ThoughtfulAnswer",+ concept=ConceptFactory.make(+ concept_code="ThoughtfulAnswer",+ domain="test_tricky_questions",+ definition="Thoughtful answer",+ structure_class_name="ThoughtfulAnswer",+ ),structure_class=ThoughtfulAnswer,),TypedNamedInputRequirement(variable_name="question",- concept_code="answer.Question",+ concept=ConceptFactory.make(concept_code="Question", domain="answer", definition="Question", structure_class_name="Question"),structure_class=TextContent,),]@@ -88,10 +96,12 @@ class TestDryWorkingMemory:# Verify concept codes are preservedthoughtful_answer_stuff = dry_memory.get_stuff("thoughtful_answer")- assert thoughtful_answer_stuff.concept_code == "test_tricky_questions.ThoughtfulAnswer"+ assert thoughtful_answer_stuff.concept.code == "ThoughtfulAnswer"+ assert thoughtful_answer_stuff.concept.domain == "test_tricky_questions"question_stuff = dry_memory.get_stuff("question")- assert question_stuff.concept_code == "answer.Question"+ assert question_stuff.concept.code == "Question"+ assert question_stuff.concept.domain == "answer"# Verify structured content was created properlythoughtful_answer_content = thoughtful_answer_stuff.content@@ -120,12 +130,22 @@ class TestDryWorkingMemory:needed_inputs = [TypedNamedInputRequirement(variable_name="question_analysis",- concept_code="QuestionAnalysis",+ concept=ConceptFactory.make(+ concept_code="QuestionAnalysis",+ domain="test_tricky_questions",+ definition="Question analysis",+ structure_class_name="QuestionAnalysis",+ ),structure_class=TextContent,),TypedNamedInputRequirement(variable_name="conclusion",- concept_code="test_tricky_questions.ThoughtfulAnswerConclusion",+ concept=ConceptFactory.make(+ concept_code="ThoughtfulAnswerConclusion",+ domain="test_tricky_questions",+ definition="Thoughtful answer conclusion",+ structure_class_name="ThoughtfulAnswerConclusion",+ ),structure_class=TextContent,),]@@ -140,11 +160,12 @@ class TestDryWorkingMemory:# Verify both use TextContentquestion_analysis_stuff = dry_memory.get_stuff("question_analysis")assert isinstance(question_analysis_stuff.content, TextContent)- assert question_analysis_stuff.concept_code == "QuestionAnalysis"+ assert question_analysis_stuff.concept.code == "QuestionAnalysis"conclusion_stuff = dry_memory.get_stuff("conclusion")assert isinstance(conclusion_stuff.content, TextContent)- assert conclusion_stuff.concept_code == "test_tricky_questions.ThoughtfulAnswerConclusion"+ assert conclusion_stuff.concept.code == "ThoughtfulAnswerConclusion"+ assert conclusion_stuff.concept.domain == "test_tricky_questions"log.info("Created mock working memory with TextContent fallback:")dry_memory.pretty_print_summary()@@ -159,17 +180,27 @@ class TestDryWorkingMemory:needed_inputs = [TypedNamedInputRequirement(variable_name="thoughtful_answer",- concept_code="test_tricky_questions.ThoughtfulAnswer",+ concept=ConceptFactory.make(+ concept_code="ThoughtfulAnswer",+ domain="test_tricky_questions",+ definition="Thoughtful answer",+ structure_class_name="ThoughtfulAnswer",+ ),structure_class=ThoughtfulAnswer,),TypedNamedInputRequirement(variable_name="raw_question",- concept_code="answer.Question",+ concept=ConceptFactory.make(concept_code="Question", domain="answer", definition="Question", structure_class_name="Question"),structure_class=TextContent,),TypedNamedInputRequirement(variable_name="analysis_result",- concept_code="QuestionAnalysis",+ concept=ConceptFactory.make(+ concept_code="QuestionAnalysis",+ domain="test_tricky_questions",+ definition="Question analysis",+ structure_class_name="QuestionAnalysis",+ ),structure_class=TextContent,),]@@ -182,16 +213,19 @@ class TestDryWorkingMemory:# Verify structured contentthoughtful_answer_stuff = dry_memory.get_stuff("thoughtful_answer")assert isinstance(thoughtful_answer_stuff.content, ThoughtfulAnswer)- assert thoughtful_answer_stuff.concept_code == "test_tricky_questions.ThoughtfulAnswer"+ assert thoughtful_answer_stuff.concept.code == "ThoughtfulAnswer"+ assert thoughtful_answer_stuff.concept.domain == "test_tricky_questions"# Verify text contentraw_question_stuff = dry_memory.get_stuff("raw_question")assert isinstance(raw_question_stuff.content, TextContent)- assert raw_question_stuff.concept_code == "answer.Question"+ assert raw_question_stuff.concept.code == "Question"+ assert raw_question_stuff.concept.domain == "answer"analysis_result_stuff = dry_memory.get_stuff("analysis_result")assert isinstance(analysis_result_stuff.content, TextContent)- assert analysis_result_stuff.concept_code == "QuestionAnalysis"+ assert analysis_result_stuff.concept.code == "QuestionAnalysis"+ assert analysis_result_stuff.concept.domain == "test_tricky_questions"log.info("Created mock working memory with mixed content types:")dry_memory.pretty_print_summary()@@ -224,17 +258,27 @@ class TestDryWorkingMemory:needed_inputs = [TypedNamedInputRequirement(variable_name="question",- concept_code="answer.Question",+ concept=ConceptFactory.make(concept_code="Question", domain="answer", definition="Question", structure_class_name="Question"),structure_class=TextContent,),TypedNamedInputRequirement(variable_name="question_analysis",- concept_code="QuestionAnalysis",+ concept=ConceptFactory.make(+ concept_code="QuestionAnalysis",+ domain="test_tricky_questions",+ definition="Question analysis",+ structure_class_name="QuestionAnalysis",+ ),structure_class=TextContent,),TypedNamedInputRequirement(variable_name="thoughtful_answer",- concept_code="test_tricky_questions.ThoughtfulAnswer",+ concept=ConceptFactory.make(+ concept_code="ThoughtfulAnswer",+ domain="test_tricky_questions",+ definition="Thoughtful answer",+ structure_class_name="ThoughtfulAnswer",+ ),structure_class=ThoughtfulAnswer,),]diff --git a/tests/unit/pipelex/core/memory/test_working_memory.py b/tests/unit/pipelex/core/memory/test_working_memory.pyindex 10fca9b4d..c68be5983 100644--- a/tests/unit/pipelex/core/memory/test_working_memory.py+++ b/tests/unit/pipelex/core/memory/test_working_memory.py@@ -2,8 +2,10 @@ from typing import ClassVar, List, Tupleimport pytest-from pipelex.core.concepts.concept_native import NativeConcept-from pipelex.core.memory.working_memory import WorkingMemory+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnum+from pipelex.core.domains.domain import SpecialDomain+from pipelex.core.memory.working_memory import MAIN_STUFF_NAME, WorkingMemoryfrom pipelex.core.memory.working_memory_factory import WorkingMemoryFactoryfrom pipelex.core.stuffs.stuff_content import HtmlContent, ImageContent, ListContent, NumberContent, TextAndImagesContent, TextContentfrom pipelex.core.stuffs.stuff_factory import StuffFactory@@ -57,33 +59,43 @@ class TestWorkingMemory:@pytest.fixturedef single_text_memory(self) -> WorkingMemory:"""Create WorkingMemory with single text content."""- return WorkingMemoryFactory.make_from_text(text=TestWorkingMemoryData.SAMPLE_TEXT, concept_str=NativeConcept.TEXT.code, name="sample_text")+ return WorkingMemoryFactory.make_from_text(+ text=TestWorkingMemoryData.SAMPLE_TEXT, concept_string=SpecialDomain.NATIVE.value + "." + NativeConceptEnum.TEXT.value, name="sample_text"+ )@pytest.fixturedef single_image_memory(self) -> WorkingMemory:"""Create WorkingMemory with single image content."""return WorkingMemoryFactory.make_from_image(- image_url=TestWorkingMemoryData.SAMPLE_IMAGE_URL, concept_str="gantt.GanttImage", name="gantt_chart_image"+ image_url=TestWorkingMemoryData.SAMPLE_IMAGE_URL, concept_string="gantt.GanttImage", name="gantt_chart_image")@pytest.fixturedef single_pdf_memory(self) -> WorkingMemory:"""Create WorkingMemory with single PDF content."""- return WorkingMemoryFactory.make_from_pdf(pdf_url=TestWorkingMemoryData.SAMPLE_PDF_URL, concept_str="PDF", name="pdf_document")+ return WorkingMemoryFactory.make_from_pdf(+ pdf_url=TestWorkingMemoryData.SAMPLE_PDF_URL, concept_string=NativeConceptEnum.PDF.value, name="pdf_document"+ )@pytest.fixturedef multiple_stuff_memory(self) -> WorkingMemory:"""Create WorkingMemory with multiple stuff items."""text_stuff = StuffFactory.make_stuff(- concept_str="native.Text", name="question", content=TextContent(text="What are the aerodynamic features?")+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),+ name="question",+ content=TextContent(text="What are the aerodynamic features?"),)document_stuff = StuffFactory.make_stuff(- concept_str="native.Text", name="document", content=TextContent(text=TestWorkingMemoryData.SAMPLE_TEXT)+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),+ name="document",+ content=TextContent(text=TestWorkingMemoryData.SAMPLE_TEXT),)image_stuff = StuffFactory.make_stuff(- concept_str="native.Image", name="diagram", content=ImageContent(url=TestWorkingMemoryData.SAMPLE_IMAGE_URL)+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.IMAGE]),+ name="diagram",+ content=ImageContent(url=TestWorkingMemoryData.SAMPLE_IMAGE_URL),)return WorkingMemoryFactory.make_from_multiple_stuffs(stuff_list=[text_stuff, document_stuff, image_stuff], main_name="document")@@ -91,13 +103,19 @@ class TestWorkingMemory:@pytest.fixturedef memory_with_aliases(self) -> WorkingMemory:"""Create WorkingMemory with aliases."""- text_stuff = StuffFactory.make_stuff(concept_str="native.Text", name="primary_text", content=TextContent(text="Primary content"))+ text_stuff = StuffFactory.make_stuff(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),+ name="primary_text",+ content=TextContent(text="Primary content"),+ )- secondary_stuff = StuffFactory.make_stuff(concept_str="native.Text", name="secondary_text", content=TextContent(text="Secondary content"))+ secondary_stuff = StuffFactory.make_stuff(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),+ name="secondary_text",+ content=TextContent(text="Secondary content"),+ )- memory = WorkingMemory()- memory.add_new_stuff(name="primary_text", stuff=text_stuff)- memory.add_new_stuff(name="secondary_text", stuff=secondary_stuff)+ memory = WorkingMemoryFactory.make_from_multiple_stuffs(stuff_list=[text_stuff, secondary_stuff], main_name="primary_text")memory.set_alias(alias="main_text", target="primary_text")memory.set_alias(alias="backup_text", target="secondary_text")@@ -114,7 +132,13 @@ class TestWorkingMemory:])- complex_stuff = StuffFactory.make_stuff(concept_str="native.List", name="mixed_list", content=complex_content)+ complex_stuff = StuffFactory.make_stuff(+ concept=ConceptFactory.make(+ concept_code="List", domain=SpecialDomain.NATIVE.value, definition="Lorem Ipsum", structure_class_name="ListContent"+ ),+ name="mixed_list",+ content=complex_content,+ )return WorkingMemoryFactory.make_from_single_stuff(stuff=complex_stuff)@@ -126,7 +150,11 @@ class TestWorkingMemory:images=[ImageContent(url=TestWorkingMemoryData.SAMPLE_IMAGE_URL), ImageContent(url="assets/diagrams/architecture.png")],)- stuff = StuffFactory.make_stuff(concept_str="native.TextAndImages", name="project_overview", content=text_and_images_content)+ stuff = StuffFactory.make_stuff(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT_AND_IMAGES]),+ name="project_overview",+ content=text_and_images_content,+ )return WorkingMemoryFactory.make_from_single_stuff(stuff=stuff)@@ -138,7 +166,13 @@ class TestWorkingMemory:css_class="report-content",)- stuff = StuffFactory.make_stuff(concept_str="native.Html", name="test_report", content=html_content)+ stuff = StuffFactory.make_stuff(+ concept=ConceptFactory.make(+ concept_code="Html", domain=SpecialDomain.NATIVE.value, definition="Lorem Ipsum", structure_class_name="HtmlContent"+ ),+ name="test_report",+ content=html_content,+ )return WorkingMemoryFactory.make_from_single_stuff(stuff=stuff)@@ -147,7 +181,11 @@ class TestWorkingMemory:"""Create WorkingMemory with number content."""number_content = NumberContent(number=3.14159)- stuff = StuffFactory.make_stuff(concept_str="native.Number", name="pi_value", content=number_content)+ stuff = StuffFactory.make_stuff(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.NUMBER]),+ name="pi_value",+ content=number_content,+ )return WorkingMemoryFactory.make_from_single_stuff(stuff=stuff)@@ -159,15 +197,19 @@ class TestWorkingMemory:# Check stuff retrievalstuff = single_text_memory.get_stuff("sample_text")- assert stuff.concept_code == NativeConcept.TEXT.code+ assert stuff.concept.code == NativeConceptEnum.TEXT.valueassert isinstance(stuff.content, TextContent)assert stuff.content.text == TestWorkingMemoryData.SAMPLE_TEXTdef test_working_memory_aliases(self, memory_with_aliases: WorkingMemory):"""Test WorkingMemory alias functionality."""- # Should have two root items and two aliases+ # Should have two root items and two aliases other then the main stuff+ assert MAIN_STUFF_NAME in memory_with_aliases.aliases.keys()+ # Remove it from the aliases+ aliases = memory_with_aliases.aliases.copy()+ del aliases[MAIN_STUFF_NAME]assert len(memory_with_aliases.root) == 2- assert len(memory_with_aliases.aliases) == 2+ assert len(aliases) == 2# Check aliases workprimary_stuff = memory_with_aliases.get_stuff("primary_text")diff --git a/tests/unit/pipelex/core/pipes/__init__.py b/tests/unit/pipelex/core/pipes/__init__.pynew file mode 100644index 000000000..e69de29bbdiff --git a/tests/unit/pipelex/core/pipes/data.py b/tests/unit/pipelex/core/pipes/data.pynew file mode 100644index 000000000..27f4f22c1--- /dev/null+++ b/tests/unit/pipelex/core/pipes/data.py@@ -0,0 +1,165 @@+"""Test data for make_output_multiplicity function tests."""++from typing import Optional, Tuple++from pipelex.core.pipes.pipe_run_params import OutputMultiplicityResolution, PipeOutputMultiplicity++# Test cases format: (nb_output, multiple_output, expected_result, test_description)+MAKE_OUTPUT_MULTIPLICITY_TEST_CASES: list[Tuple[Optional[int], Optional[bool], Optional[PipeOutputMultiplicity], str]] = [+ # nb_output, multiple_output, expected_result, description+ # Test cases where nb_output takes precedence+ (3, None, 3, "nb_output=3, multiple_output=None -> returns 3"),+ (5, False, 5, "nb_output=5, multiple_output=False -> returns 5 (nb_output takes precedence)"),+ (1, True, 1, "nb_output=1, multiple_output=True -> returns 1 (nb_output takes precedence)"),+ (10, None, 10, "nb_output=10, multiple_output=None -> returns 10"),+ # Test cases where multiple_output=True is used+ (None, True, True, "nb_output=None, multiple_output=True -> returns True"),+ (0, True, True, "nb_output=0 (falsy), multiple_output=True -> returns True"),+ # Test cases where default (None) is returned+ (None, None, None, "nb_output=None, multiple_output=None -> returns None (default)"),+ (None, False, None, "nb_output=None, multiple_output=False -> returns None"),+ (0, None, None, "nb_output=0 (falsy), multiple_output=None -> returns None"),+ (0, False, None, "nb_output=0 (falsy), multiple_output=False -> returns None"),+ # Edge cases with negative numbers (should still be truthy)+ (-1, None, -1, "nb_output=-1 (truthy), multiple_output=None -> returns -1"),+ (-5, True, -5, "nb_output=-5 (truthy), multiple_output=True -> returns -5 (nb_output takes precedence)"),+ # Edge cases with large numbers+ (1000, None, 1000, "nb_output=1000, multiple_output=None -> returns 1000"),+ (999999, False, 999999, "nb_output=999999, multiple_output=False -> returns 999999"),+]+++# Test cases format: (base, override, expected_result, description)+OUTPUT_MULTIPLICITY_TO_APPLY_TEST_CASES: list[+ Tuple[Optional[PipeOutputMultiplicity], Optional[PipeOutputMultiplicity], OutputMultiplicityResolution, str]+] = [+ # base, override, expected_result, description+ # Override is None - use base value as-is+ (+ None,+ None,+ OutputMultiplicityResolution(resolved_multiplicity=None, enable_multiple_outputs=False, specific_output_count=None),+ "base=None, override=None",+ ),+ (+ True,+ None,+ OutputMultiplicityResolution(resolved_multiplicity=True, enable_multiple_outputs=True, specific_output_count=None),+ "base=True, override=None",+ ),+ (+ False,+ None,+ OutputMultiplicityResolution(resolved_multiplicity=False, enable_multiple_outputs=False, specific_output_count=None),+ "base=False, override=None",+ ),+ (3, None, OutputMultiplicityResolution(resolved_multiplicity=3, enable_multiple_outputs=True, specific_output_count=3), "base=3, override=None"),+ (5, None, OutputMultiplicityResolution(resolved_multiplicity=5, enable_multiple_outputs=True, specific_output_count=5), "base=5, override=None"),+ # Override is False - force single output regardless of base+ (+ None,+ False,+ OutputMultiplicityResolution(resolved_multiplicity=False, enable_multiple_outputs=False, specific_output_count=None),+ "base=None, override=False",+ ),+ (+ True,+ False,+ OutputMultiplicityResolution(resolved_multiplicity=False, enable_multiple_outputs=False, specific_output_count=None),+ "base=True, override=False",+ ),+ (+ False,+ False,+ OutputMultiplicityResolution(resolved_multiplicity=False, enable_multiple_outputs=False, specific_output_count=None),+ "base=False, override=False",+ ),+ (+ 3,+ False,+ OutputMultiplicityResolution(resolved_multiplicity=False, enable_multiple_outputs=False, specific_output_count=None),+ "base=3, override=False",+ ),+ (+ 10,+ False,+ OutputMultiplicityResolution(resolved_multiplicity=False, enable_multiple_outputs=False, specific_output_count=None),+ "base=10, override=False",+ ),+ # Override is True - enable multiple outputs+ (+ None,+ True,+ OutputMultiplicityResolution(resolved_multiplicity=None, enable_multiple_outputs=True, specific_output_count=None),+ "base=None, override=True",+ ),+ (+ True,+ True,+ OutputMultiplicityResolution(resolved_multiplicity=True, enable_multiple_outputs=True, specific_output_count=None),+ "base=True, override=True",+ ),+ (+ False,+ True,+ OutputMultiplicityResolution(resolved_multiplicity=True, enable_multiple_outputs=True, specific_output_count=None),+ "base=False, override=True",+ ),+ (+ 3,+ True,+ OutputMultiplicityResolution(resolved_multiplicity=3, enable_multiple_outputs=True, specific_output_count=3),+ "base=3, override=True - preserve base count",+ ),+ (+ 7,+ True,+ OutputMultiplicityResolution(resolved_multiplicity=7, enable_multiple_outputs=True, specific_output_count=7),+ "base=7, override=True - preserve base count",+ ),+ # Override is int - use override count, enable multiple outputs+ (None, 2, OutputMultiplicityResolution(resolved_multiplicity=2, enable_multiple_outputs=True, specific_output_count=2), "base=None, override=2"),+ (True, 4, OutputMultiplicityResolution(resolved_multiplicity=4, enable_multiple_outputs=True, specific_output_count=4), "base=True, override=4"),+ (+ False,+ 6,+ OutputMultiplicityResolution(resolved_multiplicity=6, enable_multiple_outputs=True, specific_output_count=6),+ "base=False, override=6",+ ),+ (+ 3,+ 8,+ OutputMultiplicityResolution(resolved_multiplicity=8, enable_multiple_outputs=True, specific_output_count=8),+ "base=3, override=8 - override takes precedence",+ ),+ (+ 5,+ 1,+ OutputMultiplicityResolution(resolved_multiplicity=1, enable_multiple_outputs=True, specific_output_count=1),+ "base=5, override=1 - override takes precedence",+ ),+ # Edge cases with negative numbers+ (+ -1,+ None,+ OutputMultiplicityResolution(resolved_multiplicity=-1, enable_multiple_outputs=True, specific_output_count=-1),+ "base=-1, override=None",+ ),+ (3, -2, OutputMultiplicityResolution(resolved_multiplicity=-2, enable_multiple_outputs=True, specific_output_count=-2), "base=3, override=-2"),+ # Edge cases with zero+ (0, None, OutputMultiplicityResolution(resolved_multiplicity=0, enable_multiple_outputs=True, specific_output_count=0), "base=0, override=None"),+ (True, 0, OutputMultiplicityResolution(resolved_multiplicity=0, enable_multiple_outputs=True, specific_output_count=0), "base=True, override=0"),+ # Large numbers+ (+ 1000,+ None,+ OutputMultiplicityResolution(resolved_multiplicity=1000, enable_multiple_outputs=True, specific_output_count=1000),+ "base=1000, override=None",+ ),+ (+ 100,+ 999,+ OutputMultiplicityResolution(resolved_multiplicity=999, enable_multiple_outputs=True, specific_output_count=999),+ "base=100, override=999",+ ),+]diff --git a/tests/unit/pipelex/core/pipes/test_pipe_condition_validation.py b/tests/unit/pipelex/core/pipes/test_pipe_condition_validation.pydeleted file mode 100644index 6f3efde60..000000000--- a/tests/unit/pipelex/core/pipes/test_pipe_condition_validation.py+++ /dev/null@@ -1,56 +0,0 @@-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec-from pipelex.pipe_controllers.pipe_condition import PipeCondition---class TestPipeConditionValidation:- """Tests for PipeCondition validate_inputs method"""-- def test_pipe_condition_creation(self):- """Test basic PipeCondition creation"""- pipe_condition = PipeCondition(- domain="test_domain",- code="test_condition",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_domain", blueprint={"input_var": InputRequirementBlueprint(concept_code="test_domain.Text")}- ),- output_concept_code="test_domain.ProcessedText",- expression="input_var",- pipe_map={"value1": "pipe_a", "value2": "pipe_b"},- default_pipe_code="default_pipe",- )-- assert pipe_condition.code == "test_condition"- assert pipe_condition.domain == "test_domain"- assert len(pipe_condition.pipe_map) == 2- assert pipe_condition.expression == "input_var"- assert pipe_condition.default_pipe_code == "default_pipe"-- def test_pipe_condition_expression_template_vs_expression(self):- """Test that both expression_template and expression formats work"""- # Test with expression_template- pipe_condition_template = PipeCondition(- domain="test_domain",- code="test_condition_template",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_domain", blueprint={"var": InputRequirementBlueprint(concept_code="test_domain.Text")}- ),- output_concept_code="test_domain.Result",- expression_template="{{ var }}",- pipe_map={"value": "target_pipe"},- )-- # Test with expression- pipe_condition_expr = PipeCondition(- domain="test_domain",- code="test_condition_expr",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_domain", blueprint={"var": InputRequirementBlueprint(concept_code="test_domain.Text")}- ),- output_concept_code="test_domain.Result",- expression="var",- pipe_map={"value": "target_pipe"},- )-- # Both should have the same applied expression template format- assert pipe_condition_template.applied_expression_template == "{{ var }}"- assert pipe_condition_expr.applied_expression_template == "{{ var }}"diff --git a/tests/unit/pipelex/core/pipes/test_pipe_parallel_validation.py b/tests/unit/pipelex/core/pipes/test_pipe_parallel_validation.pydeleted file mode 100644index 3d8e2826c..000000000--- a/tests/unit/pipelex/core/pipes/test_pipe_parallel_validation.py+++ /dev/null@@ -1,110 +0,0 @@-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec-from pipelex.pipe_controllers.pipe_parallel import PipeParallel-from pipelex.pipe_controllers.sub_pipe import SubPipe-from pipelex.pipe_operators.pipe_llm import PipeLLM-from pipelex.pipe_operators.pipe_llm_prompt import PipeLLMPrompt---class TestPipeParallelValidation:- """Tests for PipeParallel creation and basic structure"""-- def test_pipe_parallel_with_real_pipe_structure(self):- """Test PipeParallel structure with a real pipe"""- # Create a real PipeLLM that will infer inputs from the prompt template- real_pipe = PipeLLM(- domain="test_domain",- code="analyze_document",- # Let PipeLLM infer inputs from prompt template - no explicit inputs- output_concept_code="test_domain.Analysis",- pipe_llm_prompt=PipeLLMPrompt(- code="analyze_document_prompt",- domain="test_domain",- user_text="Analyze this document: \n@context\n@document",- ),- )-- # Verify the real pipe was created successfully- assert real_pipe.code == "analyze_document"- assert real_pipe.domain == "test_domain"- assert real_pipe.output_concept_code == "test_domain.Analysis"-- # Create PipeParallel that would reference this pipe- pipe_parallel = PipeParallel(- domain="test_domain",- code="parallel_document_processor",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_domain",- blueprint={- "document": InputRequirementBlueprint(concept_code="test_domain.document"),- "context": InputRequirementBlueprint(concept_code="test_domain.context"),- },- ),- output_concept_code="test_domain.ProcessedAnalysis",- parallel_sub_pipes=[SubPipe(pipe_code="analyze_document", output_name="analysis_result")],- add_each_output=True,- combined_output=None,- )-- # Verify the PipeParallel structure is correct- assert len(pipe_parallel.parallel_sub_pipes) == 1- assert pipe_parallel.parallel_sub_pipes[0].pipe_code == "analyze_document"- assert pipe_parallel.parallel_sub_pipes[0].output_name == "analysis_result"-- # Verify PipeParallel has the expected structure- assert pipe_parallel.domain == "test_domain"- assert pipe_parallel.code == "parallel_document_processor"- assert pipe_parallel.add_each_output is True-- def test_pipe_parallel_creation(self):- """Test basic PipeParallel creation and structure"""- # Create a simple PipeParallel with proper inputs- pipe_parallel = PipeParallel(- domain="test_domain",- code="test_parallel",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_domain", blueprint={"input_var": InputRequirementBlueprint(concept_code="test_domain.Text")}- ),- output_concept_code="test_domain.ProcessedText",- parallel_sub_pipes=[SubPipe(pipe_code="test_pipe_1", output_name="result_1")],- add_each_output=True,- combined_output=None,- )-- # Verify the PipeParallel was created correctly- assert pipe_parallel.code == "test_parallel"- assert pipe_parallel.domain == "test_domain"- assert len(pipe_parallel.parallel_sub_pipes) == 1- assert pipe_parallel.inputs.root["input_var"].concept_code == "test_domain.Text"- assert pipe_parallel.output_concept_code == "test_domain.ProcessedText"- assert pipe_parallel.add_each_output is True- assert pipe_parallel.combined_output is None-- def test_pipe_parallel_needed_inputs_structure(self):- """Test that PipeParallel needed_inputs method can be called and returns expected structure"""-- # Create PipeParallel with no sub-pipes to avoid dependency resolution- pipe_parallel = PipeParallel(- domain="test_domain",- code="parallel_document_processor",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_domain",- blueprint={- "document": InputRequirementBlueprint(concept_code="test_domain.Document"),- "context": InputRequirementBlueprint(concept_code="test_domain.Context"),- },- ),- output_concept_code="test_domain.ProcessedAnalysis",- parallel_sub_pipes=[], # No sub-pipes to avoid dependency issues- add_each_output=True,- combined_output=None,- )-- # Test that needed_inputs method can be called- needed_inputs = pipe_parallel.needed_inputs()-- # Verify it returns a PipeInputSpec object- assert isinstance(needed_inputs, PipeInputSpec)- assert hasattr(needed_inputs, "root")- assert isinstance(needed_inputs.root, dict)- # With no sub-pipes, should return empty inputs- assert len(needed_inputs.root) == 0diff --git a/tests/unit/pipelex/core/pipes/test_pipe_run_params.py b/tests/unit/pipelex/core/pipes/test_pipe_run_params.pynew file mode 100644index 000000000..0da380d08--- /dev/null+++ b/tests/unit/pipelex/core/pipes/test_pipe_run_params.py@@ -0,0 +1,312 @@+"""Unit tests for pipe_run_params module."""++from typing import Optional++import pytest++from pipelex.core.pipes.pipe_run_params import (+ OutputMultiplicityResolution,+ PipeOutputMultiplicity,+ make_output_multiplicity,+ output_multiplicity_to_apply,+)+from tests.unit.pipelex.core.pipes.data import MAKE_OUTPUT_MULTIPLICITY_TEST_CASES, OUTPUT_MULTIPLICITY_TO_APPLY_TEST_CASES+++class TestMakeOutputMultiplicity:+ """Test cases for make_output_multiplicity function."""++ @pytest.mark.parametrize(+ "nb_output,multiple_output,expected_result,description",+ MAKE_OUTPUT_MULTIPLICITY_TEST_CASES,+ ids=[case[3] for case in MAKE_OUTPUT_MULTIPLICITY_TEST_CASES],+ )+ def test_make_output_multiplicity_all_cases(+ self, nb_output: Optional[int], multiple_output: Optional[bool], expected_result: Optional[PipeOutputMultiplicity], description: str+ ):+ """Test make_output_multiplicity with all parameter combinations."""+ result = make_output_multiplicity(nb_output=nb_output, multiple_output=multiple_output)+ assert result == expected_result, f"Failed case: {description}"++ def test_nb_output_precedence_over_multiple_output(self):+ """Test that nb_output takes precedence when both parameters are provided."""+ # When both are provided and nb_output is truthy, it should take precedence+ result = make_output_multiplicity(nb_output=3, multiple_output=True)+ assert result == 3++ result = make_output_multiplicity(nb_output=1, multiple_output=False)+ assert result == 1++ # When nb_output is falsy (0), multiple_output should be used+ result = make_output_multiplicity(nb_output=0, multiple_output=True)+ assert result is True++ def test_return_types(self):+ """Test that the function returns the correct types."""+ # Should return int when nb_output is provided+ result = make_output_multiplicity(nb_output=5, multiple_output=None)+ assert isinstance(result, int)+ assert result == 5++ # Should return bool when multiple_output=True and nb_output is falsy/None+ result = make_output_multiplicity(nb_output=None, multiple_output=True)+ assert isinstance(result, bool)+ assert result is True++ # Should return None when both are falsy/None+ result = make_output_multiplicity(nb_output=None, multiple_output=None)+ assert result is None++ result = make_output_multiplicity(nb_output=0, multiple_output=False)+ assert result is None++ def test_edge_cases(self):+ """Test edge cases and boundary conditions."""+ # Negative numbers should still be truthy+ result = make_output_multiplicity(nb_output=-1, multiple_output=True)+ assert result == -1++ # Large numbers+ result = make_output_multiplicity(nb_output=999999, multiple_output=None)+ assert result == 999999++ # Zero is falsy, so multiple_output should be used+ result = make_output_multiplicity(nb_output=0, multiple_output=True)+ assert result is True++ # Both falsy should return None+ result = make_output_multiplicity(nb_output=0, multiple_output=False)+ assert result is None++ def test_mutually_exclusive_logic(self):+ """Test the mutually exclusive behavior of the parameters."""+ # nb_output takes precedence when truthy+ assert make_output_multiplicity(nb_output=2, multiple_output=True) == 2+ assert make_output_multiplicity(nb_output=2, multiple_output=False) == 2++ # multiple_output is used when nb_output is falsy+ assert make_output_multiplicity(nb_output=0, multiple_output=True) is True+ assert make_output_multiplicity(nb_output=None, multiple_output=True) is True++ # Default case when both are falsy/None+ assert make_output_multiplicity(nb_output=0, multiple_output=False) is None+ assert make_output_multiplicity(nb_output=None, multiple_output=False) is None+ assert make_output_multiplicity(nb_output=None, multiple_output=None) is None++ def test_function_signature_and_return_annotation(self):+ """Test that the function can be called with the expected signature."""+ # Test with keyword arguments+ result = make_output_multiplicity(nb_output=3, multiple_output=None)+ assert result == 3++ # Test with positional arguments+ result = make_output_multiplicity(5, False)+ assert result == 5++ # Test with mixed arguments+ result = make_output_multiplicity(nb_output=2, multiple_output=True)+ assert result == 2+++class TestOutputMultiplicityToApply:+ """Test cases for output_multiplicity_to_apply function."""++ @pytest.mark.parametrize(+ "base,override,expected_result,description",+ OUTPUT_MULTIPLICITY_TO_APPLY_TEST_CASES,+ ids=[case[3] for case in OUTPUT_MULTIPLICITY_TO_APPLY_TEST_CASES],+ )+ def test_output_multiplicity_to_apply_all_cases(+ self,+ base: Optional[PipeOutputMultiplicity],+ override: Optional[PipeOutputMultiplicity],+ expected_result: OutputMultiplicityResolution,+ description: str,+ ):+ """Test output_multiplicity_to_apply with all parameter combinations."""+ result = output_multiplicity_to_apply(base, override)+ assert result.resolved_multiplicity == expected_result.resolved_multiplicity, f"Failed resolved_multiplicity for case: {description}"+ assert result.enable_multiple_outputs == expected_result.enable_multiple_outputs, f"Failed enable_multiple_outputs for case: {description}"+ assert result.specific_output_count == expected_result.specific_output_count, f"Failed specific_output_count for case: {description}"++ def test_override_none_uses_base(self):+ """Test that when override is None, base value is used as-is."""+ # Base None -> single output+ result = output_multiplicity_to_apply(None, None)+ assert result.resolved_multiplicity is None+ assert result.enable_multiple_outputs is False+ assert result.specific_output_count is None++ # Base True -> multiple output, LLM decides+ result = output_multiplicity_to_apply(True, None)+ assert result.resolved_multiplicity is True+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count is None++ # Base int -> multiple output with specific count+ result = output_multiplicity_to_apply(3, None)+ assert result.resolved_multiplicity == 3+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == 3++ # Base False -> single output+ result = output_multiplicity_to_apply(False, None)+ assert result.resolved_multiplicity is False+ assert result.enable_multiple_outputs is False+ assert result.specific_output_count is None++ def test_override_false_forces_single_output(self):+ """Test that override=False forces single output regardless of base."""+ # Should force single output for any base value+ test_bases = [None, True, False, 1, 5, 10, -1]++ for base in test_bases:+ result = output_multiplicity_to_apply(base, False)+ assert result.resolved_multiplicity is False, f"Failed for base={base}: resolved_multiplicity should be False"+ assert result.enable_multiple_outputs is False, f"Failed for base={base}: enable_multiple_outputs should be False"+ assert result.specific_output_count is None, f"Failed for base={base}: specific_output_count should be None"++ def test_override_true_enables_multiple_outputs(self):+ """Test that override=True enables multiple outputs, preserving int base values."""+ # Base None -> preserve None but enable multiple+ result = output_multiplicity_to_apply(None, True)+ assert result.resolved_multiplicity is None+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count is None++ # Base False -> enable multiple, LLM decides count+ result = output_multiplicity_to_apply(False, True)+ assert result.resolved_multiplicity is True+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count is None++ # Base True -> keep True+ result = output_multiplicity_to_apply(True, True)+ assert result.resolved_multiplicity is True+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count is None++ # Base int -> preserve count, enable multiple+ for base_int in [1, 3, 5, 10]:+ result = output_multiplicity_to_apply(base_int, True)+ assert result.resolved_multiplicity == base_int+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == base_int++ def test_override_int_uses_override_count(self):+ """Test that override int uses the override count and enables multiple outputs."""+ test_bases = [None, True, False, 2, 7]+ override_int = 5++ for base in test_bases:+ result = output_multiplicity_to_apply(base, override_int)+ assert result.resolved_multiplicity == override_int, f"Failed for base={base}: resolved_multiplicity should be {override_int}"+ assert result.enable_multiple_outputs is True, f"Failed for base={base}: enable_multiple_outputs should be True"+ assert result.specific_output_count == override_int, f"Failed for base={base}: specific_output_count should be {override_int}"++ def test_return_basemodel_structure(self):+ """Test that the function always returns an OutputMultiplicityResolution with correct types."""+ result = output_multiplicity_to_apply(None, None)+ assert isinstance(result, OutputMultiplicityResolution)++ # Test field types+ assert result.resolved_multiplicity is None or isinstance(result.resolved_multiplicity, (bool, int))+ assert isinstance(result.enable_multiple_outputs, bool)+ assert result.specific_output_count is None or isinstance(result.specific_output_count, int)++ def test_edge_cases(self):+ """Test edge cases and boundary conditions."""+ # Negative numbers+ result = output_multiplicity_to_apply(-1, None)+ assert result.resolved_multiplicity == -1+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == -1++ result = output_multiplicity_to_apply(3, -2)+ assert result.resolved_multiplicity == -2+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == -2++ # Zero values+ result = output_multiplicity_to_apply(0, None)+ assert result.resolved_multiplicity == 0+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == 0++ result = output_multiplicity_to_apply(True, 0)+ assert result.resolved_multiplicity == 0+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == 0++ # Large numbers+ result = output_multiplicity_to_apply(1000, None)+ assert result.resolved_multiplicity == 1000+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == 1000++ def test_override_precedence_logic(self):+ """Test the precedence logic where override always takes precedence when provided."""+ # Override False beats any base+ result = output_multiplicity_to_apply(True, False)+ assert result.resolved_multiplicity is False+ assert result.enable_multiple_outputs is False+ assert result.specific_output_count is None++ result = output_multiplicity_to_apply(5, False)+ assert result.resolved_multiplicity is False+ assert result.enable_multiple_outputs is False+ assert result.specific_output_count is None++ # Override int beats any base+ result = output_multiplicity_to_apply(True, 3)+ assert result.resolved_multiplicity == 3+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == 3++ result = output_multiplicity_to_apply(7, 3)+ assert result.resolved_multiplicity == 3+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == 3++ # Override True with int base preserves int+ result = output_multiplicity_to_apply(5, True)+ assert result.resolved_multiplicity == 5+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == 5++ # Override True with bool base becomes True+ result = output_multiplicity_to_apply(True, True)+ assert result.resolved_multiplicity is True+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count is None++ result = output_multiplicity_to_apply(False, True)+ assert result.resolved_multiplicity is True+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count is None++ def test_complex_scenarios(self):+ """Test complex real-world scenarios."""+ # Scenario: Pipe has base multiplicity=3, runtime wants to disable it+ result = output_multiplicity_to_apply(3, False)+ assert result.resolved_multiplicity is False+ assert result.enable_multiple_outputs is False+ assert result.specific_output_count is None++ # Scenario: Pipe has no base multiplicity, runtime wants 5 outputs+ result = output_multiplicity_to_apply(None, 5)+ assert result.resolved_multiplicity == 5+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == 5++ # Scenario: Pipe has base True, runtime wants specific count+ result = output_multiplicity_to_apply(True, 2)+ assert result.resolved_multiplicity == 2+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == 2++ # Scenario: Pipe has base count, runtime wants to enable but let LLM decide+ result = output_multiplicity_to_apply(4, True)+ assert result.resolved_multiplicity == 4 # Preserves base count+ assert result.enable_multiple_outputs is True+ assert result.specific_output_count == 4diff --git a/tests/unit/pipelex/core/pipes/test_pipe_sequence_validation.py b/tests/unit/pipelex/core/pipes/test_pipe_sequence_validation.pydeleted file mode 100644index eac0444bf..000000000--- a/tests/unit/pipelex/core/pipes/test_pipe_sequence_validation.py+++ /dev/null@@ -1,41 +0,0 @@-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint, PipeInputSpec-from pipelex.pipe_controllers.pipe_sequence import PipeSequence-from pipelex.pipe_controllers.sub_pipe import SubPipe---class TestPipeSequenceValidation:- """Tests for PipeSequence validate_inputs method"""-- def test_pipe_sequence_creation(self):- """Test basic PipeSequence creation"""- pipe_sequence = PipeSequence(- domain="test_domain",- code="test_sequence",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_domain", blueprint={"text": InputRequirementBlueprint(concept_code="test_domain.Text")}- ),- output_concept_code="test_domain.ProcessedText",- sequential_sub_pipes=[SubPipe(pipe_code="test_pipe_1", output_name="intermediate_result")],- )-- assert pipe_sequence.code == "test_sequence"- assert pipe_sequence.domain == "test_domain"- assert len(pipe_sequence.sequential_sub_pipes) == 1- assert pipe_sequence.sequential_sub_pipes[0].pipe_code == "test_pipe_1"- assert pipe_sequence.sequential_sub_pipes[0].output_name == "intermediate_result"-- def test_pipe_sequence_multiple_sub_pipes(self):- """Test PipeSequence with multiple sequential sub-pipes"""- pipe_sequence = PipeSequence(- domain="test_domain",- code="test_sequence",- inputs=PipeInputSpec.make_from_blueprint(- domain="test_domain", blueprint={"initial_input": InputRequirementBlueprint(concept_code="test_domain.Text")}- ),- output_concept_code="test_domain.FinalOutput",- sequential_sub_pipes=[SubPipe(pipe_code="step_1", output_name="intermediate"), SubPipe(pipe_code="step_2", output_name="final_output")],- )-- assert pipe_sequence.code == "test_sequence"- assert len(pipe_sequence.sequential_sub_pipes) == 2- assert pipe_sequence.inputs.root["initial_input"].concept_code == "test_domain.Text"diff --git a/tests/unit/pipelex/core/stuffs/test_stuff_content_factory.py b/tests/unit/pipelex/core/stuffs/test_stuff_content_factory.pyindex 06e907e25..c26cb4bda 100644--- a/tests/unit/pipelex/core/stuffs/test_stuff_content_factory.py+++ b/tests/unit/pipelex/core/stuffs/test_stuff_content_factory.py@@ -2,6 +2,9 @@ from typing import Any, ClassVar, Dict, List, Tupleimport pytest+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnum+from pipelex.core.domains.domain import SpecialDomainfrom pipelex.core.stuffs.stuff_content import StructuredContent, TextContentfrom pipelex.core.stuffs.stuff_factory import StuffContentFactory@@ -9,31 +12,37 @@ from pipelex.core.stuffs.stuff_factory import StuffContentFactoryclass TestCases:# Test cases for TextContent with string contentTEXT_STRING_BLUEPRINT: ClassVar[Dict[str, Any]] = {- "concept_code": "native.Text",+ "concept_string": f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}","content": "The Dawn of Ultra-Rapid Transit: NextGen High-Speed Trains Redefine Travel",}# Test cases for TextContent with dict content- TEXT_DICT_BLUEPRINT: ClassVar[Dict[str, Any]] = {"concept_code": "native.Text", "content": {"text": "Sample text content"}}+ TEXT_DICT_BLUEPRINT: ClassVar[Dict[str, Any]] = {+ "concept_string": f"{SpecialDomain.NATIVE.value}.{NativeConceptEnum.TEXT.value}",+ "content": {"text": "Sample text content"},+ }# Test cases for native concept without prefix (should work)- TEXT_NO_PREFIX_BLUEPRINT: ClassVar[Dict[str, Any]] = {"concept_code": "Text", "content": {"text": "Text content without native prefix"}}+ TEXT_NO_PREFIX_BLUEPRINT: ClassVar[Dict[str, Any]] = {+ "concept_string": f"{NativeConceptEnum.TEXT.value}",+ "content": {"text": "Text content without native prefix"},+ }# Test cases for registered class (using actual registered class)REGISTERED_CLASS_BLUEPRINT: ClassVar[Dict[str, Any]] = {- "concept_code": "test.MockRegisteredContent",+ "concept_string": "test.MockRegisteredContent","content": {"title": "Test Question", "description": "What are aerodynamic features?"},}# Test cases for unregistered class (creates implicit concept, returns TextContent)UNREGISTERED_STRING_BLUEPRINT: ClassVar[Dict[str, Any]] = {- "concept_code": "unknown.NonExistentConcept",+ "concept_string": "unknown.NonExistentConcept","content": "This should create implicit concept and return TextContent",}# Test cases for unregistered class with dict contentUNREGISTERED_DICT_BLUEPRINT: ClassVar[Dict[str, Any]] = {- "concept_code": "unknown.NonExistentConcept",+ "concept_string": "unknown.NonExistentConcept","content": {"text": "Dict content for implicit concept"},}@@ -79,15 +88,18 @@ class TestStuffContentFactory:def test_make_stuffcontent_from_concept_code_required_text_content(self):"""Test required method with native.Text concept (should work)."""- result = StuffContentFactory.make_stuffcontent_from_concept_code_required(concept_code="native.Text", value="Test text content")+ result = StuffContentFactory.make_stuff_content_from_concept_required(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]), value="Test text content"+ )assert isinstance(result, TextContent)assert result.text == "Test text content"def test_make_stuffcontent_from_concept_code_required_implicit_concept(self):"""Test required method with implicit concept (should create TextContent)."""- result = StuffContentFactory.make_stuffcontent_from_concept_code_required(- concept_code="unknown.NonExistentConcept", value="Test content for implicit concept"+ result = StuffContentFactory.make_stuff_content_from_concept_required(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),+ value="Test content for implicit concept",)assert isinstance(result, TextContent)@@ -95,15 +107,18 @@ class TestStuffContentFactory:def test_make_stuffcontent_from_concept_code_with_fallback_text_success(self):"""Test fallback method with native.Text concept."""- result = StuffContentFactory.make_stuffcontent_from_concept_code_with_fallback(concept_code="native.Text", value="Test text content")+ result = StuffContentFactory.make_stuff_content_from_concept_with_fallback(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]), value="Test text content"+ )assert isinstance(result, TextContent)assert result.text == "Test text content"def test_make_stuffcontent_from_concept_code_with_fallback_implicit_string(self):"""Test fallback method with implicit concept and string value."""- result = StuffContentFactory.make_stuffcontent_from_concept_code_with_fallback(- concept_code="unknown.NonExistentConcept", value="Fallback text content"+ result = StuffContentFactory.make_stuff_content_from_concept_with_fallback(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),+ value="Fallback text content",)assert isinstance(result, TextContent)@@ -111,8 +126,9 @@ class TestStuffContentFactory:def test_make_stuffcontent_from_concept_code_with_fallback_implicit_dict(self):"""Test fallback method with implicit concept and dict value."""- result = StuffContentFactory.make_stuffcontent_from_concept_code_with_fallback(- concept_code="unknown.NonExistentConcept", value={"text": "Dict fallback content"}+ result = StuffContentFactory.make_stuff_content_from_concept_with_fallback(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]),+ value={"text": "Dict fallback content"},)assert isinstance(result, TextContent)@@ -124,12 +140,13 @@ class TestStuffContentFactory:)def test_blueprint_scenarios(self, test_name: str, blueprint: Dict[str, Any]):"""Test various blueprint scenarios with parametrized test cases."""- concept_code = blueprint["concept_code"]content = blueprint["content"]if test_name.startswith("text_"):# Test native.Text concept with required method- result = StuffContentFactory.make_stuffcontent_from_concept_code_required(concept_code=concept_code, value=content)+ result = StuffContentFactory.make_stuff_content_from_concept_required(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]), value=content+ )assert isinstance(result, TextContent)if isinstance(content, str):assert result.text == content@@ -144,7 +161,9 @@ class TestStuffContentFactory:# Test required method - it will succeed but create TextContent# The dict will be passed through model_validate which should fail for TextContenttry:- result_required = StuffContentFactory.make_stuffcontent_from_concept_code_required(concept_code=concept_code, value=content)+ result_required = StuffContentFactory.make_stuff_content_from_concept_required(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]), value=content+ )# If it succeeds, it should be TextContent (due to implicit concept)assert isinstance(result_required, TextContent)except Exception:@@ -153,7 +172,9 @@ class TestStuffContentFactory:# Test fallback method - same behavior expectedtry:- result_fallback = StuffContentFactory.make_stuffcontent_from_concept_code_with_fallback(concept_code=concept_code, value=content)+ result_fallback = StuffContentFactory.make_stuff_content_from_concept_with_fallback(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]), value=content+ )# If it succeeds, it should be TextContent (due to implicit concept)assert isinstance(result_fallback, TextContent)except Exception:@@ -164,10 +185,14 @@ class TestStuffContentFactory:# Test behavior for unregistered/implicit concepts# Both methods should work and return TextContent due to implicit concept creation- result_required = StuffContentFactory.make_stuffcontent_from_concept_code_required(concept_code=concept_code, value=content)+ result_required = StuffContentFactory.make_stuff_content_from_concept_required(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]), value=content+ )assert isinstance(result_required, TextContent)- result_fallback = StuffContentFactory.make_stuffcontent_from_concept_code_with_fallback(concept_code=concept_code, value=content)+ result_fallback = StuffContentFactory.make_stuff_content_from_concept_with_fallback(+ concept=ConceptFactory.make_native_concept(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT]), value=content+ )assert isinstance(result_fallback, TextContent)# Both should produce the same resultdiff --git a/tests/unit/pipelex/core/stuffs/test_stuff_factory_make_stuff_from_content.py b/tests/unit/pipelex/core/stuffs/test_stuff_factory_make_stuff_from_content.pynew file mode 100644index 000000000..4d75b776b--- /dev/null+++ b/tests/unit/pipelex/core/stuffs/test_stuff_factory_make_stuff_from_content.py@@ -0,0 +1,363 @@+from typing import Any, ClassVar, Dict, List++import pytest+from pytest_mock import MockerFixture++from pipelex.core.concepts.concept_native import NATIVE_CONCEPTS_DATA, NativeConceptEnum+from pipelex.core.domains.domain import SpecialDomain+from pipelex.core.stuffs.stuff import Stuff+from pipelex.core.stuffs.stuff_content import (+ ListContent,+ StructuredContent,+ StuffContent,+ TextContent,+)+from pipelex.core.stuffs.stuff_factory import StuffFactory, StuffFactoryError+++class MockCustomContent(StructuredContent):+ """Mock content class for testing custom concepts."""++ title: str+ description: str+++class TestData:+ """Test data for various input scenarios."""++ # Basic test data+ TEXT_STRING: ClassVar[str] = "This is a test text"+ CONCEPT_NAME: ClassVar[str] = "TestConcept"+ SEARCH_DOMAINS: ClassVar[List[str]] = ["test", "native"]+ STUFF_NAME: ClassVar[str] = "test_stuff"+ STUFF_CODE: ClassVar[str] = "test123"++ # ListContent test data+ TEXT_LIST_ITEMS: ClassVar[List[TextContent]] = [+ TextContent(text="Item 1"),+ TextContent(text="Item 2"),+ ]+ EMPTY_LIST_CONTENT: ClassVar[ListContent[TextContent]] = ListContent(items=[])++ # Dictionary test data - native concept+ NATIVE_TEXT_DICT: ClassVar[Dict[str, Any]] = {"concept": NativeConceptEnum.TEXT.value, "content": {"text": "Native text content"}}++ # Dictionary test data - custom concept with concept field+ CUSTOM_CONCEPT_DICT: ClassVar[Dict[str, Any]] = {+ "concept": "test.CustomConcept",+ "content": {"title": "Test Title", "description": "Test Description"},+ }++ # Dictionary test data - custom concept with concept_code field+ CUSTOM_CONCEPT_CODE_DICT: ClassVar[Dict[str, Any]] = {"concept_code": "test.AnotherConcept", "content": {"data": "test data"}}++ # Dictionary test data - missing concept+ MISSING_CONCEPT_DICT: ClassVar[Dict[str, Any]] = {"content": {"data": "test data"}}++ # Dictionary test data - missing content+ MISSING_CONTENT_DICT: ClassVar[Dict[str, Any]] = {"concept": "test.SomeConcept"}+++class TestMakeStuffFromStuffContentUsingSearchDomains:+ """Unit tests for make_stuff_from_stuff_content_using_search_domains method."""++ def test_listcontent_with_valid_items(self, mocker: MockerFixture):+ """Test ListContent with valid items."""+ list_content: ListContent[TextContent] = ListContent(items=TestData.TEXT_LIST_ITEMS)++ mock_stuff = mocker.Mock(spec=Stuff)+ mock_make = mocker.patch.object(StuffFactory, "make_stuff_using_concept_name_and_search_domains", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=list_content,+ search_domains=TestData.SEARCH_DOMAINS,+ stuff_code=TestData.STUFF_CODE,+ )++ assert result == mock_stuff+ mock_make.assert_called_once_with(+ concept_name="TextContent",+ search_domains=TestData.SEARCH_DOMAINS,+ content=list_content,+ name=TestData.STUFF_NAME,+ code=TestData.STUFF_CODE,+ )++ def test_listcontent_with_empty_items_raises_error(self):+ """Test ListContent with empty items raises StuffFactoryError."""+ with pytest.raises(StuffFactoryError, match="ListContent in compact memory has no items"):+ StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=TestData.EMPTY_LIST_CONTENT,+ search_domains=TestData.SEARCH_DOMAINS,+ )++ def test_listcontent_make_stuff_failure_wraps_error(self, mocker: MockerFixture):+ """Test ListContent wraps StuffFactoryError from make_stuff_using_concept_name_and_search_domains."""+ list_content: ListContent[TextContent] = ListContent(items=TestData.TEXT_LIST_ITEMS)++ original_error = StuffFactoryError("Original error")+ mocker.patch.object(StuffFactory, "make_stuff_using_concept_name_and_search_domains", side_effect=original_error)++ with pytest.raises(StuffFactoryError, match="Could not make stuff for ListContent 'test_stuff': Original error"):+ StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=list_content,+ search_domains=TestData.SEARCH_DOMAINS,+ )++ def test_stuffcontent_with_native_concept(self, mocker: MockerFixture):+ """Test StuffContent with native concept class name."""+ mock_provider = mocker.patch("pipelex.core.stuffs.stuff_factory.get_concept_provider").return_value+ mock_concept = mocker.Mock()+ mock_provider.get_required_concept.return_value = mock_concept++ text_content = TextContent(text="test")++ mock_stuff = mocker.Mock(spec=Stuff)+ mocker.patch.object(StuffFactory, "make_stuff", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=text_content,+ search_domains=TestData.SEARCH_DOMAINS,+ stuff_code=TestData.STUFF_CODE,+ )++ assert result == mock_stuff+ mock_provider.get_required_concept.assert_called_once_with(concept_string=f"{SpecialDomain.NATIVE.value}.Text")++ def test_stuffcontent_with_non_native_concept(self, mocker: MockerFixture):+ """Test StuffContent with non-native concept properly extracts concept name."""+ custom_content = MockCustomContent(title="Test", description="Test desc")++ mock_stuff = mocker.Mock(spec=Stuff)+ mock_make = mocker.patch.object(StuffFactory, "make_stuff_using_concept_name_and_search_domains", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=custom_content,+ search_domains=TestData.SEARCH_DOMAINS,+ )++ assert result == mock_stuff+ mock_make.assert_called_once_with(+ concept_name="MockCustom", # Should extract this from MockCustomContent+ search_domains=TestData.SEARCH_DOMAINS,+ content=custom_content,+ name=TestData.STUFF_NAME,+ code=None,+ )++ def test_list_with_valid_items(self, mocker: MockerFixture):+ """Test plain list with valid items."""+ test_list = [TextContent(text="Item 1"), TextContent(text="Item 2")]++ mock_stuff = mocker.Mock(spec=Stuff)+ mock_make = mocker.patch.object(StuffFactory, "make_stuff_using_concept_name_and_search_domains", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=test_list,+ search_domains=TestData.SEARCH_DOMAINS,+ stuff_code=TestData.STUFF_CODE,+ )++ assert result == mock_stuff+ # Verify the content is wrapped in ListContent+ call_args = mock_make.call_args[1]+ assert isinstance(call_args["content"], ListContent)+ assert call_args["content"].items == test_list+ assert call_args["concept_name"] == "TextContent"++ def test_list_with_empty_items_raises_error(self):+ """Test plain list with empty items raises StuffFactoryError."""+ with pytest.raises(StuffFactoryError, match="List in compact memory has no items"):+ StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=[],+ search_domains=TestData.SEARCH_DOMAINS,+ )++ def test_list_make_stuff_failure_wraps_error(self, mocker: MockerFixture):+ """Test plain list wraps StuffFactoryError from make_stuff_using_concept_name_and_search_domains."""+ test_list = [TextContent(text="Item 1")]++ original_error = StuffFactoryError("Original error")+ mocker.patch.object(StuffFactory, "make_stuff_using_concept_name_and_search_domains", side_effect=original_error)++ with pytest.raises(StuffFactoryError, match="Could not make stuff for list of StuffContent 'test_stuff': Original error"):+ StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=test_list,+ search_domains=TestData.SEARCH_DOMAINS,+ )++ def test_string_input(self, mocker: MockerFixture):+ """Test string input creates TextContent with TEXT concept."""+ mock_concept = mocker.Mock()+ mock_concept_factory = mocker.patch("pipelex.core.stuffs.stuff_factory.ConceptFactory")+ mock_concept_factory.make_native_concept.return_value = mock_concept++ mock_stuff = mocker.Mock(spec=Stuff)+ mocker.patch.object(StuffFactory, "make_stuff", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=TestData.TEXT_STRING,+ search_domains=TestData.SEARCH_DOMAINS,+ )++ assert result == mock_stuff+ mock_concept_factory.make_native_concept.assert_called_once_with(native_concept_data=NATIVE_CONCEPTS_DATA[NativeConceptEnum.TEXT])++ def test_dict_with_native_concept(self, mocker: MockerFixture):+ """Test dictionary with native concept."""+ mock_concept = mocker.Mock()+ mock_concept_factory = mocker.patch("pipelex.core.stuffs.stuff_factory.ConceptFactory")+ mock_concept_factory.make_native_concept.return_value = mock_concept++ mock_content = mocker.Mock(spec=StuffContent)+ mock_content_factory = mocker.patch("pipelex.core.stuffs.stuff_factory.StuffContentFactory")+ mock_content_factory.make_stuff_content_from_concept_with_fallback.return_value = mock_content++ mock_stuff = mocker.Mock(spec=Stuff)+ mocker.patch.object(StuffFactory, "make_stuff", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=TestData.NATIVE_TEXT_DICT,+ search_domains=TestData.SEARCH_DOMAINS,+ stuff_code=TestData.STUFF_CODE,+ )++ assert result == mock_stuff+ mock_concept_factory.make_native_concept.assert_called_once()+ mock_content_factory.make_stuff_content_from_concept_with_fallback.assert_called_once()++ def test_dict_with_custom_concept_and_stuffcontent_value(self, mocker: MockerFixture):+ """Test dictionary with custom concept and StuffContent as content value."""+ mock_provider = mocker.patch("pipelex.core.stuffs.stuff_factory.get_concept_provider").return_value+ mock_concept = mocker.Mock()+ mock_provider.get_required_concept.return_value = mock_concept++ test_content = TextContent(text="test")+ test_dict = {"concept": "test.CustomConcept", "content": test_content}++ mock_stuff = mocker.Mock(spec=Stuff)+ mocker.patch.object(StuffFactory, "make_stuff", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=test_dict,+ search_domains=TestData.SEARCH_DOMAINS,+ stuff_code=TestData.STUFF_CODE,+ )++ assert result == mock_stuff+ mock_provider.get_required_concept.assert_called_once_with(concept_string="test.CustomConcept")++ def test_dict_with_custom_concept_and_dict_value(self, mocker: MockerFixture):+ """Test dictionary with custom concept and dict as content value."""+ mock_provider = mocker.patch("pipelex.core.stuffs.stuff_factory.get_concept_provider").return_value+ mock_concept = mocker.Mock()+ mock_provider.get_required_concept.return_value = mock_concept++ mock_content = mocker.Mock(spec=StuffContent)+ mock_content_factory = mocker.patch("pipelex.core.stuffs.stuff_factory.StuffContentFactory")+ mock_content_factory.make_stuff_content_from_concept_with_fallback.return_value = mock_content++ mock_stuff = mocker.Mock(spec=Stuff)+ mocker.patch.object(StuffFactory, "make_stuff", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=TestData.CUSTOM_CONCEPT_DICT,+ search_domains=TestData.SEARCH_DOMAINS,+ stuff_code=TestData.STUFF_CODE,+ )++ assert result == mock_stuff+ mock_provider.get_required_concept.assert_called_with(concept_string="test.CustomConcept")+ mock_content_factory.make_stuff_content_from_concept_with_fallback.assert_called_once_with(+ concept=mock_concept, value={"title": "Test Title", "description": "Test Description"}+ )++ def test_dict_with_concept_code_field(self, mocker: MockerFixture):+ """Test dictionary with concept_code field instead of concept."""+ mock_provider = mocker.patch("pipelex.core.stuffs.stuff_factory.get_concept_provider").return_value+ mock_concept = mocker.Mock()+ mock_provider.get_required_concept.return_value = mock_concept++ mock_content = mocker.Mock(spec=StuffContent)+ mock_content_factory = mocker.patch("pipelex.core.stuffs.stuff_factory.StuffContentFactory")+ mock_content_factory.make_stuff_content_from_concept_with_fallback.return_value = mock_content++ mock_stuff = mocker.Mock(spec=Stuff)+ mocker.patch.object(StuffFactory, "make_stuff", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=TestData.CUSTOM_CONCEPT_CODE_DICT,+ search_domains=TestData.SEARCH_DOMAINS,+ )++ assert result == mock_stuff++ def test_dict_missing_concept_raises_error(self):+ """Test dictionary missing concept field raises StuffFactoryError."""+ with pytest.raises(StuffFactoryError, match="Stuff content data dict is badly formed: no concept code"):+ StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=TestData.MISSING_CONCEPT_DICT,+ search_domains=TestData.SEARCH_DOMAINS,+ )++ def test_dict_missing_content_raises_error(self):+ """Test dictionary missing content field raises StuffFactoryError."""+ with pytest.raises(StuffFactoryError, match="Stuff content data dict is badly formed: 'content'"):+ StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=TestData.MISSING_CONTENT_DICT,+ search_domains=TestData.SEARCH_DOMAINS,+ )++ def test_default_parameters(self, mocker: MockerFixture):+ """Test function with default parameters (no stuff_code)."""+ mock_concept = mocker.Mock()+ mock_concept_factory = mocker.patch("pipelex.core.stuffs.stuff_factory.ConceptFactory")+ mock_concept_factory.make_native_concept.return_value = mock_concept++ mock_stuff = mocker.Mock(spec=Stuff)+ mocker.patch.object(StuffFactory, "make_stuff", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=TestData.TEXT_STRING,+ search_domains=TestData.SEARCH_DOMAINS,+ )++ assert result == mock_stuff++ def test_empty_search_domains(self, mocker: MockerFixture):+ """Test function with empty search domains list."""+ list_content: ListContent[TextContent] = ListContent(items=TestData.TEXT_LIST_ITEMS)++ mock_stuff = mocker.Mock(spec=Stuff)+ mock_make = mocker.patch.object(StuffFactory, "make_stuff_using_concept_name_and_search_domains", return_value=mock_stuff)++ result = StuffFactory.make_stuff_from_stuff_content_using_search_domains(+ name=TestData.STUFF_NAME,+ stuff_content_or_data=list_content,+ search_domains=[],+ )++ assert result == mock_stuff+ mock_make.assert_called_once_with(+ concept_name="TextContent",+ search_domains=[],+ content=list_content,+ name=TestData.STUFF_NAME,+ code=None,+ )diff --git a/tests/unit/pipelex/core/test_data/__init__.py b/tests/unit/pipelex/core/test_data/__init__.pyindex d63ec8f8f..c5a5b71ed 100644--- a/tests/unit/pipelex/core/test_data/__init__.py+++ b/tests/unit/pipelex/core/test_data/__init__.py@@ -1,6 +1,6 @@"""Organized test data for PipelexInterpreter tests."""-from typing import ClassVar, List, Tuple+from typing import ClassVar, List, Tuple, Type, Unionfrom pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint@@ -39,7 +39,7 @@ class InterpreterTestCases:*PIPE_FUNC_TEST_CASES,*PIPE_IMG_GEN_TEST_CASES,*PIPE_JINJA2_TEST_CASES,- # Pipe controller tests+ # # Pipe controller tests*PIPE_SEQUENCE_TEST_CASES,*PIPE_CONDITION_TEST_CASES,*PIPE_PARALLEL_TEST_CASES,@@ -49,4 +49,4 @@ class InterpreterTestCases:]# Error test cases- ERROR_TEST_CASES: ClassVar[List[Tuple[str, str]]] = ERROR_TEST_CASES+ ERROR_TEST_CASES: ClassVar[List[Tuple[str, str, Union[Type[Exception], Tuple[Type[Exception], ...]]]]] = ERROR_TEST_CASESdiff --git a/tests/unit/pipelex/core/test_data/complex/multi_feature.py b/tests/unit/pipelex/core/test_data/complex/multi_feature.pyindex fac28db5b..85f8225d9 100644--- a/tests/unit/pipelex/core/test_data/complex/multi_feature.py+++ b/tests/unit/pipelex/core/test_data/complex/multi_feature.py@@ -1,10 +1,9 @@"""Complex test cases combining multiple features."""from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.core.pipes.pipe_input_spec import InputRequirementBlueprint-from pipelex.pipe_controllers.pipe_sequence_factory import PipeSequenceBlueprint-from pipelex.pipe_controllers.sub_pipe_factory import SubPipeBlueprint-from pipelex.pipe_operators.pipe_llm_factory import PipeLLMBlueprint+from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprint+from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprintCOMPLEX_PIPES = ("complex_pipes",@@ -18,15 +17,15 @@ ProcessedData = "Processed data concept"[pipe.llm_pipe]type = "PipeLLM"definition = "Generate content"-output = "ProcessedData"inputs = { data = "InputData" }+output = "ProcessedData"prompt_template = "Process this data: @data"[pipe.sequence_pipe]type = "PipeSequence"definition = "Sequential processing"-output = "ProcessedData"inputs = { input_data = "InputData" }+output = "ProcessedData"steps = [{ pipe = "llm_pipe", result = "llm_result" },{ pipe = "final_step", result = "final_output" },@@ -43,14 +42,14 @@ steps = ["llm_pipe": PipeLLMBlueprint(type="PipeLLM",definition="Generate content",- inputs={"data": InputRequirementBlueprint(concept_code="InputData")},+ inputs={"data": "InputData"},output="ProcessedData",prompt_template="Process this data: @data",),"sequence_pipe": PipeSequenceBlueprint(type="PipeSequence",definition="Sequential processing",- inputs={"input_data": InputRequirementBlueprint(concept_code="InputData")},+ inputs={"input_data": "InputData"},output="ProcessedData",steps=[SubPipeBlueprint(pipe="llm_pipe", result="llm_result"),diff --git a/tests/unit/pipelex/core/test_data/concepts/refining_concepts.py b/tests/unit/pipelex/core/test_data/concepts/refining_concepts.pyindex 7f486319d..da3d9170c 100644--- a/tests/unit/pipelex/core/test_data/concepts/refining_concepts.py+++ b/tests/unit/pipelex/core/test_data/concepts/refining_concepts.py@@ -14,7 +14,7 @@ Concept2 = "A concept2"[concept.Concept3]definition = "A concept3"-refines = "Concept2"+refines = "Image"""",PipelexBundleBlueprint(domain="refining_concepts",@@ -22,7 +22,7 @@ refines = "Concept2"concept={"Concept1": "A concept1","Concept2": "A concept2",- "Concept3": ConceptBlueprint(definition="A concept3", refines="Concept2"),+ "Concept3": ConceptBlueprint(definition="A concept3", refines="Image"),},),)diff --git a/tests/unit/pipelex/core/test_data/errors/invalid_toml.py b/tests/unit/pipelex/core/test_data/errors/invalid_toml.pyindex 26fc011a8..60c0f332e 100644--- a/tests/unit/pipelex/core/test_data/errors/invalid_toml.py+++ b/tests/unit/pipelex/core/test_data/errors/invalid_toml.py@@ -1,30 +1,231 @@-"""Invalid TOML test cases."""+"""Invalid TOML test cases focused on TOML structure and PipelexBundleBlueprint validation."""-from typing import List, Tuple+from typing import List, Tuple, Type, Union+import toml+from pydantic import ValidationError++from pipelex.core.domains.exceptions import DomainError++# TOML Syntax ErrorsINVALID_TOML_SYNTAX = ("invalid_toml_syntax",- """domain = "invalid_syntax"+ """domain = "test_domain"definition = "Domain with invalid TOML syntax"[concept]InvalidConcept = "This is missing a closing quote""",- None, # Should raise an exception+ toml.TomlDecodeError,+)++MALFORMED_SECTION = (+ "malformed_section",+ """domain = "test_domain"+definition = "Domain with malformed section"++[concept+TestConcept = "Missing closing bracket"+""",+ toml.TomlDecodeError,+)++UNCLOSED_STRING = (+ "unclosed_string",+ """domain = "test_domain"+definition = "Domain with unclosed string+""",+ toml.TomlDecodeError,+)++DUPLICATE_KEYS = (+ "duplicate_keys",+ """domain = "test_domain"+definition = "First definition"+definition = "Duplicate definition key"++[concept]+TestConcept = "A test concept"+""",+ toml.TomlDecodeError,+)++INVALID_ESCAPE_SEQUENCE = (+ "invalid_escape_sequence",+ """domain = "test_domain"+definition = "Domain with invalid escape sequence \\z"++[concept]+TestConcept = "A test concept"+""",+ toml.TomlDecodeError,)+# PipelexBundleBlueprint Structure ErrorsMISSING_DOMAIN = ("missing_domain",- """# Missing domain field+ """# Missing required domain fielddefinition = "Domain without domain field"[concept]TestConcept = "A test concept"""",- None, # Should raise an exception+ ValidationError,+)++INVALID_DOMAIN_NAME = (+ "invalid_domain_name",+ """domain = "invalid-domain-with-hyphens"+definition = "Domain with invalid characters"++[concept]+TestConcept = "A test concept"+""",+ DomainError,+)++EMPTY_DOMAIN = (+ "empty_domain",+ """domain = ""+definition = "Domain with empty string"++[concept]+TestConcept = "A test concept"+""",+ DomainError,+)++INVALID_ROOT_KEY = (+ "invalid_root_key",+ """domain = "test_domain"+definition = "Domain with invalid root key"+invalid_root_key = "This key should not be allowed at root level"++[concept]+TestConcept = "A test concept"+""",+ ValidationError,+)++MULTIPLE_INVALID_ROOT_KEYS = (+ "multiple_invalid_root_keys",+ """domain = "test_domain"+definition = "Domain with multiple invalid root keys"+invalid_key_1 = "First invalid key"+invalid_key_2 = "Second invalid key"+unknown_field = "Another unknown field"++[concept]+TestConcept = "A test concept"+""",+ ValidationError,+)++WRONG_TYPE_FOR_DOMAIN = (+ "wrong_type_for_domain",+ """domain = 123+definition = "Domain should be string, not number"++[concept]+TestConcept = "A test concept"+""",+ TypeError,+)++WRONG_TYPE_FOR_DEFINITION = (+ "wrong_type_for_definition",+ """domain = "test_domain"+definition = 456++[concept]+TestConcept = "A test concept"+""",+ ValidationError,+)++WRONG_TYPE_FOR_CONCEPT_SECTION = (+ "wrong_type_for_concept_section",+ """domain = "test_domain"+definition = "Domain with wrong type for concept"+concept = "should_be_dict_not_string"+""",+ ValidationError,+)++WRONG_TYPE_FOR_PIPE_SECTION = (+ "wrong_type_for_pipe_section",+ """domain = "test_domain"+definition = "Domain with wrong type for pipe"+pipe = "should_be_dict_not_string"+""",+ ValidationError,+)++INVALID_NESTED_SECTION = (+ "invalid_nested_section",+ """domain = "test_domain"+definition = "Domain with invalid nested section"++[invalid_section]+some_key = "This section is not allowed"++[concept]+TestConcept = "A test concept"+""",+ ValidationError,+)++INVALID_TABLE_SYNTAX = (+ "invalid_table_syntax",+ """domain = "test_domain"+definition = "Domain with invalid table syntax"++[concept.]+InvalidName = "Empty table name"+""",+ toml.TomlDecodeError,+)++INVALID_ARRAY_SYNTAX = (+ "invalid_array_syntax",+ """domain = "test_domain"+definition = "Domain with invalid array syntax"++[concept]+TestConcept = ["Unclosed array"+""",+ ValidationError,+)+INVALID_ARRAY_SYNTAX2 = (+ "invalid_array_syntax",+ """domain = "test_domain"+definition = "Domain with invalid array syntax"++[concept]+[concept]+""",+ toml.TomlDecodeError,)# Export all error test cases-ERROR_TEST_CASES: List[Tuple[str, str]] = [- (INVALID_TOML_SYNTAX[0], INVALID_TOML_SYNTAX[1]),- (MISSING_DOMAIN[0], MISSING_DOMAIN[1]),+ERROR_TEST_CASES: List[Tuple[str, str, Union[Type[Exception], Tuple[Type[Exception], ...]]]] = [+ # TOML Syntax Errors+ INVALID_TOML_SYNTAX,+ MALFORMED_SECTION,+ UNCLOSED_STRING,+ DUPLICATE_KEYS,+ INVALID_ESCAPE_SEQUENCE,+ INVALID_TABLE_SYNTAX,+ INVALID_ARRAY_SYNTAX,+ INVALID_ARRAY_SYNTAX2,+ # PipelexBundleBlueprint Structure Errors+ MISSING_DOMAIN,+ INVALID_DOMAIN_NAME,+ EMPTY_DOMAIN,+ INVALID_ROOT_KEY,+ MULTIPLE_INVALID_ROOT_KEYS,+ WRONG_TYPE_FOR_DOMAIN,+ WRONG_TYPE_FOR_DEFINITION,+ WRONG_TYPE_FOR_CONCEPT_SECTION,+ WRONG_TYPE_FOR_PIPE_SECTION,+ INVALID_NESTED_SECTION,]diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/batch/pipe_batch.py b/tests/unit/pipelex/core/test_data/pipes/controllers/batch/pipe_batch.pyindex b493cb218..5aa459c10 100644--- a/tests/unit/pipelex/core/test_data/pipes/controllers/batch/pipe_batch.py+++ b/tests/unit/pipelex/core/test_data/pipes/controllers/batch/pipe_batch.py@@ -1,7 +1,7 @@"""PipeBatch test cases."""from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.pipe_controllers.pipe_batch_factory import PipeBatchBlueprint+from pipelex.pipe_controllers.batch.pipe_batch_blueprint import PipeBatchBlueprintPIPE_BATCH = ("pipe_batch",diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/condition/pipe_condition.py b/tests/unit/pipelex/core/test_data/pipes/controllers/condition/pipe_condition.pyindex 973bb8f9e..150f9d445 100644--- a/tests/unit/pipelex/core/test_data/pipes/controllers/condition/pipe_condition.py+++ b/tests/unit/pipelex/core/test_data/pipes/controllers/condition/pipe_condition.py@@ -1,7 +1,7 @@"""PipeCondition test cases."""from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.pipe_controllers.pipe_condition_factory import PipeConditionBlueprint+from pipelex.pipe_controllers.condition.pipe_condition_blueprint import PipeConditionBlueprint, PipeConditionPipeMapBlueprintPIPE_CONDITION = ("pipe_condition",@@ -24,10 +24,12 @@ expression = "input_data.category"definition="Process based on condition",output="ProcessedData",expression="input_data.category",- pipe_map={- "small": "process_small",- "large": "process_large",- },+ pipe_map=PipeConditionPipeMapBlueprint(+ {+ "small": "process_small",+ "large": "process_large",+ }+ ),),},),diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/parallel/pipe_parallel.py b/tests/unit/pipelex/core/test_data/pipes/controllers/parallel/pipe_parallel.pyindex bbce89315..1c4382957 100644--- a/tests/unit/pipelex/core/test_data/pipes/controllers/parallel/pipe_parallel.py+++ b/tests/unit/pipelex/core/test_data/pipes/controllers/parallel/pipe_parallel.py@@ -1,8 +1,8 @@"""PipeParallel test cases."""from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.pipe_controllers.pipe_parallel_factory import PipeParallelBlueprint-from pipelex.pipe_controllers.sub_pipe_factory import SubPipeBlueprint+from pipelex.pipe_controllers.parallel.pipe_parallel_blueprint import PipeParallelBlueprint+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprintPIPE_PARALLEL = ("pipe_parallel",diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/sequence/pipe_sequence.py b/tests/unit/pipelex/core/test_data/pipes/controllers/sequence/pipe_sequence.pyindex 4bb4d95f8..0267d74b7 100644--- a/tests/unit/pipelex/core/test_data/pipes/controllers/sequence/pipe_sequence.py+++ b/tests/unit/pipelex/core/test_data/pipes/controllers/sequence/pipe_sequence.py@@ -1,8 +1,8 @@"""PipeSequence test cases."""from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.pipe_controllers.pipe_sequence_factory import PipeSequenceBlueprint-from pipelex.pipe_controllers.sub_pipe_factory import SubPipeBlueprint+from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint+from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprintPIPE_SEQUENCE = ("pipe_sequence",diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/func/pipe_func.py b/tests/unit/pipelex/core/test_data/pipes/operators/func/pipe_func.pyindex cd395b0eb..9130e6a26 100644--- a/tests/unit/pipelex/core/test_data/pipes/operators/func/pipe_func.py+++ b/tests/unit/pipelex/core/test_data/pipes/operators/func/pipe_func.py@@ -1,7 +1,7 @@"""PipeFunc test cases."""from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.pipe_operators.pipe_func_factory import PipeFuncBlueprint+from pipelex.pipe_operators.func.pipe_func_blueprint import PipeFuncBlueprintPIPE_FUNC = ("pipe_func",diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/img_gen/pipe_img_gen.py b/tests/unit/pipelex/core/test_data/pipes/operators/img_gen/pipe_img_gen.pyindex f9a1e2d6b..90dbe87a4 100644--- a/tests/unit/pipelex/core/test_data/pipes/operators/img_gen/pipe_img_gen.py+++ b/tests/unit/pipelex/core/test_data/pipes/operators/img_gen/pipe_img_gen.py@@ -1,7 +1,8 @@"""PipeImgGen test cases."""from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.pipe_operators.pipe_img_gen_factory import PipeImgGenBlueprint+from pipelex.core.concepts.concept_native import NativeConceptEnum+from pipelex.pipe_operators.img_gen.pipe_img_gen_blueprint import PipeImgGenBlueprintPIPE_IMG_GEN = ("pipe_img_gen",@@ -21,7 +22,7 @@ img_gen_prompt = "A beautiful landscape""generate_image": PipeImgGenBlueprint(type="PipeImgGen",definition="Generate an image from a prompt",- output="Image",+ output=NativeConceptEnum.IMAGE.value,img_gen_prompt="A beautiful landscape",),},diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/jinja2/pipe_jinja2.py b/tests/unit/pipelex/core/test_data/pipes/operators/jinja2/pipe_jinja2.pyindex af5642070..0336a8624 100644--- a/tests/unit/pipelex/core/test_data/pipes/operators/jinja2/pipe_jinja2.py+++ b/tests/unit/pipelex/core/test_data/pipes/operators/jinja2/pipe_jinja2.py@@ -1,7 +1,8 @@"""PipeJinja2 test cases."""from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.pipe_operators.pipe_jinja2_factory import PipeJinja2Blueprint+from pipelex.core.concepts.concept_native import NativeConceptEnum+from pipelex.pipe_operators.jinja2.pipe_jinja2_blueprint import PipeJinja2BlueprintPIPE_JINJA2 = ("pipe_jinja2",@@ -21,7 +22,7 @@ jinja2 = "Hello {{ name }}!""process_template": PipeJinja2Blueprint(type="PipeJinja2",definition="Process a Jinja2 template",- output="Text",+ output=NativeConceptEnum.TEXT.value,jinja2="Hello {{ name }}!",),},diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/llm/pipe_llm.py b/tests/unit/pipelex/core/test_data/pipes/operators/llm/pipe_llm.pyindex 9daf44c54..1fd99bc19 100644--- a/tests/unit/pipelex/core/test_data/pipes/operators/llm/pipe_llm.py+++ b/tests/unit/pipelex/core/test_data/pipes/operators/llm/pipe_llm.py@@ -1,10 +1,13 @@"""PipeLLM test cases."""from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.pipe_operators.pipe_llm_factory import PipeLLMBlueprint+from pipelex.core.concepts.concept_native import NativeConceptEnum+from pipelex.core.pipes.pipe_input_spec_blueprint import InputRequirementBlueprint+from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint-PIPE_LLM = (- "pipe_llm",+# Basic PipeLLM with prompt_template+PIPE_LLM_BASIC = (+ "pipe_llm_basic","""domain = "test_pipes"definition = "Domain with pipe definitions"@@ -21,14 +24,317 @@ prompt_template = "Generate a story about a programmer""generate_text": PipeLLMBlueprint(type="PipeLLM",definition="Generate text using LLM",- output="Text",+ output=NativeConceptEnum.TEXT.value,prompt_template="Generate a story about a programmer",),},),)+# PipeLLM with inputs and template variables+PIPE_LLM_WITH_INPUTS = (+ "pipe_llm_with_inputs",+ """domain = "test_pipes"+definition = "Domain with pipe definitions"++[pipe.extract_info]+type = "PipeLLM"+definition = "Extract information from text"+inputs = { text = "Text", topic = "Text" }+output = "Text"+prompt_template = "Extract information about $topic from this text:\\n\\n@text"+""",+ PipelexBundleBlueprint(+ domain="test_pipes",+ definition="Domain with pipe definitions",+ pipe={+ "extract_info": PipeLLMBlueprint(+ type="PipeLLM",+ definition="Extract information from text",+ inputs={"text": "Text", "topic": "Text"},+ output=NativeConceptEnum.TEXT.value,+ prompt_template="Extract information about $topic from this text:\n\n@text",+ ),+ },+ ),+)++# PipeLLM with system prompt+PIPE_LLM_WITH_SYSTEM_PROMPT = (+ "pipe_llm_with_system_prompt",+ """domain = "test_pipes"+definition = "Domain with pipe definitions"++[pipe.expert_analysis]+type = "PipeLLM"+definition = "Expert analysis with system prompt"+output = "Text"+system_prompt = "You are a data analysis expert with 20 years of experience"+prompt_template = "Analyze the following data and provide insights"+""",+ PipelexBundleBlueprint(+ domain="test_pipes",+ definition="Domain with pipe definitions",+ pipe={+ "expert_analysis": PipeLLMBlueprint(+ type="PipeLLM",+ definition="Expert analysis with system prompt",+ output=NativeConceptEnum.TEXT.value,+ system_prompt="You are a data analysis expert with 20 years of experience",+ prompt_template="Analyze the following data and provide insights",+ ),+ },+ ),+)++# PipeLLM with multiple outputs (nb_output)+PIPE_LLM_MULTIPLE_OUTPUTS = (+ "pipe_llm_multiple_outputs",+ """domain = "test_pipes"+definition = "Domain with pipe definitions"++[pipe.generate_ideas]+type = "PipeLLM"+definition = "Generate multiple ideas"+output = "Text"+nb_output = 3+prompt_template = "Generate creative ideas for a mobile app"+""",+ PipelexBundleBlueprint(+ domain="test_pipes",+ definition="Domain with pipe definitions",+ pipe={+ "generate_ideas": PipeLLMBlueprint(+ type="PipeLLM",+ definition="Generate multiple ideas",+ output=NativeConceptEnum.TEXT.value,+ nb_output=3,+ prompt_template="Generate creative ideas for a mobile app",+ ),+ },+ ),+)++# PipeLLM with dynamic multiple outputs+PIPE_LLM_DYNAMIC_MULTIPLE = (+ "pipe_llm_dynamic_multiple",+ """domain = "test_pipes"+definition = "Domain with pipe definitions"++[pipe.brainstorm_solutions]+type = "PipeLLM"+definition = "Brainstorm multiple solutions"+inputs = { problem = { concept = "Text" } }+output = "Text"+multiple_output = true+prompt_template = "Brainstorm solutions for this problem: @problem"+""",+ PipelexBundleBlueprint(+ domain="test_pipes",+ definition="Domain with pipe definitions",+ pipe={+ "brainstorm_solutions": PipeLLMBlueprint(+ type="PipeLLM",+ definition="Brainstorm multiple solutions",+ inputs={"problem": InputRequirementBlueprint(concept="Text")},+ output=NativeConceptEnum.TEXT.value,+ multiple_output=True,+ prompt_template="Brainstorm solutions for this problem: @problem",+ ),+ },+ ),+)++# PipeLLM with vision (Image input)+PIPE_LLM_VISION = (+ "pipe_llm_vision",+ """domain = "test_pipes"+definition = "Domain with pipe definitions"++[pipe.analyze_image]+type = "PipeLLM"+definition = "Analyze image content"+inputs = { image = "Image" }+output = "Text"+prompt_template = "Describe what you see in this image in detail"+""",+ PipelexBundleBlueprint(+ domain="test_pipes",+ definition="Domain with pipe definitions",+ pipe={+ "analyze_image": PipeLLMBlueprint(+ type="PipeLLM",+ definition="Analyze image content",+ inputs={"image": "Image"},+ output=NativeConceptEnum.TEXT.value,+ prompt_template="Describe what you see in this image in detail",+ ),+ },+ ),+)++# PipeLLM with template name instead of inline template+PIPE_LLM_TEMPLATE_NAME = (+ "pipe_llm_template_name",+ """domain = "test_pipes"+definition = "Domain with pipe definitions"++[pipe.use_template]+type = "PipeLLM"+definition = "Use named template"+inputs = { data = "Text" }+output = "Text"+template_name = "analysis_template"+""",+ PipelexBundleBlueprint(+ domain="test_pipes",+ definition="Domain with pipe definitions",+ pipe={+ "use_template": PipeLLMBlueprint(+ type="PipeLLM",+ definition="Use named template",+ inputs={"data": "Text"},+ output=NativeConceptEnum.TEXT.value,+ template_name="analysis_template",+ ),+ },+ ),+)++# PipeLLM with fixed prompt (no template)+PIPE_LLM_FIXED_PROMPT = (+ "pipe_llm_fixed_prompt",+ """domain = "test_pipes"+definition = "Domain with pipe definitions"++[pipe.simple_generation]+type = "PipeLLM"+definition = "Simple text generation with fixed prompt"+output = "Text"+prompt = "Write a haiku about programming"+""",+ PipelexBundleBlueprint(+ domain="test_pipes",+ definition="Domain with pipe definitions",+ pipe={+ "simple_generation": PipeLLMBlueprint(+ type="PipeLLM",+ definition="Simple text generation with fixed prompt",+ output=NativeConceptEnum.TEXT.value,+ prompt="Write a haiku about programming",+ ),+ },+ ),+)++# PipeLLM with system prompt template+PIPE_LLM_SYSTEM_TEMPLATE = (+ "pipe_llm_system_template",+ """domain = "test_pipes"+definition = "Domain with pipe definitions"++[pipe.contextual_analysis]+type = "PipeLLM"+definition = "Analysis with dynamic system prompt"+inputs = { expertise_level = "Text", content = "Text" }+output = "Text"+system_prompt_template = "You are an expert with $expertise_level level knowledge"+prompt_template = "Analyze this content: @content"+""",+ PipelexBundleBlueprint(+ domain="test_pipes",+ definition="Domain with pipe definitions",+ pipe={+ "contextual_analysis": PipeLLMBlueprint(+ type="PipeLLM",+ definition="Analysis with dynamic system prompt",+ inputs={"expertise_level": "Text", "content": "Text"},+ output=NativeConceptEnum.TEXT.value,+ system_prompt_template="You are an expert with $expertise_level level knowledge",+ prompt_template="Analyze this content: @content",+ ),+ },+ ),+)++# PipeLLM with custom structured output (non-native concept)+PIPE_LLM_STRUCTURED_OUTPUT = (+ "pipe_llm_structured_output",+ """domain = "test_pipes"+definition = "Domain with pipe definitions"++[concept]+PersonInfo = "Information about a person"++[pipe.extract_person_info]+type = "PipeLLM"+definition = "Extract structured person information"+inputs = { text = { concept = "Text", multiplicity = 1 } }+output = "PersonInfo"+prompt_template = "Extract person information from this text: @text"+""",+ PipelexBundleBlueprint(+ domain="test_pipes",+ definition="Domain with pipe definitions",+ concept={"PersonInfo": "Information about a person"},+ pipe={+ "extract_person_info": PipeLLMBlueprint(+ type="PipeLLM",+ definition="Extract structured person information",+ inputs={"text": InputRequirementBlueprint(concept="Text", multiplicity=1)},+ output="PersonInfo",+ prompt_template="Extract person information from this text: @text",+ ),+ },+ ),+)++# PipeLLM with boolean multiplicity values+PIPE_LLM_BOOLEAN_MULTIPLICITY = (+ "pipe_llm_boolean_multiplicity",+ """domain = "test_pipes"+definition = "Domain with pipe definitions"++[concept]+DocumentSummary = "Summary of a document"++[pipe.analyze_documents]+type = "PipeLLM"+definition = "Analyze multiple documents and single query"+inputs = { documents = { concept = "Text", multiplicity = true }, query = { concept = "Text", multiplicity = false } }+output = "DocumentSummary"+prompt_template = "Analyze these documents based on the query: $query\\n\\nDocuments: @documents"+""",+ PipelexBundleBlueprint(+ domain="test_pipes",+ definition="Domain with pipe definitions",+ concept={"DocumentSummary": "Summary of a document"},+ pipe={+ "analyze_documents": PipeLLMBlueprint(+ type="PipeLLM",+ definition="Analyze multiple documents and single query",+ inputs={+ "documents": InputRequirementBlueprint(concept="Text", multiplicity=True),+ "query": InputRequirementBlueprint(concept="Text", multiplicity=False),+ },+ output="DocumentSummary",+ prompt_template="Analyze these documents based on the query: $query\n\nDocuments: @documents",+ ),+ },+ ),+)+# Export all PipeLLM test casesPIPE_LLM_TEST_CASES = [- PIPE_LLM,+ PIPE_LLM_BASIC,+ PIPE_LLM_WITH_INPUTS,+ PIPE_LLM_WITH_SYSTEM_PROMPT,+ PIPE_LLM_MULTIPLE_OUTPUTS,+ PIPE_LLM_DYNAMIC_MULTIPLE,+ PIPE_LLM_VISION,+ PIPE_LLM_TEMPLATE_NAME,+ PIPE_LLM_FIXED_PROMPT,+ PIPE_LLM_SYSTEM_TEMPLATE,+ PIPE_LLM_STRUCTURED_OUTPUT,+ PIPE_LLM_BOOLEAN_MULTIPLICITY,]diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/ocr/pipe_ocr.py b/tests/unit/pipelex/core/test_data/pipes/operators/ocr/pipe_ocr.pyindex c654f42f3..a3e4a6454 100644--- a/tests/unit/pipelex/core/test_data/pipes/operators/ocr/pipe_ocr.py+++ b/tests/unit/pipelex/core/test_data/pipes/operators/ocr/pipe_ocr.py@@ -1,7 +1,8 @@"""PipeOcr test cases."""from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint-from pipelex.pipe_operators.pipe_ocr_factory import PipeOcrBlueprint+from pipelex.core.concepts.concept_native import NativeConceptEnum+from pipelex.pipe_operators.ocr.pipe_ocr_blueprint import PipeOcrBlueprintPIPE_OCR = ("pipe_ocr",@@ -20,7 +21,7 @@ output = "Page""extract_text": PipeOcrBlueprint(type="PipeOcr",definition="Extract text from document",- output="Page",+ output=NativeConceptEnum.PAGE.value,),},),diff --git a/tests/unit/pipelex/create/test_structured_output_generator.py b/tests/unit/pipelex/create/test_structured_output_generator.pyindex 635f88a4d..297c4b8cc 100644--- a/tests/unit/pipelex/create/test_structured_output_generator.py+++ b/tests/unit/pipelex/create/test_structured_output_generator.py@@ -1,455 +1,489 @@"""Tests for structured output generator."""-import pytest+from typing import Dictfrom pipelex import pretty_print-from pipelex.create.structured_output_generator import (- StructuredOutputGenerator,- generate_structured_output_from_inline_definition,- generate_structured_outputs_from_toml_string,-)+from pipelex.core.concepts.concept_blueprint import ConceptStructureBlueprint, ConceptStructureBlueprintFieldType, ConceptStructureBlueprintType+from pipelex.core.concepts.concept_factory import ConceptFactory+from pipelex.create.structured_output_generator import StructureGenerator-class TestStructuredOutputGenerator:+class TestStructureGenerator:def test_simple_structure_generation(self):"""Test generation of a simple structure with basic fields."""- toml_content = """-[structure.TestModel]-definition = "A test model"--[structure.TestModel.fields]-name = { type = "text", definition = "Name field", required = true }-age = { type = "integer", definition = "Age field" }-active = { type = "boolean", definition = "Active status", default = true }-"""-- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)-- pretty_print(toml_content, title="Source TOML")- pretty_print(result, title="Generated Result")-- # Check that basic structure is correct- assert "from typing import Optional" in result- assert "from pipelex.core.stuffs.stuff_content import StructuredContent" in result- assert "from pydantic import Field" in result- assert "class TestModel(StructuredContent):" in result- assert '"""A test model"""' in result- assert 'name: str = Field(..., description="Name field")' in result- assert 'age: Optional[int] = Field(default=None, description="Age field")' in result- assert 'active: Optional[bool] = Field(default=True, description="Active status")' in result-- def test_simplified_field_syntax(self):- """Test the simplified field syntax where a field is just a string definition."""- toml_content = """-[structure.SimpleModel]-definition = "A model with simplified field syntax"--[structure.SimpleModel.fields]-dominant_feature = "The most important or dominant feature in the image"-simple_text = "Just some text"-"""+ structure_blueprint = {+ "name": ConceptStructureBlueprint(definition="Name field", type=ConceptStructureBlueprintFieldType.TEXT, required=True),+ "age": ConceptStructureBlueprint(definition="Age field", type=ConceptStructureBlueprintFieldType.INTEGER, required=False),+ "active": ConceptStructureBlueprint(+ definition="Active status", type=ConceptStructureBlueprintFieldType.BOOLEAN, required=False, default_value=True+ ),+ }- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("TestModel", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- assert 'dominant_feature: Optional[str] = Field(default=None, description="The most important or dominant feature in the image")' in result- assert 'simple_text: Optional[str] = Field(default=None, description="Just some text")' in result+ # Check the complete generated structure+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class TestModel(StructuredContent):\n"+ ' """Generated TestModel class"""\n'+ "\n"+ ' name: str = Field(..., description="Name field")\n'+ ' age: Optional[int] = Field(default=None, description="Age field")\n'+ ' active: Optional[bool] = Field(default=True, description="Active status")\n'+ )+ assert result == expected_resultdef test_complex_types_generation(self):"""Test generation with complex types like lists and dicts."""- toml_content = """-[structure.ComplexModel]-definition = "A model with complex types"--[structure.ComplexModel.fields]-tags = { type = "list", item_type = "text", definition = "List of tags" }-metadata = { type = "dict", key_type = "text", value_type = "text", definition = "Metadata dictionary" }-scores = { type = "list", item_type = "number", definition = "List of scores", required = true }-"""+ structure_blueprint = {+ "tags": ConceptStructureBlueprint(+ definition="List of tags", type=ConceptStructureBlueprintFieldType.LIST, item_type="text", required=False+ ),+ "metadata": ConceptStructureBlueprint(+ definition="Metadata dictionary", type=ConceptStructureBlueprintFieldType.DICT, key_type="text", value_type="text", required=False+ ),+ "scores": ConceptStructureBlueprint(+ definition="List of scores", type=ConceptStructureBlueprintFieldType.LIST, item_type="number", required=True+ ),+ }- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("ComplexModel", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- assert 'tags: Optional[List[str]] = Field(default=None, description="List of tags")' in result- assert 'metadata: Optional[Dict[str, str]] = Field(default=None, description="Metadata dictionary")' in result- assert 'scores: List[float] = Field(..., description="List of scores")' in result-- def test_multiple_structures(self):- """Test generation of multiple structures in one TOML."""- toml_content = """-[structure.FirstModel]-definition = "First model"--[structure.FirstModel.fields]-title = { type = "text", definition = "Title", required = true }--[structure.SecondModel]-definition = "Second model"+ # Check the complete generated structure+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class ComplexModel(StructuredContent):\n"+ ' """Generated ComplexModel class"""\n'+ "\n"+ ' tags: Optional[List[str]] = Field(default=None, description="List of tags")\n'+ ' metadata: Optional[Dict[str, str]] = Field(default=None, description="Metadata dictionary")\n'+ ' scores: List[float] = Field(..., description="List of scores")\n'+ )+ assert result == expected_result-[structure.SecondModel.fields]-content = { type = "text", definition = "Content" }-"""+ def test_choices_generation(self):+ """Test generation with inline choices (Literal type)."""+ structure_blueprint = {+ "name": ConceptStructureBlueprint(definition="Product name", type=ConceptStructureBlueprintFieldType.TEXT, required=False),+ "category": ConceptStructureBlueprint(definition="Product category", choices=["electronics", "clothing", "food", "books"], required=True),+ "size": ConceptStructureBlueprint(definition="Size of the product", choices=["XS", "S", "M", "L", "XL"], required=False),+ }- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("Product", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- assert "class FirstModel(StructuredContent):" in result- assert "class SecondModel(StructuredContent):" in result- assert '"""First model"""' in result- assert '"""Second model"""' in result+ # Check the complete generated structure with Literal types+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class Product(StructuredContent):\n"+ ' """Generated Product class"""\n'+ "\n"+ ' name: Optional[str] = Field(default=None, description="Product name")\n'+ " category: Literal['electronics', 'clothing', 'food', 'books'] = Field(..., description=\"Product category\")\n"+ " size: Optional[Literal['XS', 'S', 'M', 'L', 'XL']] = Field(default=None, description=\"Size of the product\")\n"+ )+ assert result == expected_resultdef test_empty_structure(self):"""Test generation of structure with no fields."""- toml_content = """-[structure.EmptyModel]-definition = "An empty model"-"""+ structure_blueprint: Dict[str, ConceptStructureBlueprint] = {}- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("EmptyModel", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- assert "class EmptyModel(StructuredContent):" in result- assert '"""An empty model"""' in result- assert "pass" in result-- def test_required_field_syntax(self):- """Test that fields can be marked as required."""- toml_content = """-[structure.RequiredFieldsModel]-definition = "Model with required fields"+ # Check the complete generated structure for empty model+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class EmptyModel(StructuredContent):\n"+ ' """Generated EmptyModel class"""\n'+ "\n"+ " pass\n"+ )+ assert result == expected_result-[structure.RequiredFieldsModel.fields]-title = { type = "text", definition = "Required title", required = true }-optional_field = { type = "text", definition = "Optional field" }-"""+ def test_concept_get_structure_method(self):+ """Test the get_structure method on Concept class."""+ structure_blueprint = {+ "title": ConceptStructureBlueprint(definition="Document title", type=ConceptStructureBlueprintFieldType.TEXT, required=True),+ "page_count": ConceptStructureBlueprint(definition="Number of pages", type=ConceptStructureBlueprintFieldType.INTEGER, required=False),+ }- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("DocumentInfo", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- assert 'title: str = Field(..., description="Required title")' in result- assert 'optional_field: Optional[str] = Field(default=None, description="Optional field")' in result-- def test_custom_types(self):- """Test handling of custom/unknown types."""- toml_content = """-[structure.CustomTypeModel]-definition = "Model with custom types"+ # Check the complete generated structure+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class DocumentInfo(StructuredContent):\n"+ ' """Generated DocumentInfo class"""\n'+ "\n"+ ' title: str = Field(..., description="Document title")\n'+ ' page_count: Optional[int] = Field(default=None, description="Number of pages")\n'+ )+ assert result == expected_result-[structure.CustomTypeModel.fields]-custom_field = { type = "CustomClass", definition = "Custom class field" }-"""+ def test_generate_from_blueprint_dict_function(self):+ """Test the convenience function for generating from blueprint dict."""+ structure_blueprint = {+ "value": ConceptStructureBlueprint(definition="Test value", type=ConceptStructureBlueprintFieldType.TEXT, required=True)+ }- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("ConvenienceTest", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- assert 'custom_field: Optional[CustomClass] = Field(default=None, description="Custom class field")' in result-- def test_missing_structure_section_raises_error(self):- """Test that missing structure section raises appropriate error."""- toml_content = """-[other_section]-value = "test"-"""-- generator = StructuredOutputGenerator()+ # Check the complete generated structure+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class ConvenienceTest(StructuredContent):\n"+ ' """Generated ConvenienceTest class"""\n'+ "\n"+ ' value: str = Field(..., description="Test value")\n'+ )+ assert result == expected_result++ def test_all_field_types(self):+ """Test that all field types are properly handled."""+ structure_blueprint = {+ "text_field": ConceptStructureBlueprint(definition="Text field", type=ConceptStructureBlueprintFieldType.TEXT, required=False),+ "number_field": ConceptStructureBlueprint(definition="Number field", type=ConceptStructureBlueprintFieldType.NUMBER, required=False),+ "integer_field": ConceptStructureBlueprint(definition="Integer field", type=ConceptStructureBlueprintFieldType.INTEGER, required=False),+ "boolean_field": ConceptStructureBlueprint(definition="Boolean field", type=ConceptStructureBlueprintFieldType.BOOLEAN, required=False),+ "list_field": ConceptStructureBlueprint(+ definition="List field", type=ConceptStructureBlueprintFieldType.LIST, item_type="text", required=False+ ),+ "dict_field": ConceptStructureBlueprint(+ definition="Dict field", type=ConceptStructureBlueprintFieldType.DICT, key_type="text", value_type="integer", required=False+ ),+ }- pretty_print(toml_content, title="Source TOML (should raise error)")+ result = StructureGenerator().generate_from_structure_blueprint("TypeMappingTest", structure_blueprint)- with pytest.raises(ValueError, match="TOML must contain a 'structure' section"):- generator.generate_from_toml(toml_content)+ pretty_print(structure_blueprint, title="Source Blueprint")+ pretty_print(result, title="Generated Result")- def test_generate_from_string_convenience_function(self):- """Test the convenience function for generating from string."""- toml_content = """-[structure.ConvenienceTest]-definition = "Test convenience function"+ # Check the complete generated structure with all field types+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class TypeMappingTest(StructuredContent):\n"+ ' """Generated TypeMappingTest class"""\n'+ "\n"+ ' text_field: Optional[str] = Field(default=None, description="Text field")\n'+ ' number_field: Optional[float] = Field(default=None, description="Number field")\n'+ ' integer_field: Optional[int] = Field(default=None, description="Integer field")\n'+ ' boolean_field: Optional[bool] = Field(default=None, description="Boolean field")\n'+ ' list_field: Optional[List[str]] = Field(default=None, description="List field")\n'+ ' dict_field: Optional[Dict[str, int]] = Field(default=None, description="Dict field")\n'+ )+ assert result == expected_result-[structure.ConvenienceTest.fields]-value = { type = "text", definition = "Test value", required = true }-"""+ def test_required_vs_optional_fields(self):+ """Test that fields can be marked as required vs optional."""+ structure_blueprint = {+ "title": ConceptStructureBlueprint(definition="Required title", type=ConceptStructureBlueprintFieldType.TEXT, required=True),+ "optional_field": ConceptStructureBlueprint(definition="Optional field", type=ConceptStructureBlueprintFieldType.TEXT, required=False),+ }- result = generate_structured_outputs_from_toml_string(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("RequiredFieldsModel", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- assert "class ConvenienceTest(StructuredContent):" in result- assert 'value: str = Field(..., description="Test value")' in result-- def test_field_type_enum_usage(self):- """Test that FieldType enum values are properly handled."""- toml_content = """-[structure.TypeMappingTest]-definition = "Test all type mappings"--[structure.TypeMappingTest.fields]-text_field = { type = "text", definition = "Text field" }-number_field = { type = "number", definition = "Number field" }-integer_field = { type = "integer", definition = "Integer field" }-boolean_field = { type = "boolean", definition = "Boolean field" }-list_field = { type = "list", item_type = "text", definition = "List field" }-dict_field = { type = "dict", key_type = "text", value_type = "integer", definition = "Dict field" }-"""+ # Check the complete generated structure with required vs optional fields+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class RequiredFieldsModel(StructuredContent):\n"+ ' """Generated RequiredFieldsModel class"""\n'+ "\n"+ ' title: str = Field(..., description="Required title")\n'+ ' optional_field: Optional[str] = Field(default=None, description="Optional field")\n'+ )+ assert result == expected_result++ def test_default_values(self):+ """Test fields with default values."""+ structure_blueprint = {+ "name": ConceptStructureBlueprint(+ definition="Person name", type=ConceptStructureBlueprintFieldType.TEXT, required=False, default_value="Anonymous"+ ),+ "age": ConceptStructureBlueprint(+ definition="Person age", type=ConceptStructureBlueprintFieldType.INTEGER, required=False, default_value=0+ ),+ "active": ConceptStructureBlueprint(+ definition="Is active", type=ConceptStructureBlueprintFieldType.BOOLEAN, required=False, default_value=True+ ),+ }- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("PersonWithDefaults", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- assert "text_field: Optional[str]" in result- assert "number_field: Optional[float]" in result- assert "integer_field: Optional[int]" in result- assert "boolean_field: Optional[bool]" in result- assert "list_field: Optional[List[str]]" in result- assert "dict_field: Optional[Dict[str, int]]" in result-- def test_mixed_field_syntax(self):- """Test mixing simplified syntax with full field definitions."""- toml_content = """-[structure.MixedSyntaxModel]-definition = "Model with mixed field syntax"--[structure.MixedSyntaxModel.fields]-# Simplified syntax-simple_description = "A simple text description"-# Full syntax-complex_field = { type = "integer", definition = "A complex field", required = true }-another_simple = "Another simple field"-"""+ # Check the complete generated structure with default values+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class PersonWithDefaults(StructuredContent):\n"+ ' """Generated PersonWithDefaults class"""\n'+ "\n"+ ' name: Optional[str] = Field(default="Anonymous", description="Person name")\n'+ ' age: Optional[int] = Field(default=0, description="Person age")\n'+ ' active: Optional[bool] = Field(default=True, description="Is active")\n'+ )+ assert result == expected_result++ def test_nested_list_types(self):+ """Test nested list types with different item types."""+ structure_blueprint = {+ "text_list": ConceptStructureBlueprint(+ definition="List of text items", type=ConceptStructureBlueprintFieldType.LIST, item_type="text", required=False+ ),+ "number_list": ConceptStructureBlueprint(+ definition="List of numbers", type=ConceptStructureBlueprintFieldType.LIST, item_type="number", required=True+ ),+ "integer_list": ConceptStructureBlueprint(+ definition="List of integers", type=ConceptStructureBlueprintFieldType.LIST, item_type="integer", required=False+ ),+ }- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("ListTypesModel", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- assert 'simple_description: Optional[str] = Field(default=None, description="A simple text description")' in result- assert 'complex_field: int = Field(..., description="A complex field")' in result- assert 'another_simple: Optional[str] = Field(default=None, description="Another simple field")' in result-- def test_enum_generation_simple_list(self):- """Test generation of enum with simple list of values."""- toml_content = """-[enum.OrderStatus]-definition = "Possible states of an order"-values = ["pending", "processing", "shipped", "delivered", "cancelled"]--[structure.Order]-definition = "An order in the system"--[structure.Order.fields]-order_id = "Unique identifier for the order"-status = { type = "OrderStatus", definition = "Current status of the order", required = true }-customer_name = "Name of the customer"-"""+ # Check the complete generated structure with nested list types+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class ListTypesModel(StructuredContent):\n"+ ' """Generated ListTypesModel class"""\n'+ "\n"+ ' text_list: Optional[List[str]] = Field(default=None, description="List of text items")\n'+ ' number_list: List[float] = Field(..., description="List of numbers")\n'+ ' integer_list: Optional[List[int]] = Field(default=None, description="List of integers")\n'+ )+ assert result == expected_result++ def test_nested_dict_types(self):+ """Test nested dict types with different key/value combinations."""+ structure_blueprint = {+ "string_to_string": ConceptStructureBlueprint(+ definition="String to string mapping",+ type=ConceptStructureBlueprintFieldType.DICT,+ key_type="text",+ value_type="text",+ required=False,+ ),+ "string_to_number": ConceptStructureBlueprint(+ definition="String to number mapping",+ type=ConceptStructureBlueprintFieldType.DICT,+ key_type="text",+ value_type="number",+ required=True,+ ),+ "string_to_integer": ConceptStructureBlueprint(+ definition="String to integer mapping",+ type=ConceptStructureBlueprintFieldType.DICT,+ key_type="text",+ value_type="integer",+ required=False,+ ),+ }- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("DictTypesModel", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- # Check enum generation- assert "from enum import Enum" in result- assert "class OrderStatus(str, Enum):" in result- assert '"""Possible states of an order"""' in result- assert 'PENDING = "pending"' in result- assert 'PROCESSING = "processing"' in result- assert 'SHIPPED = "shipped"' in result- assert 'DELIVERED = "delivered"' in result- assert 'CANCELLED = "cancelled"' in result-- # Check schema using the enum- assert "class Order(StructuredContent):" in result- assert 'status: OrderStatus = Field(..., description="Current status of the order")' in result-- def test_enum_generation_with_descriptions(self):- """Test generation of enum with key-value pairs (descriptions)."""- toml_content = """-[enum.Priority]-definition = "Task priority levels"--[enum.Priority.values]-low = "Low Priority"-medium = "Medium Priority"-high = "High Priority"-urgent = "Urgent - Handle Immediately"--[structure.Task]-definition = "A task to be completed"--[structure.Task.fields]-title = "Task title"-priority = { type = "Priority", definition = "How urgent is this task", required = true }-assigned_to = "Person responsible for the task"-"""+ # Check the complete generated structure with nested dict types+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class DictTypesModel(StructuredContent):\n"+ ' """Generated DictTypesModel class"""\n'+ "\n"+ ' string_to_string: Optional[Dict[str, str]] = Field(default=None, description="String to string mapping")\n'+ ' string_to_number: Dict[str, float] = Field(..., description="String to number mapping")\n'+ ' string_to_integer: Optional[Dict[str, int]] = Field(default=None, description="String to integer mapping")\n'+ )+ assert result == expected_result++ def test_mixed_complexity_structure(self):+ """Test a structure with mixed complexity - simple and complex types together."""+ structure_blueprint = {+ "id": ConceptStructureBlueprint(definition="Unique identifier", type=ConceptStructureBlueprintFieldType.INTEGER, required=True),+ "name": ConceptStructureBlueprint(definition="Display name", type=ConceptStructureBlueprintFieldType.TEXT, required=True),+ "tags": ConceptStructureBlueprint(+ definition="Associated tags", type=ConceptStructureBlueprintFieldType.LIST, item_type="text", required=False+ ),+ "metadata": ConceptStructureBlueprint(+ definition="Additional metadata", type=ConceptStructureBlueprintFieldType.DICT, key_type="text", value_type="text", required=False+ ),+ "active": ConceptStructureBlueprint(+ definition="Whether item is active", type=ConceptStructureBlueprintFieldType.BOOLEAN, required=False, default_value=True+ ),+ "priority": ConceptStructureBlueprint(+ definition="Priority level", choices=["low", "medium", "high", "urgent"], required=False, default_value="medium"+ ),+ }- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("ComplexItem", structure_blueprint)- pretty_print(toml_content, title="Source TOML")+ pretty_print(structure_blueprint, title="Source Blueprint")pretty_print(result, title="Generated Result")- # Check enum generation with descriptions- assert "class Priority(str, Enum):" in result- assert '"""Task priority levels"""' in result- assert 'LOW = "low" # Low Priority' in result- assert 'MEDIUM = "medium" # Medium Priority' in result- assert 'HIGH = "high" # High Priority' in result- assert 'URGENT = "urgent" # Urgent - Handle Immediately' in result-- # Check schema using the enum- assert 'priority: Priority = Field(..., description="How urgent is this task")' in result-- def test_inline_choices(self):- """Test generation with inline choices (Literal type)."""- toml_content = """-[structure.Product]-definition = "A product in our catalog"--[structure.Product.fields]-name = "Product name"-category = { choices = ["electronics", "clothing", "food", "books"], definition = "Product category", required = true }-size = { choices = ["XS", "S", "M", "L", "XL"], definition = "Size of the product" }-"""-- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)-- pretty_print(toml_content, title="Source TOML")- pretty_print(result, title="Generated Result")+ # Check the complete generated structure with mixed complexity+ expected_result = (+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class ComplexItem(StructuredContent):\n"+ ' """Generated ComplexItem class"""\n'+ "\n"+ ' id: int = Field(..., description="Unique identifier")\n'+ ' name: str = Field(..., description="Display name")\n'+ ' tags: Optional[List[str]] = Field(default=None, description="Associated tags")\n'+ ' metadata: Optional[Dict[str, str]] = Field(default=None, description="Additional metadata")\n'+ ' active: Optional[bool] = Field(default=True, description="Whether item is active")\n'+ " priority: Optional[Literal['low', 'medium', 'high', 'urgent']] = Field(default=\"medium\", description=\"Priority level\")\n"+ )+ assert result == expected_result++ def test_mixed_structure_blueprint_normalization(self):+ """Test that mixed structure blueprints (strings and ConceptStructureBlueprint objects) are properly normalized."""+ # Create a mixed structure blueprint similar to what would come from TOML parsing+ mixed_structure_blueprint: Dict[str, ConceptStructureBlueprintType] = {+ "name": "The name of the person", # Simple string definition+ "age": ConceptStructureBlueprint(definition="The age of the person", type=ConceptStructureBlueprintFieldType.NUMBER, required=True),+ "birthdate": ConceptStructureBlueprint(+ definition="The birthdate of the person", type=ConceptStructureBlueprintFieldType.DATE, required=True+ ),+ }- # Check Literal type usage- assert "from typing import Optional, List, Dict, Any, Literal" in result- assert "category: Literal['electronics', 'clothing', 'food', 'books'] = Field(..., description=\"Product category\")" in result- assert "size: Optional[Literal['XS', 'S', 'M', 'L', 'XL']] = Field(default=None, description=\"Size of the product\")" in result-- def test_mixed_enums_and_inline_choices(self):- """Test combining enum references and inline choices in the same schema."""- toml_content = """-[enum.Color]-definition = "Available colors"-values = ["red", "blue", "green", "yellow", "black", "white"]--[enum.ShippingMethod]-definition = "How the product will be shipped"-values = ["standard", "express", "overnight", "pickup"]--[structure.ProductVariant]-definition = "A specific variant of a product"--[structure.ProductVariant.fields]-sku = "Stock keeping unit"-color = { type = "Color", definition = "Color of this variant" }-size = { choices = ["S", "M", "L"], definition = "Size options" }-shipping_method = { type = "ShippingMethod", definition = "Shipping option", required = true }-availability = { choices = ["in_stock", "out_of_stock", "pre_order"], definition = "Current availability" }-"""+ normalized_structure = ConceptFactory.normalize_structure_blueprint(mixed_structure_blueprint)- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ result = StructureGenerator().generate_from_structure_blueprint("PersonInfo", normalized_structure)- pretty_print(toml_content, title="Source TOML")+ pretty_print(mixed_structure_blueprint, title="Source Mixed Blueprint")+ pretty_print(normalized_structure, title="Normalized Blueprint")pretty_print(result, title="Generated Result")- # Check enums are generated- assert "class Color(str, Enum):" in result- assert "class ShippingMethod(str, Enum):" in result-- # Check mixed usage in schema- assert 'color: Optional[Color] = Field(default=None, description="Color of this variant")' in result- assert "size: Optional[Literal['S', 'M', 'L']] = Field(default=None, description=\"Size options\")" in result- assert 'shipping_method: ShippingMethod = Field(..., description="Shipping option")' in result- assert (- "availability: Optional[Literal['in_stock', 'out_of_stock', 'pre_order']] = Field(default=None, description=\"Current availability\")"- in result+ # Check the complete generated structure with mixed field types+ expected_result = (+ "from datetime import datetime\n"+ "from enum import Enum\n"+ "from pipelex.core.stuffs.stuff_content import StructuredContent\n"+ "from pydantic import Field\n"+ "from typing import Optional, List, Dict, Any, Literal\n"+ "\n\n"+ "class PersonInfo(StructuredContent):\n"+ ' """Generated PersonInfo class"""\n'+ "\n"+ ' name: str = Field(..., description="The name of the person")\n'+ ' age: float = Field(..., description="The age of the person")\n'+ ' birthdate: datetime = Field(..., description="The birthdate of the person")\n')+ assert result == expected_result++ # Verify that the string was properly converted to ConceptStructureBlueprint+ assert isinstance(normalized_structure["name"], ConceptStructureBlueprint)+ assert normalized_structure["name"].definition == "The name of the person"+ assert normalized_structure["name"].type == ConceptStructureBlueprintFieldType.TEXT+ assert normalized_structure["name"].required++ def test_code_validation_success(self):+ """Test that valid generated code passes validation."""+ structure_blueprint = {+ "name": ConceptStructureBlueprint(definition="Name field", type=ConceptStructureBlueprintFieldType.TEXT, required=True),+ }- def test_enum_in_list_field(self):- """Test using enum types in list fields."""- toml_content = """-[enum.DietaryRestriction]-definition = "Dietary restrictions and preferences"-values = ["vegetarian", "vegan", "gluten_free", "dairy_free", "nut_free"]--[structure.MenuItem]-definition = "An item on the restaurant menu"+ generator = StructureGenerator()+ result = generator.generate_from_structure_blueprint("ValidTestModel", structure_blueprint)-[structure.MenuItem.fields]-name = "Name of the dish"-dietary_info = { type = "list", item_type = "DietaryRestriction", definition = "Dietary accommodations" }-tags = { type = "list", item_type = "text", definition = "General tags" }-"""+ # The generation should succeed (validation happens internally)+ assert "class ValidTestModel(StructuredContent):" in result- generator = StructuredOutputGenerator()- result = generator.generate_from_toml(toml_content)+ # Test validation directly+ assert generator.validate_generated_code(result, "ValidTestModel") is True- pretty_print(toml_content, title="Source TOML")- pretty_print(result, title="Generated Result")+ def test_code_validation_syntax_error(self):+ """Test that invalid syntax fails validation."""+ generator = StructureGenerator()+ invalid_code = """+from pydantic import Field+from pipelex.core.stuffs.stuff_content import StructuredContent- # Check enum is generated- assert "class DietaryRestriction(str, Enum):" in result- assert 'VEGETARIAN = "vegetarian"' in result- assert 'GLUTEN_FREE = "gluten_free"' in result-- # Check list with enum type- assert 'dietary_info: Optional[List[DietaryRestriction]] = Field(default=None, description="Dietary accommodations")' in result- assert 'tags: Optional[List[str]] = Field(default=None, description="General tags")' in result-- def test_inline_structure_definition(self):- """Test generating structure from inline field definitions (for concept integration)."""- fields_def = {- "document_type": {"type": "DocumentType", "definition": "Classified document type", "required": True},- "priority": {"type": "Priority", "definition": "Processing priority", "required": True},- "title": "Inferred document title",- "summary": "Brief document summary",- "page_count": {"type": "integer", "definition": "Total number of pages"},- "language": {"choices": ["en", "fr", "es", "de"], "definition": "Document language"},- }+class InvalidModel(StructuredContent):+ name: str = Field(..., description="Name field" # Missing closing parenthesis+"""- enums = {- "DocumentType": {- "definition": "Types of documents we can process",- "values": ["technical", "legal", "financial", "marketing", "general"],- },- "Priority": {"definition": "Document processing priority", "values": ["low", "medium", "high", "urgent"]},- }+ assert generator.validate_generated_code(invalid_code, "InvalidModel") is False- result = generate_structured_output_from_inline_definition("DocumentMetadata", fields_def, enums)+ def test_code_validation_missing_class(self):+ """Test that code without the expected class fails validation."""+ generator = StructureGenerator()+ code_without_expected_class = """+from pydantic import Field+from pipelex.core.stuffs.stuff_content import StructuredContent- pretty_print(fields_def, title="Inline Field Definition")- pretty_print(result, title="Generated Result")+class WrongClassName(StructuredContent):+ name: str = Field(..., description="Name field")+"""- # Check enum generation- assert "class DocumentType(str, Enum):" in result- assert "class Priority(str, Enum):" in result- assert 'TECHNICAL = "technical"' in result- assert 'LOW = "low"' in result-- # Check structure generation- assert "class DocumentMetadata(StructuredContent):" in result- assert 'document_type: DocumentType = Field(..., description="Classified document type")' in result- assert 'priority: Priority = Field(..., description="Processing priority")' in result- assert 'title: Optional[str] = Field(default=None, description="Inferred document title")' in result- assert 'page_count: Optional[int] = Field(default=None, description="Total number of pages")' in result- assert "language: Optional[Literal['en', 'fr', 'es', 'de']] = Field(default=None, description=\"Document language\")" in result+ assert generator.validate_generated_code(code_without_expected_class, "ExpectedClassName") is Falsediff --git a/tests/unit/pipelex/tools/misc/test_dict_utils.py b/tests/unit/pipelex/tools/misc/test_dict_utils.pyindex e20ae33fb..734f47cd5 100644--- a/tests/unit/pipelex/tools/misc/test_dict_utils.py+++ b/tests/unit/pipelex/tools/misc/test_dict_utils.py@@ -1,5 +1,6 @@"""Unit tests for dict_utils module."""+from pipelex.core.concepts.concept_native import NativeConceptEnumfrom pipelex.tools.misc.dict_utils import insert_before@@ -38,7 +39,7 @@ class TestDictUtils:def test_complex_nested_structure(self) -> None:"""Test with complex nested dictionary structure."""- original = {"type": "PipeLLM", "definition": "Test pipe", "output": "Text", "system_prompt": "Test prompt"}+ original = {"type": "PipeLLM", "definition": "Test pipe", "output": NativeConceptEnum.TEXT.value, "system_prompt": "Test prompt"}# Insert inputs before outputresult = insert_before(original, "output", "inputs", "InputText")diff --git a/tests/unit/pipelex/tools/misc/test_string_utils.py b/tests/unit/pipelex/tools/misc/test_string_utils.pyindex 8f35fac80..786765f1e 100644--- a/tests/unit/pipelex/tools/misc/test_string_utils.py+++ b/tests/unit/pipelex/tools/misc/test_string_utils.py@@ -5,6 +5,8 @@ from pipelex.tools.misc.string_utils import (can_inject_text,is_none_or_has_text,is_not_none_and_has_text,+ is_pascal_case,+ is_snake_case,pascal_case_to_sentence,pascal_case_to_snake_case,snake_to_capitalize_first_letter,@@ -125,3 +127,70 @@ def test_snake_to_pascal_case(snake: str, expected: str) -> None:)def test_snake_to_capitalize_first_letter(snake: str, expected: str) -> None:assert snake_to_capitalize_first_letter(snake) == expected+++ "word, expected",+ [+ # Valid snake_case+ ("hello", True),+ ("hello_world", True),+ ("my_variable_name", True),+ ("test123", True),+ ("test_123", True),+ ("a", True),+ ("abc123def", True),+ ("snake_case_with_numbers_123", True),+ # Invalid snake_case+ ("Hello", False), # Starts with uppercase+ ("HelloWorld", False), # PascalCase+ ("helloWorld", False), # camelCase+ ("_hello", False), # Starts with underscore+ ("123hello", False), # Starts with number+ ("", False), # Empty string+ ("hello-world", False), # Contains hyphen+ ("hello world", False), # Contains space+ ("hello.world", False), # Contains dot+ ("HELLO_WORLD", False), # All uppercase+ ("Hello_World", False), # Mixed case+ ("hello_World", False), # Mixed case+ ("hello__world", True), # Double underscore (valid)+ ("hello_", True), # Ends with underscore (valid)+ ],+)+def test_is_snake_case(word: str, expected: bool) -> None:+ assert is_snake_case(word) is expected+++ "word, expected",+ [+ # Valid PascalCase+ ("Hello", True),+ ("HelloWorld", True),+ ("MyVariableName", True),+ ("Test123", True),+ ("A", True),+ ("ABC", True),+ ("TestWithNumbers123", True),+ ("HTTPRequest", True),+ ("ParseJSONData", True),+ ("XMLParser", True),+ # Invalid PascalCase+ ("hello", False), # Starts with lowercase+ ("helloWorld", False), # camelCase+ ("hello_world", False), # snake_case+ ("_Hello", False), # Starts with underscore+ ("123Hello", False), # Starts with number+ ("", False), # Empty string+ ("Hello-World", False), # Contains hyphen+ ("Hello World", False), # Contains space+ ("Hello.World", False), # Contains dot+ ("Hello_World", False), # Contains underscore+ ("HELLO_WORLD", False), # Contains underscore+ ("Hello$World", False), # Contains special character+ ("Hello@World", False), # Contains special character+ ],+)+def test_is_pascal_case(word: str, expected: bool) -> None:+ assert is_pascal_case(word) is expecteddiff --git a/tests/unit/pipelex/tools/misc/test_toml_utils.py b/tests/unit/pipelex/tools/misc/test_toml_utils.pyindex 7edcdcda1..fb7d9fad7 100644--- a/tests/unit/pipelex/tools/misc/test_toml_utils.py+++ b/tests/unit/pipelex/tools/misc/test_toml_utils.py@@ -59,7 +59,8 @@ definition = "Test"toml_content = '''domain = "test"[pipe.test_pipe]-PipeLLM = "Test"+type = "PipeLLM"+description = "Test"prompt_template = """Output this only: "test""""@@ -72,7 +73,7 @@ Output this only: "test"error_msg = str(exc_info.value)assert "Trailing whitespace after triple quotes" in error_msg- assert "Line 7" in error_msg+ assert "Line 8" in error_msg@pytest.mark.skip(reason="Mixed line ending detection needs refinement - focusing on trailing whitespace detection")def test_validate_toml_file_mixed_line_endings(self, tmp_path: Path) -> None:diff --git a/tests/unit/pipelex/tools/test_class_registry_utils.py b/tests/unit/pipelex/tools/test_class_registry_utils.pyindex 606e510c7..59c9a873d 100644--- a/tests/unit/pipelex/tools/test_class_registry_utils.py+++ b/tests/unit/pipelex/tools/test_class_registry_utils.py@@ -21,7 +21,7 @@ class TestClassRegistryUtilsUnit:# Mock the global class registrymock_registry = mocker.MagicMock()- mocker.patch("pipelex.tools.class_registry_utils.get_class_registry", return_value=mock_registry)+ mocker.patch("pipelex.tools.class_registry_utils.KajsonManager.get_class_registry", return_value=mock_registry)ClassRegistryUtils.register_classes_in_file(file_path="/fake/path.py", base_class=None, is_include_imported=False)diff --git a/uv.lock b/uv.lockindex 6f6a5a622..cfe58c6ef 100644--- a/uv.lock+++ b/uv.lock@@ -9,20 +9,20 @@ resolution-markers = [[[package]]name = "aioboto3"-version = "14.3.0"+version = "15.1.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "aiobotocore", extra = ["boto3"] },{ name = "aiofiles" },]-sdist = { url = "https://files.pythonhosted.org/packages/79/b7/2f0d45cf31f77f8432102d7225d189e6e65cc7a16a32a8ac929eabd719a7/aioboto3-14.3.0.tar.gz", hash = "sha256:1d18f88bb56835c607b62bb6cb907754d717bedde3ddfff6935727cb48a80135", size = 322658, upload-time = "2025-05-07T15:23:59.262Z" }+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/0e/b0/f2415f03af890693ba8cb669c67f30b9ffa8b2065ecf91cc92e6782b5aa2/aioboto3-14.3.0-py3-none-any.whl", hash = "sha256:aec5de94e9edc1ffbdd58eead38a37f00ddac59a519db749a910c20b7b81bca7", size = 35697, upload-time = "2025-05-07T15:23:57.539Z" },+ { 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.22.0"+version = "2.24.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "aiohttp" },@@ -33,9 +33,9 @@ dependencies = [{ name = "python-dateutil" },{ name = "wrapt" },]-sdist = { url = "https://files.pythonhosted.org/packages/9c/4c/113c4f5611103bba8e5252805fbee7944f5d9541addba9a96b091c0c4308/aiobotocore-2.22.0.tar.gz", hash = "sha256:11091477266b75c2b5d28421c1f2bc9a87d175d0b8619cb830805e7a113a170b", size = 110322, upload-time = "2025-05-01T16:45:45.484Z" }+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/00/8e/ffa5840cb7de19ada85bda1fae1ae22671a18992e9373f2e2df9db5389b5/aiobotocore-2.22.0-py3-none-any.whl", hash = "sha256:b4e6306f79df9d81daff1f9d63189a2dbee4b77ce3ab937304834e35eaaeeccf", size = 78930, upload-time = "2025-05-01T16:45:43.508Z" },+ { 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]@@ -45,11 +45,11 @@ boto3 = [[[package]]name = "aiofiles"-version = "23.2.1"+version = "24.1.0"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/af/41/cfed10bc64d774f497a86e5ede9248e1d062db675504b41c320954d99641/aiofiles-23.2.1.tar.gz", hash = "sha256:84ec2218d8419404abcb9f0c02df3f34c6e0a68ed41072acfb1cef5cbc29051a", size = 32072, upload-time = "2023-08-09T15:23:11.564Z" }+sdist = { url = "https://files.pythonhosted.org/packages/0b/03/a88171e277e8caa88a4c77808c20ebb04ba74cc4681bf1e9416c862de237/aiofiles-24.1.0.tar.gz", hash = "sha256:22a075c9e5a3810f0c2e48f3008c94d68c65d763b9b03857924c99e57355166c", size = 30247, upload-time = "2024-06-24T11:02:03.584Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/c5/19/5af6804c4cc0fed83f47bff6e413a98a36618e7d40185cd36e69737f3b0e/aiofiles-23.2.1-py3-none-any.whl", hash = "sha256:19297512c647d4b27a2cf7c34caa7e405c0d60b5560618a29a9fe027b18b0107", size = 15727, upload-time = "2023-08-09T15:23:09.774Z" },+ { url = "https://files.pythonhosted.org/packages/a5/45/30bb92d442636f570cb5651bc661f52b610e2eec3f891a5dc3a4c3667db0/aiofiles-24.1.0-py3-none-any.whl", hash = "sha256:b4ec55f4195e3eb5d7abd1bf7e061763e864dd4954231fb8539a0ef8bb8260e5", size = 15896, upload-time = "2024-06-24T11:02:01.529Z" },][[package]]@@ -63,7 +63,7 @@ wheels = [[[package]]name = "aiohttp"-version = "3.12.13"+version = "3.12.15"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "aiohappyeyeballs" },@@ -75,76 +75,76 @@ dependencies = [{ name = "propcache" },{ name = "yarl" },]-sdist = { url = "https://files.pythonhosted.org/packages/42/6e/ab88e7cb2a4058bed2f7870276454f85a7c56cd6da79349eb314fc7bbcaa/aiohttp-3.12.13.tar.gz", hash = "sha256:47e2da578528264a12e4e3dd8dd72a7289e5f812758fe086473fab037a10fcce", size = 7819160, upload-time = "2025-06-14T15:15:41.354Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/8b/2d/27e4347660723738b01daa3f5769d56170f232bf4695dd4613340da135bb/aiohttp-3.12.13-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:5421af8f22a98f640261ee48aae3a37f0c41371e99412d55eaf2f8a46d5dad29", size = 702090, upload-time = "2025-06-14T15:12:58.938Z" },- { url = "https://files.pythonhosted.org/packages/10/0b/4a8e0468ee8f2b9aff3c05f2c3a6be1dfc40b03f68a91b31041d798a9510/aiohttp-3.12.13-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0fcda86f6cb318ba36ed8f1396a6a4a3fd8f856f84d426584392083d10da4de0", size = 478440, upload-time = "2025-06-14T15:13:02.981Z" },- { url = "https://files.pythonhosted.org/packages/b9/c8/2086df2f9a842b13feb92d071edf756be89250f404f10966b7bc28317f17/aiohttp-3.12.13-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4cd71c9fb92aceb5a23c4c39d8ecc80389c178eba9feab77f19274843eb9412d", size = 466215, upload-time = "2025-06-14T15:13:04.817Z" },- { url = "https://files.pythonhosted.org/packages/a7/3d/d23e5bd978bc8012a65853959b13bd3b55c6e5afc172d89c26ad6624c52b/aiohttp-3.12.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:34ebf1aca12845066c963016655dac897651e1544f22a34c9b461ac3b4b1d3aa", size = 1648271, upload-time = "2025-06-14T15:13:06.532Z" },- { url = "https://files.pythonhosted.org/packages/31/31/e00122447bb137591c202786062f26dd383574c9f5157144127077d5733e/aiohttp-3.12.13-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:893a4639694c5b7edd4bdd8141be296042b6806e27cc1d794e585c43010cc294", size = 1622329, upload-time = "2025-06-14T15:13:08.394Z" },- { url = "https://files.pythonhosted.org/packages/04/01/caef70be3ac38986969045f21f5fb802ce517b3f371f0615206bf8aa6423/aiohttp-3.12.13-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:663d8ee3ffb3494502ebcccb49078faddbb84c1d870f9c1dd5a29e85d1f747ce", size = 1694734, upload-time = "2025-06-14T15:13:09.979Z" },- { url = "https://files.pythonhosted.org/packages/3f/15/328b71fedecf69a9fd2306549b11c8966e420648a3938d75d3ed5bcb47f6/aiohttp-3.12.13-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f0f8f6a85a0006ae2709aa4ce05749ba2cdcb4b43d6c21a16c8517c16593aabe", size = 1737049, upload-time = "2025-06-14T15:13:11.672Z" },- { url = "https://files.pythonhosted.org/packages/e6/7a/d85866a642158e1147c7da5f93ad66b07e5452a84ec4258e5f06b9071e92/aiohttp-3.12.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1582745eb63df267c92d8b61ca655a0ce62105ef62542c00a74590f306be8cb5", size = 1641715, upload-time = "2025-06-14T15:13:13.548Z" },- { url = "https://files.pythonhosted.org/packages/14/57/3588800d5d2f5f3e1cb6e7a72747d1abc1e67ba5048e8b845183259c2e9b/aiohttp-3.12.13-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d59227776ee2aa64226f7e086638baa645f4b044f2947dbf85c76ab11dcba073", size = 1581836, upload-time = "2025-06-14T15:13:15.086Z" },- { url = "https://files.pythonhosted.org/packages/2f/55/c913332899a916d85781aa74572f60fd98127449b156ad9c19e23135b0e4/aiohttp-3.12.13-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:06b07c418bde1c8e737d8fa67741072bd3f5b0fb66cf8c0655172188c17e5fa6", size = 1625685, upload-time = "2025-06-14T15:13:17.163Z" },- { url = "https://files.pythonhosted.org/packages/4c/34/26cded195f3bff128d6a6d58d7a0be2ae7d001ea029e0fe9008dcdc6a009/aiohttp-3.12.13-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:9445c1842680efac0f81d272fd8db7163acfcc2b1436e3f420f4c9a9c5a50795", size = 1636471, upload-time = "2025-06-14T15:13:19.086Z" },- { url = "https://files.pythonhosted.org/packages/19/21/70629ca006820fccbcec07f3cd5966cbd966e2d853d6da55339af85555b9/aiohttp-3.12.13-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:09c4767af0b0b98c724f5d47f2bf33395c8986995b0a9dab0575ca81a554a8c0", size = 1611923, upload-time = "2025-06-14T15:13:20.997Z" },- { url = "https://files.pythonhosted.org/packages/31/80/7fa3f3bebf533aa6ae6508b51ac0de9965e88f9654fa679cc1a29d335a79/aiohttp-3.12.13-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:f3854fbde7a465318ad8d3fc5bef8f059e6d0a87e71a0d3360bb56c0bf87b18a", size = 1691511, upload-time = "2025-06-14T15:13:22.54Z" },- { url = "https://files.pythonhosted.org/packages/0f/7a/359974653a3cdd3e9cee8ca10072a662c3c0eb46a359c6a1f667b0296e2f/aiohttp-3.12.13-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:2332b4c361c05ecd381edb99e2a33733f3db906739a83a483974b3df70a51b40", size = 1714751, upload-time = "2025-06-14T15:13:24.366Z" },- { url = "https://files.pythonhosted.org/packages/2d/24/0aa03d522171ce19064347afeefadb008be31ace0bbb7d44ceb055700a14/aiohttp-3.12.13-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:1561db63fa1b658cd94325d303933553ea7d89ae09ff21cc3bcd41b8521fbbb6", size = 1643090, upload-time = "2025-06-14T15:13:26.231Z" },- { url = "https://files.pythonhosted.org/packages/86/2e/7d4b0026a41e4b467e143221c51b279083b7044a4b104054f5c6464082ff/aiohttp-3.12.13-cp310-cp310-win32.whl", hash = "sha256:a0be857f0b35177ba09d7c472825d1b711d11c6d0e8a2052804e3b93166de1ad", size = 427526, upload-time = "2025-06-14T15:13:27.988Z" },- { url = "https://files.pythonhosted.org/packages/17/de/34d998da1e7f0de86382160d039131e9b0af1962eebfe53dda2b61d250e7/aiohttp-3.12.13-cp310-cp310-win_amd64.whl", hash = "sha256:fcc30ad4fb5cb41a33953292d45f54ef4066746d625992aeac33b8c681173178", size = 450734, upload-time = "2025-06-14T15:13:29.394Z" },- { url = "https://files.pythonhosted.org/packages/6a/65/5566b49553bf20ffed6041c665a5504fb047cefdef1b701407b8ce1a47c4/aiohttp-3.12.13-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7c229b1437aa2576b99384e4be668af1db84b31a45305d02f61f5497cfa6f60c", size = 709401, upload-time = "2025-06-14T15:13:30.774Z" },- { url = "https://files.pythonhosted.org/packages/14/b5/48e4cc61b54850bdfafa8fe0b641ab35ad53d8e5a65ab22b310e0902fa42/aiohttp-3.12.13-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:04076d8c63471e51e3689c93940775dc3d12d855c0c80d18ac5a1c68f0904358", size = 481669, upload-time = "2025-06-14T15:13:32.316Z" },- { url = "https://files.pythonhosted.org/packages/04/4f/e3f95c8b2a20a0437d51d41d5ccc4a02970d8ad59352efb43ea2841bd08e/aiohttp-3.12.13-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:55683615813ce3601640cfaa1041174dc956d28ba0511c8cbd75273eb0587014", size = 469933, upload-time = "2025-06-14T15:13:34.104Z" },- { url = "https://files.pythonhosted.org/packages/41/c9/c5269f3b6453b1cfbd2cfbb6a777d718c5f086a3727f576c51a468b03ae2/aiohttp-3.12.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:921bc91e602d7506d37643e77819cb0b840d4ebb5f8d6408423af3d3bf79a7b7", size = 1740128, upload-time = "2025-06-14T15:13:35.604Z" },- { url = "https://files.pythonhosted.org/packages/6f/49/a3f76caa62773d33d0cfaa842bdf5789a78749dbfe697df38ab1badff369/aiohttp-3.12.13-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e72d17fe0974ddeae8ed86db297e23dba39c7ac36d84acdbb53df2e18505a013", size = 1688796, upload-time = "2025-06-14T15:13:37.125Z" },- { url = "https://files.pythonhosted.org/packages/ad/e4/556fccc4576dc22bf18554b64cc873b1a3e5429a5bdb7bbef7f5d0bc7664/aiohttp-3.12.13-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0653d15587909a52e024a261943cf1c5bdc69acb71f411b0dd5966d065a51a47", size = 1787589, upload-time = "2025-06-14T15:13:38.745Z" },- { url = "https://files.pythonhosted.org/packages/b9/3d/d81b13ed48e1a46734f848e26d55a7391708421a80336e341d2aef3b6db2/aiohttp-3.12.13-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a77b48997c66722c65e157c06c74332cdf9c7ad00494b85ec43f324e5c5a9b9a", size = 1826635, upload-time = "2025-06-14T15:13:40.733Z" },- { url = "https://files.pythonhosted.org/packages/75/a5/472e25f347da88459188cdaadd1f108f6292f8a25e62d226e63f860486d1/aiohttp-3.12.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d6946bae55fd36cfb8e4092c921075cde029c71c7cb571d72f1079d1e4e013bc", size = 1729095, upload-time = "2025-06-14T15:13:42.312Z" },- { url = "https://files.pythonhosted.org/packages/b9/fe/322a78b9ac1725bfc59dfc301a5342e73d817592828e4445bd8f4ff83489/aiohttp-3.12.13-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4f95db8c8b219bcf294a53742c7bda49b80ceb9d577c8e7aa075612b7f39ffb7", size = 1666170, upload-time = "2025-06-14T15:13:44.884Z" },- { url = "https://files.pythonhosted.org/packages/7a/77/ec80912270e231d5e3839dbd6c065472b9920a159ec8a1895cf868c2708e/aiohttp-3.12.13-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:03d5eb3cfb4949ab4c74822fb3326cd9655c2b9fe22e4257e2100d44215b2e2b", size = 1714444, upload-time = "2025-06-14T15:13:46.401Z" },- { url = "https://files.pythonhosted.org/packages/21/b2/fb5aedbcb2b58d4180e58500e7c23ff8593258c27c089abfbcc7db65bd40/aiohttp-3.12.13-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:6383dd0ffa15515283c26cbf41ac8e6705aab54b4cbb77bdb8935a713a89bee9", size = 1709604, upload-time = "2025-06-14T15:13:48.377Z" },- { url = "https://files.pythonhosted.org/packages/e3/15/a94c05f7c4dc8904f80b6001ad6e07e035c58a8ebfcc15e6b5d58500c858/aiohttp-3.12.13-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:6548a411bc8219b45ba2577716493aa63b12803d1e5dc70508c539d0db8dbf5a", size = 1689786, upload-time = "2025-06-14T15:13:50.401Z" },- { url = "https://files.pythonhosted.org/packages/1d/fd/0d2e618388f7a7a4441eed578b626bda9ec6b5361cd2954cfc5ab39aa170/aiohttp-3.12.13-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:81b0fcbfe59a4ca41dc8f635c2a4a71e63f75168cc91026c61be665945739e2d", size = 1783389, upload-time = "2025-06-14T15:13:51.945Z" },- { url = "https://files.pythonhosted.org/packages/a6/6b/6986d0c75996ef7e64ff7619b9b7449b1d1cbbe05c6755e65d92f1784fe9/aiohttp-3.12.13-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:6a83797a0174e7995e5edce9dcecc517c642eb43bc3cba296d4512edf346eee2", size = 1803853, upload-time = "2025-06-14T15:13:53.533Z" },- { url = "https://files.pythonhosted.org/packages/21/65/cd37b38f6655d95dd07d496b6d2f3924f579c43fd64b0e32b547b9c24df5/aiohttp-3.12.13-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a5734d8469a5633a4e9ffdf9983ff7cdb512524645c7a3d4bc8a3de45b935ac3", size = 1716909, upload-time = "2025-06-14T15:13:55.148Z" },- { url = "https://files.pythonhosted.org/packages/fd/20/2de7012427dc116714c38ca564467f6143aec3d5eca3768848d62aa43e62/aiohttp-3.12.13-cp311-cp311-win32.whl", hash = "sha256:fef8d50dfa482925bb6b4c208b40d8e9fa54cecba923dc65b825a72eed9a5dbd", size = 427036, upload-time = "2025-06-14T15:13:57.076Z" },- { url = "https://files.pythonhosted.org/packages/f8/b6/98518bcc615ef998a64bef371178b9afc98ee25895b4f476c428fade2220/aiohttp-3.12.13-cp311-cp311-win_amd64.whl", hash = "sha256:9a27da9c3b5ed9d04c36ad2df65b38a96a37e9cfba6f1381b842d05d98e6afe9", size = 451427, upload-time = "2025-06-14T15:13:58.505Z" },- { url = "https://files.pythonhosted.org/packages/b4/6a/ce40e329788013cd190b1d62bbabb2b6a9673ecb6d836298635b939562ef/aiohttp-3.12.13-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0aa580cf80558557285b49452151b9c69f2fa3ad94c5c9e76e684719a8791b73", size = 700491, upload-time = "2025-06-14T15:14:00.048Z" },- { url = "https://files.pythonhosted.org/packages/28/d9/7150d5cf9163e05081f1c5c64a0cdf3c32d2f56e2ac95db2a28fe90eca69/aiohttp-3.12.13-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b103a7e414b57e6939cc4dece8e282cfb22043efd0c7298044f6594cf83ab347", size = 475104, upload-time = "2025-06-14T15:14:01.691Z" },- { url = "https://files.pythonhosted.org/packages/f8/91/d42ba4aed039ce6e449b3e2db694328756c152a79804e64e3da5bc19dffc/aiohttp-3.12.13-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:78f64e748e9e741d2eccff9597d09fb3cd962210e5b5716047cbb646dc8fe06f", size = 467948, upload-time = "2025-06-14T15:14:03.561Z" },- { url = "https://files.pythonhosted.org/packages/99/3b/06f0a632775946981d7c4e5a865cddb6e8dfdbaed2f56f9ade7bb4a1039b/aiohttp-3.12.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29c955989bf4c696d2ededc6b0ccb85a73623ae6e112439398935362bacfaaf6", size = 1714742, upload-time = "2025-06-14T15:14:05.558Z" },- { url = "https://files.pythonhosted.org/packages/92/a6/2552eebad9ec5e3581a89256276009e6a974dc0793632796af144df8b740/aiohttp-3.12.13-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d640191016763fab76072c87d8854a19e8e65d7a6fcfcbf017926bdbbb30a7e5", size = 1697393, upload-time = "2025-06-14T15:14:07.194Z" },- { url = "https://files.pythonhosted.org/packages/d8/9f/bd08fdde114b3fec7a021381b537b21920cdd2aa29ad48c5dffd8ee314f1/aiohttp-3.12.13-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4dc507481266b410dede95dd9f26c8d6f5a14315372cc48a6e43eac652237d9b", size = 1752486, upload-time = "2025-06-14T15:14:08.808Z" },- { url = "https://files.pythonhosted.org/packages/f7/e1/affdea8723aec5bd0959171b5490dccd9a91fcc505c8c26c9f1dca73474d/aiohttp-3.12.13-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8a94daa873465d518db073bd95d75f14302e0208a08e8c942b2f3f1c07288a75", size = 1798643, upload-time = "2025-06-14T15:14:10.767Z" },- { url = "https://files.pythonhosted.org/packages/f3/9d/666d856cc3af3a62ae86393baa3074cc1d591a47d89dc3bf16f6eb2c8d32/aiohttp-3.12.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:177f52420cde4ce0bb9425a375d95577fe082cb5721ecb61da3049b55189e4e6", size = 1718082, upload-time = "2025-06-14T15:14:12.38Z" },- { url = "https://files.pythonhosted.org/packages/f3/ce/3c185293843d17be063dada45efd2712bb6bf6370b37104b4eda908ffdbd/aiohttp-3.12.13-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0f7df1f620ec40f1a7fbcb99ea17d7326ea6996715e78f71a1c9a021e31b96b8", size = 1633884, upload-time = "2025-06-14T15:14:14.415Z" },- { url = "https://files.pythonhosted.org/packages/3a/5b/f3413f4b238113be35dfd6794e65029250d4b93caa0974ca572217745bdb/aiohttp-3.12.13-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3062d4ad53b36e17796dce1c0d6da0ad27a015c321e663657ba1cc7659cfc710", size = 1694943, upload-time = "2025-06-14T15:14:16.48Z" },- { url = "https://files.pythonhosted.org/packages/82/c8/0e56e8bf12081faca85d14a6929ad5c1263c146149cd66caa7bc12255b6d/aiohttp-3.12.13-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:8605e22d2a86b8e51ffb5253d9045ea73683d92d47c0b1438e11a359bdb94462", size = 1716398, upload-time = "2025-06-14T15:14:18.589Z" },- { url = "https://files.pythonhosted.org/packages/ea/f3/33192b4761f7f9b2f7f4281365d925d663629cfaea093a64b658b94fc8e1/aiohttp-3.12.13-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:54fbbe6beafc2820de71ece2198458a711e224e116efefa01b7969f3e2b3ddae", size = 1657051, upload-time = "2025-06-14T15:14:20.223Z" },- { url = "https://files.pythonhosted.org/packages/5e/0b/26ddd91ca8f84c48452431cb4c5dd9523b13bc0c9766bda468e072ac9e29/aiohttp-3.12.13-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:050bd277dfc3768b606fd4eae79dd58ceda67d8b0b3c565656a89ae34525d15e", size = 1736611, upload-time = "2025-06-14T15:14:21.988Z" },- { url = "https://files.pythonhosted.org/packages/c3/8d/e04569aae853302648e2c138a680a6a2f02e374c5b6711732b29f1e129cc/aiohttp-3.12.13-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:2637a60910b58f50f22379b6797466c3aa6ae28a6ab6404e09175ce4955b4e6a", size = 1764586, upload-time = "2025-06-14T15:14:23.979Z" },- { url = "https://files.pythonhosted.org/packages/ac/98/c193c1d1198571d988454e4ed75adc21c55af247a9fda08236602921c8c8/aiohttp-3.12.13-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e986067357550d1aaa21cfe9897fa19e680110551518a5a7cf44e6c5638cb8b5", size = 1724197, upload-time = "2025-06-14T15:14:25.692Z" },- { url = "https://files.pythonhosted.org/packages/e7/9e/07bb8aa11eec762c6b1ff61575eeeb2657df11ab3d3abfa528d95f3e9337/aiohttp-3.12.13-cp312-cp312-win32.whl", hash = "sha256:ac941a80aeea2aaae2875c9500861a3ba356f9ff17b9cb2dbfb5cbf91baaf5bf", size = 421771, upload-time = "2025-06-14T15:14:27.364Z" },- { url = "https://files.pythonhosted.org/packages/52/66/3ce877e56ec0813069cdc9607cd979575859c597b6fb9b4182c6d5f31886/aiohttp-3.12.13-cp312-cp312-win_amd64.whl", hash = "sha256:671f41e6146a749b6c81cb7fd07f5a8356d46febdaaaf07b0e774ff04830461e", size = 447869, upload-time = "2025-06-14T15:14:29.05Z" },- { url = "https://files.pythonhosted.org/packages/11/0f/db19abdf2d86aa1deec3c1e0e5ea46a587b97c07a16516b6438428b3a3f8/aiohttp-3.12.13-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:d4a18e61f271127465bdb0e8ff36e8f02ac4a32a80d8927aa52371e93cd87938", size = 694910, upload-time = "2025-06-14T15:14:30.604Z" },- { url = "https://files.pythonhosted.org/packages/d5/81/0ab551e1b5d7f1339e2d6eb482456ccbe9025605b28eed2b1c0203aaaade/aiohttp-3.12.13-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:532542cb48691179455fab429cdb0d558b5e5290b033b87478f2aa6af5d20ace", size = 472566, upload-time = "2025-06-14T15:14:32.275Z" },- { url = "https://files.pythonhosted.org/packages/34/3f/6b7d336663337672d29b1f82d1f252ec1a040fe2d548f709d3f90fa2218a/aiohttp-3.12.13-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d7eea18b52f23c050ae9db5d01f3d264ab08f09e7356d6f68e3f3ac2de9dfabb", size = 464856, upload-time = "2025-06-14T15:14:34.132Z" },- { url = "https://files.pythonhosted.org/packages/26/7f/32ca0f170496aa2ab9b812630fac0c2372c531b797e1deb3deb4cea904bd/aiohttp-3.12.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad7c8e5c25f2a26842a7c239de3f7b6bfb92304593ef997c04ac49fb703ff4d7", size = 1703683, upload-time = "2025-06-14T15:14:36.034Z" },- { url = "https://files.pythonhosted.org/packages/ec/53/d5513624b33a811c0abea8461e30a732294112318276ce3dbf047dbd9d8b/aiohttp-3.12.13-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6af355b483e3fe9d7336d84539fef460120c2f6e50e06c658fe2907c69262d6b", size = 1684946, upload-time = "2025-06-14T15:14:38Z" },- { url = "https://files.pythonhosted.org/packages/37/72/4c237dd127827b0247dc138d3ebd49c2ded6114c6991bbe969058575f25f/aiohttp-3.12.13-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a95cf9f097498f35c88e3609f55bb47b28a5ef67f6888f4390b3d73e2bac6177", size = 1737017, upload-time = "2025-06-14T15:14:39.951Z" },- { url = "https://files.pythonhosted.org/packages/0d/67/8a7eb3afa01e9d0acc26e1ef847c1a9111f8b42b82955fcd9faeb84edeb4/aiohttp-3.12.13-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b8ed8c38a1c584fe99a475a8f60eefc0b682ea413a84c6ce769bb19a7ff1c5ef", size = 1786390, upload-time = "2025-06-14T15:14:42.151Z" },- { url = "https://files.pythonhosted.org/packages/48/19/0377df97dd0176ad23cd8cad4fd4232cfeadcec6c1b7f036315305c98e3f/aiohttp-3.12.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a0b9170d5d800126b5bc89d3053a2363406d6e327afb6afaeda2d19ee8bb103", size = 1708719, upload-time = "2025-06-14T15:14:44.039Z" },- { url = "https://files.pythonhosted.org/packages/61/97/ade1982a5c642b45f3622255173e40c3eed289c169f89d00eeac29a89906/aiohttp-3.12.13-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:372feeace612ef8eb41f05ae014a92121a512bd5067db8f25101dd88a8db11da", size = 1622424, upload-time = "2025-06-14T15:14:45.945Z" },- { url = "https://files.pythonhosted.org/packages/99/ab/00ad3eea004e1d07ccc406e44cfe2b8da5acb72f8c66aeeb11a096798868/aiohttp-3.12.13-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a946d3702f7965d81f7af7ea8fb03bb33fe53d311df48a46eeca17e9e0beed2d", size = 1675447, upload-time = "2025-06-14T15:14:47.911Z" },- { url = "https://files.pythonhosted.org/packages/3f/fe/74e5ce8b2ccaba445fe0087abc201bfd7259431d92ae608f684fcac5d143/aiohttp-3.12.13-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:a0c4725fae86555bbb1d4082129e21de7264f4ab14baf735278c974785cd2041", size = 1707110, upload-time = "2025-06-14T15:14:50.334Z" },- { url = "https://files.pythonhosted.org/packages/ef/c4/39af17807f694f7a267bd8ab1fbacf16ad66740862192a6c8abac2bff813/aiohttp-3.12.13-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:9b28ea2f708234f0a5c44eb6c7d9eb63a148ce3252ba0140d050b091b6e842d1", size = 1649706, upload-time = "2025-06-14T15:14:52.378Z" },- { url = "https://files.pythonhosted.org/packages/38/e8/f5a0a5f44f19f171d8477059aa5f28a158d7d57fe1a46c553e231f698435/aiohttp-3.12.13-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:d4f5becd2a5791829f79608c6f3dc745388162376f310eb9c142c985f9441cc1", size = 1725839, upload-time = "2025-06-14T15:14:54.617Z" },- { url = "https://files.pythonhosted.org/packages/fd/ac/81acc594c7f529ef4419d3866913f628cd4fa9cab17f7bf410a5c3c04c53/aiohttp-3.12.13-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:60f2ce6b944e97649051d5f5cc0f439360690b73909230e107fd45a359d3e911", size = 1759311, upload-time = "2025-06-14T15:14:56.597Z" },- { url = "https://files.pythonhosted.org/packages/38/0d/aabe636bd25c6ab7b18825e5a97d40024da75152bec39aa6ac8b7a677630/aiohttp-3.12.13-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:69fc1909857401b67bf599c793f2183fbc4804717388b0b888f27f9929aa41f3", size = 1708202, upload-time = "2025-06-14T15:14:58.598Z" },- { url = "https://files.pythonhosted.org/packages/1f/ab/561ef2d8a223261683fb95a6283ad0d36cb66c87503f3a7dde7afe208bb2/aiohttp-3.12.13-cp313-cp313-win32.whl", hash = "sha256:7d7e68787a2046b0e44ba5587aa723ce05d711e3a3665b6b7545328ac8e3c0dd", size = 420794, upload-time = "2025-06-14T15:15:00.939Z" },- { url = "https://files.pythonhosted.org/packages/9d/47/b11d0089875a23bff0abd3edb5516bcd454db3fefab8604f5e4b07bd6210/aiohttp-3.12.13-cp313-cp313-win_amd64.whl", hash = "sha256:5a178390ca90419bfd41419a809688c368e63c86bd725e1186dd97f6b89c2706", size = 446735, upload-time = "2025-06-14T15:15:02.858Z" },+sdist = { url = "https://files.pythonhosted.org/packages/9b/e7/d92a237d8802ca88483906c388f7c201bbe96cd80a165ffd0ac2f6a8d59f/aiohttp-3.12.15.tar.gz", hash = "sha256:4fc61385e9c98d72fcdf47e6dd81833f47b2f77c114c29cd64a361be57a763a2", size = 7823716, upload-time = "2025-07-29T05:52:32.215Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/47/dc/ef9394bde9080128ad401ac7ede185267ed637df03b51f05d14d1c99ad67/aiohttp-3.12.15-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:b6fc902bff74d9b1879ad55f5404153e2b33a82e72a95c89cec5eb6cc9e92fbc", size = 703921, upload-time = "2025-07-29T05:49:43.584Z" },+ { url = "https://files.pythonhosted.org/packages/8f/42/63fccfc3a7ed97eb6e1a71722396f409c46b60a0552d8a56d7aad74e0df5/aiohttp-3.12.15-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:098e92835b8119b54c693f2f88a1dec690e20798ca5f5fe5f0520245253ee0af", size = 480288, upload-time = "2025-07-29T05:49:47.851Z" },+ { url = "https://files.pythonhosted.org/packages/9c/a2/7b8a020549f66ea2a68129db6960a762d2393248f1994499f8ba9728bbed/aiohttp-3.12.15-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:40b3fee496a47c3b4a39a731954c06f0bd9bd3e8258c059a4beb76ac23f8e421", size = 468063, upload-time = "2025-07-29T05:49:49.789Z" },+ { url = "https://files.pythonhosted.org/packages/8f/f5/d11e088da9176e2ad8220338ae0000ed5429a15f3c9dfd983f39105399cd/aiohttp-3.12.15-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2ce13fcfb0bb2f259fb42106cdc63fa5515fb85b7e87177267d89a771a660b79", size = 1650122, upload-time = "2025-07-29T05:49:51.874Z" },+ { url = "https://files.pythonhosted.org/packages/b0/6b/b60ce2757e2faed3d70ed45dafee48cee7bfb878785a9423f7e883f0639c/aiohttp-3.12.15-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3beb14f053222b391bf9cf92ae82e0171067cc9c8f52453a0f1ec7c37df12a77", size = 1624176, upload-time = "2025-07-29T05:49:53.805Z" },+ { url = "https://files.pythonhosted.org/packages/dd/de/8c9fde2072a1b72c4fadecf4f7d4be7a85b1d9a4ab333d8245694057b4c6/aiohttp-3.12.15-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4c39e87afe48aa3e814cac5f535bc6199180a53e38d3f51c5e2530f5aa4ec58c", size = 1696583, upload-time = "2025-07-29T05:49:55.338Z" },+ { url = "https://files.pythonhosted.org/packages/0c/ad/07f863ca3d895a1ad958a54006c6dafb4f9310f8c2fdb5f961b8529029d3/aiohttp-3.12.15-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d5f1b4ce5bc528a6ee38dbf5f39bbf11dd127048726323b72b8e85769319ffc4", size = 1738896, upload-time = "2025-07-29T05:49:57.045Z" },+ { url = "https://files.pythonhosted.org/packages/20/43/2bd482ebe2b126533e8755a49b128ec4e58f1a3af56879a3abdb7b42c54f/aiohttp-3.12.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1004e67962efabbaf3f03b11b4c43b834081c9e3f9b32b16a7d97d4708a9abe6", size = 1643561, upload-time = "2025-07-29T05:49:58.762Z" },+ { url = "https://files.pythonhosted.org/packages/23/40/2fa9f514c4cf4cbae8d7911927f81a1901838baf5e09a8b2c299de1acfe5/aiohttp-3.12.15-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8faa08fcc2e411f7ab91d1541d9d597d3a90e9004180edb2072238c085eac8c2", size = 1583685, upload-time = "2025-07-29T05:50:00.375Z" },+ { url = "https://files.pythonhosted.org/packages/b8/c3/94dc7357bc421f4fb978ca72a201a6c604ee90148f1181790c129396ceeb/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:fe086edf38b2222328cdf89af0dde2439ee173b8ad7cb659b4e4c6f385b2be3d", size = 1627533, upload-time = "2025-07-29T05:50:02.306Z" },+ { url = "https://files.pythonhosted.org/packages/bf/3f/1f8911fe1844a07001e26593b5c255a685318943864b27b4e0267e840f95/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:79b26fe467219add81d5e47b4a4ba0f2394e8b7c7c3198ed36609f9ba161aecb", size = 1638319, upload-time = "2025-07-29T05:50:04.282Z" },+ { url = "https://files.pythonhosted.org/packages/4e/46/27bf57a99168c4e145ffee6b63d0458b9c66e58bb70687c23ad3d2f0bd17/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:b761bac1192ef24e16706d761aefcb581438b34b13a2f069a6d343ec8fb693a5", size = 1613776, upload-time = "2025-07-29T05:50:05.863Z" },+ { url = "https://files.pythonhosted.org/packages/0f/7e/1d2d9061a574584bb4ad3dbdba0da90a27fdc795bc227def3a46186a8bc1/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:e153e8adacfe2af562861b72f8bc47f8a5c08e010ac94eebbe33dc21d677cd5b", size = 1693359, upload-time = "2025-07-29T05:50:07.563Z" },+ { url = "https://files.pythonhosted.org/packages/08/98/bee429b52233c4a391980a5b3b196b060872a13eadd41c3a34be9b1469ed/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:fc49c4de44977aa8601a00edbf157e9a421f227aa7eb477d9e3df48343311065", size = 1716598, upload-time = "2025-07-29T05:50:09.33Z" },+ { url = "https://files.pythonhosted.org/packages/57/39/b0314c1ea774df3392751b686104a3938c63ece2b7ce0ba1ed7c0b4a934f/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:2776c7ec89c54a47029940177e75c8c07c29c66f73464784971d6a81904ce9d1", size = 1644940, upload-time = "2025-07-29T05:50:11.334Z" },+ { url = "https://files.pythonhosted.org/packages/1b/83/3dacb8d3f8f512c8ca43e3fa8a68b20583bd25636ffa4e56ee841ffd79ae/aiohttp-3.12.15-cp310-cp310-win32.whl", hash = "sha256:2c7d81a277fa78b2203ab626ced1487420e8c11a8e373707ab72d189fcdad20a", size = 429239, upload-time = "2025-07-29T05:50:12.803Z" },+ { url = "https://files.pythonhosted.org/packages/eb/f9/470b5daba04d558c9673ca2034f28d067f3202a40e17804425f0c331c89f/aiohttp-3.12.15-cp310-cp310-win_amd64.whl", hash = "sha256:83603f881e11f0f710f8e2327817c82e79431ec976448839f3cd05d7afe8f830", size = 452297, upload-time = "2025-07-29T05:50:14.266Z" },+ { url = "https://files.pythonhosted.org/packages/20/19/9e86722ec8e835959bd97ce8c1efa78cf361fa4531fca372551abcc9cdd6/aiohttp-3.12.15-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d3ce17ce0220383a0f9ea07175eeaa6aa13ae5a41f30bc61d84df17f0e9b1117", size = 711246, upload-time = "2025-07-29T05:50:15.937Z" },+ { url = "https://files.pythonhosted.org/packages/71/f9/0a31fcb1a7d4629ac9d8f01f1cb9242e2f9943f47f5d03215af91c3c1a26/aiohttp-3.12.15-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:010cc9bbd06db80fe234d9003f67e97a10fe003bfbedb40da7d71c1008eda0fe", size = 483515, upload-time = "2025-07-29T05:50:17.442Z" },+ { url = "https://files.pythonhosted.org/packages/62/6c/94846f576f1d11df0c2e41d3001000527c0fdf63fce7e69b3927a731325d/aiohttp-3.12.15-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3f9d7c55b41ed687b9d7165b17672340187f87a773c98236c987f08c858145a9", size = 471776, upload-time = "2025-07-29T05:50:19.568Z" },+ { url = "https://files.pythonhosted.org/packages/f8/6c/f766d0aaafcee0447fad0328da780d344489c042e25cd58fde566bf40aed/aiohttp-3.12.15-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bc4fbc61bb3548d3b482f9ac7ddd0f18c67e4225aaa4e8552b9f1ac7e6bda9e5", size = 1741977, upload-time = "2025-07-29T05:50:21.665Z" },+ { url = "https://files.pythonhosted.org/packages/17/e5/fb779a05ba6ff44d7bc1e9d24c644e876bfff5abe5454f7b854cace1b9cc/aiohttp-3.12.15-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7fbc8a7c410bb3ad5d595bb7118147dfbb6449d862cc1125cf8867cb337e8728", size = 1690645, upload-time = "2025-07-29T05:50:23.333Z" },+ { url = "https://files.pythonhosted.org/packages/37/4e/a22e799c2035f5d6a4ad2cf8e7c1d1bd0923192871dd6e367dafb158b14c/aiohttp-3.12.15-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:74dad41b3458dbb0511e760fb355bb0b6689e0630de8a22b1b62a98777136e16", size = 1789437, upload-time = "2025-07-29T05:50:25.007Z" },+ { url = "https://files.pythonhosted.org/packages/28/e5/55a33b991f6433569babb56018b2fb8fb9146424f8b3a0c8ecca80556762/aiohttp-3.12.15-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3b6f0af863cf17e6222b1735a756d664159e58855da99cfe965134a3ff63b0b0", size = 1828482, upload-time = "2025-07-29T05:50:26.693Z" },+ { url = "https://files.pythonhosted.org/packages/c6/82/1ddf0ea4f2f3afe79dffed5e8a246737cff6cbe781887a6a170299e33204/aiohttp-3.12.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b5b7fe4972d48a4da367043b8e023fb70a04d1490aa7d68800e465d1b97e493b", size = 1730944, upload-time = "2025-07-29T05:50:28.382Z" },+ { url = "https://files.pythonhosted.org/packages/1b/96/784c785674117b4cb3877522a177ba1b5e4db9ce0fd519430b5de76eec90/aiohttp-3.12.15-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6443cca89553b7a5485331bc9bedb2342b08d073fa10b8c7d1c60579c4a7b9bd", size = 1668020, upload-time = "2025-07-29T05:50:30.032Z" },+ { url = "https://files.pythonhosted.org/packages/12/8a/8b75f203ea7e5c21c0920d84dd24a5c0e971fe1e9b9ebbf29ae7e8e39790/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6c5f40ec615e5264f44b4282ee27628cea221fcad52f27405b80abb346d9f3f8", size = 1716292, upload-time = "2025-07-29T05:50:31.983Z" },+ { url = "https://files.pythonhosted.org/packages/47/0b/a1451543475bb6b86a5cfc27861e52b14085ae232896a2654ff1231c0992/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:2abbb216a1d3a2fe86dbd2edce20cdc5e9ad0be6378455b05ec7f77361b3ab50", size = 1711451, upload-time = "2025-07-29T05:50:33.989Z" },+ { url = "https://files.pythonhosted.org/packages/55/fd/793a23a197cc2f0d29188805cfc93aa613407f07e5f9da5cd1366afd9d7c/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:db71ce547012a5420a39c1b744d485cfb823564d01d5d20805977f5ea1345676", size = 1691634, upload-time = "2025-07-29T05:50:35.846Z" },+ { url = "https://files.pythonhosted.org/packages/ca/bf/23a335a6670b5f5dfc6d268328e55a22651b440fca341a64fccf1eada0c6/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:ced339d7c9b5030abad5854aa5413a77565e5b6e6248ff927d3e174baf3badf7", size = 1785238, upload-time = "2025-07-29T05:50:37.597Z" },+ { url = "https://files.pythonhosted.org/packages/57/4f/ed60a591839a9d85d40694aba5cef86dde9ee51ce6cca0bb30d6eb1581e7/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:7c7dd29c7b5bda137464dc9bfc738d7ceea46ff70309859ffde8c022e9b08ba7", size = 1805701, upload-time = "2025-07-29T05:50:39.591Z" },+ { url = "https://files.pythonhosted.org/packages/85/e0/444747a9455c5de188c0f4a0173ee701e2e325d4b2550e9af84abb20cdba/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:421da6fd326460517873274875c6c5a18ff225b40da2616083c5a34a7570b685", size = 1718758, upload-time = "2025-07-29T05:50:41.292Z" },+ { url = "https://files.pythonhosted.org/packages/36/ab/1006278d1ffd13a698e5dd4bfa01e5878f6bddefc296c8b62649753ff249/aiohttp-3.12.15-cp311-cp311-win32.whl", hash = "sha256:4420cf9d179ec8dfe4be10e7d0fe47d6d606485512ea2265b0d8c5113372771b", size = 428868, upload-time = "2025-07-29T05:50:43.063Z" },+ { url = "https://files.pythonhosted.org/packages/10/97/ad2b18700708452400278039272032170246a1bf8ec5d832772372c71f1a/aiohttp-3.12.15-cp311-cp311-win_amd64.whl", hash = "sha256:edd533a07da85baa4b423ee8839e3e91681c7bfa19b04260a469ee94b778bf6d", size = 453273, upload-time = "2025-07-29T05:50:44.613Z" },+ { url = "https://files.pythonhosted.org/packages/63/97/77cb2450d9b35f517d6cf506256bf4f5bda3f93a66b4ad64ba7fc917899c/aiohttp-3.12.15-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:802d3868f5776e28f7bf69d349c26fc0efadb81676d0afa88ed00d98a26340b7", size = 702333, upload-time = "2025-07-29T05:50:46.507Z" },+ { url = "https://files.pythonhosted.org/packages/83/6d/0544e6b08b748682c30b9f65640d006e51f90763b41d7c546693bc22900d/aiohttp-3.12.15-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:f2800614cd560287be05e33a679638e586a2d7401f4ddf99e304d98878c29444", size = 476948, upload-time = "2025-07-29T05:50:48.067Z" },+ { url = "https://files.pythonhosted.org/packages/3a/1d/c8c40e611e5094330284b1aea8a4b02ca0858f8458614fa35754cab42b9c/aiohttp-3.12.15-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8466151554b593909d30a0a125d638b4e5f3836e5aecde85b66b80ded1cb5b0d", size = 469787, upload-time = "2025-07-29T05:50:49.669Z" },+ { url = "https://files.pythonhosted.org/packages/38/7d/b76438e70319796bfff717f325d97ce2e9310f752a267bfdf5192ac6082b/aiohttp-3.12.15-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e5a495cb1be69dae4b08f35a6c4579c539e9b5706f606632102c0f855bcba7c", size = 1716590, upload-time = "2025-07-29T05:50:51.368Z" },+ { url = "https://files.pythonhosted.org/packages/79/b1/60370d70cdf8b269ee1444b390cbd72ce514f0d1cd1a715821c784d272c9/aiohttp-3.12.15-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6404dfc8cdde35c69aaa489bb3542fb86ef215fc70277c892be8af540e5e21c0", size = 1699241, upload-time = "2025-07-29T05:50:53.628Z" },+ { url = "https://files.pythonhosted.org/packages/a3/2b/4968a7b8792437ebc12186db31523f541943e99bda8f30335c482bea6879/aiohttp-3.12.15-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3ead1c00f8521a5c9070fcb88f02967b1d8a0544e6d85c253f6968b785e1a2ab", size = 1754335, upload-time = "2025-07-29T05:50:55.394Z" },+ { url = "https://files.pythonhosted.org/packages/fb/c1/49524ed553f9a0bec1a11fac09e790f49ff669bcd14164f9fab608831c4d/aiohttp-3.12.15-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6990ef617f14450bc6b34941dba4f12d5613cbf4e33805932f853fbd1cf18bfb", size = 1800491, upload-time = "2025-07-29T05:50:57.202Z" },+ { url = "https://files.pythonhosted.org/packages/de/5e/3bf5acea47a96a28c121b167f5ef659cf71208b19e52a88cdfa5c37f1fcc/aiohttp-3.12.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd736ed420f4db2b8148b52b46b88ed038d0354255f9a73196b7bbce3ea97545", size = 1719929, upload-time = "2025-07-29T05:50:59.192Z" },+ { url = "https://files.pythonhosted.org/packages/39/94/8ae30b806835bcd1cba799ba35347dee6961a11bd507db634516210e91d8/aiohttp-3.12.15-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3c5092ce14361a73086b90c6efb3948ffa5be2f5b6fbcf52e8d8c8b8848bb97c", size = 1635733, upload-time = "2025-07-29T05:51:01.394Z" },+ { url = "https://files.pythonhosted.org/packages/7a/46/06cdef71dd03acd9da7f51ab3a9107318aee12ad38d273f654e4f981583a/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:aaa2234bb60c4dbf82893e934d8ee8dea30446f0647e024074237a56a08c01bd", size = 1696790, upload-time = "2025-07-29T05:51:03.657Z" },+ { url = "https://files.pythonhosted.org/packages/02/90/6b4cfaaf92ed98d0ec4d173e78b99b4b1a7551250be8937d9d67ecb356b4/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:6d86a2fbdd14192e2f234a92d3b494dd4457e683ba07e5905a0b3ee25389ac9f", size = 1718245, upload-time = "2025-07-29T05:51:05.911Z" },+ { url = "https://files.pythonhosted.org/packages/2e/e6/2593751670fa06f080a846f37f112cbe6f873ba510d070136a6ed46117c6/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:a041e7e2612041a6ddf1c6a33b883be6a421247c7afd47e885969ee4cc58bd8d", size = 1658899, upload-time = "2025-07-29T05:51:07.753Z" },+ { url = "https://files.pythonhosted.org/packages/8f/28/c15bacbdb8b8eb5bf39b10680d129ea7410b859e379b03190f02fa104ffd/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:5015082477abeafad7203757ae44299a610e89ee82a1503e3d4184e6bafdd519", size = 1738459, upload-time = "2025-07-29T05:51:09.56Z" },+ { url = "https://files.pythonhosted.org/packages/00/de/c269cbc4faa01fb10f143b1670633a8ddd5b2e1ffd0548f7aa49cb5c70e2/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:56822ff5ddfd1b745534e658faba944012346184fbfe732e0d6134b744516eea", size = 1766434, upload-time = "2025-07-29T05:51:11.423Z" },+ { url = "https://files.pythonhosted.org/packages/52/b0/4ff3abd81aa7d929b27d2e1403722a65fc87b763e3a97b3a2a494bfc63bc/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b2acbbfff69019d9014508c4ba0401822e8bae5a5fdc3b6814285b71231b60f3", size = 1726045, upload-time = "2025-07-29T05:51:13.689Z" },+ { url = "https://files.pythonhosted.org/packages/71/16/949225a6a2dd6efcbd855fbd90cf476052e648fb011aa538e3b15b89a57a/aiohttp-3.12.15-cp312-cp312-win32.whl", hash = "sha256:d849b0901b50f2185874b9a232f38e26b9b3d4810095a7572eacea939132d4e1", size = 423591, upload-time = "2025-07-29T05:51:15.452Z" },+ { url = "https://files.pythonhosted.org/packages/2b/d8/fa65d2a349fe938b76d309db1a56a75c4fb8cc7b17a398b698488a939903/aiohttp-3.12.15-cp312-cp312-win_amd64.whl", hash = "sha256:b390ef5f62bb508a9d67cb3bba9b8356e23b3996da7062f1a57ce1a79d2b3d34", size = 450266, upload-time = "2025-07-29T05:51:17.239Z" },+ { url = "https://files.pythonhosted.org/packages/f2/33/918091abcf102e39d15aba2476ad9e7bd35ddb190dcdd43a854000d3da0d/aiohttp-3.12.15-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:9f922ffd05034d439dde1c77a20461cf4a1b0831e6caa26151fe7aa8aaebc315", size = 696741, upload-time = "2025-07-29T05:51:19.021Z" },+ { url = "https://files.pythonhosted.org/packages/b5/2a/7495a81e39a998e400f3ecdd44a62107254803d1681d9189be5c2e4530cd/aiohttp-3.12.15-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2ee8a8ac39ce45f3e55663891d4b1d15598c157b4d494a4613e704c8b43112cd", size = 474407, upload-time = "2025-07-29T05:51:21.165Z" },+ { url = "https://files.pythonhosted.org/packages/49/fc/a9576ab4be2dcbd0f73ee8675d16c707cfc12d5ee80ccf4015ba543480c9/aiohttp-3.12.15-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:3eae49032c29d356b94eee45a3f39fdf4b0814b397638c2f718e96cfadf4c4e4", size = 466703, upload-time = "2025-07-29T05:51:22.948Z" },+ { url = "https://files.pythonhosted.org/packages/09/2f/d4bcc8448cf536b2b54eed48f19682031ad182faa3a3fee54ebe5b156387/aiohttp-3.12.15-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b97752ff12cc12f46a9b20327104448042fce5c33a624f88c18f66f9368091c7", size = 1705532, upload-time = "2025-07-29T05:51:25.211Z" },+ { url = "https://files.pythonhosted.org/packages/f1/f3/59406396083f8b489261e3c011aa8aee9df360a96ac8fa5c2e7e1b8f0466/aiohttp-3.12.15-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:894261472691d6fe76ebb7fcf2e5870a2ac284c7406ddc95823c8598a1390f0d", size = 1686794, upload-time = "2025-07-29T05:51:27.145Z" },+ { url = "https://files.pythonhosted.org/packages/dc/71/164d194993a8d114ee5656c3b7ae9c12ceee7040d076bf7b32fb98a8c5c6/aiohttp-3.12.15-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5fa5d9eb82ce98959fc1031c28198b431b4d9396894f385cb63f1e2f3f20ca6b", size = 1738865, upload-time = "2025-07-29T05:51:29.366Z" },+ { url = "https://files.pythonhosted.org/packages/1c/00/d198461b699188a93ead39cb458554d9f0f69879b95078dce416d3209b54/aiohttp-3.12.15-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f0fa751efb11a541f57db59c1dd821bec09031e01452b2b6217319b3a1f34f3d", size = 1788238, upload-time = "2025-07-29T05:51:31.285Z" },+ { url = "https://files.pythonhosted.org/packages/85/b8/9e7175e1fa0ac8e56baa83bf3c214823ce250d0028955dfb23f43d5e61fd/aiohttp-3.12.15-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5346b93e62ab51ee2a9d68e8f73c7cf96ffb73568a23e683f931e52450e4148d", size = 1710566, upload-time = "2025-07-29T05:51:33.219Z" },+ { url = "https://files.pythonhosted.org/packages/59/e4/16a8eac9df39b48ae102ec030fa9f726d3570732e46ba0c592aeeb507b93/aiohttp-3.12.15-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:049ec0360f939cd164ecbfd2873eaa432613d5e77d6b04535e3d1fbae5a9e645", size = 1624270, upload-time = "2025-07-29T05:51:35.195Z" },+ { url = "https://files.pythonhosted.org/packages/1f/f8/cd84dee7b6ace0740908fd0af170f9fab50c2a41ccbc3806aabcb1050141/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b52dcf013b57464b6d1e51b627adfd69a8053e84b7103a7cd49c030f9ca44461", size = 1677294, upload-time = "2025-07-29T05:51:37.215Z" },+ { url = "https://files.pythonhosted.org/packages/ce/42/d0f1f85e50d401eccd12bf85c46ba84f947a84839c8a1c2c5f6e8ab1eb50/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:9b2af240143dd2765e0fb661fd0361a1b469cab235039ea57663cda087250ea9", size = 1708958, upload-time = "2025-07-29T05:51:39.328Z" },+ { url = "https://files.pythonhosted.org/packages/d5/6b/f6fa6c5790fb602538483aa5a1b86fcbad66244997e5230d88f9412ef24c/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ac77f709a2cde2cc71257ab2d8c74dd157c67a0558a0d2799d5d571b4c63d44d", size = 1651553, upload-time = "2025-07-29T05:51:41.356Z" },+ { url = "https://files.pythonhosted.org/packages/04/36/a6d36ad545fa12e61d11d1932eef273928b0495e6a576eb2af04297fdd3c/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:47f6b962246f0a774fbd3b6b7be25d59b06fdb2f164cf2513097998fc6a29693", size = 1727688, upload-time = "2025-07-29T05:51:43.452Z" },+ { url = "https://files.pythonhosted.org/packages/aa/c8/f195e5e06608a97a4e52c5d41c7927301bf757a8e8bb5bbf8cef6c314961/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:760fb7db442f284996e39cf9915a94492e1896baac44f06ae551974907922b64", size = 1761157, upload-time = "2025-07-29T05:51:45.643Z" },+ { url = "https://files.pythonhosted.org/packages/05/6a/ea199e61b67f25ba688d3ce93f63b49b0a4e3b3d380f03971b4646412fc6/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ad702e57dc385cae679c39d318def49aef754455f237499d5b99bea4ef582e51", size = 1710050, upload-time = "2025-07-29T05:51:48.203Z" },+ { url = "https://files.pythonhosted.org/packages/b4/2e/ffeb7f6256b33635c29dbed29a22a723ff2dd7401fff42ea60cf2060abfb/aiohttp-3.12.15-cp313-cp313-win32.whl", hash = "sha256:f813c3e9032331024de2eb2e32a88d86afb69291fbc37a3a3ae81cc9917fb3d0", size = 422647, upload-time = "2025-07-29T05:51:50.718Z" },+ { url = "https://files.pythonhosted.org/packages/1b/8e/78ee35774201f38d5e1ba079c9958f7629b1fd079459aea9467441dbfbf5/aiohttp-3.12.15-cp313-cp313-win_amd64.whl", hash = "sha256:1a649001580bdb37c6fdb1bebbd7e3bc688e8ec2b5c6f52edbb664662b17dc84", size = 449067, upload-time = "2025-07-29T05:51:52.549Z" },][[package]]@@ -158,14 +158,15 @@ wheels = [[[package]]name = "aiosignal"-version = "1.3.2"+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/ba/b5/6d55e80f6d8a08ce22b982eafa278d823b541c925f11ee774b0b9c43473d/aiosignal-1.3.2.tar.gz", hash = "sha256:a8c255c66fafb1e499c9351d0bf32ff2d8a0321595ebac3b93713656d2436f54", size = 19424, upload-time = "2024-12-13T17:10:40.86Z" }+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/ec/6a/bc7e17a3e87a2985d3e8f4da4cd0f481060eb78fb08596c42be62c90a4d9/aiosignal-1.3.2-py2.py3-none-any.whl", hash = "sha256:45cde58e409a301715980c2b01d0c28bdde3770d8290b5eb2173759d9acb31a5", size = 7597, upload-time = "2024-12-13T17:10:38.469Z" },+ { 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]]@@ -179,7 +180,7 @@ wheels = [[[package]]name = "anthropic"-version = "0.54.0"+version = "0.64.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "anyio" },@@ -190,14 +191,14 @@ dependencies = [{ name = "sniffio" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/89/28/80cb9bb6e7ce77d404145b51da4257455805c17f0a6be528ff3286e3882f/anthropic-0.54.0.tar.gz", hash = "sha256:5e6f997d97ce8e70eac603c3ec2e7f23addeff953fbbb76b19430562bb6ba815", size = 312376, upload-time = "2025-06-11T02:46:27.642Z" }+sdist = { url = "https://files.pythonhosted.org/packages/d8/4f/f2b880cba1a76f3acc7d5eb2ae217632eac1b8cef5ed3027493545c59eba/anthropic-0.64.0.tar.gz", hash = "sha256:3d496c91a63dff64f451b3e8e4b238a9640bf87b0c11d0b74ddc372ba5a3fe58", size = 427893, upload-time = "2025-08-13T17:09:49.915Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/de/b9/6ffb48e82c5e97b03cecee872d134a6b6666c2767b2d32ed709f3a60a8fe/anthropic-0.54.0-py3-none-any.whl", hash = "sha256:c1062a0a905daeec17ca9c06c401e4b3f24cb0495841d29d752568a1d4018d56", size = 288774, upload-time = "2025-06-11T02:46:25.578Z" },+ { url = "https://files.pythonhosted.org/packages/a9/b2/2d268bcd5d6441df9dc0ebebc67107657edb8b0150d3fda1a5b81d1bec45/anthropic-0.64.0-py3-none-any.whl", hash = "sha256:6f5f7d913a6a95eb7f8e1bda4e75f76670e8acd8d4cd965e02e2a256b0429dd1", size = 297244, upload-time = "2025-08-13T17:09:47.908Z" },][[package]]name = "anyio"-version = "4.9.0"+version = "4.10.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "exceptiongroup", marker = "python_full_version < '3.11'" },@@ -205,9 +206,9 @@ dependencies = [{ name = "sniffio" },{ name = "typing-extensions", marker = "python_full_version < '3.13'" },]-sdist = { url = "https://files.pythonhosted.org/packages/95/7d/4c1bd541d4dffa1b52bd83fb8527089e097a106fc90b467a7313b105f840/anyio-4.9.0.tar.gz", hash = "sha256:673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028", size = 190949, upload-time = "2025-03-17T00:02:54.77Z" }+sdist = { url = "https://files.pythonhosted.org/packages/f1/b4/636b3b65173d3ce9a38ef5f0522789614e590dab6a8d505340a4efe4c567/anyio-4.10.0.tar.gz", hash = "sha256:3f3fae35c96039744587aa5b8371e7e8e603c0702999535961dd336026973ba6", size = 213252, upload-time = "2025-08-04T08:54:26.451Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/a1/ee/48ca1a7c89ffec8b6a0c5d02b89c305671d5ffd8d3c94acf8b8c408575bb/anyio-4.9.0-py3-none-any.whl", hash = "sha256:9f76d541cad6e36af7beb62e978876f3b41e3e04f2c1fbf0884604c0a9c4d93c", size = 100916, upload-time = "2025-03-17T00:02:52.713Z" },+ { url = "https://files.pythonhosted.org/packages/6f/12/e5e0282d673bb9746bacfb6e2dba8719989d3660cdb2ea79aee9a9651afb/anyio-4.10.0-py3-none-any.whl", hash = "sha256:60e474ac86736bbfd6f210f7a61218939c318f43f9972497381f1c5e930ed3d1", size = 107213, upload-time = "2025-08-04T08:54:24.882Z" },][[package]]@@ -237,6 +238,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/b7/b8/3fe70c75fe32afc4bb507f75563d39bc5642255d1d94f1f23604725780bf/babel-2.17.0-py3-none-any.whl", hash = "sha256:4d0b53093fdfb4b21c92b5213dba5a1b23885afa8383709427046b21c366e5f2", size = 10182537, upload-time = "2025-02-01T15:17:37.39Z" },]+[[package]]+name = "backports-asyncio-runner"+version = "1.2.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/8e/ff/70dca7d7cb1cbc0edb2c6cc0c38b65cba36cccc491eca64cabd5fe7f8670/backports_asyncio_runner-1.2.0.tar.gz", hash = "sha256:a5aa7b2b7d8f8bfcaa2b57313f70792df84e32a2a746f585213373f900b42162", size = 69893, upload-time = "2025-07-02T02:27:15.685Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/a0/59/76ab57e3fe74484f48a53f8e337171b4a2349e506eabe136d7e01d059086/backports_asyncio_runner-1.2.0-py3-none-any.whl", hash = "sha256:0da0a936a8aeb554eccb426dc55af3ba63bcdc69fa1a600b5bb305413a4477b5", size = 12313, upload-time = "2025-07-02T02:27:14.263Z" },+]+[[package]]name = "backports-strenum"version = "1.3.1"@@ -248,69 +258,70 @@ wheels = [[[package]]name = "backrefs"-version = "5.8"+version = "5.9"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/6c/46/caba1eb32fa5784428ab401a5487f73db4104590ecd939ed9daaf18b47e0/backrefs-5.8.tar.gz", hash = "sha256:2cab642a205ce966af3dd4b38ee36009b31fa9502a35fd61d59ccc116e40a6bd", size = 6773994, upload-time = "2025-02-25T18:15:32.003Z" }+sdist = { url = "https://files.pythonhosted.org/packages/eb/a7/312f673df6a79003279e1f55619abbe7daebbb87c17c976ddc0345c04c7b/backrefs-5.9.tar.gz", hash = "sha256:808548cb708d66b82ee231f962cb36faaf4f2baab032f2fbb783e9c2fdddaa59", size = 5765857, upload-time = "2025-06-22T19:34:13.97Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/bf/cb/d019ab87fe70e0fe3946196d50d6a4428623dc0c38a6669c8cae0320fbf3/backrefs-5.8-py310-none-any.whl", hash = "sha256:c67f6638a34a5b8730812f5101376f9d41dc38c43f1fdc35cb54700f6ed4465d", size = 380337, upload-time = "2025-02-25T16:53:14.607Z" },- { url = "https://files.pythonhosted.org/packages/a9/86/abd17f50ee21b2248075cb6924c6e7f9d23b4925ca64ec660e869c2633f1/backrefs-5.8-py311-none-any.whl", hash = "sha256:2e1c15e4af0e12e45c8701bd5da0902d326b2e200cafcd25e49d9f06d44bb61b", size = 392142, upload-time = "2025-02-25T16:53:17.266Z" },- { url = "https://files.pythonhosted.org/packages/b3/04/7b415bd75c8ab3268cc138c76fa648c19495fcc7d155508a0e62f3f82308/backrefs-5.8-py312-none-any.whl", hash = "sha256:bbef7169a33811080d67cdf1538c8289f76f0942ff971222a16034da88a73486", size = 398021, upload-time = "2025-02-25T16:53:26.378Z" },- { url = "https://files.pythonhosted.org/packages/04/b8/60dcfb90eb03a06e883a92abbc2ab95c71f0d8c9dd0af76ab1d5ce0b1402/backrefs-5.8-py313-none-any.whl", hash = "sha256:e3a63b073867dbefd0536425f43db618578528e3896fb77be7141328642a1585", size = 399915, upload-time = "2025-02-25T16:53:28.167Z" },- { url = "https://files.pythonhosted.org/packages/0c/37/fb6973edeb700f6e3d6ff222400602ab1830446c25c7b4676d8de93e65b8/backrefs-5.8-py39-none-any.whl", hash = "sha256:a66851e4533fb5b371aa0628e1fee1af05135616b86140c9d787a2ffdf4b8fdc", size = 380336, upload-time = "2025-02-25T16:53:29.858Z" },+ { url = "https://files.pythonhosted.org/packages/19/4d/798dc1f30468134906575156c089c492cf79b5a5fd373f07fe26c4d046bf/backrefs-5.9-py310-none-any.whl", hash = "sha256:db8e8ba0e9de81fcd635f440deab5ae5f2591b54ac1ebe0550a2ca063488cd9f", size = 380267, upload-time = "2025-06-22T19:34:05.252Z" },+ { url = "https://files.pythonhosted.org/packages/55/07/f0b3375bf0d06014e9787797e6b7cc02b38ac9ff9726ccfe834d94e9991e/backrefs-5.9-py311-none-any.whl", hash = "sha256:6907635edebbe9b2dc3de3a2befff44d74f30a4562adbb8b36f21252ea19c5cf", size = 392072, upload-time = "2025-06-22T19:34:06.743Z" },+ { url = "https://files.pythonhosted.org/packages/9d/12/4f345407259dd60a0997107758ba3f221cf89a9b5a0f8ed5b961aef97253/backrefs-5.9-py312-none-any.whl", hash = "sha256:7fdf9771f63e6028d7fee7e0c497c81abda597ea45d6b8f89e8ad76994f5befa", size = 397947, upload-time = "2025-06-22T19:34:08.172Z" },+ { url = "https://files.pythonhosted.org/packages/10/bf/fa31834dc27a7f05e5290eae47c82690edc3a7b37d58f7fb35a1bdbf355b/backrefs-5.9-py313-none-any.whl", hash = "sha256:cc37b19fa219e93ff825ed1fed8879e47b4d89aa7a1884860e2db64ccd7c676b", size = 399843, upload-time = "2025-06-22T19:34:09.68Z" },+ { url = "https://files.pythonhosted.org/packages/fc/24/b29af34b2c9c41645a9f4ff117bae860291780d73880f449e0b5d948c070/backrefs-5.9-py314-none-any.whl", hash = "sha256:df5e169836cc8acb5e440ebae9aad4bf9d15e226d3bad049cf3f6a5c20cc8dc9", size = 411762, upload-time = "2025-06-22T19:34:11.037Z" },+ { url = "https://files.pythonhosted.org/packages/41/ff/392bff89415399a979be4a65357a41d92729ae8580a66073d8ec8d810f98/backrefs-5.9-py39-none-any.whl", hash = "sha256:f48ee18f6252b8f5777a22a00a09a85de0ca931658f1dd96d4406a34f3748c60", size = 380265, upload-time = "2025-06-22T19:34:12.405Z" },][[package]]name = "boto3"-version = "1.37.3"+version = "1.39.11"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "botocore" },{ name = "jmespath" },{ name = "s3transfer" },]-sdist = { url = "https://files.pythonhosted.org/packages/7e/3f/135ec0771e6d0e1af2ad7023a15df6677d96112072838d948c9b5075efe1/boto3-1.37.3.tar.gz", hash = "sha256:21f3ce0ef111297e63a6eb998a25197b8c10982970c320d4c6e8db08be2157be", size = 111160, upload-time = "2025-02-27T20:28:15.588Z" }+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/62/8c/213511a505af2239a673de4de145d013379275c569185187922f93dbdf14/boto3-1.37.3-py3-none-any.whl", hash = "sha256:2063b40af99fd02f6228ff52397b552ff3353831edaf8d25cc04801827ab9794", size = 139344, upload-time = "2025-02-27T20:28:13.085Z" },+ { 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 = "boto3-stubs"-version = "1.38.36"+version = "1.40.16"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "botocore-stubs" },{ name = "types-s3transfer" },{ name = "typing-extensions", marker = "python_full_version < '3.12'" },]-sdist = { url = "https://files.pythonhosted.org/packages/19/f3/7912b4defaa727ff06e9fca0025f8cd5057bbe305a1785996897b6c0fd55/boto3_stubs-1.38.36.tar.gz", hash = "sha256:8de916b9433e9224f3bd4a79ed41e508dc532bfee7db34bfd3752901bcd7e69f", size = 99186, upload-time = "2025-06-12T19:47:30.827Z" }+sdist = { url = "https://files.pythonhosted.org/packages/7e/c9/6e95f300d184c50d9ff9858f5732dbdc6e8eddf9acbe110eeb69a7eedfab/boto3_stubs-1.40.16.tar.gz", hash = "sha256:30960a4a46a4c49aac440deb1281356fe8907facff100e76ce4587738dc77d01", size = 101370, upload-time = "2025-08-22T19:47:52.4Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/4f/d6/6bdc5b16e36fd713ab9434a7fd9a7a63996b20392f0b6e9f6abc54de8ed9/boto3_stubs-1.38.36-py3-none-any.whl", hash = "sha256:1f79b85f93772df94854e9e570a917f1d762f4080a88ed16b9f2e4b98b24f1f1", size = 68732, upload-time = "2025-06-12T19:47:22.12Z" },+ { url = "https://files.pythonhosted.org/packages/5c/91/932828f253b3c081814ccdeb6a6d00f2ec2e3dbebdba70f54233415ce6ba/boto3_stubs-1.40.16-py3-none-any.whl", hash = "sha256:6b4e555fdd183c0615cda7d4048f4f8ebcd78428374f307ae5f56c4dacd00871", size = 70011, upload-time = "2025-08-22T19:47:42.58Z" },][[package]]name = "botocore"-version = "1.37.3"+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/74/fb/b243ab806d2e1e6b8a475b731cc59a1f1e4709eded4884b988a27bbc996b/botocore-1.37.3.tar.gz", hash = "sha256:fe8403eb55a88faf9b0f9da6615e5bee7be056d75e17af66c3c8f0a3b0648da4", size = 13574648, upload-time = "2025-02-27T20:27:59.559Z" }+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/88/54/772118f15b5990173aa5264946cc8c9ff70c8f02d72ee6d63167a985188c/botocore-1.37.3-py3-none-any.whl", hash = "sha256:d01bd3bf4c80e61fa88d636ad9f5c9f60a551d71549b481386c6b4efe0bb2b2e", size = 13342066, upload-time = "2025-02-27T20:27:53.137Z" },+ { 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 = "botocore-stubs"-version = "1.38.30"+version = "1.38.46"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "types-awscrt" },]-sdist = { url = "https://files.pythonhosted.org/packages/b2/df/9bf9f6346daf1cbcb736a12417efe025ed63d72a015799f4e8f26a823b93/botocore_stubs-1.38.30.tar.gz", hash = "sha256:291d7bf39a316c00a8a55b7255489b02c0cea1a343482e7784e8d1e235bae995", size = 42299, upload-time = "2025-06-04T20:14:50.799Z" }+sdist = { url = "https://files.pythonhosted.org/packages/05/45/27cabc7c3022dcb12de5098cc646b374065f5e72fae13600ff1756f365ee/botocore_stubs-1.38.46.tar.gz", hash = "sha256:a04e69766ab8bae338911c1897492f88d05cd489cd75f06e6eb4f135f9da8c7b", size = 42299, upload-time = "2025-06-29T22:58:24.765Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/98/71/cc9bc544489160cbacc8472b70ba0f9b93385628ed8bd0f673855b7ceeb7/botocore_stubs-1.38.30-py3-none-any.whl", hash = "sha256:2efb8bdf36504aff596c670d875d8f7dd15205277c15c4cea54afdba8200c266", size = 65628, upload-time = "2025-06-04T20:14:48.089Z" },+ { url = "https://files.pythonhosted.org/packages/cc/84/06490071e26bab22ac79a684e98445df118adcf80c58c33ba5af184030f2/botocore_stubs-1.38.46-py3-none-any.whl", hash = "sha256:cc21d9a7dd994bdd90872db4664d817c4719b51cda8004fd507a4bf65b085a75", size = 66083, upload-time = "2025-06-29T22:58:22.234Z" },][[package]]@@ -324,11 +335,11 @@ wheels = [[[package]]name = "certifi"-version = "2025.6.15"+version = "2025.8.3"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/73/f7/f14b46d4bcd21092d7d3ccef689615220d8a08fb25e564b65d20738e672e/certifi-2025.6.15.tar.gz", hash = "sha256:d747aa5a8b9bbbb1bb8c22bb13e22bd1f18e9796defa16bab421f7f7a317323b", size = 158753, upload-time = "2025-06-15T02:45:51.329Z" }+sdist = { url = "https://files.pythonhosted.org/packages/dc/67/960ebe6bf230a96cda2e0abcf73af550ec4f090005363542f0765df162e0/certifi-2025.8.3.tar.gz", hash = "sha256:e564105f78ded564e3ae7c923924435e1daa7463faeab5bb932bc53ffae63407", size = 162386, upload-time = "2025-08-03T03:07:47.08Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/84/ae/320161bd181fc06471eed047ecce67b693fd7515b16d495d8932db763426/certifi-2025.6.15-py3-none-any.whl", hash = "sha256:2e0c7ce7cb5d8f8634ca55d2ba7e6ec2689a2fd6537d8dec1296a477a4910057", size = 157650, upload-time = "2025-06-15T02:45:49.977Z" },+ { url = "https://files.pythonhosted.org/packages/e5/48/1549795ba7742c948d2ad169c1c8cdbae65bc450d6cd753d124b17c8cd32/certifi-2025.8.3-py3-none-any.whl", hash = "sha256:f6c12493cfb1b06ba2ff328595af9350c65d6644968e5d3a2ffd78699af217a5", size = 161216, upload-time = "2025-08-03T03:07:45.777Z" },][[package]]@@ -390,63 +401,66 @@ wheels = [[[package]]name = "charset-normalizer"-version = "3.4.2"-source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/e4/33/89c2ced2b67d1c2a61c19c6751aa8902d46ce3dacb23600a283619f5a12d/charset_normalizer-3.4.2.tar.gz", hash = "sha256:5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63", size = 126367, upload-time = "2025-05-02T08:34:42.01Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/95/28/9901804da60055b406e1a1c5ba7aac1276fb77f1dde635aabfc7fd84b8ab/charset_normalizer-3.4.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7c48ed483eb946e6c04ccbe02c6b4d1d48e51944b6db70f697e089c193404941", size = 201818, upload-time = "2025-05-02T08:31:46.725Z" },- { url = "https://files.pythonhosted.org/packages/d9/9b/892a8c8af9110935e5adcbb06d9c6fe741b6bb02608c6513983048ba1a18/charset_normalizer-3.4.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b2d318c11350e10662026ad0eb71bb51c7812fc8590825304ae0bdd4ac283acd", size = 144649, upload-time = "2025-05-02T08:31:48.889Z" },- { url = "https://files.pythonhosted.org/packages/7b/a5/4179abd063ff6414223575e008593861d62abfc22455b5d1a44995b7c101/charset_normalizer-3.4.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9cbfacf36cb0ec2897ce0ebc5d08ca44213af24265bd56eca54bee7923c48fd6", size = 155045, upload-time = "2025-05-02T08:31:50.757Z" },- { url = "https://files.pythonhosted.org/packages/3b/95/bc08c7dfeddd26b4be8c8287b9bb055716f31077c8b0ea1cd09553794665/charset_normalizer-3.4.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:18dd2e350387c87dabe711b86f83c9c78af772c748904d372ade190b5c7c9d4d", size = 147356, upload-time = "2025-05-02T08:31:52.634Z" },- { url = "https://files.pythonhosted.org/packages/a8/2d/7a5b635aa65284bf3eab7653e8b4151ab420ecbae918d3e359d1947b4d61/charset_normalizer-3.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8075c35cd58273fee266c58c0c9b670947c19df5fb98e7b66710e04ad4e9ff86", size = 149471, upload-time = "2025-05-02T08:31:56.207Z" },- { url = "https://files.pythonhosted.org/packages/ae/38/51fc6ac74251fd331a8cfdb7ec57beba8c23fd5493f1050f71c87ef77ed0/charset_normalizer-3.4.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5bf4545e3b962767e5c06fe1738f951f77d27967cb2caa64c28be7c4563e162c", size = 151317, upload-time = "2025-05-02T08:31:57.613Z" },- { url = "https://files.pythonhosted.org/packages/b7/17/edee1e32215ee6e9e46c3e482645b46575a44a2d72c7dfd49e49f60ce6bf/charset_normalizer-3.4.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:7a6ab32f7210554a96cd9e33abe3ddd86732beeafc7a28e9955cdf22ffadbab0", size = 146368, upload-time = "2025-05-02T08:31:59.468Z" },- { url = "https://files.pythonhosted.org/packages/26/2c/ea3e66f2b5f21fd00b2825c94cafb8c326ea6240cd80a91eb09e4a285830/charset_normalizer-3.4.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:b33de11b92e9f75a2b545d6e9b6f37e398d86c3e9e9653c4864eb7e89c5773ef", size = 154491, upload-time = "2025-05-02T08:32:01.219Z" },- { url = "https://files.pythonhosted.org/packages/52/47/7be7fa972422ad062e909fd62460d45c3ef4c141805b7078dbab15904ff7/charset_normalizer-3.4.2-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:8755483f3c00d6c9a77f490c17e6ab0c8729e39e6390328e42521ef175380ae6", size = 157695, upload-time = "2025-05-02T08:32:03.045Z" },- { url = "https://files.pythonhosted.org/packages/2f/42/9f02c194da282b2b340f28e5fb60762de1151387a36842a92b533685c61e/charset_normalizer-3.4.2-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:68a328e5f55ec37c57f19ebb1fdc56a248db2e3e9ad769919a58672958e8f366", size = 154849, upload-time = "2025-05-02T08:32:04.651Z" },- { url = "https://files.pythonhosted.org/packages/67/44/89cacd6628f31fb0b63201a618049be4be2a7435a31b55b5eb1c3674547a/charset_normalizer-3.4.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:21b2899062867b0e1fde9b724f8aecb1af14f2778d69aacd1a5a1853a597a5db", size = 150091, upload-time = "2025-05-02T08:32:06.719Z" },- { url = "https://files.pythonhosted.org/packages/1f/79/4b8da9f712bc079c0f16b6d67b099b0b8d808c2292c937f267d816ec5ecc/charset_normalizer-3.4.2-cp310-cp310-win32.whl", hash = "sha256:e8082b26888e2f8b36a042a58307d5b917ef2b1cacab921ad3323ef91901c71a", size = 98445, upload-time = "2025-05-02T08:32:08.66Z" },- { url = "https://files.pythonhosted.org/packages/7d/d7/96970afb4fb66497a40761cdf7bd4f6fca0fc7bafde3a84f836c1f57a926/charset_normalizer-3.4.2-cp310-cp310-win_amd64.whl", hash = "sha256:f69a27e45c43520f5487f27627059b64aaf160415589230992cec34c5e18a509", size = 105782, upload-time = "2025-05-02T08:32:10.46Z" },- { url = "https://files.pythonhosted.org/packages/05/85/4c40d00dcc6284a1c1ad5de5e0996b06f39d8232f1031cd23c2f5c07ee86/charset_normalizer-3.4.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:be1e352acbe3c78727a16a455126d9ff83ea2dfdcbc83148d2982305a04714c2", size = 198794, upload-time = "2025-05-02T08:32:11.945Z" },- { url = "https://files.pythonhosted.org/packages/41/d9/7a6c0b9db952598e97e93cbdfcb91bacd89b9b88c7c983250a77c008703c/charset_normalizer-3.4.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aa88ca0b1932e93f2d961bf3addbb2db902198dca337d88c89e1559e066e7645", size = 142846, upload-time = "2025-05-02T08:32:13.946Z" },- { url = "https://files.pythonhosted.org/packages/66/82/a37989cda2ace7e37f36c1a8ed16c58cf48965a79c2142713244bf945c89/charset_normalizer-3.4.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d524ba3f1581b35c03cb42beebab4a13e6cdad7b36246bd22541fa585a56cccd", size = 153350, upload-time = "2025-05-02T08:32:15.873Z" },- { url = "https://files.pythonhosted.org/packages/df/68/a576b31b694d07b53807269d05ec3f6f1093e9545e8607121995ba7a8313/charset_normalizer-3.4.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28a1005facc94196e1fb3e82a3d442a9d9110b8434fc1ded7a24a2983c9888d8", size = 145657, upload-time = "2025-05-02T08:32:17.283Z" },- { url = "https://files.pythonhosted.org/packages/92/9b/ad67f03d74554bed3aefd56fe836e1623a50780f7c998d00ca128924a499/charset_normalizer-3.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fdb20a30fe1175ecabed17cbf7812f7b804b8a315a25f24678bcdf120a90077f", size = 147260, upload-time = "2025-05-02T08:32:18.807Z" },- { url = "https://files.pythonhosted.org/packages/a6/e6/8aebae25e328160b20e31a7e9929b1578bbdc7f42e66f46595a432f8539e/charset_normalizer-3.4.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0f5d9ed7f254402c9e7d35d2f5972c9bbea9040e99cd2861bd77dc68263277c7", size = 149164, upload-time = "2025-05-02T08:32:20.333Z" },- { url = "https://files.pythonhosted.org/packages/8b/f2/b3c2f07dbcc248805f10e67a0262c93308cfa149a4cd3d1fe01f593e5fd2/charset_normalizer-3.4.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:efd387a49825780ff861998cd959767800d54f8308936b21025326de4b5a42b9", size = 144571, upload-time = "2025-05-02T08:32:21.86Z" },- { url = "https://files.pythonhosted.org/packages/60/5b/c3f3a94bc345bc211622ea59b4bed9ae63c00920e2e8f11824aa5708e8b7/charset_normalizer-3.4.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:f0aa37f3c979cf2546b73e8222bbfa3dc07a641585340179d768068e3455e544", size = 151952, upload-time = "2025-05-02T08:32:23.434Z" },- { url = "https://files.pythonhosted.org/packages/e2/4d/ff460c8b474122334c2fa394a3f99a04cf11c646da895f81402ae54f5c42/charset_normalizer-3.4.2-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:e70e990b2137b29dc5564715de1e12701815dacc1d056308e2b17e9095372a82", size = 155959, upload-time = "2025-05-02T08:32:24.993Z" },- { url = "https://files.pythonhosted.org/packages/a2/2b/b964c6a2fda88611a1fe3d4c400d39c66a42d6c169c924818c848f922415/charset_normalizer-3.4.2-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:0c8c57f84ccfc871a48a47321cfa49ae1df56cd1d965a09abe84066f6853b9c0", size = 153030, upload-time = "2025-05-02T08:32:26.435Z" },- { url = "https://files.pythonhosted.org/packages/59/2e/d3b9811db26a5ebf444bc0fa4f4be5aa6d76fc6e1c0fd537b16c14e849b6/charset_normalizer-3.4.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:6b66f92b17849b85cad91259efc341dce9c1af48e2173bf38a85c6329f1033e5", size = 148015, upload-time = "2025-05-02T08:32:28.376Z" },- { url = "https://files.pythonhosted.org/packages/90/07/c5fd7c11eafd561bb51220d600a788f1c8d77c5eef37ee49454cc5c35575/charset_normalizer-3.4.2-cp311-cp311-win32.whl", hash = "sha256:daac4765328a919a805fa5e2720f3e94767abd632ae410a9062dff5412bae65a", size = 98106, upload-time = "2025-05-02T08:32:30.281Z" },- { url = "https://files.pythonhosted.org/packages/a8/05/5e33dbef7e2f773d672b6d79f10ec633d4a71cd96db6673625838a4fd532/charset_normalizer-3.4.2-cp311-cp311-win_amd64.whl", hash = "sha256:e53efc7c7cee4c1e70661e2e112ca46a575f90ed9ae3fef200f2a25e954f4b28", size = 105402, upload-time = "2025-05-02T08:32:32.191Z" },- { url = "https://files.pythonhosted.org/packages/d7/a4/37f4d6035c89cac7930395a35cc0f1b872e652eaafb76a6075943754f095/charset_normalizer-3.4.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0c29de6a1a95f24b9a1aa7aefd27d2487263f00dfd55a77719b530788f75cff7", size = 199936, upload-time = "2025-05-02T08:32:33.712Z" },- { url = "https://files.pythonhosted.org/packages/ee/8a/1a5e33b73e0d9287274f899d967907cd0bf9c343e651755d9307e0dbf2b3/charset_normalizer-3.4.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cddf7bd982eaa998934a91f69d182aec997c6c468898efe6679af88283b498d3", size = 143790, upload-time = "2025-05-02T08:32:35.768Z" },- { url = "https://files.pythonhosted.org/packages/66/52/59521f1d8e6ab1482164fa21409c5ef44da3e9f653c13ba71becdd98dec3/charset_normalizer-3.4.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fcbe676a55d7445b22c10967bceaaf0ee69407fbe0ece4d032b6eb8d4565982a", size = 153924, upload-time = "2025-05-02T08:32:37.284Z" },- { url = "https://files.pythonhosted.org/packages/86/2d/fb55fdf41964ec782febbf33cb64be480a6b8f16ded2dbe8db27a405c09f/charset_normalizer-3.4.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d41c4d287cfc69060fa91cae9683eacffad989f1a10811995fa309df656ec214", size = 146626, upload-time = "2025-05-02T08:32:38.803Z" },- { url = "https://files.pythonhosted.org/packages/8c/73/6ede2ec59bce19b3edf4209d70004253ec5f4e319f9a2e3f2f15601ed5f7/charset_normalizer-3.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4e594135de17ab3866138f496755f302b72157d115086d100c3f19370839dd3a", size = 148567, upload-time = "2025-05-02T08:32:40.251Z" },- { url = "https://files.pythonhosted.org/packages/09/14/957d03c6dc343c04904530b6bef4e5efae5ec7d7990a7cbb868e4595ee30/charset_normalizer-3.4.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cf713fe9a71ef6fd5adf7a79670135081cd4431c2943864757f0fa3a65b1fafd", size = 150957, upload-time = "2025-05-02T08:32:41.705Z" },- { url = "https://files.pythonhosted.org/packages/0d/c8/8174d0e5c10ccebdcb1b53cc959591c4c722a3ad92461a273e86b9f5a302/charset_normalizer-3.4.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a370b3e078e418187da8c3674eddb9d983ec09445c99a3a263c2011993522981", size = 145408, upload-time = "2025-05-02T08:32:43.709Z" },- { url = "https://files.pythonhosted.org/packages/58/aa/8904b84bc8084ac19dc52feb4f5952c6df03ffb460a887b42615ee1382e8/charset_normalizer-3.4.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:a955b438e62efdf7e0b7b52a64dc5c3396e2634baa62471768a64bc2adb73d5c", size = 153399, upload-time = "2025-05-02T08:32:46.197Z" },- { url = "https://files.pythonhosted.org/packages/c2/26/89ee1f0e264d201cb65cf054aca6038c03b1a0c6b4ae998070392a3ce605/charset_normalizer-3.4.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:7222ffd5e4de8e57e03ce2cef95a4c43c98fcb72ad86909abdfc2c17d227fc1b", size = 156815, upload-time = "2025-05-02T08:32:48.105Z" },- { url = "https://files.pythonhosted.org/packages/fd/07/68e95b4b345bad3dbbd3a8681737b4338ff2c9df29856a6d6d23ac4c73cb/charset_normalizer-3.4.2-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:bee093bf902e1d8fc0ac143c88902c3dfc8941f7ea1d6a8dd2bcb786d33db03d", size = 154537, upload-time = "2025-05-02T08:32:49.719Z" },- { url = "https://files.pythonhosted.org/packages/77/1a/5eefc0ce04affb98af07bc05f3bac9094513c0e23b0562d64af46a06aae4/charset_normalizer-3.4.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:dedb8adb91d11846ee08bec4c8236c8549ac721c245678282dcb06b221aab59f", size = 149565, upload-time = "2025-05-02T08:32:51.404Z" },- { url = "https://files.pythonhosted.org/packages/37/a0/2410e5e6032a174c95e0806b1a6585eb21e12f445ebe239fac441995226a/charset_normalizer-3.4.2-cp312-cp312-win32.whl", hash = "sha256:db4c7bf0e07fc3b7d89ac2a5880a6a8062056801b83ff56d8464b70f65482b6c", size = 98357, upload-time = "2025-05-02T08:32:53.079Z" },- { url = "https://files.pythonhosted.org/packages/6c/4f/c02d5c493967af3eda9c771ad4d2bbc8df6f99ddbeb37ceea6e8716a32bc/charset_normalizer-3.4.2-cp312-cp312-win_amd64.whl", hash = "sha256:5a9979887252a82fefd3d3ed2a8e3b937a7a809f65dcb1e068b090e165bbe99e", size = 105776, upload-time = "2025-05-02T08:32:54.573Z" },- { url = "https://files.pythonhosted.org/packages/ea/12/a93df3366ed32db1d907d7593a94f1fe6293903e3e92967bebd6950ed12c/charset_normalizer-3.4.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:926ca93accd5d36ccdabd803392ddc3e03e6d4cd1cf17deff3b989ab8e9dbcf0", size = 199622, upload-time = "2025-05-02T08:32:56.363Z" },- { url = "https://files.pythonhosted.org/packages/04/93/bf204e6f344c39d9937d3c13c8cd5bbfc266472e51fc8c07cb7f64fcd2de/charset_normalizer-3.4.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eba9904b0f38a143592d9fc0e19e2df0fa2e41c3c3745554761c5f6447eedabf", size = 143435, upload-time = "2025-05-02T08:32:58.551Z" },- { url = "https://files.pythonhosted.org/packages/22/2a/ea8a2095b0bafa6c5b5a55ffdc2f924455233ee7b91c69b7edfcc9e02284/charset_normalizer-3.4.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3fddb7e2c84ac87ac3a947cb4e66d143ca5863ef48e4a5ecb83bd48619e4634e", size = 153653, upload-time = "2025-05-02T08:33:00.342Z" },- { url = "https://files.pythonhosted.org/packages/b6/57/1b090ff183d13cef485dfbe272e2fe57622a76694061353c59da52c9a659/charset_normalizer-3.4.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:98f862da73774290f251b9df8d11161b6cf25b599a66baf087c1ffe340e9bfd1", size = 146231, upload-time = "2025-05-02T08:33:02.081Z" },- { url = "https://files.pythonhosted.org/packages/e2/28/ffc026b26f441fc67bd21ab7f03b313ab3fe46714a14b516f931abe1a2d8/charset_normalizer-3.4.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c9379d65defcab82d07b2a9dfbfc2e95bc8fe0ebb1b176a3190230a3ef0e07c", size = 148243, upload-time = "2025-05-02T08:33:04.063Z" },- { url = "https://files.pythonhosted.org/packages/c0/0f/9abe9bd191629c33e69e47c6ef45ef99773320e9ad8e9cb08b8ab4a8d4cb/charset_normalizer-3.4.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e635b87f01ebc977342e2697d05b56632f5f879a4f15955dfe8cef2448b51691", size = 150442, upload-time = "2025-05-02T08:33:06.418Z" },- { url = "https://files.pythonhosted.org/packages/67/7c/a123bbcedca91d5916c056407f89a7f5e8fdfce12ba825d7d6b9954a1a3c/charset_normalizer-3.4.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:1c95a1e2902a8b722868587c0e1184ad5c55631de5afc0eb96bc4b0d738092c0", size = 145147, upload-time = "2025-05-02T08:33:08.183Z" },- { url = "https://files.pythonhosted.org/packages/ec/fe/1ac556fa4899d967b83e9893788e86b6af4d83e4726511eaaad035e36595/charset_normalizer-3.4.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ef8de666d6179b009dce7bcb2ad4c4a779f113f12caf8dc77f0162c29d20490b", size = 153057, upload-time = "2025-05-02T08:33:09.986Z" },- { url = "https://files.pythonhosted.org/packages/2b/ff/acfc0b0a70b19e3e54febdd5301a98b72fa07635e56f24f60502e954c461/charset_normalizer-3.4.2-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:32fc0341d72e0f73f80acb0a2c94216bd704f4f0bce10aedea38f30502b271ff", size = 156454, upload-time = "2025-05-02T08:33:11.814Z" },- { url = "https://files.pythonhosted.org/packages/92/08/95b458ce9c740d0645feb0e96cea1f5ec946ea9c580a94adfe0b617f3573/charset_normalizer-3.4.2-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:289200a18fa698949d2b39c671c2cc7a24d44096784e76614899a7ccf2574b7b", size = 154174, upload-time = "2025-05-02T08:33:13.707Z" },- { url = "https://files.pythonhosted.org/packages/78/be/8392efc43487ac051eee6c36d5fbd63032d78f7728cb37aebcc98191f1ff/charset_normalizer-3.4.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4a476b06fbcf359ad25d34a057b7219281286ae2477cc5ff5e3f70a246971148", size = 149166, upload-time = "2025-05-02T08:33:15.458Z" },- { url = "https://files.pythonhosted.org/packages/44/96/392abd49b094d30b91d9fbda6a69519e95802250b777841cf3bda8fe136c/charset_normalizer-3.4.2-cp313-cp313-win32.whl", hash = "sha256:aaeeb6a479c7667fbe1099af9617c83aaca22182d6cf8c53966491a0f1b7ffb7", size = 98064, upload-time = "2025-05-02T08:33:17.06Z" },- { url = "https://files.pythonhosted.org/packages/e9/b0/0200da600134e001d91851ddc797809e2fe0ea72de90e09bec5a2fbdaccb/charset_normalizer-3.4.2-cp313-cp313-win_amd64.whl", hash = "sha256:aa6af9e7d59f9c12b33ae4e9450619cf2488e2bbe9b44030905877f0b2324980", size = 105641, upload-time = "2025-05-02T08:33:18.753Z" },- { url = "https://files.pythonhosted.org/packages/20/94/c5790835a017658cbfabd07f3bfb549140c3ac458cfc196323996b10095a/charset_normalizer-3.4.2-py3-none-any.whl", hash = "sha256:7f56930ab0abd1c45cd15be65cc741c28b1c9a34876ce8c17a2fa107810c0af0", size = 52626, upload-time = "2025-05-02T08:34:40.053Z" },+version = "3.4.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/83/2d/5fd176ceb9b2fc619e63405525573493ca23441330fcdaee6bef9460e924/charset_normalizer-3.4.3.tar.gz", hash = "sha256:6fce4b8500244f6fcb71465d4a4930d132ba9ab8e71a7859e6a5d59851068d14", size = 122371, upload-time = "2025-08-09T07:57:28.46Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/d6/98/f3b8013223728a99b908c9344da3aa04ee6e3fa235f19409033eda92fb78/charset_normalizer-3.4.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:fb7f67a1bfa6e40b438170ebdc8158b78dc465a5a67b6dde178a46987b244a72", size = 207695, upload-time = "2025-08-09T07:55:36.452Z" },+ { url = "https://files.pythonhosted.org/packages/21/40/5188be1e3118c82dcb7c2a5ba101b783822cfb413a0268ed3be0468532de/charset_normalizer-3.4.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cc9370a2da1ac13f0153780040f465839e6cccb4a1e44810124b4e22483c93fe", size = 147153, upload-time = "2025-08-09T07:55:38.467Z" },+ { url = "https://files.pythonhosted.org/packages/37/60/5d0d74bc1e1380f0b72c327948d9c2aca14b46a9efd87604e724260f384c/charset_normalizer-3.4.3-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:07a0eae9e2787b586e129fdcbe1af6997f8d0e5abaa0bc98c0e20e124d67e601", size = 160428, upload-time = "2025-08-09T07:55:40.072Z" },+ { url = "https://files.pythonhosted.org/packages/85/9a/d891f63722d9158688de58d050c59dc3da560ea7f04f4c53e769de5140f5/charset_normalizer-3.4.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:74d77e25adda8581ffc1c720f1c81ca082921329452eba58b16233ab1842141c", size = 157627, upload-time = "2025-08-09T07:55:41.706Z" },+ { url = "https://files.pythonhosted.org/packages/65/1a/7425c952944a6521a9cfa7e675343f83fd82085b8af2b1373a2409c683dc/charset_normalizer-3.4.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d0e909868420b7049dafd3a31d45125b31143eec59235311fc4c57ea26a4acd2", size = 152388, upload-time = "2025-08-09T07:55:43.262Z" },+ { url = "https://files.pythonhosted.org/packages/f0/c9/a2c9c2a355a8594ce2446085e2ec97fd44d323c684ff32042e2a6b718e1d/charset_normalizer-3.4.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:c6f162aabe9a91a309510d74eeb6507fab5fff92337a15acbe77753d88d9dcf0", size = 150077, upload-time = "2025-08-09T07:55:44.903Z" },+ { url = "https://files.pythonhosted.org/packages/3b/38/20a1f44e4851aa1c9105d6e7110c9d020e093dfa5836d712a5f074a12bf7/charset_normalizer-3.4.3-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:4ca4c094de7771a98d7fbd67d9e5dbf1eb73efa4f744a730437d8a3a5cf994f0", size = 161631, upload-time = "2025-08-09T07:55:46.346Z" },+ { url = "https://files.pythonhosted.org/packages/a4/fa/384d2c0f57edad03d7bec3ebefb462090d8905b4ff5a2d2525f3bb711fac/charset_normalizer-3.4.3-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:02425242e96bcf29a49711b0ca9f37e451da7c70562bc10e8ed992a5a7a25cc0", size = 159210, upload-time = "2025-08-09T07:55:47.539Z" },+ { url = "https://files.pythonhosted.org/packages/33/9e/eca49d35867ca2db336b6ca27617deed4653b97ebf45dfc21311ce473c37/charset_normalizer-3.4.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:78deba4d8f9590fe4dae384aeff04082510a709957e968753ff3c48399f6f92a", size = 153739, upload-time = "2025-08-09T07:55:48.744Z" },+ { url = "https://files.pythonhosted.org/packages/2a/91/26c3036e62dfe8de8061182d33be5025e2424002125c9500faff74a6735e/charset_normalizer-3.4.3-cp310-cp310-win32.whl", hash = "sha256:d79c198e27580c8e958906f803e63cddb77653731be08851c7df0b1a14a8fc0f", size = 99825, upload-time = "2025-08-09T07:55:50.305Z" },+ { url = "https://files.pythonhosted.org/packages/e2/c6/f05db471f81af1fa01839d44ae2a8bfeec8d2a8b4590f16c4e7393afd323/charset_normalizer-3.4.3-cp310-cp310-win_amd64.whl", hash = "sha256:c6e490913a46fa054e03699c70019ab869e990270597018cef1d8562132c2669", size = 107452, upload-time = "2025-08-09T07:55:51.461Z" },+ { url = "https://files.pythonhosted.org/packages/7f/b5/991245018615474a60965a7c9cd2b4efbaabd16d582a5547c47ee1c7730b/charset_normalizer-3.4.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:b256ee2e749283ef3ddcff51a675ff43798d92d746d1a6e4631bf8c707d22d0b", size = 204483, upload-time = "2025-08-09T07:55:53.12Z" },+ { url = "https://files.pythonhosted.org/packages/c7/2a/ae245c41c06299ec18262825c1569c5d3298fc920e4ddf56ab011b417efd/charset_normalizer-3.4.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:13faeacfe61784e2559e690fc53fa4c5ae97c6fcedb8eb6fb8d0a15b475d2c64", size = 145520, upload-time = "2025-08-09T07:55:54.712Z" },+ { url = "https://files.pythonhosted.org/packages/3a/a4/b3b6c76e7a635748c4421d2b92c7b8f90a432f98bda5082049af37ffc8e3/charset_normalizer-3.4.3-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:00237675befef519d9af72169d8604a067d92755e84fe76492fef5441db05b91", size = 158876, upload-time = "2025-08-09T07:55:56.024Z" },+ { url = "https://files.pythonhosted.org/packages/e2/e6/63bb0e10f90a8243c5def74b5b105b3bbbfb3e7bb753915fe333fb0c11ea/charset_normalizer-3.4.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:585f3b2a80fbd26b048a0be90c5aae8f06605d3c92615911c3a2b03a8a3b796f", size = 156083, upload-time = "2025-08-09T07:55:57.582Z" },+ { url = "https://files.pythonhosted.org/packages/87/df/b7737ff046c974b183ea9aa111b74185ac8c3a326c6262d413bd5a1b8c69/charset_normalizer-3.4.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0e78314bdc32fa80696f72fa16dc61168fda4d6a0c014e0380f9d02f0e5d8a07", size = 150295, upload-time = "2025-08-09T07:55:59.147Z" },+ { url = "https://files.pythonhosted.org/packages/61/f1/190d9977e0084d3f1dc169acd060d479bbbc71b90bf3e7bf7b9927dec3eb/charset_normalizer-3.4.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:96b2b3d1a83ad55310de8c7b4a2d04d9277d5591f40761274856635acc5fcb30", size = 148379, upload-time = "2025-08-09T07:56:00.364Z" },+ { url = "https://files.pythonhosted.org/packages/4c/92/27dbe365d34c68cfe0ca76f1edd70e8705d82b378cb54ebbaeabc2e3029d/charset_normalizer-3.4.3-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:939578d9d8fd4299220161fdd76e86c6a251987476f5243e8864a7844476ba14", size = 160018, upload-time = "2025-08-09T07:56:01.678Z" },+ { url = "https://files.pythonhosted.org/packages/99/04/baae2a1ea1893a01635d475b9261c889a18fd48393634b6270827869fa34/charset_normalizer-3.4.3-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:fd10de089bcdcd1be95a2f73dbe6254798ec1bda9f450d5828c96f93e2536b9c", size = 157430, upload-time = "2025-08-09T07:56:02.87Z" },+ { url = "https://files.pythonhosted.org/packages/2f/36/77da9c6a328c54d17b960c89eccacfab8271fdaaa228305330915b88afa9/charset_normalizer-3.4.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1e8ac75d72fa3775e0b7cb7e4629cec13b7514d928d15ef8ea06bca03ef01cae", size = 151600, upload-time = "2025-08-09T07:56:04.089Z" },+ { url = "https://files.pythonhosted.org/packages/64/d4/9eb4ff2c167edbbf08cdd28e19078bf195762e9bd63371689cab5ecd3d0d/charset_normalizer-3.4.3-cp311-cp311-win32.whl", hash = "sha256:6cf8fd4c04756b6b60146d98cd8a77d0cdae0e1ca20329da2ac85eed779b6849", size = 99616, upload-time = "2025-08-09T07:56:05.658Z" },+ { url = "https://files.pythonhosted.org/packages/f4/9c/996a4a028222e7761a96634d1820de8a744ff4327a00ada9c8942033089b/charset_normalizer-3.4.3-cp311-cp311-win_amd64.whl", hash = "sha256:31a9a6f775f9bcd865d88ee350f0ffb0e25936a7f930ca98995c05abf1faf21c", size = 107108, upload-time = "2025-08-09T07:56:07.176Z" },+ { url = "https://files.pythonhosted.org/packages/e9/5e/14c94999e418d9b87682734589404a25854d5f5d0408df68bc15b6ff54bb/charset_normalizer-3.4.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e28e334d3ff134e88989d90ba04b47d84382a828c061d0d1027b1b12a62b39b1", size = 205655, upload-time = "2025-08-09T07:56:08.475Z" },+ { url = "https://files.pythonhosted.org/packages/7d/a8/c6ec5d389672521f644505a257f50544c074cf5fc292d5390331cd6fc9c3/charset_normalizer-3.4.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0cacf8f7297b0c4fcb74227692ca46b4a5852f8f4f24b3c766dd94a1075c4884", size = 146223, upload-time = "2025-08-09T07:56:09.708Z" },+ { url = "https://files.pythonhosted.org/packages/fc/eb/a2ffb08547f4e1e5415fb69eb7db25932c52a52bed371429648db4d84fb1/charset_normalizer-3.4.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c6fd51128a41297f5409deab284fecbe5305ebd7e5a1f959bee1c054622b7018", size = 159366, upload-time = "2025-08-09T07:56:11.326Z" },+ { url = "https://files.pythonhosted.org/packages/82/10/0fd19f20c624b278dddaf83b8464dcddc2456cb4b02bb902a6da126b87a1/charset_normalizer-3.4.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3cfb2aad70f2c6debfbcb717f23b7eb55febc0bb23dcffc0f076009da10c6392", size = 157104, upload-time = "2025-08-09T07:56:13.014Z" },+ { url = "https://files.pythonhosted.org/packages/16/ab/0233c3231af734f5dfcf0844aa9582d5a1466c985bbed6cedab85af9bfe3/charset_normalizer-3.4.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1606f4a55c0fd363d754049cdf400175ee96c992b1f8018b993941f221221c5f", size = 151830, upload-time = "2025-08-09T07:56:14.428Z" },+ { url = "https://files.pythonhosted.org/packages/ae/02/e29e22b4e02839a0e4a06557b1999d0a47db3567e82989b5bb21f3fbbd9f/charset_normalizer-3.4.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:027b776c26d38b7f15b26a5da1044f376455fb3766df8fc38563b4efbc515154", size = 148854, upload-time = "2025-08-09T07:56:16.051Z" },+ { url = "https://files.pythonhosted.org/packages/05/6b/e2539a0a4be302b481e8cafb5af8792da8093b486885a1ae4d15d452bcec/charset_normalizer-3.4.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:42e5088973e56e31e4fa58eb6bd709e42fc03799c11c42929592889a2e54c491", size = 160670, upload-time = "2025-08-09T07:56:17.314Z" },+ { url = "https://files.pythonhosted.org/packages/31/e7/883ee5676a2ef217a40ce0bffcc3d0dfbf9e64cbcfbdf822c52981c3304b/charset_normalizer-3.4.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:cc34f233c9e71701040d772aa7490318673aa7164a0efe3172b2981218c26d93", size = 158501, upload-time = "2025-08-09T07:56:18.641Z" },+ { url = "https://files.pythonhosted.org/packages/c1/35/6525b21aa0db614cf8b5792d232021dca3df7f90a1944db934efa5d20bb1/charset_normalizer-3.4.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:320e8e66157cc4e247d9ddca8e21f427efc7a04bbd0ac8a9faf56583fa543f9f", size = 153173, upload-time = "2025-08-09T07:56:20.289Z" },+ { url = "https://files.pythonhosted.org/packages/50/ee/f4704bad8201de513fdc8aac1cabc87e38c5818c93857140e06e772b5892/charset_normalizer-3.4.3-cp312-cp312-win32.whl", hash = "sha256:fb6fecfd65564f208cbf0fba07f107fb661bcd1a7c389edbced3f7a493f70e37", size = 99822, upload-time = "2025-08-09T07:56:21.551Z" },+ { url = "https://files.pythonhosted.org/packages/39/f5/3b3836ca6064d0992c58c7561c6b6eee1b3892e9665d650c803bd5614522/charset_normalizer-3.4.3-cp312-cp312-win_amd64.whl", hash = "sha256:86df271bf921c2ee3818f0522e9a5b8092ca2ad8b065ece5d7d9d0e9f4849bcc", size = 107543, upload-time = "2025-08-09T07:56:23.115Z" },+ { url = "https://files.pythonhosted.org/packages/65/ca/2135ac97709b400c7654b4b764daf5c5567c2da45a30cdd20f9eefe2d658/charset_normalizer-3.4.3-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:14c2a87c65b351109f6abfc424cab3927b3bdece6f706e4d12faaf3d52ee5efe", size = 205326, upload-time = "2025-08-09T07:56:24.721Z" },+ { url = "https://files.pythonhosted.org/packages/71/11/98a04c3c97dd34e49c7d247083af03645ca3730809a5509443f3c37f7c99/charset_normalizer-3.4.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:41d1fc408ff5fdfb910200ec0e74abc40387bccb3252f3f27c0676731df2b2c8", size = 146008, upload-time = "2025-08-09T07:56:26.004Z" },+ { url = "https://files.pythonhosted.org/packages/60/f5/4659a4cb3c4ec146bec80c32d8bb16033752574c20b1252ee842a95d1a1e/charset_normalizer-3.4.3-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1bb60174149316da1c35fa5233681f7c0f9f514509b8e399ab70fea5f17e45c9", size = 159196, upload-time = "2025-08-09T07:56:27.25Z" },+ { url = "https://files.pythonhosted.org/packages/86/9e/f552f7a00611f168b9a5865a1414179b2c6de8235a4fa40189f6f79a1753/charset_normalizer-3.4.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:30d006f98569de3459c2fc1f2acde170b7b2bd265dc1943e87e1a4efe1b67c31", size = 156819, upload-time = "2025-08-09T07:56:28.515Z" },+ { url = "https://files.pythonhosted.org/packages/7e/95/42aa2156235cbc8fa61208aded06ef46111c4d3f0de233107b3f38631803/charset_normalizer-3.4.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:416175faf02e4b0810f1f38bcb54682878a4af94059a1cd63b8747244420801f", size = 151350, upload-time = "2025-08-09T07:56:29.716Z" },+ { url = "https://files.pythonhosted.org/packages/c2/a9/3865b02c56f300a6f94fc631ef54f0a8a29da74fb45a773dfd3dcd380af7/charset_normalizer-3.4.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6aab0f181c486f973bc7262a97f5aca3ee7e1437011ef0c2ec04b5a11d16c927", size = 148644, upload-time = "2025-08-09T07:56:30.984Z" },+ { url = "https://files.pythonhosted.org/packages/77/d9/cbcf1a2a5c7d7856f11e7ac2d782aec12bdfea60d104e60e0aa1c97849dc/charset_normalizer-3.4.3-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:fdabf8315679312cfa71302f9bd509ded4f2f263fb5b765cf1433b39106c3cc9", size = 160468, upload-time = "2025-08-09T07:56:32.252Z" },+ { url = "https://files.pythonhosted.org/packages/f6/42/6f45efee8697b89fda4d50580f292b8f7f9306cb2971d4b53f8914e4d890/charset_normalizer-3.4.3-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:bd28b817ea8c70215401f657edef3a8aa83c29d447fb0b622c35403780ba11d5", size = 158187, upload-time = "2025-08-09T07:56:33.481Z" },+ { url = "https://files.pythonhosted.org/packages/70/99/f1c3bdcfaa9c45b3ce96f70b14f070411366fa19549c1d4832c935d8e2c3/charset_normalizer-3.4.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:18343b2d246dc6761a249ba1fb13f9ee9a2bcd95decc767319506056ea4ad4dc", size = 152699, upload-time = "2025-08-09T07:56:34.739Z" },+ { url = "https://files.pythonhosted.org/packages/a3/ad/b0081f2f99a4b194bcbb1934ef3b12aa4d9702ced80a37026b7607c72e58/charset_normalizer-3.4.3-cp313-cp313-win32.whl", hash = "sha256:6fb70de56f1859a3f71261cbe41005f56a7842cc348d3aeb26237560bfa5e0ce", size = 99580, upload-time = "2025-08-09T07:56:35.981Z" },+ { url = "https://files.pythonhosted.org/packages/9a/8f/ae790790c7b64f925e5c953b924aaa42a243fb778fed9e41f147b2a5715a/charset_normalizer-3.4.3-cp313-cp313-win_amd64.whl", hash = "sha256:cf1ebb7d78e1ad8ec2a8c4732c7be2e736f6e5123a4146c5b89c9d1f585f8cef", size = 107366, upload-time = "2025-08-09T07:56:37.339Z" },+ { url = "https://files.pythonhosted.org/packages/8e/91/b5a06ad970ddc7a0e513112d40113e834638f4ca1120eb727a249fb2715e/charset_normalizer-3.4.3-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3cd35b7e8aedeb9e34c41385fda4f73ba609e561faedfae0a9e75e44ac558a15", size = 204342, upload-time = "2025-08-09T07:56:38.687Z" },+ { url = "https://files.pythonhosted.org/packages/ce/ec/1edc30a377f0a02689342f214455c3f6c2fbedd896a1d2f856c002fc3062/charset_normalizer-3.4.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b89bc04de1d83006373429975f8ef9e7932534b8cc9ca582e4db7d20d91816db", size = 145995, upload-time = "2025-08-09T07:56:40.048Z" },+ { url = "https://files.pythonhosted.org/packages/17/e5/5e67ab85e6d22b04641acb5399c8684f4d37caf7558a53859f0283a650e9/charset_normalizer-3.4.3-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2001a39612b241dae17b4687898843f254f8748b796a2e16f1051a17078d991d", size = 158640, upload-time = "2025-08-09T07:56:41.311Z" },+ { url = "https://files.pythonhosted.org/packages/f1/e5/38421987f6c697ee3722981289d554957c4be652f963d71c5e46a262e135/charset_normalizer-3.4.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8dcfc373f888e4fb39a7bc57e93e3b845e7f462dacc008d9749568b1c4ece096", size = 156636, upload-time = "2025-08-09T07:56:43.195Z" },+ { url = "https://files.pythonhosted.org/packages/a0/e4/5a075de8daa3ec0745a9a3b54467e0c2967daaaf2cec04c845f73493e9a1/charset_normalizer-3.4.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:18b97b8404387b96cdbd30ad660f6407799126d26a39ca65729162fd810a99aa", size = 150939, upload-time = "2025-08-09T07:56:44.819Z" },+ { url = "https://files.pythonhosted.org/packages/02/f7/3611b32318b30974131db62b4043f335861d4d9b49adc6d57c1149cc49d4/charset_normalizer-3.4.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ccf600859c183d70eb47e05a44cd80a4ce77394d1ac0f79dbd2dd90a69a3a049", size = 148580, upload-time = "2025-08-09T07:56:46.684Z" },+ { url = "https://files.pythonhosted.org/packages/7e/61/19b36f4bd67f2793ab6a99b979b4e4f3d8fc754cbdffb805335df4337126/charset_normalizer-3.4.3-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:53cd68b185d98dde4ad8990e56a58dea83a4162161b1ea9272e5c9182ce415e0", size = 159870, upload-time = "2025-08-09T07:56:47.941Z" },+ { url = "https://files.pythonhosted.org/packages/06/57/84722eefdd338c04cf3030ada66889298eaedf3e7a30a624201e0cbe424a/charset_normalizer-3.4.3-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:30a96e1e1f865f78b030d65241c1ee850cdf422d869e9028e2fc1d5e4db73b92", size = 157797, upload-time = "2025-08-09T07:56:49.756Z" },+ { url = "https://files.pythonhosted.org/packages/72/2a/aff5dd112b2f14bcc3462c312dce5445806bfc8ab3a7328555da95330e4b/charset_normalizer-3.4.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:d716a916938e03231e86e43782ca7878fb602a125a91e7acb8b5112e2e96ac16", size = 152224, upload-time = "2025-08-09T07:56:51.369Z" },+ { url = "https://files.pythonhosted.org/packages/b7/8c/9839225320046ed279c6e839d51f028342eb77c91c89b8ef2549f951f3ec/charset_normalizer-3.4.3-cp314-cp314-win32.whl", hash = "sha256:c6dbd0ccdda3a2ba7c2ecd9d77b37f3b5831687d8dc1b6ca5f56a4880cc7b7ce", size = 100086, upload-time = "2025-08-09T07:56:52.722Z" },+ { url = "https://files.pythonhosted.org/packages/ee/7a/36fbcf646e41f710ce0a563c1c9a343c6edf9be80786edeb15b6f62e17db/charset_normalizer-3.4.3-cp314-cp314-win_amd64.whl", hash = "sha256:73dc19b562516fc9bcf6e5d6e596df0b4eb98d87e4f79f3ae71840e6ed21361c", size = 107400, upload-time = "2025-08-09T07:56:55.172Z" },+ { url = "https://files.pythonhosted.org/packages/8a/1f/f041989e93b001bc4e44bb1669ccdcf54d3f00e628229a85b08d330615c5/charset_normalizer-3.4.3-py3-none-any.whl", hash = "sha256:ce571ab16d890d23b5c278547ba694193a45011ff86a9162a71307ed9f86759a", size = 53175, upload-time = "2025-08-09T07:57:26.864Z" },][[package]]@@ -463,15 +477,15 @@ wheels = [[[package]]name = "cocode"-version = "0.0.10"+version = "0.0.12"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "pipelex", extra = ["anthropic", "bedrock", "google"] },{ name = "pygithub" },]-sdist = { url = "https://files.pythonhosted.org/packages/83/65/e47ab07a9670bbc71d936aca9373af38592f93630431f5593107252bd0b4/cocode-0.0.10.tar.gz", hash = "sha256:5bd4481e13cf3c577f65b0bc9d9e1182dc9bec49486746db6faa5924622b8d8d", size = 42261, upload-time = "2025-08-03T01:50:08.534Z" }+sdist = { url = "https://files.pythonhosted.org/packages/54/2b/0b6280f09e09fa8a3a5e024c7bb2b7ed06ec072d2c31c6796146416b086e/cocode-0.0.12.tar.gz", hash = "sha256:281968c2b35ac594d204a7393cb51051598377206f218f2ea3db118224bacdbb", size = 43534, upload-time = "2025-08-21T10:26:16.162Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/74/91/9b2130f764208e237ec2f47b71961f5b32c3e4b36acfa1ddf7613673ceef/cocode-0.0.10-py3-none-any.whl", hash = "sha256:759da265f945c197e11d650c0d13bb55bc2b0d72f78d52f223ebe26a6ceb229f", size = 57943, upload-time = "2025-08-03T01:50:06.929Z" },+ { url = "https://files.pythonhosted.org/packages/4b/b4/f64871efd94b652defb509c2e5c5f69dc55a6443ae1bf483800194458250/cocode-0.0.12-py3-none-any.whl", hash = "sha256:a8c72d4d030203a06ff5f2297ef530dca5534a89114535cbf6975db25fb3861e", size = 60085, upload-time = "2025-08-21T10:26:14.922Z" },][[package]]@@ -485,66 +499,87 @@ wheels = [[[package]]name = "coverage"-version = "7.9.1"-source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/e7/e0/98670a80884f64578f0c22cd70c5e81a6e07b08167721c7487b4d70a7ca0/coverage-7.9.1.tar.gz", hash = "sha256:6cf43c78c4282708a28e466316935ec7489a9c487518a77fa68f716c67909cec", size = 813650, upload-time = "2025-06-13T13:02:28.627Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/c1/78/1c1c5ec58f16817c09cbacb39783c3655d54a221b6552f47ff5ac9297603/coverage-7.9.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:cc94d7c5e8423920787c33d811c0be67b7be83c705f001f7180c7b186dcf10ca", size = 212028, upload-time = "2025-06-13T13:00:29.293Z" },- { url = "https://files.pythonhosted.org/packages/98/db/e91b9076f3a888e3b4ad7972ea3842297a52cc52e73fd1e529856e473510/coverage-7.9.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:16aa0830d0c08a2c40c264cef801db8bc4fc0e1892782e45bcacbd5889270509", size = 212420, upload-time = "2025-06-13T13:00:34.027Z" },- { url = "https://files.pythonhosted.org/packages/0e/d0/2b3733412954576b0aea0a16c3b6b8fbe95eb975d8bfa10b07359ead4252/coverage-7.9.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cf95981b126f23db63e9dbe4cf65bd71f9a6305696fa5e2262693bc4e2183f5b", size = 241529, upload-time = "2025-06-13T13:00:35.786Z" },- { url = "https://files.pythonhosted.org/packages/b3/00/5e2e5ae2e750a872226a68e984d4d3f3563cb01d1afb449a17aa819bc2c4/coverage-7.9.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f05031cf21699785cd47cb7485f67df619e7bcdae38e0fde40d23d3d0210d3c3", size = 239403, upload-time = "2025-06-13T13:00:37.399Z" },- { url = "https://files.pythonhosted.org/packages/37/3b/a2c27736035156b0a7c20683afe7df498480c0dfdf503b8c878a21b6d7fb/coverage-7.9.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bb4fbcab8764dc072cb651a4bcda4d11fb5658a1d8d68842a862a6610bd8cfa3", size = 240548, upload-time = "2025-06-13T13:00:39.647Z" },- { url = "https://files.pythonhosted.org/packages/98/f5/13d5fc074c3c0e0dc80422d9535814abf190f1254d7c3451590dc4f8b18c/coverage-7.9.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:0f16649a7330ec307942ed27d06ee7e7a38417144620bb3d6e9a18ded8a2d3e5", size = 240459, upload-time = "2025-06-13T13:00:40.934Z" },- { url = "https://files.pythonhosted.org/packages/36/24/24b9676ea06102df824c4a56ffd13dc9da7904478db519efa877d16527d5/coverage-7.9.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:cea0a27a89e6432705fffc178064503508e3c0184b4f061700e771a09de58187", size = 239128, upload-time = "2025-06-13T13:00:42.343Z" },- { url = "https://files.pythonhosted.org/packages/be/05/242b7a7d491b369ac5fee7908a6e5ba42b3030450f3ad62c645b40c23e0e/coverage-7.9.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e980b53a959fa53b6f05343afbd1e6f44a23ed6c23c4b4c56c6662bbb40c82ce", size = 239402, upload-time = "2025-06-13T13:00:43.634Z" },- { url = "https://files.pythonhosted.org/packages/73/e0/4de7f87192fa65c9c8fbaeb75507e124f82396b71de1797da5602898be32/coverage-7.9.1-cp310-cp310-win32.whl", hash = "sha256:70760b4c5560be6ca70d11f8988ee6542b003f982b32f83d5ac0b72476607b70", size = 214518, upload-time = "2025-06-13T13:00:45.622Z" },- { url = "https://files.pythonhosted.org/packages/d5/ab/5e4e2fe458907d2a65fab62c773671cfc5ac704f1e7a9ddd91996f66e3c2/coverage-7.9.1-cp310-cp310-win_amd64.whl", hash = "sha256:a66e8f628b71f78c0e0342003d53b53101ba4e00ea8dabb799d9dba0abbbcebe", size = 215436, upload-time = "2025-06-13T13:00:47.245Z" },- { url = "https://files.pythonhosted.org/packages/60/34/fa69372a07d0903a78ac103422ad34db72281c9fc625eba94ac1185da66f/coverage-7.9.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:95c765060e65c692da2d2f51a9499c5e9f5cf5453aeaf1420e3fc847cc060582", size = 212146, upload-time = "2025-06-13T13:00:48.496Z" },- { url = "https://files.pythonhosted.org/packages/27/f0/da1894915d2767f093f081c42afeba18e760f12fdd7a2f4acbe00564d767/coverage-7.9.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ba383dc6afd5ec5b7a0d0c23d38895db0e15bcba7fb0fa8901f245267ac30d86", size = 212536, upload-time = "2025-06-13T13:00:51.535Z" },- { url = "https://files.pythonhosted.org/packages/10/d5/3fc33b06e41e390f88eef111226a24e4504d216ab8e5d1a7089aa5a3c87a/coverage-7.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:37ae0383f13cbdcf1e5e7014489b0d71cc0106458878ccde52e8a12ced4298ed", size = 245092, upload-time = "2025-06-13T13:00:52.883Z" },- { url = "https://files.pythonhosted.org/packages/0a/39/7aa901c14977aba637b78e95800edf77f29f5a380d29768c5b66f258305b/coverage-7.9.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:69aa417a030bf11ec46149636314c24c8d60fadb12fc0ee8f10fda0d918c879d", size = 242806, upload-time = "2025-06-13T13:00:54.571Z" },- { url = "https://files.pythonhosted.org/packages/43/fc/30e5cfeaf560b1fc1989227adedc11019ce4bb7cce59d65db34fe0c2d963/coverage-7.9.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0a4be2a28656afe279b34d4f91c3e26eccf2f85500d4a4ff0b1f8b54bf807338", size = 244610, upload-time = "2025-06-13T13:00:56.932Z" },- { url = "https://files.pythonhosted.org/packages/bf/15/cca62b13f39650bc87b2b92bb03bce7f0e79dd0bf2c7529e9fc7393e4d60/coverage-7.9.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:382e7ddd5289f140259b610e5f5c58f713d025cb2f66d0eb17e68d0a94278875", size = 244257, upload-time = "2025-06-13T13:00:58.545Z" },- { url = "https://files.pythonhosted.org/packages/cd/1a/c0f2abe92c29e1464dbd0ff9d56cb6c88ae2b9e21becdb38bea31fcb2f6c/coverage-7.9.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e5532482344186c543c37bfad0ee6069e8ae4fc38d073b8bc836fc8f03c9e250", size = 242309, upload-time = "2025-06-13T13:00:59.836Z" },- { url = "https://files.pythonhosted.org/packages/57/8d/c6fd70848bd9bf88fa90df2af5636589a8126d2170f3aade21ed53f2b67a/coverage-7.9.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a39d18b3f50cc121d0ce3838d32d58bd1d15dab89c910358ebefc3665712256c", size = 242898, upload-time = "2025-06-13T13:01:02.506Z" },- { url = "https://files.pythonhosted.org/packages/c2/9e/6ca46c7bff4675f09a66fe2797cd1ad6a24f14c9c7c3b3ebe0470a6e30b8/coverage-7.9.1-cp311-cp311-win32.whl", hash = "sha256:dd24bd8d77c98557880def750782df77ab2b6885a18483dc8588792247174b32", size = 214561, upload-time = "2025-06-13T13:01:04.012Z" },- { url = "https://files.pythonhosted.org/packages/a1/30/166978c6302010742dabcdc425fa0f938fa5a800908e39aff37a7a876a13/coverage-7.9.1-cp311-cp311-win_amd64.whl", hash = "sha256:6b55ad10a35a21b8015eabddc9ba31eb590f54adc9cd39bcf09ff5349fd52125", size = 215493, upload-time = "2025-06-13T13:01:05.702Z" },- { url = "https://files.pythonhosted.org/packages/60/07/a6d2342cd80a5be9f0eeab115bc5ebb3917b4a64c2953534273cf9bc7ae6/coverage-7.9.1-cp311-cp311-win_arm64.whl", hash = "sha256:6ad935f0016be24c0e97fc8c40c465f9c4b85cbbe6eac48934c0dc4d2568321e", size = 213869, upload-time = "2025-06-13T13:01:09.345Z" },- { url = "https://files.pythonhosted.org/packages/68/d9/7f66eb0a8f2fce222de7bdc2046ec41cb31fe33fb55a330037833fb88afc/coverage-7.9.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a8de12b4b87c20de895f10567639c0797b621b22897b0af3ce4b4e204a743626", size = 212336, upload-time = "2025-06-13T13:01:10.909Z" },- { url = "https://files.pythonhosted.org/packages/20/20/e07cb920ef3addf20f052ee3d54906e57407b6aeee3227a9c91eea38a665/coverage-7.9.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5add197315a054e92cee1b5f686a2bcba60c4c3e66ee3de77ace6c867bdee7cb", size = 212571, upload-time = "2025-06-13T13:01:12.518Z" },- { url = "https://files.pythonhosted.org/packages/78/f8/96f155de7e9e248ca9c8ff1a40a521d944ba48bec65352da9be2463745bf/coverage-7.9.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:600a1d4106fe66f41e5d0136dfbc68fe7200a5cbe85610ddf094f8f22e1b0300", size = 246377, upload-time = "2025-06-13T13:01:14.87Z" },- { url = "https://files.pythonhosted.org/packages/3e/cf/1d783bd05b7bca5c10ded5f946068909372e94615a4416afadfe3f63492d/coverage-7.9.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2a876e4c3e5a2a1715a6608906aa5a2e0475b9c0f68343c2ada98110512ab1d8", size = 243394, upload-time = "2025-06-13T13:01:16.23Z" },- { url = "https://files.pythonhosted.org/packages/02/dd/e7b20afd35b0a1abea09fb3998e1abc9f9bd953bee548f235aebd2b11401/coverage-7.9.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:81f34346dd63010453922c8e628a52ea2d2ccd73cb2487f7700ac531b247c8a5", size = 245586, upload-time = "2025-06-13T13:01:17.532Z" },- { url = "https://files.pythonhosted.org/packages/4e/38/b30b0006fea9d617d1cb8e43b1bc9a96af11eff42b87eb8c716cf4d37469/coverage-7.9.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:888f8eee13f2377ce86d44f338968eedec3291876b0b8a7289247ba52cb984cd", size = 245396, upload-time = "2025-06-13T13:01:19.164Z" },- { url = "https://files.pythonhosted.org/packages/31/e4/4d8ec1dc826e16791f3daf1b50943e8e7e1eb70e8efa7abb03936ff48418/coverage-7.9.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:9969ef1e69b8c8e1e70d591f91bbc37fc9a3621e447525d1602801a24ceda898", size = 243577, upload-time = "2025-06-13T13:01:22.433Z" },- { url = "https://files.pythonhosted.org/packages/25/f4/b0e96c5c38e6e40ef465c4bc7f138863e2909c00e54a331da335faf0d81a/coverage-7.9.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:60c458224331ee3f1a5b472773e4a085cc27a86a0b48205409d364272d67140d", size = 244809, upload-time = "2025-06-13T13:01:24.143Z" },- { url = "https://files.pythonhosted.org/packages/8a/65/27e0a1fa5e2e5079bdca4521be2f5dabf516f94e29a0defed35ac2382eb2/coverage-7.9.1-cp312-cp312-win32.whl", hash = "sha256:5f646a99a8c2b3ff4c6a6e081f78fad0dde275cd59f8f49dc4eab2e394332e74", size = 214724, upload-time = "2025-06-13T13:01:25.435Z" },- { url = "https://files.pythonhosted.org/packages/9b/a8/d5b128633fd1a5e0401a4160d02fa15986209a9e47717174f99dc2f7166d/coverage-7.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:30f445f85c353090b83e552dcbbdad3ec84c7967e108c3ae54556ca69955563e", size = 215535, upload-time = "2025-06-13T13:01:27.861Z" },- { url = "https://files.pythonhosted.org/packages/a3/37/84bba9d2afabc3611f3e4325ee2c6a47cd449b580d4a606b240ce5a6f9bf/coverage-7.9.1-cp312-cp312-win_arm64.whl", hash = "sha256:af41da5dca398d3474129c58cb2b106a5d93bbb196be0d307ac82311ca234342", size = 213904, upload-time = "2025-06-13T13:01:29.202Z" },- { url = "https://files.pythonhosted.org/packages/d0/a7/a027970c991ca90f24e968999f7d509332daf6b8c3533d68633930aaebac/coverage-7.9.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:31324f18d5969feef7344a932c32428a2d1a3e50b15a6404e97cba1cc9b2c631", size = 212358, upload-time = "2025-06-13T13:01:30.909Z" },- { url = "https://files.pythonhosted.org/packages/f2/48/6aaed3651ae83b231556750280682528fea8ac7f1232834573472d83e459/coverage-7.9.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0c804506d624e8a20fb3108764c52e0eef664e29d21692afa375e0dd98dc384f", size = 212620, upload-time = "2025-06-13T13:01:32.256Z" },- { url = "https://files.pythonhosted.org/packages/6c/2a/f4b613f3b44d8b9f144847c89151992b2b6b79cbc506dee89ad0c35f209d/coverage-7.9.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ef64c27bc40189f36fcc50c3fb8f16ccda73b6a0b80d9bd6e6ce4cffcd810bbd", size = 245788, upload-time = "2025-06-13T13:01:33.948Z" },- { url = "https://files.pythonhosted.org/packages/04/d2/de4fdc03af5e4e035ef420ed26a703c6ad3d7a07aff2e959eb84e3b19ca8/coverage-7.9.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d4fe2348cc6ec372e25adec0219ee2334a68d2f5222e0cba9c0d613394e12d86", size = 243001, upload-time = "2025-06-13T13:01:35.285Z" },- { url = "https://files.pythonhosted.org/packages/f5/e8/eed18aa5583b0423ab7f04e34659e51101135c41cd1dcb33ac1d7013a6d6/coverage-7.9.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:34ed2186fe52fcc24d4561041979a0dec69adae7bce2ae8d1c49eace13e55c43", size = 244985, upload-time = "2025-06-13T13:01:36.712Z" },- { url = "https://files.pythonhosted.org/packages/17/f8/ae9e5cce8885728c934eaa58ebfa8281d488ef2afa81c3dbc8ee9e6d80db/coverage-7.9.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:25308bd3d00d5eedd5ae7d4357161f4df743e3c0240fa773ee1b0f75e6c7c0f1", size = 245152, upload-time = "2025-06-13T13:01:39.303Z" },- { url = "https://files.pythonhosted.org/packages/5a/c8/272c01ae792bb3af9b30fac14d71d63371db227980682836ec388e2c57c0/coverage-7.9.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:73e9439310f65d55a5a1e0564b48e34f5369bee943d72c88378f2d576f5a5751", size = 243123, upload-time = "2025-06-13T13:01:40.727Z" },- { url = "https://files.pythonhosted.org/packages/8c/d0/2819a1e3086143c094ab446e3bdf07138527a7b88cb235c488e78150ba7a/coverage-7.9.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:37ab6be0859141b53aa89412a82454b482c81cf750de4f29223d52268a86de67", size = 244506, upload-time = "2025-06-13T13:01:42.184Z" },- { url = "https://files.pythonhosted.org/packages/8b/4e/9f6117b89152df7b6112f65c7a4ed1f2f5ec8e60c4be8f351d91e7acc848/coverage-7.9.1-cp313-cp313-win32.whl", hash = "sha256:64bdd969456e2d02a8b08aa047a92d269c7ac1f47e0c977675d550c9a0863643", size = 214766, upload-time = "2025-06-13T13:01:44.482Z" },- { url = "https://files.pythonhosted.org/packages/27/0f/4b59f7c93b52c2c4ce7387c5a4e135e49891bb3b7408dcc98fe44033bbe0/coverage-7.9.1-cp313-cp313-win_amd64.whl", hash = "sha256:be9e3f68ca9edb897c2184ad0eee815c635565dbe7a0e7e814dc1f7cbab92c0a", size = 215568, upload-time = "2025-06-13T13:01:45.772Z" },- { url = "https://files.pythonhosted.org/packages/09/1e/9679826336f8c67b9c39a359352882b24a8a7aee48d4c9cad08d38d7510f/coverage-7.9.1-cp313-cp313-win_arm64.whl", hash = "sha256:1c503289ffef1d5105d91bbb4d62cbe4b14bec4d13ca225f9c73cde9bb46207d", size = 213939, upload-time = "2025-06-13T13:01:47.087Z" },- { url = "https://files.pythonhosted.org/packages/bb/5b/5c6b4e7a407359a2e3b27bf9c8a7b658127975def62077d441b93a30dbe8/coverage-7.9.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0b3496922cb5f4215bf5caaef4cf12364a26b0be82e9ed6d050f3352cf2d7ef0", size = 213079, upload-time = "2025-06-13T13:01:48.554Z" },- { url = "https://files.pythonhosted.org/packages/a2/22/1e2e07279fd2fd97ae26c01cc2186e2258850e9ec125ae87184225662e89/coverage-7.9.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:9565c3ab1c93310569ec0d86b017f128f027cab0b622b7af288696d7ed43a16d", size = 213299, upload-time = "2025-06-13T13:01:49.997Z" },- { url = "https://files.pythonhosted.org/packages/14/c0/4c5125a4b69d66b8c85986d3321520f628756cf524af810baab0790c7647/coverage-7.9.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2241ad5dbf79ae1d9c08fe52b36d03ca122fb9ac6bca0f34439e99f8327ac89f", size = 256535, upload-time = "2025-06-13T13:01:51.314Z" },- { url = "https://files.pythonhosted.org/packages/81/8b/e36a04889dda9960be4263e95e777e7b46f1bb4fc32202612c130a20c4da/coverage-7.9.1-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3bb5838701ca68b10ebc0937dbd0eb81974bac54447c55cd58dea5bca8451029", size = 252756, upload-time = "2025-06-13T13:01:54.403Z" },- { url = "https://files.pythonhosted.org/packages/98/82/be04eff8083a09a4622ecd0e1f31a2c563dbea3ed848069e7b0445043a70/coverage-7.9.1-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b30a25f814591a8c0c5372c11ac8967f669b97444c47fd794926e175c4047ece", size = 254912, upload-time = "2025-06-13T13:01:56.769Z" },- { url = "https://files.pythonhosted.org/packages/0f/25/c26610a2c7f018508a5ab958e5b3202d900422cf7cdca7670b6b8ca4e8df/coverage-7.9.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:2d04b16a6062516df97969f1ae7efd0de9c31eb6ebdceaa0d213b21c0ca1a683", size = 256144, upload-time = "2025-06-13T13:01:58.19Z" },- { url = "https://files.pythonhosted.org/packages/c5/8b/fb9425c4684066c79e863f1e6e7ecebb49e3a64d9f7f7860ef1688c56f4a/coverage-7.9.1-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:7931b9e249edefb07cd6ae10c702788546341d5fe44db5b6108a25da4dca513f", size = 254257, upload-time = "2025-06-13T13:01:59.645Z" },- { url = "https://files.pythonhosted.org/packages/93/df/27b882f54157fc1131e0e215b0da3b8d608d9b8ef79a045280118a8f98fe/coverage-7.9.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:52e92b01041151bf607ee858e5a56c62d4b70f4dac85b8c8cb7fb8a351ab2c10", size = 255094, upload-time = "2025-06-13T13:02:01.37Z" },- { url = "https://files.pythonhosted.org/packages/41/5f/cad1c3dbed8b3ee9e16fa832afe365b4e3eeab1fb6edb65ebbf745eabc92/coverage-7.9.1-cp313-cp313t-win32.whl", hash = "sha256:684e2110ed84fd1ca5f40e89aa44adf1729dc85444004111aa01866507adf363", size = 215437, upload-time = "2025-06-13T13:02:02.905Z" },- { url = "https://files.pythonhosted.org/packages/99/4d/fad293bf081c0e43331ca745ff63673badc20afea2104b431cdd8c278b4c/coverage-7.9.1-cp313-cp313t-win_amd64.whl", hash = "sha256:437c576979e4db840539674e68c84b3cda82bc824dd138d56bead1435f1cb5d7", size = 216605, upload-time = "2025-06-13T13:02:05.638Z" },- { url = "https://files.pythonhosted.org/packages/1f/56/4ee027d5965fc7fc126d7ec1187529cc30cc7d740846e1ecb5e92d31b224/coverage-7.9.1-cp313-cp313t-win_arm64.whl", hash = "sha256:18a0912944d70aaf5f399e350445738a1a20b50fbea788f640751c2ed9208b6c", size = 214392, upload-time = "2025-06-13T13:02:07.642Z" },- { url = "https://files.pythonhosted.org/packages/3e/e5/c723545c3fd3204ebde3b4cc4b927dce709d3b6dc577754bb57f63ca4a4a/coverage-7.9.1-pp39.pp310.pp311-none-any.whl", hash = "sha256:db0f04118d1db74db6c9e1cb1898532c7dcc220f1d2718f058601f7c3f499514", size = 204009, upload-time = "2025-06-13T13:02:25.787Z" },- { url = "https://files.pythonhosted.org/packages/08/b8/7ddd1e8ba9701dea08ce22029917140e6f66a859427406579fd8d0ca7274/coverage-7.9.1-py3-none-any.whl", hash = "sha256:66b974b145aa189516b6bf2d8423e888b742517d37872f6ee4c5be0073bd9a3c", size = 204000, upload-time = "2025-06-13T13:02:27.173Z" },+version = "7.10.4"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/d6/4e/08b493f1f1d8a5182df0044acc970799b58a8d289608e0d891a03e9d269a/coverage-7.10.4.tar.gz", hash = "sha256:25f5130af6c8e7297fd14634955ba9e1697f47143f289e2a23284177c0061d27", size = 823798, upload-time = "2025-08-17T00:26:43.314Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/9c/f4/350759710db50362685f922259c140592dba15eb4e2325656a98413864d9/coverage-7.10.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d92d6edb0ccafd20c6fbf9891ca720b39c2a6a4b4a6f9cf323ca2c986f33e475", size = 216403, upload-time = "2025-08-17T00:24:19.083Z" },+ { url = "https://files.pythonhosted.org/packages/29/7e/e467c2bb4d5ecfd166bfd22c405cce4c50de2763ba1d78e2729c59539a42/coverage-7.10.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:7202da14dc0236884fcc45665ffb2d79d4991a53fbdf152ab22f69f70923cc22", size = 216802, upload-time = "2025-08-17T00:24:21.824Z" },+ { url = "https://files.pythonhosted.org/packages/62/ab/2accdd1ccfe63b890e5eb39118f63c155202df287798364868a2884a50af/coverage-7.10.4-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:ada418633ae24ec8d0fcad5efe6fc7aa3c62497c6ed86589e57844ad04365674", size = 243558, upload-time = "2025-08-17T00:24:23.569Z" },+ { url = "https://files.pythonhosted.org/packages/43/04/c14c33d0cfc0f4db6b3504d01a47f4c798563d932a836fd5f2dbc0521d3d/coverage-7.10.4-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b828e33eca6c3322adda3b5884456f98c435182a44917ded05005adfa1415500", size = 245370, upload-time = "2025-08-17T00:24:24.858Z" },+ { url = "https://files.pythonhosted.org/packages/99/71/147053061f1f51c1d3b3d040c3cb26876964a3a0dca0765d2441411ca568/coverage-7.10.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:802793ba397afcfdbe9f91f89d65ae88b958d95edc8caf948e1f47d8b6b2b606", size = 247228, upload-time = "2025-08-17T00:24:26.167Z" },+ { url = "https://files.pythonhosted.org/packages/cc/92/7ef882205d4d4eb502e6154ee7122c1a1b1ce3f29d0166921e0fb550a5d3/coverage-7.10.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d0b23512338c54101d3bf7a1ab107d9d75abda1d5f69bc0887fd079253e4c27e", size = 245270, upload-time = "2025-08-17T00:24:27.424Z" },+ { url = "https://files.pythonhosted.org/packages/ab/3d/297a20603abcc6c7d89d801286eb477b0b861f3c5a4222730f1c9837be3e/coverage-7.10.4-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:f36b7dcf72d06a8c5e2dd3aca02be2b1b5db5f86404627dff834396efce958f2", size = 243287, upload-time = "2025-08-17T00:24:28.697Z" },+ { url = "https://files.pythonhosted.org/packages/65/f9/b04111438f41f1ddd5dc88706d5f8064ae5bb962203c49fe417fa23a362d/coverage-7.10.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:fce316c367a1dc2c411821365592eeb335ff1781956d87a0410eae248188ba51", size = 244164, upload-time = "2025-08-17T00:24:30.393Z" },+ { url = "https://files.pythonhosted.org/packages/1e/e5/c7d9eb7a9ea66cf92d069077719fb2b07782dcd7050b01a9b88766b52154/coverage-7.10.4-cp310-cp310-win32.whl", hash = "sha256:8c5dab29fc8070b3766b5fc85f8d89b19634584429a2da6d42da5edfadaf32ae", size = 218917, upload-time = "2025-08-17T00:24:31.67Z" },+ { url = "https://files.pythonhosted.org/packages/66/30/4d9d3b81f5a836b31a7428b8a25e6d490d4dca5ff2952492af130153c35c/coverage-7.10.4-cp310-cp310-win_amd64.whl", hash = "sha256:4b0d114616f0fccb529a1817457d5fb52a10e106f86c5fb3b0bd0d45d0d69b93", size = 219822, upload-time = "2025-08-17T00:24:32.89Z" },+ { url = "https://files.pythonhosted.org/packages/ec/ba/2c9817e62018e7d480d14f684c160b3038df9ff69c5af7d80e97d143e4d1/coverage-7.10.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:05d5f98ec893d4a2abc8bc5f046f2f4367404e7e5d5d18b83de8fde1093ebc4f", size = 216514, upload-time = "2025-08-17T00:24:34.188Z" },+ { url = "https://files.pythonhosted.org/packages/e3/5a/093412a959a6b6261446221ba9fb23bb63f661a5de70b5d130763c87f916/coverage-7.10.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9267efd28f8994b750d171e58e481e3bbd69e44baed540e4c789f8e368b24b88", size = 216914, upload-time = "2025-08-17T00:24:35.881Z" },+ { url = "https://files.pythonhosted.org/packages/2c/1f/2fdf4a71cfe93b07eae845ebf763267539a7d8b7e16b062f959d56d7e433/coverage-7.10.4-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4456a039fdc1a89ea60823d0330f1ac6f97b0dbe9e2b6fb4873e889584b085fb", size = 247308, upload-time = "2025-08-17T00:24:37.61Z" },+ { url = "https://files.pythonhosted.org/packages/ba/16/33f6cded458e84f008b9f6bc379609a6a1eda7bffe349153b9960803fc11/coverage-7.10.4-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:c2bfbd2a9f7e68a21c5bd191be94bfdb2691ac40d325bac9ef3ae45ff5c753d9", size = 249241, upload-time = "2025-08-17T00:24:38.919Z" },+ { url = "https://files.pythonhosted.org/packages/84/98/9c18e47c889be58339ff2157c63b91a219272503ee32b49d926eea2337f2/coverage-7.10.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ab7765f10ae1df7e7fe37de9e64b5a269b812ee22e2da3f84f97b1c7732a0d8", size = 251346, upload-time = "2025-08-17T00:24:40.507Z" },+ { url = "https://files.pythonhosted.org/packages/6d/07/00a6c0d53e9a22d36d8e95ddd049b860eef8f4b9fd299f7ce34d8e323356/coverage-7.10.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0a09b13695166236e171ec1627ff8434b9a9bae47528d0ba9d944c912d33b3d2", size = 249037, upload-time = "2025-08-17T00:24:41.904Z" },+ { url = "https://files.pythonhosted.org/packages/3e/0e/1e1b944d6a6483d07bab5ef6ce063fcf3d0cc555a16a8c05ebaab11f5607/coverage-7.10.4-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:5c9e75dfdc0167d5675e9804f04a56b2cf47fb83a524654297000b578b8adcb7", size = 247090, upload-time = "2025-08-17T00:24:43.193Z" },+ { url = "https://files.pythonhosted.org/packages/62/43/2ce5ab8a728b8e25ced077111581290ffaef9efaf860a28e25435ab925cf/coverage-7.10.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:c751261bfe6481caba15ec005a194cb60aad06f29235a74c24f18546d8377df0", size = 247732, upload-time = "2025-08-17T00:24:44.906Z" },+ { url = "https://files.pythonhosted.org/packages/a4/f3/706c4a24f42c1c5f3a2ca56637ab1270f84d9e75355160dc34d5e39bb5b7/coverage-7.10.4-cp311-cp311-win32.whl", hash = "sha256:051c7c9e765f003c2ff6e8c81ccea28a70fb5b0142671e4e3ede7cebd45c80af", size = 218961, upload-time = "2025-08-17T00:24:46.241Z" },+ { url = "https://files.pythonhosted.org/packages/e8/aa/6b9ea06e0290bf1cf2a2765bba89d561c5c563b4e9db8298bf83699c8b67/coverage-7.10.4-cp311-cp311-win_amd64.whl", hash = "sha256:1a647b152f10be08fb771ae4a1421dbff66141e3d8ab27d543b5eb9ea5af8e52", size = 219851, upload-time = "2025-08-17T00:24:48.795Z" },+ { url = "https://files.pythonhosted.org/packages/8b/be/f0dc9ad50ee183369e643cd7ed8f2ef5c491bc20b4c3387cbed97dd6e0d1/coverage-7.10.4-cp311-cp311-win_arm64.whl", hash = "sha256:b09b9e4e1de0d406ca9f19a371c2beefe3193b542f64a6dd40cfcf435b7d6aa0", size = 218530, upload-time = "2025-08-17T00:24:50.164Z" },+ { url = "https://files.pythonhosted.org/packages/9e/4a/781c9e4dd57cabda2a28e2ce5b00b6be416015265851060945a5ed4bd85e/coverage-7.10.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a1f0264abcabd4853d4cb9b3d164adbf1565da7dab1da1669e93f3ea60162d79", size = 216706, upload-time = "2025-08-17T00:24:51.528Z" },+ { url = "https://files.pythonhosted.org/packages/6a/8c/51255202ca03d2e7b664770289f80db6f47b05138e06cce112b3957d5dfd/coverage-7.10.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:536cbe6b118a4df231b11af3e0f974a72a095182ff8ec5f4868c931e8043ef3e", size = 216939, upload-time = "2025-08-17T00:24:53.171Z" },+ { url = "https://files.pythonhosted.org/packages/06/7f/df11131483698660f94d3c847dc76461369782d7a7644fcd72ac90da8fd0/coverage-7.10.4-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:9a4c0d84134797b7bf3f080599d0cd501471f6c98b715405166860d79cfaa97e", size = 248429, upload-time = "2025-08-17T00:24:54.934Z" },+ { url = "https://files.pythonhosted.org/packages/eb/fa/13ac5eda7300e160bf98f082e75f5c5b4189bf3a883dd1ee42dbedfdc617/coverage-7.10.4-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7c155fc0f9cee8c9803ea0ad153ab6a3b956baa5d4cd993405dc0b45b2a0b9e0", size = 251178, upload-time = "2025-08-17T00:24:56.353Z" },+ { url = "https://files.pythonhosted.org/packages/9a/bc/f63b56a58ad0bec68a840e7be6b7ed9d6f6288d790760647bb88f5fea41e/coverage-7.10.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0a5f2ab6e451d4b07855d8bcf063adf11e199bff421a4ba57f5bb95b7444ca62", size = 252313, upload-time = "2025-08-17T00:24:57.692Z" },+ { url = "https://files.pythonhosted.org/packages/2b/b6/79338f1ea27b01266f845afb4485976211264ab92407d1c307babe3592a7/coverage-7.10.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:685b67d99b945b0c221be0780c336b303a7753b3e0ec0d618c795aada25d5e7a", size = 250230, upload-time = "2025-08-17T00:24:59.293Z" },+ { url = "https://files.pythonhosted.org/packages/bc/93/3b24f1da3e0286a4dc5832427e1d448d5296f8287464b1ff4a222abeeeb5/coverage-7.10.4-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:0c079027e50c2ae44da51c2e294596cbc9dbb58f7ca45b30651c7e411060fc23", size = 248351, upload-time = "2025-08-17T00:25:00.676Z" },+ { url = "https://files.pythonhosted.org/packages/de/5f/d59412f869e49dcc5b89398ef3146c8bfaec870b179cc344d27932e0554b/coverage-7.10.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3749aa72b93ce516f77cf5034d8e3c0dfd45c6e8a163a602ede2dc5f9a0bb927", size = 249788, upload-time = "2025-08-17T00:25:02.354Z" },+ { url = "https://files.pythonhosted.org/packages/cc/52/04a3b733f40a0cc7c4a5b9b010844111dbf906df3e868b13e1ce7b39ac31/coverage-7.10.4-cp312-cp312-win32.whl", hash = "sha256:fecb97b3a52fa9bcd5a7375e72fae209088faf671d39fae67261f37772d5559a", size = 219131, upload-time = "2025-08-17T00:25:03.79Z" },+ { url = "https://files.pythonhosted.org/packages/83/dd/12909fc0b83888197b3ec43a4ac7753589591c08d00d9deda4158df2734e/coverage-7.10.4-cp312-cp312-win_amd64.whl", hash = "sha256:26de58f355626628a21fe6a70e1e1fad95702dafebfb0685280962ae1449f17b", size = 219939, upload-time = "2025-08-17T00:25:05.494Z" },+ { url = "https://files.pythonhosted.org/packages/83/c7/058bb3220fdd6821bada9685eadac2940429ab3c97025ce53549ff423cc1/coverage-7.10.4-cp312-cp312-win_arm64.whl", hash = "sha256:67e8885408f8325198862bc487038a4980c9277d753cb8812510927f2176437a", size = 218572, upload-time = "2025-08-17T00:25:06.897Z" },+ { url = "https://files.pythonhosted.org/packages/46/b0/4a3662de81f2ed792a4e425d59c4ae50d8dd1d844de252838c200beed65a/coverage-7.10.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2b8e1d2015d5dfdbf964ecef12944c0c8c55b885bb5c0467ae8ef55e0e151233", size = 216735, upload-time = "2025-08-17T00:25:08.617Z" },+ { url = "https://files.pythonhosted.org/packages/c5/e8/e2dcffea01921bfffc6170fb4406cffb763a3b43a047bbd7923566708193/coverage-7.10.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:25735c299439018d66eb2dccf54f625aceb78645687a05f9f848f6e6c751e169", size = 216982, upload-time = "2025-08-17T00:25:10.384Z" },+ { url = "https://files.pythonhosted.org/packages/9d/59/cc89bb6ac869704d2781c2f5f7957d07097c77da0e8fdd4fd50dbf2ac9c0/coverage-7.10.4-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:715c06cb5eceac4d9b7cdf783ce04aa495f6aff657543fea75c30215b28ddb74", size = 247981, upload-time = "2025-08-17T00:25:11.854Z" },+ { url = "https://files.pythonhosted.org/packages/aa/23/3da089aa177ceaf0d3f96754ebc1318597822e6387560914cc480086e730/coverage-7.10.4-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:e017ac69fac9aacd7df6dc464c05833e834dc5b00c914d7af9a5249fcccf07ef", size = 250584, upload-time = "2025-08-17T00:25:13.483Z" },+ { url = "https://files.pythonhosted.org/packages/ad/82/e8693c368535b4e5fad05252a366a1794d481c79ae0333ed943472fd778d/coverage-7.10.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bad180cc40b3fccb0f0e8c702d781492654ac2580d468e3ffc8065e38c6c2408", size = 251856, upload-time = "2025-08-17T00:25:15.27Z" },+ { url = "https://files.pythonhosted.org/packages/56/19/8b9cb13292e602fa4135b10a26ac4ce169a7fc7c285ff08bedd42ff6acca/coverage-7.10.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:becbdcd14f685fada010a5f792bf0895675ecf7481304fe159f0cd3f289550bd", size = 250015, upload-time = "2025-08-17T00:25:16.759Z" },+ { url = "https://files.pythonhosted.org/packages/10/e7/e5903990ce089527cf1c4f88b702985bd65c61ac245923f1ff1257dbcc02/coverage-7.10.4-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:0b485ca21e16a76f68060911f97ebbe3e0d891da1dbbce6af7ca1ab3f98b9097", size = 247908, upload-time = "2025-08-17T00:25:18.232Z" },+ { url = "https://files.pythonhosted.org/packages/dd/c9/7d464f116df1df7fe340669af1ddbe1a371fc60f3082ff3dc837c4f1f2ab/coverage-7.10.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6c1d098ccfe8e1e0a1ed9a0249138899948afd2978cbf48eb1cc3fcd38469690", size = 249525, upload-time = "2025-08-17T00:25:20.141Z" },+ { url = "https://files.pythonhosted.org/packages/ce/42/722e0cdbf6c19e7235c2020837d4e00f3b07820fd012201a983238cc3a30/coverage-7.10.4-cp313-cp313-win32.whl", hash = "sha256:8630f8af2ca84b5c367c3df907b1706621abe06d6929f5045fd628968d421e6e", size = 219173, upload-time = "2025-08-17T00:25:21.56Z" },+ { url = "https://files.pythonhosted.org/packages/97/7e/aa70366f8275955cd51fa1ed52a521c7fcebcc0fc279f53c8c1ee6006dfe/coverage-7.10.4-cp313-cp313-win_amd64.whl", hash = "sha256:f68835d31c421736be367d32f179e14ca932978293fe1b4c7a6a49b555dff5b2", size = 219969, upload-time = "2025-08-17T00:25:23.501Z" },+ { url = "https://files.pythonhosted.org/packages/ac/96/c39d92d5aad8fec28d4606556bfc92b6fee0ab51e4a548d9b49fb15a777c/coverage-7.10.4-cp313-cp313-win_arm64.whl", hash = "sha256:6eaa61ff6724ca7ebc5326d1fae062d85e19b38dd922d50903702e6078370ae7", size = 218601, upload-time = "2025-08-17T00:25:25.295Z" },+ { url = "https://files.pythonhosted.org/packages/79/13/34d549a6177bd80fa5db758cb6fd3057b7ad9296d8707d4ab7f480b0135f/coverage-7.10.4-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:702978108876bfb3d997604930b05fe769462cc3000150b0e607b7b444f2fd84", size = 217445, upload-time = "2025-08-17T00:25:27.129Z" },+ { url = "https://files.pythonhosted.org/packages/6a/c0/433da866359bf39bf595f46d134ff2d6b4293aeea7f3328b6898733b0633/coverage-7.10.4-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e8f978e8c5521d9c8f2086ac60d931d583fab0a16f382f6eb89453fe998e2484", size = 217676, upload-time = "2025-08-17T00:25:28.641Z" },+ { url = "https://files.pythonhosted.org/packages/7e/d7/2b99aa8737f7801fd95222c79a4ebc8c5dd4460d4bed7ef26b17a60c8d74/coverage-7.10.4-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:df0ac2ccfd19351411c45e43ab60932b74472e4648b0a9edf6a3b58846e246a9", size = 259002, upload-time = "2025-08-17T00:25:30.065Z" },+ { url = "https://files.pythonhosted.org/packages/08/cf/86432b69d57debaef5abf19aae661ba8f4fcd2882fa762e14added4bd334/coverage-7.10.4-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:73a0d1aaaa3796179f336448e1576a3de6fc95ff4f07c2d7251d4caf5d18cf8d", size = 261178, upload-time = "2025-08-17T00:25:31.517Z" },+ { url = "https://files.pythonhosted.org/packages/23/78/85176593f4aa6e869cbed7a8098da3448a50e3fac5cb2ecba57729a5220d/coverage-7.10.4-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:873da6d0ed6b3ffc0bc01f2c7e3ad7e2023751c0d8d86c26fe7322c314b031dc", size = 263402, upload-time = "2025-08-17T00:25:33.339Z" },+ { url = "https://files.pythonhosted.org/packages/88/1d/57a27b6789b79abcac0cc5805b31320d7a97fa20f728a6a7c562db9a3733/coverage-7.10.4-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c6446c75b0e7dda5daa876a1c87b480b2b52affb972fedd6c22edf1aaf2e00ec", size = 260957, upload-time = "2025-08-17T00:25:34.795Z" },+ { url = "https://files.pythonhosted.org/packages/fa/e5/3e5ddfd42835c6def6cd5b2bdb3348da2e34c08d9c1211e91a49e9fd709d/coverage-7.10.4-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:6e73933e296634e520390c44758d553d3b573b321608118363e52113790633b9", size = 258718, upload-time = "2025-08-17T00:25:36.259Z" },+ { url = "https://files.pythonhosted.org/packages/1a/0b/d364f0f7ef111615dc4e05a6ed02cac7b6f2ac169884aa57faeae9eb5fa0/coverage-7.10.4-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:52073d4b08d2cb571234c8a71eb32af3c6923149cf644a51d5957ac128cf6aa4", size = 259848, upload-time = "2025-08-17T00:25:37.754Z" },+ { url = "https://files.pythonhosted.org/packages/10/c6/bbea60a3b309621162e53faf7fac740daaf083048ea22077418e1ecaba3f/coverage-7.10.4-cp313-cp313t-win32.whl", hash = "sha256:e24afb178f21f9ceb1aefbc73eb524769aa9b504a42b26857243f881af56880c", size = 219833, upload-time = "2025-08-17T00:25:39.252Z" },+ { url = "https://files.pythonhosted.org/packages/44/a5/f9f080d49cfb117ddffe672f21eab41bd23a46179a907820743afac7c021/coverage-7.10.4-cp313-cp313t-win_amd64.whl", hash = "sha256:be04507ff1ad206f4be3d156a674e3fb84bbb751ea1b23b142979ac9eebaa15f", size = 220897, upload-time = "2025-08-17T00:25:40.772Z" },+ { url = "https://files.pythonhosted.org/packages/46/89/49a3fc784fa73d707f603e586d84a18c2e7796707044e9d73d13260930b7/coverage-7.10.4-cp313-cp313t-win_arm64.whl", hash = "sha256:f3e3ff3f69d02b5dad67a6eac68cc9c71ae343b6328aae96e914f9f2f23a22e2", size = 219160, upload-time = "2025-08-17T00:25:42.229Z" },+ { url = "https://files.pythonhosted.org/packages/b5/22/525f84b4cbcff66024d29f6909d7ecde97223f998116d3677cfba0d115b5/coverage-7.10.4-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:a59fe0af7dd7211ba595cf7e2867458381f7e5d7b4cffe46274e0b2f5b9f4eb4", size = 216717, upload-time = "2025-08-17T00:25:43.875Z" },+ { url = "https://files.pythonhosted.org/packages/a6/58/213577f77efe44333a416d4bcb251471e7f64b19b5886bb515561b5ce389/coverage-7.10.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:3a6c35c5b70f569ee38dc3350cd14fdd0347a8b389a18bb37538cc43e6f730e6", size = 216994, upload-time = "2025-08-17T00:25:45.405Z" },+ { url = "https://files.pythonhosted.org/packages/17/85/34ac02d0985a09472f41b609a1d7babc32df87c726c7612dc93d30679b5a/coverage-7.10.4-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:acb7baf49f513554c4af6ef8e2bd6e8ac74e6ea0c7386df8b3eb586d82ccccc4", size = 248038, upload-time = "2025-08-17T00:25:46.981Z" },+ { url = "https://files.pythonhosted.org/packages/47/4f/2140305ec93642fdaf988f139813629cbb6d8efa661b30a04b6f7c67c31e/coverage-7.10.4-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:a89afecec1ed12ac13ed203238b560cbfad3522bae37d91c102e690b8b1dc46c", size = 250575, upload-time = "2025-08-17T00:25:48.613Z" },+ { url = "https://files.pythonhosted.org/packages/f2/b5/41b5784180b82a083c76aeba8f2c72ea1cb789e5382157b7dc852832aea2/coverage-7.10.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:480442727f464407d8ade6e677b7f21f3b96a9838ab541b9a28ce9e44123c14e", size = 251927, upload-time = "2025-08-17T00:25:50.881Z" },+ { url = "https://files.pythonhosted.org/packages/78/ca/c1dd063e50b71f5aea2ebb27a1c404e7b5ecf5714c8b5301f20e4e8831ac/coverage-7.10.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a89bf193707f4a17f1ed461504031074d87f035153239f16ce86dfb8f8c7ac76", size = 249930, upload-time = "2025-08-17T00:25:52.422Z" },+ { url = "https://files.pythonhosted.org/packages/8d/66/d8907408612ffee100d731798e6090aedb3ba766ecf929df296c1a7ee4fb/coverage-7.10.4-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:3ddd912c2fc440f0fb3229e764feec85669d5d80a988ff1b336a27d73f63c818", size = 247862, upload-time = "2025-08-17T00:25:54.316Z" },+ { url = "https://files.pythonhosted.org/packages/29/db/53cd8ec8b1c9c52d8e22a25434785bfc2d1e70c0cfb4d278a1326c87f741/coverage-7.10.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:8a538944ee3a42265e61c7298aeba9ea43f31c01271cf028f437a7b4075592cf", size = 249360, upload-time = "2025-08-17T00:25:55.833Z" },+ { url = "https://files.pythonhosted.org/packages/4f/75/5ec0a28ae4a0804124ea5a5becd2b0fa3adf30967ac656711fb5cdf67c60/coverage-7.10.4-cp314-cp314-win32.whl", hash = "sha256:fd2e6002be1c62476eb862b8514b1ba7e7684c50165f2a8d389e77da6c9a2ebd", size = 219449, upload-time = "2025-08-17T00:25:57.984Z" },+ { url = "https://files.pythonhosted.org/packages/9d/ab/66e2ee085ec60672bf5250f11101ad8143b81f24989e8c0e575d16bb1e53/coverage-7.10.4-cp314-cp314-win_amd64.whl", hash = "sha256:ec113277f2b5cf188d95fb66a65c7431f2b9192ee7e6ec9b72b30bbfb53c244a", size = 220246, upload-time = "2025-08-17T00:25:59.868Z" },+ { url = "https://files.pythonhosted.org/packages/37/3b/00b448d385f149143190846217797d730b973c3c0ec2045a7e0f5db3a7d0/coverage-7.10.4-cp314-cp314-win_arm64.whl", hash = "sha256:9744954bfd387796c6a091b50d55ca7cac3d08767795b5eec69ad0f7dbf12d38", size = 218825, upload-time = "2025-08-17T00:26:01.44Z" },+ { url = "https://files.pythonhosted.org/packages/ee/2e/55e20d3d1ce00b513efb6fd35f13899e1c6d4f76c6cbcc9851c7227cd469/coverage-7.10.4-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:5af4829904dda6aabb54a23879f0f4412094ba9ef153aaa464e3c1b1c9bc98e6", size = 217462, upload-time = "2025-08-17T00:26:03.014Z" },+ { url = "https://files.pythonhosted.org/packages/47/b3/aab1260df5876f5921e2c57519e73a6f6eeacc0ae451e109d44ee747563e/coverage-7.10.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7bba5ed85e034831fac761ae506c0644d24fd5594727e174b5a73aff343a7508", size = 217675, upload-time = "2025-08-17T00:26:04.606Z" },+ { url = "https://files.pythonhosted.org/packages/67/23/1cfe2aa50c7026180989f0bfc242168ac7c8399ccc66eb816b171e0ab05e/coverage-7.10.4-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:d57d555b0719834b55ad35045de6cc80fc2b28e05adb6b03c98479f9553b387f", size = 259176, upload-time = "2025-08-17T00:26:06.159Z" },+ { url = "https://files.pythonhosted.org/packages/9d/72/5882b6aeed3f9de7fc4049874fd7d24213bf1d06882f5c754c8a682606ec/coverage-7.10.4-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:ba62c51a72048bb1ea72db265e6bd8beaabf9809cd2125bbb5306c6ce105f214", size = 261341, upload-time = "2025-08-17T00:26:08.137Z" },+ { url = "https://files.pythonhosted.org/packages/1b/70/a0c76e3087596ae155f8e71a49c2c534c58b92aeacaf4d9d0cbbf2dde53b/coverage-7.10.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0acf0c62a6095f07e9db4ec365cc58c0ef5babb757e54745a1aa2ea2a2564af1", size = 263600, upload-time = "2025-08-17T00:26:11.045Z" },+ { url = "https://files.pythonhosted.org/packages/cb/5f/27e4cd4505b9a3c05257fb7fc509acbc778c830c450cb4ace00bf2b7bda7/coverage-7.10.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e1033bf0f763f5cf49ffe6594314b11027dcc1073ac590b415ea93463466deec", size = 261036, upload-time = "2025-08-17T00:26:12.693Z" },+ { url = "https://files.pythonhosted.org/packages/02/d6/cf2ae3a7f90ab226ea765a104c4e76c5126f73c93a92eaea41e1dc6a1892/coverage-7.10.4-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:92c29eff894832b6a40da1789b1f252305af921750b03ee4535919db9179453d", size = 258794, upload-time = "2025-08-17T00:26:14.261Z" },+ { url = "https://files.pythonhosted.org/packages/9e/b1/39f222eab0d78aa2001cdb7852aa1140bba632db23a5cfd832218b496d6c/coverage-7.10.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:822c4c830989c2093527e92acd97be4638a44eb042b1bdc0e7a278d84a070bd3", size = 259946, upload-time = "2025-08-17T00:26:15.899Z" },+ { url = "https://files.pythonhosted.org/packages/74/b2/49d82acefe2fe7c777436a3097f928c7242a842538b190f66aac01f29321/coverage-7.10.4-cp314-cp314t-win32.whl", hash = "sha256:e694d855dac2e7cf194ba33653e4ba7aad7267a802a7b3fc4347d0517d5d65cd", size = 220226, upload-time = "2025-08-17T00:26:17.566Z" },+ { url = "https://files.pythonhosted.org/packages/06/b0/afb942b6b2fc30bdbc7b05b087beae11c2b0daaa08e160586cf012b6ad70/coverage-7.10.4-cp314-cp314t-win_amd64.whl", hash = "sha256:efcc54b38ef7d5bfa98050f220b415bc5bb3d432bd6350a861cf6da0ede2cdcd", size = 221346, upload-time = "2025-08-17T00:26:19.311Z" },+ { url = "https://files.pythonhosted.org/packages/d8/66/e0531c9d1525cb6eac5b5733c76f27f3053ee92665f83f8899516fea6e76/coverage-7.10.4-cp314-cp314t-win_arm64.whl", hash = "sha256:6f3a3496c0fa26bfac4ebc458747b778cff201c8ae94fa05e1391bab0dbc473c", size = 219368, upload-time = "2025-08-17T00:26:21.011Z" },+ { url = "https://files.pythonhosted.org/packages/bb/78/983efd23200921d9edb6bd40512e1aa04af553d7d5a171e50f9b2b45d109/coverage-7.10.4-py3-none-any.whl", hash = "sha256:065d75447228d05121e5c938ca8f0e91eed60a1eb2d1258d42d5084fecfc3302", size = 208365, upload-time = "2025-08-17T00:26:41.479Z" },][package.optional-dependencies]@@ -554,49 +589,49 @@ toml = [[[package]]name = "cryptography"-version = "45.0.5"+version = "45.0.6"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "cffi", marker = "platform_python_implementation != 'PyPy'" },]-sdist = { url = "https://files.pythonhosted.org/packages/95/1e/49527ac611af559665f71cbb8f92b332b5ec9c6fbc4e88b0f8e92f5e85df/cryptography-45.0.5.tar.gz", hash = "sha256:72e76caa004ab63accdf26023fccd1d087f6d90ec6048ff33ad0445abf7f605a", size = 744903, upload-time = "2025-07-02T13:06:25.941Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/f0/fb/09e28bc0c46d2c547085e60897fea96310574c70fb21cd58a730a45f3403/cryptography-45.0.5-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:101ee65078f6dd3e5a028d4f19c07ffa4dd22cce6a20eaa160f8b5219911e7d8", size = 7043092, upload-time = "2025-07-02T13:05:01.514Z" },- { url = "https://files.pythonhosted.org/packages/b1/05/2194432935e29b91fb649f6149c1a4f9e6d3d9fc880919f4ad1bcc22641e/cryptography-45.0.5-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:3a264aae5f7fbb089dbc01e0242d3b67dffe3e6292e1f5182122bdf58e65215d", size = 4205926, upload-time = "2025-07-02T13:05:04.741Z" },- { url = "https://files.pythonhosted.org/packages/07/8b/9ef5da82350175e32de245646b1884fc01124f53eb31164c77f95a08d682/cryptography-45.0.5-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e74d30ec9c7cb2f404af331d5b4099a9b322a8a6b25c4632755c8757345baac5", size = 4429235, upload-time = "2025-07-02T13:05:07.084Z" },- { url = "https://files.pythonhosted.org/packages/7c/e1/c809f398adde1994ee53438912192d92a1d0fc0f2d7582659d9ef4c28b0c/cryptography-45.0.5-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:3af26738f2db354aafe492fb3869e955b12b2ef2e16908c8b9cb928128d42c57", size = 4209785, upload-time = "2025-07-02T13:05:09.321Z" },- { url = "https://files.pythonhosted.org/packages/d0/8b/07eb6bd5acff58406c5e806eff34a124936f41a4fb52909ffa4d00815f8c/cryptography-45.0.5-cp311-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e6c00130ed423201c5bc5544c23359141660b07999ad82e34e7bb8f882bb78e0", size = 3893050, upload-time = "2025-07-02T13:05:11.069Z" },- { url = "https://files.pythonhosted.org/packages/ec/ef/3333295ed58d900a13c92806b67e62f27876845a9a908c939f040887cca9/cryptography-45.0.5-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:dd420e577921c8c2d31289536c386aaa30140b473835e97f83bc71ea9d2baf2d", size = 4457379, upload-time = "2025-07-02T13:05:13.32Z" },- { url = "https://files.pythonhosted.org/packages/d9/9d/44080674dee514dbb82b21d6fa5d1055368f208304e2ab1828d85c9de8f4/cryptography-45.0.5-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:d05a38884db2ba215218745f0781775806bde4f32e07b135348355fe8e4991d9", size = 4209355, upload-time = "2025-07-02T13:05:15.017Z" },- { url = "https://files.pythonhosted.org/packages/c9/d8/0749f7d39f53f8258e5c18a93131919ac465ee1f9dccaf1b3f420235e0b5/cryptography-45.0.5-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:ad0caded895a00261a5b4aa9af828baede54638754b51955a0ac75576b831b27", size = 4456087, upload-time = "2025-07-02T13:05:16.945Z" },- { url = "https://files.pythonhosted.org/packages/09/d7/92acac187387bf08902b0bf0699816f08553927bdd6ba3654da0010289b4/cryptography-45.0.5-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:9024beb59aca9d31d36fcdc1604dd9bbeed0a55bface9f1908df19178e2f116e", size = 4332873, upload-time = "2025-07-02T13:05:18.743Z" },- { url = "https://files.pythonhosted.org/packages/03/c2/840e0710da5106a7c3d4153c7215b2736151bba60bf4491bdb421df5056d/cryptography-45.0.5-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:91098f02ca81579c85f66df8a588c78f331ca19089763d733e34ad359f474174", size = 4564651, upload-time = "2025-07-02T13:05:21.382Z" },- { url = "https://files.pythonhosted.org/packages/2e/92/cc723dd6d71e9747a887b94eb3827825c6c24b9e6ce2bb33b847d31d5eaa/cryptography-45.0.5-cp311-abi3-win32.whl", hash = "sha256:926c3ea71a6043921050eaa639137e13dbe7b4ab25800932a8498364fc1abec9", size = 2929050, upload-time = "2025-07-02T13:05:23.39Z" },- { url = "https://files.pythonhosted.org/packages/1f/10/197da38a5911a48dd5389c043de4aec4b3c94cb836299b01253940788d78/cryptography-45.0.5-cp311-abi3-win_amd64.whl", hash = "sha256:b85980d1e345fe769cfc57c57db2b59cff5464ee0c045d52c0df087e926fbe63", size = 3403224, upload-time = "2025-07-02T13:05:25.202Z" },- { url = "https://files.pythonhosted.org/packages/fe/2b/160ce8c2765e7a481ce57d55eba1546148583e7b6f85514472b1d151711d/cryptography-45.0.5-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:f3562c2f23c612f2e4a6964a61d942f891d29ee320edb62ff48ffb99f3de9ae8", size = 7017143, upload-time = "2025-07-02T13:05:27.229Z" },- { url = "https://files.pythonhosted.org/packages/c2/e7/2187be2f871c0221a81f55ee3105d3cf3e273c0a0853651d7011eada0d7e/cryptography-45.0.5-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:3fcfbefc4a7f332dece7272a88e410f611e79458fab97b5efe14e54fe476f4fd", size = 4197780, upload-time = "2025-07-02T13:05:29.299Z" },- { url = "https://files.pythonhosted.org/packages/b9/cf/84210c447c06104e6be9122661159ad4ce7a8190011669afceeaea150524/cryptography-45.0.5-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:460f8c39ba66af7db0545a8c6f2eabcbc5a5528fc1cf6c3fa9a1e44cec33385e", size = 4420091, upload-time = "2025-07-02T13:05:31.221Z" },- { url = "https://files.pythonhosted.org/packages/3e/6a/cb8b5c8bb82fafffa23aeff8d3a39822593cee6e2f16c5ca5c2ecca344f7/cryptography-45.0.5-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:9b4cf6318915dccfe218e69bbec417fdd7c7185aa7aab139a2c0beb7468c89f0", size = 4198711, upload-time = "2025-07-02T13:05:33.062Z" },- { url = "https://files.pythonhosted.org/packages/04/f7/36d2d69df69c94cbb2473871926daf0f01ad8e00fe3986ac3c1e8c4ca4b3/cryptography-45.0.5-cp37-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2089cc8f70a6e454601525e5bf2779e665d7865af002a5dec8d14e561002e135", size = 3883299, upload-time = "2025-07-02T13:05:34.94Z" },- { url = "https://files.pythonhosted.org/packages/82/c7/f0ea40f016de72f81288e9fe8d1f6748036cb5ba6118774317a3ffc6022d/cryptography-45.0.5-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:0027d566d65a38497bc37e0dd7c2f8ceda73597d2ac9ba93810204f56f52ebc7", size = 4450558, upload-time = "2025-07-02T13:05:37.288Z" },- { url = "https://files.pythonhosted.org/packages/06/ae/94b504dc1a3cdf642d710407c62e86296f7da9e66f27ab12a1ee6fdf005b/cryptography-45.0.5-cp37-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:be97d3a19c16a9be00edf79dca949c8fa7eff621763666a145f9f9535a5d7f42", size = 4198020, upload-time = "2025-07-02T13:05:39.102Z" },- { url = "https://files.pythonhosted.org/packages/05/2b/aaf0adb845d5dabb43480f18f7ca72e94f92c280aa983ddbd0bcd6ecd037/cryptography-45.0.5-cp37-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:7760c1c2e1a7084153a0f68fab76e754083b126a47d0117c9ed15e69e2103492", size = 4449759, upload-time = "2025-07-02T13:05:41.398Z" },- { url = "https://files.pythonhosted.org/packages/91/e4/f17e02066de63e0100a3a01b56f8f1016973a1d67551beaf585157a86b3f/cryptography-45.0.5-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:6ff8728d8d890b3dda5765276d1bc6fb099252915a2cd3aff960c4c195745dd0", size = 4319991, upload-time = "2025-07-02T13:05:43.64Z" },- { url = "https://files.pythonhosted.org/packages/f2/2e/e2dbd629481b499b14516eed933f3276eb3239f7cee2dcfa4ee6b44d4711/cryptography-45.0.5-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:7259038202a47fdecee7e62e0fd0b0738b6daa335354396c6ddebdbe1206af2a", size = 4554189, upload-time = "2025-07-02T13:05:46.045Z" },- { url = "https://files.pythonhosted.org/packages/f8/ea/a78a0c38f4c8736287b71c2ea3799d173d5ce778c7d6e3c163a95a05ad2a/cryptography-45.0.5-cp37-abi3-win32.whl", hash = "sha256:1e1da5accc0c750056c556a93c3e9cb828970206c68867712ca5805e46dc806f", size = 2911769, upload-time = "2025-07-02T13:05:48.329Z" },- { url = "https://files.pythonhosted.org/packages/79/b3/28ac139109d9005ad3f6b6f8976ffede6706a6478e21c889ce36c840918e/cryptography-45.0.5-cp37-abi3-win_amd64.whl", hash = "sha256:90cb0a7bb35959f37e23303b7eed0a32280510030daba3f7fdfbb65defde6a97", size = 3390016, upload-time = "2025-07-02T13:05:50.811Z" },- { url = "https://files.pythonhosted.org/packages/f8/8b/34394337abe4566848a2bd49b26bcd4b07fd466afd3e8cce4cb79a390869/cryptography-45.0.5-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:206210d03c1193f4e1ff681d22885181d47efa1ab3018766a7b32a7b3d6e6afd", size = 3575762, upload-time = "2025-07-02T13:05:53.166Z" },- { url = "https://files.pythonhosted.org/packages/8b/5d/a19441c1e89afb0f173ac13178606ca6fab0d3bd3ebc29e9ed1318b507fc/cryptography-45.0.5-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:c648025b6840fe62e57107e0a25f604db740e728bd67da4f6f060f03017d5097", size = 4140906, upload-time = "2025-07-02T13:05:55.914Z" },- { url = "https://files.pythonhosted.org/packages/4b/db/daceb259982a3c2da4e619f45b5bfdec0e922a23de213b2636e78ef0919b/cryptography-45.0.5-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:b8fa8b0a35a9982a3c60ec79905ba5bb090fc0b9addcfd3dc2dd04267e45f25e", size = 4374411, upload-time = "2025-07-02T13:05:57.814Z" },- { url = "https://files.pythonhosted.org/packages/6a/35/5d06ad06402fc522c8bf7eab73422d05e789b4e38fe3206a85e3d6966c11/cryptography-45.0.5-pp310-pypy310_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:14d96584701a887763384f3c47f0ca7c1cce322aa1c31172680eb596b890ec30", size = 4140942, upload-time = "2025-07-02T13:06:00.137Z" },- { url = "https://files.pythonhosted.org/packages/65/79/020a5413347e44c382ef1f7f7e7a66817cd6273e3e6b5a72d18177b08b2f/cryptography-45.0.5-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:57c816dfbd1659a367831baca4b775b2a5b43c003daf52e9d57e1d30bc2e1b0e", size = 4374079, upload-time = "2025-07-02T13:06:02.043Z" },- { url = "https://files.pythonhosted.org/packages/9b/c5/c0e07d84a9a2a8a0ed4f865e58f37c71af3eab7d5e094ff1b21f3f3af3bc/cryptography-45.0.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:b9e38e0a83cd51e07f5a48ff9691cae95a79bea28fe4ded168a8e5c6c77e819d", size = 3321362, upload-time = "2025-07-02T13:06:04.463Z" },- { url = "https://files.pythonhosted.org/packages/c0/71/9bdbcfd58d6ff5084687fe722c58ac718ebedbc98b9f8f93781354e6d286/cryptography-45.0.5-pp311-pypy311_pp73-macosx_10_9_x86_64.whl", hash = "sha256:8c4a6ff8a30e9e3d38ac0539e9a9e02540ab3f827a3394f8852432f6b0ea152e", size = 3587878, upload-time = "2025-07-02T13:06:06.339Z" },- { url = "https://files.pythonhosted.org/packages/f0/63/83516cfb87f4a8756eaa4203f93b283fda23d210fc14e1e594bd5f20edb6/cryptography-45.0.5-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:bd4c45986472694e5121084c6ebbd112aa919a25e783b87eb95953c9573906d6", size = 4152447, upload-time = "2025-07-02T13:06:08.345Z" },- { url = "https://files.pythonhosted.org/packages/22/11/d2823d2a5a0bd5802b3565437add16f5c8ce1f0778bf3822f89ad2740a38/cryptography-45.0.5-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:982518cd64c54fcada9d7e5cf28eabd3ee76bd03ab18e08a48cad7e8b6f31b18", size = 4386778, upload-time = "2025-07-02T13:06:10.263Z" },- { url = "https://files.pythonhosted.org/packages/5f/38/6bf177ca6bce4fe14704ab3e93627c5b0ca05242261a2e43ef3168472540/cryptography-45.0.5-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:12e55281d993a793b0e883066f590c1ae1e802e3acb67f8b442e721e475e6463", size = 4151627, upload-time = "2025-07-02T13:06:13.097Z" },- { url = "https://files.pythonhosted.org/packages/38/6a/69fc67e5266bff68a91bcb81dff8fb0aba4d79a78521a08812048913e16f/cryptography-45.0.5-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:5aa1e32983d4443e310f726ee4b071ab7569f58eedfdd65e9675484a4eb67bd1", size = 4385593, upload-time = "2025-07-02T13:06:15.689Z" },- { url = "https://files.pythonhosted.org/packages/f6/34/31a1604c9a9ade0fdab61eb48570e09a796f4d9836121266447b0eaf7feb/cryptography-45.0.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:e357286c1b76403dd384d938f93c46b2b058ed4dfcdce64a770f0537ed3feb6f", size = 3331106, upload-time = "2025-07-02T13:06:18.058Z" },+sdist = { url = "https://files.pythonhosted.org/packages/d6/0d/d13399c94234ee8f3df384819dc67e0c5ce215fb751d567a55a1f4b028c7/cryptography-45.0.6.tar.gz", hash = "sha256:5c966c732cf6e4a276ce83b6e4c729edda2df6929083a952cc7da973c539c719", size = 744949, upload-time = "2025-08-05T23:59:27.93Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/8c/29/2793d178d0eda1ca4a09a7c4e09a5185e75738cc6d526433e8663b460ea6/cryptography-45.0.6-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:048e7ad9e08cf4c0ab07ff7f36cc3115924e22e2266e034450a890d9e312dd74", size = 7042702, upload-time = "2025-08-05T23:58:23.464Z" },+ { url = "https://files.pythonhosted.org/packages/b3/b6/cabd07410f222f32c8d55486c464f432808abaa1f12af9afcbe8f2f19030/cryptography-45.0.6-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:44647c5d796f5fc042bbc6d61307d04bf29bccb74d188f18051b635f20a9c75f", size = 4206483, upload-time = "2025-08-05T23:58:27.132Z" },+ { url = "https://files.pythonhosted.org/packages/8b/9e/f9c7d36a38b1cfeb1cc74849aabe9bf817990f7603ff6eb485e0d70e0b27/cryptography-45.0.6-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e40b80ecf35ec265c452eea0ba94c9587ca763e739b8e559c128d23bff7ebbbf", size = 4429679, upload-time = "2025-08-05T23:58:29.152Z" },+ { url = "https://files.pythonhosted.org/packages/9c/2a/4434c17eb32ef30b254b9e8b9830cee4e516f08b47fdd291c5b1255b8101/cryptography-45.0.6-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:00e8724bdad672d75e6f069b27970883179bd472cd24a63f6e620ca7e41cc0c5", size = 4210553, upload-time = "2025-08-05T23:58:30.596Z" },+ { url = "https://files.pythonhosted.org/packages/ef/1d/09a5df8e0c4b7970f5d1f3aff1b640df6d4be28a64cae970d56c6cf1c772/cryptography-45.0.6-cp311-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7a3085d1b319d35296176af31c90338eeb2ddac8104661df79f80e1d9787b8b2", size = 3894499, upload-time = "2025-08-05T23:58:32.03Z" },+ { url = "https://files.pythonhosted.org/packages/79/62/120842ab20d9150a9d3a6bdc07fe2870384e82f5266d41c53b08a3a96b34/cryptography-45.0.6-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1b7fa6a1c1188c7ee32e47590d16a5a0646270921f8020efc9a511648e1b2e08", size = 4458484, upload-time = "2025-08-05T23:58:33.526Z" },+ { url = "https://files.pythonhosted.org/packages/fd/80/1bc3634d45ddfed0871bfba52cf8f1ad724761662a0c792b97a951fb1b30/cryptography-45.0.6-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:275ba5cc0d9e320cd70f8e7b96d9e59903c815ca579ab96c1e37278d231fc402", size = 4210281, upload-time = "2025-08-05T23:58:35.445Z" },+ { url = "https://files.pythonhosted.org/packages/7d/fe/ffb12c2d83d0ee625f124880a1f023b5878f79da92e64c37962bbbe35f3f/cryptography-45.0.6-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:f4028f29a9f38a2025abedb2e409973709c660d44319c61762202206ed577c42", size = 4456890, upload-time = "2025-08-05T23:58:36.923Z" },+ { url = "https://files.pythonhosted.org/packages/8c/8e/b3f3fe0dc82c77a0deb5f493b23311e09193f2268b77196ec0f7a36e3f3e/cryptography-45.0.6-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:ee411a1b977f40bd075392c80c10b58025ee5c6b47a822a33c1198598a7a5f05", size = 4333247, upload-time = "2025-08-05T23:58:38.781Z" },+ { url = "https://files.pythonhosted.org/packages/b3/a6/c3ef2ab9e334da27a1d7b56af4a2417d77e7806b2e0f90d6267ce120d2e4/cryptography-45.0.6-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e2a21a8eda2d86bb604934b6b37691585bd095c1f788530c1fcefc53a82b3453", size = 4565045, upload-time = "2025-08-05T23:58:40.415Z" },+ { url = "https://files.pythonhosted.org/packages/31/c3/77722446b13fa71dddd820a5faab4ce6db49e7e0bf8312ef4192a3f78e2f/cryptography-45.0.6-cp311-abi3-win32.whl", hash = "sha256:d063341378d7ee9c91f9d23b431a3502fc8bfacd54ef0a27baa72a0843b29159", size = 2928923, upload-time = "2025-08-05T23:58:41.919Z" },+ { url = "https://files.pythonhosted.org/packages/38/63/a025c3225188a811b82932a4dcc8457a26c3729d81578ccecbcce2cb784e/cryptography-45.0.6-cp311-abi3-win_amd64.whl", hash = "sha256:833dc32dfc1e39b7376a87b9a6a4288a10aae234631268486558920029b086ec", size = 3403805, upload-time = "2025-08-05T23:58:43.792Z" },+ { url = "https://files.pythonhosted.org/packages/5b/af/bcfbea93a30809f126d51c074ee0fac5bd9d57d068edf56c2a73abedbea4/cryptography-45.0.6-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:3436128a60a5e5490603ab2adbabc8763613f638513ffa7d311c900a8349a2a0", size = 7020111, upload-time = "2025-08-05T23:58:45.316Z" },+ { url = "https://files.pythonhosted.org/packages/98/c6/ea5173689e014f1a8470899cd5beeb358e22bb3cf5a876060f9d1ca78af4/cryptography-45.0.6-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0d9ef57b6768d9fa58e92f4947cea96ade1233c0e236db22ba44748ffedca394", size = 4198169, upload-time = "2025-08-05T23:58:47.121Z" },+ { url = "https://files.pythonhosted.org/packages/ba/73/b12995edc0c7e2311ffb57ebd3b351f6b268fed37d93bfc6f9856e01c473/cryptography-45.0.6-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ea3c42f2016a5bbf71825537c2ad753f2870191134933196bee408aac397b3d9", size = 4421273, upload-time = "2025-08-05T23:58:48.557Z" },+ { url = "https://files.pythonhosted.org/packages/f7/6e/286894f6f71926bc0da67408c853dd9ba953f662dcb70993a59fd499f111/cryptography-45.0.6-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:20ae4906a13716139d6d762ceb3e0e7e110f7955f3bc3876e3a07f5daadec5f3", size = 4199211, upload-time = "2025-08-05T23:58:50.139Z" },+ { url = "https://files.pythonhosted.org/packages/de/34/a7f55e39b9623c5cb571d77a6a90387fe557908ffc44f6872f26ca8ae270/cryptography-45.0.6-cp37-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2dac5ec199038b8e131365e2324c03d20e97fe214af051d20c49db129844e8b3", size = 3883732, upload-time = "2025-08-05T23:58:52.253Z" },+ { url = "https://files.pythonhosted.org/packages/f9/b9/c6d32edbcba0cd9f5df90f29ed46a65c4631c4fbe11187feb9169c6ff506/cryptography-45.0.6-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:18f878a34b90d688982e43f4b700408b478102dd58b3e39de21b5ebf6509c301", size = 4450655, upload-time = "2025-08-05T23:58:53.848Z" },+ { url = "https://files.pythonhosted.org/packages/77/2d/09b097adfdee0227cfd4c699b3375a842080f065bab9014248933497c3f9/cryptography-45.0.6-cp37-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:5bd6020c80c5b2b2242d6c48487d7b85700f5e0038e67b29d706f98440d66eb5", size = 4198956, upload-time = "2025-08-05T23:58:55.209Z" },+ { url = "https://files.pythonhosted.org/packages/55/66/061ec6689207d54effdff535bbdf85cc380d32dd5377173085812565cf38/cryptography-45.0.6-cp37-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:eccddbd986e43014263eda489abbddfbc287af5cddfd690477993dbb31e31016", size = 4449859, upload-time = "2025-08-05T23:58:56.639Z" },+ { url = "https://files.pythonhosted.org/packages/41/ff/e7d5a2ad2d035e5a2af116e1a3adb4d8fcd0be92a18032917a089c6e5028/cryptography-45.0.6-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:550ae02148206beb722cfe4ef0933f9352bab26b087af00e48fdfb9ade35c5b3", size = 4320254, upload-time = "2025-08-05T23:58:58.833Z" },+ { url = "https://files.pythonhosted.org/packages/82/27/092d311af22095d288f4db89fcaebadfb2f28944f3d790a4cf51fe5ddaeb/cryptography-45.0.6-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:5b64e668fc3528e77efa51ca70fadcd6610e8ab231e3e06ae2bab3b31c2b8ed9", size = 4554815, upload-time = "2025-08-05T23:59:00.283Z" },+ { url = "https://files.pythonhosted.org/packages/7e/01/aa2f4940262d588a8fdf4edabe4cda45854d00ebc6eaac12568b3a491a16/cryptography-45.0.6-cp37-abi3-win32.whl", hash = "sha256:780c40fb751c7d2b0c6786ceee6b6f871e86e8718a8ff4bc35073ac353c7cd02", size = 2912147, upload-time = "2025-08-05T23:59:01.716Z" },+ { url = "https://files.pythonhosted.org/packages/0a/bc/16e0276078c2de3ceef6b5a34b965f4436215efac45313df90d55f0ba2d2/cryptography-45.0.6-cp37-abi3-win_amd64.whl", hash = "sha256:20d15aed3ee522faac1a39fbfdfee25d17b1284bafd808e1640a74846d7c4d1b", size = 3390459, upload-time = "2025-08-05T23:59:03.358Z" },+ { url = "https://files.pythonhosted.org/packages/56/d2/4482d97c948c029be08cb29854a91bd2ae8da7eb9c4152461f1244dcea70/cryptography-45.0.6-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:705bb7c7ecc3d79a50f236adda12ca331c8e7ecfbea51edd931ce5a7a7c4f012", size = 3576812, upload-time = "2025-08-05T23:59:04.833Z" },+ { url = "https://files.pythonhosted.org/packages/ec/24/55fc238fcaa122855442604b8badb2d442367dfbd5a7ca4bb0bd346e263a/cryptography-45.0.6-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:826b46dae41a1155a0c0e66fafba43d0ede1dc16570b95e40c4d83bfcf0a451d", size = 4141694, upload-time = "2025-08-05T23:59:06.66Z" },+ { url = "https://files.pythonhosted.org/packages/f9/7e/3ea4fa6fbe51baf3903806a0241c666b04c73d2358a3ecce09ebee8b9622/cryptography-45.0.6-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:cc4d66f5dc4dc37b89cfef1bd5044387f7a1f6f0abb490815628501909332d5d", size = 4375010, upload-time = "2025-08-05T23:59:08.14Z" },+ { url = "https://files.pythonhosted.org/packages/50/42/ec5a892d82d2a2c29f80fc19ced4ba669bca29f032faf6989609cff1f8dc/cryptography-45.0.6-pp310-pypy310_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:f68f833a9d445cc49f01097d95c83a850795921b3f7cc6488731e69bde3288da", size = 4141377, upload-time = "2025-08-05T23:59:09.584Z" },+ { url = "https://files.pythonhosted.org/packages/e7/d7/246c4c973a22b9c2931999da953a2c19cae7c66b9154c2d62ffed811225e/cryptography-45.0.6-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:3b5bf5267e98661b9b888a9250d05b063220dfa917a8203744454573c7eb79db", size = 4374609, upload-time = "2025-08-05T23:59:11.923Z" },+ { url = "https://files.pythonhosted.org/packages/78/6d/c49ccf243f0a1b0781c2a8de8123ee552f0c8a417c6367a24d2ecb7c11b3/cryptography-45.0.6-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:2384f2ab18d9be88a6e4f8972923405e2dbb8d3e16c6b43f15ca491d7831bd18", size = 3322156, upload-time = "2025-08-05T23:59:13.597Z" },+ { url = "https://files.pythonhosted.org/packages/61/69/c252de4ec047ba2f567ecb53149410219577d408c2aea9c989acae7eafce/cryptography-45.0.6-pp311-pypy311_pp73-macosx_10_9_x86_64.whl", hash = "sha256:fc022c1fa5acff6def2fc6d7819bbbd31ccddfe67d075331a65d9cfb28a20983", size = 3584669, upload-time = "2025-08-05T23:59:15.431Z" },+ { url = "https://files.pythonhosted.org/packages/e3/fe/deea71e9f310a31fe0a6bfee670955152128d309ea2d1c79e2a5ae0f0401/cryptography-45.0.6-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:3de77e4df42ac8d4e4d6cdb342d989803ad37707cf8f3fbf7b088c9cbdd46427", size = 4153022, upload-time = "2025-08-05T23:59:16.954Z" },+ { url = "https://files.pythonhosted.org/packages/60/45/a77452f5e49cb580feedba6606d66ae7b82c128947aa754533b3d1bd44b0/cryptography-45.0.6-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:599c8d7df950aa68baa7e98f7b73f4f414c9f02d0e8104a30c0182a07732638b", size = 4386802, upload-time = "2025-08-05T23:59:18.55Z" },+ { url = "https://files.pythonhosted.org/packages/a3/b9/a2f747d2acd5e3075fdf5c145c7c3568895daaa38b3b0c960ef830db6cdc/cryptography-45.0.6-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:31a2b9a10530a1cb04ffd6aa1cd4d3be9ed49f7d77a4dafe198f3b382f41545c", size = 4152706, upload-time = "2025-08-05T23:59:20.044Z" },+ { url = "https://files.pythonhosted.org/packages/81/ec/381b3e8d0685a3f3f304a382aa3dfce36af2d76467da0fd4bb21ddccc7b2/cryptography-45.0.6-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:e5b3dda1b00fb41da3af4c5ef3f922a200e33ee5ba0f0bc9ecf0b0c173958385", size = 4386740, upload-time = "2025-08-05T23:59:21.525Z" },+ { url = "https://files.pythonhosted.org/packages/0a/76/cf8d69da8d0b5ecb0db406f24a63a3f69ba5e791a11b782aeeefef27ccbb/cryptography-45.0.6-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:629127cfdcdc6806dfe234734d7cb8ac54edaf572148274fa377a7d3405b0043", size = 3331874, upload-time = "2025-08-05T23:59:23.017Z" },][[package]]@@ -611,6 +646,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/6e/c6/ac0b6c1e2d138f1002bcf799d330bd6d85084fece321e662a14223794041/Deprecated-1.2.18-py2.py3-none-any.whl", hash = "sha256:bd5011788200372a32418f888e326a09ff80d0214bd961147cfed01b5c018eec", size = 9998, upload-time = "2025-01-27T10:46:09.186Z" },]+[[package]]+name = "diskcache"+version = "5.6.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/3f/21/1c1ffc1a039ddcc459db43cc108658f32c57d271d7289a2794e401d0fdb6/diskcache-5.6.3.tar.gz", hash = "sha256:2c3a3fa2743d8535d832ec61c2054a1641f41775aa7c556758a109941e33e4fc", size = 67916, upload-time = "2023-08-31T06:12:00.316Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/3f/27/4570e78fc0bf5ea0ca45eb1de3818a23787af9b390c0b0a0033a1b8236f9/diskcache-5.6.3-py3-none-any.whl", hash = "sha256:5e31b2d5fbad117cc363ebaf6b689474db18a1f6438bc82358b024abd4c2ca19", size = 45550, upload-time = "2023-08-31T06:11:58.822Z" },+]+[[package]]name = "distro"version = "1.9.0"@@ -622,11 +666,11 @@ wheels = [[[package]]name = "docstring-parser"-version = "0.16"+version = "0.17.0"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/08/12/9c22a58c0b1e29271051222d8906257616da84135af9ed167c9e28f85cb3/docstring_parser-0.16.tar.gz", hash = "sha256:538beabd0af1e2db0146b6bd3caa526c35a34d61af9fd2887f3a8a27a739aa6e", size = 26565, upload-time = "2024-03-15T10:39:44.419Z" }+sdist = { url = "https://files.pythonhosted.org/packages/b2/9d/c3b43da9515bd270df0f80548d9944e389870713cc1fe2b8fb35fe2bcefd/docstring_parser-0.17.0.tar.gz", hash = "sha256:583de4a309722b3315439bb31d64ba3eebada841f2e2cee23b99df001434c912", size = 27442, upload-time = "2025-07-21T07:35:01.868Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/d5/7c/e9fcff7623954d86bdc17782036cbf715ecab1bec4847c008557affe1ca8/docstring_parser-0.16-py3-none-any.whl", hash = "sha256:bf0a1387354d3691d102edef7ec124f219ef639982d096e26e3b60aeffa90637", size = 36533, upload-time = "2024-03-15T10:39:41.527Z" },+ { url = "https://files.pythonhosted.org/packages/55/e2/2537ebcff11c1ee1ff17d8d0b6f4db75873e3b0fb32c2d4a2ee31ecb310a/docstring_parser-0.17.0-py3-none-any.whl", hash = "sha256:cf2569abd23dce8099b300f9b4fa8191e9582dda731fd533daf54c4551658708", size = 36896, upload-time = "2025-07-21T07:35:00.684Z" },][[package]]@@ -670,14 +714,14 @@ wheels = [[[package]]name = "faker"-version = "37.4.0"+version = "37.5.3"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "tzdata" },]-sdist = { url = "https://files.pythonhosted.org/packages/65/f9/66af4019ee952fc84b8fe5b523fceb7f9e631ed8484417b6f1e3092f8290/faker-37.4.0.tar.gz", hash = "sha256:7f69d579588c23d5ce671f3fa872654ede0e67047820255f43a4aa1925b89780", size = 1901976, upload-time = "2025-06-11T17:59:30.818Z" }+sdist = { url = "https://files.pythonhosted.org/packages/ce/5d/7797a74e8e31fa227f0303239802c5f09b6722bdb6638359e7b6c8f30004/faker-37.5.3.tar.gz", hash = "sha256:8315d8ff4d6f4f588bd42ffe63abd599886c785073e26a44707e10eeba5713dc", size = 1907147, upload-time = "2025-07-30T15:52:19.528Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/78/5e/c8c3c5ea0896ab747db2e2889bf5a6f618ed291606de6513df56ad8670a8/faker-37.4.0-py3-none-any.whl", hash = "sha256:cb81c09ebe06c32a10971d1bbdb264bb0e22b59af59548f011ac4809556ce533", size = 1942992, upload-time = "2025-06-11T17:59:28.698Z" },+ { url = "https://files.pythonhosted.org/packages/4b/bf/d06dd96e7afa72069dbdd26ed0853b5e8bd7941e2c0819a9b21d6e6fc052/faker-37.5.3-py3-none-any.whl", hash = "sha256:386fe9d5e6132a915984bf887fcebcc72d6366a25dd5952905b31b141a17016d", size = 1949261, upload-time = "2025-07-30T15:52:17.729Z" },][[package]]@@ -874,11 +918,11 @@ wheels = [[[package]]name = "httpx-sse"-version = "0.4.0"+version = "0.4.1"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/4c/60/8f4281fa9bbf3c8034fd54c0e7412e66edbab6bc74c4996bd616f8d0406e/httpx-sse-0.4.0.tar.gz", hash = "sha256:1e81a3a3070ce322add1d3529ed42eb5f70817f45ed6ec915ab753f961139721", size = 12624, upload-time = "2023-12-22T08:01:21.083Z" }+sdist = { url = "https://files.pythonhosted.org/packages/6e/fa/66bd985dd0b7c109a3bcb89272ee0bfb7e2b4d06309ad7b38ff866734b2a/httpx_sse-0.4.1.tar.gz", hash = "sha256:8f44d34414bc7b21bf3602713005c5df4917884f76072479b21f68befa4ea26e", size = 12998, upload-time = "2025-06-24T13:21:05.71Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/e1/9b/a181f281f65d776426002f330c31849b86b31fc9d848db62e16f03ff739f/httpx_sse-0.4.0-py3-none-any.whl", hash = "sha256:f329af6eae57eaa2bdfd962b42524764af68075ea87370a2de920af5341e318f", size = 7819, upload-time = "2023-12-22T08:01:19.89Z" },+ { url = "https://files.pythonhosted.org/packages/25/0a/6269e3473b09aed2dab8aa1a600c70f31f00ae1349bee30658f7e358a159/httpx_sse-0.4.1-py3-none-any.whl", hash = "sha256:cba42174344c3a5b06f255ce65b350880f962d99ead85e776f23c6618a377a37", size = 8054, upload-time = "2025-06-24T13:21:04.772Z" },][[package]]@@ -901,10 +945,11 @@ wheels = [[[package]]name = "instructor"-version = "1.8.3"+version = "1.10.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "aiohttp" },+ { name = "diskcache" },{ name = "docstring-parser" },{ name = "jinja2" },{ name = "jiter" },@@ -916,9 +961,9 @@ dependencies = [{ name = "tenacity" },{ name = "typer" },]-sdist = { url = "https://files.pythonhosted.org/packages/a9/54/927c2093dc5e532195baf849f7ff1376ad673222b5d37be19e4e73af618e/instructor-1.8.3.tar.gz", hash = "sha256:04d64ebc0d6e5eee104f4715b18fac1a02c21757ae6ce76efa65d38cbd536b0b", size = 69265823, upload-time = "2025-05-22T16:44:02.409Z" }+sdist = { url = "https://files.pythonhosted.org/packages/a5/67/63c4b4d2cc3c7b4238920ad3388a6f5d67265ab7c09ee34012d6b591130e/instructor-1.10.0.tar.gz", hash = "sha256:887d33e058b913290dbf526b0096b1bb8d7ea1a07d75afecbf716161f959697b", size = 69388981, upload-time = "2025-07-18T15:28:52.386Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/07/76/0e198373f182020559b0886d0d61dd2ddca109ab7a9eddf5458ff759d51a/instructor-1.8.3-py3-none-any.whl", hash = "sha256:a2c5066458132dc50ec6faa87cab9a2dd6b11b3f45c0e563a2ef704892286945", size = 94619, upload-time = "2025-05-22T16:43:58.529Z" },+ { url = "https://files.pythonhosted.org/packages/2c/fb/ffc1ade9779795a8dc8e2379b1bfb522161ee7df8df12722f50d348fb4ea/instructor-1.10.0-py3-none-any.whl", hash = "sha256:9c789f0fce915d5498059afb5314530c8a5b22b0283302679148ddae98f732b0", size = 119455, upload-time = "2025-07-18T15:28:48.785Z" },][[package]]@@ -935,61 +980,74 @@ wheels = [[[package]]name = "jiter"-version = "0.8.2"-source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/f8/70/90bc7bd3932e651486861df5c8ffea4ca7c77d28e8532ddefe2abc561a53/jiter-0.8.2.tar.gz", hash = "sha256:cd73d3e740666d0e639f678adb176fad25c1bcbdae88d8d7b857e1783bb4212d", size = 163007, upload-time = "2024-12-09T18:11:08.649Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/f2/f3/8c11e0e87bd5934c414f9b1cfae3cbfd4a938d4669d57cb427e1c4d11a7f/jiter-0.8.2-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:ca8577f6a413abe29b079bc30f907894d7eb07a865c4df69475e868d73e71c7b", size = 303381, upload-time = "2024-12-09T18:09:00.301Z" },- { url = "https://files.pythonhosted.org/packages/ea/28/4cd3f0bcbf40e946bc6a62a82c951afc386a25673d3d8d5ee461f1559bbe/jiter-0.8.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b25bd626bde7fb51534190c7e3cb97cee89ee76b76d7585580e22f34f5e3f393", size = 311718, upload-time = "2024-12-09T18:09:02.53Z" },- { url = "https://files.pythonhosted.org/packages/0d/17/57acab00507e60bd954eaec0837d9d7b119b4117ff49b8a62f2b646f32ed/jiter-0.8.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d5c826a221851a8dc028eb6d7d6429ba03184fa3c7e83ae01cd6d3bd1d4bd17d", size = 335465, upload-time = "2024-12-09T18:09:04.044Z" },- { url = "https://files.pythonhosted.org/packages/74/b9/1a3ddd2bc95ae17c815b021521020f40c60b32137730126bada962ef32b4/jiter-0.8.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d35c864c2dff13dfd79fb070fc4fc6235d7b9b359efe340e1261deb21b9fcb66", size = 355570, upload-time = "2024-12-09T18:09:05.445Z" },- { url = "https://files.pythonhosted.org/packages/78/69/6d29e2296a934199a7d0dde673ecccf98c9c8db44caf0248b3f2b65483cb/jiter-0.8.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f557c55bc2b7676e74d39d19bcb8775ca295c7a028246175d6a8b431e70835e5", size = 381383, upload-time = "2024-12-09T18:09:07.499Z" },- { url = "https://files.pythonhosted.org/packages/22/d7/fbc4c3fb1bf65f9be22a32759b539f88e897aeb13fe84ab0266e4423487a/jiter-0.8.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:580ccf358539153db147e40751a0b41688a5ceb275e6f3e93d91c9467f42b2e3", size = 390454, upload-time = "2024-12-09T18:09:09.587Z" },- { url = "https://files.pythonhosted.org/packages/4d/a0/3993cda2e267fe679b45d0bcc2cef0b4504b0aa810659cdae9737d6bace9/jiter-0.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:af102d3372e917cffce49b521e4c32c497515119dc7bd8a75665e90a718bbf08", size = 345039, upload-time = "2024-12-09T18:09:11.045Z" },- { url = "https://files.pythonhosted.org/packages/b9/ef/69c18562b4c09ce88fab5df1dcaf643f6b1a8b970b65216e7221169b81c4/jiter-0.8.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:cadcc978f82397d515bb2683fc0d50103acff2a180552654bb92d6045dec2c49", size = 376200, upload-time = "2024-12-09T18:09:13.104Z" },- { url = "https://files.pythonhosted.org/packages/4d/17/0b5a8de46a6ab4d836f70934036278b49b8530c292b29dde3483326d4555/jiter-0.8.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:ba5bdf56969cad2019d4e8ffd3f879b5fdc792624129741d3d83fc832fef8c7d", size = 511158, upload-time = "2024-12-09T18:09:15.222Z" },- { url = "https://files.pythonhosted.org/packages/6c/b2/c401a0a2554b36c9e6d6e4876b43790d75139cf3936f0222e675cbc23451/jiter-0.8.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:3b94a33a241bee9e34b8481cdcaa3d5c2116f575e0226e421bed3f7a6ea71cff", size = 503956, upload-time = "2024-12-09T18:09:16.595Z" },- { url = "https://files.pythonhosted.org/packages/d4/02/a0291ed7d72c0ac130f172354ee3cf0b2556b69584de391463a8ee534f40/jiter-0.8.2-cp310-cp310-win32.whl", hash = "sha256:6e5337bf454abddd91bd048ce0dca5134056fc99ca0205258766db35d0a2ea43", size = 202846, upload-time = "2024-12-09T18:09:19.347Z" },- { url = "https://files.pythonhosted.org/packages/ad/20/8c988831ae4bf437e29f1671e198fc99ba8fe49f2895f23789acad1d1811/jiter-0.8.2-cp310-cp310-win_amd64.whl", hash = "sha256:4a9220497ca0cb1fe94e3f334f65b9b5102a0b8147646118f020d8ce1de70105", size = 204414, upload-time = "2024-12-09T18:09:20.904Z" },- { url = "https://files.pythonhosted.org/packages/cb/b0/c1a7caa7f9dc5f1f6cfa08722867790fe2d3645d6e7170ca280e6e52d163/jiter-0.8.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:2dd61c5afc88a4fda7d8b2cf03ae5947c6ac7516d32b7a15bf4b49569a5c076b", size = 303666, upload-time = "2024-12-09T18:09:23.145Z" },- { url = "https://files.pythonhosted.org/packages/f5/97/0468bc9eeae43079aaa5feb9267964e496bf13133d469cfdc135498f8dd0/jiter-0.8.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a6c710d657c8d1d2adbbb5c0b0c6bfcec28fd35bd6b5f016395f9ac43e878a15", size = 311934, upload-time = "2024-12-09T18:09:25.098Z" },- { url = "https://files.pythonhosted.org/packages/e5/69/64058e18263d9a5f1e10f90c436853616d5f047d997c37c7b2df11b085ec/jiter-0.8.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a9584de0cd306072635fe4b89742bf26feae858a0683b399ad0c2509011b9dc0", size = 335506, upload-time = "2024-12-09T18:09:26.407Z" },- { url = "https://files.pythonhosted.org/packages/9d/14/b747f9a77b8c0542141d77ca1e2a7523e854754af2c339ac89a8b66527d6/jiter-0.8.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5a90a923338531b7970abb063cfc087eebae6ef8ec8139762007188f6bc69a9f", size = 355849, upload-time = "2024-12-09T18:09:27.686Z" },- { url = "https://files.pythonhosted.org/packages/53/e2/98a08161db7cc9d0e39bc385415890928ff09709034982f48eccfca40733/jiter-0.8.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d21974d246ed0181558087cd9f76e84e8321091ebfb3a93d4c341479a736f099", size = 381700, upload-time = "2024-12-09T18:09:28.989Z" },- { url = "https://files.pythonhosted.org/packages/7a/38/1674672954d35bce3b1c9af99d5849f9256ac8f5b672e020ac7821581206/jiter-0.8.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:32475a42b2ea7b344069dc1e81445cfc00b9d0e3ca837f0523072432332e9f74", size = 389710, upload-time = "2024-12-09T18:09:30.565Z" },- { url = "https://files.pythonhosted.org/packages/f8/9b/92f9da9a9e107d019bcf883cd9125fa1690079f323f5a9d5c6986eeec3c0/jiter-0.8.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8b9931fd36ee513c26b5bf08c940b0ac875de175341cbdd4fa3be109f0492586", size = 345553, upload-time = "2024-12-09T18:09:32.735Z" },- { url = "https://files.pythonhosted.org/packages/44/a6/6d030003394e9659cd0d7136bbeabd82e869849ceccddc34d40abbbbb269/jiter-0.8.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ce0820f4a3a59ddced7fce696d86a096d5cc48d32a4183483a17671a61edfddc", size = 376388, upload-time = "2024-12-09T18:09:34.723Z" },- { url = "https://files.pythonhosted.org/packages/ad/8d/87b09e648e4aca5f9af89e3ab3cfb93db2d1e633b2f2931ede8dabd9b19a/jiter-0.8.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:8ffc86ae5e3e6a93765d49d1ab47b6075a9c978a2b3b80f0f32628f39caa0c88", size = 511226, upload-time = "2024-12-09T18:09:36.13Z" },- { url = "https://files.pythonhosted.org/packages/77/95/8008ebe4cdc82eac1c97864a8042ca7e383ed67e0ec17bfd03797045c727/jiter-0.8.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:5127dc1abd809431172bc3fbe8168d6b90556a30bb10acd5ded41c3cfd6f43b6", size = 504134, upload-time = "2024-12-09T18:09:37.581Z" },- { url = "https://files.pythonhosted.org/packages/26/0d/3056a74de13e8b2562e4d526de6dac2f65d91ace63a8234deb9284a1d24d/jiter-0.8.2-cp311-cp311-win32.whl", hash = "sha256:66227a2c7b575720c1871c8800d3a0122bb8ee94edb43a5685aa9aceb2782d44", size = 203103, upload-time = "2024-12-09T18:09:38.881Z" },- { url = "https://files.pythonhosted.org/packages/4e/1e/7f96b798f356e531ffc0f53dd2f37185fac60fae4d6c612bbbd4639b90aa/jiter-0.8.2-cp311-cp311-win_amd64.whl", hash = "sha256:cde031d8413842a1e7501e9129b8e676e62a657f8ec8166e18a70d94d4682855", size = 206717, upload-time = "2024-12-09T18:09:41.064Z" },- { url = "https://files.pythonhosted.org/packages/a1/17/c8747af8ea4e045f57d6cfd6fc180752cab9bc3de0e8a0c9ca4e8af333b1/jiter-0.8.2-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:e6ec2be506e7d6f9527dae9ff4b7f54e68ea44a0ef6b098256ddf895218a2f8f", size = 302027, upload-time = "2024-12-09T18:09:43.11Z" },- { url = "https://files.pythonhosted.org/packages/3c/c1/6da849640cd35a41e91085723b76acc818d4b7d92b0b6e5111736ce1dd10/jiter-0.8.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:76e324da7b5da060287c54f2fabd3db5f76468006c811831f051942bf68c9d44", size = 310326, upload-time = "2024-12-09T18:09:44.426Z" },- { url = "https://files.pythonhosted.org/packages/06/99/a2bf660d8ccffee9ad7ed46b4f860d2108a148d0ea36043fd16f4dc37e94/jiter-0.8.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:180a8aea058f7535d1c84183c0362c710f4750bef66630c05f40c93c2b152a0f", size = 334242, upload-time = "2024-12-09T18:09:45.915Z" },- { url = "https://files.pythonhosted.org/packages/a7/5f/cea1c17864828731f11427b9d1ab7f24764dbd9aaf4648a7f851164d2718/jiter-0.8.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:025337859077b41548bdcbabe38698bcd93cfe10b06ff66617a48ff92c9aec60", size = 356654, upload-time = "2024-12-09T18:09:47.619Z" },- { url = "https://files.pythonhosted.org/packages/e9/13/62774b7e5e7f5d5043efe1d0f94ead66e6d0f894ae010adb56b3f788de71/jiter-0.8.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ecff0dc14f409599bbcafa7e470c00b80f17abc14d1405d38ab02e4b42e55b57", size = 379967, upload-time = "2024-12-09T18:09:49.987Z" },- { url = "https://files.pythonhosted.org/packages/ec/fb/096b34c553bb0bd3f2289d5013dcad6074948b8d55212aa13a10d44c5326/jiter-0.8.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ffd9fee7d0775ebaba131f7ca2e2d83839a62ad65e8e02fe2bd8fc975cedeb9e", size = 389252, upload-time = "2024-12-09T18:09:51.329Z" },- { url = "https://files.pythonhosted.org/packages/17/61/beea645c0bf398ced8b199e377b61eb999d8e46e053bb285c91c3d3eaab0/jiter-0.8.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:14601dcac4889e0a1c75ccf6a0e4baf70dbc75041e51bcf8d0e9274519df6887", size = 345490, upload-time = "2024-12-09T18:09:52.646Z" },- { url = "https://files.pythonhosted.org/packages/d5/df/834aa17ad5dcc3cf0118821da0a0cf1589ea7db9832589278553640366bc/jiter-0.8.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:92249669925bc1c54fcd2ec73f70f2c1d6a817928480ee1c65af5f6b81cdf12d", size = 376991, upload-time = "2024-12-09T18:09:53.972Z" },- { url = "https://files.pythonhosted.org/packages/67/80/87d140399d382fb4ea5b3d56e7ecaa4efdca17cd7411ff904c1517855314/jiter-0.8.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:e725edd0929fa79f8349ab4ec7f81c714df51dc4e991539a578e5018fa4a7152", size = 510822, upload-time = "2024-12-09T18:09:55.439Z" },- { url = "https://files.pythonhosted.org/packages/5c/37/3394bb47bac1ad2cb0465601f86828a0518d07828a650722e55268cdb7e6/jiter-0.8.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:bf55846c7b7a680eebaf9c3c48d630e1bf51bdf76c68a5f654b8524335b0ad29", size = 503730, upload-time = "2024-12-09T18:09:59.494Z" },- { url = "https://files.pythonhosted.org/packages/f9/e2/253fc1fa59103bb4e3aa0665d6ceb1818df1cd7bf3eb492c4dad229b1cd4/jiter-0.8.2-cp312-cp312-win32.whl", hash = "sha256:7efe4853ecd3d6110301665a5178b9856be7e2a9485f49d91aa4d737ad2ae49e", size = 203375, upload-time = "2024-12-09T18:10:00.814Z" },- { url = "https://files.pythonhosted.org/packages/41/69/6d4bbe66b3b3b4507e47aa1dd5d075919ad242b4b1115b3f80eecd443687/jiter-0.8.2-cp312-cp312-win_amd64.whl", hash = "sha256:83c0efd80b29695058d0fd2fa8a556490dbce9804eac3e281f373bbc99045f6c", size = 204740, upload-time = "2024-12-09T18:10:02.146Z" },- { url = "https://files.pythonhosted.org/packages/6c/b0/bfa1f6f2c956b948802ef5a021281978bf53b7a6ca54bb126fd88a5d014e/jiter-0.8.2-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:ca1f08b8e43dc3bd0594c992fb1fd2f7ce87f7bf0d44358198d6da8034afdf84", size = 301190, upload-time = "2024-12-09T18:10:03.463Z" },- { url = "https://files.pythonhosted.org/packages/a4/8f/396ddb4e292b5ea57e45ade5dc48229556b9044bad29a3b4b2dddeaedd52/jiter-0.8.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:5672a86d55416ccd214c778efccf3266b84f87b89063b582167d803246354be4", size = 309334, upload-time = "2024-12-09T18:10:05.774Z" },- { url = "https://files.pythonhosted.org/packages/7f/68/805978f2f446fa6362ba0cc2e4489b945695940656edd844e110a61c98f8/jiter-0.8.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:58dc9bc9767a1101f4e5e22db1b652161a225874d66f0e5cb8e2c7d1c438b587", size = 333918, upload-time = "2024-12-09T18:10:07.158Z" },- { url = "https://files.pythonhosted.org/packages/b3/99/0f71f7be667c33403fa9706e5b50583ae5106d96fab997fa7e2f38ee8347/jiter-0.8.2-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:37b2998606d6dadbb5ccda959a33d6a5e853252d921fec1792fc902351bb4e2c", size = 356057, upload-time = "2024-12-09T18:10:09.341Z" },- { url = "https://files.pythonhosted.org/packages/8d/50/a82796e421a22b699ee4d2ce527e5bcb29471a2351cbdc931819d941a167/jiter-0.8.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4ab9a87f3784eb0e098f84a32670cfe4a79cb6512fd8f42ae3d0709f06405d18", size = 379790, upload-time = "2024-12-09T18:10:10.702Z" },- { url = "https://files.pythonhosted.org/packages/3c/31/10fb012b00f6d83342ca9e2c9618869ab449f1aa78c8f1b2193a6b49647c/jiter-0.8.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:79aec8172b9e3c6d05fd4b219d5de1ac616bd8da934107325a6c0d0e866a21b6", size = 388285, upload-time = "2024-12-09T18:10:12.721Z" },- { url = "https://files.pythonhosted.org/packages/c8/81/f15ebf7de57be488aa22944bf4274962aca8092e4f7817f92ffa50d3ee46/jiter-0.8.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:711e408732d4e9a0208008e5892c2966b485c783cd2d9a681f3eb147cf36c7ef", size = 344764, upload-time = "2024-12-09T18:10:14.075Z" },- { url = "https://files.pythonhosted.org/packages/b3/e8/0cae550d72b48829ba653eb348cdc25f3f06f8a62363723702ec18e7be9c/jiter-0.8.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:653cf462db4e8c41995e33d865965e79641ef45369d8a11f54cd30888b7e6ff1", size = 376620, upload-time = "2024-12-09T18:10:15.487Z" },- { url = "https://files.pythonhosted.org/packages/b8/50/e5478ff9d82534a944c03b63bc217c5f37019d4a34d288db0f079b13c10b/jiter-0.8.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:9c63eaef32b7bebac8ebebf4dabebdbc6769a09c127294db6babee38e9f405b9", size = 510402, upload-time = "2024-12-09T18:10:17.499Z" },- { url = "https://files.pythonhosted.org/packages/8e/1e/3de48bbebbc8f7025bd454cedc8c62378c0e32dd483dece5f4a814a5cb55/jiter-0.8.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:eb21aaa9a200d0a80dacc7a81038d2e476ffe473ffdd9c91eb745d623561de05", size = 503018, upload-time = "2024-12-09T18:10:18.92Z" },- { url = "https://files.pythonhosted.org/packages/d5/cd/d5a5501d72a11fe3e5fd65c78c884e5164eefe80077680533919be22d3a3/jiter-0.8.2-cp313-cp313-win32.whl", hash = "sha256:789361ed945d8d42850f919342a8665d2dc79e7e44ca1c97cc786966a21f627a", size = 203190, upload-time = "2024-12-09T18:10:20.801Z" },- { url = "https://files.pythonhosted.org/packages/51/bf/e5ca301245ba951447e3ad677a02a64a8845b185de2603dabd83e1e4b9c6/jiter-0.8.2-cp313-cp313-win_amd64.whl", hash = "sha256:ab7f43235d71e03b941c1630f4b6e3055d46b6cb8728a17663eaac9d8e83a865", size = 203551, upload-time = "2024-12-09T18:10:22.822Z" },- { url = "https://files.pythonhosted.org/packages/2f/3c/71a491952c37b87d127790dd7a0b1ebea0514c6b6ad30085b16bbe00aee6/jiter-0.8.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b426f72cd77da3fec300ed3bc990895e2dd6b49e3bfe6c438592a3ba660e41ca", size = 308347, upload-time = "2024-12-09T18:10:24.139Z" },- { url = "https://files.pythonhosted.org/packages/a0/4c/c02408042e6a7605ec063daed138e07b982fdb98467deaaf1c90950cf2c6/jiter-0.8.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b2dd880785088ff2ad21ffee205e58a8c1ddabc63612444ae41e5e4b321b39c0", size = 342875, upload-time = "2024-12-09T18:10:25.553Z" },- { url = "https://files.pythonhosted.org/packages/91/61/c80ef80ed8a0a21158e289ef70dac01e351d929a1c30cb0f49be60772547/jiter-0.8.2-cp313-cp313t-win_amd64.whl", hash = "sha256:3ac9f578c46f22405ff7f8b1f5848fb753cc4b8377fbec8470a7dc3997ca7566", size = 202374, upload-time = "2024-12-09T18:10:26.958Z" },+version = "0.10.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/ee/9d/ae7ddb4b8ab3fb1b51faf4deb36cb48a4fbbd7cb36bad6a5fca4741306f7/jiter-0.10.0.tar.gz", hash = "sha256:07a7142c38aacc85194391108dc91b5b57093c978a9932bd86a36862759d9500", size = 162759, upload-time = "2025-05-18T19:04:59.73Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/be/7e/4011b5c77bec97cb2b572f566220364e3e21b51c48c5bd9c4a9c26b41b67/jiter-0.10.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:cd2fb72b02478f06a900a5782de2ef47e0396b3e1f7d5aba30daeb1fce66f303", size = 317215, upload-time = "2025-05-18T19:03:04.303Z" },+ { url = "https://files.pythonhosted.org/packages/8a/4f/144c1b57c39692efc7ea7d8e247acf28e47d0912800b34d0ad815f6b2824/jiter-0.10.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:32bb468e3af278f095d3fa5b90314728a6916d89ba3d0ffb726dd9bf7367285e", size = 322814, upload-time = "2025-05-18T19:03:06.433Z" },+ { url = "https://files.pythonhosted.org/packages/63/1f/db977336d332a9406c0b1f0b82be6f71f72526a806cbb2281baf201d38e3/jiter-0.10.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aa8b3e0068c26ddedc7abc6fac37da2d0af16b921e288a5a613f4b86f050354f", size = 345237, upload-time = "2025-05-18T19:03:07.833Z" },+ { url = "https://files.pythonhosted.org/packages/d7/1c/aa30a4a775e8a672ad7f21532bdbfb269f0706b39c6ff14e1f86bdd9e5ff/jiter-0.10.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:286299b74cc49e25cd42eea19b72aa82c515d2f2ee12d11392c56d8701f52224", size = 370999, upload-time = "2025-05-18T19:03:09.338Z" },+ { url = "https://files.pythonhosted.org/packages/35/df/f8257abc4207830cb18880781b5f5b716bad5b2a22fb4330cfd357407c5b/jiter-0.10.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6ed5649ceeaeffc28d87fb012d25a4cd356dcd53eff5acff1f0466b831dda2a7", size = 491109, upload-time = "2025-05-18T19:03:11.13Z" },+ { url = "https://files.pythonhosted.org/packages/06/76/9e1516fd7b4278aa13a2cc7f159e56befbea9aa65c71586305e7afa8b0b3/jiter-0.10.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2ab0051160cb758a70716448908ef14ad476c3774bd03ddce075f3c1f90a3d6", size = 388608, upload-time = "2025-05-18T19:03:12.911Z" },+ { url = "https://files.pythonhosted.org/packages/6d/64/67750672b4354ca20ca18d3d1ccf2c62a072e8a2d452ac3cf8ced73571ef/jiter-0.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:03997d2f37f6b67d2f5c475da4412be584e1cec273c1cfc03d642c46db43f8cf", size = 352454, upload-time = "2025-05-18T19:03:14.741Z" },+ { url = "https://files.pythonhosted.org/packages/96/4d/5c4e36d48f169a54b53a305114be3efa2bbffd33b648cd1478a688f639c1/jiter-0.10.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c404a99352d839fed80d6afd6c1d66071f3bacaaa5c4268983fc10f769112e90", size = 391833, upload-time = "2025-05-18T19:03:16.426Z" },+ { url = "https://files.pythonhosted.org/packages/0b/de/ce4a6166a78810bd83763d2fa13f85f73cbd3743a325469a4a9289af6dae/jiter-0.10.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:66e989410b6666d3ddb27a74c7e50d0829704ede652fd4c858e91f8d64b403d0", size = 523646, upload-time = "2025-05-18T19:03:17.704Z" },+ { url = "https://files.pythonhosted.org/packages/a2/a6/3bc9acce53466972964cf4ad85efecb94f9244539ab6da1107f7aed82934/jiter-0.10.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b532d3af9ef4f6374609a3bcb5e05a1951d3bf6190dc6b176fdb277c9bbf15ee", size = 514735, upload-time = "2025-05-18T19:03:19.44Z" },+ { url = "https://files.pythonhosted.org/packages/b4/d8/243c2ab8426a2a4dea85ba2a2ba43df379ccece2145320dfd4799b9633c5/jiter-0.10.0-cp310-cp310-win32.whl", hash = "sha256:da9be20b333970e28b72edc4dff63d4fec3398e05770fb3205f7fb460eb48dd4", size = 210747, upload-time = "2025-05-18T19:03:21.184Z" },+ { url = "https://files.pythonhosted.org/packages/37/7a/8021bd615ef7788b98fc76ff533eaac846322c170e93cbffa01979197a45/jiter-0.10.0-cp310-cp310-win_amd64.whl", hash = "sha256:f59e533afed0c5b0ac3eba20d2548c4a550336d8282ee69eb07b37ea526ee4e5", size = 207484, upload-time = "2025-05-18T19:03:23.046Z" },+ { url = "https://files.pythonhosted.org/packages/1b/dd/6cefc6bd68b1c3c979cecfa7029ab582b57690a31cd2f346c4d0ce7951b6/jiter-0.10.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:3bebe0c558e19902c96e99217e0b8e8b17d570906e72ed8a87170bc290b1e978", size = 317473, upload-time = "2025-05-18T19:03:25.942Z" },+ { url = "https://files.pythonhosted.org/packages/be/cf/fc33f5159ce132be1d8dd57251a1ec7a631c7df4bd11e1cd198308c6ae32/jiter-0.10.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:558cc7e44fd8e507a236bee6a02fa17199ba752874400a0ca6cd6e2196cdb7dc", size = 321971, upload-time = "2025-05-18T19:03:27.255Z" },+ { url = "https://files.pythonhosted.org/packages/68/a4/da3f150cf1d51f6c472616fb7650429c7ce053e0c962b41b68557fdf6379/jiter-0.10.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4d613e4b379a07d7c8453c5712ce7014e86c6ac93d990a0b8e7377e18505e98d", size = 345574, upload-time = "2025-05-18T19:03:28.63Z" },+ { url = "https://files.pythonhosted.org/packages/84/34/6e8d412e60ff06b186040e77da5f83bc158e9735759fcae65b37d681f28b/jiter-0.10.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f62cf8ba0618eda841b9bf61797f21c5ebd15a7a1e19daab76e4e4b498d515b2", size = 371028, upload-time = "2025-05-18T19:03:30.292Z" },+ { url = "https://files.pythonhosted.org/packages/fb/d9/9ee86173aae4576c35a2f50ae930d2ccb4c4c236f6cb9353267aa1d626b7/jiter-0.10.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:919d139cdfa8ae8945112398511cb7fca58a77382617d279556b344867a37e61", size = 491083, upload-time = "2025-05-18T19:03:31.654Z" },+ { url = "https://files.pythonhosted.org/packages/d9/2c/f955de55e74771493ac9e188b0f731524c6a995dffdcb8c255b89c6fb74b/jiter-0.10.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:13ddbc6ae311175a3b03bd8994881bc4635c923754932918e18da841632349db", size = 388821, upload-time = "2025-05-18T19:03:33.184Z" },+ { url = "https://files.pythonhosted.org/packages/81/5a/0e73541b6edd3f4aada586c24e50626c7815c561a7ba337d6a7eb0a915b4/jiter-0.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4c440ea003ad10927a30521a9062ce10b5479592e8a70da27f21eeb457b4a9c5", size = 352174, upload-time = "2025-05-18T19:03:34.965Z" },+ { url = "https://files.pythonhosted.org/packages/1c/c0/61eeec33b8c75b31cae42be14d44f9e6fe3ac15a4e58010256ac3abf3638/jiter-0.10.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:dc347c87944983481e138dea467c0551080c86b9d21de6ea9306efb12ca8f606", size = 391869, upload-time = "2025-05-18T19:03:36.436Z" },+ { url = "https://files.pythonhosted.org/packages/41/22/5beb5ee4ad4ef7d86f5ea5b4509f680a20706c4a7659e74344777efb7739/jiter-0.10.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:13252b58c1f4d8c5b63ab103c03d909e8e1e7842d302473f482915d95fefd605", size = 523741, upload-time = "2025-05-18T19:03:38.168Z" },+ { url = "https://files.pythonhosted.org/packages/ea/10/768e8818538e5817c637b0df52e54366ec4cebc3346108a4457ea7a98f32/jiter-0.10.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:7d1bbf3c465de4a24ab12fb7766a0003f6f9bce48b8b6a886158c4d569452dc5", size = 514527, upload-time = "2025-05-18T19:03:39.577Z" },+ { url = "https://files.pythonhosted.org/packages/73/6d/29b7c2dc76ce93cbedabfd842fc9096d01a0550c52692dfc33d3cc889815/jiter-0.10.0-cp311-cp311-win32.whl", hash = "sha256:db16e4848b7e826edca4ccdd5b145939758dadf0dc06e7007ad0e9cfb5928ae7", size = 210765, upload-time = "2025-05-18T19:03:41.271Z" },+ { url = "https://files.pythonhosted.org/packages/c2/c9/d394706deb4c660137caf13e33d05a031d734eb99c051142e039d8ceb794/jiter-0.10.0-cp311-cp311-win_amd64.whl", hash = "sha256:9c9c1d5f10e18909e993f9641f12fe1c77b3e9b533ee94ffa970acc14ded3812", size = 209234, upload-time = "2025-05-18T19:03:42.918Z" },+ { url = "https://files.pythonhosted.org/packages/6d/b5/348b3313c58f5fbfb2194eb4d07e46a35748ba6e5b3b3046143f3040bafa/jiter-0.10.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:1e274728e4a5345a6dde2d343c8da018b9d4bd4350f5a472fa91f66fda44911b", size = 312262, upload-time = "2025-05-18T19:03:44.637Z" },+ { url = "https://files.pythonhosted.org/packages/9c/4a/6a2397096162b21645162825f058d1709a02965606e537e3304b02742e9b/jiter-0.10.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7202ae396446c988cb2a5feb33a543ab2165b786ac97f53b59aafb803fef0744", size = 320124, upload-time = "2025-05-18T19:03:46.341Z" },+ { url = "https://files.pythonhosted.org/packages/2a/85/1ce02cade7516b726dd88f59a4ee46914bf79d1676d1228ef2002ed2f1c9/jiter-0.10.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:23ba7722d6748b6920ed02a8f1726fb4b33e0fd2f3f621816a8b486c66410ab2", size = 345330, upload-time = "2025-05-18T19:03:47.596Z" },+ { url = "https://files.pythonhosted.org/packages/75/d0/bb6b4f209a77190ce10ea8d7e50bf3725fc16d3372d0a9f11985a2b23eff/jiter-0.10.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:371eab43c0a288537d30e1f0b193bc4eca90439fc08a022dd83e5e07500ed026", size = 369670, upload-time = "2025-05-18T19:03:49.334Z" },+ { url = "https://files.pythonhosted.org/packages/a0/f5/a61787da9b8847a601e6827fbc42ecb12be2c925ced3252c8ffcb56afcaf/jiter-0.10.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6c675736059020365cebc845a820214765162728b51ab1e03a1b7b3abb70f74c", size = 489057, upload-time = "2025-05-18T19:03:50.66Z" },+ { url = "https://files.pythonhosted.org/packages/12/e4/6f906272810a7b21406c760a53aadbe52e99ee070fc5c0cb191e316de30b/jiter-0.10.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0c5867d40ab716e4684858e4887489685968a47e3ba222e44cde6e4a2154f959", size = 389372, upload-time = "2025-05-18T19:03:51.98Z" },+ { url = "https://files.pythonhosted.org/packages/e2/ba/77013b0b8ba904bf3762f11e0129b8928bff7f978a81838dfcc958ad5728/jiter-0.10.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:395bb9a26111b60141757d874d27fdea01b17e8fac958b91c20128ba8f4acc8a", size = 352038, upload-time = "2025-05-18T19:03:53.703Z" },+ { url = "https://files.pythonhosted.org/packages/67/27/c62568e3ccb03368dbcc44a1ef3a423cb86778a4389e995125d3d1aaa0a4/jiter-0.10.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6842184aed5cdb07e0c7e20e5bdcfafe33515ee1741a6835353bb45fe5d1bd95", size = 391538, upload-time = "2025-05-18T19:03:55.046Z" },+ { url = "https://files.pythonhosted.org/packages/c0/72/0d6b7e31fc17a8fdce76164884edef0698ba556b8eb0af9546ae1a06b91d/jiter-0.10.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:62755d1bcea9876770d4df713d82606c8c1a3dca88ff39046b85a048566d56ea", size = 523557, upload-time = "2025-05-18T19:03:56.386Z" },+ { url = "https://files.pythonhosted.org/packages/2f/09/bc1661fbbcbeb6244bd2904ff3a06f340aa77a2b94e5a7373fd165960ea3/jiter-0.10.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:533efbce2cacec78d5ba73a41756beff8431dfa1694b6346ce7af3a12c42202b", size = 514202, upload-time = "2025-05-18T19:03:57.675Z" },+ { url = "https://files.pythonhosted.org/packages/1b/84/5a5d5400e9d4d54b8004c9673bbe4403928a00d28529ff35b19e9d176b19/jiter-0.10.0-cp312-cp312-win32.whl", hash = "sha256:8be921f0cadd245e981b964dfbcd6fd4bc4e254cdc069490416dd7a2632ecc01", size = 211781, upload-time = "2025-05-18T19:03:59.025Z" },+ { url = "https://files.pythonhosted.org/packages/9b/52/7ec47455e26f2d6e5f2ea4951a0652c06e5b995c291f723973ae9e724a65/jiter-0.10.0-cp312-cp312-win_amd64.whl", hash = "sha256:a7c7d785ae9dda68c2678532a5a1581347e9c15362ae9f6e68f3fdbfb64f2e49", size = 206176, upload-time = "2025-05-18T19:04:00.305Z" },+ { url = "https://files.pythonhosted.org/packages/2e/b0/279597e7a270e8d22623fea6c5d4eeac328e7d95c236ed51a2b884c54f70/jiter-0.10.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:e0588107ec8e11b6f5ef0e0d656fb2803ac6cf94a96b2b9fc675c0e3ab5e8644", size = 311617, upload-time = "2025-05-18T19:04:02.078Z" },+ { url = "https://files.pythonhosted.org/packages/91/e3/0916334936f356d605f54cc164af4060e3e7094364add445a3bc79335d46/jiter-0.10.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cafc4628b616dc32530c20ee53d71589816cf385dd9449633e910d596b1f5c8a", size = 318947, upload-time = "2025-05-18T19:04:03.347Z" },+ { url = "https://files.pythonhosted.org/packages/6a/8e/fd94e8c02d0e94539b7d669a7ebbd2776e51f329bb2c84d4385e8063a2ad/jiter-0.10.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:520ef6d981172693786a49ff5b09eda72a42e539f14788124a07530f785c3ad6", size = 344618, upload-time = "2025-05-18T19:04:04.709Z" },+ { url = "https://files.pythonhosted.org/packages/6f/b0/f9f0a2ec42c6e9c2e61c327824687f1e2415b767e1089c1d9135f43816bd/jiter-0.10.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:554dedfd05937f8fc45d17ebdf298fe7e0c77458232bcb73d9fbbf4c6455f5b3", size = 368829, upload-time = "2025-05-18T19:04:06.912Z" },+ { url = "https://files.pythonhosted.org/packages/e8/57/5bbcd5331910595ad53b9fd0c610392ac68692176f05ae48d6ce5c852967/jiter-0.10.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5bc299da7789deacf95f64052d97f75c16d4fc8c4c214a22bf8d859a4288a1c2", size = 491034, upload-time = "2025-05-18T19:04:08.222Z" },+ { url = "https://files.pythonhosted.org/packages/9b/be/c393df00e6e6e9e623a73551774449f2f23b6ec6a502a3297aeeece2c65a/jiter-0.10.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5161e201172de298a8a1baad95eb85db4fb90e902353b1f6a41d64ea64644e25", size = 388529, upload-time = "2025-05-18T19:04:09.566Z" },+ { url = "https://files.pythonhosted.org/packages/42/3e/df2235c54d365434c7f150b986a6e35f41ebdc2f95acea3036d99613025d/jiter-0.10.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2e2227db6ba93cb3e2bf67c87e594adde0609f146344e8207e8730364db27041", size = 350671, upload-time = "2025-05-18T19:04:10.98Z" },+ { url = "https://files.pythonhosted.org/packages/c6/77/71b0b24cbcc28f55ab4dbfe029f9a5b73aeadaba677843fc6dc9ed2b1d0a/jiter-0.10.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:15acb267ea5e2c64515574b06a8bf393fbfee6a50eb1673614aa45f4613c0cca", size = 390864, upload-time = "2025-05-18T19:04:12.722Z" },+ { url = "https://files.pythonhosted.org/packages/6a/d3/ef774b6969b9b6178e1d1e7a89a3bd37d241f3d3ec5f8deb37bbd203714a/jiter-0.10.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:901b92f2e2947dc6dfcb52fd624453862e16665ea909a08398dde19c0731b7f4", size = 522989, upload-time = "2025-05-18T19:04:14.261Z" },+ { url = "https://files.pythonhosted.org/packages/0c/41/9becdb1d8dd5d854142f45a9d71949ed7e87a8e312b0bede2de849388cb9/jiter-0.10.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:d0cb9a125d5a3ec971a094a845eadde2db0de85b33c9f13eb94a0c63d463879e", size = 513495, upload-time = "2025-05-18T19:04:15.603Z" },+ { url = "https://files.pythonhosted.org/packages/9c/36/3468e5a18238bdedae7c4d19461265b5e9b8e288d3f86cd89d00cbb48686/jiter-0.10.0-cp313-cp313-win32.whl", hash = "sha256:48a403277ad1ee208fb930bdf91745e4d2d6e47253eedc96e2559d1e6527006d", size = 211289, upload-time = "2025-05-18T19:04:17.541Z" },+ { url = "https://files.pythonhosted.org/packages/7e/07/1c96b623128bcb913706e294adb5f768fb7baf8db5e1338ce7b4ee8c78ef/jiter-0.10.0-cp313-cp313-win_amd64.whl", hash = "sha256:75f9eb72ecb640619c29bf714e78c9c46c9c4eaafd644bf78577ede459f330d4", size = 205074, upload-time = "2025-05-18T19:04:19.21Z" },+ { url = "https://files.pythonhosted.org/packages/54/46/caa2c1342655f57d8f0f2519774c6d67132205909c65e9aa8255e1d7b4f4/jiter-0.10.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:28ed2a4c05a1f32ef0e1d24c2611330219fed727dae01789f4a335617634b1ca", size = 318225, upload-time = "2025-05-18T19:04:20.583Z" },+ { url = "https://files.pythonhosted.org/packages/43/84/c7d44c75767e18946219ba2d703a5a32ab37b0bc21886a97bc6062e4da42/jiter-0.10.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:14a4c418b1ec86a195f1ca69da8b23e8926c752b685af665ce30777233dfe070", size = 350235, upload-time = "2025-05-18T19:04:22.363Z" },+ { url = "https://files.pythonhosted.org/packages/01/16/f5a0135ccd968b480daad0e6ab34b0c7c5ba3bc447e5088152696140dcb3/jiter-0.10.0-cp313-cp313t-win_amd64.whl", hash = "sha256:d7bfed2fe1fe0e4dda6ef682cee888ba444b21e7a6553e03252e4feb6cf0adca", size = 207278, upload-time = "2025-05-18T19:04:23.627Z" },+ { url = "https://files.pythonhosted.org/packages/1c/9b/1d646da42c3de6c2188fdaa15bce8ecb22b635904fc68be025e21249ba44/jiter-0.10.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:5e9251a5e83fab8d87799d3e1a46cb4b7f2919b895c6f4483629ed2446f66522", size = 310866, upload-time = "2025-05-18T19:04:24.891Z" },+ { url = "https://files.pythonhosted.org/packages/ad/0e/26538b158e8a7c7987e94e7aeb2999e2e82b1f9d2e1f6e9874ddf71ebda0/jiter-0.10.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:023aa0204126fe5b87ccbcd75c8a0d0261b9abdbbf46d55e7ae9f8e22424eeb8", size = 318772, upload-time = "2025-05-18T19:04:26.161Z" },+ { url = "https://files.pythonhosted.org/packages/7b/fb/d302893151caa1c2636d6574d213e4b34e31fd077af6050a9c5cbb42f6fb/jiter-0.10.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3c189c4f1779c05f75fc17c0c1267594ed918996a231593a21a5ca5438445216", size = 344534, upload-time = "2025-05-18T19:04:27.495Z" },+ { url = "https://files.pythonhosted.org/packages/01/d8/5780b64a149d74e347c5128d82176eb1e3241b1391ac07935693466d6219/jiter-0.10.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:15720084d90d1098ca0229352607cd68256c76991f6b374af96f36920eae13c4", size = 369087, upload-time = "2025-05-18T19:04:28.896Z" },+ { url = "https://files.pythonhosted.org/packages/e8/5b/f235a1437445160e777544f3ade57544daf96ba7e96c1a5b24a6f7ac7004/jiter-0.10.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e4f2fb68e5f1cfee30e2b2a09549a00683e0fde4c6a2ab88c94072fc33cb7426", size = 490694, upload-time = "2025-05-18T19:04:30.183Z" },+ { url = "https://files.pythonhosted.org/packages/85/a9/9c3d4617caa2ff89cf61b41e83820c27ebb3f7b5fae8a72901e8cd6ff9be/jiter-0.10.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ce541693355fc6da424c08b7edf39a2895f58d6ea17d92cc2b168d20907dee12", size = 388992, upload-time = "2025-05-18T19:04:32.028Z" },+ { url = "https://files.pythonhosted.org/packages/68/b1/344fd14049ba5c94526540af7eb661871f9c54d5f5601ff41a959b9a0bbd/jiter-0.10.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:31c50c40272e189d50006ad5c73883caabb73d4e9748a688b216e85a9a9ca3b9", size = 351723, upload-time = "2025-05-18T19:04:33.467Z" },+ { url = "https://files.pythonhosted.org/packages/41/89/4c0e345041186f82a31aee7b9d4219a910df672b9fef26f129f0cda07a29/jiter-0.10.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fa3402a2ff9815960e0372a47b75c76979d74402448509ccd49a275fa983ef8a", size = 392215, upload-time = "2025-05-18T19:04:34.827Z" },+ { url = "https://files.pythonhosted.org/packages/55/58/ee607863e18d3f895feb802154a2177d7e823a7103f000df182e0f718b38/jiter-0.10.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:1956f934dca32d7bb647ea21d06d93ca40868b505c228556d3373cbd255ce853", size = 522762, upload-time = "2025-05-18T19:04:36.19Z" },+ { url = "https://files.pythonhosted.org/packages/15/d0/9123fb41825490d16929e73c212de9a42913d68324a8ce3c8476cae7ac9d/jiter-0.10.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:fcedb049bdfc555e261d6f65a6abe1d5ad68825b7202ccb9692636c70fcced86", size = 513427, upload-time = "2025-05-18T19:04:37.544Z" },+ { url = "https://files.pythonhosted.org/packages/d8/b3/2bd02071c5a2430d0b70403a34411fc519c2f227da7b03da9ba6a956f931/jiter-0.10.0-cp314-cp314-win32.whl", hash = "sha256:ac509f7eccca54b2a29daeb516fb95b6f0bd0d0d8084efaf8ed5dfc7b9f0b357", size = 210127, upload-time = "2025-05-18T19:04:38.837Z" },+ { url = "https://files.pythonhosted.org/packages/03/0c/5fe86614ea050c3ecd728ab4035534387cd41e7c1855ef6c031f1ca93e3f/jiter-0.10.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5ed975b83a2b8639356151cef5c0d597c68376fc4922b45d0eb384ac058cfa00", size = 318527, upload-time = "2025-05-18T19:04:40.612Z" },+ { url = "https://files.pythonhosted.org/packages/b3/4a/4175a563579e884192ba6e81725fc0448b042024419be8d83aa8a80a3f44/jiter-0.10.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3aa96f2abba33dc77f79b4cf791840230375f9534e5fac927ccceb58c5e604a5", size = 354213, upload-time = "2025-05-18T19:04:41.894Z" },][[package]]@@ -1030,23 +1088,23 @@ wheels = [[[package]]name = "markdown"-version = "3.8"+version = "3.8.2"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/2f/15/222b423b0b88689c266d9eac4e61396fe2cc53464459d6a37618ac863b24/markdown-3.8.tar.gz", hash = "sha256:7df81e63f0df5c4b24b7d156eb81e4690595239b7d70937d0409f1b0de319c6f", size = 360906, upload-time = "2025-04-11T14:42:50.928Z" }+sdist = { url = "https://files.pythonhosted.org/packages/d7/c2/4ab49206c17f75cb08d6311171f2d65798988db4360c4d1485bd0eedd67c/markdown-3.8.2.tar.gz", hash = "sha256:247b9a70dd12e27f67431ce62523e675b866d254f900c4fe75ce3dda62237c45", size = 362071, upload-time = "2025-06-19T17:12:44.483Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/51/3f/afe76f8e2246ffbc867440cbcf90525264df0e658f8a5ca1f872b3f6192a/markdown-3.8-py3-none-any.whl", hash = "sha256:794a929b79c5af141ef5ab0f2f642d0f7b1872981250230e72682346f7cc90dc", size = 106210, upload-time = "2025-04-11T14:42:49.178Z" },+ { url = "https://files.pythonhosted.org/packages/96/2b/34cc11786bc00d0f04d0f5fdc3a2b1ae0b6239eef72d3d345805f9ad92a1/markdown-3.8.2-py3-none-any.whl", hash = "sha256:5c83764dbd4e00bdd94d85a19b8d55ccca20fe35b2e678a1422b380324dd5f24", size = 106827, upload-time = "2025-06-19T17:12:42.994Z" },][[package]]name = "markdown-it-py"-version = "3.0.0"+version = "4.0.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "mdurl" },]-sdist = { url = "https://files.pythonhosted.org/packages/38/71/3b932df36c1a044d397a1f92d1cf91ee0a503d91e470cbd670aa66b07ed0/markdown-it-py-3.0.0.tar.gz", hash = "sha256:e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb", size = 74596, upload-time = "2023-06-03T06:41:14.443Z" }+sdist = { url = "https://files.pythonhosted.org/packages/5b/f5/4ec618ed16cc4f8fb3b701563655a69816155e79e24a17b651541804721d/markdown_it_py-4.0.0.tar.gz", hash = "sha256:cb0a2b4aa34f932c007117b194e945bd74e0ec24133ceb5bac59009cda1cb9f3", size = 73070, upload-time = "2025-08-11T12:57:52.854Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/42/d7/1ec15b46af6af88f19b8e5ffea08fa375d433c998b8a7639e76935c14f1f/markdown_it_py-3.0.0-py3-none-any.whl", hash = "sha256:355216845c60bd96232cd8d8c40e8f9765cc86f46880e43a8fd22dc1a1a8cab1", size = 87528, upload-time = "2023-06-03T06:41:11.019Z" },+ { url = "https://files.pythonhosted.org/packages/94/54/e7d793b573f298e1c9013b8c4dade17d481164aa517d1d7148619c2cedbf/markdown_it_py-4.0.0-py3-none-any.whl", hash = "sha256:87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147", size = 87321, upload-time = "2025-08-11T12:57:51.923Z" },][[package]]@@ -1235,104 +1293,109 @@ wheels = [[[package]]name = "multidict"-version = "6.4.4"+version = "6.6.4"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "typing-extensions", marker = "python_full_version < '3.11'" },]-sdist = { url = "https://files.pythonhosted.org/packages/91/2f/a3470242707058fe856fe59241eee5635d79087100b7042a867368863a27/multidict-6.4.4.tar.gz", hash = "sha256:69ee9e6ba214b5245031b76233dd95408a0fd57fdb019ddcc1ead4790932a8e8", size = 90183, upload-time = "2025-05-19T14:16:37.381Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/1f/92/0926a5baafa164b5d0ade3cd7932be39310375d7e25c9d7ceca05cb26a45/multidict-6.4.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8adee3ac041145ffe4488ea73fa0a622b464cc25340d98be76924d0cda8545ff", size = 66052, upload-time = "2025-05-19T14:13:49.944Z" },- { url = "https://files.pythonhosted.org/packages/b2/54/8a857ae4f8f643ec444d91f419fdd49cc7a90a2ca0e42d86482b604b63bd/multidict-6.4.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b61e98c3e2a861035aaccd207da585bdcacef65fe01d7a0d07478efac005e028", size = 38867, upload-time = "2025-05-19T14:13:51.92Z" },- { url = "https://files.pythonhosted.org/packages/9e/5f/63add9069f945c19bc8b217ea6b0f8a1ad9382eab374bb44fae4354b3baf/multidict-6.4.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:75493f28dbadecdbb59130e74fe935288813301a8554dc32f0c631b6bdcdf8b0", size = 38138, upload-time = "2025-05-19T14:13:53.778Z" },- { url = "https://files.pythonhosted.org/packages/97/8b/fbd9c0fc13966efdb4a47f5bcffff67a4f2a3189fbeead5766eaa4250b20/multidict-6.4.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ffc3c6a37e048b5395ee235e4a2a0d639c2349dffa32d9367a42fc20d399772", size = 220433, upload-time = "2025-05-19T14:13:55.346Z" },- { url = "https://files.pythonhosted.org/packages/a9/c4/5132b2d75b3ea2daedb14d10f91028f09f74f5b4d373b242c1b8eec47571/multidict-6.4.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:87cb72263946b301570b0f63855569a24ee8758aaae2cd182aae7d95fbc92ca7", size = 218059, upload-time = "2025-05-19T14:13:56.993Z" },- { url = "https://files.pythonhosted.org/packages/1a/70/f1e818c7a29b908e2d7b4fafb1d7939a41c64868e79de2982eea0a13193f/multidict-6.4.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9bbf7bd39822fd07e3609b6b4467af4c404dd2b88ee314837ad1830a7f4a8299", size = 231120, upload-time = "2025-05-19T14:13:58.333Z" },- { url = "https://files.pythonhosted.org/packages/b4/7e/95a194d85f27d5ef9cbe48dff9ded722fc6d12fedf641ec6e1e680890be7/multidict-6.4.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d1f7cbd4f1f44ddf5fd86a8675b7679176eae770f2fc88115d6dddb6cefb59bc", size = 227457, upload-time = "2025-05-19T14:13:59.663Z" },- { url = "https://files.pythonhosted.org/packages/25/2b/590ad220968d1babb42f265debe7be5c5c616df6c5688c995a06d8a9b025/multidict-6.4.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bb5ac9e5bfce0e6282e7f59ff7b7b9a74aa8e5c60d38186a4637f5aa764046ad", size = 219111, upload-time = "2025-05-19T14:14:01.019Z" },- { url = "https://files.pythonhosted.org/packages/e0/f0/b07682b995d3fb5313f339b59d7de02db19ba0c02d1f77c27bdf8212d17c/multidict-6.4.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4efc31dfef8c4eeb95b6b17d799eedad88c4902daba39ce637e23a17ea078915", size = 213012, upload-time = "2025-05-19T14:14:02.396Z" },- { url = "https://files.pythonhosted.org/packages/24/56/c77b5f36feef2ec92f1119756e468ac9c3eebc35aa8a4c9e51df664cbbc9/multidict-6.4.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:9fcad2945b1b91c29ef2b4050f590bfcb68d8ac8e0995a74e659aa57e8d78e01", size = 225408, upload-time = "2025-05-19T14:14:04.826Z" },- { url = "https://files.pythonhosted.org/packages/cc/b3/e8189b82af9b198b47bc637766208fc917189eea91d674bad417e657bbdf/multidict-6.4.4-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:d877447e7368c7320832acb7159557e49b21ea10ffeb135c1077dbbc0816b598", size = 214396, upload-time = "2025-05-19T14:14:06.187Z" },- { url = "https://files.pythonhosted.org/packages/20/e0/200d14c84e35ae13ee99fd65dc106e1a1acb87a301f15e906fc7d5b30c17/multidict-6.4.4-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:33a12ebac9f380714c298cbfd3e5b9c0c4e89c75fe612ae496512ee51028915f", size = 222237, upload-time = "2025-05-19T14:14:07.778Z" },- { url = "https://files.pythonhosted.org/packages/13/f3/bb3df40045ca8262694a3245298732ff431dc781414a89a6a364ebac6840/multidict-6.4.4-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:0f14ea68d29b43a9bf37953881b1e3eb75b2739e896ba4a6aa4ad4c5b9ffa145", size = 231425, upload-time = "2025-05-19T14:14:09.516Z" },- { url = "https://files.pythonhosted.org/packages/85/3b/538563dc18514384dac169bcba938753ad9ab4d4c8d49b55d6ae49fb2579/multidict-6.4.4-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:0327ad2c747a6600e4797d115d3c38a220fdb28e54983abe8964fd17e95ae83c", size = 226251, upload-time = "2025-05-19T14:14:10.82Z" },- { url = "https://files.pythonhosted.org/packages/56/79/77e1a65513f09142358f1beb1d4cbc06898590b34a7de2e47023e3c5a3a2/multidict-6.4.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:d1a20707492db9719a05fc62ee215fd2c29b22b47c1b1ba347f9abc831e26683", size = 220363, upload-time = "2025-05-19T14:14:12.638Z" },- { url = "https://files.pythonhosted.org/packages/16/57/67b0516c3e348f8daaa79c369b3de4359a19918320ab82e2e586a1c624ef/multidict-6.4.4-cp310-cp310-win32.whl", hash = "sha256:d83f18315b9fca5db2452d1881ef20f79593c4aa824095b62cb280019ef7aa3d", size = 35175, upload-time = "2025-05-19T14:14:14.805Z" },- { url = "https://files.pythonhosted.org/packages/86/5a/4ed8fec642d113fa653777cda30ef67aa5c8a38303c091e24c521278a6c6/multidict-6.4.4-cp310-cp310-win_amd64.whl", hash = "sha256:9c17341ee04545fd962ae07330cb5a39977294c883485c8d74634669b1f7fe04", size = 38678, upload-time = "2025-05-19T14:14:16.949Z" },- { url = "https://files.pythonhosted.org/packages/19/1b/4c6e638195851524a63972c5773c7737bea7e47b1ba402186a37773acee2/multidict-6.4.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:4f5f29794ac0e73d2a06ac03fd18870adc0135a9d384f4a306a951188ed02f95", size = 65515, upload-time = "2025-05-19T14:14:19.767Z" },- { url = "https://files.pythonhosted.org/packages/25/d5/10e6bca9a44b8af3c7f920743e5fc0c2bcf8c11bf7a295d4cfe00b08fb46/multidict-6.4.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c04157266344158ebd57b7120d9b0b35812285d26d0e78193e17ef57bfe2979a", size = 38609, upload-time = "2025-05-19T14:14:21.538Z" },- { url = "https://files.pythonhosted.org/packages/26/b4/91fead447ccff56247edc7f0535fbf140733ae25187a33621771ee598a18/multidict-6.4.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:bb61ffd3ab8310d93427e460f565322c44ef12769f51f77277b4abad7b6f7223", size = 37871, upload-time = "2025-05-19T14:14:22.666Z" },- { url = "https://files.pythonhosted.org/packages/3b/37/cbc977cae59277e99d15bbda84cc53b5e0c4929ffd91d958347200a42ad0/multidict-6.4.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5e0ba18a9afd495f17c351d08ebbc4284e9c9f7971d715f196b79636a4d0de44", size = 226661, upload-time = "2025-05-19T14:14:24.124Z" },- { url = "https://files.pythonhosted.org/packages/15/cd/7e0b57fbd4dc2fc105169c4ecce5be1a63970f23bb4ec8c721b67e11953d/multidict-6.4.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:9faf1b1dcaadf9f900d23a0e6d6c8eadd6a95795a0e57fcca73acce0eb912065", size = 223422, upload-time = "2025-05-19T14:14:25.437Z" },- { url = "https://files.pythonhosted.org/packages/f1/01/1de268da121bac9f93242e30cd3286f6a819e5f0b8896511162d6ed4bf8d/multidict-6.4.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a4d1cb1327c6082c4fce4e2a438483390964c02213bc6b8d782cf782c9b1471f", size = 235447, upload-time = "2025-05-19T14:14:26.793Z" },- { url = "https://files.pythonhosted.org/packages/d2/8c/8b9a5e4aaaf4f2de14e86181a3a3d7b105077f668b6a06f043ec794f684c/multidict-6.4.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:941f1bec2f5dbd51feeb40aea654c2747f811ab01bdd3422a48a4e4576b7d76a", size = 231455, upload-time = "2025-05-19T14:14:28.149Z" },- { url = "https://files.pythonhosted.org/packages/35/db/e1817dcbaa10b319c412769cf999b1016890849245d38905b73e9c286862/multidict-6.4.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e5f8a146184da7ea12910a4cec51ef85e44f6268467fb489c3caf0cd512f29c2", size = 223666, upload-time = "2025-05-19T14:14:29.584Z" },- { url = "https://files.pythonhosted.org/packages/4a/e1/66e8579290ade8a00e0126b3d9a93029033ffd84f0e697d457ed1814d0fc/multidict-6.4.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:232b7237e57ec3c09be97206bfb83a0aa1c5d7d377faa019c68a210fa35831f1", size = 217392, upload-time = "2025-05-19T14:14:30.961Z" },- { url = "https://files.pythonhosted.org/packages/7b/6f/f8639326069c24a48c7747c2a5485d37847e142a3f741ff3340c88060a9a/multidict-6.4.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:55ae0721c1513e5e3210bca4fc98456b980b0c2c016679d3d723119b6b202c42", size = 228969, upload-time = "2025-05-19T14:14:32.672Z" },- { url = "https://files.pythonhosted.org/packages/d2/c3/3d58182f76b960eeade51c89fcdce450f93379340457a328e132e2f8f9ed/multidict-6.4.4-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:51d662c072579f63137919d7bb8fc250655ce79f00c82ecf11cab678f335062e", size = 217433, upload-time = "2025-05-19T14:14:34.016Z" },- { url = "https://files.pythonhosted.org/packages/e1/4b/f31a562906f3bd375f3d0e83ce314e4a660c01b16c2923e8229b53fba5d7/multidict-6.4.4-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:0e05c39962baa0bb19a6b210e9b1422c35c093b651d64246b6c2e1a7e242d9fd", size = 225418, upload-time = "2025-05-19T14:14:35.376Z" },- { url = "https://files.pythonhosted.org/packages/99/89/78bb95c89c496d64b5798434a3deee21996114d4d2c28dd65850bf3a691e/multidict-6.4.4-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:d5b1cc3ab8c31d9ebf0faa6e3540fb91257590da330ffe6d2393d4208e638925", size = 235042, upload-time = "2025-05-19T14:14:36.723Z" },- { url = "https://files.pythonhosted.org/packages/74/91/8780a6e5885a8770442a8f80db86a0887c4becca0e5a2282ba2cae702bc4/multidict-6.4.4-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:93ec84488a384cd7b8a29c2c7f467137d8a73f6fe38bb810ecf29d1ade011a7c", size = 230280, upload-time = "2025-05-19T14:14:38.194Z" },- { url = "https://files.pythonhosted.org/packages/68/c1/fcf69cabd542eb6f4b892469e033567ee6991d361d77abdc55e3a0f48349/multidict-6.4.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b308402608493638763abc95f9dc0030bbd6ac6aff784512e8ac3da73a88af08", size = 223322, upload-time = "2025-05-19T14:14:40.015Z" },- { url = "https://files.pythonhosted.org/packages/b8/85/5b80bf4b83d8141bd763e1d99142a9cdfd0db83f0739b4797172a4508014/multidict-6.4.4-cp311-cp311-win32.whl", hash = "sha256:343892a27d1a04d6ae455ecece12904d242d299ada01633d94c4f431d68a8c49", size = 35070, upload-time = "2025-05-19T14:14:41.904Z" },- { url = "https://files.pythonhosted.org/packages/09/66/0bed198ffd590ab86e001f7fa46b740d58cf8ff98c2f254e4a36bf8861ad/multidict-6.4.4-cp311-cp311-win_amd64.whl", hash = "sha256:73484a94f55359780c0f458bbd3c39cb9cf9c182552177d2136e828269dee529", size = 38667, upload-time = "2025-05-19T14:14:43.534Z" },- { url = "https://files.pythonhosted.org/packages/d2/b5/5675377da23d60875fe7dae6be841787755878e315e2f517235f22f59e18/multidict-6.4.4-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:dc388f75a1c00000824bf28b7633e40854f4127ede80512b44c3cfeeea1839a2", size = 64293, upload-time = "2025-05-19T14:14:44.724Z" },- { url = "https://files.pythonhosted.org/packages/34/a7/be384a482754bb8c95d2bbe91717bf7ccce6dc38c18569997a11f95aa554/multidict-6.4.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:98af87593a666f739d9dba5d0ae86e01b0e1a9cfcd2e30d2d361fbbbd1a9162d", size = 38096, upload-time = "2025-05-19T14:14:45.95Z" },- { url = "https://files.pythonhosted.org/packages/66/6d/d59854bb4352306145bdfd1704d210731c1bb2c890bfee31fb7bbc1c4c7f/multidict-6.4.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:aff4cafea2d120327d55eadd6b7f1136a8e5a0ecf6fb3b6863e8aca32cd8e50a", size = 37214, upload-time = "2025-05-19T14:14:47.158Z" },- { url = "https://files.pythonhosted.org/packages/99/e0/c29d9d462d7cfc5fc8f9bf24f9c6843b40e953c0b55e04eba2ad2cf54fba/multidict-6.4.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:169c4ba7858176b797fe551d6e99040c531c775d2d57b31bcf4de6d7a669847f", size = 224686, upload-time = "2025-05-19T14:14:48.366Z" },- { url = "https://files.pythonhosted.org/packages/dc/4a/da99398d7fd8210d9de068f9a1b5f96dfaf67d51e3f2521f17cba4ee1012/multidict-6.4.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b9eb4c59c54421a32b3273d4239865cb14ead53a606db066d7130ac80cc8ec93", size = 231061, upload-time = "2025-05-19T14:14:49.952Z" },- { url = "https://files.pythonhosted.org/packages/21/f5/ac11add39a0f447ac89353e6ca46666847051103649831c08a2800a14455/multidict-6.4.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7cf3bd54c56aa16fdb40028d545eaa8d051402b61533c21e84046e05513d5780", size = 232412, upload-time = "2025-05-19T14:14:51.812Z" },- { url = "https://files.pythonhosted.org/packages/d9/11/4b551e2110cded705a3c13a1d4b6a11f73891eb5a1c449f1b2b6259e58a6/multidict-6.4.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f682c42003c7264134bfe886376299db4cc0c6cd06a3295b41b347044bcb5482", size = 231563, upload-time = "2025-05-19T14:14:53.262Z" },- { url = "https://files.pythonhosted.org/packages/4c/02/751530c19e78fe73b24c3da66618eda0aa0d7f6e7aa512e46483de6be210/multidict-6.4.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a920f9cf2abdf6e493c519492d892c362007f113c94da4c239ae88429835bad1", size = 223811, upload-time = "2025-05-19T14:14:55.232Z" },- { url = "https://files.pythonhosted.org/packages/c7/cb/2be8a214643056289e51ca356026c7b2ce7225373e7a1f8c8715efee8988/multidict-6.4.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:530d86827a2df6504526106b4c104ba19044594f8722d3e87714e847c74a0275", size = 216524, upload-time = "2025-05-19T14:14:57.226Z" },- { url = "https://files.pythonhosted.org/packages/19/f3/6d5011ec375c09081f5250af58de85f172bfcaafebff286d8089243c4bd4/multidict-6.4.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ecde56ea2439b96ed8a8d826b50c57364612ddac0438c39e473fafad7ae1c23b", size = 229012, upload-time = "2025-05-19T14:14:58.597Z" },- { url = "https://files.pythonhosted.org/packages/67/9c/ca510785df5cf0eaf5b2a8132d7d04c1ce058dcf2c16233e596ce37a7f8e/multidict-6.4.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:dc8c9736d8574b560634775ac0def6bdc1661fc63fa27ffdfc7264c565bcb4f2", size = 226765, upload-time = "2025-05-19T14:15:00.048Z" },- { url = "https://files.pythonhosted.org/packages/36/c8/ca86019994e92a0f11e642bda31265854e6ea7b235642f0477e8c2e25c1f/multidict-6.4.4-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:7f3d3b3c34867579ea47cbd6c1f2ce23fbfd20a273b6f9e3177e256584f1eacc", size = 222888, upload-time = "2025-05-19T14:15:01.568Z" },- { url = "https://files.pythonhosted.org/packages/c6/67/bc25a8e8bd522935379066950ec4e2277f9b236162a73548a2576d4b9587/multidict-6.4.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:87a728af265e08f96b6318ebe3c0f68b9335131f461efab2fc64cc84a44aa6ed", size = 234041, upload-time = "2025-05-19T14:15:03.759Z" },- { url = "https://files.pythonhosted.org/packages/f1/a0/70c4c2d12857fccbe607b334b7ee28b6b5326c322ca8f73ee54e70d76484/multidict-6.4.4-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:9f193eeda1857f8e8d3079a4abd258f42ef4a4bc87388452ed1e1c4d2b0c8740", size = 231046, upload-time = "2025-05-19T14:15:05.698Z" },- { url = "https://files.pythonhosted.org/packages/c1/0f/52954601d02d39742aab01d6b92f53c1dd38b2392248154c50797b4df7f1/multidict-6.4.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:be06e73c06415199200e9a2324a11252a3d62030319919cde5e6950ffeccf72e", size = 227106, upload-time = "2025-05-19T14:15:07.124Z" },- { url = "https://files.pythonhosted.org/packages/af/24/679d83ec4379402d28721790dce818e5d6b9f94ce1323a556fb17fa9996c/multidict-6.4.4-cp312-cp312-win32.whl", hash = "sha256:622f26ea6a7e19b7c48dd9228071f571b2fbbd57a8cd71c061e848f281550e6b", size = 35351, upload-time = "2025-05-19T14:15:08.556Z" },- { url = "https://files.pythonhosted.org/packages/52/ef/40d98bc5f986f61565f9b345f102409534e29da86a6454eb6b7c00225a13/multidict-6.4.4-cp312-cp312-win_amd64.whl", hash = "sha256:5e2bcda30d5009996ff439e02a9f2b5c3d64a20151d34898c000a6281faa3781", size = 38791, upload-time = "2025-05-19T14:15:09.825Z" },- { url = "https://files.pythonhosted.org/packages/df/2a/e166d2ffbf4b10131b2d5b0e458f7cee7d986661caceae0de8753042d4b2/multidict-6.4.4-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:82ffabefc8d84c2742ad19c37f02cde5ec2a1ee172d19944d380f920a340e4b9", size = 64123, upload-time = "2025-05-19T14:15:11.044Z" },- { url = "https://files.pythonhosted.org/packages/8c/96/e200e379ae5b6f95cbae472e0199ea98913f03d8c9a709f42612a432932c/multidict-6.4.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6a2f58a66fe2c22615ad26156354005391e26a2f3721c3621504cd87c1ea87bf", size = 38049, upload-time = "2025-05-19T14:15:12.902Z" },- { url = "https://files.pythonhosted.org/packages/75/fb/47afd17b83f6a8c7fa863c6d23ac5ba6a0e6145ed8a6bcc8da20b2b2c1d2/multidict-6.4.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:5883d6ee0fd9d8a48e9174df47540b7545909841ac82354c7ae4cbe9952603bd", size = 37078, upload-time = "2025-05-19T14:15:14.282Z" },- { url = "https://files.pythonhosted.org/packages/fa/70/1af3143000eddfb19fd5ca5e78393985ed988ac493bb859800fe0914041f/multidict-6.4.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9abcf56a9511653fa1d052bfc55fbe53dbee8f34e68bd6a5a038731b0ca42d15", size = 224097, upload-time = "2025-05-19T14:15:15.566Z" },- { url = "https://files.pythonhosted.org/packages/b1/39/d570c62b53d4fba844e0378ffbcd02ac25ca423d3235047013ba2f6f60f8/multidict-6.4.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6ed5ae5605d4ad5a049fad2a28bb7193400700ce2f4ae484ab702d1e3749c3f9", size = 230768, upload-time = "2025-05-19T14:15:17.308Z" },- { url = "https://files.pythonhosted.org/packages/fd/f8/ed88f2c4d06f752b015933055eb291d9bc184936903752c66f68fb3c95a7/multidict-6.4.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bbfcb60396f9bcfa63e017a180c3105b8c123a63e9d1428a36544e7d37ca9e20", size = 231331, upload-time = "2025-05-19T14:15:18.73Z" },- { url = "https://files.pythonhosted.org/packages/9c/6f/8e07cffa32f483ab887b0d56bbd8747ac2c1acd00dc0af6fcf265f4a121e/multidict-6.4.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b0f1987787f5f1e2076b59692352ab29a955b09ccc433c1f6b8e8e18666f608b", size = 230169, upload-time = "2025-05-19T14:15:20.179Z" },- { url = "https://files.pythonhosted.org/packages/e6/2b/5dcf173be15e42f330110875a2668ddfc208afc4229097312212dc9c1236/multidict-6.4.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1d0121ccce8c812047d8d43d691a1ad7641f72c4f730474878a5aeae1b8ead8c", size = 222947, upload-time = "2025-05-19T14:15:21.714Z" },- { url = "https://files.pythonhosted.org/packages/39/75/4ddcbcebe5ebcd6faa770b629260d15840a5fc07ce8ad295a32e14993726/multidict-6.4.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:83ec4967114295b8afd120a8eec579920c882831a3e4c3331d591a8e5bfbbc0f", size = 215761, upload-time = "2025-05-19T14:15:23.242Z" },- { url = "https://files.pythonhosted.org/packages/6a/c9/55e998ae45ff15c5608e384206aa71a11e1b7f48b64d166db400b14a3433/multidict-6.4.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:995f985e2e268deaf17867801b859a282e0448633f1310e3704b30616d269d69", size = 227605, upload-time = "2025-05-19T14:15:24.763Z" },- { url = "https://files.pythonhosted.org/packages/04/49/c2404eac74497503c77071bd2e6f88c7e94092b8a07601536b8dbe99be50/multidict-6.4.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:d832c608f94b9f92a0ec8b7e949be7792a642b6e535fcf32f3e28fab69eeb046", size = 226144, upload-time = "2025-05-19T14:15:26.249Z" },- { url = "https://files.pythonhosted.org/packages/62/c5/0cd0c3c6f18864c40846aa2252cd69d308699cb163e1c0d989ca301684da/multidict-6.4.4-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:d21c1212171cf7da703c5b0b7a0e85be23b720818aef502ad187d627316d5645", size = 221100, upload-time = "2025-05-19T14:15:28.303Z" },- { url = "https://files.pythonhosted.org/packages/71/7b/f2f3887bea71739a046d601ef10e689528d4f911d84da873b6be9194ffea/multidict-6.4.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:cbebaa076aaecad3d4bb4c008ecc73b09274c952cf6a1b78ccfd689e51f5a5b0", size = 232731, upload-time = "2025-05-19T14:15:30.263Z" },- { url = "https://files.pythonhosted.org/packages/e5/b3/d9de808349df97fa75ec1372758701b5800ebad3c46ae377ad63058fbcc6/multidict-6.4.4-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:c93a6fb06cc8e5d3628b2b5fda215a5db01e8f08fc15fadd65662d9b857acbe4", size = 229637, upload-time = "2025-05-19T14:15:33.337Z" },- { url = "https://files.pythonhosted.org/packages/5e/57/13207c16b615eb4f1745b44806a96026ef8e1b694008a58226c2d8f5f0a5/multidict-6.4.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8cd8f81f1310182362fb0c7898145ea9c9b08a71081c5963b40ee3e3cac589b1", size = 225594, upload-time = "2025-05-19T14:15:34.832Z" },- { url = "https://files.pythonhosted.org/packages/3a/e4/d23bec2f70221604f5565000632c305fc8f25ba953e8ce2d8a18842b9841/multidict-6.4.4-cp313-cp313-win32.whl", hash = "sha256:3e9f1cd61a0ab857154205fb0b1f3d3ace88d27ebd1409ab7af5096e409614cd", size = 35359, upload-time = "2025-05-19T14:15:36.246Z" },- { url = "https://files.pythonhosted.org/packages/a7/7a/cfe1a47632be861b627f46f642c1d031704cc1c0f5c0efbde2ad44aa34bd/multidict-6.4.4-cp313-cp313-win_amd64.whl", hash = "sha256:8ffb40b74400e4455785c2fa37eba434269149ec525fc8329858c862e4b35373", size = 38903, upload-time = "2025-05-19T14:15:37.507Z" },- { url = "https://files.pythonhosted.org/packages/68/7b/15c259b0ab49938a0a1c8f3188572802704a779ddb294edc1b2a72252e7c/multidict-6.4.4-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:6a602151dbf177be2450ef38966f4be3467d41a86c6a845070d12e17c858a156", size = 68895, upload-time = "2025-05-19T14:15:38.856Z" },- { url = "https://files.pythonhosted.org/packages/f1/7d/168b5b822bccd88142e0a3ce985858fea612404edd228698f5af691020c9/multidict-6.4.4-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0d2b9712211b860d123815a80b859075d86a4d54787e247d7fbee9db6832cf1c", size = 40183, upload-time = "2025-05-19T14:15:40.197Z" },- { url = "https://files.pythonhosted.org/packages/e0/b7/d4b8d98eb850ef28a4922ba508c31d90715fd9b9da3801a30cea2967130b/multidict-6.4.4-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:d2fa86af59f8fc1972e121ade052145f6da22758f6996a197d69bb52f8204e7e", size = 39592, upload-time = "2025-05-19T14:15:41.508Z" },- { url = "https://files.pythonhosted.org/packages/18/28/a554678898a19583548e742080cf55d169733baf57efc48c2f0273a08583/multidict-6.4.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50855d03e9e4d66eab6947ba688ffb714616f985838077bc4b490e769e48da51", size = 226071, upload-time = "2025-05-19T14:15:42.877Z" },- { url = "https://files.pythonhosted.org/packages/ee/dc/7ba6c789d05c310e294f85329efac1bf5b450338d2542498db1491a264df/multidict-6.4.4-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:5bce06b83be23225be1905dcdb6b789064fae92499fbc458f59a8c0e68718601", size = 222597, upload-time = "2025-05-19T14:15:44.412Z" },- { url = "https://files.pythonhosted.org/packages/24/4f/34eadbbf401b03768dba439be0fb94b0d187facae9142821a3d5599ccb3b/multidict-6.4.4-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:66ed0731f8e5dfd8369a883b6e564aca085fb9289aacabd9decd70568b9a30de", size = 228253, upload-time = "2025-05-19T14:15:46.474Z" },- { url = "https://files.pythonhosted.org/packages/c0/e6/493225a3cdb0d8d80d43a94503fc313536a07dae54a3f030d279e629a2bc/multidict-6.4.4-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:329ae97fc2f56f44d91bc47fe0972b1f52d21c4b7a2ac97040da02577e2daca2", size = 226146, upload-time = "2025-05-19T14:15:48.003Z" },- { url = "https://files.pythonhosted.org/packages/2f/70/e411a7254dc3bff6f7e6e004303b1b0591358e9f0b7c08639941e0de8bd6/multidict-6.4.4-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c27e5dcf520923d6474d98b96749e6805f7677e93aaaf62656005b8643f907ab", size = 220585, upload-time = "2025-05-19T14:15:49.546Z" },- { url = "https://files.pythonhosted.org/packages/08/8f/beb3ae7406a619100d2b1fb0022c3bb55a8225ab53c5663648ba50dfcd56/multidict-6.4.4-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:058cc59b9e9b143cc56715e59e22941a5d868c322242278d28123a5d09cdf6b0", size = 212080, upload-time = "2025-05-19T14:15:51.151Z" },- { url = "https://files.pythonhosted.org/packages/9c/ec/355124e9d3d01cf8edb072fd14947220f357e1c5bc79c88dff89297e9342/multidict-6.4.4-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:69133376bc9a03f8c47343d33f91f74a99c339e8b58cea90433d8e24bb298031", size = 226558, upload-time = "2025-05-19T14:15:52.665Z" },- { url = "https://files.pythonhosted.org/packages/fd/22/d2b95cbebbc2ada3be3812ea9287dcc9712d7f1a012fad041770afddb2ad/multidict-6.4.4-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:d6b15c55721b1b115c5ba178c77104123745b1417527ad9641a4c5e2047450f0", size = 212168, upload-time = "2025-05-19T14:15:55.279Z" },- { url = "https://files.pythonhosted.org/packages/4d/c5/62bfc0b2f9ce88326dbe7179f9824a939c6c7775b23b95de777267b9725c/multidict-6.4.4-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:a887b77f51d3d41e6e1a63cf3bc7ddf24de5939d9ff69441387dfefa58ac2e26", size = 217970, upload-time = "2025-05-19T14:15:56.806Z" },- { url = "https://files.pythonhosted.org/packages/79/74/977cea1aadc43ff1c75d23bd5bc4768a8fac98c14e5878d6ee8d6bab743c/multidict-6.4.4-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:632a3bf8f1787f7ef7d3c2f68a7bde5be2f702906f8b5842ad6da9d974d0aab3", size = 226980, upload-time = "2025-05-19T14:15:58.313Z" },- { url = "https://files.pythonhosted.org/packages/48/fc/cc4a1a2049df2eb84006607dc428ff237af38e0fcecfdb8a29ca47b1566c/multidict-6.4.4-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:a145c550900deb7540973c5cdb183b0d24bed6b80bf7bddf33ed8f569082535e", size = 220641, upload-time = "2025-05-19T14:15:59.866Z" },- { url = "https://files.pythonhosted.org/packages/3b/6a/a7444d113ab918701988d4abdde373dbdfd2def7bd647207e2bf645c7eac/multidict-6.4.4-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:cc5d83c6619ca5c9672cb78b39ed8542f1975a803dee2cda114ff73cbb076edd", size = 221728, upload-time = "2025-05-19T14:16:01.535Z" },- { url = "https://files.pythonhosted.org/packages/2b/b0/fdf4c73ad1c55e0f4dbbf2aa59dd37037334091f9a4961646d2b7ac91a86/multidict-6.4.4-cp313-cp313t-win32.whl", hash = "sha256:3312f63261b9df49be9d57aaa6abf53a6ad96d93b24f9cc16cf979956355ce6e", size = 41913, upload-time = "2025-05-19T14:16:03.199Z" },- { url = "https://files.pythonhosted.org/packages/8e/92/27989ecca97e542c0d01d05a98a5ae12198a243a9ee12563a0313291511f/multidict-6.4.4-cp313-cp313t-win_amd64.whl", hash = "sha256:ba852168d814b2c73333073e1c7116d9395bea69575a01b0b3c89d2d5a87c8fb", size = 46112, upload-time = "2025-05-19T14:16:04.909Z" },- { url = "https://files.pythonhosted.org/packages/84/5d/e17845bb0fa76334477d5de38654d27946d5b5d3695443987a094a71b440/multidict-6.4.4-py3-none-any.whl", hash = "sha256:bd4557071b561a8b3b6075c3ce93cf9bfb6182cb241805c3d66ced3b75eff4ac", size = 10481, upload-time = "2025-05-19T14:16:36.024Z" },+sdist = { url = "https://files.pythonhosted.org/packages/69/7f/0652e6ed47ab288e3756ea9c0df8b14950781184d4bd7883f4d87dd41245/multidict-6.6.4.tar.gz", hash = "sha256:d2d4e4787672911b48350df02ed3fa3fffdc2f2e8ca06dd6afdf34189b76a9dd", size = 101843, upload-time = "2025-08-11T12:08:48.217Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/eb/6b/86f353088c1358e76fd30b0146947fddecee812703b604ee901e85cd2a80/multidict-6.6.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:b8aa6f0bd8125ddd04a6593437bad6a7e70f300ff4180a531654aa2ab3f6d58f", size = 77054, upload-time = "2025-08-11T12:06:02.99Z" },+ { url = "https://files.pythonhosted.org/packages/19/5d/c01dc3d3788bb877bd7f5753ea6eb23c1beeca8044902a8f5bfb54430f63/multidict-6.6.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b9e5853bbd7264baca42ffc53391b490d65fe62849bf2c690fa3f6273dbcd0cb", size = 44914, upload-time = "2025-08-11T12:06:05.264Z" },+ { url = "https://files.pythonhosted.org/packages/46/44/964dae19ea42f7d3e166474d8205f14bb811020e28bc423d46123ddda763/multidict-6.6.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0af5f9dee472371e36d6ae38bde009bd8ce65ac7335f55dcc240379d7bed1495", size = 44601, upload-time = "2025-08-11T12:06:06.627Z" },+ { url = "https://files.pythonhosted.org/packages/31/20/0616348a1dfb36cb2ab33fc9521de1f27235a397bf3f59338e583afadd17/multidict-6.6.4-cp310-cp310-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:d24f351e4d759f5054b641c81e8291e5d122af0fca5c72454ff77f7cbe492de8", size = 224821, upload-time = "2025-08-11T12:06:08.06Z" },+ { url = "https://files.pythonhosted.org/packages/14/26/5d8923c69c110ff51861af05bd27ca6783011b96725d59ccae6d9daeb627/multidict-6.6.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:db6a3810eec08280a172a6cd541ff4a5f6a97b161d93ec94e6c4018917deb6b7", size = 242608, upload-time = "2025-08-11T12:06:09.697Z" },+ { url = "https://files.pythonhosted.org/packages/5c/cc/e2ad3ba9459aa34fa65cf1f82a5c4a820a2ce615aacfb5143b8817f76504/multidict-6.6.4-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a1b20a9d56b2d81e2ff52ecc0670d583eaabaa55f402e8d16dd062373dbbe796", size = 222324, upload-time = "2025-08-11T12:06:10.905Z" },+ { url = "https://files.pythonhosted.org/packages/19/db/4ed0f65701afbc2cb0c140d2d02928bb0fe38dd044af76e58ad7c54fd21f/multidict-6.6.4-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8c9854df0eaa610a23494c32a6f44a3a550fb398b6b51a56e8c6b9b3689578db", size = 253234, upload-time = "2025-08-11T12:06:12.658Z" },+ { url = "https://files.pythonhosted.org/packages/94/c1/5160c9813269e39ae14b73debb907bfaaa1beee1762da8c4fb95df4764ed/multidict-6.6.4-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4bb7627fd7a968f41905a4d6343b0d63244a0623f006e9ed989fa2b78f4438a0", size = 251613, upload-time = "2025-08-11T12:06:13.97Z" },+ { url = "https://files.pythonhosted.org/packages/05/a9/48d1bd111fc2f8fb98b2ed7f9a115c55a9355358432a19f53c0b74d8425d/multidict-6.6.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:caebafea30ed049c57c673d0b36238b1748683be2593965614d7b0e99125c877", size = 241649, upload-time = "2025-08-11T12:06:15.204Z" },+ { url = "https://files.pythonhosted.org/packages/85/2a/f7d743df0019408768af8a70d2037546a2be7b81fbb65f040d76caafd4c5/multidict-6.6.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:ad887a8250eb47d3ab083d2f98db7f48098d13d42eb7a3b67d8a5c795f224ace", size = 239238, upload-time = "2025-08-11T12:06:16.467Z" },+ { url = "https://files.pythonhosted.org/packages/cb/b8/4f4bb13323c2d647323f7919201493cf48ebe7ded971717bfb0f1a79b6bf/multidict-6.6.4-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:ed8358ae7d94ffb7c397cecb62cbac9578a83ecefc1eba27b9090ee910e2efb6", size = 233517, upload-time = "2025-08-11T12:06:18.107Z" },+ { url = "https://files.pythonhosted.org/packages/33/29/4293c26029ebfbba4f574febd2ed01b6f619cfa0d2e344217d53eef34192/multidict-6.6.4-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:ecab51ad2462197a4c000b6d5701fc8585b80eecb90583635d7e327b7b6923eb", size = 243122, upload-time = "2025-08-11T12:06:19.361Z" },+ { url = "https://files.pythonhosted.org/packages/20/60/a1c53628168aa22447bfde3a8730096ac28086704a0d8c590f3b63388d0c/multidict-6.6.4-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:c5c97aa666cf70e667dfa5af945424ba1329af5dd988a437efeb3a09430389fb", size = 248992, upload-time = "2025-08-11T12:06:20.661Z" },+ { url = "https://files.pythonhosted.org/packages/a3/3b/55443a0c372f33cae5d9ec37a6a973802884fa0ab3586659b197cf8cc5e9/multidict-6.6.4-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:9a950b7cf54099c1209f455ac5970b1ea81410f2af60ed9eb3c3f14f0bfcf987", size = 243708, upload-time = "2025-08-11T12:06:21.891Z" },+ { url = "https://files.pythonhosted.org/packages/7c/60/a18c6900086769312560b2626b18e8cca22d9e85b1186ba77f4755b11266/multidict-6.6.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:163c7ea522ea9365a8a57832dea7618e6cbdc3cd75f8c627663587459a4e328f", size = 237498, upload-time = "2025-08-11T12:06:23.206Z" },+ { url = "https://files.pythonhosted.org/packages/11/3d/8bdd8bcaff2951ce2affccca107a404925a2beafedd5aef0b5e4a71120a6/multidict-6.6.4-cp310-cp310-win32.whl", hash = "sha256:17d2cbbfa6ff20821396b25890f155f40c986f9cfbce5667759696d83504954f", size = 41415, upload-time = "2025-08-11T12:06:24.77Z" },+ { url = "https://files.pythonhosted.org/packages/c0/53/cab1ad80356a4cd1b685a254b680167059b433b573e53872fab245e9fc95/multidict-6.6.4-cp310-cp310-win_amd64.whl", hash = "sha256:ce9a40fbe52e57e7edf20113a4eaddfacac0561a0879734e636aa6d4bb5e3fb0", size = 46046, upload-time = "2025-08-11T12:06:25.893Z" },+ { url = "https://files.pythonhosted.org/packages/cf/9a/874212b6f5c1c2d870d0a7adc5bb4cfe9b0624fa15cdf5cf757c0f5087ae/multidict-6.6.4-cp310-cp310-win_arm64.whl", hash = "sha256:01d0959807a451fe9fdd4da3e139cb5b77f7328baf2140feeaf233e1d777b729", size = 43147, upload-time = "2025-08-11T12:06:27.534Z" },+ { url = "https://files.pythonhosted.org/packages/6b/7f/90a7f01e2d005d6653c689039977f6856718c75c5579445effb7e60923d1/multidict-6.6.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:c7a0e9b561e6460484318a7612e725df1145d46b0ef57c6b9866441bf6e27e0c", size = 76472, upload-time = "2025-08-11T12:06:29.006Z" },+ { url = "https://files.pythonhosted.org/packages/54/a3/bed07bc9e2bb302ce752f1dabc69e884cd6a676da44fb0e501b246031fdd/multidict-6.6.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6bf2f10f70acc7a2446965ffbc726e5fc0b272c97a90b485857e5c70022213eb", size = 44634, upload-time = "2025-08-11T12:06:30.374Z" },+ { url = "https://files.pythonhosted.org/packages/a7/4b/ceeb4f8f33cf81277da464307afeaf164fb0297947642585884f5cad4f28/multidict-6.6.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:66247d72ed62d5dd29752ffc1d3b88f135c6a8de8b5f63b7c14e973ef5bda19e", size = 44282, upload-time = "2025-08-11T12:06:31.958Z" },+ { url = "https://files.pythonhosted.org/packages/03/35/436a5da8702b06866189b69f655ffdb8f70796252a8772a77815f1812679/multidict-6.6.4-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:105245cc6b76f51e408451a844a54e6823bbd5a490ebfe5bdfc79798511ceded", size = 229696, upload-time = "2025-08-11T12:06:33.087Z" },+ { url = "https://files.pythonhosted.org/packages/b6/0e/915160be8fecf1fca35f790c08fb74ca684d752fcba62c11daaf3d92c216/multidict-6.6.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cbbc54e58b34c3bae389ef00046be0961f30fef7cb0dd9c7756aee376a4f7683", size = 246665, upload-time = "2025-08-11T12:06:34.448Z" },+ { url = "https://files.pythonhosted.org/packages/08/ee/2f464330acd83f77dcc346f0b1a0eaae10230291450887f96b204b8ac4d3/multidict-6.6.4-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:56c6b3652f945c9bc3ac6c8178cd93132b8d82dd581fcbc3a00676c51302bc1a", size = 225485, upload-time = "2025-08-11T12:06:35.672Z" },+ { url = "https://files.pythonhosted.org/packages/71/cc/9a117f828b4d7fbaec6adeed2204f211e9caf0a012692a1ee32169f846ae/multidict-6.6.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b95494daf857602eccf4c18ca33337dd2be705bccdb6dddbfc9d513e6addb9d9", size = 257318, upload-time = "2025-08-11T12:06:36.98Z" },+ { url = "https://files.pythonhosted.org/packages/25/77/62752d3dbd70e27fdd68e86626c1ae6bccfebe2bb1f84ae226363e112f5a/multidict-6.6.4-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:e5b1413361cef15340ab9dc61523e653d25723e82d488ef7d60a12878227ed50", size = 254689, upload-time = "2025-08-11T12:06:38.233Z" },+ { url = "https://files.pythonhosted.org/packages/00/6e/fac58b1072a6fc59af5e7acb245e8754d3e1f97f4f808a6559951f72a0d4/multidict-6.6.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e167bf899c3d724f9662ef00b4f7fef87a19c22b2fead198a6f68b263618df52", size = 246709, upload-time = "2025-08-11T12:06:39.517Z" },+ { url = "https://files.pythonhosted.org/packages/01/ef/4698d6842ef5e797c6db7744b0081e36fb5de3d00002cc4c58071097fac3/multidict-6.6.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:aaea28ba20a9026dfa77f4b80369e51cb767c61e33a2d4043399c67bd95fb7c6", size = 243185, upload-time = "2025-08-11T12:06:40.796Z" },+ { url = "https://files.pythonhosted.org/packages/aa/c9/d82e95ae1d6e4ef396934e9b0e942dfc428775f9554acf04393cce66b157/multidict-6.6.4-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:8c91cdb30809a96d9ecf442ec9bc45e8cfaa0f7f8bdf534e082c2443a196727e", size = 237838, upload-time = "2025-08-11T12:06:42.595Z" },+ { url = "https://files.pythonhosted.org/packages/57/cf/f94af5c36baaa75d44fab9f02e2a6bcfa0cd90acb44d4976a80960759dbc/multidict-6.6.4-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1a0ccbfe93ca114c5d65a2471d52d8829e56d467c97b0e341cf5ee45410033b3", size = 246368, upload-time = "2025-08-11T12:06:44.304Z" },+ { url = "https://files.pythonhosted.org/packages/4a/fe/29f23460c3d995f6a4b678cb2e9730e7277231b981f0b234702f0177818a/multidict-6.6.4-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:55624b3f321d84c403cb7d8e6e982f41ae233d85f85db54ba6286f7295dc8a9c", size = 253339, upload-time = "2025-08-11T12:06:45.597Z" },+ { url = "https://files.pythonhosted.org/packages/29/b6/fd59449204426187b82bf8a75f629310f68c6adc9559dc922d5abe34797b/multidict-6.6.4-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:4a1fb393a2c9d202cb766c76208bd7945bc194eba8ac920ce98c6e458f0b524b", size = 246933, upload-time = "2025-08-11T12:06:46.841Z" },+ { url = "https://files.pythonhosted.org/packages/19/52/d5d6b344f176a5ac3606f7a61fb44dc746e04550e1a13834dff722b8d7d6/multidict-6.6.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:43868297a5759a845fa3a483fb4392973a95fb1de891605a3728130c52b8f40f", size = 242225, upload-time = "2025-08-11T12:06:48.588Z" },+ { url = "https://files.pythonhosted.org/packages/ec/d3/5b2281ed89ff4d5318d82478a2a2450fcdfc3300da48ff15c1778280ad26/multidict-6.6.4-cp311-cp311-win32.whl", hash = "sha256:ed3b94c5e362a8a84d69642dbeac615452e8af9b8eb825b7bc9f31a53a1051e2", size = 41306, upload-time = "2025-08-11T12:06:49.95Z" },+ { url = "https://files.pythonhosted.org/packages/74/7d/36b045c23a1ab98507aefd44fd8b264ee1dd5e5010543c6fccf82141ccef/multidict-6.6.4-cp311-cp311-win_amd64.whl", hash = "sha256:d8c112f7a90d8ca5d20213aa41eac690bb50a76da153e3afb3886418e61cb22e", size = 46029, upload-time = "2025-08-11T12:06:51.082Z" },+ { url = "https://files.pythonhosted.org/packages/0f/5e/553d67d24432c5cd52b49047f2d248821843743ee6d29a704594f656d182/multidict-6.6.4-cp311-cp311-win_arm64.whl", hash = "sha256:3bb0eae408fa1996d87247ca0d6a57b7fc1dcf83e8a5c47ab82c558c250d4adf", size = 43017, upload-time = "2025-08-11T12:06:52.243Z" },+ { url = "https://files.pythonhosted.org/packages/05/f6/512ffd8fd8b37fb2680e5ac35d788f1d71bbaf37789d21a820bdc441e565/multidict-6.6.4-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0ffb87be160942d56d7b87b0fdf098e81ed565add09eaa1294268c7f3caac4c8", size = 76516, upload-time = "2025-08-11T12:06:53.393Z" },+ { url = "https://files.pythonhosted.org/packages/99/58/45c3e75deb8855c36bd66cc1658007589662ba584dbf423d01df478dd1c5/multidict-6.6.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d191de6cbab2aff5de6c5723101705fd044b3e4c7cfd587a1929b5028b9714b3", size = 45394, upload-time = "2025-08-11T12:06:54.555Z" },+ { url = "https://files.pythonhosted.org/packages/fd/ca/e8c4472a93a26e4507c0b8e1f0762c0d8a32de1328ef72fd704ef9cc5447/multidict-6.6.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:38a0956dd92d918ad5feff3db8fcb4a5eb7dba114da917e1a88475619781b57b", size = 43591, upload-time = "2025-08-11T12:06:55.672Z" },+ { url = "https://files.pythonhosted.org/packages/05/51/edf414f4df058574a7265034d04c935aa84a89e79ce90fcf4df211f47b16/multidict-6.6.4-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:6865f6d3b7900ae020b495d599fcf3765653bc927951c1abb959017f81ae8287", size = 237215, upload-time = "2025-08-11T12:06:57.213Z" },+ { url = "https://files.pythonhosted.org/packages/c8/45/8b3d6dbad8cf3252553cc41abea09ad527b33ce47a5e199072620b296902/multidict-6.6.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0a2088c126b6f72db6c9212ad827d0ba088c01d951cee25e758c450da732c138", size = 258299, upload-time = "2025-08-11T12:06:58.946Z" },+ { url = "https://files.pythonhosted.org/packages/3c/e8/8ca2e9a9f5a435fc6db40438a55730a4bf4956b554e487fa1b9ae920f825/multidict-6.6.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0f37bed7319b848097085d7d48116f545985db988e2256b2e6f00563a3416ee6", size = 242357, upload-time = "2025-08-11T12:07:00.301Z" },+ { url = "https://files.pythonhosted.org/packages/0f/84/80c77c99df05a75c28490b2af8f7cba2a12621186e0a8b0865d8e745c104/multidict-6.6.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:01368e3c94032ba6ca0b78e7ccb099643466cf24f8dc8eefcfdc0571d56e58f9", size = 268369, upload-time = "2025-08-11T12:07:01.638Z" },+ { url = "https://files.pythonhosted.org/packages/0d/e9/920bfa46c27b05fb3e1ad85121fd49f441492dca2449c5bcfe42e4565d8a/multidict-6.6.4-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8fe323540c255db0bffee79ad7f048c909f2ab0edb87a597e1c17da6a54e493c", size = 269341, upload-time = "2025-08-11T12:07:02.943Z" },+ { url = "https://files.pythonhosted.org/packages/af/65/753a2d8b05daf496f4a9c367fe844e90a1b2cac78e2be2c844200d10cc4c/multidict-6.6.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8eb3025f17b0a4c3cd08cda49acf312a19ad6e8a4edd9dbd591e6506d999402", size = 256100, upload-time = "2025-08-11T12:07:04.564Z" },+ { url = "https://files.pythonhosted.org/packages/09/54/655be13ae324212bf0bc15d665a4e34844f34c206f78801be42f7a0a8aaa/multidict-6.6.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bbc14f0365534d35a06970d6a83478b249752e922d662dc24d489af1aa0d1be7", size = 253584, upload-time = "2025-08-11T12:07:05.914Z" },+ { url = "https://files.pythonhosted.org/packages/5c/74/ab2039ecc05264b5cec73eb018ce417af3ebb384ae9c0e9ed42cb33f8151/multidict-6.6.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:75aa52fba2d96bf972e85451b99d8e19cc37ce26fd016f6d4aa60da9ab2b005f", size = 251018, upload-time = "2025-08-11T12:07:08.301Z" },+ { url = "https://files.pythonhosted.org/packages/af/0a/ccbb244ac848e56c6427f2392741c06302bbfba49c0042f1eb3c5b606497/multidict-6.6.4-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:4fefd4a815e362d4f011919d97d7b4a1e566f1dde83dc4ad8cfb5b41de1df68d", size = 251477, upload-time = "2025-08-11T12:07:10.248Z" },+ { url = "https://files.pythonhosted.org/packages/0e/b0/0ed49bba775b135937f52fe13922bc64a7eaf0a3ead84a36e8e4e446e096/multidict-6.6.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:db9801fe021f59a5b375ab778973127ca0ac52429a26e2fd86aa9508f4d26eb7", size = 263575, upload-time = "2025-08-11T12:07:11.928Z" },+ { url = "https://files.pythonhosted.org/packages/3e/d9/7fb85a85e14de2e44dfb6a24f03c41e2af8697a6df83daddb0e9b7569f73/multidict-6.6.4-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:a650629970fa21ac1fb06ba25dabfc5b8a2054fcbf6ae97c758aa956b8dba802", size = 259649, upload-time = "2025-08-11T12:07:13.244Z" },+ { url = "https://files.pythonhosted.org/packages/03/9e/b3a459bcf9b6e74fa461a5222a10ff9b544cb1cd52fd482fb1b75ecda2a2/multidict-6.6.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:452ff5da78d4720d7516a3a2abd804957532dd69296cb77319c193e3ffb87e24", size = 251505, upload-time = "2025-08-11T12:07:14.57Z" },+ { url = "https://files.pythonhosted.org/packages/86/a2/8022f78f041dfe6d71e364001a5cf987c30edfc83c8a5fb7a3f0974cff39/multidict-6.6.4-cp312-cp312-win32.whl", hash = "sha256:8c2fcb12136530ed19572bbba61b407f655e3953ba669b96a35036a11a485793", size = 41888, upload-time = "2025-08-11T12:07:15.904Z" },+ { url = "https://files.pythonhosted.org/packages/c7/eb/d88b1780d43a56db2cba24289fa744a9d216c1a8546a0dc3956563fd53ea/multidict-6.6.4-cp312-cp312-win_amd64.whl", hash = "sha256:047d9425860a8c9544fed1b9584f0c8bcd31bcde9568b047c5e567a1025ecd6e", size = 46072, upload-time = "2025-08-11T12:07:17.045Z" },+ { url = "https://files.pythonhosted.org/packages/9f/16/b929320bf5750e2d9d4931835a4c638a19d2494a5b519caaaa7492ebe105/multidict-6.6.4-cp312-cp312-win_arm64.whl", hash = "sha256:14754eb72feaa1e8ae528468f24250dd997b8e2188c3d2f593f9eba259e4b364", size = 43222, upload-time = "2025-08-11T12:07:18.328Z" },+ { url = "https://files.pythonhosted.org/packages/3a/5d/e1db626f64f60008320aab00fbe4f23fc3300d75892a3381275b3d284580/multidict-6.6.4-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f46a6e8597f9bd71b31cc708195d42b634c8527fecbcf93febf1052cacc1f16e", size = 75848, upload-time = "2025-08-11T12:07:19.912Z" },+ { url = "https://files.pythonhosted.org/packages/4c/aa/8b6f548d839b6c13887253af4e29c939af22a18591bfb5d0ee6f1931dae8/multidict-6.6.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:22e38b2bc176c5eb9c0a0e379f9d188ae4cd8b28c0f53b52bce7ab0a9e534657", size = 45060, upload-time = "2025-08-11T12:07:21.163Z" },+ { url = "https://files.pythonhosted.org/packages/eb/c6/f5e97e5d99a729bc2aa58eb3ebfa9f1e56a9b517cc38c60537c81834a73f/multidict-6.6.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:5df8afd26f162da59e218ac0eefaa01b01b2e6cd606cffa46608f699539246da", size = 43269, upload-time = "2025-08-11T12:07:22.392Z" },+ { url = "https://files.pythonhosted.org/packages/dc/31/d54eb0c62516776f36fe67f84a732f97e0b0e12f98d5685bebcc6d396910/multidict-6.6.4-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:49517449b58d043023720aa58e62b2f74ce9b28f740a0b5d33971149553d72aa", size = 237158, upload-time = "2025-08-11T12:07:23.636Z" },+ { url = "https://files.pythonhosted.org/packages/c4/1c/8a10c1c25b23156e63b12165a929d8eb49a6ed769fdbefb06e6f07c1e50d/multidict-6.6.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ae9408439537c5afdca05edd128a63f56a62680f4b3c234301055d7a2000220f", size = 257076, upload-time = "2025-08-11T12:07:25.049Z" },+ { url = "https://files.pythonhosted.org/packages/ad/86/90e20b5771d6805a119e483fd3d1e8393e745a11511aebca41f0da38c3e2/multidict-6.6.4-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:87a32d20759dc52a9e850fe1061b6e41ab28e2998d44168a8a341b99ded1dba0", size = 240694, upload-time = "2025-08-11T12:07:26.458Z" },+ { url = "https://files.pythonhosted.org/packages/e7/49/484d3e6b535bc0555b52a0a26ba86e4d8d03fd5587d4936dc59ba7583221/multidict-6.6.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:52e3c8d43cdfff587ceedce9deb25e6ae77daba560b626e97a56ddcad3756879", size = 266350, upload-time = "2025-08-11T12:07:27.94Z" },+ { url = "https://files.pythonhosted.org/packages/bf/b4/aa4c5c379b11895083d50021e229e90c408d7d875471cb3abf721e4670d6/multidict-6.6.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ad8850921d3a8d8ff6fbef790e773cecfc260bbfa0566998980d3fa8f520bc4a", size = 267250, upload-time = "2025-08-11T12:07:29.303Z" },+ { url = "https://files.pythonhosted.org/packages/80/e5/5e22c5bf96a64bdd43518b1834c6d95a4922cc2066b7d8e467dae9b6cee6/multidict-6.6.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:497a2954adc25c08daff36f795077f63ad33e13f19bfff7736e72c785391534f", size = 254900, upload-time = "2025-08-11T12:07:30.764Z" },+ { url = "https://files.pythonhosted.org/packages/17/38/58b27fed927c07035abc02befacab42491e7388ca105e087e6e0215ead64/multidict-6.6.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:024ce601f92d780ca1617ad4be5ac15b501cc2414970ffa2bb2bbc2bd5a68fa5", size = 252355, upload-time = "2025-08-11T12:07:32.205Z" },+ { url = "https://files.pythonhosted.org/packages/d0/a1/dad75d23a90c29c02b5d6f3d7c10ab36c3197613be5d07ec49c7791e186c/multidict-6.6.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:a693fc5ed9bdd1c9e898013e0da4dcc640de7963a371c0bd458e50e046bf6438", size = 250061, upload-time = "2025-08-11T12:07:33.623Z" },+ { url = "https://files.pythonhosted.org/packages/b8/1a/ac2216b61c7f116edab6dc3378cca6c70dc019c9a457ff0d754067c58b20/multidict-6.6.4-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:190766dac95aab54cae5b152a56520fd99298f32a1266d66d27fdd1b5ac00f4e", size = 249675, upload-time = "2025-08-11T12:07:34.958Z" },+ { url = "https://files.pythonhosted.org/packages/d4/79/1916af833b800d13883e452e8e0977c065c4ee3ab7a26941fbfdebc11895/multidict-6.6.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:34d8f2a5ffdceab9dcd97c7a016deb2308531d5f0fced2bb0c9e1df45b3363d7", size = 261247, upload-time = "2025-08-11T12:07:36.588Z" },+ { url = "https://files.pythonhosted.org/packages/c5/65/d1f84fe08ac44a5fc7391cbc20a7cedc433ea616b266284413fd86062f8c/multidict-6.6.4-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:59e8d40ab1f5a8597abcef00d04845155a5693b5da00d2c93dbe88f2050f2812", size = 257960, upload-time = "2025-08-11T12:07:39.735Z" },+ { url = "https://files.pythonhosted.org/packages/13/b5/29ec78057d377b195ac2c5248c773703a6b602e132a763e20ec0457e7440/multidict-6.6.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:467fe64138cfac771f0e949b938c2e1ada2b5af22f39692aa9258715e9ea613a", size = 250078, upload-time = "2025-08-11T12:07:41.525Z" },+ { url = "https://files.pythonhosted.org/packages/c4/0e/7e79d38f70a872cae32e29b0d77024bef7834b0afb406ddae6558d9e2414/multidict-6.6.4-cp313-cp313-win32.whl", hash = "sha256:14616a30fe6d0a48d0a48d1a633ab3b8bec4cf293aac65f32ed116f620adfd69", size = 41708, upload-time = "2025-08-11T12:07:43.405Z" },+ { url = "https://files.pythonhosted.org/packages/9d/34/746696dffff742e97cd6a23da953e55d0ea51fa601fa2ff387b3edcfaa2c/multidict-6.6.4-cp313-cp313-win_amd64.whl", hash = "sha256:40cd05eaeb39e2bc8939451f033e57feaa2ac99e07dbca8afe2be450a4a3b6cf", size = 45912, upload-time = "2025-08-11T12:07:45.082Z" },+ { url = "https://files.pythonhosted.org/packages/c7/87/3bac136181e271e29170d8d71929cdeddeb77f3e8b6a0c08da3a8e9da114/multidict-6.6.4-cp313-cp313-win_arm64.whl", hash = "sha256:f6eb37d511bfae9e13e82cb4d1af36b91150466f24d9b2b8a9785816deb16605", size = 43076, upload-time = "2025-08-11T12:07:46.746Z" },+ { url = "https://files.pythonhosted.org/packages/64/94/0a8e63e36c049b571c9ae41ee301ada29c3fee9643d9c2548d7d558a1d99/multidict-6.6.4-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:6c84378acd4f37d1b507dfa0d459b449e2321b3ba5f2338f9b085cf7a7ba95eb", size = 82812, upload-time = "2025-08-11T12:07:48.402Z" },+ { url = "https://files.pythonhosted.org/packages/25/1a/be8e369dfcd260d2070a67e65dd3990dd635cbd735b98da31e00ea84cd4e/multidict-6.6.4-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0e0558693063c75f3d952abf645c78f3c5dfdd825a41d8c4d8156fc0b0da6e7e", size = 48313, upload-time = "2025-08-11T12:07:49.679Z" },+ { url = "https://files.pythonhosted.org/packages/26/5a/dd4ade298674b2f9a7b06a32c94ffbc0497354df8285f27317c66433ce3b/multidict-6.6.4-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3f8e2384cb83ebd23fd07e9eada8ba64afc4c759cd94817433ab8c81ee4b403f", size = 46777, upload-time = "2025-08-11T12:07:51.318Z" },+ { url = "https://files.pythonhosted.org/packages/89/db/98aa28bc7e071bfba611ac2ae803c24e96dd3a452b4118c587d3d872c64c/multidict-6.6.4-cp313-cp313t-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:f996b87b420995a9174b2a7c1a8daf7db4750be6848b03eb5e639674f7963773", size = 229321, upload-time = "2025-08-11T12:07:52.965Z" },+ { url = "https://files.pythonhosted.org/packages/c7/bc/01ddda2a73dd9d167bd85d0e8ef4293836a8f82b786c63fb1a429bc3e678/multidict-6.6.4-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cc356250cffd6e78416cf5b40dc6a74f1edf3be8e834cf8862d9ed5265cf9b0e", size = 249954, upload-time = "2025-08-11T12:07:54.423Z" },+ { url = "https://files.pythonhosted.org/packages/06/78/6b7c0f020f9aa0acf66d0ab4eb9f08375bac9a50ff5e3edb1c4ccd59eafc/multidict-6.6.4-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:dadf95aa862714ea468a49ad1e09fe00fcc9ec67d122f6596a8d40caf6cec7d0", size = 228612, upload-time = "2025-08-11T12:07:55.914Z" },+ { url = "https://files.pythonhosted.org/packages/00/44/3faa416f89b2d5d76e9d447296a81521e1c832ad6e40b92f990697b43192/multidict-6.6.4-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7dd57515bebffd8ebd714d101d4c434063322e4fe24042e90ced41f18b6d3395", size = 257528, upload-time = "2025-08-11T12:07:57.371Z" },+ { url = "https://files.pythonhosted.org/packages/05/5f/77c03b89af0fcb16f018f668207768191fb9dcfb5e3361a5e706a11db2c9/multidict-6.6.4-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:967af5f238ebc2eb1da4e77af5492219fbd9b4b812347da39a7b5f5c72c0fa45", size = 256329, upload-time = "2025-08-11T12:07:58.844Z" },+ { url = "https://files.pythonhosted.org/packages/cf/e9/ed750a2a9afb4f8dc6f13dc5b67b514832101b95714f1211cd42e0aafc26/multidict-6.6.4-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2a4c6875c37aae9794308ec43e3530e4aa0d36579ce38d89979bbf89582002bb", size = 247928, upload-time = "2025-08-11T12:08:01.037Z" },+ { url = "https://files.pythonhosted.org/packages/1f/b5/e0571bc13cda277db7e6e8a532791d4403dacc9850006cb66d2556e649c0/multidict-6.6.4-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:7f683a551e92bdb7fac545b9c6f9fa2aebdeefa61d607510b3533286fcab67f5", size = 245228, upload-time = "2025-08-11T12:08:02.96Z" },+ { url = "https://files.pythonhosted.org/packages/f3/a3/69a84b0eccb9824491f06368f5b86e72e4af54c3067c37c39099b6687109/multidict-6.6.4-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:3ba5aaf600edaf2a868a391779f7a85d93bed147854925f34edd24cc70a3e141", size = 235869, upload-time = "2025-08-11T12:08:04.746Z" },+ { url = "https://files.pythonhosted.org/packages/a9/9d/28802e8f9121a6a0804fa009debf4e753d0a59969ea9f70be5f5fdfcb18f/multidict-6.6.4-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:580b643b7fd2c295d83cad90d78419081f53fd532d1f1eb67ceb7060f61cff0d", size = 243446, upload-time = "2025-08-11T12:08:06.332Z" },+ { url = "https://files.pythonhosted.org/packages/38/ea/6c98add069b4878c1d66428a5f5149ddb6d32b1f9836a826ac764b9940be/multidict-6.6.4-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:37b7187197da6af3ee0b044dbc9625afd0c885f2800815b228a0e70f9a7f473d", size = 252299, upload-time = "2025-08-11T12:08:07.931Z" },+ { url = "https://files.pythonhosted.org/packages/3a/09/8fe02d204473e14c0af3affd50af9078839dfca1742f025cca765435d6b4/multidict-6.6.4-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:e1b93790ed0bc26feb72e2f08299691ceb6da5e9e14a0d13cc74f1869af327a0", size = 246926, upload-time = "2025-08-11T12:08:09.467Z" },+ { url = "https://files.pythonhosted.org/packages/37/3d/7b1e10d774a6df5175ecd3c92bff069e77bed9ec2a927fdd4ff5fe182f67/multidict-6.6.4-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:a506a77ddee1efcca81ecbeae27ade3e09cdf21a8ae854d766c2bb4f14053f92", size = 243383, upload-time = "2025-08-11T12:08:10.981Z" },+ { url = "https://files.pythonhosted.org/packages/50/b0/a6fae46071b645ae98786ab738447de1ef53742eaad949f27e960864bb49/multidict-6.6.4-cp313-cp313t-win32.whl", hash = "sha256:f93b2b2279883d1d0a9e1bd01f312d6fc315c5e4c1f09e112e4736e2f650bc4e", size = 47775, upload-time = "2025-08-11T12:08:12.439Z" },+ { url = "https://files.pythonhosted.org/packages/b2/0a/2436550b1520091af0600dff547913cb2d66fbac27a8c33bc1b1bccd8d98/multidict-6.6.4-cp313-cp313t-win_amd64.whl", hash = "sha256:6d46a180acdf6e87cc41dc15d8f5c2986e1e8739dc25dbb7dac826731ef381a4", size = 53100, upload-time = "2025-08-11T12:08:13.823Z" },+ { url = "https://files.pythonhosted.org/packages/97/ea/43ac51faff934086db9c072a94d327d71b7d8b40cd5dcb47311330929ef0/multidict-6.6.4-cp313-cp313t-win_arm64.whl", hash = "sha256:756989334015e3335d087a27331659820d53ba432befdef6a718398b0a8493ad", size = 45501, upload-time = "2025-08-11T12:08:15.173Z" },+ { url = "https://files.pythonhosted.org/packages/fd/69/b547032297c7e63ba2af494edba695d781af8a0c6e89e4d06cf848b21d80/multidict-6.6.4-py3-none-any.whl", hash = "sha256:27d8f8e125c07cb954e54d75d04905a9bba8a439c1d84aca94949d4d03d8601c", size = 12313, upload-time = "2025-08-11T12:08:46.891Z" },][[package]]name = "mypy"-version = "1.16.0"+version = "1.17.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "mypy-extensions" },@@ -1340,33 +1403,39 @@ dependencies = [{ name = "tomli", marker = "python_full_version < '3.11'" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/d4/38/13c2f1abae94d5ea0354e146b95a1be9b2137a0d506728e0da037c4276f6/mypy-1.16.0.tar.gz", hash = "sha256:84b94283f817e2aa6350a14b4a8fb2a35a53c286f97c9d30f53b63620e7af8ab", size = 3323139, upload-time = "2025-05-29T13:46:12.532Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/64/5e/a0485f0608a3d67029d3d73cec209278b025e3493a3acfda3ef3a88540fd/mypy-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7909541fef256527e5ee9c0a7e2aeed78b6cda72ba44298d1334fe7881b05c5c", size = 10967416, upload-time = "2025-05-29T13:34:17.783Z" },- { url = "https://files.pythonhosted.org/packages/4b/53/5837c221f74c0d53a4bfc3003296f8179c3a2a7f336d7de7bbafbe96b688/mypy-1.16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e71d6f0090c2256c713ed3d52711d01859c82608b5d68d4fa01a3fe30df95571", size = 10087654, upload-time = "2025-05-29T13:32:37.878Z" },- { url = "https://files.pythonhosted.org/packages/29/59/5fd2400352c3093bed4c09017fe671d26bc5bb7e6ef2d4bf85f2a2488104/mypy-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:936ccfdd749af4766be824268bfe22d1db9eb2f34a3ea1d00ffbe5b5265f5491", size = 11875192, upload-time = "2025-05-29T13:34:54.281Z" },- { url = "https://files.pythonhosted.org/packages/ad/3e/4bfec74663a64c2012f3e278dbc29ffe82b121bc551758590d1b6449ec0c/mypy-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4086883a73166631307fdd330c4a9080ce24913d4f4c5ec596c601b3a4bdd777", size = 12612939, upload-time = "2025-05-29T13:33:14.766Z" },- { url = "https://files.pythonhosted.org/packages/88/1f/fecbe3dcba4bf2ca34c26ca016383a9676711907f8db4da8354925cbb08f/mypy-1.16.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:feec38097f71797da0231997e0de3a58108c51845399669ebc532c815f93866b", size = 12874719, upload-time = "2025-05-29T13:21:52.09Z" },- { url = "https://files.pythonhosted.org/packages/f3/51/c2d280601cd816c43dfa512a759270d5a5ef638d7ac9bea9134c8305a12f/mypy-1.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:09a8da6a0ee9a9770b8ff61b39c0bb07971cda90e7297f4213741b48a0cc8d93", size = 9487053, upload-time = "2025-05-29T13:33:29.797Z" },- { url = "https://files.pythonhosted.org/packages/24/c4/ff2f79db7075c274fe85b5fff8797d29c6b61b8854c39e3b7feb556aa377/mypy-1.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9f826aaa7ff8443bac6a494cf743f591488ea940dd360e7dd330e30dd772a5ab", size = 10884498, upload-time = "2025-05-29T13:18:54.066Z" },- { url = "https://files.pythonhosted.org/packages/02/07/12198e83006235f10f6a7808917376b5d6240a2fd5dce740fe5d2ebf3247/mypy-1.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:82d056e6faa508501af333a6af192c700b33e15865bda49611e3d7d8358ebea2", size = 10011755, upload-time = "2025-05-29T13:34:00.851Z" },- { url = "https://files.pythonhosted.org/packages/f1/9b/5fd5801a72b5d6fb6ec0105ea1d0e01ab2d4971893076e558d4b6d6b5f80/mypy-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:089bedc02307c2548eb51f426e085546db1fa7dd87fbb7c9fa561575cf6eb1ff", size = 11800138, upload-time = "2025-05-29T13:32:55.082Z" },- { url = "https://files.pythonhosted.org/packages/2e/81/a117441ea5dfc3746431e51d78a4aca569c677aa225bca2cc05a7c239b61/mypy-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6a2322896003ba66bbd1318c10d3afdfe24e78ef12ea10e2acd985e9d684a666", size = 12533156, upload-time = "2025-05-29T13:19:12.963Z" },- { url = "https://files.pythonhosted.org/packages/3f/38/88ec57c6c86014d3f06251e00f397b5a7daa6888884d0abf187e4f5f587f/mypy-1.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:021a68568082c5b36e977d54e8f1de978baf401a33884ffcea09bd8e88a98f4c", size = 12742426, upload-time = "2025-05-29T13:20:22.72Z" },- { url = "https://files.pythonhosted.org/packages/bd/53/7e9d528433d56e6f6f77ccf24af6ce570986c2d98a5839e4c2009ef47283/mypy-1.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:54066fed302d83bf5128632d05b4ec68412e1f03ef2c300434057d66866cea4b", size = 9478319, upload-time = "2025-05-29T13:21:17.582Z" },- { url = "https://files.pythonhosted.org/packages/70/cf/158e5055e60ca2be23aec54a3010f89dcffd788732634b344fc9cb1e85a0/mypy-1.16.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c5436d11e89a3ad16ce8afe752f0f373ae9620841c50883dc96f8b8805620b13", size = 11062927, upload-time = "2025-05-29T13:35:52.328Z" },- { url = "https://files.pythonhosted.org/packages/94/34/cfff7a56be1609f5d10ef386342ce3494158e4d506516890142007e6472c/mypy-1.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f2622af30bf01d8fc36466231bdd203d120d7a599a6d88fb22bdcb9dbff84090", size = 10083082, upload-time = "2025-05-29T13:35:33.378Z" },- { url = "https://files.pythonhosted.org/packages/b3/7f/7242062ec6288c33d8ad89574df87c3903d394870e5e6ba1699317a65075/mypy-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d045d33c284e10a038f5e29faca055b90eee87da3fc63b8889085744ebabb5a1", size = 11828306, upload-time = "2025-05-29T13:21:02.164Z" },- { url = "https://files.pythonhosted.org/packages/6f/5f/b392f7b4f659f5b619ce5994c5c43caab3d80df2296ae54fa888b3d17f5a/mypy-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b4968f14f44c62e2ec4a038c8797a87315be8df7740dc3ee8d3bfe1c6bf5dba8", size = 12702764, upload-time = "2025-05-29T13:20:42.826Z" },- { url = "https://files.pythonhosted.org/packages/9b/c0/7646ef3a00fa39ac9bc0938626d9ff29d19d733011be929cfea59d82d136/mypy-1.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:eb14a4a871bb8efb1e4a50360d4e3c8d6c601e7a31028a2c79f9bb659b63d730", size = 12896233, upload-time = "2025-05-29T13:18:37.446Z" },- { url = "https://files.pythonhosted.org/packages/6d/38/52f4b808b3fef7f0ef840ee8ff6ce5b5d77381e65425758d515cdd4f5bb5/mypy-1.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:bd4e1ebe126152a7bbaa4daedd781c90c8f9643c79b9748caa270ad542f12bec", size = 9565547, upload-time = "2025-05-29T13:20:02.836Z" },- { url = "https://files.pythonhosted.org/packages/97/9c/ca03bdbefbaa03b264b9318a98950a9c683e06472226b55472f96ebbc53d/mypy-1.16.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:a9e056237c89f1587a3be1a3a70a06a698d25e2479b9a2f57325ddaaffc3567b", size = 11059753, upload-time = "2025-05-29T13:18:18.167Z" },- { url = "https://files.pythonhosted.org/packages/36/92/79a969b8302cfe316027c88f7dc6fee70129490a370b3f6eb11d777749d0/mypy-1.16.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0b07e107affb9ee6ce1f342c07f51552d126c32cd62955f59a7db94a51ad12c0", size = 10073338, upload-time = "2025-05-29T13:19:48.079Z" },- { url = "https://files.pythonhosted.org/packages/14/9b/a943f09319167da0552d5cd722104096a9c99270719b1afeea60d11610aa/mypy-1.16.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c6fb60cbd85dc65d4d63d37cb5c86f4e3a301ec605f606ae3a9173e5cf34997b", size = 11827764, upload-time = "2025-05-29T13:46:04.47Z" },- { url = "https://files.pythonhosted.org/packages/ec/64/ff75e71c65a0cb6ee737287c7913ea155845a556c64144c65b811afdb9c7/mypy-1.16.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a7e32297a437cc915599e0578fa6bc68ae6a8dc059c9e009c628e1c47f91495d", size = 12701356, upload-time = "2025-05-29T13:35:13.553Z" },- { url = "https://files.pythonhosted.org/packages/0a/ad/0e93c18987a1182c350f7a5fab70550852f9fabe30ecb63bfbe51b602074/mypy-1.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:afe420c9380ccec31e744e8baff0d406c846683681025db3531b32db56962d52", size = 12900745, upload-time = "2025-05-29T13:17:24.409Z" },- { url = "https://files.pythonhosted.org/packages/28/5d/036c278d7a013e97e33f08c047fe5583ab4f1fc47c9a49f985f1cdd2a2d7/mypy-1.16.0-cp313-cp313-win_amd64.whl", hash = "sha256:55f9076c6ce55dd3f8cd0c6fff26a008ca8e5131b89d5ba6d86bd3f47e736eeb", size = 9572200, upload-time = "2025-05-29T13:33:44.92Z" },- { url = "https://files.pythonhosted.org/packages/99/a3/6ed10530dec8e0fdc890d81361260c9ef1f5e5c217ad8c9b21ecb2b8366b/mypy-1.16.0-py3-none-any.whl", hash = "sha256:29e1499864a3888bca5c1542f2d7232c6e586295183320caa95758fc84034031", size = 2265773, upload-time = "2025-05-29T13:35:18.762Z" },+sdist = { url = "https://files.pythonhosted.org/packages/8e/22/ea637422dedf0bf36f3ef238eab4e455e2a0dcc3082b5cc067615347ab8e/mypy-1.17.1.tar.gz", hash = "sha256:25e01ec741ab5bb3eec8ba9cdb0f769230368a22c959c4937360efb89b7e9f01", size = 3352570, upload-time = "2025-07-31T07:54:19.204Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/77/a9/3d7aa83955617cdf02f94e50aab5c830d205cfa4320cf124ff64acce3a8e/mypy-1.17.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:3fbe6d5555bf608c47203baa3e72dbc6ec9965b3d7c318aa9a4ca76f465bd972", size = 11003299, upload-time = "2025-07-31T07:54:06.425Z" },+ { url = "https://files.pythonhosted.org/packages/83/e8/72e62ff837dd5caaac2b4a5c07ce769c8e808a00a65e5d8f94ea9c6f20ab/mypy-1.17.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:80ef5c058b7bce08c83cac668158cb7edea692e458d21098c7d3bce35a5d43e7", size = 10125451, upload-time = "2025-07-31T07:53:52.974Z" },+ { url = "https://files.pythonhosted.org/packages/7d/10/f3f3543f6448db11881776f26a0ed079865926b0c841818ee22de2c6bbab/mypy-1.17.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c4a580f8a70c69e4a75587bd925d298434057fe2a428faaf927ffe6e4b9a98df", size = 11916211, upload-time = "2025-07-31T07:53:18.879Z" },+ { url = "https://files.pythonhosted.org/packages/06/bf/63e83ed551282d67bb3f7fea2cd5561b08d2bb6eb287c096539feb5ddbc5/mypy-1.17.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dd86bb649299f09d987a2eebb4d52d10603224500792e1bee18303bbcc1ce390", size = 12652687, upload-time = "2025-07-31T07:53:30.544Z" },+ { url = "https://files.pythonhosted.org/packages/69/66/68f2eeef11facf597143e85b694a161868b3b006a5fbad50e09ea117ef24/mypy-1.17.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:a76906f26bd8d51ea9504966a9c25419f2e668f012e0bdf3da4ea1526c534d94", size = 12896322, upload-time = "2025-07-31T07:53:50.74Z" },+ { url = "https://files.pythonhosted.org/packages/a3/87/8e3e9c2c8bd0d7e071a89c71be28ad088aaecbadf0454f46a540bda7bca6/mypy-1.17.1-cp310-cp310-win_amd64.whl", hash = "sha256:e79311f2d904ccb59787477b7bd5d26f3347789c06fcd7656fa500875290264b", size = 9507962, upload-time = "2025-07-31T07:53:08.431Z" },+ { url = "https://files.pythonhosted.org/packages/46/cf/eadc80c4e0a70db1c08921dcc220357ba8ab2faecb4392e3cebeb10edbfa/mypy-1.17.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ad37544be07c5d7fba814eb370e006df58fed8ad1ef33ed1649cb1889ba6ff58", size = 10921009, upload-time = "2025-07-31T07:53:23.037Z" },+ { url = "https://files.pythonhosted.org/packages/5d/c1/c869d8c067829ad30d9bdae051046561552516cfb3a14f7f0347b7d973ee/mypy-1.17.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:064e2ff508e5464b4bd807a7c1625bc5047c5022b85c70f030680e18f37273a5", size = 10047482, upload-time = "2025-07-31T07:53:26.151Z" },+ { url = "https://files.pythonhosted.org/packages/98/b9/803672bab3fe03cee2e14786ca056efda4bb511ea02dadcedde6176d06d0/mypy-1.17.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:70401bbabd2fa1aa7c43bb358f54037baf0586f41e83b0ae67dd0534fc64edfd", size = 11832883, upload-time = "2025-07-31T07:53:47.948Z" },+ { url = "https://files.pythonhosted.org/packages/88/fb/fcdac695beca66800918c18697b48833a9a6701de288452b6715a98cfee1/mypy-1.17.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e92bdc656b7757c438660f775f872a669b8ff374edc4d18277d86b63edba6b8b", size = 12566215, upload-time = "2025-07-31T07:54:04.031Z" },+ { url = "https://files.pythonhosted.org/packages/7f/37/a932da3d3dace99ee8eb2043b6ab03b6768c36eb29a02f98f46c18c0da0e/mypy-1.17.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:c1fdf4abb29ed1cb091cf432979e162c208a5ac676ce35010373ff29247bcad5", size = 12751956, upload-time = "2025-07-31T07:53:36.263Z" },+ { url = "https://files.pythonhosted.org/packages/8c/cf/6438a429e0f2f5cab8bc83e53dbebfa666476f40ee322e13cac5e64b79e7/mypy-1.17.1-cp311-cp311-win_amd64.whl", hash = "sha256:ff2933428516ab63f961644bc49bc4cbe42bbffb2cd3b71cc7277c07d16b1a8b", size = 9507307, upload-time = "2025-07-31T07:53:59.734Z" },+ { url = "https://files.pythonhosted.org/packages/17/a2/7034d0d61af8098ec47902108553122baa0f438df8a713be860f7407c9e6/mypy-1.17.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:69e83ea6553a3ba79c08c6e15dbd9bfa912ec1e493bf75489ef93beb65209aeb", size = 11086295, upload-time = "2025-07-31T07:53:28.124Z" },+ { url = "https://files.pythonhosted.org/packages/14/1f/19e7e44b594d4b12f6ba8064dbe136505cec813549ca3e5191e40b1d3cc2/mypy-1.17.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1b16708a66d38abb1e6b5702f5c2c87e133289da36f6a1d15f6a5221085c6403", size = 10112355, upload-time = "2025-07-31T07:53:21.121Z" },+ { url = "https://files.pythonhosted.org/packages/5b/69/baa33927e29e6b4c55d798a9d44db5d394072eef2bdc18c3e2048c9ed1e9/mypy-1.17.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:89e972c0035e9e05823907ad5398c5a73b9f47a002b22359b177d40bdaee7056", size = 11875285, upload-time = "2025-07-31T07:53:55.293Z" },+ { url = "https://files.pythonhosted.org/packages/90/13/f3a89c76b0a41e19490b01e7069713a30949d9a6c147289ee1521bcea245/mypy-1.17.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:03b6d0ed2b188e35ee6d5c36b5580cffd6da23319991c49ab5556c023ccf1341", size = 12737895, upload-time = "2025-07-31T07:53:43.623Z" },+ { url = "https://files.pythonhosted.org/packages/23/a1/c4ee79ac484241301564072e6476c5a5be2590bc2e7bfd28220033d2ef8f/mypy-1.17.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c837b896b37cd103570d776bda106eabb8737aa6dd4f248451aecf53030cdbeb", size = 12931025, upload-time = "2025-07-31T07:54:17.125Z" },+ { url = "https://files.pythonhosted.org/packages/89/b8/7409477be7919a0608900e6320b155c72caab4fef46427c5cc75f85edadd/mypy-1.17.1-cp312-cp312-win_amd64.whl", hash = "sha256:665afab0963a4b39dff7c1fa563cc8b11ecff7910206db4b2e64dd1ba25aed19", size = 9584664, upload-time = "2025-07-31T07:54:12.842Z" },+ { url = "https://files.pythonhosted.org/packages/5b/82/aec2fc9b9b149f372850291827537a508d6c4d3664b1750a324b91f71355/mypy-1.17.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:93378d3203a5c0800c6b6d850ad2f19f7a3cdf1a3701d3416dbf128805c6a6a7", size = 11075338, upload-time = "2025-07-31T07:53:38.873Z" },+ { url = "https://files.pythonhosted.org/packages/07/ac/ee93fbde9d2242657128af8c86f5d917cd2887584cf948a8e3663d0cd737/mypy-1.17.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:15d54056f7fe7a826d897789f53dd6377ec2ea8ba6f776dc83c2902b899fee81", size = 10113066, upload-time = "2025-07-31T07:54:14.707Z" },+ { url = "https://files.pythonhosted.org/packages/5a/68/946a1e0be93f17f7caa56c45844ec691ca153ee8b62f21eddda336a2d203/mypy-1.17.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:209a58fed9987eccc20f2ca94afe7257a8f46eb5df1fb69958650973230f91e6", size = 11875473, upload-time = "2025-07-31T07:53:14.504Z" },+ { url = "https://files.pythonhosted.org/packages/9f/0f/478b4dce1cb4f43cf0f0d00fba3030b21ca04a01b74d1cd272a528cf446f/mypy-1.17.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:099b9a5da47de9e2cb5165e581f158e854d9e19d2e96b6698c0d64de911dd849", size = 12744296, upload-time = "2025-07-31T07:53:03.896Z" },+ { url = "https://files.pythonhosted.org/packages/ca/70/afa5850176379d1b303f992a828de95fc14487429a7139a4e0bdd17a8279/mypy-1.17.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:fa6ffadfbe6994d724c5a1bb6123a7d27dd68fc9c059561cd33b664a79578e14", size = 12914657, upload-time = "2025-07-31T07:54:08.576Z" },+ { url = "https://files.pythonhosted.org/packages/53/f9/4a83e1c856a3d9c8f6edaa4749a4864ee98486e9b9dbfbc93842891029c2/mypy-1.17.1-cp313-cp313-win_amd64.whl", hash = "sha256:9a2b7d9180aed171f033c9f2fc6c204c1245cf60b0cb61cf2e7acc24eea78e0a", size = 9593320, upload-time = "2025-07-31T07:53:01.341Z" },+ { url = "https://files.pythonhosted.org/packages/38/56/79c2fac86da57c7d8c48622a05873eaab40b905096c33597462713f5af90/mypy-1.17.1-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:15a83369400454c41ed3a118e0cc58bd8123921a602f385cb6d6ea5df050c733", size = 11040037, upload-time = "2025-07-31T07:54:10.942Z" },+ { url = "https://files.pythonhosted.org/packages/4d/c3/adabe6ff53638e3cad19e3547268482408323b1e68bf082c9119000cd049/mypy-1.17.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:55b918670f692fc9fba55c3298d8a3beae295c5cded0a55dccdc5bbead814acd", size = 10131550, upload-time = "2025-07-31T07:53:41.307Z" },+ { url = "https://files.pythonhosted.org/packages/b8/c5/2e234c22c3bdeb23a7817af57a58865a39753bde52c74e2c661ee0cfc640/mypy-1.17.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:62761474061feef6f720149d7ba876122007ddc64adff5ba6f374fda35a018a0", size = 11872963, upload-time = "2025-07-31T07:53:16.878Z" },+ { url = "https://files.pythonhosted.org/packages/ab/26/c13c130f35ca8caa5f2ceab68a247775648fdcd6c9a18f158825f2bc2410/mypy-1.17.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c49562d3d908fd49ed0938e5423daed8d407774a479b595b143a3d7f87cdae6a", size = 12710189, upload-time = "2025-07-31T07:54:01.962Z" },+ { url = "https://files.pythonhosted.org/packages/82/df/c7d79d09f6de8383fe800521d066d877e54d30b4fb94281c262be2df84ef/mypy-1.17.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:397fba5d7616a5bc60b45c7ed204717eaddc38f826e3645402c426057ead9a91", size = 12900322, upload-time = "2025-07-31T07:53:10.551Z" },+ { url = "https://files.pythonhosted.org/packages/b8/98/3d5a48978b4f708c55ae832619addc66d677f6dc59f3ebad71bae8285ca6/mypy-1.17.1-cp314-cp314-win_amd64.whl", hash = "sha256:9d6b20b97d373f41617bd0708fd46aa656059af57f2ef72aa8c7d6a2b73b74ed", size = 9751879, upload-time = "2025-07-31T07:52:56.683Z" },+ { url = "https://files.pythonhosted.org/packages/1d/f3/8fcd2af0f5b806f6cf463efaffd3c9548a28f84220493ecd38d127b6b66d/mypy-1.17.1-py3-none-any.whl", hash = "sha256:a9f52c0351c21fe24c21d8c0eb1f62967b262d6729393397b6f443c3b773c3b9", size = 2283411, upload-time = "2025-07-31T07:53:24.664Z" },][[package]]@@ -1479,78 +1548,101 @@ wheels = [[[package]]name = "numpy"-version = "2.3.0"+version = "2.3.2"source = { registry = "https://pypi.org/simple" }resolution-markers = ["python_full_version >= '3.12'","python_full_version == '3.11.*'",]-sdist = { url = "https://files.pythonhosted.org/packages/f3/db/8e12381333aea300890829a0a36bfa738cac95475d88982d538725143fd9/numpy-2.3.0.tar.gz", hash = "sha256:581f87f9e9e9db2cba2141400e160e9dd644ee248788d6f90636eeb8fd9260a6", size = 20382813, upload-time = "2025-06-07T14:54:32.608Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/fd/5f/df67435257d827eb3b8af66f585223dc2c3f2eb7ad0b50cb1dae2f35f494/numpy-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c3c9fdde0fa18afa1099d6257eb82890ea4f3102847e692193b54e00312a9ae9", size = 21199688, upload-time = "2025-06-07T14:36:52.067Z" },- { url = "https://files.pythonhosted.org/packages/e5/ce/aad219575055d6c9ef29c8c540c81e1c38815d3be1fe09cdbe53d48ee838/numpy-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:46d16f72c2192da7b83984aa5455baee640e33a9f1e61e656f29adf55e406c2b", size = 14359277, upload-time = "2025-06-07T14:37:15.325Z" },- { url = "https://files.pythonhosted.org/packages/29/6b/2d31da8e6d2ec99bed54c185337a87f8fbeccc1cd9804e38217e92f3f5e2/numpy-2.3.0-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:a0be278be9307c4ab06b788f2a077f05e180aea817b3e41cebbd5aaf7bd85ed3", size = 5376069, upload-time = "2025-06-07T14:37:25.636Z" },- { url = "https://files.pythonhosted.org/packages/7d/2a/6c59a062397553ec7045c53d5fcdad44e4536e54972faa2ba44153bca984/numpy-2.3.0-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:99224862d1412d2562248d4710126355d3a8db7672170a39d6909ac47687a8a4", size = 6913057, upload-time = "2025-06-07T14:37:37.215Z" },- { url = "https://files.pythonhosted.org/packages/d5/5a/8df16f258d28d033e4f359e29d3aeb54663243ac7b71504e89deeb813202/numpy-2.3.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:2393a914db64b0ead0ab80c962e42d09d5f385802006a6c87835acb1f58adb96", size = 14568083, upload-time = "2025-06-07T14:37:59.337Z" },- { url = "https://files.pythonhosted.org/packages/0a/92/0528a563dfc2cdccdcb208c0e241a4bb500d7cde218651ffb834e8febc50/numpy-2.3.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:7729c8008d55e80784bd113787ce876ca117185c579c0d626f59b87d433ea779", size = 16929402, upload-time = "2025-06-07T14:38:24.343Z" },- { url = "https://files.pythonhosted.org/packages/e4/2f/e7a8c8d4a2212c527568d84f31587012cf5497a7271ea1f23332142f634e/numpy-2.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:06d4fb37a8d383b769281714897420c5cc3545c79dc427df57fc9b852ee0bf58", size = 15879193, upload-time = "2025-06-07T14:38:48.007Z" },- { url = "https://files.pythonhosted.org/packages/e2/c3/dada3f005953847fe35f42ac0fe746f6e1ea90b4c6775e4be605dcd7b578/numpy-2.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:c39ec392b5db5088259c68250e342612db82dc80ce044cf16496cf14cf6bc6f8", size = 18665318, upload-time = "2025-06-07T14:39:15.794Z" },- { url = "https://files.pythonhosted.org/packages/3b/ae/3f448517dedefc8dd64d803f9d51a8904a48df730e00a3c5fb1e75a60620/numpy-2.3.0-cp311-cp311-win32.whl", hash = "sha256:ee9d3ee70d62827bc91f3ea5eee33153212c41f639918550ac0475e3588da59f", size = 6601108, upload-time = "2025-06-07T14:39:27.176Z" },- { url = "https://files.pythonhosted.org/packages/8c/4a/556406d2bb2b9874c8cbc840c962683ac28f21efbc9b01177d78f0199ca1/numpy-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:43c55b6a860b0eb44d42341438b03513cf3879cb3617afb749ad49307e164edd", size = 13021525, upload-time = "2025-06-07T14:39:46.637Z" },- { url = "https://files.pythonhosted.org/packages/ed/ee/bf54278aef30335ffa9a189f869ea09e1a195b3f4b93062164a3b02678a7/numpy-2.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:2e6a1409eee0cb0316cb64640a49a49ca44deb1a537e6b1121dc7c458a1299a8", size = 10170327, upload-time = "2025-06-07T14:40:02.703Z" },- { url = "https://files.pythonhosted.org/packages/89/59/9df493df81ac6f76e9f05cdbe013cdb0c9a37b434f6e594f5bd25e278908/numpy-2.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:389b85335838155a9076e9ad7f8fdba0827496ec2d2dc32ce69ce7898bde03ba", size = 20897025, upload-time = "2025-06-07T14:40:33.558Z" },- { url = "https://files.pythonhosted.org/packages/2f/86/4ff04335901d6cf3a6bb9c748b0097546ae5af35e455ae9b962ebff4ecd7/numpy-2.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9498f60cd6bb8238d8eaf468a3d5bb031d34cd12556af53510f05fcf581c1b7e", size = 14129882, upload-time = "2025-06-07T14:40:55.034Z" },- { url = "https://files.pythonhosted.org/packages/71/8d/a942cd4f959de7f08a79ab0c7e6cecb7431d5403dce78959a726f0f57aa1/numpy-2.3.0-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:622a65d40d8eb427d8e722fd410ac3ad4958002f109230bc714fa551044ebae2", size = 5110181, upload-time = "2025-06-07T14:41:04.4Z" },- { url = "https://files.pythonhosted.org/packages/86/5d/45850982efc7b2c839c5626fb67fbbc520d5b0d7c1ba1ae3651f2f74c296/numpy-2.3.0-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:b9446d9d8505aadadb686d51d838f2b6688c9e85636a0c3abaeb55ed54756459", size = 6647581, upload-time = "2025-06-07T14:41:14.695Z" },- { url = "https://files.pythonhosted.org/packages/1a/c0/c871d4a83f93b00373d3eebe4b01525eee8ef10b623a335ec262b58f4dc1/numpy-2.3.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:50080245365d75137a2bf46151e975de63146ae6d79f7e6bd5c0e85c9931d06a", size = 14262317, upload-time = "2025-06-07T14:41:35.862Z" },- { url = "https://files.pythonhosted.org/packages/b7/f6/bc47f5fa666d5ff4145254f9e618d56e6a4ef9b874654ca74c19113bb538/numpy-2.3.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:c24bb4113c66936eeaa0dc1e47c74770453d34f46ee07ae4efd853a2ed1ad10a", size = 16633919, upload-time = "2025-06-07T14:42:00.622Z" },- { url = "https://files.pythonhosted.org/packages/f5/b4/65f48009ca0c9b76df5f404fccdea5a985a1bb2e34e97f21a17d9ad1a4ba/numpy-2.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4d8d294287fdf685281e671886c6dcdf0291a7c19db3e5cb4178d07ccf6ecc67", size = 15567651, upload-time = "2025-06-07T14:42:24.429Z" },- { url = "https://files.pythonhosted.org/packages/f1/62/5367855a2018578e9334ed08252ef67cc302e53edc869666f71641cad40b/numpy-2.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6295f81f093b7f5769d1728a6bd8bf7466de2adfa771ede944ce6711382b89dc", size = 18361723, upload-time = "2025-06-07T14:42:51.167Z" },- { url = "https://files.pythonhosted.org/packages/d4/75/5baed8cd867eabee8aad1e74d7197d73971d6a3d40c821f1848b8fab8b84/numpy-2.3.0-cp312-cp312-win32.whl", hash = "sha256:e6648078bdd974ef5d15cecc31b0c410e2e24178a6e10bf511e0557eed0f2570", size = 6318285, upload-time = "2025-06-07T14:43:02.052Z" },- { url = "https://files.pythonhosted.org/packages/bc/49/d5781eaa1a15acb3b3a3f49dc9e2ff18d92d0ce5c2976f4ab5c0a7360250/numpy-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:0898c67a58cdaaf29994bc0e2c65230fd4de0ac40afaf1584ed0b02cd74c6fdd", size = 12732594, upload-time = "2025-06-07T14:43:21.071Z" },- { url = "https://files.pythonhosted.org/packages/c2/1c/6d343e030815c7c97a1f9fbad00211b47717c7fe446834c224bd5311e6f1/numpy-2.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:bd8df082b6c4695753ad6193018c05aac465d634834dca47a3ae06d4bb22d9ea", size = 9891498, upload-time = "2025-06-07T14:43:36.332Z" },- { url = "https://files.pythonhosted.org/packages/73/fc/1d67f751fd4dbafc5780244fe699bc4084268bad44b7c5deb0492473127b/numpy-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5754ab5595bfa2c2387d241296e0381c21f44a4b90a776c3c1d39eede13a746a", size = 20889633, upload-time = "2025-06-07T14:44:06.839Z" },- { url = "https://files.pythonhosted.org/packages/e8/95/73ffdb69e5c3f19ec4530f8924c4386e7ba097efc94b9c0aff607178ad94/numpy-2.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d11fa02f77752d8099573d64e5fe33de3229b6632036ec08f7080f46b6649959", size = 14151683, upload-time = "2025-06-07T14:44:28.847Z" },- { url = "https://files.pythonhosted.org/packages/64/d5/06d4bb31bb65a1d9c419eb5676173a2f90fd8da3c59f816cc54c640ce265/numpy-2.3.0-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:aba48d17e87688a765ab1cd557882052f238e2f36545dfa8e29e6a91aef77afe", size = 5102683, upload-time = "2025-06-07T14:44:38.417Z" },- { url = "https://files.pythonhosted.org/packages/12/8b/6c2cef44f8ccdc231f6b56013dff1d71138c48124334aded36b1a1b30c5a/numpy-2.3.0-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:4dc58865623023b63b10d52f18abaac3729346a7a46a778381e0e3af4b7f3beb", size = 6640253, upload-time = "2025-06-07T14:44:49.359Z" },- { url = "https://files.pythonhosted.org/packages/62/aa/fca4bf8de3396ddb59544df9b75ffe5b73096174de97a9492d426f5cd4aa/numpy-2.3.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:df470d376f54e052c76517393fa443758fefcdd634645bc9c1f84eafc67087f0", size = 14258658, upload-time = "2025-06-07T14:45:10.156Z" },- { url = "https://files.pythonhosted.org/packages/1c/12/734dce1087eed1875f2297f687e671cfe53a091b6f2f55f0c7241aad041b/numpy-2.3.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:87717eb24d4a8a64683b7a4e91ace04e2f5c7c77872f823f02a94feee186168f", size = 16628765, upload-time = "2025-06-07T14:45:35.076Z" },- { url = "https://files.pythonhosted.org/packages/48/03/ffa41ade0e825cbcd5606a5669962419528212a16082763fc051a7247d76/numpy-2.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d8fa264d56882b59dcb5ea4d6ab6f31d0c58a57b41aec605848b6eb2ef4a43e8", size = 15564335, upload-time = "2025-06-07T14:45:58.797Z" },- { url = "https://files.pythonhosted.org/packages/07/58/869398a11863310aee0ff85a3e13b4c12f20d032b90c4b3ee93c3b728393/numpy-2.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e651756066a0eaf900916497e20e02fe1ae544187cb0fe88de981671ee7f6270", size = 18360608, upload-time = "2025-06-07T14:46:25.687Z" },- { url = "https://files.pythonhosted.org/packages/2f/8a/5756935752ad278c17e8a061eb2127c9a3edf4ba2c31779548b336f23c8d/numpy-2.3.0-cp313-cp313-win32.whl", hash = "sha256:e43c3cce3b6ae5f94696669ff2a6eafd9a6b9332008bafa4117af70f4b88be6f", size = 6310005, upload-time = "2025-06-07T14:50:13.138Z" },- { url = "https://files.pythonhosted.org/packages/08/60/61d60cf0dfc0bf15381eaef46366ebc0c1a787856d1db0c80b006092af84/numpy-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:81ae0bf2564cf475f94be4a27ef7bcf8af0c3e28da46770fc904da9abd5279b5", size = 12729093, upload-time = "2025-06-07T14:50:31.82Z" },- { url = "https://files.pythonhosted.org/packages/66/31/2f2f2d2b3e3c32d5753d01437240feaa32220b73258c9eef2e42a0832866/numpy-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:c8738baa52505fa6e82778580b23f945e3578412554d937093eac9205e845e6e", size = 9885689, upload-time = "2025-06-07T14:50:47.888Z" },- { url = "https://files.pythonhosted.org/packages/f1/89/c7828f23cc50f607ceb912774bb4cff225ccae7131c431398ad8400e2c98/numpy-2.3.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:39b27d8b38942a647f048b675f134dd5a567f95bfff481f9109ec308515c51d8", size = 20986612, upload-time = "2025-06-07T14:46:56.077Z" },- { url = "https://files.pythonhosted.org/packages/dd/46/79ecf47da34c4c50eedec7511e53d57ffdfd31c742c00be7dc1d5ffdb917/numpy-2.3.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:0eba4a1ea88f9a6f30f56fdafdeb8da3774349eacddab9581a21234b8535d3d3", size = 14298953, upload-time = "2025-06-07T14:47:18.053Z" },- { url = "https://files.pythonhosted.org/packages/59/44/f6caf50713d6ff4480640bccb2a534ce1d8e6e0960c8f864947439f0ee95/numpy-2.3.0-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:b0f1f11d0a1da54927436505a5a7670b154eac27f5672afc389661013dfe3d4f", size = 5225806, upload-time = "2025-06-07T14:47:27.524Z" },- { url = "https://files.pythonhosted.org/packages/a6/43/e1fd1aca7c97e234dd05e66de4ab7a5be54548257efcdd1bc33637e72102/numpy-2.3.0-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:690d0a5b60a47e1f9dcec7b77750a4854c0d690e9058b7bef3106e3ae9117808", size = 6735169, upload-time = "2025-06-07T14:47:38.057Z" },- { url = "https://files.pythonhosted.org/packages/84/89/f76f93b06a03177c0faa7ca94d0856c4e5c4bcaf3c5f77640c9ed0303e1c/numpy-2.3.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:8b51ead2b258284458e570942137155978583e407babc22e3d0ed7af33ce06f8", size = 14330701, upload-time = "2025-06-07T14:47:59.113Z" },- { url = "https://files.pythonhosted.org/packages/aa/f5/4858c3e9ff7a7d64561b20580cf7cc5d085794bd465a19604945d6501f6c/numpy-2.3.0-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:aaf81c7b82c73bd9b45e79cfb9476cb9c29e937494bfe9092c26aece812818ad", size = 16692983, upload-time = "2025-06-07T14:48:24.196Z" },- { url = "https://files.pythonhosted.org/packages/08/17/0e3b4182e691a10e9483bcc62b4bb8693dbf9ea5dc9ba0b77a60435074bb/numpy-2.3.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:f420033a20b4f6a2a11f585f93c843ac40686a7c3fa514060a97d9de93e5e72b", size = 15641435, upload-time = "2025-06-07T14:48:47.712Z" },- { url = "https://files.pythonhosted.org/packages/4e/d5/463279fda028d3c1efa74e7e8d507605ae87f33dbd0543cf4c4527c8b882/numpy-2.3.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:d344ca32ab482bcf8735d8f95091ad081f97120546f3d250240868430ce52555", size = 18433798, upload-time = "2025-06-07T14:49:14.866Z" },- { url = "https://files.pythonhosted.org/packages/0e/1e/7a9d98c886d4c39a2b4d3a7c026bffcf8fbcaf518782132d12a301cfc47a/numpy-2.3.0-cp313-cp313t-win32.whl", hash = "sha256:48a2e8eaf76364c32a1feaa60d6925eaf32ed7a040183b807e02674305beef61", size = 6438632, upload-time = "2025-06-07T14:49:25.67Z" },- { url = "https://files.pythonhosted.org/packages/fe/ab/66fc909931d5eb230107d016861824f335ae2c0533f422e654e5ff556784/numpy-2.3.0-cp313-cp313t-win_amd64.whl", hash = "sha256:ba17f93a94e503551f154de210e4d50c5e3ee20f7e7a1b5f6ce3f22d419b93bb", size = 12868491, upload-time = "2025-06-07T14:49:44.898Z" },- { url = "https://files.pythonhosted.org/packages/ee/e8/2c8a1c9e34d6f6d600c83d5ce5b71646c32a13f34ca5c518cc060639841c/numpy-2.3.0-cp313-cp313t-win_arm64.whl", hash = "sha256:f14e016d9409680959691c109be98c436c6249eaf7f118b424679793607b5944", size = 9935345, upload-time = "2025-06-07T14:50:02.311Z" },- { url = "https://files.pythonhosted.org/packages/6a/a2/f8c1133f90eaa1c11bbbec1dc28a42054d0ce74bc2c9838c5437ba5d4980/numpy-2.3.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:80b46117c7359de8167cc00a2c7d823bdd505e8c7727ae0871025a86d668283b", size = 21070759, upload-time = "2025-06-07T14:51:18.241Z" },- { url = "https://files.pythonhosted.org/packages/6c/e0/4c05fc44ba28463096eee5ae2a12832c8d2759cc5bcec34ae33386d3ff83/numpy-2.3.0-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:5814a0f43e70c061f47abd5857d120179609ddc32a613138cbb6c4e9e2dbdda5", size = 5301054, upload-time = "2025-06-07T14:51:27.413Z" },- { url = "https://files.pythonhosted.org/packages/8a/3b/6c06cdebe922bbc2a466fe2105f50f661238ea223972a69c7deb823821e7/numpy-2.3.0-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:ef6c1e88fd6b81ac6d215ed71dc8cd027e54d4bf1d2682d362449097156267a2", size = 6817520, upload-time = "2025-06-07T14:51:38.015Z" },- { url = "https://files.pythonhosted.org/packages/9d/a3/1e536797fd10eb3c5dbd2e376671667c9af19e241843548575267242ea02/numpy-2.3.0-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:33a5a12a45bb82d9997e2c0b12adae97507ad7c347546190a18ff14c28bbca12", size = 14398078, upload-time = "2025-06-07T14:52:00.122Z" },- { url = "https://files.pythonhosted.org/packages/7c/61/9d574b10d9368ecb1a0c923952aa593510a20df4940aa615b3a71337c8db/numpy-2.3.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:54dfc8681c1906d239e95ab1508d0a533c4a9505e52ee2d71a5472b04437ef97", size = 16751324, upload-time = "2025-06-07T14:52:25.077Z" },- { url = "https://files.pythonhosted.org/packages/39/de/bcad52ce972dc26232629ca3a99721fd4b22c1d2bda84d5db6541913ef9c/numpy-2.3.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:e017a8a251ff4d18d71f139e28bdc7c31edba7a507f72b1414ed902cbe48c74d", size = 12924237, upload-time = "2025-06-07T14:52:44.713Z" },+sdist = { url = "https://files.pythonhosted.org/packages/37/7d/3fec4199c5ffb892bed55cff901e4f39a58c81df9c44c280499e92cad264/numpy-2.3.2.tar.gz", hash = "sha256:e0486a11ec30cdecb53f184d496d1c6a20786c81e55e41640270130056f8ee48", size = 20489306, upload-time = "2025-07-24T21:32:07.553Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/96/26/1320083986108998bd487e2931eed2aeedf914b6e8905431487543ec911d/numpy-2.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:852ae5bed3478b92f093e30f785c98e0cb62fa0a939ed057c31716e18a7a22b9", size = 21259016, upload-time = "2025-07-24T20:24:35.214Z" },+ { url = "https://files.pythonhosted.org/packages/c4/2b/792b341463fa93fc7e55abbdbe87dac316c5b8cb5e94fb7a59fb6fa0cda5/numpy-2.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7a0e27186e781a69959d0230dd9909b5e26024f8da10683bd6344baea1885168", size = 14451158, upload-time = "2025-07-24T20:24:58.397Z" },+ { url = "https://files.pythonhosted.org/packages/b7/13/e792d7209261afb0c9f4759ffef6135b35c77c6349a151f488f531d13595/numpy-2.3.2-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:f0a1a8476ad77a228e41619af2fa9505cf69df928e9aaa165746584ea17fed2b", size = 5379817, upload-time = "2025-07-24T20:25:07.746Z" },+ { url = "https://files.pythonhosted.org/packages/49/ce/055274fcba4107c022b2113a213c7287346563f48d62e8d2a5176ad93217/numpy-2.3.2-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:cbc95b3813920145032412f7e33d12080f11dc776262df1712e1638207dde9e8", size = 6913606, upload-time = "2025-07-24T20:25:18.84Z" },+ { url = "https://files.pythonhosted.org/packages/17/f2/e4d72e6bc5ff01e2ab613dc198d560714971900c03674b41947e38606502/numpy-2.3.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f75018be4980a7324edc5930fe39aa391d5734531b1926968605416ff58c332d", size = 14589652, upload-time = "2025-07-24T20:25:40.356Z" },+ { url = "https://files.pythonhosted.org/packages/c8/b0/fbeee3000a51ebf7222016e2939b5c5ecf8000a19555d04a18f1e02521b8/numpy-2.3.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:20b8200721840f5621b7bd03f8dcd78de33ec522fc40dc2641aa09537df010c3", size = 16938816, upload-time = "2025-07-24T20:26:05.721Z" },+ { url = "https://files.pythonhosted.org/packages/a9/ec/2f6c45c3484cc159621ea8fc000ac5a86f1575f090cac78ac27193ce82cd/numpy-2.3.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1f91e5c028504660d606340a084db4b216567ded1056ea2b4be4f9d10b67197f", size = 16370512, upload-time = "2025-07-24T20:26:30.545Z" },+ { url = "https://files.pythonhosted.org/packages/b5/01/dd67cf511850bd7aefd6347aaae0956ed415abea741ae107834aae7d6d4e/numpy-2.3.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:fb1752a3bb9a3ad2d6b090b88a9a0ae1cd6f004ef95f75825e2f382c183b2097", size = 18884947, upload-time = "2025-07-24T20:26:58.24Z" },+ { url = "https://files.pythonhosted.org/packages/a7/17/2cf60fd3e6a61d006778735edf67a222787a8c1a7842aed43ef96d777446/numpy-2.3.2-cp311-cp311-win32.whl", hash = "sha256:4ae6863868aaee2f57503c7a5052b3a2807cf7a3914475e637a0ecd366ced220", size = 6599494, upload-time = "2025-07-24T20:27:09.786Z" },+ { url = "https://files.pythonhosted.org/packages/d5/03/0eade211c504bda872a594f045f98ddcc6caef2b7c63610946845e304d3f/numpy-2.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:240259d6564f1c65424bcd10f435145a7644a65a6811cfc3201c4a429ba79170", size = 13087889, upload-time = "2025-07-24T20:27:29.558Z" },+ { url = "https://files.pythonhosted.org/packages/13/32/2c7979d39dafb2a25087e12310fc7f3b9d3c7d960df4f4bc97955ae0ce1d/numpy-2.3.2-cp311-cp311-win_arm64.whl", hash = "sha256:4209f874d45f921bde2cff1ffcd8a3695f545ad2ffbef6d3d3c6768162efab89", size = 10459560, upload-time = "2025-07-24T20:27:46.803Z" },+ { url = "https://files.pythonhosted.org/packages/00/6d/745dd1c1c5c284d17725e5c802ca4d45cfc6803519d777f087b71c9f4069/numpy-2.3.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:bc3186bea41fae9d8e90c2b4fb5f0a1f5a690682da79b92574d63f56b529080b", size = 20956420, upload-time = "2025-07-24T20:28:18.002Z" },+ { url = "https://files.pythonhosted.org/packages/bc/96/e7b533ea5740641dd62b07a790af5d9d8fec36000b8e2d0472bd7574105f/numpy-2.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2f4f0215edb189048a3c03bd5b19345bdfa7b45a7a6f72ae5945d2a28272727f", size = 14184660, upload-time = "2025-07-24T20:28:39.522Z" },+ { url = "https://files.pythonhosted.org/packages/2b/53/102c6122db45a62aa20d1b18c9986f67e6b97e0d6fbc1ae13e3e4c84430c/numpy-2.3.2-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:8b1224a734cd509f70816455c3cffe13a4f599b1bf7130f913ba0e2c0b2006c0", size = 5113382, upload-time = "2025-07-24T20:28:48.544Z" },+ { url = "https://files.pythonhosted.org/packages/2b/21/376257efcbf63e624250717e82b4fae93d60178f09eb03ed766dbb48ec9c/numpy-2.3.2-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:3dcf02866b977a38ba3ec10215220609ab9667378a9e2150615673f3ffd6c73b", size = 6647258, upload-time = "2025-07-24T20:28:59.104Z" },+ { url = "https://files.pythonhosted.org/packages/91/ba/f4ebf257f08affa464fe6036e13f2bf9d4642a40228781dc1235da81be9f/numpy-2.3.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:572d5512df5470f50ada8d1972c5f1082d9a0b7aa5944db8084077570cf98370", size = 14281409, upload-time = "2025-07-24T20:40:30.298Z" },+ { url = "https://files.pythonhosted.org/packages/59/ef/f96536f1df42c668cbacb727a8c6da7afc9c05ece6d558927fb1722693e1/numpy-2.3.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8145dd6d10df13c559d1e4314df29695613575183fa2e2d11fac4c208c8a1f73", size = 16641317, upload-time = "2025-07-24T20:40:56.625Z" },+ { url = "https://files.pythonhosted.org/packages/f6/a7/af813a7b4f9a42f498dde8a4c6fcbff8100eed00182cc91dbaf095645f38/numpy-2.3.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:103ea7063fa624af04a791c39f97070bf93b96d7af7eb23530cd087dc8dbe9dc", size = 16056262, upload-time = "2025-07-24T20:41:20.797Z" },+ { url = "https://files.pythonhosted.org/packages/8b/5d/41c4ef8404caaa7f05ed1cfb06afe16a25895260eacbd29b4d84dff2920b/numpy-2.3.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc927d7f289d14f5e037be917539620603294454130b6de200091e23d27dc9be", size = 18579342, upload-time = "2025-07-24T20:41:50.753Z" },+ { url = "https://files.pythonhosted.org/packages/a1/4f/9950e44c5a11636f4a3af6e825ec23003475cc9a466edb7a759ed3ea63bd/numpy-2.3.2-cp312-cp312-win32.whl", hash = "sha256:d95f59afe7f808c103be692175008bab926b59309ade3e6d25009e9a171f7036", size = 6320610, upload-time = "2025-07-24T20:42:01.551Z" },+ { url = "https://files.pythonhosted.org/packages/7c/2f/244643a5ce54a94f0a9a2ab578189c061e4a87c002e037b0829dd77293b6/numpy-2.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:9e196ade2400c0c737d93465327d1ae7c06c7cb8a1756121ebf54b06ca183c7f", size = 12786292, upload-time = "2025-07-24T20:42:20.738Z" },+ { url = "https://files.pythonhosted.org/packages/54/cd/7b5f49d5d78db7badab22d8323c1b6ae458fbf86c4fdfa194ab3cd4eb39b/numpy-2.3.2-cp312-cp312-win_arm64.whl", hash = "sha256:ee807923782faaf60d0d7331f5e86da7d5e3079e28b291973c545476c2b00d07", size = 10194071, upload-time = "2025-07-24T20:42:36.657Z" },+ { url = "https://files.pythonhosted.org/packages/1c/c0/c6bb172c916b00700ed3bf71cb56175fd1f7dbecebf8353545d0b5519f6c/numpy-2.3.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:c8d9727f5316a256425892b043736d63e89ed15bbfe6556c5ff4d9d4448ff3b3", size = 20949074, upload-time = "2025-07-24T20:43:07.813Z" },+ { url = "https://files.pythonhosted.org/packages/20/4e/c116466d22acaf4573e58421c956c6076dc526e24a6be0903219775d862e/numpy-2.3.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:efc81393f25f14d11c9d161e46e6ee348637c0a1e8a54bf9dedc472a3fae993b", size = 14177311, upload-time = "2025-07-24T20:43:29.335Z" },+ { url = "https://files.pythonhosted.org/packages/78/45/d4698c182895af189c463fc91d70805d455a227261d950e4e0f1310c2550/numpy-2.3.2-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:dd937f088a2df683cbb79dda9a772b62a3e5a8a7e76690612c2737f38c6ef1b6", size = 5106022, upload-time = "2025-07-24T20:43:37.999Z" },+ { url = "https://files.pythonhosted.org/packages/9f/76/3e6880fef4420179309dba72a8c11f6166c431cf6dee54c577af8906f914/numpy-2.3.2-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:11e58218c0c46c80509186e460d79fbdc9ca1eb8d8aee39d8f2dc768eb781089", size = 6640135, upload-time = "2025-07-24T20:43:49.28Z" },+ { url = "https://files.pythonhosted.org/packages/34/fa/87ff7f25b3c4ce9085a62554460b7db686fef1e0207e8977795c7b7d7ba1/numpy-2.3.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5ad4ebcb683a1f99f4f392cc522ee20a18b2bb12a2c1c42c3d48d5a1adc9d3d2", size = 14278147, upload-time = "2025-07-24T20:44:10.328Z" },+ { url = "https://files.pythonhosted.org/packages/1d/0f/571b2c7a3833ae419fe69ff7b479a78d313581785203cc70a8db90121b9a/numpy-2.3.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:938065908d1d869c7d75d8ec45f735a034771c6ea07088867f713d1cd3bbbe4f", size = 16635989, upload-time = "2025-07-24T20:44:34.88Z" },+ { url = "https://files.pythonhosted.org/packages/24/5a/84ae8dca9c9a4c592fe11340b36a86ffa9fd3e40513198daf8a97839345c/numpy-2.3.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:66459dccc65d8ec98cc7df61307b64bf9e08101f9598755d42d8ae65d9a7a6ee", size = 16053052, upload-time = "2025-07-24T20:44:58.872Z" },+ { url = "https://files.pythonhosted.org/packages/57/7c/e5725d99a9133b9813fcf148d3f858df98511686e853169dbaf63aec6097/numpy-2.3.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a7af9ed2aa9ec5950daf05bb11abc4076a108bd3c7db9aa7251d5f107079b6a6", size = 18577955, upload-time = "2025-07-24T20:45:26.714Z" },+ { url = "https://files.pythonhosted.org/packages/ae/11/7c546fcf42145f29b71e4d6f429e96d8d68e5a7ba1830b2e68d7418f0bbd/numpy-2.3.2-cp313-cp313-win32.whl", hash = "sha256:906a30249315f9c8e17b085cc5f87d3f369b35fedd0051d4a84686967bdbbd0b", size = 6311843, upload-time = "2025-07-24T20:49:24.444Z" },+ { url = "https://files.pythonhosted.org/packages/aa/6f/a428fd1cb7ed39b4280d057720fed5121b0d7754fd2a9768640160f5517b/numpy-2.3.2-cp313-cp313-win_amd64.whl", hash = "sha256:c63d95dc9d67b676e9108fe0d2182987ccb0f11933c1e8959f42fa0da8d4fa56", size = 12782876, upload-time = "2025-07-24T20:49:43.227Z" },+ { url = "https://files.pythonhosted.org/packages/65/85/4ea455c9040a12595fb6c43f2c217257c7b52dd0ba332c6a6c1d28b289fe/numpy-2.3.2-cp313-cp313-win_arm64.whl", hash = "sha256:b05a89f2fb84d21235f93de47129dd4f11c16f64c87c33f5e284e6a3a54e43f2", size = 10192786, upload-time = "2025-07-24T20:49:59.443Z" },+ { url = "https://files.pythonhosted.org/packages/80/23/8278f40282d10c3f258ec3ff1b103d4994bcad78b0cba9208317f6bb73da/numpy-2.3.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:4e6ecfeddfa83b02318f4d84acf15fbdbf9ded18e46989a15a8b6995dfbf85ab", size = 21047395, upload-time = "2025-07-24T20:45:58.821Z" },+ { url = "https://files.pythonhosted.org/packages/1f/2d/624f2ce4a5df52628b4ccd16a4f9437b37c35f4f8a50d00e962aae6efd7a/numpy-2.3.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:508b0eada3eded10a3b55725b40806a4b855961040180028f52580c4729916a2", size = 14300374, upload-time = "2025-07-24T20:46:20.207Z" },+ { url = "https://files.pythonhosted.org/packages/f6/62/ff1e512cdbb829b80a6bd08318a58698867bca0ca2499d101b4af063ee97/numpy-2.3.2-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:754d6755d9a7588bdc6ac47dc4ee97867271b17cee39cb87aef079574366db0a", size = 5228864, upload-time = "2025-07-24T20:46:30.58Z" },+ { url = "https://files.pythonhosted.org/packages/7d/8e/74bc18078fff03192d4032cfa99d5a5ca937807136d6f5790ce07ca53515/numpy-2.3.2-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:a9f66e7d2b2d7712410d3bc5684149040ef5f19856f20277cd17ea83e5006286", size = 6737533, upload-time = "2025-07-24T20:46:46.111Z" },+ { url = "https://files.pythonhosted.org/packages/19/ea/0731efe2c9073ccca5698ef6a8c3667c4cf4eea53fcdcd0b50140aba03bc/numpy-2.3.2-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:de6ea4e5a65d5a90c7d286ddff2b87f3f4ad61faa3db8dabe936b34c2275b6f8", size = 14352007, upload-time = "2025-07-24T20:47:07.1Z" },+ { url = "https://files.pythonhosted.org/packages/cf/90/36be0865f16dfed20f4bc7f75235b963d5939707d4b591f086777412ff7b/numpy-2.3.2-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a3ef07ec8cbc8fc9e369c8dcd52019510c12da4de81367d8b20bc692aa07573a", size = 16701914, upload-time = "2025-07-24T20:47:32.459Z" },+ { url = "https://files.pythonhosted.org/packages/94/30/06cd055e24cb6c38e5989a9e747042b4e723535758e6153f11afea88c01b/numpy-2.3.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:27c9f90e7481275c7800dc9c24b7cc40ace3fdb970ae4d21eaff983a32f70c91", size = 16132708, upload-time = "2025-07-24T20:47:58.129Z" },+ { url = "https://files.pythonhosted.org/packages/9a/14/ecede608ea73e58267fd7cb78f42341b3b37ba576e778a1a06baffbe585c/numpy-2.3.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:07b62978075b67eee4065b166d000d457c82a1efe726cce608b9db9dd66a73a5", size = 18651678, upload-time = "2025-07-24T20:48:25.402Z" },+ { url = "https://files.pythonhosted.org/packages/40/f3/2fe6066b8d07c3685509bc24d56386534c008b462a488b7f503ba82b8923/numpy-2.3.2-cp313-cp313t-win32.whl", hash = "sha256:c771cfac34a4f2c0de8e8c97312d07d64fd8f8ed45bc9f5726a7e947270152b5", size = 6441832, upload-time = "2025-07-24T20:48:37.181Z" },+ { url = "https://files.pythonhosted.org/packages/0b/ba/0937d66d05204d8f28630c9c60bc3eda68824abde4cf756c4d6aad03b0c6/numpy-2.3.2-cp313-cp313t-win_amd64.whl", hash = "sha256:72dbebb2dcc8305c431b2836bcc66af967df91be793d63a24e3d9b741374c450", size = 12927049, upload-time = "2025-07-24T20:48:56.24Z" },+ { url = "https://files.pythonhosted.org/packages/e9/ed/13542dd59c104d5e654dfa2ac282c199ba64846a74c2c4bcdbc3a0f75df1/numpy-2.3.2-cp313-cp313t-win_arm64.whl", hash = "sha256:72c6df2267e926a6d5286b0a6d556ebe49eae261062059317837fda12ddf0c1a", size = 10262935, upload-time = "2025-07-24T20:49:13.136Z" },+ { url = "https://files.pythonhosted.org/packages/c9/7c/7659048aaf498f7611b783e000c7268fcc4dcf0ce21cd10aad7b2e8f9591/numpy-2.3.2-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:448a66d052d0cf14ce9865d159bfc403282c9bc7bb2a31b03cc18b651eca8b1a", size = 20950906, upload-time = "2025-07-24T20:50:30.346Z" },+ { url = "https://files.pythonhosted.org/packages/80/db/984bea9d4ddf7112a04cfdfb22b1050af5757864cfffe8e09e44b7f11a10/numpy-2.3.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:546aaf78e81b4081b2eba1d105c3b34064783027a06b3ab20b6eba21fb64132b", size = 14185607, upload-time = "2025-07-24T20:50:51.923Z" },+ { url = "https://files.pythonhosted.org/packages/e4/76/b3d6f414f4eca568f469ac112a3b510938d892bc5a6c190cb883af080b77/numpy-2.3.2-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:87c930d52f45df092f7578889711a0768094debf73cfcde105e2d66954358125", size = 5114110, upload-time = "2025-07-24T20:51:01.041Z" },+ { url = "https://files.pythonhosted.org/packages/9e/d2/6f5e6826abd6bca52392ed88fe44a4b52aacb60567ac3bc86c67834c3a56/numpy-2.3.2-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:8dc082ea901a62edb8f59713c6a7e28a85daddcb67454c839de57656478f5b19", size = 6642050, upload-time = "2025-07-24T20:51:11.64Z" },+ { url = "https://files.pythonhosted.org/packages/c4/43/f12b2ade99199e39c73ad182f103f9d9791f48d885c600c8e05927865baf/numpy-2.3.2-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:af58de8745f7fa9ca1c0c7c943616c6fe28e75d0c81f5c295810e3c83b5be92f", size = 14296292, upload-time = "2025-07-24T20:51:33.488Z" },+ { url = "https://files.pythonhosted.org/packages/5d/f9/77c07d94bf110a916b17210fac38680ed8734c236bfed9982fd8524a7b47/numpy-2.3.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fed5527c4cf10f16c6d0b6bee1f89958bccb0ad2522c8cadc2efd318bcd545f5", size = 16638913, upload-time = "2025-07-24T20:51:58.517Z" },+ { url = "https://files.pythonhosted.org/packages/9b/d1/9d9f2c8ea399cc05cfff8a7437453bd4e7d894373a93cdc46361bbb49a7d/numpy-2.3.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:095737ed986e00393ec18ec0b21b47c22889ae4b0cd2d5e88342e08b01141f58", size = 16071180, upload-time = "2025-07-24T20:52:22.827Z" },+ { url = "https://files.pythonhosted.org/packages/4c/41/82e2c68aff2a0c9bf315e47d61951099fed65d8cb2c8d9dc388cb87e947e/numpy-2.3.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b5e40e80299607f597e1a8a247ff8d71d79c5b52baa11cc1cce30aa92d2da6e0", size = 18576809, upload-time = "2025-07-24T20:52:51.015Z" },+ { url = "https://files.pythonhosted.org/packages/14/14/4b4fd3efb0837ed252d0f583c5c35a75121038a8c4e065f2c259be06d2d8/numpy-2.3.2-cp314-cp314-win32.whl", hash = "sha256:7d6e390423cc1f76e1b8108c9b6889d20a7a1f59d9a60cac4a050fa734d6c1e2", size = 6366410, upload-time = "2025-07-24T20:56:44.949Z" },+ { url = "https://files.pythonhosted.org/packages/11/9e/b4c24a6b8467b61aced5c8dc7dcfce23621baa2e17f661edb2444a418040/numpy-2.3.2-cp314-cp314-win_amd64.whl", hash = "sha256:b9d0878b21e3918d76d2209c924ebb272340da1fb51abc00f986c258cd5e957b", size = 12918821, upload-time = "2025-07-24T20:57:06.479Z" },+ { url = "https://files.pythonhosted.org/packages/0e/0f/0dc44007c70b1007c1cef86b06986a3812dd7106d8f946c09cfa75782556/numpy-2.3.2-cp314-cp314-win_arm64.whl", hash = "sha256:2738534837c6a1d0c39340a190177d7d66fdf432894f469728da901f8f6dc910", size = 10477303, upload-time = "2025-07-24T20:57:22.879Z" },+ { url = "https://files.pythonhosted.org/packages/8b/3e/075752b79140b78ddfc9c0a1634d234cfdbc6f9bbbfa6b7504e445ad7d19/numpy-2.3.2-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:4d002ecf7c9b53240be3bb69d80f86ddbd34078bae04d87be81c1f58466f264e", size = 21047524, upload-time = "2025-07-24T20:53:22.086Z" },+ { url = "https://files.pythonhosted.org/packages/fe/6d/60e8247564a72426570d0e0ea1151b95ce5bd2f1597bb878a18d32aec855/numpy-2.3.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:293b2192c6bcce487dbc6326de5853787f870aeb6c43f8f9c6496db5b1781e45", size = 14300519, upload-time = "2025-07-24T20:53:44.053Z" },+ { url = "https://files.pythonhosted.org/packages/4d/73/d8326c442cd428d47a067070c3ac6cc3b651a6e53613a1668342a12d4479/numpy-2.3.2-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:0a4f2021a6da53a0d580d6ef5db29947025ae8b35b3250141805ea9a32bbe86b", size = 5228972, upload-time = "2025-07-24T20:53:53.81Z" },+ { url = "https://files.pythonhosted.org/packages/34/2e/e71b2d6dad075271e7079db776196829019b90ce3ece5c69639e4f6fdc44/numpy-2.3.2-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:9c144440db4bf3bb6372d2c3e49834cc0ff7bb4c24975ab33e01199e645416f2", size = 6737439, upload-time = "2025-07-24T20:54:04.742Z" },+ { url = "https://files.pythonhosted.org/packages/15/b0/d004bcd56c2c5e0500ffc65385eb6d569ffd3363cb5e593ae742749b2daa/numpy-2.3.2-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f92d6c2a8535dc4fe4419562294ff957f83a16ebdec66df0805e473ffaad8bd0", size = 14352479, upload-time = "2025-07-24T20:54:25.819Z" },+ { url = "https://files.pythonhosted.org/packages/11/e3/285142fcff8721e0c99b51686426165059874c150ea9ab898e12a492e291/numpy-2.3.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cefc2219baa48e468e3db7e706305fcd0c095534a192a08f31e98d83a7d45fb0", size = 16702805, upload-time = "2025-07-24T20:54:50.814Z" },+ { url = "https://files.pythonhosted.org/packages/33/c3/33b56b0e47e604af2c7cd065edca892d180f5899599b76830652875249a3/numpy-2.3.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:76c3e9501ceb50b2ff3824c3589d5d1ab4ac857b0ee3f8f49629d0de55ecf7c2", size = 16133830, upload-time = "2025-07-24T20:55:17.306Z" },+ { url = "https://files.pythonhosted.org/packages/6e/ae/7b1476a1f4d6a48bc669b8deb09939c56dd2a439db1ab03017844374fb67/numpy-2.3.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:122bf5ed9a0221b3419672493878ba4967121514b1d7d4656a7580cd11dddcbf", size = 18652665, upload-time = "2025-07-24T20:55:46.665Z" },+ { url = "https://files.pythonhosted.org/packages/14/ba/5b5c9978c4bb161034148ade2de9db44ec316fab89ce8c400db0e0c81f86/numpy-2.3.2-cp314-cp314t-win32.whl", hash = "sha256:6f1ae3dcb840edccc45af496f312528c15b1f79ac318169d094e85e4bb35fdf1", size = 6514777, upload-time = "2025-07-24T20:55:57.66Z" },+ { url = "https://files.pythonhosted.org/packages/eb/46/3dbaf0ae7c17cdc46b9f662c56da2054887b8d9e737c1476f335c83d33db/numpy-2.3.2-cp314-cp314t-win_amd64.whl", hash = "sha256:087ffc25890d89a43536f75c5fe8770922008758e8eeeef61733957041ed2f9b", size = 13111856, upload-time = "2025-07-24T20:56:17.318Z" },+ { url = "https://files.pythonhosted.org/packages/c1/9e/1652778bce745a67b5fe05adde60ed362d38eb17d919a540e813d30f6874/numpy-2.3.2-cp314-cp314t-win_arm64.whl", hash = "sha256:092aeb3449833ea9c0bf0089d70c29ae480685dd2377ec9cdbbb620257f84631", size = 10544226, upload-time = "2025-07-24T20:56:34.509Z" },+ { url = "https://files.pythonhosted.org/packages/cf/ea/50ebc91d28b275b23b7128ef25c3d08152bc4068f42742867e07a870a42a/numpy-2.3.2-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:14a91ebac98813a49bc6aa1a0dfc09513dcec1d97eaf31ca21a87221a1cdcb15", size = 21130338, upload-time = "2025-07-24T20:57:54.37Z" },+ { url = "https://files.pythonhosted.org/packages/9f/57/cdd5eac00dd5f137277355c318a955c0d8fb8aa486020c22afd305f8b88f/numpy-2.3.2-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:71669b5daae692189540cffc4c439468d35a3f84f0c88b078ecd94337f6cb0ec", size = 14375776, upload-time = "2025-07-24T20:58:16.303Z" },+ { url = "https://files.pythonhosted.org/packages/83/85/27280c7f34fcd305c2209c0cdca4d70775e4859a9eaa92f850087f8dea50/numpy-2.3.2-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:69779198d9caee6e547adb933941ed7520f896fd9656834c300bdf4dd8642712", size = 5304882, upload-time = "2025-07-24T20:58:26.199Z" },+ { url = "https://files.pythonhosted.org/packages/48/b4/6500b24d278e15dd796f43824e69939d00981d37d9779e32499e823aa0aa/numpy-2.3.2-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:2c3271cc4097beb5a60f010bcc1cc204b300bb3eafb4399376418a83a1c6373c", size = 6818405, upload-time = "2025-07-24T20:58:37.341Z" },+ { url = "https://files.pythonhosted.org/packages/9b/c9/142c1e03f199d202da8e980c2496213509291b6024fd2735ad28ae7065c7/numpy-2.3.2-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8446acd11fe3dc1830568c941d44449fd5cb83068e5c70bd5a470d323d448296", size = 14419651, upload-time = "2025-07-24T20:58:59.048Z" },+ { url = "https://files.pythonhosted.org/packages/8b/95/8023e87cbea31a750a6c00ff9427d65ebc5fef104a136bfa69f76266d614/numpy-2.3.2-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:aa098a5ab53fa407fded5870865c6275a5cd4101cfdef8d6fafc48286a96e981", size = 16760166, upload-time = "2025-07-24T21:28:56.38Z" },+ { url = "https://files.pythonhosted.org/packages/78/e3/6690b3f85a05506733c7e90b577e4762517404ea78bab2ca3a5cb1aeb78d/numpy-2.3.2-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:6936aff90dda378c09bea075af0d9c675fe3a977a9d2402f95a87f440f59f619", size = 12977811, upload-time = "2025-07-24T21:29:18.234Z" },][[package]]name = "oauthlib"-version = "3.2.2"+version = "3.3.1"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/6d/fa/fbf4001037904031639e6bfbfc02badfc7e12f137a8afa254df6c4c8a670/oauthlib-3.2.2.tar.gz", hash = "sha256:9859c40929662bec5d64f34d01c99e093149682a3f38915dc0655d5a633dd918", size = 177352, upload-time = "2022-10-17T20:04:27.471Z" }+sdist = { url = "https://files.pythonhosted.org/packages/0b/5f/19930f824ffeb0ad4372da4812c50edbd1434f678c90c2733e1188edfc63/oauthlib-3.3.1.tar.gz", hash = "sha256:0f0f8aa759826a193cf66c12ea1af1637f87b9b4622d46e866952bb022e538c9", size = 185918, upload-time = "2025-06-19T22:48:08.269Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/7e/80/cab10959dc1faead58dc8384a781dfbf93cb4d33d50988f7a69f1b7c9bbe/oauthlib-3.2.2-py3-none-any.whl", hash = "sha256:8139f29aac13e25d502680e9e19963e83f16838d48a0d71c287fe40e7067fbca", size = 151688, upload-time = "2022-10-17T20:04:24.037Z" },+ { url = "https://files.pythonhosted.org/packages/be/9c/92789c596b8df838baa98fa71844d84283302f7604ed565dafe5a6b5041a/oauthlib-3.3.1-py3-none-any.whl", hash = "sha256:88119c938d2b8fb88561af5f6ee0eec8cc8d552b7bb1f712743136eb7523b7a1", size = 160065, upload-time = "2025-06-19T22:48:06.508Z" },][[package]]name = "openai"-version = "1.86.0"+version = "1.101.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "anyio" },@@ -1562,9 +1654,9 @@ dependencies = [{ name = "tqdm" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/ec/7a/9ad4a61f1502f0e59d8c27fb629e28a63259a44d8d31cd2314e1534a2d9f/openai-1.86.0.tar.gz", hash = "sha256:c64d5b788359a8fdf69bd605ae804ce41c1ce2e78b8dd93e2542e0ee267f1e4b", size = 468272, upload-time = "2025-06-10T16:50:32.962Z" }+sdist = { url = "https://files.pythonhosted.org/packages/00/7c/eaf06b62281f5ca4f774c4cff066e6ddfd6a027e0ac791be16acec3a95e3/openai-1.101.0.tar.gz", hash = "sha256:29f56df2236069686e64aca0e13c24a4ec310545afb25ef7da2ab1a18523f22d", size = 518415, upload-time = "2025-08-21T21:11:01.645Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/58/c1/dfb16b3432810fc9758564f9d1a4dbce6b93b7fb763ba57530c7fc48316d/openai-1.86.0-py3-none-any.whl", hash = "sha256:c8889c39410621fe955c230cc4c21bfe36ec887f4e60a957de05f507d7e1f349", size = 730296, upload-time = "2025-06-10T16:50:30.495Z" },+ { url = "https://files.pythonhosted.org/packages/c8/a6/0e39baa335bbd1c66c7e0a41dbbec10c5a15ab95c1344e7f7beb28eee65a/openai-1.101.0-py3-none-any.whl", hash = "sha256:6539a446cce154f8d9fb42757acdfd3ed9357ab0d34fcac11096c461da87133b", size = 810772, upload-time = "2025-08-21T21:10:59.215Z" },][[package]]@@ -1599,65 +1691,65 @@ wheels = [[[package]]name = "pandas"-version = "2.3.0"+version = "2.3.2"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },- { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },+ { name = "numpy", version = "2.3.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },{ name = "python-dateutil" },{ name = "pytz" },{ name = "tzdata" },]-sdist = { url = "https://files.pythonhosted.org/packages/72/51/48f713c4c728d7c55ef7444ba5ea027c26998d96d1a40953b346438602fc/pandas-2.3.0.tar.gz", hash = "sha256:34600ab34ebf1131a7613a260a61dbe8b62c188ec0ea4c296da7c9a06b004133", size = 4484490, upload-time = "2025-06-05T03:27:54.133Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/e2/2d/df6b98c736ba51b8eaa71229e8fcd91233a831ec00ab520e1e23090cc072/pandas-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:625466edd01d43b75b1883a64d859168e4556261a5035b32f9d743b67ef44634", size = 11527531, upload-time = "2025-06-05T03:25:48.648Z" },- { url = "https://files.pythonhosted.org/packages/77/1c/3f8c331d223f86ba1d0ed7d3ed7fcf1501c6f250882489cc820d2567ddbf/pandas-2.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a6872d695c896f00df46b71648eea332279ef4077a409e2fe94220208b6bb675", size = 10774764, upload-time = "2025-06-05T03:25:53.228Z" },- { url = "https://files.pythonhosted.org/packages/1b/45/d2599400fad7fe06b849bd40b52c65684bc88fbe5f0a474d0513d057a377/pandas-2.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f4dd97c19bd06bc557ad787a15b6489d2614ddaab5d104a0310eb314c724b2d2", size = 11711963, upload-time = "2025-06-05T03:25:56.855Z" },- { url = "https://files.pythonhosted.org/packages/66/f8/5508bc45e994e698dbc93607ee6b9b6eb67df978dc10ee2b09df80103d9e/pandas-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:034abd6f3db8b9880aaee98f4f5d4dbec7c4829938463ec046517220b2f8574e", size = 12349446, upload-time = "2025-06-05T03:26:01.292Z" },- { url = "https://files.pythonhosted.org/packages/f7/fc/17851e1b1ea0c8456ba90a2f514c35134dd56d981cf30ccdc501a0adeac4/pandas-2.3.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:23c2b2dc5213810208ca0b80b8666670eb4660bbfd9d45f58592cc4ddcfd62e1", size = 12920002, upload-time = "2025-06-06T00:00:07.925Z" },- { url = "https://files.pythonhosted.org/packages/a1/9b/8743be105989c81fa33f8e2a4e9822ac0ad4aaf812c00fee6bb09fc814f9/pandas-2.3.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:39ff73ec07be5e90330cc6ff5705c651ace83374189dcdcb46e6ff54b4a72cd6", size = 13651218, upload-time = "2025-06-05T03:26:09.731Z" },- { url = "https://files.pythonhosted.org/packages/26/fa/8eeb2353f6d40974a6a9fd4081ad1700e2386cf4264a8f28542fd10b3e38/pandas-2.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:40cecc4ea5abd2921682b57532baea5588cc5f80f0231c624056b146887274d2", size = 11082485, upload-time = "2025-06-05T03:26:17.572Z" },- { url = "https://files.pythonhosted.org/packages/96/1e/ba313812a699fe37bf62e6194265a4621be11833f5fce46d9eae22acb5d7/pandas-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:8adff9f138fc614347ff33812046787f7d43b3cef7c0f0171b3340cae333f6ca", size = 11551836, upload-time = "2025-06-05T03:26:22.784Z" },- { url = "https://files.pythonhosted.org/packages/1b/cc/0af9c07f8d714ea563b12383a7e5bde9479cf32413ee2f346a9c5a801f22/pandas-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e5f08eb9a445d07720776df6e641975665c9ea12c9d8a331e0f6890f2dcd76ef", size = 10807977, upload-time = "2025-06-05T16:50:11.109Z" },- { url = "https://files.pythonhosted.org/packages/ee/3e/8c0fb7e2cf4a55198466ced1ca6a9054ae3b7e7630df7757031df10001fd/pandas-2.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fa35c266c8cd1a67d75971a1912b185b492d257092bdd2709bbdebe574ed228d", size = 11788230, upload-time = "2025-06-05T03:26:27.417Z" },- { url = "https://files.pythonhosted.org/packages/14/22/b493ec614582307faf3f94989be0f7f0a71932ed6f56c9a80c0bb4a3b51e/pandas-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:14a0cc77b0f089d2d2ffe3007db58f170dae9b9f54e569b299db871a3ab5bf46", size = 12370423, upload-time = "2025-06-05T03:26:34.142Z" },- { url = "https://files.pythonhosted.org/packages/9f/74/b012addb34cda5ce855218a37b258c4e056a0b9b334d116e518d72638737/pandas-2.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c06f6f144ad0a1bf84699aeea7eff6068ca5c63ceb404798198af7eb86082e33", size = 12990594, upload-time = "2025-06-06T00:00:13.934Z" },- { url = "https://files.pythonhosted.org/packages/95/81/b310e60d033ab64b08e66c635b94076488f0b6ce6a674379dd5b224fc51c/pandas-2.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ed16339bc354a73e0a609df36d256672c7d296f3f767ac07257801aa064ff73c", size = 13745952, upload-time = "2025-06-05T03:26:39.475Z" },- { url = "https://files.pythonhosted.org/packages/25/ac/f6ee5250a8881b55bd3aecde9b8cfddea2f2b43e3588bca68a4e9aaf46c8/pandas-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:fa07e138b3f6c04addfeaf56cc7fdb96c3b68a3fe5e5401251f231fce40a0d7a", size = 11094534, upload-time = "2025-06-05T03:26:43.23Z" },- { url = "https://files.pythonhosted.org/packages/94/46/24192607058dd607dbfacdd060a2370f6afb19c2ccb617406469b9aeb8e7/pandas-2.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2eb4728a18dcd2908c7fccf74a982e241b467d178724545a48d0caf534b38ebf", size = 11573865, upload-time = "2025-06-05T03:26:46.774Z" },- { url = "https://files.pythonhosted.org/packages/9f/cc/ae8ea3b800757a70c9fdccc68b67dc0280a6e814efcf74e4211fd5dea1ca/pandas-2.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b9d8c3187be7479ea5c3d30c32a5d73d62a621166675063b2edd21bc47614027", size = 10702154, upload-time = "2025-06-05T16:50:14.439Z" },- { url = "https://files.pythonhosted.org/packages/d8/ba/a7883d7aab3d24c6540a2768f679e7414582cc389876d469b40ec749d78b/pandas-2.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9ff730713d4c4f2f1c860e36c005c7cefc1c7c80c21c0688fd605aa43c9fcf09", size = 11262180, upload-time = "2025-06-05T16:50:17.453Z" },- { url = "https://files.pythonhosted.org/packages/01/a5/931fc3ad333d9d87b10107d948d757d67ebcfc33b1988d5faccc39c6845c/pandas-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba24af48643b12ffe49b27065d3babd52702d95ab70f50e1b34f71ca703e2c0d", size = 11991493, upload-time = "2025-06-05T03:26:51.813Z" },- { url = "https://files.pythonhosted.org/packages/d7/bf/0213986830a92d44d55153c1d69b509431a972eb73f204242988c4e66e86/pandas-2.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:404d681c698e3c8a40a61d0cd9412cc7364ab9a9cc6e144ae2992e11a2e77a20", size = 12470733, upload-time = "2025-06-06T00:00:18.651Z" },- { url = "https://files.pythonhosted.org/packages/a4/0e/21eb48a3a34a7d4bac982afc2c4eb5ab09f2d988bdf29d92ba9ae8e90a79/pandas-2.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6021910b086b3ca756755e86ddc64e0ddafd5e58e076c72cb1585162e5ad259b", size = 13212406, upload-time = "2025-06-05T03:26:55.992Z" },- { url = "https://files.pythonhosted.org/packages/1f/d9/74017c4eec7a28892d8d6e31ae9de3baef71f5a5286e74e6b7aad7f8c837/pandas-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:094e271a15b579650ebf4c5155c05dcd2a14fd4fdd72cf4854b2f7ad31ea30be", size = 10976199, upload-time = "2025-06-05T03:26:59.594Z" },- { url = "https://files.pythonhosted.org/packages/d3/57/5cb75a56a4842bbd0511c3d1c79186d8315b82dac802118322b2de1194fe/pandas-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2c7e2fc25f89a49a11599ec1e76821322439d90820108309bf42130d2f36c983", size = 11518913, upload-time = "2025-06-05T03:27:02.757Z" },- { url = "https://files.pythonhosted.org/packages/05/01/0c8785610e465e4948a01a059562176e4c8088aa257e2e074db868f86d4e/pandas-2.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c6da97aeb6a6d233fb6b17986234cc723b396b50a3c6804776351994f2a658fd", size = 10655249, upload-time = "2025-06-05T16:50:20.17Z" },- { url = "https://files.pythonhosted.org/packages/e8/6a/47fd7517cd8abe72a58706aab2b99e9438360d36dcdb052cf917b7bf3bdc/pandas-2.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb32dc743b52467d488e7a7c8039b821da2826a9ba4f85b89ea95274f863280f", size = 11328359, upload-time = "2025-06-05T03:27:06.431Z" },- { url = "https://files.pythonhosted.org/packages/2a/b3/463bfe819ed60fb7e7ddffb4ae2ee04b887b3444feee6c19437b8f834837/pandas-2.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:213cd63c43263dbb522c1f8a7c9d072e25900f6975596f883f4bebd77295d4f3", size = 12024789, upload-time = "2025-06-05T03:27:09.875Z" },- { url = "https://files.pythonhosted.org/packages/04/0c/e0704ccdb0ac40aeb3434d1c641c43d05f75c92e67525df39575ace35468/pandas-2.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:1d2b33e68d0ce64e26a4acc2e72d747292084f4e8db4c847c6f5f6cbe56ed6d8", size = 12480734, upload-time = "2025-06-06T00:00:22.246Z" },- { url = "https://files.pythonhosted.org/packages/e9/df/815d6583967001153bb27f5cf075653d69d51ad887ebbf4cfe1173a1ac58/pandas-2.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:430a63bae10b5086995db1b02694996336e5a8ac9a96b4200572b413dfdfccb9", size = 13223381, upload-time = "2025-06-05T03:27:15.641Z" },- { url = "https://files.pythonhosted.org/packages/79/88/ca5973ed07b7f484c493e941dbff990861ca55291ff7ac67c815ce347395/pandas-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:4930255e28ff5545e2ca404637bcc56f031893142773b3468dc021c6c32a1390", size = 10970135, upload-time = "2025-06-05T03:27:24.131Z" },- { url = "https://files.pythonhosted.org/packages/24/fb/0994c14d1f7909ce83f0b1fb27958135513c4f3f2528bde216180aa73bfc/pandas-2.3.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:f925f1ef673b4bd0271b1809b72b3270384f2b7d9d14a189b12b7fc02574d575", size = 12141356, upload-time = "2025-06-05T03:27:34.547Z" },- { url = "https://files.pythonhosted.org/packages/9d/a2/9b903e5962134497ac4f8a96f862ee3081cb2506f69f8e4778ce3d9c9d82/pandas-2.3.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e78ad363ddb873a631e92a3c063ade1ecfb34cae71e9a2be6ad100f875ac1042", size = 11474674, upload-time = "2025-06-05T03:27:39.448Z" },- { url = "https://files.pythonhosted.org/packages/81/3a/3806d041bce032f8de44380f866059437fb79e36d6b22c82c187e65f765b/pandas-2.3.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:951805d146922aed8357e4cc5671b8b0b9be1027f0619cea132a9f3f65f2f09c", size = 11439876, upload-time = "2025-06-05T03:27:43.652Z" },- { url = "https://files.pythonhosted.org/packages/15/aa/3fc3181d12b95da71f5c2537c3e3b3af6ab3a8c392ab41ebb766e0929bc6/pandas-2.3.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a881bc1309f3fce34696d07b00f13335c41f5f5a8770a33b09ebe23261cfc67", size = 11966182, upload-time = "2025-06-05T03:27:47.652Z" },- { url = "https://files.pythonhosted.org/packages/37/e7/e12f2d9b0a2c4a2cc86e2aabff7ccfd24f03e597d770abfa2acd313ee46b/pandas-2.3.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:e1991bbb96f4050b09b5f811253c4f3cf05ee89a589379aa36cd623f21a31d6f", size = 12547686, upload-time = "2025-06-06T00:00:26.142Z" },- { url = "https://files.pythonhosted.org/packages/39/c2/646d2e93e0af70f4e5359d870a63584dacbc324b54d73e6b3267920ff117/pandas-2.3.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:bb3be958022198531eb7ec2008cfc78c5b1eed51af8600c6c5d9160d89d8d249", size = 13231847, upload-time = "2025-06-05T03:27:51.465Z" },+sdist = { url = "https://files.pythonhosted.org/packages/79/8e/0e90233ac205ad182bd6b422532695d2b9414944a280488105d598c70023/pandas-2.3.2.tar.gz", hash = "sha256:ab7b58f8f82706890924ccdfb5f48002b83d2b5a3845976a9fb705d36c34dcdb", size = 4488684, upload-time = "2025-08-21T10:28:29.257Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/2e/16/a8eeb70aad84ccbf14076793f90e0031eded63c1899aeae9fdfbf37881f4/pandas-2.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:52bc29a946304c360561974c6542d1dd628ddafa69134a7131fdfd6a5d7a1a35", size = 11539648, upload-time = "2025-08-21T10:26:36.236Z" },+ { url = "https://files.pythonhosted.org/packages/47/f1/c5bdaea13bf3708554d93e948b7ea74121ce6e0d59537ca4c4f77731072b/pandas-2.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:220cc5c35ffaa764dd5bb17cf42df283b5cb7fdf49e10a7b053a06c9cb48ee2b", size = 10786923, upload-time = "2025-08-21T10:26:40.518Z" },+ { url = "https://files.pythonhosted.org/packages/bb/10/811fa01476d29ffed692e735825516ad0e56d925961819e6126b4ba32147/pandas-2.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42c05e15111221384019897df20c6fe893b2f697d03c811ee67ec9e0bb5a3424", size = 11726241, upload-time = "2025-08-21T10:26:43.175Z" },+ { url = "https://files.pythonhosted.org/packages/c4/6a/40b043b06e08df1ea1b6d20f0e0c2f2c4ec8c4f07d1c92948273d943a50b/pandas-2.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cc03acc273c5515ab69f898df99d9d4f12c4d70dbfc24c3acc6203751d0804cf", size = 12349533, upload-time = "2025-08-21T10:26:46.611Z" },+ { url = "https://files.pythonhosted.org/packages/e2/ea/2e081a2302e41a9bca7056659fdd2b85ef94923723e41665b42d65afd347/pandas-2.3.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d25c20a03e8870f6339bcf67281b946bd20b86f1a544ebbebb87e66a8d642cba", size = 13202407, upload-time = "2025-08-21T10:26:49.068Z" },+ { url = "https://files.pythonhosted.org/packages/f4/12/7ff9f6a79e2ee8869dcf70741ef998b97ea20050fe25f83dc759764c1e32/pandas-2.3.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:21bb612d148bb5860b7eb2c10faacf1a810799245afd342cf297d7551513fbb6", size = 13837212, upload-time = "2025-08-21T10:26:51.832Z" },+ { url = "https://files.pythonhosted.org/packages/d8/df/5ab92fcd76455a632b3db34a746e1074d432c0cdbbd28d7cd1daba46a75d/pandas-2.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:b62d586eb25cb8cb70a5746a378fc3194cb7f11ea77170d59f889f5dfe3cec7a", size = 11338099, upload-time = "2025-08-21T10:26:54.382Z" },+ { url = "https://files.pythonhosted.org/packages/7a/59/f3e010879f118c2d400902d2d871c2226cef29b08c09fb8dc41111730400/pandas-2.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1333e9c299adcbb68ee89a9bb568fc3f20f9cbb419f1dd5225071e6cddb2a743", size = 11563308, upload-time = "2025-08-21T10:26:56.656Z" },+ { url = "https://files.pythonhosted.org/packages/38/18/48f10f1cc5c397af59571d638d211f494dba481f449c19adbd282aa8f4ca/pandas-2.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:76972bcbd7de8e91ad5f0ca884a9f2c477a2125354af624e022c49e5bd0dfff4", size = 10820319, upload-time = "2025-08-21T10:26:59.162Z" },+ { url = "https://files.pythonhosted.org/packages/95/3b/1e9b69632898b048e223834cd9702052bcf06b15e1ae716eda3196fb972e/pandas-2.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b98bdd7c456a05eef7cd21fd6b29e3ca243591fe531c62be94a2cc987efb5ac2", size = 11790097, upload-time = "2025-08-21T10:27:02.204Z" },+ { url = "https://files.pythonhosted.org/packages/8b/ef/0e2ffb30b1f7fbc9a588bd01e3c14a0d96854d09a887e15e30cc19961227/pandas-2.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1d81573b3f7db40d020983f78721e9bfc425f411e616ef019a10ebf597aedb2e", size = 12397958, upload-time = "2025-08-21T10:27:05.409Z" },+ { url = "https://files.pythonhosted.org/packages/23/82/e6b85f0d92e9afb0e7f705a51d1399b79c7380c19687bfbf3d2837743249/pandas-2.3.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e190b738675a73b581736cc8ec71ae113d6c3768d0bd18bffa5b9a0927b0b6ea", size = 13225600, upload-time = "2025-08-21T10:27:07.791Z" },+ { url = "https://files.pythonhosted.org/packages/e8/f1/f682015893d9ed51611948bd83683670842286a8edd4f68c2c1c3b231eef/pandas-2.3.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:c253828cb08f47488d60f43c5fc95114c771bbfff085da54bfc79cb4f9e3a372", size = 13879433, upload-time = "2025-08-21T10:27:10.347Z" },+ { url = "https://files.pythonhosted.org/packages/a7/e7/ae86261695b6c8a36d6a4c8d5f9b9ede8248510d689a2f379a18354b37d7/pandas-2.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:9467697b8083f9667b212633ad6aa4ab32436dcbaf4cd57325debb0ddef2012f", size = 11336557, upload-time = "2025-08-21T10:27:12.983Z" },+ { url = "https://files.pythonhosted.org/packages/ec/db/614c20fb7a85a14828edd23f1c02db58a30abf3ce76f38806155d160313c/pandas-2.3.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3fbb977f802156e7a3f829e9d1d5398f6192375a3e2d1a9ee0803e35fe70a2b9", size = 11587652, upload-time = "2025-08-21T10:27:15.888Z" },+ { url = "https://files.pythonhosted.org/packages/99/b0/756e52f6582cade5e746f19bad0517ff27ba9c73404607c0306585c201b3/pandas-2.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1b9b52693123dd234b7c985c68b709b0b009f4521000d0525f2b95c22f15944b", size = 10717686, upload-time = "2025-08-21T10:27:18.486Z" },+ { url = "https://files.pythonhosted.org/packages/37/4c/dd5ccc1e357abfeee8353123282de17997f90ff67855f86154e5a13b81e5/pandas-2.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0bd281310d4f412733f319a5bc552f86d62cddc5f51d2e392c8787335c994175", size = 11278722, upload-time = "2025-08-21T10:27:21.149Z" },+ { url = "https://files.pythonhosted.org/packages/d3/a4/f7edcfa47e0a88cda0be8b068a5bae710bf264f867edfdf7b71584ace362/pandas-2.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:96d31a6b4354e3b9b8a2c848af75d31da390657e3ac6f30c05c82068b9ed79b9", size = 11987803, upload-time = "2025-08-21T10:27:23.767Z" },+ { url = "https://files.pythonhosted.org/packages/f6/61/1bce4129f93ab66f1c68b7ed1c12bac6a70b1b56c5dab359c6bbcd480b52/pandas-2.3.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:df4df0b9d02bb873a106971bb85d448378ef14b86ba96f035f50bbd3688456b4", size = 12766345, upload-time = "2025-08-21T10:27:26.6Z" },+ { url = "https://files.pythonhosted.org/packages/8e/46/80d53de70fee835531da3a1dae827a1e76e77a43ad22a8cd0f8142b61587/pandas-2.3.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:213a5adf93d020b74327cb2c1b842884dbdd37f895f42dcc2f09d451d949f811", size = 13439314, upload-time = "2025-08-21T10:27:29.213Z" },+ { url = "https://files.pythonhosted.org/packages/28/30/8114832daff7489f179971dbc1d854109b7f4365a546e3ea75b6516cea95/pandas-2.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:8c13b81a9347eb8c7548f53fd9a4f08d4dfe996836543f805c987bafa03317ae", size = 10983326, upload-time = "2025-08-21T10:27:31.901Z" },+ { url = "https://files.pythonhosted.org/packages/27/64/a2f7bf678af502e16b472527735d168b22b7824e45a4d7e96a4fbb634b59/pandas-2.3.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0c6ecbac99a354a051ef21c5307601093cb9e0f4b1855984a084bfec9302699e", size = 11531061, upload-time = "2025-08-21T10:27:34.647Z" },+ { url = "https://files.pythonhosted.org/packages/54/4c/c3d21b2b7769ef2f4c2b9299fcadd601efa6729f1357a8dbce8dd949ed70/pandas-2.3.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c6f048aa0fd080d6a06cc7e7537c09b53be6642d330ac6f54a600c3ace857ee9", size = 10668666, upload-time = "2025-08-21T10:27:37.203Z" },+ { url = "https://files.pythonhosted.org/packages/50/e2/f775ba76ecfb3424d7f5862620841cf0edb592e9abd2d2a5387d305fe7a8/pandas-2.3.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0064187b80a5be6f2f9c9d6bdde29372468751dfa89f4211a3c5871854cfbf7a", size = 11332835, upload-time = "2025-08-21T10:27:40.188Z" },+ { url = "https://files.pythonhosted.org/packages/8f/52/0634adaace9be2d8cac9ef78f05c47f3a675882e068438b9d7ec7ef0c13f/pandas-2.3.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4ac8c320bded4718b298281339c1a50fb00a6ba78cb2a63521c39bec95b0209b", size = 12057211, upload-time = "2025-08-21T10:27:43.117Z" },+ { url = "https://files.pythonhosted.org/packages/0b/9d/2df913f14b2deb9c748975fdb2491da1a78773debb25abbc7cbc67c6b549/pandas-2.3.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:114c2fe4f4328cf98ce5716d1532f3ab79c5919f95a9cfee81d9140064a2e4d6", size = 12749277, upload-time = "2025-08-21T10:27:45.474Z" },+ { url = "https://files.pythonhosted.org/packages/87/af/da1a2417026bd14d98c236dba88e39837182459d29dcfcea510b2ac9e8a1/pandas-2.3.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:48fa91c4dfb3b2b9bfdb5c24cd3567575f4e13f9636810462ffed8925352be5a", size = 13415256, upload-time = "2025-08-21T10:27:49.885Z" },+ { url = "https://files.pythonhosted.org/packages/22/3c/f2af1ce8840ef648584a6156489636b5692c162771918aa95707c165ad2b/pandas-2.3.2-cp313-cp313-win_amd64.whl", hash = "sha256:12d039facec710f7ba305786837d0225a3444af7bbd9c15c32ca2d40d157ed8b", size = 10982579, upload-time = "2025-08-21T10:28:08.435Z" },+ { url = "https://files.pythonhosted.org/packages/f3/98/8df69c4097a6719e357dc249bf437b8efbde808038268e584421696cbddf/pandas-2.3.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:c624b615ce97864eb588779ed4046186f967374185c047070545253a52ab2d57", size = 12028163, upload-time = "2025-08-21T10:27:52.232Z" },+ { url = "https://files.pythonhosted.org/packages/0e/23/f95cbcbea319f349e10ff90db488b905c6883f03cbabd34f6b03cbc3c044/pandas-2.3.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:0cee69d583b9b128823d9514171cabb6861e09409af805b54459bd0c821a35c2", size = 11391860, upload-time = "2025-08-21T10:27:54.673Z" },+ { url = "https://files.pythonhosted.org/packages/ad/1b/6a984e98c4abee22058aa75bfb8eb90dce58cf8d7296f8bc56c14bc330b0/pandas-2.3.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2319656ed81124982900b4c37f0e0c58c015af9a7bbc62342ba5ad07ace82ba9", size = 11309830, upload-time = "2025-08-21T10:27:56.957Z" },+ { url = "https://files.pythonhosted.org/packages/15/d5/f0486090eb18dd8710bf60afeaf638ba6817047c0c8ae5c6a25598665609/pandas-2.3.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b37205ad6f00d52f16b6d09f406434ba928c1a1966e2771006a9033c736d30d2", size = 11883216, upload-time = "2025-08-21T10:27:59.302Z" },+ { url = "https://files.pythonhosted.org/packages/10/86/692050c119696da19e20245bbd650d8dfca6ceb577da027c3a73c62a047e/pandas-2.3.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:837248b4fc3a9b83b9c6214699a13f069dc13510a6a6d7f9ba33145d2841a012", size = 12699743, upload-time = "2025-08-21T10:28:02.447Z" },+ { url = "https://files.pythonhosted.org/packages/cd/d7/612123674d7b17cf345aad0a10289b2a384bff404e0463a83c4a3a59d205/pandas-2.3.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:d2c3554bd31b731cd6490d94a28f3abb8dd770634a9e06eb6d2911b9827db370", size = 13186141, upload-time = "2025-08-21T10:28:05.377Z" },][[package]]name = "pandas-stubs"-version = "2.2.3.250527"+version = "2.3.0.250703"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },- { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },+ { name = "numpy", version = "2.3.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },{ name = "types-pytz" },]-sdist = { url = "https://files.pythonhosted.org/packages/5f/0d/5fe7f7f3596eb1c2526fea151e9470f86b379183d8b9debe44b2098651ca/pandas_stubs-2.2.3.250527.tar.gz", hash = "sha256:e2d694c4e72106055295ad143664e5c99e5815b07190d1ff85b73b13ff019e63", size = 106312, upload-time = "2025-05-27T15:24:29.716Z" }+sdist = { url = "https://files.pythonhosted.org/packages/ec/df/c1c51c5cec087b8f4d04669308b700e9648745a77cdd0c8c5e16520703ca/pandas_stubs-2.3.0.250703.tar.gz", hash = "sha256:fb6a8478327b16ed65c46b1541de74f5c5947f3601850caf3e885e0140584717", size = 103910, upload-time = "2025-07-02T17:49:11.667Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/ec/f8/46141ba8c9d7064dc5008bfb4a6ae5bd3c30e4c61c28b5c5ed485bf358ba/pandas_stubs-2.2.3.250527-py3-none-any.whl", hash = "sha256:cd0a49a95b8c5f944e605be711042a4dd8550e2c559b43d70ba2c4b524b66163", size = 159683, upload-time = "2025-05-27T15:24:28.4Z" },+ { url = "https://files.pythonhosted.org/packages/75/cb/09d5f9bf7c8659af134ae0ffc1a349038a5d0ff93e45aedc225bde2872a3/pandas_stubs-2.3.0.250703-py3-none-any.whl", hash = "sha256:a9265fc69909f0f7a9cabc5f596d86c9d531499fed86b7838fd3278285d76b81", size = 154719, upload-time = "2025-07-02T17:49:10.697Z" },][[package]]@@ -1671,87 +1763,113 @@ wheels = [[[package]]name = "pillow"-version = "11.2.1"-source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/af/cb/bb5c01fcd2a69335b86c22142b2bccfc3464087efb7fd382eee5ffc7fdf7/pillow-11.2.1.tar.gz", hash = "sha256:a64dd61998416367b7ef979b73d3a85853ba9bec4c2925f74e588879a58716b6", size = 47026707, upload-time = "2025-04-12T17:50:03.289Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/0d/8b/b158ad57ed44d3cc54db8d68ad7c0a58b8fc0e4c7a3f995f9d62d5b464a1/pillow-11.2.1-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:d57a75d53922fc20c165016a20d9c44f73305e67c351bbc60d1adaf662e74047", size = 3198442, upload-time = "2025-04-12T17:47:10.666Z" },- { url = "https://files.pythonhosted.org/packages/b1/f8/bb5d956142f86c2d6cc36704943fa761f2d2e4c48b7436fd0a85c20f1713/pillow-11.2.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:127bf6ac4a5b58b3d32fc8289656f77f80567d65660bc46f72c0d77e6600cc95", size = 3030553, upload-time = "2025-04-12T17:47:13.153Z" },- { url = "https://files.pythonhosted.org/packages/22/7f/0e413bb3e2aa797b9ca2c5c38cb2e2e45d88654e5b12da91ad446964cfae/pillow-11.2.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b4ba4be812c7a40280629e55ae0b14a0aafa150dd6451297562e1764808bbe61", size = 4405503, upload-time = "2025-04-12T17:47:15.36Z" },- { url = "https://files.pythonhosted.org/packages/f3/b4/cc647f4d13f3eb837d3065824aa58b9bcf10821f029dc79955ee43f793bd/pillow-11.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c8bd62331e5032bc396a93609982a9ab6b411c05078a52f5fe3cc59234a3abd1", size = 4490648, upload-time = "2025-04-12T17:47:17.37Z" },- { url = "https://files.pythonhosted.org/packages/c2/6f/240b772a3b35cdd7384166461567aa6713799b4e78d180c555bd284844ea/pillow-11.2.1-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:562d11134c97a62fe3af29581f083033179f7ff435f78392565a1ad2d1c2c45c", size = 4508937, upload-time = "2025-04-12T17:47:19.066Z" },- { url = "https://files.pythonhosted.org/packages/f3/5e/7ca9c815ade5fdca18853db86d812f2f188212792780208bdb37a0a6aef4/pillow-11.2.1-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:c97209e85b5be259994eb5b69ff50c5d20cca0f458ef9abd835e262d9d88b39d", size = 4599802, upload-time = "2025-04-12T17:47:21.404Z" },- { url = "https://files.pythonhosted.org/packages/02/81/c3d9d38ce0c4878a77245d4cf2c46d45a4ad0f93000227910a46caff52f3/pillow-11.2.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:0c3e6d0f59171dfa2e25d7116217543310908dfa2770aa64b8f87605f8cacc97", size = 4576717, upload-time = "2025-04-12T17:47:23.571Z" },- { url = "https://files.pythonhosted.org/packages/42/49/52b719b89ac7da3185b8d29c94d0e6aec8140059e3d8adcaa46da3751180/pillow-11.2.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:cc1c3bc53befb6096b84165956e886b1729634a799e9d6329a0c512ab651e579", size = 4654874, upload-time = "2025-04-12T17:47:25.783Z" },- { url = "https://files.pythonhosted.org/packages/5b/0b/ede75063ba6023798267023dc0d0401f13695d228194d2242d5a7ba2f964/pillow-11.2.1-cp310-cp310-win32.whl", hash = "sha256:312c77b7f07ab2139924d2639860e084ec2a13e72af54d4f08ac843a5fc9c79d", size = 2331717, upload-time = "2025-04-12T17:47:28.922Z" },- { url = "https://files.pythonhosted.org/packages/ed/3c/9831da3edea527c2ed9a09f31a2c04e77cd705847f13b69ca60269eec370/pillow-11.2.1-cp310-cp310-win_amd64.whl", hash = "sha256:9bc7ae48b8057a611e5fe9f853baa88093b9a76303937449397899385da06fad", size = 2676204, upload-time = "2025-04-12T17:47:31.283Z" },- { url = "https://files.pythonhosted.org/packages/01/97/1f66ff8a1503d8cbfc5bae4dc99d54c6ec1e22ad2b946241365320caabc2/pillow-11.2.1-cp310-cp310-win_arm64.whl", hash = "sha256:2728567e249cdd939f6cc3d1f049595c66e4187f3c34078cbc0a7d21c47482d2", size = 2414767, upload-time = "2025-04-12T17:47:34.655Z" },- { url = "https://files.pythonhosted.org/packages/68/08/3fbf4b98924c73037a8e8b4c2c774784805e0fb4ebca6c5bb60795c40125/pillow-11.2.1-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:35ca289f712ccfc699508c4658a1d14652e8033e9b69839edf83cbdd0ba39e70", size = 3198450, upload-time = "2025-04-12T17:47:37.135Z" },- { url = "https://files.pythonhosted.org/packages/84/92/6505b1af3d2849d5e714fc75ba9e69b7255c05ee42383a35a4d58f576b16/pillow-11.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e0409af9f829f87a2dfb7e259f78f317a5351f2045158be321fd135973fff7bf", size = 3030550, upload-time = "2025-04-12T17:47:39.345Z" },- { url = "https://files.pythonhosted.org/packages/3c/8c/ac2f99d2a70ff966bc7eb13dacacfaab57c0549b2ffb351b6537c7840b12/pillow-11.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d4e5c5edee874dce4f653dbe59db7c73a600119fbea8d31f53423586ee2aafd7", size = 4415018, upload-time = "2025-04-12T17:47:41.128Z" },- { url = "https://files.pythonhosted.org/packages/1f/e3/0a58b5d838687f40891fff9cbaf8669f90c96b64dc8f91f87894413856c6/pillow-11.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b93a07e76d13bff9444f1a029e0af2964e654bfc2e2c2d46bfd080df5ad5f3d8", size = 4498006, upload-time = "2025-04-12T17:47:42.912Z" },- { url = "https://files.pythonhosted.org/packages/21/f5/6ba14718135f08fbfa33308efe027dd02b781d3f1d5c471444a395933aac/pillow-11.2.1-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:e6def7eed9e7fa90fde255afaf08060dc4b343bbe524a8f69bdd2a2f0018f600", size = 4517773, upload-time = "2025-04-12T17:47:44.611Z" },- { url = "https://files.pythonhosted.org/packages/20/f2/805ad600fc59ebe4f1ba6129cd3a75fb0da126975c8579b8f57abeb61e80/pillow-11.2.1-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:8f4f3724c068be008c08257207210c138d5f3731af6c155a81c2b09a9eb3a788", size = 4607069, upload-time = "2025-04-12T17:47:46.46Z" },- { url = "https://files.pythonhosted.org/packages/71/6b/4ef8a288b4bb2e0180cba13ca0a519fa27aa982875882392b65131401099/pillow-11.2.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:a0a6709b47019dff32e678bc12c63008311b82b9327613f534e496dacaefb71e", size = 4583460, upload-time = "2025-04-12T17:47:49.255Z" },- { url = "https://files.pythonhosted.org/packages/62/ae/f29c705a09cbc9e2a456590816e5c234382ae5d32584f451c3eb41a62062/pillow-11.2.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f6b0c664ccb879109ee3ca702a9272d877f4fcd21e5eb63c26422fd6e415365e", size = 4661304, upload-time = "2025-04-12T17:47:51.067Z" },- { url = "https://files.pythonhosted.org/packages/6e/1a/c8217b6f2f73794a5e219fbad087701f412337ae6dbb956db37d69a9bc43/pillow-11.2.1-cp311-cp311-win32.whl", hash = "sha256:cc5d875d56e49f112b6def6813c4e3d3036d269c008bf8aef72cd08d20ca6df6", size = 2331809, upload-time = "2025-04-12T17:47:54.425Z" },- { url = "https://files.pythonhosted.org/packages/e2/72/25a8f40170dc262e86e90f37cb72cb3de5e307f75bf4b02535a61afcd519/pillow-11.2.1-cp311-cp311-win_amd64.whl", hash = "sha256:0f5c7eda47bf8e3c8a283762cab94e496ba977a420868cb819159980b6709193", size = 2676338, upload-time = "2025-04-12T17:47:56.535Z" },- { url = "https://files.pythonhosted.org/packages/06/9e/76825e39efee61efea258b479391ca77d64dbd9e5804e4ad0fa453b4ba55/pillow-11.2.1-cp311-cp311-win_arm64.whl", hash = "sha256:4d375eb838755f2528ac8cbc926c3e31cc49ca4ad0cf79cff48b20e30634a4a7", size = 2414918, upload-time = "2025-04-12T17:47:58.217Z" },- { url = "https://files.pythonhosted.org/packages/c7/40/052610b15a1b8961f52537cc8326ca6a881408bc2bdad0d852edeb6ed33b/pillow-11.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:78afba22027b4accef10dbd5eed84425930ba41b3ea0a86fa8d20baaf19d807f", size = 3190185, upload-time = "2025-04-12T17:48:00.417Z" },- { url = "https://files.pythonhosted.org/packages/e5/7e/b86dbd35a5f938632093dc40d1682874c33dcfe832558fc80ca56bfcb774/pillow-11.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:78092232a4ab376a35d68c4e6d5e00dfd73454bd12b230420025fbe178ee3b0b", size = 3030306, upload-time = "2025-04-12T17:48:02.391Z" },- { url = "https://files.pythonhosted.org/packages/a4/5c/467a161f9ed53e5eab51a42923c33051bf8d1a2af4626ac04f5166e58e0c/pillow-11.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:25a5f306095c6780c52e6bbb6109624b95c5b18e40aab1c3041da3e9e0cd3e2d", size = 4416121, upload-time = "2025-04-12T17:48:04.554Z" },- { url = "https://files.pythonhosted.org/packages/62/73/972b7742e38ae0e2ac76ab137ca6005dcf877480da0d9d61d93b613065b4/pillow-11.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c7b29dbd4281923a2bfe562acb734cee96bbb129e96e6972d315ed9f232bef4", size = 4501707, upload-time = "2025-04-12T17:48:06.831Z" },- { url = "https://files.pythonhosted.org/packages/e4/3a/427e4cb0b9e177efbc1a84798ed20498c4f233abde003c06d2650a6d60cb/pillow-11.2.1-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:3e645b020f3209a0181a418bffe7b4a93171eef6c4ef6cc20980b30bebf17b7d", size = 4522921, upload-time = "2025-04-12T17:48:09.229Z" },- { url = "https://files.pythonhosted.org/packages/fe/7c/d8b1330458e4d2f3f45d9508796d7caf0c0d3764c00c823d10f6f1a3b76d/pillow-11.2.1-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:b2dbea1012ccb784a65349f57bbc93730b96e85b42e9bf7b01ef40443db720b4", size = 4612523, upload-time = "2025-04-12T17:48:11.631Z" },- { url = "https://files.pythonhosted.org/packages/b3/2f/65738384e0b1acf451de5a573d8153fe84103772d139e1e0bdf1596be2ea/pillow-11.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:da3104c57bbd72948d75f6a9389e6727d2ab6333c3617f0a89d72d4940aa0443", size = 4587836, upload-time = "2025-04-12T17:48:13.592Z" },- { url = "https://files.pythonhosted.org/packages/6a/c5/e795c9f2ddf3debb2dedd0df889f2fe4b053308bb59a3cc02a0cd144d641/pillow-11.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:598174aef4589af795f66f9caab87ba4ff860ce08cd5bb447c6fc553ffee603c", size = 4669390, upload-time = "2025-04-12T17:48:15.938Z" },- { url = "https://files.pythonhosted.org/packages/96/ae/ca0099a3995976a9fce2f423166f7bff9b12244afdc7520f6ed38911539a/pillow-11.2.1-cp312-cp312-win32.whl", hash = "sha256:1d535df14716e7f8776b9e7fee118576d65572b4aad3ed639be9e4fa88a1cad3", size = 2332309, upload-time = "2025-04-12T17:48:17.885Z" },- { url = "https://files.pythonhosted.org/packages/7c/18/24bff2ad716257fc03da964c5e8f05d9790a779a8895d6566e493ccf0189/pillow-11.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:14e33b28bf17c7a38eede290f77db7c664e4eb01f7869e37fa98a5aa95978941", size = 2676768, upload-time = "2025-04-12T17:48:19.655Z" },- { url = "https://files.pythonhosted.org/packages/da/bb/e8d656c9543276517ee40184aaa39dcb41e683bca121022f9323ae11b39d/pillow-11.2.1-cp312-cp312-win_arm64.whl", hash = "sha256:21e1470ac9e5739ff880c211fc3af01e3ae505859392bf65458c224d0bf283eb", size = 2415087, upload-time = "2025-04-12T17:48:21.991Z" },- { url = "https://files.pythonhosted.org/packages/36/9c/447528ee3776e7ab8897fe33697a7ff3f0475bb490c5ac1456a03dc57956/pillow-11.2.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:fdec757fea0b793056419bca3e9932eb2b0ceec90ef4813ea4c1e072c389eb28", size = 3190098, upload-time = "2025-04-12T17:48:23.915Z" },- { url = "https://files.pythonhosted.org/packages/b5/09/29d5cd052f7566a63e5b506fac9c60526e9ecc553825551333e1e18a4858/pillow-11.2.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:b0e130705d568e2f43a17bcbe74d90958e8a16263868a12c3e0d9c8162690830", size = 3030166, upload-time = "2025-04-12T17:48:25.738Z" },- { url = "https://files.pythonhosted.org/packages/71/5d/446ee132ad35e7600652133f9c2840b4799bbd8e4adba881284860da0a36/pillow-11.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7bdb5e09068332578214cadd9c05e3d64d99e0e87591be22a324bdbc18925be0", size = 4408674, upload-time = "2025-04-12T17:48:27.908Z" },- { url = "https://files.pythonhosted.org/packages/69/5f/cbe509c0ddf91cc3a03bbacf40e5c2339c4912d16458fcb797bb47bcb269/pillow-11.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d189ba1bebfbc0c0e529159631ec72bb9e9bc041f01ec6d3233d6d82eb823bc1", size = 4496005, upload-time = "2025-04-12T17:48:29.888Z" },- { url = "https://files.pythonhosted.org/packages/f9/b3/dd4338d8fb8a5f312021f2977fb8198a1184893f9b00b02b75d565c33b51/pillow-11.2.1-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:191955c55d8a712fab8934a42bfefbf99dd0b5875078240943f913bb66d46d9f", size = 4518707, upload-time = "2025-04-12T17:48:31.874Z" },- { url = "https://files.pythonhosted.org/packages/13/eb/2552ecebc0b887f539111c2cd241f538b8ff5891b8903dfe672e997529be/pillow-11.2.1-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:ad275964d52e2243430472fc5d2c2334b4fc3ff9c16cb0a19254e25efa03a155", size = 4610008, upload-time = "2025-04-12T17:48:34.422Z" },- { url = "https://files.pythonhosted.org/packages/72/d1/924ce51bea494cb6e7959522d69d7b1c7e74f6821d84c63c3dc430cbbf3b/pillow-11.2.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:750f96efe0597382660d8b53e90dd1dd44568a8edb51cb7f9d5d918b80d4de14", size = 4585420, upload-time = "2025-04-12T17:48:37.641Z" },- { url = "https://files.pythonhosted.org/packages/43/ab/8f81312d255d713b99ca37479a4cb4b0f48195e530cdc1611990eb8fd04b/pillow-11.2.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:fe15238d3798788d00716637b3d4e7bb6bde18b26e5d08335a96e88564a36b6b", size = 4667655, upload-time = "2025-04-12T17:48:39.652Z" },- { url = "https://files.pythonhosted.org/packages/94/86/8f2e9d2dc3d308dfd137a07fe1cc478df0a23d42a6c4093b087e738e4827/pillow-11.2.1-cp313-cp313-win32.whl", hash = "sha256:3fe735ced9a607fee4f481423a9c36701a39719252a9bb251679635f99d0f7d2", size = 2332329, upload-time = "2025-04-12T17:48:41.765Z" },- { url = "https://files.pythonhosted.org/packages/6d/ec/1179083b8d6067a613e4d595359b5fdea65d0a3b7ad623fee906e1b3c4d2/pillow-11.2.1-cp313-cp313-win_amd64.whl", hash = "sha256:74ee3d7ecb3f3c05459ba95eed5efa28d6092d751ce9bf20e3e253a4e497e691", size = 2676388, upload-time = "2025-04-12T17:48:43.625Z" },- { url = "https://files.pythonhosted.org/packages/23/f1/2fc1e1e294de897df39fa8622d829b8828ddad938b0eaea256d65b84dd72/pillow-11.2.1-cp313-cp313-win_arm64.whl", hash = "sha256:5119225c622403afb4b44bad4c1ca6c1f98eed79db8d3bc6e4e160fc6339d66c", size = 2414950, upload-time = "2025-04-12T17:48:45.475Z" },- { url = "https://files.pythonhosted.org/packages/c4/3e/c328c48b3f0ead7bab765a84b4977acb29f101d10e4ef57a5e3400447c03/pillow-11.2.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:8ce2e8411c7aaef53e6bb29fe98f28cd4fbd9a1d9be2eeea434331aac0536b22", size = 3192759, upload-time = "2025-04-12T17:48:47.866Z" },- { url = "https://files.pythonhosted.org/packages/18/0e/1c68532d833fc8b9f404d3a642991441d9058eccd5606eab31617f29b6d4/pillow-11.2.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:9ee66787e095127116d91dea2143db65c7bb1e232f617aa5957c0d9d2a3f23a7", size = 3033284, upload-time = "2025-04-12T17:48:50.189Z" },- { url = "https://files.pythonhosted.org/packages/b7/cb/6faf3fb1e7705fd2db74e070f3bf6f88693601b0ed8e81049a8266de4754/pillow-11.2.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9622e3b6c1d8b551b6e6f21873bdcc55762b4b2126633014cea1803368a9aa16", size = 4445826, upload-time = "2025-04-12T17:48:52.346Z" },- { url = "https://files.pythonhosted.org/packages/07/94/8be03d50b70ca47fb434a358919d6a8d6580f282bbb7af7e4aa40103461d/pillow-11.2.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:63b5dff3a68f371ea06025a1a6966c9a1e1ee452fc8020c2cd0ea41b83e9037b", size = 4527329, upload-time = "2025-04-12T17:48:54.403Z" },- { url = "https://files.pythonhosted.org/packages/fd/a4/bfe78777076dc405e3bd2080bc32da5ab3945b5a25dc5d8acaa9de64a162/pillow-11.2.1-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:31df6e2d3d8fc99f993fd253e97fae451a8db2e7207acf97859732273e108406", size = 4549049, upload-time = "2025-04-12T17:48:56.383Z" },- { url = "https://files.pythonhosted.org/packages/65/4d/eaf9068dc687c24979e977ce5677e253624bd8b616b286f543f0c1b91662/pillow-11.2.1-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:062b7a42d672c45a70fa1f8b43d1d38ff76b63421cbbe7f88146b39e8a558d91", size = 4635408, upload-time = "2025-04-12T17:48:58.782Z" },- { url = "https://files.pythonhosted.org/packages/1d/26/0fd443365d9c63bc79feb219f97d935cd4b93af28353cba78d8e77b61719/pillow-11.2.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:4eb92eca2711ef8be42fd3f67533765d9fd043b8c80db204f16c8ea62ee1a751", size = 4614863, upload-time = "2025-04-12T17:49:00.709Z" },- { url = "https://files.pythonhosted.org/packages/49/65/dca4d2506be482c2c6641cacdba5c602bc76d8ceb618fd37de855653a419/pillow-11.2.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:f91ebf30830a48c825590aede79376cb40f110b387c17ee9bd59932c961044f9", size = 4692938, upload-time = "2025-04-12T17:49:02.946Z" },- { url = "https://files.pythonhosted.org/packages/b3/92/1ca0c3f09233bd7decf8f7105a1c4e3162fb9142128c74adad0fb361b7eb/pillow-11.2.1-cp313-cp313t-win32.whl", hash = "sha256:e0b55f27f584ed623221cfe995c912c61606be8513bfa0e07d2c674b4516d9dd", size = 2335774, upload-time = "2025-04-12T17:49:04.889Z" },- { url = "https://files.pythonhosted.org/packages/a5/ac/77525347cb43b83ae905ffe257bbe2cc6fd23acb9796639a1f56aa59d191/pillow-11.2.1-cp313-cp313t-win_amd64.whl", hash = "sha256:36d6b82164c39ce5482f649b437382c0fb2395eabc1e2b1702a6deb8ad647d6e", size = 2681895, upload-time = "2025-04-12T17:49:06.635Z" },- { url = "https://files.pythonhosted.org/packages/67/32/32dc030cfa91ca0fc52baebbba2e009bb001122a1daa8b6a79ad830b38d3/pillow-11.2.1-cp313-cp313t-win_arm64.whl", hash = "sha256:225c832a13326e34f212d2072982bb1adb210e0cc0b153e688743018c94a2681", size = 2417234, upload-time = "2025-04-12T17:49:08.399Z" },- { url = "https://files.pythonhosted.org/packages/33/49/c8c21e4255b4f4a2c0c68ac18125d7f5460b109acc6dfdef1a24f9b960ef/pillow-11.2.1-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:9b7b0d4fd2635f54ad82785d56bc0d94f147096493a79985d0ab57aedd563156", size = 3181727, upload-time = "2025-04-12T17:49:31.898Z" },- { url = "https://files.pythonhosted.org/packages/6d/f1/f7255c0838f8c1ef6d55b625cfb286835c17e8136ce4351c5577d02c443b/pillow-11.2.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:aa442755e31c64037aa7c1cb186e0b369f8416c567381852c63444dd666fb772", size = 2999833, upload-time = "2025-04-12T17:49:34.2Z" },- { url = "https://files.pythonhosted.org/packages/e2/57/9968114457bd131063da98d87790d080366218f64fa2943b65ac6739abb3/pillow-11.2.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f0d3348c95b766f54b76116d53d4cb171b52992a1027e7ca50c81b43b9d9e363", size = 3437472, upload-time = "2025-04-12T17:49:36.294Z" },- { url = "https://files.pythonhosted.org/packages/b2/1b/e35d8a158e21372ecc48aac9c453518cfe23907bb82f950d6e1c72811eb0/pillow-11.2.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:85d27ea4c889342f7e35f6d56e7e1cb345632ad592e8c51b693d7b7556043ce0", size = 3459976, upload-time = "2025-04-12T17:49:38.988Z" },- { url = "https://files.pythonhosted.org/packages/26/da/2c11d03b765efff0ccc473f1c4186dc2770110464f2177efaed9cf6fae01/pillow-11.2.1-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:bf2c33d6791c598142f00c9c4c7d47f6476731c31081331664eb26d6ab583e01", size = 3527133, upload-time = "2025-04-12T17:49:40.985Z" },- { url = "https://files.pythonhosted.org/packages/79/1a/4e85bd7cadf78412c2a3069249a09c32ef3323650fd3005c97cca7aa21df/pillow-11.2.1-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:e616e7154c37669fc1dfc14584f11e284e05d1c650e1c0f972f281c4ccc53193", size = 3571555, upload-time = "2025-04-12T17:49:42.964Z" },- { url = "https://files.pythonhosted.org/packages/69/03/239939915216de1e95e0ce2334bf17a7870ae185eb390fab6d706aadbfc0/pillow-11.2.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:39ad2e0f424394e3aebc40168845fee52df1394a4673a6ee512d840d14ab3013", size = 2674713, upload-time = "2025-04-12T17:49:44.944Z" },- { url = "https://files.pythonhosted.org/packages/a4/ad/2613c04633c7257d9481ab21d6b5364b59fc5d75faafd7cb8693523945a3/pillow-11.2.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:80f1df8dbe9572b4b7abdfa17eb5d78dd620b1d55d9e25f834efdbee872d3aed", size = 3181734, upload-time = "2025-04-12T17:49:46.789Z" },- { url = "https://files.pythonhosted.org/packages/a4/fd/dcdda4471ed667de57bb5405bb42d751e6cfdd4011a12c248b455c778e03/pillow-11.2.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:ea926cfbc3957090becbcbbb65ad177161a2ff2ad578b5a6ec9bb1e1cd78753c", size = 2999841, upload-time = "2025-04-12T17:49:48.812Z" },- { url = "https://files.pythonhosted.org/packages/ac/89/8a2536e95e77432833f0db6fd72a8d310c8e4272a04461fb833eb021bf94/pillow-11.2.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:738db0e0941ca0376804d4de6a782c005245264edaa253ffce24e5a15cbdc7bd", size = 3437470, upload-time = "2025-04-12T17:49:50.831Z" },- { url = "https://files.pythonhosted.org/packages/9d/8f/abd47b73c60712f88e9eda32baced7bfc3e9bd6a7619bb64b93acff28c3e/pillow-11.2.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9db98ab6565c69082ec9b0d4e40dd9f6181dab0dd236d26f7a50b8b9bfbd5076", size = 3460013, upload-time = "2025-04-12T17:49:53.278Z" },- { url = "https://files.pythonhosted.org/packages/f6/20/5c0a0aa83b213b7a07ec01e71a3d6ea2cf4ad1d2c686cc0168173b6089e7/pillow-11.2.1-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:036e53f4170e270ddb8797d4c590e6dd14d28e15c7da375c18978045f7e6c37b", size = 3527165, upload-time = "2025-04-12T17:49:55.164Z" },- { url = "https://files.pythonhosted.org/packages/58/0e/2abab98a72202d91146abc839e10c14f7cf36166f12838ea0c4db3ca6ecb/pillow-11.2.1-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:14f73f7c291279bd65fda51ee87affd7c1e097709f7fdd0188957a16c264601f", size = 3571586, upload-time = "2025-04-12T17:49:57.171Z" },- { url = "https://files.pythonhosted.org/packages/21/2c/5e05f58658cf49b6667762cca03d6e7d85cededde2caf2ab37b81f80e574/pillow-11.2.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:208653868d5c9ecc2b327f9b9ef34e0e42a4cdd172c2988fd81d62d2bc9bc044", size = 2674751, upload-time = "2025-04-12T17:49:59.628Z" },+version = "11.3.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/f3/0d/d0d6dea55cd152ce3d6767bb38a8fc10e33796ba4ba210cbab9354b6d238/pillow-11.3.0.tar.gz", hash = "sha256:3828ee7586cd0b2091b6209e5ad53e20d0649bbe87164a459d0676e035e8f523", size = 47113069, upload-time = "2025-07-01T09:16:30.666Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/4c/5d/45a3553a253ac8763f3561371432a90bdbe6000fbdcf1397ffe502aa206c/pillow-11.3.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:1b9c17fd4ace828b3003dfd1e30bff24863e0eb59b535e8f80194d9cc7ecf860", size = 5316554, upload-time = "2025-07-01T09:13:39.342Z" },+ { url = "https://files.pythonhosted.org/packages/7c/c8/67c12ab069ef586a25a4a79ced553586748fad100c77c0ce59bb4983ac98/pillow-11.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:65dc69160114cdd0ca0f35cb434633c75e8e7fad4cf855177a05bf38678f73ad", size = 4686548, upload-time = "2025-07-01T09:13:41.835Z" },+ { url = "https://files.pythonhosted.org/packages/2f/bd/6741ebd56263390b382ae4c5de02979af7f8bd9807346d068700dd6d5cf9/pillow-11.3.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7107195ddc914f656c7fc8e4a5e1c25f32e9236ea3ea860f257b0436011fddd0", size = 5859742, upload-time = "2025-07-03T13:09:47.439Z" },+ { url = "https://files.pythonhosted.org/packages/ca/0b/c412a9e27e1e6a829e6ab6c2dca52dd563efbedf4c9c6aa453d9a9b77359/pillow-11.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cc3e831b563b3114baac7ec2ee86819eb03caa1a2cef0b481a5675b59c4fe23b", size = 7633087, upload-time = "2025-07-03T13:09:51.796Z" },+ { url = "https://files.pythonhosted.org/packages/59/9d/9b7076aaf30f5dd17e5e5589b2d2f5a5d7e30ff67a171eb686e4eecc2adf/pillow-11.3.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f1f182ebd2303acf8c380a54f615ec883322593320a9b00438eb842c1f37ae50", size = 5963350, upload-time = "2025-07-01T09:13:43.865Z" },+ { url = "https://files.pythonhosted.org/packages/f0/16/1a6bf01fb622fb9cf5c91683823f073f053005c849b1f52ed613afcf8dae/pillow-11.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4445fa62e15936a028672fd48c4c11a66d641d2c05726c7ec1f8ba6a572036ae", size = 6631840, upload-time = "2025-07-01T09:13:46.161Z" },+ { url = "https://files.pythonhosted.org/packages/7b/e6/6ff7077077eb47fde78739e7d570bdcd7c10495666b6afcd23ab56b19a43/pillow-11.3.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:71f511f6b3b91dd543282477be45a033e4845a40278fa8dcdbfdb07109bf18f9", size = 6074005, upload-time = "2025-07-01T09:13:47.829Z" },+ { url = "https://files.pythonhosted.org/packages/c3/3a/b13f36832ea6d279a697231658199e0a03cd87ef12048016bdcc84131601/pillow-11.3.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:040a5b691b0713e1f6cbe222e0f4f74cd233421e105850ae3b3c0ceda520f42e", size = 6708372, upload-time = "2025-07-01T09:13:52.145Z" },+ { url = "https://files.pythonhosted.org/packages/6c/e4/61b2e1a7528740efbc70b3d581f33937e38e98ef3d50b05007267a55bcb2/pillow-11.3.0-cp310-cp310-win32.whl", hash = "sha256:89bd777bc6624fe4115e9fac3352c79ed60f3bb18651420635f26e643e3dd1f6", size = 6277090, upload-time = "2025-07-01T09:13:53.915Z" },+ { url = "https://files.pythonhosted.org/packages/a9/d3/60c781c83a785d6afbd6a326ed4d759d141de43aa7365725cbcd65ce5e54/pillow-11.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:19d2ff547c75b8e3ff46f4d9ef969a06c30ab2d4263a9e287733aa8b2429ce8f", size = 6985988, upload-time = "2025-07-01T09:13:55.699Z" },+ { url = "https://files.pythonhosted.org/packages/9f/28/4f4a0203165eefb3763939c6789ba31013a2e90adffb456610f30f613850/pillow-11.3.0-cp310-cp310-win_arm64.whl", hash = "sha256:819931d25e57b513242859ce1876c58c59dc31587847bf74cfe06b2e0cb22d2f", size = 2422899, upload-time = "2025-07-01T09:13:57.497Z" },+ { url = "https://files.pythonhosted.org/packages/db/26/77f8ed17ca4ffd60e1dcd220a6ec6d71210ba398cfa33a13a1cd614c5613/pillow-11.3.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:1cd110edf822773368b396281a2293aeb91c90a2db00d78ea43e7e861631b722", size = 5316531, upload-time = "2025-07-01T09:13:59.203Z" },+ { url = "https://files.pythonhosted.org/packages/cb/39/ee475903197ce709322a17a866892efb560f57900d9af2e55f86db51b0a5/pillow-11.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9c412fddd1b77a75aa904615ebaa6001f169b26fd467b4be93aded278266b288", size = 4686560, upload-time = "2025-07-01T09:14:01.101Z" },+ { url = "https://files.pythonhosted.org/packages/d5/90/442068a160fd179938ba55ec8c97050a612426fae5ec0a764e345839f76d/pillow-11.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7d1aa4de119a0ecac0a34a9c8bde33f34022e2e8f99104e47a3ca392fd60e37d", size = 5870978, upload-time = "2025-07-03T13:09:55.638Z" },+ { url = "https://files.pythonhosted.org/packages/13/92/dcdd147ab02daf405387f0218dcf792dc6dd5b14d2573d40b4caeef01059/pillow-11.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:91da1d88226663594e3f6b4b8c3c8d85bd504117d043740a8e0ec449087cc494", size = 7641168, upload-time = "2025-07-03T13:10:00.37Z" },+ { url = "https://files.pythonhosted.org/packages/6e/db/839d6ba7fd38b51af641aa904e2960e7a5644d60ec754c046b7d2aee00e5/pillow-11.3.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:643f189248837533073c405ec2f0bb250ba54598cf80e8c1e043381a60632f58", size = 5973053, upload-time = "2025-07-01T09:14:04.491Z" },+ { url = "https://files.pythonhosted.org/packages/f2/2f/d7675ecae6c43e9f12aa8d58b6012683b20b6edfbdac7abcb4e6af7a3784/pillow-11.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:106064daa23a745510dabce1d84f29137a37224831d88eb4ce94bb187b1d7e5f", size = 6640273, upload-time = "2025-07-01T09:14:06.235Z" },+ { url = "https://files.pythonhosted.org/packages/45/ad/931694675ede172e15b2ff03c8144a0ddaea1d87adb72bb07655eaffb654/pillow-11.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:cd8ff254faf15591e724dc7c4ddb6bf4793efcbe13802a4ae3e863cd300b493e", size = 6082043, upload-time = "2025-07-01T09:14:07.978Z" },+ { url = "https://files.pythonhosted.org/packages/3a/04/ba8f2b11fc80d2dd462d7abec16351b45ec99cbbaea4387648a44190351a/pillow-11.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:932c754c2d51ad2b2271fd01c3d121daaa35e27efae2a616f77bf164bc0b3e94", size = 6715516, upload-time = "2025-07-01T09:14:10.233Z" },+ { url = "https://files.pythonhosted.org/packages/48/59/8cd06d7f3944cc7d892e8533c56b0acb68399f640786313275faec1e3b6f/pillow-11.3.0-cp311-cp311-win32.whl", hash = "sha256:b4b8f3efc8d530a1544e5962bd6b403d5f7fe8b9e08227c6b255f98ad82b4ba0", size = 6274768, upload-time = "2025-07-01T09:14:11.921Z" },+ { url = "https://files.pythonhosted.org/packages/f1/cc/29c0f5d64ab8eae20f3232da8f8571660aa0ab4b8f1331da5c2f5f9a938e/pillow-11.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:1a992e86b0dd7aeb1f053cd506508c0999d710a8f07b4c791c63843fc6a807ac", size = 6986055, upload-time = "2025-07-01T09:14:13.623Z" },+ { url = "https://files.pythonhosted.org/packages/c6/df/90bd886fabd544c25addd63e5ca6932c86f2b701d5da6c7839387a076b4a/pillow-11.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:30807c931ff7c095620fe04448e2c2fc673fcbb1ffe2a7da3fb39613489b1ddd", size = 2423079, upload-time = "2025-07-01T09:14:15.268Z" },+ { url = "https://files.pythonhosted.org/packages/40/fe/1bc9b3ee13f68487a99ac9529968035cca2f0a51ec36892060edcc51d06a/pillow-11.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fdae223722da47b024b867c1ea0be64e0df702c5e0a60e27daad39bf960dd1e4", size = 5278800, upload-time = "2025-07-01T09:14:17.648Z" },+ { url = "https://files.pythonhosted.org/packages/2c/32/7e2ac19b5713657384cec55f89065fb306b06af008cfd87e572035b27119/pillow-11.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:921bd305b10e82b4d1f5e802b6850677f965d8394203d182f078873851dada69", size = 4686296, upload-time = "2025-07-01T09:14:19.828Z" },+ { url = "https://files.pythonhosted.org/packages/8e/1e/b9e12bbe6e4c2220effebc09ea0923a07a6da1e1f1bfbc8d7d29a01ce32b/pillow-11.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:eb76541cba2f958032d79d143b98a3a6b3ea87f0959bbe256c0b5e416599fd5d", size = 5871726, upload-time = "2025-07-03T13:10:04.448Z" },+ { url = "https://files.pythonhosted.org/packages/8d/33/e9200d2bd7ba00dc3ddb78df1198a6e80d7669cce6c2bdbeb2530a74ec58/pillow-11.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:67172f2944ebba3d4a7b54f2e95c786a3a50c21b88456329314caaa28cda70f6", size = 7644652, upload-time = "2025-07-03T13:10:10.391Z" },+ { url = "https://files.pythonhosted.org/packages/41/f1/6f2427a26fc683e00d985bc391bdd76d8dd4e92fac33d841127eb8fb2313/pillow-11.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97f07ed9f56a3b9b5f49d3661dc9607484e85c67e27f3e8be2c7d28ca032fec7", size = 5977787, upload-time = "2025-07-01T09:14:21.63Z" },+ { url = "https://files.pythonhosted.org/packages/e4/c9/06dd4a38974e24f932ff5f98ea3c546ce3f8c995d3f0985f8e5ba48bba19/pillow-11.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:676b2815362456b5b3216b4fd5bd89d362100dc6f4945154ff172e206a22c024", size = 6645236, upload-time = "2025-07-01T09:14:23.321Z" },+ { url = "https://files.pythonhosted.org/packages/40/e7/848f69fb79843b3d91241bad658e9c14f39a32f71a301bcd1d139416d1be/pillow-11.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3e184b2f26ff146363dd07bde8b711833d7b0202e27d13540bfe2e35a323a809", size = 6086950, upload-time = "2025-07-01T09:14:25.237Z" },+ { url = "https://files.pythonhosted.org/packages/0b/1a/7cff92e695a2a29ac1958c2a0fe4c0b2393b60aac13b04a4fe2735cad52d/pillow-11.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6be31e3fc9a621e071bc17bb7de63b85cbe0bfae91bb0363c893cbe67247780d", size = 6723358, upload-time = "2025-07-01T09:14:27.053Z" },+ { url = "https://files.pythonhosted.org/packages/26/7d/73699ad77895f69edff76b0f332acc3d497f22f5d75e5360f78cbcaff248/pillow-11.3.0-cp312-cp312-win32.whl", hash = "sha256:7b161756381f0918e05e7cb8a371fff367e807770f8fe92ecb20d905d0e1c149", size = 6275079, upload-time = "2025-07-01T09:14:30.104Z" },+ { url = "https://files.pythonhosted.org/packages/8c/ce/e7dfc873bdd9828f3b6e5c2bbb74e47a98ec23cc5c74fc4e54462f0d9204/pillow-11.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a6444696fce635783440b7f7a9fc24b3ad10a9ea3f0ab66c5905be1c19ccf17d", size = 6986324, upload-time = "2025-07-01T09:14:31.899Z" },+ { url = "https://files.pythonhosted.org/packages/16/8f/b13447d1bf0b1f7467ce7d86f6e6edf66c0ad7cf44cf5c87a37f9bed9936/pillow-11.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:2aceea54f957dd4448264f9bf40875da0415c83eb85f55069d89c0ed436e3542", size = 2423067, upload-time = "2025-07-01T09:14:33.709Z" },+ { url = "https://files.pythonhosted.org/packages/1e/93/0952f2ed8db3a5a4c7a11f91965d6184ebc8cd7cbb7941a260d5f018cd2d/pillow-11.3.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:1c627742b539bba4309df89171356fcb3cc5a9178355b2727d1b74a6cf155fbd", size = 2128328, upload-time = "2025-07-01T09:14:35.276Z" },+ { url = "https://files.pythonhosted.org/packages/4b/e8/100c3d114b1a0bf4042f27e0f87d2f25e857e838034e98ca98fe7b8c0a9c/pillow-11.3.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:30b7c02f3899d10f13d7a48163c8969e4e653f8b43416d23d13d1bbfdc93b9f8", size = 2170652, upload-time = "2025-07-01T09:14:37.203Z" },+ { url = "https://files.pythonhosted.org/packages/aa/86/3f758a28a6e381758545f7cdb4942e1cb79abd271bea932998fc0db93cb6/pillow-11.3.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7859a4cc7c9295f5838015d8cc0a9c215b77e43d07a25e460f35cf516df8626f", size = 2227443, upload-time = "2025-07-01T09:14:39.344Z" },+ { url = "https://files.pythonhosted.org/packages/01/f4/91d5b3ffa718df2f53b0dc109877993e511f4fd055d7e9508682e8aba092/pillow-11.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:ec1ee50470b0d050984394423d96325b744d55c701a439d2bd66089bff963d3c", size = 5278474, upload-time = "2025-07-01T09:14:41.843Z" },+ { url = "https://files.pythonhosted.org/packages/f9/0e/37d7d3eca6c879fbd9dba21268427dffda1ab00d4eb05b32923d4fbe3b12/pillow-11.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7db51d222548ccfd274e4572fdbf3e810a5e66b00608862f947b163e613b67dd", size = 4686038, upload-time = "2025-07-01T09:14:44.008Z" },+ { url = "https://files.pythonhosted.org/packages/ff/b0/3426e5c7f6565e752d81221af9d3676fdbb4f352317ceafd42899aaf5d8a/pillow-11.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:2d6fcc902a24ac74495df63faad1884282239265c6839a0a6416d33faedfae7e", size = 5864407, upload-time = "2025-07-03T13:10:15.628Z" },+ { url = "https://files.pythonhosted.org/packages/fc/c1/c6c423134229f2a221ee53f838d4be9d82bab86f7e2f8e75e47b6bf6cd77/pillow-11.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f0f5d8f4a08090c6d6d578351a2b91acf519a54986c055af27e7a93feae6d3f1", size = 7639094, upload-time = "2025-07-03T13:10:21.857Z" },+ { url = "https://files.pythonhosted.org/packages/ba/c9/09e6746630fe6372c67c648ff9deae52a2bc20897d51fa293571977ceb5d/pillow-11.3.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c37d8ba9411d6003bba9e518db0db0c58a680ab9fe5179f040b0463644bc9805", size = 5973503, upload-time = "2025-07-01T09:14:45.698Z" },+ { url = "https://files.pythonhosted.org/packages/d5/1c/a2a29649c0b1983d3ef57ee87a66487fdeb45132df66ab30dd37f7dbe162/pillow-11.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:13f87d581e71d9189ab21fe0efb5a23e9f28552d5be6979e84001d3b8505abe8", size = 6642574, upload-time = "2025-07-01T09:14:47.415Z" },+ { url = "https://files.pythonhosted.org/packages/36/de/d5cc31cc4b055b6c6fd990e3e7f0f8aaf36229a2698501bcb0cdf67c7146/pillow-11.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:023f6d2d11784a465f09fd09a34b150ea4672e85fb3d05931d89f373ab14abb2", size = 6084060, upload-time = "2025-07-01T09:14:49.636Z" },+ { url = "https://files.pythonhosted.org/packages/d5/ea/502d938cbaeec836ac28a9b730193716f0114c41325db428e6b280513f09/pillow-11.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:45dfc51ac5975b938e9809451c51734124e73b04d0f0ac621649821a63852e7b", size = 6721407, upload-time = "2025-07-01T09:14:51.962Z" },+ { url = "https://files.pythonhosted.org/packages/45/9c/9c5e2a73f125f6cbc59cc7087c8f2d649a7ae453f83bd0362ff7c9e2aee2/pillow-11.3.0-cp313-cp313-win32.whl", hash = "sha256:a4d336baed65d50d37b88ca5b60c0fa9d81e3a87d4a7930d3880d1624d5b31f3", size = 6273841, upload-time = "2025-07-01T09:14:54.142Z" },+ { url = "https://files.pythonhosted.org/packages/23/85/397c73524e0cd212067e0c969aa245b01d50183439550d24d9f55781b776/pillow-11.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:0bce5c4fd0921f99d2e858dc4d4d64193407e1b99478bc5cacecba2311abde51", size = 6978450, upload-time = "2025-07-01T09:14:56.436Z" },+ { url = "https://files.pythonhosted.org/packages/17/d2/622f4547f69cd173955194b78e4d19ca4935a1b0f03a302d655c9f6aae65/pillow-11.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:1904e1264881f682f02b7f8167935cce37bc97db457f8e7849dc3a6a52b99580", size = 2423055, upload-time = "2025-07-01T09:14:58.072Z" },+ { url = "https://files.pythonhosted.org/packages/dd/80/a8a2ac21dda2e82480852978416cfacd439a4b490a501a288ecf4fe2532d/pillow-11.3.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:4c834a3921375c48ee6b9624061076bc0a32a60b5532b322cc0ea64e639dd50e", size = 5281110, upload-time = "2025-07-01T09:14:59.79Z" },+ { url = "https://files.pythonhosted.org/packages/44/d6/b79754ca790f315918732e18f82a8146d33bcd7f4494380457ea89eb883d/pillow-11.3.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5e05688ccef30ea69b9317a9ead994b93975104a677a36a8ed8106be9260aa6d", size = 4689547, upload-time = "2025-07-01T09:15:01.648Z" },+ { url = "https://files.pythonhosted.org/packages/49/20/716b8717d331150cb00f7fdd78169c01e8e0c219732a78b0e59b6bdb2fd6/pillow-11.3.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:1019b04af07fc0163e2810167918cb5add8d74674b6267616021ab558dc98ced", size = 5901554, upload-time = "2025-07-03T13:10:27.018Z" },+ { url = "https://files.pythonhosted.org/packages/74/cf/a9f3a2514a65bb071075063a96f0a5cf949c2f2fce683c15ccc83b1c1cab/pillow-11.3.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f944255db153ebb2b19c51fe85dd99ef0ce494123f21b9db4877ffdfc5590c7c", size = 7669132, upload-time = "2025-07-03T13:10:33.01Z" },+ { url = "https://files.pythonhosted.org/packages/98/3c/da78805cbdbee9cb43efe8261dd7cc0b4b93f2ac79b676c03159e9db2187/pillow-11.3.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f85acb69adf2aaee8b7da124efebbdb959a104db34d3a2cb0f3793dbae422a8", size = 6005001, upload-time = "2025-07-01T09:15:03.365Z" },+ { url = "https://files.pythonhosted.org/packages/6c/fa/ce044b91faecf30e635321351bba32bab5a7e034c60187fe9698191aef4f/pillow-11.3.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:05f6ecbeff5005399bb48d198f098a9b4b6bdf27b8487c7f38ca16eeb070cd59", size = 6668814, upload-time = "2025-07-01T09:15:05.655Z" },+ { url = "https://files.pythonhosted.org/packages/7b/51/90f9291406d09bf93686434f9183aba27b831c10c87746ff49f127ee80cb/pillow-11.3.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:a7bc6e6fd0395bc052f16b1a8670859964dbd7003bd0af2ff08342eb6e442cfe", size = 6113124, upload-time = "2025-07-01T09:15:07.358Z" },+ { url = "https://files.pythonhosted.org/packages/cd/5a/6fec59b1dfb619234f7636d4157d11fb4e196caeee220232a8d2ec48488d/pillow-11.3.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:83e1b0161c9d148125083a35c1c5a89db5b7054834fd4387499e06552035236c", size = 6747186, upload-time = "2025-07-01T09:15:09.317Z" },+ { url = "https://files.pythonhosted.org/packages/49/6b/00187a044f98255225f172de653941e61da37104a9ea60e4f6887717e2b5/pillow-11.3.0-cp313-cp313t-win32.whl", hash = "sha256:2a3117c06b8fb646639dce83694f2f9eac405472713fcb1ae887469c0d4f6788", size = 6277546, upload-time = "2025-07-01T09:15:11.311Z" },+ { url = "https://files.pythonhosted.org/packages/e8/5c/6caaba7e261c0d75bab23be79f1d06b5ad2a2ae49f028ccec801b0e853d6/pillow-11.3.0-cp313-cp313t-win_amd64.whl", hash = "sha256:857844335c95bea93fb39e0fa2726b4d9d758850b34075a7e3ff4f4fa3aa3b31", size = 6985102, upload-time = "2025-07-01T09:15:13.164Z" },+ { url = "https://files.pythonhosted.org/packages/f3/7e/b623008460c09a0cb38263c93b828c666493caee2eb34ff67f778b87e58c/pillow-11.3.0-cp313-cp313t-win_arm64.whl", hash = "sha256:8797edc41f3e8536ae4b10897ee2f637235c94f27404cac7297f7b607dd0716e", size = 2424803, upload-time = "2025-07-01T09:15:15.695Z" },+ { url = "https://files.pythonhosted.org/packages/73/f4/04905af42837292ed86cb1b1dabe03dce1edc008ef14c473c5c7e1443c5d/pillow-11.3.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:d9da3df5f9ea2a89b81bb6087177fb1f4d1c7146d583a3fe5c672c0d94e55e12", size = 5278520, upload-time = "2025-07-01T09:15:17.429Z" },+ { url = "https://files.pythonhosted.org/packages/41/b0/33d79e377a336247df6348a54e6d2a2b85d644ca202555e3faa0cf811ecc/pillow-11.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0b275ff9b04df7b640c59ec5a3cb113eefd3795a8df80bac69646ef699c6981a", size = 4686116, upload-time = "2025-07-01T09:15:19.423Z" },+ { url = "https://files.pythonhosted.org/packages/49/2d/ed8bc0ab219ae8768f529597d9509d184fe8a6c4741a6864fea334d25f3f/pillow-11.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0743841cabd3dba6a83f38a92672cccbd69af56e3e91777b0ee7f4dba4385632", size = 5864597, upload-time = "2025-07-03T13:10:38.404Z" },+ { url = "https://files.pythonhosted.org/packages/b5/3d/b932bb4225c80b58dfadaca9d42d08d0b7064d2d1791b6a237f87f661834/pillow-11.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2465a69cf967b8b49ee1b96d76718cd98c4e925414ead59fdf75cf0fd07df673", size = 7638246, upload-time = "2025-07-03T13:10:44.987Z" },+ { url = "https://files.pythonhosted.org/packages/09/b5/0487044b7c096f1b48f0d7ad416472c02e0e4bf6919541b111efd3cae690/pillow-11.3.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:41742638139424703b4d01665b807c6468e23e699e8e90cffefe291c5832b027", size = 5973336, upload-time = "2025-07-01T09:15:21.237Z" },+ { url = "https://files.pythonhosted.org/packages/a8/2d/524f9318f6cbfcc79fbc004801ea6b607ec3f843977652fdee4857a7568b/pillow-11.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:93efb0b4de7e340d99057415c749175e24c8864302369e05914682ba642e5d77", size = 6642699, upload-time = "2025-07-01T09:15:23.186Z" },+ { url = "https://files.pythonhosted.org/packages/6f/d2/a9a4f280c6aefedce1e8f615baaa5474e0701d86dd6f1dede66726462bbd/pillow-11.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7966e38dcd0fa11ca390aed7c6f20454443581d758242023cf36fcb319b1a874", size = 6083789, upload-time = "2025-07-01T09:15:25.1Z" },+ { url = "https://files.pythonhosted.org/packages/fe/54/86b0cd9dbb683a9d5e960b66c7379e821a19be4ac5810e2e5a715c09a0c0/pillow-11.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:98a9afa7b9007c67ed84c57c9e0ad86a6000da96eaa638e4f8abe5b65ff83f0a", size = 6720386, upload-time = "2025-07-01T09:15:27.378Z" },+ { url = "https://files.pythonhosted.org/packages/e7/95/88efcaf384c3588e24259c4203b909cbe3e3c2d887af9e938c2022c9dd48/pillow-11.3.0-cp314-cp314-win32.whl", hash = "sha256:02a723e6bf909e7cea0dac1b0e0310be9d7650cd66222a5f1c571455c0a45214", size = 6370911, upload-time = "2025-07-01T09:15:29.294Z" },+ { url = "https://files.pythonhosted.org/packages/2e/cc/934e5820850ec5eb107e7b1a72dd278140731c669f396110ebc326f2a503/pillow-11.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:a418486160228f64dd9e9efcd132679b7a02a5f22c982c78b6fc7dab3fefb635", size = 7117383, upload-time = "2025-07-01T09:15:31.128Z" },+ { url = "https://files.pythonhosted.org/packages/d6/e9/9c0a616a71da2a5d163aa37405e8aced9a906d574b4a214bede134e731bc/pillow-11.3.0-cp314-cp314-win_arm64.whl", hash = "sha256:155658efb5e044669c08896c0c44231c5e9abcaadbc5cd3648df2f7c0b96b9a6", size = 2511385, upload-time = "2025-07-01T09:15:33.328Z" },+ { url = "https://files.pythonhosted.org/packages/1a/33/c88376898aff369658b225262cd4f2659b13e8178e7534df9e6e1fa289f6/pillow-11.3.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:59a03cdf019efbfeeed910bf79c7c93255c3d54bc45898ac2a4140071b02b4ae", size = 5281129, upload-time = "2025-07-01T09:15:35.194Z" },+ { url = "https://files.pythonhosted.org/packages/1f/70/d376247fb36f1844b42910911c83a02d5544ebd2a8bad9efcc0f707ea774/pillow-11.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f8a5827f84d973d8636e9dc5764af4f0cf2318d26744b3d902931701b0d46653", size = 4689580, upload-time = "2025-07-01T09:15:37.114Z" },+ { url = "https://files.pythonhosted.org/packages/eb/1c/537e930496149fbac69efd2fc4329035bbe2e5475b4165439e3be9cb183b/pillow-11.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ee92f2fd10f4adc4b43d07ec5e779932b4eb3dbfbc34790ada5a6669bc095aa6", size = 5902860, upload-time = "2025-07-03T13:10:50.248Z" },+ { url = "https://files.pythonhosted.org/packages/bd/57/80f53264954dcefeebcf9dae6e3eb1daea1b488f0be8b8fef12f79a3eb10/pillow-11.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c96d333dcf42d01f47b37e0979b6bd73ec91eae18614864622d9b87bbd5bbf36", size = 7670694, upload-time = "2025-07-03T13:10:56.432Z" },+ { url = "https://files.pythonhosted.org/packages/70/ff/4727d3b71a8578b4587d9c276e90efad2d6fe0335fd76742a6da08132e8c/pillow-11.3.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4c96f993ab8c98460cd0c001447bff6194403e8b1d7e149ade5f00594918128b", size = 6005888, upload-time = "2025-07-01T09:15:39.436Z" },+ { url = "https://files.pythonhosted.org/packages/05/ae/716592277934f85d3be51d7256f3636672d7b1abfafdc42cf3f8cbd4b4c8/pillow-11.3.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:41342b64afeba938edb034d122b2dda5db2139b9a4af999729ba8818e0056477", size = 6670330, upload-time = "2025-07-01T09:15:41.269Z" },+ { url = "https://files.pythonhosted.org/packages/e7/bb/7fe6cddcc8827b01b1a9766f5fdeb7418680744f9082035bdbabecf1d57f/pillow-11.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:068d9c39a2d1b358eb9f245ce7ab1b5c3246c7c8c7d9ba58cfa5b43146c06e50", size = 6114089, upload-time = "2025-07-01T09:15:43.13Z" },+ { url = "https://files.pythonhosted.org/packages/8b/f5/06bfaa444c8e80f1a8e4bff98da9c83b37b5be3b1deaa43d27a0db37ef84/pillow-11.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a1bc6ba083b145187f648b667e05a2534ecc4b9f2784c2cbe3089e44868f2b9b", size = 6748206, upload-time = "2025-07-01T09:15:44.937Z" },+ { url = "https://files.pythonhosted.org/packages/f0/77/bc6f92a3e8e6e46c0ca78abfffec0037845800ea38c73483760362804c41/pillow-11.3.0-cp314-cp314t-win32.whl", hash = "sha256:118ca10c0d60b06d006be10a501fd6bbdfef559251ed31b794668ed569c87e12", size = 6377370, upload-time = "2025-07-01T09:15:46.673Z" },+ { url = "https://files.pythonhosted.org/packages/4a/82/3a721f7d69dca802befb8af08b7c79ebcab461007ce1c18bd91a5d5896f9/pillow-11.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:8924748b688aa210d79883357d102cd64690e56b923a186f35a82cbc10f997db", size = 7121500, upload-time = "2025-07-01T09:15:48.512Z" },+ { url = "https://files.pythonhosted.org/packages/89/c7/5572fa4a3f45740eaab6ae86fcdf7195b55beac1371ac8c619d880cfe948/pillow-11.3.0-cp314-cp314t-win_arm64.whl", hash = "sha256:79ea0d14d3ebad43ec77ad5272e6ff9bba5b679ef73375ea760261207fa8e0aa", size = 2512835, upload-time = "2025-07-01T09:15:50.399Z" },+ { url = "https://files.pythonhosted.org/packages/6f/8b/209bd6b62ce8367f47e68a218bffac88888fdf2c9fcf1ecadc6c3ec1ebc7/pillow-11.3.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:3cee80663f29e3843b68199b9d6f4f54bd1d4a6b59bdd91bceefc51238bcb967", size = 5270556, upload-time = "2025-07-01T09:16:09.961Z" },+ { url = "https://files.pythonhosted.org/packages/2e/e6/231a0b76070c2cfd9e260a7a5b504fb72da0a95279410fa7afd99d9751d6/pillow-11.3.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:b5f56c3f344f2ccaf0dd875d3e180f631dc60a51b314295a3e681fe8cf851fbe", size = 4654625, upload-time = "2025-07-01T09:16:11.913Z" },+ { url = "https://files.pythonhosted.org/packages/13/f4/10cf94fda33cb12765f2397fc285fa6d8eb9c29de7f3185165b702fc7386/pillow-11.3.0-pp310-pypy310_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e67d793d180c9df62f1f40aee3accca4829d3794c95098887edc18af4b8b780c", size = 4874207, upload-time = "2025-07-03T13:11:10.201Z" },+ { url = "https://files.pythonhosted.org/packages/72/c9/583821097dc691880c92892e8e2d41fe0a5a3d6021f4963371d2f6d57250/pillow-11.3.0-pp310-pypy310_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d000f46e2917c705e9fb93a3606ee4a819d1e3aa7a9b442f6444f07e77cf5e25", size = 6583939, upload-time = "2025-07-03T13:11:15.68Z" },+ { url = "https://files.pythonhosted.org/packages/3b/8e/5c9d410f9217b12320efc7c413e72693f48468979a013ad17fd690397b9a/pillow-11.3.0-pp310-pypy310_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:527b37216b6ac3a12d7838dc3bd75208ec57c1c6d11ef01902266a5a0c14fc27", size = 4957166, upload-time = "2025-07-01T09:16:13.74Z" },+ { url = "https://files.pythonhosted.org/packages/62/bb/78347dbe13219991877ffb3a91bf09da8317fbfcd4b5f9140aeae020ad71/pillow-11.3.0-pp310-pypy310_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:be5463ac478b623b9dd3937afd7fb7ab3d79dd290a28e2b6df292dc75063eb8a", size = 5581482, upload-time = "2025-07-01T09:16:16.107Z" },+ { url = "https://files.pythonhosted.org/packages/d9/28/1000353d5e61498aaeaaf7f1e4b49ddb05f2c6575f9d4f9f914a3538b6e1/pillow-11.3.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:8dc70ca24c110503e16918a658b869019126ecfe03109b754c402daff12b3d9f", size = 6984596, upload-time = "2025-07-01T09:16:18.07Z" },+ { url = "https://files.pythonhosted.org/packages/9e/e3/6fa84033758276fb31da12e5fb66ad747ae83b93c67af17f8c6ff4cc8f34/pillow-11.3.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:7c8ec7a017ad1bd562f93dbd8505763e688d388cde6e4a010ae1486916e713e6", size = 5270566, upload-time = "2025-07-01T09:16:19.801Z" },+ { url = "https://files.pythonhosted.org/packages/5b/ee/e8d2e1ab4892970b561e1ba96cbd59c0d28cf66737fc44abb2aec3795a4e/pillow-11.3.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:9ab6ae226de48019caa8074894544af5b53a117ccb9d3b3dcb2871464c829438", size = 4654618, upload-time = "2025-07-01T09:16:21.818Z" },+ { url = "https://files.pythonhosted.org/packages/f2/6d/17f80f4e1f0761f02160fc433abd4109fa1548dcfdca46cfdadaf9efa565/pillow-11.3.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fe27fb049cdcca11f11a7bfda64043c37b30e6b91f10cb5bab275806c32f6ab3", size = 4874248, upload-time = "2025-07-03T13:11:20.738Z" },+ { url = "https://files.pythonhosted.org/packages/de/5f/c22340acd61cef960130585bbe2120e2fd8434c214802f07e8c03596b17e/pillow-11.3.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:465b9e8844e3c3519a983d58b80be3f668e2a7a5db97f2784e7079fbc9f9822c", size = 6583963, upload-time = "2025-07-03T13:11:26.283Z" },+ { url = "https://files.pythonhosted.org/packages/31/5e/03966aedfbfcbb4d5f8aa042452d3361f325b963ebbadddac05b122e47dd/pillow-11.3.0-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5418b53c0d59b3824d05e029669efa023bbef0f3e92e75ec8428f3799487f361", size = 4957170, upload-time = "2025-07-01T09:16:23.762Z" },+ { url = "https://files.pythonhosted.org/packages/cc/2d/e082982aacc927fc2cab48e1e731bdb1643a1406acace8bed0900a61464e/pillow-11.3.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:504b6f59505f08ae014f724b6207ff6222662aab5cc9542577fb084ed0676ac7", size = 5581505, upload-time = "2025-07-01T09:16:25.593Z" },+ { url = "https://files.pythonhosted.org/packages/34/e7/ae39f538fd6844e982063c3a5e4598b8ced43b9633baa3a85ef33af8c05c/pillow-11.3.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:c84d689db21a1c397d001aa08241044aa2069e7587b398c8cc63020390b1c1b8", size = 6984598, upload-time = "2025-07-01T09:16:27.732Z" },][[package]]name = "pipelex"-version = "0.7.0"+version = "0.8.0"source = { editable = "." }dependencies = [{ name = "aiofiles" },+ { name = "backports-strenum", marker = "python_full_version < '3.11'" },{ name = "filetype" },{ name = "httpx" },{ name = "instructor" },@@ -1787,9 +1905,6 @@ bedrock = [{ name = "aioboto3" },{ name = "boto3" },]-compat = [- { name = "backports-strenum", marker = "python_full_version < '3.11'" },-]dev = [{ name = "boto3-stubs" },{ name = "cocode" },@@ -1834,7 +1949,7 @@ requires-dist = [{ name = "aioboto3", marker = "extra == 'bedrock'", specifier = ">=13.4.0" },{ name = "aiofiles", specifier = ">=23.2.1" },{ name = "anthropic", marker = "extra == 'anthropic'", specifier = ">=0.49.0" },- { name = "backports-strenum", marker = "python_full_version < '3.11' and extra == 'compat'", specifier = ">=1.3.0" },+ { name = "backports-strenum", marker = "python_full_version < '3.11'", specifier = ">=1.3.0" },{ name = "boto3", marker = "extra == 'bedrock'", specifier = ">=1.34.131" },{ name = "boto3-stubs", marker = "extra == 'dev'", specifier = ">=1.35.24" },{ name = "cocode", marker = "extra == 'dev'", specifier = ">=0.0.10" },@@ -1889,7 +2004,7 @@ requires-dist = [{ name = "typing-extensions", specifier = ">=4.13.2" },{ name = "yattag", specifier = ">=1.15.2" },]-provides-extras = ["anthropic", "bedrock", "fal", "google", "mistralai", "compat", "docs", "dev"]+provides-extras = ["anthropic", "bedrock", "fal", "google", "mistralai", "docs", "dev"][[package]]name = "platformdirs"@@ -1911,15 +2026,15 @@ wheels = [[[package]]name = "polyfactory"-version = "2.21.0"+version = "2.22.2"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "faker" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/bd/d0/8ce6a9912a6f1077710ebc46a6aa9a79a64a06b69d2d6b4ccefc9765ce8f/polyfactory-2.21.0.tar.gz", hash = "sha256:a6d8dba91b2515d744cc014b5be48835633f7ccb72519a68f8801759e5b1737a", size = 246314, upload-time = "2025-04-18T10:19:33.852Z" }+sdist = { url = "https://files.pythonhosted.org/packages/4e/a6/950d13856d995705df33b92451559fd317207a9c43629ab1771135a0c966/polyfactory-2.22.2.tar.gz", hash = "sha256:a3297aa0b004f2b26341e903795565ae88507c4d86e68b132c2622969028587a", size = 254462, upload-time = "2025-08-15T06:23:21.28Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/e0/ba/c148fba517a0aaccfc4fca5e61bf2a051e084a417403e930dc615886d4e6/polyfactory-2.21.0-py3-none-any.whl", hash = "sha256:9483b764756c8622313d99f375889b1c0d92f09affb05742d7bcfa2b5198d8c5", size = 60875, upload-time = "2025-04-18T10:19:31.881Z" },+ { url = "https://files.pythonhosted.org/packages/e7/fe/d52c90e07c458f38b26f9972a25cb011b2744813f76fcd6121dde64744fa/polyfactory-2.22.2-py3-none-any.whl", hash = "sha256:9bea58ac9a80375b4153cd60820f75e558b863e567e058794d28c6a52b84118a", size = 63715, upload-time = "2025-08-15T06:23:19.664Z" },][[package]]@@ -2149,11 +2264,11 @@ wheels = [[[package]]name = "pygments"-version = "2.19.1"+version = "2.19.2"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/7c/2d/c3338d48ea6cc0feb8446d8e6937e1408088a72a39937982cc6111d17f84/pygments-2.19.1.tar.gz", hash = "sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f", size = 4968581, upload-time = "2025-01-06T17:26:30.443Z" }+sdist = { url = "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924/pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887", size = 4968631, upload-time = "2025-06-21T13:39:12.283Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/8a/0b/9fcc47d19c48b59121088dd6da2488a49d5f72dacf8262e2790a1d2c7d15/pygments-2.19.1-py3-none-any.whl", hash = "sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c", size = 1225293, upload-time = "2025-01-06T17:26:25.553Z" },+ { url = "https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b", size = 1225217, upload-time = "2025-06-21T13:39:07.939Z" },][[package]]@@ -2172,15 +2287,15 @@ crypto = [[[package]]name = "pymdown-extensions"-version = "10.15"+version = "10.16.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "markdown" },{ name = "pyyaml" },]-sdist = { url = "https://files.pythonhosted.org/packages/08/92/a7296491dbf5585b3a987f3f3fc87af0e632121ff3e490c14b5f2d2b4eb5/pymdown_extensions-10.15.tar.gz", hash = "sha256:0e5994e32155f4b03504f939e501b981d306daf7ec2aa1cd2eb6bd300784f8f7", size = 852320, upload-time = "2025-04-27T23:48:29.183Z" }+sdist = { url = "https://files.pythonhosted.org/packages/55/b3/6d2b3f149bc5413b0a29761c2c5832d8ce904a1d7f621e86616d96f505cc/pymdown_extensions-10.16.1.tar.gz", hash = "sha256:aace82bcccba3efc03e25d584e6a22d27a8e17caa3f4dd9f207e49b787aa9a91", size = 853277, upload-time = "2025-07-28T16:19:34.167Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/a7/d1/c54e608505776ce4e7966d03358ae635cfd51dff1da6ee421c090dbc797b/pymdown_extensions-10.15-py3-none-any.whl", hash = "sha256:46e99bb272612b0de3b7e7caf6da8dd5f4ca5212c0b273feb9304e236c484e5f", size = 265845, upload-time = "2025-04-27T23:48:27.359Z" },+ { url = "https://files.pythonhosted.org/packages/e4/06/43084e6cbd4b3bc0e80f6be743b2e79fbc6eed8de9ad8c629939fa55d972/pymdown_extensions-10.16.1-py3-none-any.whl", hash = "sha256:d6ba157a6c03146a7fb122b2b9a121300056384eafeec9c9f9e584adfdb2a32d", size = 266178, upload-time = "2025-07-28T16:19:31.401Z" },][[package]]@@ -2238,7 +2353,7 @@ wheels = [[[package]]name = "pytest"-version = "8.4.0"+version = "8.4.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "colorama", marker = "sys_platform == 'win32'" },@@ -2249,21 +2364,22 @@ dependencies = [{ name = "pygments" },{ name = "tomli", marker = "python_full_version < '3.11'" },]-sdist = { url = "https://files.pythonhosted.org/packages/fb/aa/405082ce2749be5398045152251ac69c0f3578c7077efc53431303af97ce/pytest-8.4.0.tar.gz", hash = "sha256:14d920b48472ea0dbf68e45b96cd1ffda4705f33307dcc86c676c1b5104838a6", size = 1515232, upload-time = "2025-06-02T17:36:30.03Z" }+sdist = { url = "https://files.pythonhosted.org/packages/08/ba/45911d754e8eba3d5a841a5ce61a65a685ff1798421ac054f85aa8747dfb/pytest-8.4.1.tar.gz", hash = "sha256:7c67fd69174877359ed9371ec3af8a3d2b04741818c51e5e99cc1742251fa93c", size = 1517714, upload-time = "2025-06-18T05:48:06.109Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/2f/de/afa024cbe022b1b318a3d224125aa24939e99b4ff6f22e0ba639a2eaee47/pytest-8.4.0-py3-none-any.whl", hash = "sha256:f40f825768ad76c0977cbacdf1fd37c6f7a468e460ea6a0636078f8972d4517e", size = 363797, upload-time = "2025-06-02T17:36:27.859Z" },+ { url = "https://files.pythonhosted.org/packages/29/16/c8a903f4c4dffe7a12843191437d7cd8e32751d5de349d45d3fe69544e87/pytest-8.4.1-py3-none-any.whl", hash = "sha256:539c70ba6fcead8e78eebbf1115e8b589e7565830d7d006a8723f19ac8a0afb7", size = 365474, upload-time = "2025-06-18T05:48:03.955Z" },][[package]]name = "pytest-asyncio"-version = "1.0.0"+version = "1.1.0"source = { registry = "https://pypi.org/simple" }dependencies = [+ { name = "backports-asyncio-runner", marker = "python_full_version < '3.11'" },{ name = "pytest" },]-sdist = { url = "https://files.pythonhosted.org/packages/d0/d4/14f53324cb1a6381bef29d698987625d80052bb33932d8e7cbf9b337b17c/pytest_asyncio-1.0.0.tar.gz", hash = "sha256:d15463d13f4456e1ead2594520216b225a16f781e144f8fdf6c5bb4667c48b3f", size = 46960, upload-time = "2025-05-26T04:54:40.484Z" }+sdist = { url = "https://files.pythonhosted.org/packages/4e/51/f8794af39eeb870e87a8c8068642fc07bce0c854d6865d7dd0f2a9d338c2/pytest_asyncio-1.1.0.tar.gz", hash = "sha256:796aa822981e01b68c12e4827b8697108f7205020f24b5793b3c41555dab68ea", size = 46652, upload-time = "2025-07-16T04:29:26.393Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/30/05/ce271016e351fddc8399e546f6e23761967ee09c8c568bbfbecb0c150171/pytest_asyncio-1.0.0-py3-none-any.whl", hash = "sha256:4f024da9f1ef945e680dc68610b52550e36590a67fd31bb3b4943979a1f90ef3", size = 15976, upload-time = "2025-05-26T04:54:39.035Z" },+ { url = "https://files.pythonhosted.org/packages/c7/9d/bf86eddabf8c6c9cb1ea9a869d6873b46f105a5d292d3a6f7071f5b07935/pytest_asyncio-1.1.0-py3-none-any.whl", hash = "sha256:5fe2d69607b0bd75c656d1211f969cadba035030156745ee09e7d71740e58ecf", size = 15157, upload-time = "2025-07-16T04:29:24.929Z" },][[package]]@@ -2294,29 +2410,28 @@ wheels = [[[package]]name = "pytest-sugar"-version = "1.0.0"+version = "1.1.0"source = { registry = "https://pypi.org/simple" }dependencies = [- { name = "packaging" },{ name = "pytest" },{ name = "termcolor" },]-sdist = { url = "https://files.pythonhosted.org/packages/f5/ac/5754f5edd6d508bc6493bc37d74b928f102a5fff82d9a80347e180998f08/pytest-sugar-1.0.0.tar.gz", hash = "sha256:6422e83258f5b0c04ce7c632176c7732cab5fdb909cb39cca5c9139f81276c0a", size = 14992, upload-time = "2024-02-01T18:30:36.735Z" }+sdist = { url = "https://files.pythonhosted.org/packages/c8/fe/012ae5c8cd4592d71e77c992a965064724269f4e60e377d5ce7b5ae01a19/pytest-sugar-1.1.0.tar.gz", hash = "sha256:53138645cabc311a677bb09c307eab41681a563e498318cd2a0d7cd184837af4", size = 16331, upload-time = "2025-08-16T16:49:45.568Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/92/fb/889f1b69da2f13691de09a111c16c4766a433382d44aa0ecf221deded44a/pytest_sugar-1.0.0-py3-none-any.whl", hash = "sha256:70ebcd8fc5795dc457ff8b69d266a4e2e8a74ae0c3edc749381c64b5246c8dfd", size = 10171, upload-time = "2024-02-01T18:30:29.395Z" },+ { url = "https://files.pythonhosted.org/packages/ac/13/4d703e1c389de100a4a943a4d1b2a315b787dffaff643fdaa0ffa13f985a/pytest_sugar-1.1.0-py3-none-any.whl", hash = "sha256:c853866512288f1b679efc10c565303de4617854287e977781f07904f4560668", size = 11409, upload-time = "2025-08-16T16:49:44.601Z" },][[package]]name = "pytest-xdist"-version = "3.7.0"+version = "3.8.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "execnet" },{ name = "pytest" },]-sdist = { url = "https://files.pythonhosted.org/packages/49/dc/865845cfe987b21658e871d16e0a24e871e00884c545f246dd8f6f69edda/pytest_xdist-3.7.0.tar.gz", hash = "sha256:f9248c99a7c15b7d2f90715df93610353a485827bc06eefb6566d23f6400f126", size = 87550, upload-time = "2025-05-26T21:18:20.251Z" }+sdist = { url = "https://files.pythonhosted.org/packages/78/b4/439b179d1ff526791eb921115fca8e44e596a13efeda518b9d845a619450/pytest_xdist-3.8.0.tar.gz", hash = "sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1", size = 88069, upload-time = "2025-07-01T13:30:59.346Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/0d/b2/0e802fde6f1c5b2f7ae7e9ad42b83fd4ecebac18a8a8c2f2f14e39dce6e1/pytest_xdist-3.7.0-py3-none-any.whl", hash = "sha256:7d3fbd255998265052435eb9daa4e99b62e6fb9cfb6efd1f858d4d8c0c7f0ca0", size = 46142, upload-time = "2025-05-26T21:18:18.759Z" },+ { url = "https://files.pythonhosted.org/packages/ca/31/d4e37e9e550c2b92a9cbc2e4d0b7420a27224968580b5a447f420847c975/pytest_xdist-3.8.0-py3-none-any.whl", hash = "sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88", size = 46396, upload-time = "2025-07-01T13:30:56.632Z" },][[package]]@@ -2333,11 +2448,11 @@ wheels = [[[package]]name = "python-dotenv"-version = "1.1.0"+version = "1.1.1"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/88/2c/7bb1416c5620485aa793f2de31d3df393d3686aa8a8506d11e10e13c5baf/python_dotenv-1.1.0.tar.gz", hash = "sha256:41f90bc6f5f177fb41f53e87666db362025010eb28f60a01c9143bfa33a2b2d5", size = 39920, upload-time = "2025-03-25T10:14:56.835Z" }+sdist = { url = "https://files.pythonhosted.org/packages/f6/b0/4bc07ccd3572a2f9df7e6782f52b0c6c90dcbb803ac4a167702d7d0dfe1e/python_dotenv-1.1.1.tar.gz", hash = "sha256:a8a6399716257f45be6a007360200409fce5cda2661e3dec71d23dc15f6189ab", size = 41978, upload-time = "2025-06-24T04:21:07.341Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/1e/18/98a99ad95133c6a6e2005fe89faedf294a748bd5dc803008059409ac9b1e/python_dotenv-1.1.0-py3-none-any.whl", hash = "sha256:d7c01d9e2293916c18baf562d95698754b0dbbb5e74d457c45d4f6561fb9d55d", size = 20256, upload-time = "2025-03-25T10:14:55.034Z" },+ { url = "https://files.pythonhosted.org/packages/5f/ed/539768cf28c661b5b068d66d96a2f155c4971a5d55684a514c1a0e0dec2f/python_dotenv-1.1.1-py3-none-any.whl", hash = "sha256:31f23644fe2602f88ff55e1f5c79ba497e01224ee7737937930c448e4d0e24dc", size = 20556, upload-time = "2025-06-24T04:21:06.073Z" },][[package]]@@ -2407,7 +2522,7 @@ wheels = [[[package]]name = "requests"-version = "2.32.4"+version = "2.32.5"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "certifi" },@@ -2415,9 +2530,9 @@ dependencies = [{ name = "idna" },{ name = "urllib3" },]-sdist = { url = "https://files.pythonhosted.org/packages/e1/0a/929373653770d8a0d7ea76c37de6e41f11eb07559b103b1c02cafb3f7cf8/requests-2.32.4.tar.gz", hash = "sha256:27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422", size = 135258, upload-time = "2025-06-09T16:43:07.34Z" }+sdist = { url = "https://files.pythonhosted.org/packages/c9/74/b3ff8e6c8446842c3f5c837e9c3dfcfe2018ea6ecef224c710c85ef728f4/requests-2.32.5.tar.gz", hash = "sha256:dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf", size = 134517, upload-time = "2025-08-18T20:46:02.573Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/7c/e4/56027c4a6b4ae70ca9de302488c5ca95ad4a39e190093d6c1a8ace08341b/requests-2.32.4-py3-none-any.whl", hash = "sha256:27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c", size = 64847, upload-time = "2025-06-09T16:43:05.728Z" },+ { url = "https://files.pythonhosted.org/packages/1e/db/4254e3eabe8020b458f1a747140d32277ec7a271daf1d235b70dc0b4e6e3/requests-2.32.5-py3-none-any.whl", hash = "sha256:2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6", size = 64738, upload-time = "2025-08-18T20:46:00.542Z" },][[package]]@@ -2435,16 +2550,15 @@ wheels = [[[package]]name = "rich"-version = "13.9.4"+version = "14.1.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "markdown-it-py" },{ name = "pygments" },- { name = "typing-extensions", marker = "python_full_version < '3.11'" },]-sdist = { url = "https://files.pythonhosted.org/packages/ab/3a/0316b28d0761c6734d6bc14e770d85506c986c85ffb239e688eeaab2c2bc/rich-13.9.4.tar.gz", hash = "sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098", size = 223149, upload-time = "2024-11-01T16:43:57.873Z" }+sdist = { url = "https://files.pythonhosted.org/packages/fe/75/af448d8e52bf1d8fa6a9d089ca6c07ff4453d86c65c145d0a300bb073b9b/rich-14.1.0.tar.gz", hash = "sha256:e497a48b844b0320d45007cdebfeaeed8db2a4f4bcf49f15e455cfc4af11eaa8", size = 224441, upload-time = "2025-07-25T07:32:58.125Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/19/71/39c7c0d87f8d4e6c020a393182060eaefeeae6c01dab6a84ec346f2567df/rich-13.9.4-py3-none-any.whl", hash = "sha256:6049d5e6ec054bf2779ab3358186963bac2ea89175919d699e378b99738c2a90", size = 242424, upload-time = "2024-11-01T16:43:55.817Z" },+ { url = "https://files.pythonhosted.org/packages/e3/30/3c4d035596d3cf444529e0b2953ad0466f6049528a879d27534700580395/rich-14.1.0-py3-none-any.whl", hash = "sha256:536f5f1785986d6dbdea3c75205c473f970777b4a0d6c6dd1b696aa05a3fa04f", size = 243368, upload-time = "2025-07-25T07:32:56.73Z" },][[package]]@@ -2461,39 +2575,40 @@ wheels = [[[package]]name = "ruff"-version = "0.11.13"-source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/ed/da/9c6f995903b4d9474b39da91d2d626659af3ff1eeb43e9ae7c119349dba6/ruff-0.11.13.tar.gz", hash = "sha256:26fa247dc68d1d4e72c179e08889a25ac0c7ba4d78aecfc835d49cbfd60bf514", size = 4282054, upload-time = "2025-06-05T21:00:15.721Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/7d/ce/a11d381192966e0b4290842cc8d4fac7dc9214ddf627c11c1afff87da29b/ruff-0.11.13-py3-none-linux_armv6l.whl", hash = "sha256:4bdfbf1240533f40042ec00c9e09a3aade6f8c10b6414cf11b519488d2635d46", size = 10292516, upload-time = "2025-06-05T20:59:32.944Z" },- { url = "https://files.pythonhosted.org/packages/78/db/87c3b59b0d4e753e40b6a3b4a2642dfd1dcaefbff121ddc64d6c8b47ba00/ruff-0.11.13-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:aef9c9ed1b5ca28bb15c7eac83b8670cf3b20b478195bd49c8d756ba0a36cf48", size = 11106083, upload-time = "2025-06-05T20:59:37.03Z" },- { url = "https://files.pythonhosted.org/packages/77/79/d8cec175856ff810a19825d09ce700265f905c643c69f45d2b737e4a470a/ruff-0.11.13-py3-none-macosx_11_0_arm64.whl", hash = "sha256:53b15a9dfdce029c842e9a5aebc3855e9ab7771395979ff85b7c1dedb53ddc2b", size = 10436024, upload-time = "2025-06-05T20:59:39.741Z" },- { url = "https://files.pythonhosted.org/packages/8b/5b/f6d94f2980fa1ee854b41568368a2e1252681b9238ab2895e133d303538f/ruff-0.11.13-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab153241400789138d13f362c43f7edecc0edfffce2afa6a68434000ecd8f69a", size = 10646324, upload-time = "2025-06-05T20:59:42.185Z" },- { url = "https://files.pythonhosted.org/packages/6c/9c/b4c2acf24ea4426016d511dfdc787f4ce1ceb835f3c5fbdbcb32b1c63bda/ruff-0.11.13-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6c51f93029d54a910d3d24f7dd0bb909e31b6cd989a5e4ac513f4eb41629f0dc", size = 10174416, upload-time = "2025-06-05T20:59:44.319Z" },- { url = "https://files.pythonhosted.org/packages/f3/10/e2e62f77c65ede8cd032c2ca39c41f48feabedb6e282bfd6073d81bb671d/ruff-0.11.13-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1808b3ed53e1a777c2ef733aca9051dc9bf7c99b26ece15cb59a0320fbdbd629", size = 11724197, upload-time = "2025-06-05T20:59:46.935Z" },- { url = "https://files.pythonhosted.org/packages/bb/f0/466fe8469b85c561e081d798c45f8a1d21e0b4a5ef795a1d7f1a9a9ec182/ruff-0.11.13-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:d28ce58b5ecf0f43c1b71edffabe6ed7f245d5336b17805803312ec9bc665933", size = 12511615, upload-time = "2025-06-05T20:59:49.534Z" },- { url = "https://files.pythonhosted.org/packages/17/0e/cefe778b46dbd0cbcb03a839946c8f80a06f7968eb298aa4d1a4293f3448/ruff-0.11.13-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:55e4bc3a77842da33c16d55b32c6cac1ec5fb0fbec9c8c513bdce76c4f922165", size = 12117080, upload-time = "2025-06-05T20:59:51.654Z" },- { url = "https://files.pythonhosted.org/packages/5d/2c/caaeda564cbe103bed145ea557cb86795b18651b0f6b3ff6a10e84e5a33f/ruff-0.11.13-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:633bf2c6f35678c56ec73189ba6fa19ff1c5e4807a78bf60ef487b9dd272cc71", size = 11326315, upload-time = "2025-06-05T20:59:54.469Z" },- { url = "https://files.pythonhosted.org/packages/75/f0/782e7d681d660eda8c536962920c41309e6dd4ebcea9a2714ed5127d44bd/ruff-0.11.13-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4ffbc82d70424b275b089166310448051afdc6e914fdab90e08df66c43bb5ca9", size = 11555640, upload-time = "2025-06-05T20:59:56.986Z" },- { url = "https://files.pythonhosted.org/packages/5d/d4/3d580c616316c7f07fb3c99dbecfe01fbaea7b6fd9a82b801e72e5de742a/ruff-0.11.13-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:4a9ddd3ec62a9a89578c85842b836e4ac832d4a2e0bfaad3b02243f930ceafcc", size = 10507364, upload-time = "2025-06-05T20:59:59.154Z" },- { url = "https://files.pythonhosted.org/packages/5a/dc/195e6f17d7b3ea6b12dc4f3e9de575db7983db187c378d44606e5d503319/ruff-0.11.13-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d237a496e0778d719efb05058c64d28b757c77824e04ffe8796c7436e26712b7", size = 10141462, upload-time = "2025-06-05T21:00:01.481Z" },- { url = "https://files.pythonhosted.org/packages/f4/8e/39a094af6967faa57ecdeacb91bedfb232474ff8c3d20f16a5514e6b3534/ruff-0.11.13-py3-none-musllinux_1_2_i686.whl", hash = "sha256:26816a218ca6ef02142343fd24c70f7cd8c5aa6c203bca284407adf675984432", size = 11121028, upload-time = "2025-06-05T21:00:04.06Z" },- { url = "https://files.pythonhosted.org/packages/5a/c0/b0b508193b0e8a1654ec683ebab18d309861f8bd64e3a2f9648b80d392cb/ruff-0.11.13-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:51c3f95abd9331dc5b87c47ac7f376db5616041173826dfd556cfe3d4977f492", size = 11602992, upload-time = "2025-06-05T21:00:06.249Z" },- { url = "https://files.pythonhosted.org/packages/7c/91/263e33ab93ab09ca06ce4f8f8547a858cc198072f873ebc9be7466790bae/ruff-0.11.13-py3-none-win32.whl", hash = "sha256:96c27935418e4e8e77a26bb05962817f28b8ef3843a6c6cc49d8783b5507f250", size = 10474944, upload-time = "2025-06-05T21:00:08.459Z" },- { url = "https://files.pythonhosted.org/packages/46/f4/7c27734ac2073aae8efb0119cae6931b6fb48017adf048fdf85c19337afc/ruff-0.11.13-py3-none-win_amd64.whl", hash = "sha256:29c3189895a8a6a657b7af4e97d330c8a3afd2c9c8f46c81e2fc5a31866517e3", size = 11548669, upload-time = "2025-06-05T21:00:11.147Z" },- { url = "https://files.pythonhosted.org/packages/ec/bf/b273dd11673fed8a6bd46032c0ea2a04b2ac9bfa9c628756a5856ba113b0/ruff-0.11.13-py3-none-win_arm64.whl", hash = "sha256:b4385285e9179d608ff1d2fb9922062663c658605819a6876d8beef0c30b7f3b", size = 10683928, upload-time = "2025-06-05T21:00:13.758Z" },+version = "0.12.10"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/3b/eb/8c073deb376e46ae767f4961390d17545e8535921d2f65101720ed8bd434/ruff-0.12.10.tar.gz", hash = "sha256:189ab65149d11ea69a2d775343adf5f49bb2426fc4780f65ee33b423ad2e47f9", size = 5310076, upload-time = "2025-08-21T18:23:22.595Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/24/e7/560d049d15585d6c201f9eeacd2fd130def3741323e5ccf123786e0e3c95/ruff-0.12.10-py3-none-linux_armv6l.whl", hash = "sha256:8b593cb0fb55cc8692dac7b06deb29afda78c721c7ccfed22db941201b7b8f7b", size = 11935161, upload-time = "2025-08-21T18:22:26.965Z" },+ { url = "https://files.pythonhosted.org/packages/d1/b0/ad2464922a1113c365d12b8f80ed70fcfb39764288ac77c995156080488d/ruff-0.12.10-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ebb7333a45d56efc7c110a46a69a1b32365d5c5161e7244aaf3aa20ce62399c1", size = 12660884, upload-time = "2025-08-21T18:22:30.925Z" },+ { url = "https://files.pythonhosted.org/packages/d7/f1/97f509b4108d7bae16c48389f54f005b62ce86712120fd8b2d8e88a7cb49/ruff-0.12.10-py3-none-macosx_11_0_arm64.whl", hash = "sha256:d59e58586829f8e4a9920788f6efba97a13d1fa320b047814e8afede381c6839", size = 11872754, upload-time = "2025-08-21T18:22:34.035Z" },+ { url = "https://files.pythonhosted.org/packages/12/ad/44f606d243f744a75adc432275217296095101f83f966842063d78eee2d3/ruff-0.12.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:822d9677b560f1fdeab69b89d1f444bf5459da4aa04e06e766cf0121771ab844", size = 12092276, upload-time = "2025-08-21T18:22:36.764Z" },+ { url = "https://files.pythonhosted.org/packages/06/1f/ed6c265e199568010197909b25c896d66e4ef2c5e1c3808caf461f6f3579/ruff-0.12.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:37b4a64f4062a50c75019c61c7017ff598cb444984b638511f48539d3a1c98db", size = 11734700, upload-time = "2025-08-21T18:22:39.822Z" },+ { url = "https://files.pythonhosted.org/packages/63/c5/b21cde720f54a1d1db71538c0bc9b73dee4b563a7dd7d2e404914904d7f5/ruff-0.12.10-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2c6f4064c69d2542029b2a61d39920c85240c39837599d7f2e32e80d36401d6e", size = 13468783, upload-time = "2025-08-21T18:22:42.559Z" },+ { url = "https://files.pythonhosted.org/packages/02/9e/39369e6ac7f2a1848f22fb0b00b690492f20811a1ac5c1fd1d2798329263/ruff-0.12.10-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:059e863ea3a9ade41407ad71c1de2badfbe01539117f38f763ba42a1206f7559", size = 14436642, upload-time = "2025-08-21T18:22:45.612Z" },+ { url = "https://files.pythonhosted.org/packages/e3/03/5da8cad4b0d5242a936eb203b58318016db44f5c5d351b07e3f5e211bb89/ruff-0.12.10-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1bef6161e297c68908b7218fa6e0e93e99a286e5ed9653d4be71e687dff101cf", size = 13859107, upload-time = "2025-08-21T18:22:48.886Z" },+ { url = "https://files.pythonhosted.org/packages/19/19/dd7273b69bf7f93a070c9cec9494a94048325ad18fdcf50114f07e6bf417/ruff-0.12.10-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4f1345fbf8fb0531cd722285b5f15af49b2932742fc96b633e883da8d841896b", size = 12886521, upload-time = "2025-08-21T18:22:51.567Z" },+ { url = "https://files.pythonhosted.org/packages/c0/1d/b4207ec35e7babaee62c462769e77457e26eb853fbdc877af29417033333/ruff-0.12.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1f68433c4fbc63efbfa3ba5db31727db229fa4e61000f452c540474b03de52a9", size = 13097528, upload-time = "2025-08-21T18:22:54.609Z" },+ { url = "https://files.pythonhosted.org/packages/ff/00/58f7b873b21114456e880b75176af3490d7a2836033779ca42f50de3b47a/ruff-0.12.10-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:141ce3d88803c625257b8a6debf4a0473eb6eed9643a6189b68838b43e78165a", size = 13080443, upload-time = "2025-08-21T18:22:57.413Z" },+ { url = "https://files.pythonhosted.org/packages/12/8c/9e6660007fb10189ccb78a02b41691288038e51e4788bf49b0a60f740604/ruff-0.12.10-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:f3fc21178cd44c98142ae7590f42ddcb587b8e09a3b849cbc84edb62ee95de60", size = 11896759, upload-time = "2025-08-21T18:23:00.473Z" },+ { url = "https://files.pythonhosted.org/packages/67/4c/6d092bb99ea9ea6ebda817a0e7ad886f42a58b4501a7e27cd97371d0ba54/ruff-0.12.10-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:7d1a4e0bdfafcd2e3e235ecf50bf0176f74dd37902f241588ae1f6c827a36c56", size = 11701463, upload-time = "2025-08-21T18:23:03.211Z" },+ { url = "https://files.pythonhosted.org/packages/59/80/d982c55e91df981f3ab62559371380616c57ffd0172d96850280c2b04fa8/ruff-0.12.10-py3-none-musllinux_1_2_i686.whl", hash = "sha256:e67d96827854f50b9e3e8327b031647e7bcc090dbe7bb11101a81a3a2cbf1cc9", size = 12691603, upload-time = "2025-08-21T18:23:06.935Z" },+ { url = "https://files.pythonhosted.org/packages/ad/37/63a9c788bbe0b0850611669ec6b8589838faf2f4f959647f2d3e320383ae/ruff-0.12.10-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:ae479e1a18b439c59138f066ae79cc0f3ee250712a873d00dbafadaad9481e5b", size = 13164356, upload-time = "2025-08-21T18:23:10.225Z" },+ { url = "https://files.pythonhosted.org/packages/47/d4/1aaa7fb201a74181989970ebccd12f88c0fc074777027e2a21de5a90657e/ruff-0.12.10-py3-none-win32.whl", hash = "sha256:9de785e95dc2f09846c5e6e1d3a3d32ecd0b283a979898ad427a9be7be22b266", size = 11896089, upload-time = "2025-08-21T18:23:14.232Z" },+ { url = "https://files.pythonhosted.org/packages/ad/14/2ad38fd4037daab9e023456a4a40ed0154e9971f8d6aed41bdea390aabd9/ruff-0.12.10-py3-none-win_amd64.whl", hash = "sha256:7837eca8787f076f67aba2ca559cefd9c5cbc3a9852fd66186f4201b87c1563e", size = 13004616, upload-time = "2025-08-21T18:23:17.422Z" },+ { url = "https://files.pythonhosted.org/packages/24/3c/21cf283d67af33a8e6ed242396863af195a8a6134ec581524fd22b9811b6/ruff-0.12.10-py3-none-win_arm64.whl", hash = "sha256:cc138cc06ed9d4bfa9d667a65af7172b47840e1a98b02ce7011c391e54635ffc", size = 12074225, upload-time = "2025-08-21T18:23:20.137Z" },][[package]]name = "s3transfer"-version = "0.11.3"+version = "0.13.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "botocore" },]-sdist = { url = "https://files.pythonhosted.org/packages/39/24/1390172471d569e281fcfd29b92f2f73774e95972c965d14b6c802ff2352/s3transfer-0.11.3.tar.gz", hash = "sha256:edae4977e3a122445660c7c114bba949f9d191bae3b34a096f18a1c8c354527a", size = 148042, upload-time = "2025-02-26T20:44:57.459Z" }+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/e4/81/48c41b554a54d75d4407740abb60e3a102ae416284df04d1dbdcbe3dbf24/s3transfer-0.11.3-py3-none-any.whl", hash = "sha256:ca855bdeb885174b5ffa95b9913622459d4ad8e331fc98eb01e6d5eb6a30655d", size = 84246, upload-time = "2025-02-26T20:44:55.509Z" },+ { 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]]@@ -2621,7 +2736,7 @@ wheels = [[[package]]name = "typer"-version = "0.16.0"+version = "0.16.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "click" },@@ -2629,14 +2744,14 @@ dependencies = [{ name = "shellingham" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/c5/8c/7d682431efca5fd290017663ea4588bf6f2c6aad085c7f108c5dbc316e70/typer-0.16.0.tar.gz", hash = "sha256:af377ffaee1dbe37ae9440cb4e8f11686ea5ce4e9bae01b84ae7c63b87f1dd3b", size = 102625, upload-time = "2025-05-26T14:30:31.824Z" }+sdist = { url = "https://files.pythonhosted.org/packages/43/78/d90f616bf5f88f8710ad067c1f8705bf7618059836ca084e5bb2a0855d75/typer-0.16.1.tar.gz", hash = "sha256:d358c65a464a7a90f338e3bb7ff0c74ac081449e53884b12ba658cbd72990614", size = 102836, upload-time = "2025-08-18T19:18:22.898Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/76/42/3efaf858001d2c2913de7f354563e3a3a2f0decae3efe98427125a8f441e/typer-0.16.0-py3-none-any.whl", hash = "sha256:1f79bed11d4d02d4310e3c1b7ba594183bcedb0ac73b27a9e5f28f6fb5b98855", size = 46317, upload-time = "2025-05-26T14:30:30.523Z" },+ { url = "https://files.pythonhosted.org/packages/2d/76/06dbe78f39b2203d2a47d5facc5df5102d0561e2807396471b5f7c5a30a1/typer-0.16.1-py3-none-any.whl", hash = "sha256:90ee01cb02d9b8395ae21ee3368421faf21fa138cb2a541ed369c08cec5237c9", size = 46397, upload-time = "2025-08-18T19:18:21.663Z" },][[package]]name = "types-aioboto3"-version = "14.3.0"+version = "15.1.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "botocore-stubs" },@@ -2644,9 +2759,9 @@ dependencies = [{ name = "types-s3transfer" },{ name = "typing-extensions", marker = "python_full_version < '3.12'" },]-sdist = { url = "https://files.pythonhosted.org/packages/8e/00/e6abcb83ff3e0f9b909ef84f1674bdb31c00f35d8c9e74e7487fa22c6d17/types_aioboto3-14.3.0.tar.gz", hash = "sha256:ba722ed63c54427e99bb3439c212576caecb42fa63aac593b6f63d60d42de170", size = 80279, upload-time = "2025-05-08T01:18:02.839Z" }+sdist = { url = "https://files.pythonhosted.org/packages/25/96/25b5f3b44dc6f0bb4efd21b1cc420d32ce34b4064e04e166ef0e852f8785/types_aioboto3-15.1.0.tar.gz", hash = "sha256:2f1bdfaf25ec015a50c0ce703b4298de1f2c9655f52b4a345334dd4f6ba14196", size = 81801, upload-time = "2025-08-15T01:17:05.565Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/d4/f9/dbf7c43157e1d7ce63db163c567514eb719c8513973f6041372377d05478/types_aioboto3-14.3.0-py3-none-any.whl", hash = "sha256:017a9916e9ffdb48b5961d3f32d7a67cebb8c46dad53c778d2bca0fc47ac9087", size = 42091, upload-time = "2025-05-08T01:13:07.888Z" },+ { url = "https://files.pythonhosted.org/packages/ad/32/8382d5eaa04c391400f5b012f168a234755069faba2b55e43546a5349b84/types_aioboto3-15.1.0-py3-none-any.whl", hash = "sha256:5b897de267eb1766f02d1cd089e21ca88eeff18bd04000cba8713ea3468a3db5", size = 42867, upload-time = "2025-08-15T01:17:01.927Z" },][package.optional-dependencies]@@ -2659,57 +2774,57 @@ bedrock-runtime = [[[package]]name = "types-aiobotocore"-version = "2.23.0"+version = "2.24.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "botocore-stubs" },{ name = "typing-extensions", marker = "python_full_version < '3.12'" },]-sdist = { url = "https://files.pythonhosted.org/packages/d6/2b/1e039d61079d9f4fd9011eff2aab0ecd1ec1fe16eb9a1c08720b4686248f/types_aiobotocore-2.23.0.tar.gz", hash = "sha256:d363a584726b9582e18cadbed9f88053ac4b488373e0e643d292b57b2f182ac8", size = 84697, upload-time = "2025-06-13T01:59:52.009Z" }+sdist = { url = "https://files.pythonhosted.org/packages/3d/cb/b91a0e6d6fe42966851e487019b5272bd05a504f755a7c9ab64bbdbd61fb/types_aiobotocore-2.24.1.tar.gz", hash = "sha256:82ad58aa05bcd7da9acdbcc1f58fb1b420b817a5eadba6e58f30a41aa14c5de8", size = 86560, upload-time = "2025-08-16T01:52:38.823Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/4c/4b/821a589e7d02f2ceef9e627139cf0c6c8b554d8e7c44117006f1f2a46c5d/types_aiobotocore-2.23.0-py3-none-any.whl", hash = "sha256:f62d9a58d730bbde825355feedb045713b6de2feab4c1b68b071afd1da60dea8", size = 52122, upload-time = "2025-06-13T01:59:46.918Z" },+ { url = "https://files.pythonhosted.org/packages/01/d3/7b8bba118946a9fb5cc35a37804f7b5ba23f574bdd55ce5893f800947088/types_aiobotocore-2.24.1-py3-none-any.whl", hash = "sha256:3c766918cae7e7e908352930f4ecc4de00130a5b84ba16d305d2b9be942d304e", size = 54091, upload-time = "2025-08-16T01:52:33.248Z" },][[package]]name = "types-aiobotocore-bedrock"-version = "2.22.0"+version = "2.24.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "typing-extensions", marker = "python_full_version < '3.12'" },]-sdist = { url = "https://files.pythonhosted.org/packages/c0/79/235134e7c136439566673df80d3c6599e90e814a6bd7c473c8f25fbe1b4d/types_aiobotocore_bedrock-2.22.0.tar.gz", hash = "sha256:e2106f935deb02b9c8b593bdf8ece93f7bb680906fa903aafe1f276720c4367d", size = 42056, upload-time = "2025-05-02T01:32:09.926Z" }+sdist = { url = "https://files.pythonhosted.org/packages/d3/fc/08d0406050d768d4735784db095e528f03ac82fa075418d32956fcb92433/types_aiobotocore_bedrock-2.24.1.tar.gz", hash = "sha256:551dfd7d9291410d8c3f651d8a1dc216fd3a9e5473e7a5d3e2784bcd6cb3847c", size = 48024, upload-time = "2025-08-16T01:42:28.072Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/1b/21/7e4f1020d8a8cba5418695a60f6ea01a6ef2c0371d1151fbae556cfcfcc7/types_aiobotocore_bedrock-2.22.0-py3-none-any.whl", hash = "sha256:301a591b4deda3e3a04c5d73f6056e8043ee419b8c5327c6bdb2dba42ebc8022", size = 47785, upload-time = "2025-05-02T01:32:08.13Z" },+ { url = "https://files.pythonhosted.org/packages/f3/bb/8757d4c148e32b51a8e5f78d939a6dc538035383b902d83dc35c4abcdbf5/types_aiobotocore_bedrock-2.24.1-py3-none-any.whl", hash = "sha256:13fd0807578f014c297c4d9481b8c821f20e5d9866581dc8f2de661cc9934919", size = 54395, upload-time = "2025-08-16T01:42:27.091Z" },][[package]]name = "types-aiobotocore-bedrock-runtime"-version = "2.22.0"+version = "2.24.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "typing-extensions", marker = "python_full_version < '3.12'" },]-sdist = { url = "https://files.pythonhosted.org/packages/b5/f8/75095d50fbfba24f4f9c9ca4d072a4331a05380cde99141d4042de82173f/types_aiobotocore_bedrock_runtime-2.22.0.tar.gz", hash = "sha256:9c211fc08818dbd9b0261a37084291af643d1e19460aad0f12833d2f5a3b1b86", size = 25445, upload-time = "2025-05-02T01:32:11.956Z" }+sdist = { url = "https://files.pythonhosted.org/packages/84/9b/88db259017518867eabf45a9171d0a28250d46a9251614dac15a4aee642f/types_aiobotocore_bedrock_runtime-2.24.1.tar.gz", hash = "sha256:51edd877b087249670bfc3f43cd5f5c1ca3e4b0fdc8f612d26df8ced1d8c4589", size = 27212, upload-time = "2025-08-16T01:42:29.648Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/ef/0e/530983cac57bdac158bb0083f38be2fd66d1b311b023769280482d0a2b00/types_aiobotocore_bedrock_runtime-2.22.0-py3-none-any.whl", hash = "sha256:19bb3c06a62fb20980983598990f7670548b028b0c7bc429d113d7595fbab185", size = 31642, upload-time = "2025-05-02T01:32:10.468Z" },+ { url = "https://files.pythonhosted.org/packages/d2/d9/12441f1df3baf31391f7a967a7495ddf781feff1f2e9a42cae6b5b2b667a/types_aiobotocore_bedrock_runtime-2.24.1-py3-none-any.whl", hash = "sha256:ec709cbf2b0b1e21c689dec74aeb17a49aec829c2a743c512c3dd5ba1e986460", size = 33191, upload-time = "2025-08-16T01:42:28.762Z" },][[package]]name = "types-aiofiles"-version = "24.1.0.20250606"+version = "24.1.0.20250822"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/64/6e/fac4ffc896cb3faf2ac5d23747b65dd8bae1d9ee23305d1a3b12111c3989/types_aiofiles-24.1.0.20250606.tar.gz", hash = "sha256:48f9e26d2738a21e0b0f19381f713dcdb852a36727da8414b1ada145d40a18fe", size = 14364, upload-time = "2025-06-06T03:09:26.515Z" }+sdist = { url = "https://files.pythonhosted.org/packages/19/48/c64471adac9206cc844afb33ed311ac5a65d2f59df3d861e0f2d0cad7414/types_aiofiles-24.1.0.20250822.tar.gz", hash = "sha256:9ab90d8e0c307fe97a7cf09338301e3f01a163e39f3b529ace82466355c84a7b", size = 14484, upload-time = "2025-08-22T03:02:23.039Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/71/de/f2fa2ab8a5943898e93d8036941e05bfd1e1f377a675ee52c7c307dccb75/types_aiofiles-24.1.0.20250606-py3-none-any.whl", hash = "sha256:e568c53fb9017c80897a9aa15c74bf43b7ee90e412286ec1e0912b6e79301aee", size = 14276, upload-time = "2025-06-06T03:09:25.662Z" },+ { url = "https://files.pythonhosted.org/packages/bc/8e/5e6d2215e1d8f7c2a94c6e9d0059ae8109ce0f5681956d11bb0a228cef04/types_aiofiles-24.1.0.20250822-py3-none-any.whl", hash = "sha256:0ec8f8909e1a85a5a79aed0573af7901f53120dd2a29771dd0b3ef48e12328b0", size = 14322, upload-time = "2025-08-22T03:02:21.918Z" },][[package]]name = "types-awscrt"-version = "0.27.2"+version = "0.27.6"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/36/6c/583522cfb3c330e92e726af517a91c13247e555e021791a60f1b03c6ff16/types_awscrt-0.27.2.tar.gz", hash = "sha256:acd04f57119eb15626ab0ba9157fc24672421de56e7bd7b9f61681fedee44e91", size = 16304, upload-time = "2025-05-16T03:10:08.712Z" }+sdist = { url = "https://files.pythonhosted.org/packages/56/ce/5d84526a39f44c420ce61b16654193f8437d74b54f21597ea2ac65d89954/types_awscrt-0.27.6.tar.gz", hash = "sha256:9d3f1865a93b8b2c32f137514ac88cb048b5bc438739945ba19d972698995bfb", size = 16937, upload-time = "2025-08-13T01:54:54.659Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/4c/82/1ee2e5c9d28deac086ab3a6ff07c8bc393ef013a083f546c623699881715/types_awscrt-0.27.2-py3-none-any.whl", hash = "sha256:49a045f25bbd5ad2865f314512afced933aed35ddbafc252e2268efa8a787e4e", size = 37761, upload-time = "2025-05-16T03:10:07.466Z" },+ { url = "https://files.pythonhosted.org/packages/ac/af/e3d20e3e81d235b3964846adf46a334645a8a9b25a0d3d472743eb079552/types_awscrt-0.27.6-py3-none-any.whl", hash = "sha256:18aced46da00a57f02eb97637a32e5894dc5aa3dc6a905ba3e5ed85b9f3c526b", size = 39626, upload-time = "2025-08-13T01:54:53.454Z" },][[package]]@@ -2726,72 +2841,72 @@ wheels = [[[package]]name = "types-html5lib"-version = "1.1.11.20250516"+version = "1.1.11.20250809"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/d0/ed/9f092ff479e2b5598941855f314a22953bb04b5fb38bcba3f880feb833ba/types_html5lib-1.1.11.20250516.tar.gz", hash = "sha256:65043a6718c97f7d52567cc0cdf41efbfc33b1f92c6c0c5e19f60a7ec69ae720", size = 16136, upload-time = "2025-05-16T03:07:12.231Z" }+sdist = { url = "https://files.pythonhosted.org/packages/70/ab/6aa4c487ae6f4f9da5153143bdc9e9b4fbc2b105df7ef8127fb920dc1f21/types_html5lib-1.1.11.20250809.tar.gz", hash = "sha256:7976ec7426bb009997dc5e072bca3ed988dd747d0cbfe093c7dfbd3d5ec8bf57", size = 16793, upload-time = "2025-08-09T03:14:20.819Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/cc/3b/cb5b23c7b51bf48b8c9f175abb9dce2f1ecd2d2c25f92ea9f4e3720e9398/types_html5lib-1.1.11.20250516-py3-none-any.whl", hash = "sha256:5e407b14b1bd2b9b1107cbd1e2e19d4a0c46d60febd231c7ab7313d7405663c1", size = 21770, upload-time = "2025-05-16T03:07:11.102Z" },+ { url = "https://files.pythonhosted.org/packages/9b/05/328a2d6ecbd8aa3e16512600da78b1fe4605125896794a21824f3cac6f14/types_html5lib-1.1.11.20250809-py3-none-any.whl", hash = "sha256:e5f48ab670ae4cdeafd88bbc47113d8126dcf08318e0b8d70df26ecc13eca9b6", size = 22867, upload-time = "2025-08-09T03:14:20.048Z" },][[package]]name = "types-markdown"-version = "3.8.0.20250415"+version = "3.8.0.20250809"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/0d/d3/5fa81c99f0d169ade1f96822c5b327821c0357663e3b6d8782c870457a2d/types_markdown-3.8.0.20250415.tar.gz", hash = "sha256:98ab13587d1177769d93e55586d3dc97047df75bc6e37ce4074666f5dd4212ba", size = 18265, upload-time = "2025-04-15T02:59:48.441Z" }+sdist = { url = "https://files.pythonhosted.org/packages/04/65/6abc45be9bfead21329da7a1c69f6aa6212f60917b24a93c9efc0fb00ec6/types_markdown-3.8.0.20250809.tar.gz", hash = "sha256:fa619e735878a244332a4bbe16bcfc44e49ff6264c2696056278f0642cdfa223", size = 19310, upload-time = "2025-08-09T03:14:48.291Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/9d/03/3a6ea34260eb8358aaeaa5c2eac8000aa5d1f71778d706848fc91698d5ee/types_markdown-3.8.0.20250415-py3-none-any.whl", hash = "sha256:b41abed474a303ba300e3a4cf6f27eda339219124a59d529a158203570007776", size = 23695, upload-time = "2025-04-15T02:59:47.206Z" },+ { url = "https://files.pythonhosted.org/packages/1f/2f/77ecd81e0d1bf54c576b84f076b9fa2a5ba4aef8a4b56e7fb50b9fa52f3b/types_markdown-3.8.0.20250809-py3-none-any.whl", hash = "sha256:3f34a38c2259a3158e90ab0cb058cd8f4fdd3d75e2a0b335cb57f25dc2bc77d3", size = 25753, upload-time = "2025-08-09T03:14:47.461Z" },][[package]]name = "types-networkx"-version = "3.5.0.20250610"+version = "3.5.0.20250823"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },- { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },+ { name = "numpy", version = "2.3.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },]-sdist = { url = "https://files.pythonhosted.org/packages/67/25/2c101319d0e7e715a31f0fcaf1080b70c113166edf76c6a88010f2959968/types_networkx-3.5.0.20250610.tar.gz", hash = "sha256:874196bef3f116f57ca86818a576274def24c5a66cb00ff77d3e1f376ab57157", size = 64416, upload-time = "2025-06-10T03:12:45.3Z" }+sdist = { url = "https://files.pythonhosted.org/packages/f0/f8/261ee0b0224ab720476bd08755c13c6ebafb65069d4d2cd1166f5d92efad/types_networkx-3.5.0.20250823.tar.gz", hash = "sha256:c138bcff1d8051f76c23341f29f95e5517e28b46bcc271a85284aa20618a9ef8", size = 70927, upload-time = "2025-08-23T02:56:38.392Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/06/7a/3658f84cfc20500a231d2aae1c98c284f61e5e366aabccda38c9ab6095dc/types_networkx-3.5.0.20250610-py3-none-any.whl", hash = "sha256:c428b96c544f28fe955bfc2253581ed5d3389a59c03997b79da5188be0191c56", size = 150419, upload-time = "2025-06-10T03:12:43.799Z" },+ { url = "https://files.pythonhosted.org/packages/58/66/8e19622a0d3910543c9498a8bacb07e50ef4ad12f26d719a626762891921/types_networkx-3.5.0.20250823-py3-none-any.whl", hash = "sha256:fa8e4420991fd70aeb0b84ea975320fe83b84e2214e6b7218c73a6dfee42f0ab", size = 158897, upload-time = "2025-08-23T02:56:37.157Z" },][[package]]name = "types-openpyxl"-version = "3.1.5.20250602"+version = "3.1.5.20250822"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/bc/d4/33cc2f331cde82206aa4ec7d8db408beca65964785f438c6d2505d828178/types_openpyxl-3.1.5.20250602.tar.gz", hash = "sha256:d19831482022fc933780d6e9d6990464c18c2ec5f14786fea862f72c876980b5", size = 100608, upload-time = "2025-06-02T03:14:40.625Z" }+sdist = { url = "https://files.pythonhosted.org/packages/fe/7f/ea358482217448deafdb9232f198603511d2efa99e429822256f2b38975a/types_openpyxl-3.1.5.20250822.tar.gz", hash = "sha256:c8704a163e3798290d182c13c75da85f68cd97ff9b35f0ebfb94cf72f8b67bb3", size = 100858, upload-time = "2025-08-22T03:03:31.835Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/2e/69/5b924a20a4d441ec2160e94085b9fa9358dc27edde10080d71209c59101d/types_openpyxl-3.1.5.20250602-py3-none-any.whl", hash = "sha256:1f82211e086902318f6a14b5d8d865102362fda7cb82f3d63ac4dff47a1f164b", size = 165922, upload-time = "2025-06-02T03:14:39.226Z" },+ { url = "https://files.pythonhosted.org/packages/5e/e8/cac4728e8dcbeb69d6de7de26bb9edb508e9f5c82476ecda22b58b939e60/types_openpyxl-3.1.5.20250822-py3-none-any.whl", hash = "sha256:da7a430d99c48347acf2dc351695f9db6ff90ecb761fed577b4a98fef2d0f831", size = 166093, upload-time = "2025-08-22T03:03:30.686Z" },][[package]]name = "types-pytz"-version = "2025.2.0.20250516"+version = "2025.2.0.20250809"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/bd/72/b0e711fd90409f5a76c75349055d3eb19992c110f0d2d6aabbd6cfbc14bf/types_pytz-2025.2.0.20250516.tar.gz", hash = "sha256:e1216306f8c0d5da6dafd6492e72eb080c9a166171fa80dd7a1990fd8be7a7b3", size = 10940, upload-time = "2025-05-16T03:07:01.91Z" }+sdist = { url = "https://files.pythonhosted.org/packages/07/e2/c774f754de26848f53f05defff5bb21dd9375a059d1ba5b5ea943cf8206e/types_pytz-2025.2.0.20250809.tar.gz", hash = "sha256:222e32e6a29bb28871f8834e8785e3801f2dc4441c715cd2082b271eecbe21e5", size = 10876, upload-time = "2025-08-09T03:14:17.453Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/c1/ba/e205cd11c1c7183b23c97e4bcd1de7bc0633e2e867601c32ecfc6ad42675/types_pytz-2025.2.0.20250516-py3-none-any.whl", hash = "sha256:e0e0c8a57e2791c19f718ed99ab2ba623856b11620cb6b637e5f62ce285a7451", size = 10136, upload-time = "2025-05-16T03:07:01.075Z" },+ { url = "https://files.pythonhosted.org/packages/db/d0/91c24fe54e565f2344d7a6821e6c6bb099841ef09007ea6321a0bac0f808/types_pytz-2025.2.0.20250809-py3-none-any.whl", hash = "sha256:4f55ed1b43e925cf851a756fe1707e0f5deeb1976e15bf844bcaa025e8fbd0db", size = 10095, upload-time = "2025-08-09T03:14:16.674Z" },][[package]]name = "types-pyyaml"-version = "6.0.12.20250516"+version = "6.0.12.20250822"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/4e/22/59e2aeb48ceeee1f7cd4537db9568df80d62bdb44a7f9e743502ea8aab9c/types_pyyaml-6.0.12.20250516.tar.gz", hash = "sha256:9f21a70216fc0fa1b216a8176db5f9e0af6eb35d2f2932acb87689d03a5bf6ba", size = 17378, upload-time = "2025-05-16T03:08:04.897Z" }+sdist = { url = "https://files.pythonhosted.org/packages/49/85/90a442e538359ab5c9e30de415006fb22567aa4301c908c09f19e42975c2/types_pyyaml-6.0.12.20250822.tar.gz", hash = "sha256:259f1d93079d335730a9db7cff2bcaf65d7e04b4a56b5927d49a612199b59413", size = 17481, upload-time = "2025-08-22T03:02:16.209Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/99/5f/e0af6f7f6a260d9af67e1db4f54d732abad514252a7a378a6c4d17dd1036/types_pyyaml-6.0.12.20250516-py3-none-any.whl", hash = "sha256:8478208feaeb53a34cb5d970c56a7cd76b72659442e733e268a94dc72b2d0530", size = 20312, upload-time = "2025-05-16T03:08:04.019Z" },+ { url = "https://files.pythonhosted.org/packages/32/8e/8f0aca667c97c0d76024b37cffa39e76e2ce39ca54a38f285a64e6ae33ba/types_pyyaml-6.0.12.20250822-py3-none-any.whl", hash = "sha256:1fe1a5e146aa315483592d292b72a172b65b946a6d98aa6ddd8e4aa838ab7098", size = 20314, upload-time = "2025-08-22T03:02:15.002Z" },][[package]]name = "types-requests"-version = "2.32.4.20250611"+version = "2.32.4.20250809"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "urllib3" },]-sdist = { url = "https://files.pythonhosted.org/packages/6d/7f/73b3a04a53b0fd2a911d4ec517940ecd6600630b559e4505cc7b68beb5a0/types_requests-2.32.4.20250611.tar.gz", hash = "sha256:741c8777ed6425830bf51e54d6abe245f79b4dcb9019f1622b773463946bf826", size = 23118, upload-time = "2025-06-11T03:11:41.272Z" }+sdist = { url = "https://files.pythonhosted.org/packages/ed/b0/9355adb86ec84d057fea765e4c49cce592aaf3d5117ce5609a95a7fc3dac/types_requests-2.32.4.20250809.tar.gz", hash = "sha256:d8060de1c8ee599311f56ff58010fb4902f462a1470802cf9f6ed27bc46c4df3", size = 23027, upload-time = "2025-08-09T03:17:10.664Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/3d/ea/0be9258c5a4fa1ba2300111aa5a0767ee6d18eb3fd20e91616c12082284d/types_requests-2.32.4.20250611-py3-none-any.whl", hash = "sha256:ad2fe5d3b0cb3c2c902c8815a70e7fb2302c4b8c1f77bdcd738192cdb3878072", size = 20643, upload-time = "2025-06-11T03:11:40.186Z" },+ { url = "https://files.pythonhosted.org/packages/2b/6f/ec0012be842b1d888d46884ac5558fd62aeae1f0ec4f7a581433d890d4b5/types_requests-2.32.4.20250809-py3-none-any.whl", hash = "sha256:f73d1832fb519ece02c85b1f09d5f0dd3108938e7d47e7f94bbfa18a6782b163", size = 20644, upload-time = "2025-08-09T03:17:09.716Z" },][[package]]@@ -2814,11 +2929,11 @@ wheels = [[[package]]name = "typing-extensions"-version = "4.14.0"+version = "4.14.1"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/d1/bc/51647cd02527e87d05cb083ccc402f93e441606ff1f01739a62c8ad09ba5/typing_extensions-4.14.0.tar.gz", hash = "sha256:8676b788e32f02ab42d9e7c61324048ae4c6d844a399eebace3d4979d75ceef4", size = 107423, upload-time = "2025-06-02T14:52:11.399Z" }+sdist = { url = "https://files.pythonhosted.org/packages/98/5a/da40306b885cc8c09109dc2e1abd358d5684b1425678151cdaed4731c822/typing_extensions-4.14.1.tar.gz", hash = "sha256:38b39f4aeeab64884ce9f74c94263ef78f3c22467c8724005483154c26648d36", size = 107673, upload-time = "2025-07-04T13:28:34.16Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/69/e0/552843e0d356fbb5256d21449fa957fa4eff3bbc135a74a691ee70c7c5da/typing_extensions-4.14.0-py3-none-any.whl", hash = "sha256:a1514509136dd0b477638fc68d6a91497af5076466ad0fa6c338e44e359944af", size = 43839, upload-time = "2025-06-02T14:52:10.026Z" },+ { url = "https://files.pythonhosted.org/packages/b5/00/d631e67a838026495268c2f6884f3711a15a9a2a96cd244fdaea53b823fb/typing_extensions-4.14.1-py3-none-any.whl", hash = "sha256:d1e1e3b58374dc93031d6eda2420a48ea44a36c2b4766a4fdeb3710755731d76", size = 43906, upload-time = "2025-07-04T13:28:32.743Z" },][[package]]@@ -2845,11 +2960,11 @@ wheels = [[[package]]name = "urllib3"-version = "2.4.0"+version = "2.5.0"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/8a/78/16493d9c386d8e60e442a35feac5e00f0913c0f4b7c217c11e8ec2ff53e0/urllib3-2.4.0.tar.gz", hash = "sha256:414bc6535b787febd7567804cc015fee39daab8ad86268f1310a9250697de466", size = 390672, upload-time = "2025-04-10T15:23:39.232Z" }+sdist = { url = "https://files.pythonhosted.org/packages/15/22/9ee70a2574a4f4599c47dd506532914ce044817c7752a79b6a51286319bc/urllib3-2.5.0.tar.gz", hash = "sha256:3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760", size = 393185, upload-time = "2025-06-18T14:07:41.644Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/6b/11/cc635220681e93a0183390e26485430ca2c7b5f9d33b15c74c2861cb8091/urllib3-2.4.0-py3-none-any.whl", hash = "sha256:4e16665048960a0900c702d4a66415956a584919c03361cac9f1df5c5dd7e813", size = 128680, upload-time = "2025-04-10T15:23:37.377Z" },+ { url = "https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl", hash = "sha256:e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc", size = 129795, upload-time = "2025-06-18T14:07:40.39Z" },][[package]]@@ -2886,66 +3001,71 @@ wheels = [[[package]]name = "wrapt"-version = "1.17.2"-source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/c3/fc/e91cc220803d7bc4db93fb02facd8461c37364151b8494762cc88b0fbcef/wrapt-1.17.2.tar.gz", hash = "sha256:41388e9d4d1522446fe79d3213196bd9e3b301a336965b9e27ca2788ebd122f3", size = 55531, upload-time = "2025-01-14T10:35:45.465Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/5a/d1/1daec934997e8b160040c78d7b31789f19b122110a75eca3d4e8da0049e1/wrapt-1.17.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3d57c572081fed831ad2d26fd430d565b76aa277ed1d30ff4d40670b1c0dd984", size = 53307, upload-time = "2025-01-14T10:33:13.616Z" },- { url = "https://files.pythonhosted.org/packages/1b/7b/13369d42651b809389c1a7153baa01d9700430576c81a2f5c5e460df0ed9/wrapt-1.17.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b5e251054542ae57ac7f3fba5d10bfff615b6c2fb09abeb37d2f1463f841ae22", size = 38486, upload-time = "2025-01-14T10:33:15.947Z" },- { url = "https://files.pythonhosted.org/packages/62/bf/e0105016f907c30b4bd9e377867c48c34dc9c6c0c104556c9c9126bd89ed/wrapt-1.17.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:80dd7db6a7cb57ffbc279c4394246414ec99537ae81ffd702443335a61dbf3a7", size = 38777, upload-time = "2025-01-14T10:33:17.462Z" },- { url = "https://files.pythonhosted.org/packages/27/70/0f6e0679845cbf8b165e027d43402a55494779295c4b08414097b258ac87/wrapt-1.17.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a6e821770cf99cc586d33833b2ff32faebdbe886bd6322395606cf55153246c", size = 83314, upload-time = "2025-01-14T10:33:21.282Z" },- { url = "https://files.pythonhosted.org/packages/0f/77/0576d841bf84af8579124a93d216f55d6f74374e4445264cb378a6ed33eb/wrapt-1.17.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b60fb58b90c6d63779cb0c0c54eeb38941bae3ecf7a73c764c52c88c2dcb9d72", size = 74947, upload-time = "2025-01-14T10:33:24.414Z" },- { url = "https://files.pythonhosted.org/packages/90/ec/00759565518f268ed707dcc40f7eeec38637d46b098a1f5143bff488fe97/wrapt-1.17.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b870b5df5b71d8c3359d21be8f0d6c485fa0ebdb6477dda51a1ea54a9b558061", size = 82778, upload-time = "2025-01-14T10:33:26.152Z" },- { url = "https://files.pythonhosted.org/packages/f8/5a/7cffd26b1c607b0b0c8a9ca9d75757ad7620c9c0a9b4a25d3f8a1480fafc/wrapt-1.17.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4011d137b9955791f9084749cba9a367c68d50ab8d11d64c50ba1688c9b457f2", size = 81716, upload-time = "2025-01-14T10:33:27.372Z" },- { url = "https://files.pythonhosted.org/packages/7e/09/dccf68fa98e862df7e6a60a61d43d644b7d095a5fc36dbb591bbd4a1c7b2/wrapt-1.17.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:1473400e5b2733e58b396a04eb7f35f541e1fb976d0c0724d0223dd607e0f74c", size = 74548, upload-time = "2025-01-14T10:33:28.52Z" },- { url = "https://files.pythonhosted.org/packages/b7/8e/067021fa3c8814952c5e228d916963c1115b983e21393289de15128e867e/wrapt-1.17.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:3cedbfa9c940fdad3e6e941db7138e26ce8aad38ab5fe9dcfadfed9db7a54e62", size = 81334, upload-time = "2025-01-14T10:33:29.643Z" },- { url = "https://files.pythonhosted.org/packages/4b/0d/9d4b5219ae4393f718699ca1c05f5ebc0c40d076f7e65fd48f5f693294fb/wrapt-1.17.2-cp310-cp310-win32.whl", hash = "sha256:582530701bff1dec6779efa00c516496968edd851fba224fbd86e46cc6b73563", size = 36427, upload-time = "2025-01-14T10:33:30.832Z" },- { url = "https://files.pythonhosted.org/packages/72/6a/c5a83e8f61aec1e1aeef939807602fb880e5872371e95df2137142f5c58e/wrapt-1.17.2-cp310-cp310-win_amd64.whl", hash = "sha256:58705da316756681ad3c9c73fd15499aa4d8c69f9fd38dc8a35e06c12468582f", size = 38774, upload-time = "2025-01-14T10:33:32.897Z" },- { url = "https://files.pythonhosted.org/packages/cd/f7/a2aab2cbc7a665efab072344a8949a71081eed1d2f451f7f7d2b966594a2/wrapt-1.17.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ff04ef6eec3eee8a5efef2401495967a916feaa353643defcc03fc74fe213b58", size = 53308, upload-time = "2025-01-14T10:33:33.992Z" },- { url = "https://files.pythonhosted.org/packages/50/ff/149aba8365fdacef52b31a258c4dc1c57c79759c335eff0b3316a2664a64/wrapt-1.17.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4db983e7bca53819efdbd64590ee96c9213894272c776966ca6306b73e4affda", size = 38488, upload-time = "2025-01-14T10:33:35.264Z" },- { url = "https://files.pythonhosted.org/packages/65/46/5a917ce85b5c3b490d35c02bf71aedaa9f2f63f2d15d9949cc4ba56e8ba9/wrapt-1.17.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9abc77a4ce4c6f2a3168ff34b1da9b0f311a8f1cfd694ec96b0603dff1c79438", size = 38776, upload-time = "2025-01-14T10:33:38.28Z" },- { url = "https://files.pythonhosted.org/packages/ca/74/336c918d2915a4943501c77566db41d1bd6e9f4dbc317f356b9a244dfe83/wrapt-1.17.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0b929ac182f5ace000d459c59c2c9c33047e20e935f8e39371fa6e3b85d56f4a", size = 83776, upload-time = "2025-01-14T10:33:40.678Z" },- { url = "https://files.pythonhosted.org/packages/09/99/c0c844a5ccde0fe5761d4305485297f91d67cf2a1a824c5f282e661ec7ff/wrapt-1.17.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f09b286faeff3c750a879d336fb6d8713206fc97af3adc14def0cdd349df6000", size = 75420, upload-time = "2025-01-14T10:33:41.868Z" },- { url = "https://files.pythonhosted.org/packages/b4/b0/9fc566b0fe08b282c850063591a756057c3247b2362b9286429ec5bf1721/wrapt-1.17.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a7ed2d9d039bd41e889f6fb9364554052ca21ce823580f6a07c4ec245c1f5d6", size = 83199, upload-time = "2025-01-14T10:33:43.598Z" },- { url = "https://files.pythonhosted.org/packages/9d/4b/71996e62d543b0a0bd95dda485219856def3347e3e9380cc0d6cf10cfb2f/wrapt-1.17.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:129a150f5c445165ff941fc02ee27df65940fcb8a22a61828b1853c98763a64b", size = 82307, upload-time = "2025-01-14T10:33:48.499Z" },- { url = "https://files.pythonhosted.org/packages/39/35/0282c0d8789c0dc9bcc738911776c762a701f95cfe113fb8f0b40e45c2b9/wrapt-1.17.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1fb5699e4464afe5c7e65fa51d4f99e0b2eadcc176e4aa33600a3df7801d6662", size = 75025, upload-time = "2025-01-14T10:33:51.191Z" },- { url = "https://files.pythonhosted.org/packages/4f/6d/90c9fd2c3c6fee181feecb620d95105370198b6b98a0770cba090441a828/wrapt-1.17.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9a2bce789a5ea90e51a02dfcc39e31b7f1e662bc3317979aa7e5538e3a034f72", size = 81879, upload-time = "2025-01-14T10:33:52.328Z" },- { url = "https://files.pythonhosted.org/packages/8f/fa/9fb6e594f2ce03ef03eddbdb5f4f90acb1452221a5351116c7c4708ac865/wrapt-1.17.2-cp311-cp311-win32.whl", hash = "sha256:4afd5814270fdf6380616b321fd31435a462019d834f83c8611a0ce7484c7317", size = 36419, upload-time = "2025-01-14T10:33:53.551Z" },- { url = "https://files.pythonhosted.org/packages/47/f8/fb1773491a253cbc123c5d5dc15c86041f746ed30416535f2a8df1f4a392/wrapt-1.17.2-cp311-cp311-win_amd64.whl", hash = "sha256:acc130bc0375999da18e3d19e5a86403667ac0c4042a094fefb7eec8ebac7cf3", size = 38773, upload-time = "2025-01-14T10:33:56.323Z" },- { url = "https://files.pythonhosted.org/packages/a1/bd/ab55f849fd1f9a58ed7ea47f5559ff09741b25f00c191231f9f059c83949/wrapt-1.17.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:d5e2439eecc762cd85e7bd37161d4714aa03a33c5ba884e26c81559817ca0925", size = 53799, upload-time = "2025-01-14T10:33:57.4Z" },- { url = "https://files.pythonhosted.org/packages/53/18/75ddc64c3f63988f5a1d7e10fb204ffe5762bc663f8023f18ecaf31a332e/wrapt-1.17.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3fc7cb4c1c744f8c05cd5f9438a3caa6ab94ce8344e952d7c45a8ed59dd88392", size = 38821, upload-time = "2025-01-14T10:33:59.334Z" },- { url = "https://files.pythonhosted.org/packages/48/2a/97928387d6ed1c1ebbfd4efc4133a0633546bec8481a2dd5ec961313a1c7/wrapt-1.17.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8fdbdb757d5390f7c675e558fd3186d590973244fab0c5fe63d373ade3e99d40", size = 38919, upload-time = "2025-01-14T10:34:04.093Z" },- { url = "https://files.pythonhosted.org/packages/73/54/3bfe5a1febbbccb7a2f77de47b989c0b85ed3a6a41614b104204a788c20e/wrapt-1.17.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5bb1d0dbf99411f3d871deb6faa9aabb9d4e744d67dcaaa05399af89d847a91d", size = 88721, upload-time = "2025-01-14T10:34:07.163Z" },- { url = "https://files.pythonhosted.org/packages/25/cb/7262bc1b0300b4b64af50c2720ef958c2c1917525238d661c3e9a2b71b7b/wrapt-1.17.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d18a4865f46b8579d44e4fe1e2bcbc6472ad83d98e22a26c963d46e4c125ef0b", size = 80899, upload-time = "2025-01-14T10:34:09.82Z" },- { url = "https://files.pythonhosted.org/packages/2a/5a/04cde32b07a7431d4ed0553a76fdb7a61270e78c5fd5a603e190ac389f14/wrapt-1.17.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc570b5f14a79734437cb7b0500376b6b791153314986074486e0b0fa8d71d98", size = 89222, upload-time = "2025-01-14T10:34:11.258Z" },- { url = "https://files.pythonhosted.org/packages/09/28/2e45a4f4771fcfb109e244d5dbe54259e970362a311b67a965555ba65026/wrapt-1.17.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6d9187b01bebc3875bac9b087948a2bccefe464a7d8f627cf6e48b1bbae30f82", size = 86707, upload-time = "2025-01-14T10:34:12.49Z" },- { url = "https://files.pythonhosted.org/packages/c6/d2/dcb56bf5f32fcd4bd9aacc77b50a539abdd5b6536872413fd3f428b21bed/wrapt-1.17.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:9e8659775f1adf02eb1e6f109751268e493c73716ca5761f8acb695e52a756ae", size = 79685, upload-time = "2025-01-14T10:34:15.043Z" },- { url = "https://files.pythonhosted.org/packages/80/4e/eb8b353e36711347893f502ce91c770b0b0929f8f0bed2670a6856e667a9/wrapt-1.17.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e8b2816ebef96d83657b56306152a93909a83f23994f4b30ad4573b00bd11bb9", size = 87567, upload-time = "2025-01-14T10:34:16.563Z" },- { url = "https://files.pythonhosted.org/packages/17/27/4fe749a54e7fae6e7146f1c7d914d28ef599dacd4416566c055564080fe2/wrapt-1.17.2-cp312-cp312-win32.whl", hash = "sha256:468090021f391fe0056ad3e807e3d9034e0fd01adcd3bdfba977b6fdf4213ea9", size = 36672, upload-time = "2025-01-14T10:34:17.727Z" },- { url = "https://files.pythonhosted.org/packages/15/06/1dbf478ea45c03e78a6a8c4be4fdc3c3bddea5c8de8a93bc971415e47f0f/wrapt-1.17.2-cp312-cp312-win_amd64.whl", hash = "sha256:ec89ed91f2fa8e3f52ae53cd3cf640d6feff92ba90d62236a81e4e563ac0e991", size = 38865, upload-time = "2025-01-14T10:34:19.577Z" },- { url = "https://files.pythonhosted.org/packages/ce/b9/0ffd557a92f3b11d4c5d5e0c5e4ad057bd9eb8586615cdaf901409920b14/wrapt-1.17.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:6ed6ffac43aecfe6d86ec5b74b06a5be33d5bb9243d055141e8cabb12aa08125", size = 53800, upload-time = "2025-01-14T10:34:21.571Z" },- { url = "https://files.pythonhosted.org/packages/c0/ef/8be90a0b7e73c32e550c73cfb2fa09db62234227ece47b0e80a05073b375/wrapt-1.17.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:35621ae4c00e056adb0009f8e86e28eb4a41a4bfa8f9bfa9fca7d343fe94f998", size = 38824, upload-time = "2025-01-14T10:34:22.999Z" },- { url = "https://files.pythonhosted.org/packages/36/89/0aae34c10fe524cce30fe5fc433210376bce94cf74d05b0d68344c8ba46e/wrapt-1.17.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a604bf7a053f8362d27eb9fefd2097f82600b856d5abe996d623babd067b1ab5", size = 38920, upload-time = "2025-01-14T10:34:25.386Z" },- { url = "https://files.pythonhosted.org/packages/3b/24/11c4510de906d77e0cfb5197f1b1445d4fec42c9a39ea853d482698ac681/wrapt-1.17.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5cbabee4f083b6b4cd282f5b817a867cf0b1028c54d445b7ec7cfe6505057cf8", size = 88690, upload-time = "2025-01-14T10:34:28.058Z" },- { url = "https://files.pythonhosted.org/packages/71/d7/cfcf842291267bf455b3e266c0c29dcb675b5540ee8b50ba1699abf3af45/wrapt-1.17.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:49703ce2ddc220df165bd2962f8e03b84c89fee2d65e1c24a7defff6f988f4d6", size = 80861, upload-time = "2025-01-14T10:34:29.167Z" },- { url = "https://files.pythonhosted.org/packages/d5/66/5d973e9f3e7370fd686fb47a9af3319418ed925c27d72ce16b791231576d/wrapt-1.17.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8112e52c5822fc4253f3901b676c55ddf288614dc7011634e2719718eaa187dc", size = 89174, upload-time = "2025-01-14T10:34:31.702Z" },- { url = "https://files.pythonhosted.org/packages/a7/d3/8e17bb70f6ae25dabc1aaf990f86824e4fd98ee9cadf197054e068500d27/wrapt-1.17.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:9fee687dce376205d9a494e9c121e27183b2a3df18037f89d69bd7b35bcf59e2", size = 86721, upload-time = "2025-01-14T10:34:32.91Z" },- { url = "https://files.pythonhosted.org/packages/6f/54/f170dfb278fe1c30d0ff864513cff526d624ab8de3254b20abb9cffedc24/wrapt-1.17.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:18983c537e04d11cf027fbb60a1e8dfd5190e2b60cc27bc0808e653e7b218d1b", size = 79763, upload-time = "2025-01-14T10:34:34.903Z" },- { url = "https://files.pythonhosted.org/packages/4a/98/de07243751f1c4a9b15c76019250210dd3486ce098c3d80d5f729cba029c/wrapt-1.17.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:703919b1633412ab54bcf920ab388735832fdcb9f9a00ae49387f0fe67dad504", size = 87585, upload-time = "2025-01-14T10:34:36.13Z" },- { url = "https://files.pythonhosted.org/packages/f9/f0/13925f4bd6548013038cdeb11ee2cbd4e37c30f8bfd5db9e5a2a370d6e20/wrapt-1.17.2-cp313-cp313-win32.whl", hash = "sha256:abbb9e76177c35d4e8568e58650aa6926040d6a9f6f03435b7a522bf1c487f9a", size = 36676, upload-time = "2025-01-14T10:34:37.962Z" },- { url = "https://files.pythonhosted.org/packages/bf/ae/743f16ef8c2e3628df3ddfd652b7d4c555d12c84b53f3d8218498f4ade9b/wrapt-1.17.2-cp313-cp313-win_amd64.whl", hash = "sha256:69606d7bb691b50a4240ce6b22ebb319c1cfb164e5f6569835058196e0f3a845", size = 38871, upload-time = "2025-01-14T10:34:39.13Z" },- { url = "https://files.pythonhosted.org/packages/3d/bc/30f903f891a82d402ffb5fda27ec1d621cc97cb74c16fea0b6141f1d4e87/wrapt-1.17.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:4a721d3c943dae44f8e243b380cb645a709ba5bd35d3ad27bc2ed947e9c68192", size = 56312, upload-time = "2025-01-14T10:34:40.604Z" },- { url = "https://files.pythonhosted.org/packages/8a/04/c97273eb491b5f1c918857cd26f314b74fc9b29224521f5b83f872253725/wrapt-1.17.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:766d8bbefcb9e00c3ac3b000d9acc51f1b399513f44d77dfe0eb026ad7c9a19b", size = 40062, upload-time = "2025-01-14T10:34:45.011Z" },- { url = "https://files.pythonhosted.org/packages/4e/ca/3b7afa1eae3a9e7fefe499db9b96813f41828b9fdb016ee836c4c379dadb/wrapt-1.17.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e496a8ce2c256da1eb98bd15803a79bee00fc351f5dfb9ea82594a3f058309e0", size = 40155, upload-time = "2025-01-14T10:34:47.25Z" },- { url = "https://files.pythonhosted.org/packages/89/be/7c1baed43290775cb9030c774bc53c860db140397047cc49aedaf0a15477/wrapt-1.17.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:40d615e4fe22f4ad3528448c193b218e077656ca9ccb22ce2cb20db730f8d306", size = 113471, upload-time = "2025-01-14T10:34:50.934Z" },- { url = "https://files.pythonhosted.org/packages/32/98/4ed894cf012b6d6aae5f5cc974006bdeb92f0241775addad3f8cd6ab71c8/wrapt-1.17.2-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a5aaeff38654462bc4b09023918b7f21790efb807f54c000a39d41d69cf552cb", size = 101208, upload-time = "2025-01-14T10:34:52.297Z" },- { url = "https://files.pythonhosted.org/packages/ea/fd/0c30f2301ca94e655e5e057012e83284ce8c545df7661a78d8bfca2fac7a/wrapt-1.17.2-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9a7d15bbd2bc99e92e39f49a04653062ee6085c0e18b3b7512a4f2fe91f2d681", size = 109339, upload-time = "2025-01-14T10:34:53.489Z" },- { url = "https://files.pythonhosted.org/packages/75/56/05d000de894c4cfcb84bcd6b1df6214297b8089a7bd324c21a4765e49b14/wrapt-1.17.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:e3890b508a23299083e065f435a492b5435eba6e304a7114d2f919d400888cc6", size = 110232, upload-time = "2025-01-14T10:34:55.327Z" },- { url = "https://files.pythonhosted.org/packages/53/f8/c3f6b2cf9b9277fb0813418e1503e68414cd036b3b099c823379c9575e6d/wrapt-1.17.2-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:8c8b293cd65ad716d13d8dd3624e42e5a19cc2a2f1acc74b30c2c13f15cb61a6", size = 100476, upload-time = "2025-01-14T10:34:58.055Z" },- { url = "https://files.pythonhosted.org/packages/a7/b1/0bb11e29aa5139d90b770ebbfa167267b1fc548d2302c30c8f7572851738/wrapt-1.17.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:4c82b8785d98cdd9fed4cac84d765d234ed3251bd6afe34cb7ac523cb93e8b4f", size = 106377, upload-time = "2025-01-14T10:34:59.3Z" },- { url = "https://files.pythonhosted.org/packages/6a/e1/0122853035b40b3f333bbb25f1939fc1045e21dd518f7f0922b60c156f7c/wrapt-1.17.2-cp313-cp313t-win32.whl", hash = "sha256:13e6afb7fe71fe7485a4550a8844cc9ffbe263c0f1a1eea569bc7091d4898555", size = 37986, upload-time = "2025-01-14T10:35:00.498Z" },- { url = "https://files.pythonhosted.org/packages/09/5e/1655cf481e079c1f22d0cabdd4e51733679932718dc23bf2db175f329b76/wrapt-1.17.2-cp313-cp313t-win_amd64.whl", hash = "sha256:eaf675418ed6b3b31c7a989fd007fa7c3be66ce14e5c3b27336383604c9da85c", size = 40750, upload-time = "2025-01-14T10:35:03.378Z" },- { url = "https://files.pythonhosted.org/packages/2d/82/f56956041adef78f849db6b289b282e72b55ab8045a75abad81898c28d19/wrapt-1.17.2-py3-none-any.whl", hash = "sha256:b18f2d1533a71f069c7f82d524a52599053d4c7166e9dd374ae2136b7f40f7c8", size = 23594, upload-time = "2025-01-14T10:35:44.018Z" },+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]]