Skip to content

Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.

feat(template_engine): 重构模板引擎解析器并支持显示标签提取

yifanfeng97da798a0ee905
diff --git a/hyperextract/templates/presets/general/life_event_timeline.yaml b/hyperextract/templates/presets/general/life_event_timeline.yaml
index b58ed32..15eee61 100644
--- a/hyperextract/templates/presets/general/life_event_timeline.yaml
+++ b/hyperextract/templates/presets/general/life_event_timeline.yaml
@@ -84,10 +84,10 @@ guideline:
identifiers:
entity_id: name
relation_id: '{source}|{eventType}|{details}'
- relation_members:
+ relation_members:
source: source
target: target
- time_field: eventDate
+ time_field: 'eventDate'
options:
extraction_mode: two_stage
diff --git a/hyperextract/types/graph.py b/hyperextract/types/graph.py
index 06183fa..5fe0189 100644
--- a/hyperextract/types/graph.py
+++ b/hyperextract/types/graph.py
@@ -166,6 +166,8 @@ class AutoGraph(
prompt: str = "",
prompt_for_node_extraction: str = "",
prompt_for_edge_extraction: str = "",
+ node_label_extractor: Callable[[NodeSchema], str] = None,
+ edge_label_extractor: Callable[[EdgeSchema], str] = None,
chunk_size: int = 2048,
chunk_overlap: int = 256,
max_workers: int = 10,
@@ -190,6 +192,8 @@ class AutoGraph(
prompt: Custom extraction prompt for one-stage mode.
prompt_for_node_extraction: Custom extraction prompt for two-stage node extraction.
prompt_for_edge_extraction: Custom extraction prompt for two-stage edge extraction.
+ node_label_extractor: Optional function to extract label from node for visualization.
+ edge_label_extractor: Optional function to extract label from edge for visualization.
chunk_size: Maximum characters per chunk.
chunk_overlap: Overlapping characters between chunks.
max_workers: Maximum concurrent extraction tasks.
@@ -203,6 +207,7 @@ class AutoGraph(
**kwargs: Additional arguments passed to create_merger() when strategy_or_merger is
a MergeStrategy enum. Ignored if strategy_or_merger is a BaseMerger instance.
"""
+
# Store schemas and extractors
self.node_schema = node_schema
self.edge_schema = edge_schema
@@ -285,6 +290,10 @@ class AutoGraph(
fields_for_index=edge_fields_for_index, # Pass edge field selection to OMem
)
+ # Store label extractors for visualization
+ self.node_label_extractor = node_label_extractor
+ self.edge_label_extractor = edge_label_extractor
+
# Call parent init
super().__init__(
data_schema=self.graph_schema,
@@ -873,8 +882,8 @@ class AutoGraph(
def show(
self,
- node_label_extractor: Callable[[NodeSchema], str],
- edge_label_extractor: Callable[[EdgeSchema], str],
+ node_label_extractor: Callable[[NodeSchema], str] = None,
+ edge_label_extractor: Callable[[EdgeSchema], str] = None,
*,
top_k_nodes_for_search: int = 3,
top_k_edges_for_search: int = 3,
@@ -884,13 +893,19 @@ class AutoGraph(
"""Visualize the graph using OntoSight.
Args:
- node_label_extractor: A function that takes a NodeSchema and returns a string label for visualization.
- edge_label_extractor: A function that takes an EdgeSchema and returns a string label for visualization.
+ node_label_extractor: Optional function to extract label from node for visualization.
+ If not provided, uses the one from __init__.
+ edge_label_extractor: Optional function to extract label from edge for visualization.
+ If not provided, uses the one from __init__.
top_k_nodes_for_search: Number of nodes to retrieve for search callback (default: 3).
top_k_edges_for_search: Number of edges to retrieve for search callback (default: 3).
top_k_nodes_for_chat: Number of nodes to retrieve for chat callback (default: 3).
top_k_edges_for_chat: Number of edges to retrieve for chat callback (default: 3).
"""
+ if node_label_extractor is None:
+ node_label_extractor = self._node_label_extractor
+ if edge_label_extractor is None:
+ edge_label_extractor = self._edge_label_extractor
if self._node_memory.has_index() and self._edge_memory.has_index():
logger.info(
diff --git a/hyperextract/types/hypergraph.py b/hyperextract/types/hypergraph.py
index f8efa5d..3f9ee00 100644
--- a/hyperextract/types/hypergraph.py
+++ b/hyperextract/types/hypergraph.py
@@ -165,6 +165,8 @@ class AutoHypergraph(
prompt: str = "",
prompt_for_node_extraction: str = "",
prompt_for_edge_extraction: str = "",
+ node_label_extractor: Callable[[NodeSchema], str] = None,
+ edge_label_extractor: Callable[[EdgeSchema], str] = None,
chunk_size: int = 2048,
chunk_overlap: int = 256,
max_workers: int = 10,
@@ -196,6 +198,8 @@ class AutoHypergraph(
prompt: Custom extraction prompt for one-stage mode.
prompt_for_node_extraction: Custom extraction prompt for node extraction.
prompt_for_edge_extraction: Custom extraction prompt for hyperedge extraction.
+ node_label_extractor: Optional function to extract label from node for visualization.
+ edge_label_extractor: Optional function to extract label from edge for visualization.
chunk_size: Maximum characters per chunk.
chunk_overlap: Overlapping characters between chunks.
max_workers: Maximum concurrent extraction tasks.
@@ -208,6 +212,7 @@ class AutoHypergraph(
Example: ['summary', 'type'] (only index these edge fields)
**kwargs: Additional arguments for merger creation.
"""
+
# Store schemas and extractors
self.node_schema = node_schema
self.edge_schema = edge_schema
@@ -289,6 +294,10 @@ class AutoHypergraph(
verbose=verbose,
fields_for_index=edge_fields_for_index, # Pass edge field selection to OMem
)
+
+ # Store label extractors for visualization
+ self.node_label_extractor = node_label_extractor
+ self.edge_label_extractor = edge_label_extractor
# Initialize Base Class
super().__init__(
@@ -818,8 +827,8 @@ class AutoHypergraph(
def show(
self,
- node_label_extractor: Callable[[NodeSchema], str],
- edge_label_extractor: Callable[[EdgeSchema], str],
+ node_label_extractor: Callable[[NodeSchema], str] = None,
+ edge_label_extractor: Callable[[EdgeSchema], str] = None,
*,
top_k_nodes_for_search: int = 3,
top_k_edges_for_search: int = 3,
@@ -829,13 +838,19 @@ class AutoHypergraph(
"""Visualize the hypergraph using OntoSight.
Args:
- node_label_extractor: A function that takes a NodeSchema and returns a string label for visualization.
- edge_label_extractor: A function that takes an EdgeSchema and returns a string label for visualization.
+ node_label_extractor: Optional function to extract label from node for visualization.
+ If not provided, uses the one from __init__.
+ edge_label_extractor: Optional function to extract label from edge for visualization.
+ If not provided, uses the one from __init__.
top_k_nodes_for_search: Number of nodes to retrieve for search callback (default: 3).
top_k_edges_for_search: Number of edges to retrieve for search callback (default: 3).
top_k_nodes_for_chat: Number of nodes to retrieve for chat callback (default: 3).
top_k_edges_for_chat: Number of edges to retrieve for chat callback (default: 3).
"""
+ if node_label_extractor is None:
+ node_label_extractor = self._node_label_extractor
+ if edge_label_extractor is None:
+ edge_label_extractor = self._edge_label_extractor
if self._node_memory.has_index() and self._edge_memory.has_index():
logger.info(
diff --git a/hyperextract/types/list.py b/hyperextract/types/list.py
index ec2a6bd..2efe2a2 100644
--- a/hyperextract/types/list.py
+++ b/hyperextract/types/list.py
@@ -70,6 +70,7 @@ class AutoList(BaseAutoType[AutoListSchema[ItemSchema]], Generic[ItemSchema]):
embedder: Embeddings,
*,
prompt: str = "",
+ item_label_extractor: Callable[[ItemSchema], str] = None,
chunk_size: int = 2048,
chunk_overlap: int = 256,
max_workers: int = 10,
@@ -83,6 +84,7 @@ class AutoList(BaseAutoType[AutoListSchema[ItemSchema]], Generic[ItemSchema]):
llm_client: Language model client for extraction.
embedder: Embedding model for vector indexing.
prompt: Custom extraction prompt (defaults to list-oriented prompt).
+ item_label_extractor: Optional function to extract label from item for visualization.
chunk_size: Maximum characters per chunk for long texts.
chunk_overlap: Overlapping characters between adjacent chunks.
max_workers: Maximum concurrent extraction tasks.
@@ -109,6 +111,8 @@ class AutoList(BaseAutoType[AutoListSchema[ItemSchema]], Generic[ItemSchema]):
raise ValueError(
f"Field '{field_name}' not found in item schema '{item_schema.__name__}'"
)
+ # Store label extractor for visualization
+ self._item_label_extractor = item_label_extractor
super().__init__(
data_schema=self.item_list_schema,
@@ -320,7 +324,7 @@ class AutoList(BaseAutoType[AutoListSchema[ItemSchema]], Generic[ItemSchema]):
def show(
self,
- item_label_extractor: Callable[[ItemSchema], str],
+ item_label_extractor: Callable[[ItemSchema], str] = None,
*,
top_k_for_search: int = 3,
top_k_for_chat: int = 3,
@@ -328,10 +332,13 @@ class AutoList(BaseAutoType[AutoListSchema[ItemSchema]], Generic[ItemSchema]):
"""Visualize the list using OntoSight.
Args:
- item_label_extractor: A function that takes an ItemSchema and returns a string label for visualization.
+ item_label_extractor: Optional function to extract label from item for visualization.
+ If not provided, uses the one from __init__.
top_k_for_search: Number of items to retrieve for search callback (default: 3).
top_k_for_chat: Number of items to retrieve for chat callback (default: 3).
"""
+ if item_label_extractor is None:
+ item_label_extractor = self._item_label_extractor
if self._index is not None:
logger.info(
diff --git a/hyperextract/types/model.py b/hyperextract/types/model.py
index ca7bd1d..9f696f1 100644
--- a/hyperextract/types/model.py
+++ b/hyperextract/types/model.py
@@ -51,6 +51,7 @@ class AutoModel(BaseAutoType[T]):
*,
strategy_or_merger: MergeStrategy | BaseMerger = MergeStrategy.LLM.BALANCED,
prompt: str = "",
+ label_extractor: Callable[[T], str] = None,
chunk_size: int = 2048,
chunk_overlap: int = 256,
max_workers: int = 10,
@@ -68,6 +69,7 @@ class AutoModel(BaseAutoType[T]):
- Custom BaseMerger instance
Default: MergeStrategy.LLM.BALANCED (LLM intelligently synthesizes both versions)
prompt: Custom extraction prompt (defaults to generic prompt).
+ label_extractor: Optional function to extract label from model instance for visualization.
chunk_size: Maximum characters per chunk for long texts.
chunk_overlap: Overlapping characters between adjacent chunks.
max_workers: Maximum concurrent extraction tasks.
@@ -77,6 +79,9 @@ class AutoModel(BaseAutoType[T]):
self._strategy_or_merger = strategy_or_merger
self._constructor_kwargs = kwargs
+ # Store label extractor for visualization
+ self._label_extractor = label_extractor
+
super().__init__(
data_schema,
llm_client,
@@ -305,16 +310,19 @@ class AutoModel(BaseAutoType[T]):
def show(
self,
- label_extractor: Callable[[T], str],
+ label_extractor: Callable[[T], str] = None,
*,
top_k: int = 3,
) -> None:
"""Visualize the model using OntoSight.
Args:
- label_extractor: A function that takes a model instance and returns a string label for visualization.
+ label_extractor: Optional function to extract label from model instance for visualization.
+ If not provided, uses the one from __init__.
top_k: Number of items to retrieve for chat callback (default: 3).
"""
+ if label_extractor is None:
+ label_extractor = self._label_extractor
if self._index is not None:
logger.info(
diff --git a/hyperextract/types/set.py b/hyperextract/types/set.py
index 5ec80ff..075ab93 100644
--- a/hyperextract/types/set.py
+++ b/hyperextract/types/set.py
@@ -105,6 +105,7 @@ class AutoSet(BaseAutoType[AutoSetSchema[ItemSchema]], Generic[ItemSchema]):
*,
strategy_or_merger: MergeStrategy | BaseMerger = MergeStrategy.LLM.BALANCED,
prompt: str = "",
+ item_label_extractor: Callable[[ItemSchema], str] = None,
chunk_size: int = 2048,
chunk_overlap: int = 256,
max_workers: int = 10,
@@ -123,6 +124,7 @@ class AutoSet(BaseAutoType[AutoSetSchema[ItemSchema]], Generic[ItemSchema]):
1. A MergeStrategy enum value (e.g., MergeStrategy.LLM.BALANCED)
2. A pre-configured BaseMerger instance (for full control)
prompt: Custom extraction prompt.
+ item_label_extractor: Optional function to extract label from item for visualization.
chunk_size: Maximum characters per chunk for long texts.
chunk_overlap: Overlapping characters between adjacent chunks.
max_workers: Maximum concurrent extraction tasks.
@@ -183,6 +185,8 @@ class AutoSet(BaseAutoType[AutoSetSchema[ItemSchema]], Generic[ItemSchema]):
verbose=verbose,
fields_for_index=fields_for_index, # Pass field selection to OMem
)
+ # Store label extractor for visualization
+ self._item_label_extractor = item_label_extractor
super().__init__(
data_schema=self.item_set_schema,
@@ -368,7 +372,7 @@ class AutoSet(BaseAutoType[AutoSetSchema[ItemSchema]], Generic[ItemSchema]):
def show(
self,
- item_label_extractor: Callable[[ItemSchema], str],
+ item_label_extractor: Callable[[ItemSchema], str] = None,
*,
top_k_for_search: int = 3,
top_k_for_chat: int = 3,
@@ -376,10 +380,13 @@ class AutoSet(BaseAutoType[AutoSetSchema[ItemSchema]], Generic[ItemSchema]):
"""Visualize the set using OntoSight.
Args:
- item_label_extractor: A function that takes an ItemSchema and returns a string label for visualization.
+ item_label_extractor: Optional function to extract label from item for visualization.
+ If not provided, uses the one from __init__.
top_k_for_search: Number of items to retrieve for search callback (default: 3).
top_k_for_chat: Number of items to retrieve for chat callback (default: 3).
"""
+ if item_label_extractor is None:
+ item_label_extractor = self._item_label_extractor
if self._data_memory.has_index():
logger.info(
diff --git a/hyperextract/utils/template_engine/__init__.py b/hyperextract/utils/template_engine/__init__.py
index a8f765a..b68a49e 100644
--- a/hyperextract/utils/template_engine/__init__.py
+++ b/hyperextract/utils/template_engine/__init__.py
@@ -9,7 +9,7 @@ Main Components:
- localize_template: Converts multilingual config to single-language config
- SchemaParser: Parses output schemas based on template type
- GuidelineParser: Parses prompts based on template type
-- IdentifierResolver: Resolves identifier extractors
+- parse_identifiers: Parses identifier extractors from config
"""
from .template import Template
diff --git a/hyperextract/utils/template_engine/factory.py b/hyperextract/utils/template_engine/factory.py
index 7d194fe..0fcd040 100644
--- a/hyperextract/utils/template_engine/factory.py
+++ b/hyperextract/utils/template_engine/factory.py
@@ -10,12 +10,12 @@ from langchain_core.embeddings import Embeddings
from .parsers import (
TemplateCfg,
- Options,
+ localize_template,
parse_output,
- IdentifierResolver,
+ parse_identifiers,
parse_guideline,
- localize_template,
parse_option,
+ parse_display,
)
@@ -33,355 +33,322 @@ if TYPE_CHECKING:
class TemplateFactory:
- @staticmethod
- def resolve_display_extractors(config: TemplateCfg, schema_dict: dict = None):
- """Generate label_extractor function based on display configuration."""
- display = config.display
- if not display:
- return {}
-
- result = {}
- autotype = config.type
- display_dict = (
- display.model_dump() if hasattr(display, "model_dump") else display
- )
-
- if autotype in ("model", "list", "set"):
- label_field = display_dict.get("label")
- if label_field:
- result["label_extractor"] = lambda x: str(getattr(x, label_field, ""))
-
- elif autotype in (
- "graph",
- "hypergraph",
- "temporal_graph",
- "spatial_graph",
- "spatio_temporal_graph",
- ):
- entity_label_field = display_dict.get("entity_label")
- if entity_label_field:
- result["entity_label_extractor"] = lambda x: str(
- getattr(x, entity_label_field, "")
- )
-
- relation_label_field = display_dict.get("relation_label")
- if relation_label_field:
- result["relation_label_extractor"] = lambda x: str(
- getattr(x, relation_label_field, "")
- )
-
- return result
-
@classmethod
def create_model(
- cls, config: TemplateCfg, llm_client: BaseChatModel, embedder: Embeddings
+ cls,
+ config: TemplateCfg,
+ llm_client: BaseChatModel,
+ embedder: Embeddings,
+ **kwargs,
) -> "AutoModel":
"""Create AutoModel template."""
from hyperextract.types import AutoModel
- data_schema = parse_output(config)
+ data_schema = parse_output(config.output, config.type)
+
+ prompt = parse_guideline(config.guideline, config.type)
- prompt, _, _ = parse_guideline(config.guideline, config.type)
+ options = parse_option(config.options, config.type, override=kwargs)
- options = OptionsBuilder.build_model_options(config)
+ label_extractor = parse_display(config.display, config.type)
return AutoModel(
data_schema=data_schema,
llm_client=llm_client,
embedder=embedder,
prompt=prompt,
- chunk_size=options.chunk_size,
- chunk_overlap=options.chunk_overlap,
- max_workers=options.max_workers,
- verbose=options.verbose,
+ label_extractor=label_extractor,
+ **options,
)
@classmethod
def create_list(
- cls, config: TemplateCfg, llm_client: BaseChatModel, embedder: Embeddings
+ cls,
+ config: TemplateCfg,
+ llm_client: BaseChatModel,
+ embedder: Embeddings,
+ **kwargs,
) -> "AutoList":
"""Create AutoList template."""
from hyperextract.types import AutoList
- data_schema = parse_output(config)
+ data_schema = parse_output(config.output, config.type)
+
+ prompt = parse_guideline(config.guideline, config.type)
- prompt, _, _ = parse_guideline(config.guideline, config.type)
+ options = parse_option(config.options, config.type, override=kwargs)
- options = OptionsBuilder.build_list_options(config)
+ item_label_extractor = parse_display(config.display, config.type)
return AutoList(
item_schema=data_schema,
llm_client=llm_client,
embedder=embedder,
prompt=prompt,
- chunk_size=options.chunk_size,
- chunk_overlap=options.chunk_overlap,
- max_workers=options.max_workers,
- verbose=options.verbose,
+ item_label_extractor=item_label_extractor,
+ **options,
)
@classmethod
def create_set(
- cls, config: TemplateCfg, llm_client: BaseChatModel, embedder: Embeddings
+ cls,
+ config: TemplateCfg,
+ llm_client: BaseChatModel,
+ embedder: Embeddings,
+ **kwargs,
) -> "AutoSet":
"""Create AutoSet template."""
from hyperextract.types import AutoSet
- data_schema = parse_output(config)
- identifiers = IdentifierResolver.resolve_all(config)
- item_id_extractor = identifiers.get("item_id_extractor")
+ data_schema = parse_output(config.output, config.type)
+
+ item_id_extractor = parse_identifiers(config.identifiers, config.type)
- prompt, _, _ = parse_guideline(config.guideline, config.type)
+ prompt = parse_guideline(config.guideline, config.type)
- options = OptionsBuilder.build_set_options(config)
+ options = parse_option(config.options, config.type, override=kwargs)
+
+ item_label_extractor = parse_display(config.display, config.type)
return AutoSet(
item_schema=data_schema,
- item_key_extractor=item_id_extractor,
llm_client=llm_client,
embedder=embedder,
- strategy_or_merger=OptionsBuilder.resolve_merge_strategy(
- options.merge_strategy,
- item_id_extractor,
- llm_client,
- data_schema,
- ),
+ key_extractor=item_id_extractor,
+ item_label_extractor=item_label_extractor,
prompt=prompt,
- chunk_size=options.chunk_size,
- chunk_overlap=options.chunk_overlap,
- max_workers=options.max_workers,
- verbose=options.verbose,
+ **options,
)
@classmethod
def create_graph(
- cls, config: TemplateCfg, llm_client: BaseChatModel, embedder: Embeddings
+ cls,
+ config: TemplateCfg,
+ llm_client: BaseChatModel,
+ embedder: Embeddings,
+ **kwargs,
) -> "AutoGraph":
"""Create AutoGraph template."""
from hyperextract.types import AutoGraph
- entity_schema, relation_schema = parse_output(config)
- identifiers = IdentifierResolver.resolve_all(config)
- entity_key_extractor = identifiers.get("entity_key_extractor")
- relation_key_extractor = identifiers.get("relation_key_extractor")
- entities_in_relation_extractor = identifiers.get(
- "entities_in_relation_extractor"
- )
+ entity_schema, relation_schema = parse_output(config.output, config.type)
- options = OptionsBuilder.build_graph_options(config)
+ identifiers = parse_identifiers(config.identifiers, config.type)
+ entity_key_extractor, relation_key_extractor, entities_in_relation_extractor = (
+ identifiers
+ )
prompt, prompt_for_entity_extraction, prompt_for_relation_extraction = (
parse_guideline(config.guideline, config.type)
)
+ node_label_extractor, edge_label_extractor = parse_display(
+ config.display, config.type
+ )
+
+ options = parse_option(config.options, config.type, override=kwargs)
+
return AutoGraph(
- entity_schema=entity_schema,
- relation_schema=relation_schema,
- entity_key_extractor=entity_key_extractor,
- relation_key_extractor=relation_key_extractor,
- entities_in_relation_extractor=entities_in_relation_extractor,
+ node_schema=entity_schema,
+ edge_schema=relation_schema,
+ node_key_extractor=entity_key_extractor,
+ edge_key_extractor=relation_key_extractor,
+ nodes_in_edge_extractor=entities_in_relation_extractor,
llm_client=llm_client,
embedder=embedder,
- extraction_mode=options.extraction_mode,
- entity_strategy_or_merger=OptionsBuilder.resolve_merge_strategy(
- options.entity_merge_strategy,
- entity_key_extractor,
- llm_client,
- entity_schema,
- ),
- relation_strategy_or_merger=OptionsBuilder.resolve_merge_strategy(
- options.relation_merge_strategy,
- relation_key_extractor,
- llm_client,
- relation_schema,
- ),
prompt=prompt,
- prompt_for_entity_extraction=prompt_for_entity_extraction,
- prompt_for_relation_extraction=prompt_for_relation_extraction,
- chunk_size=options.chunk_size,
- chunk_overlap=options.chunk_overlap,
- max_workers=options.max_workers,
- verbose=options.verbose,
- entity_fields_for_index=options.entity_fields_for_search,
- relation_fields_for_index=options.relation_fields_for_search,
+ prompt_for_node_extraction=prompt_for_entity_extraction,
+ prompt_for_edge_extraction=prompt_for_relation_extraction,
+ node_label_extractor=node_label_extractor,
+ edge_label_extractor=edge_label_extractor,
+ **options,
)
@classmethod
def create_hypergraph(
- cls, config: TemplateCfg, llm_client: BaseChatModel, embedder: Embeddings
+ cls,
+ config: TemplateCfg,
+ llm_client: BaseChatModel,
+ embedder: Embeddings,
+ **kwargs,
) -> "AutoHypergraph":
- return cls.create_graph(config, llm_client, embedder)
+ """Create AutoHypergraph template."""
+ from hyperextract.types import AutoHypergraph
+
+ entity_schema, relation_schema = parse_output(config.output, config.type)
+
+ identifiers = parse_identifiers(config.identifiers, config.type)
+ entity_key_extractor, relation_key_extractor, entities_in_relation_extractor = (
+ identifiers
+ )
+
+ prompt, prompt_for_entity_extraction, prompt_for_relation_extraction = (
+ parse_guideline(config.guideline, config.type)
+ )
+
+ node_label_extractor, edge_label_extractor = parse_display(
+ config.display, config.type
+ )
+
+ options = parse_option(config.options, config.type, override=kwargs)
+
+ return AutoHypergraph(
+ node_schema=entity_schema,
+ edge_schema=relation_schema,
+ node_key_extractor=entity_key_extractor,
+ edge_key_extractor=relation_key_extractor,
+ nodes_in_edge_extractor=entities_in_relation_extractor,
+ llm_client=llm_client,
+ embedder=embedder,
+ prompt=prompt,
+ prompt_for_node_extraction=prompt_for_entity_extraction,
+ prompt_for_edge_extraction=prompt_for_relation_extraction,
+ node_label_extractor=node_label_extractor,
+ edge_label_extractor=edge_label_extractor,
+ **options,
+ )
@classmethod
def create_temporal_graph(
- cls, config: TemplateCfg, llm_client: BaseChatModel, embedder: Embeddings
+ cls,
+ config: TemplateCfg,
+ llm_client: BaseChatModel,
+ embedder: Embeddings,
+ **kwargs,
) -> "AutoTemporalGraph":
from hyperextract.types import AutoTemporalGraph
- entity_schema, relation_schema = parse_output(config)
- identifiers = IdentifierResolver.resolve_all(config)
- entity_key_extractor = identifiers.get("entity_key_extractor")
- relation_key_extractor = identifiers.get("relation_key_extractor")
- entities_in_relation_extractor = identifiers.get(
- "entities_in_relation_extractor"
- )
- time_in_relation_extractor = identifiers.get("time_in_relation_extractor")
-
- options = OptionsBuilder.build_temporal_graph_options(config)
+ entity_schema, relation_schema = parse_output(config.output)
+ (
+ entity_key_extractor,
+ relation_key_extractor,
+ entities_in_relation_extractor,
+ time_in_edge_extractor,
+ ) = parse_identifiers(config.identifiers, config.type)
prompt, prompt_for_entity_extraction, prompt_for_relation_extraction = (
parse_guideline(config.guideline, config.type)
)
+ node_label_extractor, edge_label_extractor = parse_display(
+ config.display, config.type
+ )
+
+ options = parse_option(config.options, config.type, override=kwargs)
+
return AutoTemporalGraph(
node_schema=entity_schema,
edge_schema=relation_schema,
+ llm_client=llm_client,
+ embedder=embedder,
node_key_extractor=entity_key_extractor,
edge_key_extractor=relation_key_extractor,
nodes_in_edge_extractor=entities_in_relation_extractor,
- time_in_edge_extractor=time_in_relation_extractor,
- observation_time=options.observation_time,
- llm_client=llm_client,
- embedder=embedder,
- extraction_mode=options.extraction_mode,
- node_strategy_or_merger=OptionsBuilder.resolve_merge_strategy(
- options.entity_merge_strategy,
- entity_key_extractor,
- llm_client,
- entity_schema,
- ),
- edge_strategy_or_merger=OptionsBuilder.resolve_merge_strategy(
- options.relation_merge_strategy,
- relation_key_extractor,
- llm_client,
- relation_schema,
- ),
+ time_in_edge_extractor=time_in_edge_extractor,
prompt=prompt,
prompt_for_node_extraction=prompt_for_entity_extraction,
prompt_for_edge_extraction=prompt_for_relation_extraction,
- chunk_size=options.chunk_size,
- chunk_overlap=options.chunk_overlap,
- max_workers=options.max_workers,
- verbose=options.verbose,
- node_fields_for_index=options.entity_fields_for_search,
- edge_fields_for_index=options.relation_fields_for_search,
+ node_label_extractor=node_label_extractor,
+ edge_label_extractor=edge_label_extractor,
+ **options,
)
@classmethod
def create_spatial_graph(
- cls, config: TemplateCfg, llm_client: BaseChatModel, embedder: Embeddings
+ cls,
+ config: TemplateCfg,
+ llm_client: BaseChatModel,
+ embedder: Embeddings,
+ **kwargs,
) -> "AutoSpatialGraph":
+ """Create AutoSpatialGraph template."""
from hyperextract.types import AutoSpatialGraph
- entity_schema, relation_schema = parse_output(config)
- identifiers = IdentifierResolver.resolve_all(config)
- entity_key_extractor = identifiers.get("entity_key_extractor")
- relation_key_extractor = identifiers.get("relation_key_extractor")
- entities_in_relation_extractor = identifiers.get(
- "entities_in_relation_extractor"
- )
- location_in_relation_extractor = identifiers.get(
- "location_in_relation_extractor"
- )
+ entity_schema, relation_schema = parse_output(config.output, config.type)
- options = OptionsBuilder.build_spatial_graph_options(config)
+ identifiers = parse_identifiers(config.identifiers, config.type)
+ (
+ entity_key_extractor,
+ relation_key_extractor,
+ entities_in_relation_extractor,
+ location_in_edge_extractor,
+ ) = identifiers
prompt, prompt_for_entity_extraction, prompt_for_relation_extraction = (
parse_guideline(config.guideline, config.type)
)
+ node_label_extractor, edge_label_extractor = parse_display(
+ config.display, config.type
+ )
+
+ options = parse_option(config.options, config.type, override=kwargs)
+
return AutoSpatialGraph(
- entity_schema=entity_schema,
- relation_schema=relation_schema,
- entity_key_extractor=entity_key_extractor,
- relation_key_extractor=relation_key_extractor,
- entities_in_relation_extractor=entities_in_relation_extractor,
- location_in_relation_extractor=location_in_relation_extractor,
- observation_location=options.observation_location,
+ node_schema=entity_schema,
+ edge_schema=relation_schema,
+ node_key_extractor=entity_key_extractor,
+ edge_key_extractor=relation_key_extractor,
+ location_in_edge_extractor=location_in_edge_extractor,
+ nodes_in_edge_extractor=entities_in_relation_extractor,
llm_client=llm_client,
embedder=embedder,
- extraction_mode=options.extraction_mode,
- entity_strategy_or_merger=OptionsBuilder.resolve_merge_strategy(
- options.entity_merge_strategy,
- entity_key_extractor,
- llm_client,
- entity_schema,
- ),
- relation_strategy_or_merger=OptionsBuilder.resolve_merge_strategy(
- options.relation_merge_strategy,
- relation_key_extractor,
- llm_client,
- relation_schema,
- ),
prompt=prompt,
- prompt_for_entity_extraction=prompt_for_entity_extraction,
- prompt_for_relation_extraction=prompt_for_relation_extraction,
- chunk_size=options.chunk_size,
- chunk_overlap=options.chunk_overlap,
- max_workers=options.max_workers,
- verbose=options.verbose,
- entity_fields_for_index=options.entity_fields_for_search,
- relation_fields_for_index=options.relation_fields_for_search,
+ prompt_for_node_extraction=prompt_for_entity_extraction,
+ prompt_for_edge_extraction=prompt_for_relation_extraction,
+ node_label_extractor=node_label_extractor,
+ edge_label_extractor=edge_label_extractor,
+ **options,
)
@classmethod
def create_spatio_temporal_graph(
- cls, config: TemplateCfg, llm_client: BaseChatModel, embedder: Embeddings
+ cls,
+ config: TemplateCfg,
+ llm_client: BaseChatModel,
+ embedder: Embeddings,
+ **kwargs,
) -> "AutoSpatioTemporalGraph":
+ """Create AutoSpatioTemporalGraph template."""
from hyperextract.types import AutoSpatioTemporalGraph
- entity_schema, relation_schema = parse_output(config)
- identifiers = IdentifierResolver.resolve_all(config)
- entity_key_extractor = identifiers.get("entity_key_extractor")
- relation_key_extractor = identifiers.get("relation_key_extractor")
- entities_in_relation_extractor = identifiers.get(
- "entities_in_relation_extractor"
- )
- time_in_relation_extractor = identifiers.get("time_in_relation_extractor")
- location_in_relation_extractor = identifiers.get(
- "location_in_relation_extractor"
- )
+ entity_schema, relation_schema = parse_output(config.output, config.type)
- options = OptionsBuilder.build_spatio_temporal_graph_options(config)
+ identifiers = parse_identifiers(config.identifiers, config.type)
+ (
+ entity_key_extractor,
+ relation_key_extractor,
+ entities_in_relation_extractor,
+ time_in_edge_extractor,
+ location_in_edge_extractor,
+ ) = identifiers
prompt, prompt_for_entity_extraction, prompt_for_relation_extraction = (
parse_guideline(config.guideline, config.type)
)
+ node_label_extractor, edge_label_extractor = parse_display(
+ config.display, config.type
+ )
+
+ options = parse_option(config.options, config.type, override=kwargs)
+
return AutoSpatioTemporalGraph(
- entity_schema=entity_schema,
- relation_schema=relation_schema,
- entity_key_extractor=entity_key_extractor,
- relation_key_extractor=relation_key_extractor,
- entities_in_relation_extractor=entities_in_relation_extractor,
- time_in_relation_extractor=time_in_relation_extractor,
- location_in_relation_extractor=location_in_relation_extractor,
- observation_time=options.observation_time,
- observation_location=options.observation_location,
+ node_schema=entity_schema,
+ edge_schema=relation_schema,
+ node_key_extractor=entity_key_extractor,
+ edge_key_extractor=relation_key_extractor,
+ nodes_in_edge_extractor=entities_in_relation_extractor,
+ time_in_edge_extractor=time_in_edge_extractor,
+ location_in_edge_extractor=location_in_edge_extractor,
llm_client=llm_client,
embedder=embedder,
- extraction_mode=options.extraction_mode,
- entity_strategy_or_merger=OptionsBuilder.resolve_merge_strategy(
- options.entity_merge_strategy,
- entity_key_extractor,
- llm_client,
- entity_schema,
- ),
- relation_strategy_or_merger=OptionsBuilder.resolve_merge_strategy(
- options.relation_merge_strategy,
- relation_key_extractor,
- llm_client,
- relation_schema,
- ),
prompt=prompt,
- prompt_for_entity_extraction=prompt_for_entity_extraction,
- prompt_for_relation_extraction=prompt_for_relation_extraction,
- chunk_size=options.chunk_size,
- chunk_overlap=options.chunk_overlap,
- max_workers=options.max_workers,
- verbose=options.verbose,
- entity_fields_for_index=options.entity_fields_for_search,
- relation_fields_for_index=options.relation_fields_for_search,
+ prompt_for_node_extraction=prompt_for_entity_extraction,
+ prompt_for_edge_extraction=prompt_for_relation_extraction,
+ node_label_extractor=node_label_extractor,
+ edge_label_extractor=edge_label_extractor,
+ **options,
)
@classmethod
@@ -433,13 +400,7 @@ class TemplateFactory:
max_workers=20
)
"""
- config_mono = localize_template(config, language)
-
- if kwargs:
- base_options = config_mono.options or Options()
- options_dict = base_options.model_dump()
- options_dict.update(kwargs)
- config_mono.options = Options(**options_dict)
+ template = localize_template(config, language)
autotype_map = {
"model": cls.create_model,
@@ -452,65 +413,58 @@ class TemplateFactory:
"spatio_temporal_graph": cls.create_spatio_temporal_graph,
}
- creator = autotype_map.get(config_mono.type)
- if creator is None:
- raise ValueError(f"Unsupported type: {config_mono.type}")
+ creator = autotype_map.get(template.type)
+ template = creator(template, llm_client, embedder, **kwargs)
+ return template
+
+ @classmethod
+ def create_from_name(
+ cls,
+ name: str,
+ lang: str = "zh",
+ llm_client=None,
+ embedder=None,
+ **kwargs,
+ ):
+ """Create template instance by template name.
+
+ Args:
+ name: Template name (e.g., "knowledge_graph", "zh/finance/risk_assessment")
+ lang: Language, default "zh"
+ llm_client: LLM client, optional, reads from global config if not provided
+ embedder: Embedder client, optional, reads from global config if not provided
+ **kwargs: Additional parameters (e.g., observation_time, observation_location)
+
+ Returns:
+ AutoType instance
- template = creator(config_mono, llm_client, embedder)
- display_extractors = cls.resolve_display_extractors(config_mono, {})
+ Examples:
+ # Use global config (recommended)
+ template = TemplateFactory.create_from_name("knowledge_graph")
- return TemplateWrapper(template, display_extractors, config_mono.type)
+ # Custom client
+ template = TemplateFactory.create_from_name("knowledge_graph", llm_client=llm, embedder=emb)
+ # With additional parameters
+ template = TemplateFactory.create_from_name("FinancialTemporalGraph", observation_time="2024-06-15")
+ """
+ from .gallery import Gallery
-def safe_getattr(obj, name, default):
- """Safely get attribute."""
- try:
- return getattr(obj, name)
- except AttributeError:
- return default
+ config = Gallery.get(name)
+ if config is None:
+ config = Gallery.get(f"{lang}/{name}")
+ if config is None:
+ available = Gallery.list_all()
+ raise ValueError(
+ f"Template '{name}' not found. Available: {available[:10]}..."
+ )
-class TemplateWrapper:
- """Template wrapper - automatically handles label_extractor parameters."""
+ if llm_client is None or embedder is None:
+ from hyperextract.utils import get_client
- def __init__(self, template, display_extractors: dict, autotype: str = None):
- self._template = template
- self._display_extractors = display_extractors
- self._autotype = autotype
+ default_llm, default_emb = get_client()
+ llm_client = llm_client or default_llm
+ embedder = embedder or default_emb
- self._entity_label_extractor = display_extractors.get("entity_label_extractor")
- self._relation_label_extractor = display_extractors.get(
- "relation_label_extractor"
- )
- self._label_extractor = display_extractors.get("label_extractor")
-
- def __getattr__(self, name):
- return getattr(self._template, name)
-
- def show(self, **kwargs):
- """Automatically pass label_extractor parameters."""
- if self._autotype in (
- "graph",
- "hypergraph",
- "temporal_graph",
- "spatial_graph",
- "spatio_temporal_graph",
- ):
- if self._entity_label_extractor and self._relation_label_extractor:
- kwargs.setdefault(
- "entity_label_extractor", self._entity_label_extractor
- )
- kwargs.setdefault(
- "relation_label_extractor", self._relation_label_extractor
- )
- else:
- if self._label_extractor:
- kwargs.setdefault("label_extractor", self._label_extractor)
-
- return self._template.show(**kwargs)
-
- def search(self, **kwargs):
- return self._template.search(**kwargs)
-
- def chat(self, **kwargs):
- return self._template.chat(**kwargs)
+ return cls.create(config, llm_client, embedder, language=lang, **kwargs)
diff --git a/hyperextract/utils/template_engine/gallery.py b/hyperextract/utils/template_engine/gallery.py
index ae495ad..8513517 100644
--- a/hyperextract/utils/template_engine/gallery.py
+++ b/hyperextract/utils/template_engine/gallery.py
@@ -151,6 +151,14 @@ class Gallery:
return []
return list(cls._instance._configs_by_tag.keys())
+ @classmethod
+ def list_autotypes(cls) -> List[str]:
+ """List all available autotypes."""
+ return [
+ "model", "list", "set", "graph", "hypergraph",
+ "temporal_graph", "spatial_graph", "spatio_temporal_graph"
+ ]
+
@classmethod
def list_domains(cls) -> List[tuple]:
"""List all available domains with template count.
@@ -168,77 +176,10 @@ class Gallery:
return domains
@classmethod
- def create(
- cls,
- name: str,
- lang: str = "zh",
- llm_client=None,
- embedder=None,
- **kwargs,
- ):
- """Create template instance.
-
- Args:
- name: Template name (e.g., "knowledge_graph", "zh/finance/risk_assessment")
- lang: Language, default "zh"
- llm_client: LLM client, optional, reads from global config if not provided
- embedder: Embedder client, optional, reads from global config if not provided
- **kwargs: Additional parameters (e.g., observation_time, observation_location)
-
- Returns:
- TemplateWrapper instance
-
- Examples:
- # Method 1: Use global config (recommended)
- template = Gallery.create("knowledge_graph")
-
- # Method 2: Custom client
- from hyperextract.utils import get_client
- llm, emb = get_client()
- template = Gallery.create("knowledge_graph", llm_client=llm, embedder=emb)
-
- # Method 3: Mixed usage
- template = Gallery.create("knowledge_graph", llm_client=my_llm)
-
- # Method 4: With additional parameters
- template = Gallery.create("FinancialTemporalGraph", observation_time="2024-06-15")
- """
- config = cls._resolve_config(name, lang)
-
- if llm_client is None or embedder is None:
- from hyperextract.utils import get_client
- default_llm, default_emb = get_client()
- llm_client = llm_client or default_llm
- embedder = embedder or default_emb
-
+ def create(cls, name: str, lang: str = "zh", llm_client=None, embedder=None, **kwargs):
+ """Create template instance (delegate to TemplateFactory)."""
from .factory import TemplateFactory
- return TemplateFactory.create(config, llm_client, embedder, **kwargs)
-
- @classmethod
- def _resolve_config(cls, name: str, lang: str = "zh") -> TemplateCfg:
- """Resolve template name to config object."""
- config = cls.get(name)
- if config is not None:
- return config
-
- parts = name.split("/")
- if len(parts) == 1:
- search_name = f"{lang}/{name}"
- config = cls.get(search_name)
- if config is not None:
- return config
- else:
- template_lang = parts[0]
- if template_lang not in ["zh", "en"]:
- template_lang = lang
- template_name = parts[-1]
- full_name = f"{template_lang}/{template_name}"
- config = cls.get(full_name)
- if config is not None:
- return config
-
- available = cls.list_all()
- raise ValueError(f"Template '{name}' not found. Available: {available[:10]}...")
+ return TemplateFactory.create_from_name(name, lang, llm_client, embedder, **kwargs)
def _load_config(self, file_path: Path) -> None:
try:
diff --git a/hyperextract/utils/template_engine/parsers/__init__.py b/hyperextract/utils/template_engine/parsers/__init__.py
index 2920fdd..07e97c2 100644
--- a/hyperextract/utils/template_engine/parsers/__init__.py
+++ b/hyperextract/utils/template_engine/parsers/__init__.py
@@ -7,8 +7,9 @@ from .loader import (
)
from .output import parse_output
from .guideline import parse_guideline
-from .identifiers import IdentifierResolver
+from .identifiers import parse_identifiers
from .options import parse_option
+from .display import parse_display
__all__ = [
@@ -17,6 +18,7 @@ __all__ = [
"localize_template",
"parse_output",
"parse_guideline",
- "IdentifierResolver",
+ "parse_identifiers",
"parse_option",
+ "parse_display",
]
diff --git a/hyperextract/utils/template_engine/parsers/display.py b/hyperextract/utils/template_engine/parsers/display.py
new file mode 100644
index 0000000..b0984eb
--- /dev/null
+++ b/hyperextract/utils/template_engine/parsers/display.py
@@ -0,0 +1,40 @@
+"""Display parser - generates label extraction functions from YAML config."""
+
+from typing import Any, Callable
+
+from .schemas import (
+ VALID_AUTOTYPES,
+ NaiveDisplaySchema,
+ GraphDisplaySchema,
+)
+from .identifiers import _extractor
+
+
+def parse_display(
+ display: NaiveDisplaySchema | GraphDisplaySchema | None,
+ autotype: VALID_AUTOTYPES,
+) -> Callable[[Any], str] | tuple[Callable[[Any], str], Callable[[Any], str]] | None:
+ """Parse display config and return label extractors.
+
+ Args:
+ display: display config from YAML
+ autotype: auto type
+
+ Returns:
+ - For model/list/set: label_extractor
+ - For graph types: (entity_label_extractor, relation_label_extractor)
+ """
+ if not display:
+ return None
+
+ if autotype in ("model", "list", "set"):
+ return _extractor(display.label)
+
+ entity_extractor = _extractor(display.entity_label)
+ relation_extractor = _extractor(display.relation_label)
+ return (entity_extractor, relation_extractor)
+
+
+__all__ = [
+ "parse_display",
+]
diff --git a/hyperextract/utils/template_engine/parsers/identifiers.py b/hyperextract/utils/template_engine/parsers/identifiers.py
index 2302515..e732f03 100644
--- a/hyperextract/utils/template_engine/parsers/identifiers.py
+++ b/hyperextract/utils/template_engine/parsers/identifiers.py
@@ -1,151 +1,131 @@
-"""Identifier models and resolver."""
+"""Identifier parser - generates extraction functions from YAML config."""
-from typing import Callable, Dict, List, Optional, Tuple, Union
-from pydantic import BaseModel
+import re
+from typing import Any, Callable, Tuple
+from .schemas import (
+ VALID_AUTOTYPES,
+ NaiveIdentifierSchema,
+ GraphIdentifiersSchema,
+)
-class Identifiers(BaseModel):
- """Identifier configuration."""
- item_id: Optional[str] = None
- entity_id: Optional[str] = None
- relation_id: Optional[str] = None
- relation_members: Optional[Union[str, Dict[str, str], List[str]]] = None
- time_field: Optional[str] = None
- location_field: Optional[str] = None
+def _extractor(field_or_template: str) -> Callable[[Any], str]:
+ """Field or template extractor.
+ - Simple field: 'name' -> lambda x: x.name
+ - Bracket template: '{source}|{type}' -> lambda x: f"{x.source}|{x.type}"
-class IdentifierResolver:
- """Identifier Resolver - Generates extraction functions for entities and relations."""
+ Raises:
+ AttributeError: if field does not exist on item
+ """
+ if "{" in field_or_template:
+ fields = re.findall(r"\{(\w+)\}", field_or_template)
- @staticmethod
- def resolve_item_id(field_name: str) -> Callable[[BaseModel], str]:
- """Generate item ID extractor for Set type."""
- def extractor(item: BaseModel) -> str:
- value = getattr(item, field_name, None)
- return str(value) if value is not None else ""
- return extractor
-
- @staticmethod
- def resolve_entity_id(field_name: str) -> Callable[[BaseModel], str]:
- """Generate entity ID extractor."""
- def extractor(entity: BaseModel) -> str:
- value = getattr(entity, field_name, None)
- return str(value) if value is not None else ""
- return extractor
+ def extractor(item: Any) -> str:
+ missing = [f for f in fields if not hasattr(item, f)]
+ if missing:
+ raise AttributeError(f"Missing fields: {missing}")
+ values = [getattr(item, f, None) for f in fields]
+ return field_or_template.format(**dict(zip(fields, values)))
- @staticmethod
- def resolve_relation_id(template: str) -> Callable[[BaseModel], str]:
- """Generate relation ID extractor (supports template str)."""
- def extractor(relation: BaseModel) -> str:
- try:
- return template.format(**relation.model_dump())
- except (KeyError, ValueError):
- parts = []
- for key in template.split("|"):
- key = key.strip().strip("{}")
- value = getattr(relation, key, None)
- parts.append(str(value) if value is not None else "")
- return "|".join(parts)
return extractor
- @staticmethod
- def resolve_relation_members(
- relation_members: Union[str, Dict[str, str], List[str]]
- ) -> Callable[[BaseModel], Tuple[str, ...]]:
- """Generate relation member extractor (unified for binary relation/hyperrelation)."""
- if isinstance(relation_members, str):
- def extractor(relation: BaseModel) -> Tuple[str, ...]:
- value = getattr(relation, relation_members, None)
- if value is None:
- return ()
- if isinstance(value, (list, tuple)):
- return tuple(str(v) for v in value)
- return (str(value),)
- return extractor
- elif isinstance(relation_members, dict):
- source_key = relation_members.get("source", "source")
- target_key = relation_members.get("target", "target")
-
- def extractor(relation: BaseModel) -> Tuple[str, str]:
- source = getattr(relation, source_key, None)
- target = getattr(relation, target_key, None)
- return (
- str(source) if source is not None else "",
- str(target) if target is not None else "",
+ def extractor(item: Any) -> str:
+ if not hasattr(item, field_or_template):
+ raise AttributeError(f"Missing field: {field_or_template}")
+ value = getattr(item, field_or_template)
+ return str(value)
+
+ return extractor
+
+
+def _members_extractor(
+ members: dict[str, str] | str | list[str],
+) -> Callable[[Any], Tuple[str, ...]]:
+ """Relation members extractor:
+ Graph: {source: 's', target: 't'} -> lambda x: (x.s, x.t)
+ Hypergraph: 'members' -> lambda x: tuple(sorted(x.members)) or
+ 'members' -> lambda x: tuple(sorted(x.m) for m in x.members)
+ """
+ # Handle Graph
+ if isinstance(members, dict):
+
+ def extractor(item: Any) -> Tuple[str, str]:
+ return tuple(
+ sorted(
+ str(getattr(item, "source")),
+ str(getattr(item, "target")),
)
- return extractor
- elif isinstance(relation_members, list):
- def extractor(relation: BaseModel) -> Tuple[str, ...]:
- result = []
- for field_name in relation_members:
- value = getattr(relation, field_name, None)
- if value is None:
- continue
- if isinstance(value, (list, tuple)):
- result.extend(str(v) for v in value)
- else:
- result.append(str(value))
- return tuple(result)
- return extractor
- else:
- raise ValueError(f"Invalid relation_members configuration: {relation_members}")
-
- @staticmethod
- def resolve_time(field_name: str) -> Callable[[BaseModel], str]:
- """Generate time extractor."""
- def extractor(item: BaseModel) -> str:
- value = getattr(item, field_name, None)
- return str(value) if value is not None else ""
- return extractor
+ )
- @staticmethod
- def resolve_location(field_name: str) -> Callable[[BaseModel], str]:
- """Generate location extractor."""
- def extractor(item: BaseModel) -> str:
- value = getattr(item, field_name, None)
- return str(value) if value is not None else ""
return extractor
- @classmethod
- def resolve_all(cls, config) -> Dict[str, Callable]:
- """Resolve all identifier extractors based on configuration."""
- result = {}
- identifiers = config.identifiers or {}
- autotype = config.type
+ # Handle Hypergraph
+ if isinstance(members, str):
- if hasattr(identifiers, 'model_dump'):
- identifiers_dict = identifiers.model_dump()
- elif isinstance(identifiers, dict):
- identifiers_dict = identifiers
- else:
- identifiers_dict = {}
+ def extractor(item: Any) -> Tuple[str, ...]:
+ return tuple(sorted(getattr(item, members)))
- if autotype == "set" and identifiers_dict.get("item_id"):
- result["item_id_extractor"] = cls.resolve_item_id(identifiers_dict["item_id"])
-
- if autotype in ("graph", "hypergraph", "temporal_graph", "spatial_graph", "spatio_temporal_graph"):
- if identifiers_dict.get("entity_id"):
- result["entity_key_extractor"] = cls.resolve_entity_id(identifiers_dict["entity_id"])
-
- if identifiers_dict.get("relation_id"):
- result["relation_key_extractor"] = cls.resolve_relation_id(identifiers_dict["relation_id"])
+ return extractor
- if identifiers_dict.get("relation_members"):
- result["entities_in_relation_extractor"] = cls.resolve_relation_members(identifiers_dict["relation_members"])
+ def extractor(item: str | list[str]) -> Tuple[str, ...]:
+ result = []
+ for m in members:
+ result.append(tuple(sorted(getattr(item, m))))
+ return tuple(result)
+
+ return extractor
+
+
+def parse_identifiers(
+ identifiers: NaiveIdentifierSchema | GraphIdentifiersSchema,
+ autotype: VALID_AUTOTYPES,
+) -> (
+ Callable[[Any], str]
+ | Tuple[
+ Callable[[Any], str], Callable[[Any], str], Callable[[Any], Tuple[str, ...]]
+ ]
+):
+ """Parse identifiers config and return extractors based on autotype.
+
+ Args:
+ identifiers: identifiers config from YAML
+ autotype: auto type (model, list, set, graph, hypergraph, ...)
+
+ Returns:
+ - For set: item_id_extractor
+ - For graph types: (entity_key_extractor, relation_key_extractor, entities_in_relation_extractor)
+ """
+
+ if autotype == "set":
+ return _extractor(identifiers.item_id)
+
+ if autotype in (
+ "graph",
+ "hypergraph",
+ "temporal_graph",
+ "spatial_graph",
+ "spatio_temporal_graph",
+ ):
+ entity_extractor = _extractor(identifiers.entity_id)
+ relation_extractor = _extractor(identifiers.relation_id)
+ members_extractor = _members_extractor(identifiers.relation_members)
+ rets = [entity_extractor, relation_extractor, members_extractor]
if autotype in ("temporal_graph", "spatio_temporal_graph"):
- if identifiers_dict.get("time_field"):
- result["time_in_relation_extractor"] = cls.resolve_time(identifiers_dict["time_field"])
+ time_extractor = _extractor(identifiers.time_field)
+ rets.append(time_extractor)
if autotype in ("spatial_graph", "spatio_temporal_graph"):
- if identifiers_dict.get("location_field"):
- result["location_in_relation_extractor"] = cls.resolve_location(identifiers_dict["location_field"])
+ location_extractor = _extractor(identifiers.location_field)
+ rets.append(location_extractor)
+
+ return tuple(rets)
- return result
+ return None
__all__ = [
- "Identifiers",
- "IdentifierResolver",
+ "parse_identifiers",
]
diff --git a/hyperextract/utils/template_engine/parsers/output.py b/hyperextract/utils/template_engine/parsers/output.py
index 6047d91..73bcc58 100644
--- a/hyperextract/utils/template_engine/parsers/output.py
+++ b/hyperextract/utils/template_engine/parsers/output.py
@@ -5,7 +5,6 @@ from .schemas import (
FieldSchema,
NaiveOutputSchema,
GraphOutputSchema,
- NaiveOutputSchema,
)
from pydantic import Field, create_model, BaseModel
diff --git a/uv.lock b/uv.lock
index d86fa2d..7d97604 100644
--- a/uv.lock
+++ b/uv.lock
@@ -149,6 +149,25 @@ wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" },
]
+[[package]]
+name = "anthropic"
+version = "0.84.0"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+dependencies = [
+ { name = "anyio" },
+ { name = "distro" },
+ { name = "docstring-parser" },
+ { name = "httpx" },
+ { name = "jiter" },
+ { name = "pydantic" },
+ { name = "sniffio" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/04/ea/0869d6df9ef83dcf393aeefc12dd81677d091c6ffc86f783e51cf44062f2/anthropic-0.84.0.tar.gz", hash = "sha256:72f5f90e5aebe62dca316cb013629cfa24996b0f5a4593b8c3d712bc03c43c37", size = 539457, upload-time = "2026-02-25T05:22:38.54Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/64/ca/218fa25002a332c0aa149ba18ffc0543175998b1f65de63f6d106689a345/anthropic-0.84.0-py3-none-any.whl", hash = "sha256:861c4c50f91ca45f942e091d83b60530ad6d4f98733bfe648065364da05d29e7", size = 455156, upload-time = "2026-02-25T05:22:40.468Z" },
+]
+
[[package]]
name = "anyio"
version = "4.12.1"
@@ -203,6 +222,76 @@ wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e6/ad/3cc14f097111b4de0040c83a525973216457bbeeb63739ef1ed275c1c021/certifi-2026.1.4-py3-none-any.whl", hash = "sha256:9943707519e4add1115f44c2bc244f782c0249876bf51b6599fee1ffbedd685c", size = 152900, upload-time = "2026-01-04T02:42:40.15Z" },
]
+[[package]]
+name = "cffi"
+version = "2.0.0"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+dependencies = [
+ { name = "pycparser", marker = "implementation_name != 'PyPy'" },
+]
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846/cffi-2.0.0.tar.gz", hash = "sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529", size = 523588, upload-time = "2025-09-08T23:24:04.541Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/12/4a/3dfd5f7850cbf0d06dc84ba9aa00db766b52ca38d8b86e3a38314d52498c/cffi-2.0.0-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:b4c854ef3adc177950a8dfc81a86f5115d2abd545751a304c5bcf2c2c7283cfe", size = 184344, upload-time = "2025-09-08T23:22:26.456Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/4f/8b/f0e4c441227ba756aafbe78f117485b25bb26b1c059d01f137fa6d14896b/cffi-2.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2de9a304e27f7596cd03d16f1b7c72219bd944e99cc52b84d0145aefb07cbd3c", size = 180560, upload-time = "2025-09-08T23:22:28.197Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/b1/b7/1200d354378ef52ec227395d95c2576330fd22a869f7a70e88e1447eb234/cffi-2.0.0-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:baf5215e0ab74c16e2dd324e8ec067ef59e41125d3eade2b863d294fd5035c92", size = 209613, upload-time = "2025-09-08T23:22:29.475Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/b8/56/6033f5e86e8cc9bb629f0077ba71679508bdf54a9a5e112a3c0b91870332/cffi-2.0.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:730cacb21e1bdff3ce90babf007d0a0917cc3e6492f336c2f0134101e0944f93", size = 216476, upload-time = "2025-09-08T23:22:31.063Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/dc/7f/55fecd70f7ece178db2f26128ec41430d8720f2d12ca97bf8f0a628207d5/cffi-2.0.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:6824f87845e3396029f3820c206e459ccc91760e8fa24422f8b0c3d1731cbec5", size = 203374, upload-time = "2025-09-08T23:22:32.507Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/84/ef/a7b77c8bdc0f77adc3b46888f1ad54be8f3b7821697a7b89126e829e676a/cffi-2.0.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:9de40a7b0323d889cf8d23d1ef214f565ab154443c42737dfe52ff82cf857664", size = 202597, upload-time = "2025-09-08T23:22:34.132Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d7/91/500d892b2bf36529a75b77958edfcd5ad8e2ce4064ce2ecfeab2125d72d1/cffi-2.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8941aaadaf67246224cee8c3803777eed332a19d909b47e29c9842ef1e79ac26", size = 215574, upload-time = "2025-09-08T23:22:35.443Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/44/64/58f6255b62b101093d5df22dcb752596066c7e89dd725e0afaed242a61be/cffi-2.0.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:a05d0c237b3349096d3981b727493e22147f934b20f6f125a3eba8f994bec4a9", size = 218971, upload-time = "2025-09-08T23:22:36.805Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ab/49/fa72cebe2fd8a55fbe14956f9970fe8eb1ac59e5df042f603ef7c8ba0adc/cffi-2.0.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:94698a9c5f91f9d138526b48fe26a199609544591f859c870d477351dc7b2414", size = 211972, upload-time = "2025-09-08T23:22:38.436Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/0b/28/dd0967a76aab36731b6ebfe64dec4e981aff7e0608f60c2d46b46982607d/cffi-2.0.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5fed36fccc0612a53f1d4d9a816b50a36702c28a2aa880cb8a122b3466638743", size = 217078, upload-time = "2025-09-08T23:22:39.776Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/2b/c0/015b25184413d7ab0a410775fdb4a50fca20f5589b5dab1dbbfa3baad8ce/cffi-2.0.0-cp311-cp311-win32.whl", hash = "sha256:c649e3a33450ec82378822b3dad03cc228b8f5963c0c12fc3b1e0ab940f768a5", size = 172076, upload-time = "2025-09-08T23:22:40.95Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ae/8f/dc5531155e7070361eb1b7e4c1a9d896d0cb21c49f807a6c03fd63fc877e/cffi-2.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:66f011380d0e49ed280c789fbd08ff0d40968ee7b665575489afa95c98196ab5", size = 182820, upload-time = "2025-09-08T23:22:42.463Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/95/5c/1b493356429f9aecfd56bc171285a4c4ac8697f76e9bbbbb105e537853a1/cffi-2.0.0-cp311-cp311-win_arm64.whl", hash = "sha256:c6638687455baf640e37344fe26d37c404db8b80d037c3d29f58fe8d1c3b194d", size = 177635, upload-time = "2025-09-08T23:22:43.623Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ea/47/4f61023ea636104d4f16ab488e268b93008c3d0bb76893b1b31db1f96802/cffi-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d02d6655b0e54f54c4ef0b94eb6be0607b70853c45ce98bd278dc7de718be5d", size = 185271, upload-time = "2025-09-08T23:22:44.795Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/df/a2/781b623f57358e360d62cdd7a8c681f074a71d445418a776eef0aadb4ab4/cffi-2.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8eca2a813c1cb7ad4fb74d368c2ffbbb4789d377ee5bb8df98373c2cc0dee76c", size = 181048, upload-time = "2025-09-08T23:22:45.938Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ff/df/a4f0fbd47331ceeba3d37c2e51e9dfc9722498becbeec2bd8bc856c9538a/cffi-2.0.0-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:21d1152871b019407d8ac3985f6775c079416c282e431a4da6afe7aefd2bccbe", size = 212529, upload-time = "2025-09-08T23:22:47.349Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d5/72/12b5f8d3865bf0f87cf1404d8c374e7487dcf097a1c91c436e72e6badd83/cffi-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b21e08af67b8a103c71a250401c78d5e0893beff75e28c53c98f4de42f774062", size = 220097, upload-time = "2025-09-08T23:22:48.677Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/c2/95/7a135d52a50dfa7c882ab0ac17e8dc11cec9d55d2c18dda414c051c5e69e/cffi-2.0.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:1e3a615586f05fc4065a8b22b8152f0c1b00cdbc60596d187c2a74f9e3036e4e", size = 207983, upload-time = "2025-09-08T23:22:50.06Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/3a/c8/15cb9ada8895957ea171c62dc78ff3e99159ee7adb13c0123c001a2546c1/cffi-2.0.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:81afed14892743bbe14dacb9e36d9e0e504cd204e0b165062c488942b9718037", size = 206519, upload-time = "2025-09-08T23:22:51.364Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/78/2d/7fa73dfa841b5ac06c7b8855cfc18622132e365f5b81d02230333ff26e9e/cffi-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3e17ed538242334bf70832644a32a7aae3d83b57567f9fd60a26257e992b79ba", size = 219572, upload-time = "2025-09-08T23:22:52.902Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/07/e0/267e57e387b4ca276b90f0434ff88b2c2241ad72b16d31836adddfd6031b/cffi-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3925dd22fa2b7699ed2617149842d2e6adde22b262fcbfada50e3d195e4b3a94", size = 222963, upload-time = "2025-09-08T23:22:54.518Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/b6/75/1f2747525e06f53efbd878f4d03bac5b859cbc11c633d0fb81432d98a795/cffi-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2c8f814d84194c9ea681642fd164267891702542f028a15fc97d4674b6206187", size = 221361, upload-time = "2025-09-08T23:22:55.867Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/7b/2b/2b6435f76bfeb6bbf055596976da087377ede68df465419d192acf00c437/cffi-2.0.0-cp312-cp312-win32.whl", hash = "sha256:da902562c3e9c550df360bfa53c035b2f241fed6d9aef119048073680ace4a18", size = 172932, upload-time = "2025-09-08T23:22:57.188Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f8/ed/13bd4418627013bec4ed6e54283b1959cf6db888048c7cf4b4c3b5b36002/cffi-2.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:da68248800ad6320861f129cd9c1bf96ca849a2771a59e0344e88681905916f5", size = 183557, upload-time = "2025-09-08T23:22:58.351Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/95/31/9f7f93ad2f8eff1dbc1c3656d7ca5bfd8fb52c9d786b4dcf19b2d02217fa/cffi-2.0.0-cp312-cp312-win_arm64.whl", hash = "sha256:4671d9dd5ec934cb9a73e7ee9676f9362aba54f7f34910956b84d727b0d73fb6", size = 177762, upload-time = "2025-09-08T23:22:59.668Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/4b/8d/a0a47a0c9e413a658623d014e91e74a50cdd2c423f7ccfd44086ef767f90/cffi-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:00bdf7acc5f795150faa6957054fbbca2439db2f775ce831222b66f192f03beb", size = 185230, upload-time = "2025-09-08T23:23:00.879Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/4a/d2/a6c0296814556c68ee32009d9c2ad4f85f2707cdecfd7727951ec228005d/cffi-2.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:45d5e886156860dc35862657e1494b9bae8dfa63bf56796f2fb56e1679fc0bca", size = 181043, upload-time = "2025-09-08T23:23:02.231Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/b0/1e/d22cc63332bd59b06481ceaac49d6c507598642e2230f201649058a7e704/cffi-2.0.0-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:07b271772c100085dd28b74fa0cd81c8fb1a3ba18b21e03d7c27f3436a10606b", size = 212446, upload-time = "2025-09-08T23:23:03.472Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/a9/f5/a2c23eb03b61a0b8747f211eb716446c826ad66818ddc7810cc2cc19b3f2/cffi-2.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d48a880098c96020b02d5a1f7d9251308510ce8858940e6fa99ece33f610838b", size = 220101, upload-time = "2025-09-08T23:23:04.792Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f2/7f/e6647792fc5850d634695bc0e6ab4111ae88e89981d35ac269956605feba/cffi-2.0.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:f93fd8e5c8c0a4aa1f424d6173f14a892044054871c771f8566e4008eaa359d2", size = 207948, upload-time = "2025-09-08T23:23:06.127Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/cb/1e/a5a1bd6f1fb30f22573f76533de12a00bf274abcdc55c8edab639078abb6/cffi-2.0.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:dd4f05f54a52fb558f1ba9f528228066954fee3ebe629fc1660d874d040ae5a3", size = 206422, upload-time = "2025-09-08T23:23:07.753Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/98/df/0a1755e750013a2081e863e7cd37e0cdd02664372c754e5560099eb7aa44/cffi-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c8d3b5532fc71b7a77c09192b4a5a200ea992702734a2e9279a37f2478236f26", size = 219499, upload-time = "2025-09-08T23:23:09.648Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/50/e1/a969e687fcf9ea58e6e2a928ad5e2dd88cc12f6f0ab477e9971f2309b57c/cffi-2.0.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d9b29c1f0ae438d5ee9acb31cadee00a58c46cc9c0b2f9038c6b0b3470877a8c", size = 222928, upload-time = "2025-09-08T23:23:10.928Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/36/54/0362578dd2c9e557a28ac77698ed67323ed5b9775ca9d3fe73fe191bb5d8/cffi-2.0.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6d50360be4546678fc1b79ffe7a66265e28667840010348dd69a314145807a1b", size = 221302, upload-time = "2025-09-08T23:23:12.42Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/eb/6d/bf9bda840d5f1dfdbf0feca87fbdb64a918a69bca42cfa0ba7b137c48cb8/cffi-2.0.0-cp313-cp313-win32.whl", hash = "sha256:74a03b9698e198d47562765773b4a8309919089150a0bb17d829ad7b44b60d27", size = 172909, upload-time = "2025-09-08T23:23:14.32Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/37/18/6519e1ee6f5a1e579e04b9ddb6f1676c17368a7aba48299c3759bbc3c8b3/cffi-2.0.0-cp313-cp313-win_amd64.whl", hash = "sha256:19f705ada2530c1167abacb171925dd886168931e0a7b78f5bffcae5c6b5be75", size = 183402, upload-time = "2025-09-08T23:23:15.535Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/cb/0e/02ceeec9a7d6ee63bb596121c2c8e9b3a9e150936f4fbef6ca1943e6137c/cffi-2.0.0-cp313-cp313-win_arm64.whl", hash = "sha256:256f80b80ca3853f90c21b23ee78cd008713787b1b1e93eae9f3d6a7134abd91", size = 177780, upload-time = "2025-09-08T23:23:16.761Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/92/c4/3ce07396253a83250ee98564f8d7e9789fab8e58858f35d07a9a2c78de9f/cffi-2.0.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:fc33c5141b55ed366cfaad382df24fe7dcbc686de5be719b207bb248e3053dc5", size = 185320, upload-time = "2025-09-08T23:23:18.087Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/59/dd/27e9fa567a23931c838c6b02d0764611c62290062a6d4e8ff7863daf9730/cffi-2.0.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c654de545946e0db659b3400168c9ad31b5d29593291482c43e3564effbcee13", size = 181487, upload-time = "2025-09-08T23:23:19.622Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d6/43/0e822876f87ea8a4ef95442c3d766a06a51fc5298823f884ef87aaad168c/cffi-2.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:24b6f81f1983e6df8db3adc38562c83f7d4a0c36162885ec7f7b77c7dcbec97b", size = 220049, upload-time = "2025-09-08T23:23:20.853Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/b4/89/76799151d9c2d2d1ead63c2429da9ea9d7aac304603de0c6e8764e6e8e70/cffi-2.0.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:12873ca6cb9b0f0d3a0da705d6086fe911591737a59f28b7936bdfed27c0d47c", size = 207793, upload-time = "2025-09-08T23:23:22.08Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/bb/dd/3465b14bb9e24ee24cb88c9e3730f6de63111fffe513492bf8c808a3547e/cffi-2.0.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:d9b97165e8aed9272a6bb17c01e3cc5871a594a446ebedc996e2397a1c1ea8ef", size = 206300, upload-time = "2025-09-08T23:23:23.314Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/47/d9/d83e293854571c877a92da46fdec39158f8d7e68da75bf73581225d28e90/cffi-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:afb8db5439b81cf9c9d0c80404b60c3cc9c3add93e114dcae767f1477cb53775", size = 219244, upload-time = "2025-09-08T23:23:24.541Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/2b/0f/1f177e3683aead2bb00f7679a16451d302c436b5cbf2505f0ea8146ef59e/cffi-2.0.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:737fe7d37e1a1bffe70bd5754ea763a62a066dc5913ca57e957824b72a85e205", size = 222828, upload-time = "2025-09-08T23:23:26.143Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/c6/0f/cafacebd4b040e3119dcb32fed8bdef8dfe94da653155f9d0b9dc660166e/cffi-2.0.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:38100abb9d1b1435bc4cc340bb4489635dc2f0da7456590877030c9b3d40b0c1", size = 220926, upload-time = "2025-09-08T23:23:27.873Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/3e/aa/df335faa45b395396fcbc03de2dfcab242cd61a9900e914fe682a59170b1/cffi-2.0.0-cp314-cp314-win32.whl", hash = "sha256:087067fa8953339c723661eda6b54bc98c5625757ea62e95eb4898ad5e776e9f", size = 175328, upload-time = "2025-09-08T23:23:44.61Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/bb/92/882c2d30831744296ce713f0feb4c1cd30f346ef747b530b5318715cc367/cffi-2.0.0-cp314-cp314-win_amd64.whl", hash = "sha256:203a48d1fb583fc7d78a4c6655692963b860a417c0528492a6bc21f1aaefab25", size = 185650, upload-time = "2025-09-08T23:23:45.848Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/9f/2c/98ece204b9d35a7366b5b2c6539c350313ca13932143e79dc133ba757104/cffi-2.0.0-cp314-cp314-win_arm64.whl", hash = "sha256:dbd5c7a25a7cb98f5ca55d258b103a2054f859a46ae11aaf23134f9cc0d356ad", size = 180687, upload-time = "2025-09-08T23:23:47.105Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/3e/61/c768e4d548bfa607abcda77423448df8c471f25dbe64fb2ef6d555eae006/cffi-2.0.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:9a67fc9e8eb39039280526379fb3a70023d77caec1852002b4da7e8b270c4dd9", size = 188773, upload-time = "2025-09-08T23:23:29.347Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/2c/ea/5f76bce7cf6fcd0ab1a1058b5af899bfbef198bea4d5686da88471ea0336/cffi-2.0.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7a66c7204d8869299919db4d5069a82f1561581af12b11b3c9f48c584eb8743d", size = 185013, upload-time = "2025-09-08T23:23:30.63Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/be/b4/c56878d0d1755cf9caa54ba71e5d049479c52f9e4afc230f06822162ab2f/cffi-2.0.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7cc09976e8b56f8cebd752f7113ad07752461f48a58cbba644139015ac24954c", size = 221593, upload-time = "2025-09-08T23:23:31.91Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e0/0d/eb704606dfe8033e7128df5e90fee946bbcb64a04fcdaa97321309004000/cffi-2.0.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:92b68146a71df78564e4ef48af17551a5ddd142e5190cdf2c5624d0c3ff5b2e8", size = 209354, upload-time = "2025-09-08T23:23:33.214Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d8/19/3c435d727b368ca475fb8742ab97c9cb13a0de600ce86f62eab7fa3eea60/cffi-2.0.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:b1e74d11748e7e98e2f426ab176d4ed720a64412b6a15054378afdb71e0f37dc", size = 208480, upload-time = "2025-09-08T23:23:34.495Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d0/44/681604464ed9541673e486521497406fadcc15b5217c3e326b061696899a/cffi-2.0.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:28a3a209b96630bca57cce802da70c266eb08c6e97e5afd61a75611ee6c64592", size = 221584, upload-time = "2025-09-08T23:23:36.096Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/25/8e/342a504ff018a2825d395d44d63a767dd8ebc927ebda557fecdaca3ac33a/cffi-2.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:7553fb2090d71822f02c629afe6042c299edf91ba1bf94951165613553984512", size = 224443, upload-time = "2025-09-08T23:23:37.328Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e1/5e/b666bacbbc60fbf415ba9988324a132c9a7a0448a9a8f125074671c0f2c3/cffi-2.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6c6c373cfc5c83a975506110d17457138c8c63016b563cc9ed6e056a82f13ce4", size = 223437, upload-time = "2025-09-08T23:23:38.945Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/a0/1d/ec1a60bd1a10daa292d3cd6bb0b359a81607154fb8165f3ec95fe003b85c/cffi-2.0.0-cp314-cp314t-win32.whl", hash = "sha256:1fc9ea04857caf665289b7a75923f2c6ed559b8298a1b8c49e59f7dd95c8481e", size = 180487, upload-time = "2025-09-08T23:23:40.423Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/bf/41/4c1168c74fac325c0c8156f04b6749c8b6a8f405bbf91413ba088359f60d/cffi-2.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d68b6cef7827e8641e8ef16f4494edda8b36104d79773a334beaa1e3521430f6", size = 191726, upload-time = "2025-09-08T23:23:41.742Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ae/3a/dbeec9d1ee0844c679f6bb5d6ad4e9f198b1224f4e7a32825f47f6192b0c/cffi-2.0.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0a1527a803f0a659de1af2e1fd700213caba79377e27e4693648c2923da066f9", size = 184195, upload-time = "2025-09-08T23:23:43.004Z" },
+]
+
[[package]]
name = "charset-normalizer"
version = "3.4.4"
@@ -297,6 +386,65 @@ wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
]
+[[package]]
+name = "cryptography"
+version = "46.0.5"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+dependencies = [
+ { name = "cffi", marker = "platform_python_implementation != 'PyPy'" },
+]
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/60/04/ee2a9e8542e4fa2773b81771ff8349ff19cdd56b7258a0cc442639052edb/cryptography-46.0.5.tar.gz", hash = "sha256:abace499247268e3757271b2f1e244b36b06f8515cf27c4d49468fc9eb16e93d", size = 750064, upload-time = "2026-02-10T19:18:38.255Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f7/81/b0bb27f2ba931a65409c6b8a8b358a7f03c0e46eceacddff55f7c84b1f3b/cryptography-46.0.5-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:351695ada9ea9618b3500b490ad54c739860883df6c1f555e088eaf25b1bbaad", size = 7176289, upload-time = "2026-02-10T19:17:08.274Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ff/9e/6b4397a3e3d15123de3b1806ef342522393d50736c13b20ec4c9ea6693a6/cryptography-46.0.5-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c18ff11e86df2e28854939acde2d003f7984f721eba450b56a200ad90eeb0e6b", size = 4275637, upload-time = "2026-02-10T19:17:10.53Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/63/e7/471ab61099a3920b0c77852ea3f0ea611c9702f651600397ac567848b897/cryptography-46.0.5-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4d7e3d356b8cd4ea5aff04f129d5f66ebdc7b6f8eae802b93739ed520c47c79b", size = 4424742, upload-time = "2026-02-10T19:17:12.388Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/37/53/a18500f270342d66bf7e4d9f091114e31e5ee9e7375a5aba2e85a91e0044/cryptography-46.0.5-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:50bfb6925eff619c9c023b967d5b77a54e04256c4281b0e21336a130cd7fc263", size = 4277528, upload-time = "2026-02-10T19:17:13.853Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/22/29/c2e812ebc38c57b40e7c583895e73c8c5adb4d1e4a0cc4c5a4fdab2b1acc/cryptography-46.0.5-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:803812e111e75d1aa73690d2facc295eaefd4439be1023fefc4995eaea2af90d", size = 4947993, upload-time = "2026-02-10T19:17:15.618Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/6b/e7/237155ae19a9023de7e30ec64e5d99a9431a567407ac21170a046d22a5a3/cryptography-46.0.5-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3ee190460e2fbe447175cda91b88b84ae8322a104fc27766ad09428754a618ed", size = 4456855, upload-time = "2026-02-10T19:17:17.221Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/2d/87/fc628a7ad85b81206738abbd213b07702bcbdada1dd43f72236ef3cffbb5/cryptography-46.0.5-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:f145bba11b878005c496e93e257c1e88f154d278d2638e6450d17e0f31e558d2", size = 3984635, upload-time = "2026-02-10T19:17:18.792Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/84/29/65b55622bde135aedf4565dc509d99b560ee4095e56989e815f8fd2aa910/cryptography-46.0.5-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:e9251e3be159d1020c4030bd2e5f84d6a43fe54b6c19c12f51cde9542a2817b2", size = 4277038, upload-time = "2026-02-10T19:17:20.256Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/bc/36/45e76c68d7311432741faf1fbf7fac8a196a0a735ca21f504c75d37e2558/cryptography-46.0.5-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:47fb8a66058b80e509c47118ef8a75d14c455e81ac369050f20ba0d23e77fee0", size = 4912181, upload-time = "2026-02-10T19:17:21.825Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/6d/1a/c1ba8fead184d6e3d5afcf03d569acac5ad063f3ac9fb7258af158f7e378/cryptography-46.0.5-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:4c3341037c136030cb46e4b1e17b7418ea4cbd9dd207e4a6f3b2b24e0d4ac731", size = 4456482, upload-time = "2026-02-10T19:17:25.133Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f9/e5/3fb22e37f66827ced3b902cf895e6a6bc1d095b5b26be26bd13c441fdf19/cryptography-46.0.5-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:890bcb4abd5a2d3f852196437129eb3667d62630333aacc13dfd470fad3aaa82", size = 4405497, upload-time = "2026-02-10T19:17:26.66Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/1a/df/9d58bb32b1121a8a2f27383fabae4d63080c7ca60b9b5c88be742be04ee7/cryptography-46.0.5-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:80a8d7bfdf38f87ca30a5391c0c9ce4ed2926918e017c29ddf643d0ed2778ea1", size = 4667819, upload-time = "2026-02-10T19:17:28.569Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ea/ed/325d2a490c5e94038cdb0117da9397ece1f11201f425c4e9c57fe5b9f08b/cryptography-46.0.5-cp311-abi3-win32.whl", hash = "sha256:60ee7e19e95104d4c03871d7d7dfb3d22ef8a9b9c6778c94e1c8fcc8365afd48", size = 3028230, upload-time = "2026-02-10T19:17:30.518Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e9/5a/ac0f49e48063ab4255d9e3b79f5def51697fce1a95ea1370f03dc9db76f6/cryptography-46.0.5-cp311-abi3-win_amd64.whl", hash = "sha256:38946c54b16c885c72c4f59846be9743d699eee2b69b6988e0a00a01f46a61a4", size = 3480909, upload-time = "2026-02-10T19:17:32.083Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/00/13/3d278bfa7a15a96b9dc22db5a12ad1e48a9eb3d40e1827ef66a5df75d0d0/cryptography-46.0.5-cp314-cp314t-macosx_10_9_universal2.whl", hash = "sha256:94a76daa32eb78d61339aff7952ea819b1734b46f73646a07decb40e5b3448e2", size = 7119287, upload-time = "2026-02-10T19:17:33.801Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/67/c8/581a6702e14f0898a0848105cbefd20c058099e2c2d22ef4e476dfec75d7/cryptography-46.0.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5be7bf2fb40769e05739dd0046e7b26f9d4670badc7b032d6ce4db64dddc0678", size = 4265728, upload-time = "2026-02-10T19:17:35.569Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/dd/4a/ba1a65ce8fc65435e5a849558379896c957870dd64fecea97b1ad5f46a37/cryptography-46.0.5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fe346b143ff9685e40192a4960938545c699054ba11d4f9029f94751e3f71d87", size = 4408287, upload-time = "2026-02-10T19:17:36.938Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f8/67/8ffdbf7b65ed1ac224d1c2df3943553766914a8ca718747ee3871da6107e/cryptography-46.0.5-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:c69fd885df7d089548a42d5ec05be26050ebcd2283d89b3d30676eb32ff87dee", size = 4270291, upload-time = "2026-02-10T19:17:38.748Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f8/e5/f52377ee93bc2f2bba55a41a886fd208c15276ffbd2569f2ddc89d50e2c5/cryptography-46.0.5-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:8293f3dea7fc929ef7240796ba231413afa7b68ce38fd21da2995549f5961981", size = 4927539, upload-time = "2026-02-10T19:17:40.241Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/3b/02/cfe39181b02419bbbbcf3abdd16c1c5c8541f03ca8bda240debc467d5a12/cryptography-46.0.5-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:1abfdb89b41c3be0365328a410baa9df3ff8a9110fb75e7b52e66803ddabc9a9", size = 4442199, upload-time = "2026-02-10T19:17:41.789Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/c0/96/2fcaeb4873e536cf71421a388a6c11b5bc846e986b2b069c79363dc1648e/cryptography-46.0.5-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:d66e421495fdb797610a08f43b05269e0a5ea7f5e652a89bfd5a7d3c1dee3648", size = 3960131, upload-time = "2026-02-10T19:17:43.379Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d8/d2/b27631f401ddd644e94c5cf33c9a4069f72011821cf3dc7309546b0642a0/cryptography-46.0.5-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:4e817a8920bfbcff8940ecfd60f23d01836408242b30f1a708d93198393a80b4", size = 4270072, upload-time = "2026-02-10T19:17:45.481Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f4/a7/60d32b0370dae0b4ebe55ffa10e8599a2a59935b5ece1b9f06edb73abdeb/cryptography-46.0.5-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:68f68d13f2e1cb95163fa3b4db4bf9a159a418f5f6e7242564fc75fcae667fd0", size = 4892170, upload-time = "2026-02-10T19:17:46.997Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d2/b9/cf73ddf8ef1164330eb0b199a589103c363afa0cf794218c24d524a58eab/cryptography-46.0.5-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:a3d1fae9863299076f05cb8a778c467578262fae09f9dc0ee9b12eb4268ce663", size = 4441741, upload-time = "2026-02-10T19:17:48.661Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/5f/eb/eee00b28c84c726fe8fa0158c65afe312d9c3b78d9d01daf700f1f6e37ff/cryptography-46.0.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c4143987a42a2397f2fc3b4d7e3a7d313fbe684f67ff443999e803dd75a76826", size = 4396728, upload-time = "2026-02-10T19:17:50.058Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/65/f4/6bc1a9ed5aef7145045114b75b77c2a8261b4d38717bd8dea111a63c3442/cryptography-46.0.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:7d731d4b107030987fd61a7f8ab512b25b53cef8f233a97379ede116f30eb67d", size = 4652001, upload-time = "2026-02-10T19:17:51.54Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/86/ef/5d00ef966ddd71ac2e6951d278884a84a40ffbd88948ef0e294b214ae9e4/cryptography-46.0.5-cp314-cp314t-win32.whl", hash = "sha256:c3bcce8521d785d510b2aad26ae2c966092b7daa8f45dd8f44734a104dc0bc1a", size = 3003637, upload-time = "2026-02-10T19:17:52.997Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/b7/57/f3f4160123da6d098db78350fdfd9705057aad21de7388eacb2401dceab9/cryptography-46.0.5-cp314-cp314t-win_amd64.whl", hash = "sha256:4d8ae8659ab18c65ced284993c2265910f6c9e650189d4e3f68445ef82a810e4", size = 3469487, upload-time = "2026-02-10T19:17:54.549Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e2/fa/a66aa722105ad6a458bebd64086ca2b72cdd361fed31763d20390f6f1389/cryptography-46.0.5-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:4108d4c09fbbf2789d0c926eb4152ae1760d5a2d97612b92d508d96c861e4d31", size = 7170514, upload-time = "2026-02-10T19:17:56.267Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/0f/04/c85bdeab78c8bc77b701bf0d9bdcf514c044e18a46dcff330df5448631b0/cryptography-46.0.5-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7d1f30a86d2757199cb2d56e48cce14deddf1f9c95f1ef1b64ee91ea43fe2e18", size = 4275349, upload-time = "2026-02-10T19:17:58.419Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/5c/32/9b87132a2f91ee7f5223b091dc963055503e9b442c98fc0b8a5ca765fab0/cryptography-46.0.5-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:039917b0dc418bb9f6edce8a906572d69e74bd330b0b3fea4f79dab7f8ddd235", size = 4420667, upload-time = "2026-02-10T19:18:00.619Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/a1/a6/a7cb7010bec4b7c5692ca6f024150371b295ee1c108bdc1c400e4c44562b/cryptography-46.0.5-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:ba2a27ff02f48193fc4daeadf8ad2590516fa3d0adeeb34336b96f7fa64c1e3a", size = 4276980, upload-time = "2026-02-10T19:18:02.379Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/8e/7c/c4f45e0eeff9b91e3f12dbd0e165fcf2a38847288fcfd889deea99fb7b6d/cryptography-46.0.5-cp38-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:61aa400dce22cb001a98014f647dc21cda08f7915ceb95df0c9eaf84b4b6af76", size = 4939143, upload-time = "2026-02-10T19:18:03.964Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/37/19/e1b8f964a834eddb44fa1b9a9976f4e414cbb7aa62809b6760c8803d22d1/cryptography-46.0.5-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3ce58ba46e1bc2aac4f7d9290223cead56743fa6ab94a5d53292ffaac6a91614", size = 4453674, upload-time = "2026-02-10T19:18:05.588Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/db/ed/db15d3956f65264ca204625597c410d420e26530c4e2943e05a0d2f24d51/cryptography-46.0.5-cp38-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:420d0e909050490d04359e7fdb5ed7e667ca5c3c402b809ae2563d7e66a92229", size = 3978801, upload-time = "2026-02-10T19:18:07.167Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/41/e2/df40a31d82df0a70a0daf69791f91dbb70e47644c58581d654879b382d11/cryptography-46.0.5-cp38-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:582f5fcd2afa31622f317f80426a027f30dc792e9c80ffee87b993200ea115f1", size = 4276755, upload-time = "2026-02-10T19:18:09.813Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/33/45/726809d1176959f4a896b86907b98ff4391a8aa29c0aaaf9450a8a10630e/cryptography-46.0.5-cp38-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:bfd56bb4b37ed4f330b82402f6f435845a5f5648edf1ad497da51a8452d5d62d", size = 4901539, upload-time = "2026-02-10T19:18:11.263Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/99/0f/a3076874e9c88ecb2ecc31382f6e7c21b428ede6f55aafa1aa272613e3cd/cryptography-46.0.5-cp38-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:a3d507bb6a513ca96ba84443226af944b0f7f47dcc9a399d110cd6146481d24c", size = 4452794, upload-time = "2026-02-10T19:18:12.914Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/02/ef/ffeb542d3683d24194a38f66ca17c0a4b8bf10631feef44a7ef64e631b1a/cryptography-46.0.5-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:9f16fbdf4da055efb21c22d81b89f155f02ba420558db21288b3d0035bafd5f4", size = 4404160, upload-time = "2026-02-10T19:18:14.375Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/96/93/682d2b43c1d5f1406ed048f377c0fc9fc8f7b0447a478d5c65ab3d3a66eb/cryptography-46.0.5-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:ced80795227d70549a411a4ab66e8ce307899fad2220ce5ab2f296e687eacde9", size = 4667123, upload-time = "2026-02-10T19:18:15.886Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/45/2d/9c5f2926cb5300a8eefc3f4f0b3f3df39db7f7ce40c8365444c49363cbda/cryptography-46.0.5-cp38-abi3-win32.whl", hash = "sha256:02f547fce831f5096c9a567fd41bc12ca8f11df260959ecc7c3202555cc47a72", size = 3010220, upload-time = "2026-02-10T19:18:17.361Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/48/ef/0c2f4a8e31018a986949d34a01115dd057bf536905dca38897bacd21fac3/cryptography-46.0.5-cp38-abi3-win_amd64.whl", hash = "sha256:556e106ee01aa13484ce9b0239bca667be5004efb0aabbed28d353df86445595", size = 3467050, upload-time = "2026-02-10T19:18:18.899Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/eb/dd/2d9fdb07cebdf3d51179730afb7d5e576153c6744c3ff8fded23030c204e/cryptography-46.0.5-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:3b4995dc971c9fb83c25aa44cf45f02ba86f71ee600d81091c2f0cbae116b06c", size = 3476964, upload-time = "2026-02-10T19:18:20.687Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e9/6f/6cc6cc9955caa6eaf83660b0da2b077c7fe8ff9950a3c5e45d605038d439/cryptography-46.0.5-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:bc84e875994c3b445871ea7181d424588171efec3e185dced958dad9e001950a", size = 4218321, upload-time = "2026-02-10T19:18:22.349Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/3e/5d/c4da701939eeee699566a6c1367427ab91a8b7088cc2328c09dbee940415/cryptography-46.0.5-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:2ae6971afd6246710480e3f15824ed3029a60fc16991db250034efd0b9fb4356", size = 4381786, upload-time = "2026-02-10T19:18:24.529Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ac/97/a538654732974a94ff96c1db621fa464f455c02d4bb7d2652f4edc21d600/cryptography-46.0.5-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:d861ee9e76ace6cf36a6a89b959ec08e7bc2493ee39d07ffe5acb23ef46d27da", size = 4217990, upload-time = "2026-02-10T19:18:25.957Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ae/11/7e500d2dd3ba891197b9efd2da5454b74336d64a7cc419aa7327ab74e5f6/cryptography-46.0.5-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:2b7a67c9cd56372f3249b39699f2ad479f6991e62ea15800973b956f4b73e257", size = 4381252, upload-time = "2026-02-10T19:18:27.496Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/bc/58/6b3d24e6b9bc474a2dcdee65dfd1f008867015408a271562e4b690561a4d/cryptography-46.0.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:8456928655f856c6e1533ff59d5be76578a7157224dbd9ce6872f25055ab9ab7", size = 3407605, upload-time = "2026-02-10T19:18:29.233Z" },
+]
+
[[package]]
name = "dataclasses-json"
version = "0.6.7"
@@ -319,6 +467,15 @@ wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl", hash = "sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2", size = 20277, upload-time = "2023-12-24T09:54:30.421Z" },
]
+[[package]]
+name = "docstring-parser"
+version = "0.17.0"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/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://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/55/e2/2537ebcff11c1ee1ff17d8d0b6f4db75873e3b0fb32c2d4a2ee31ecb310a/docstring_parser-0.17.0-py3-none-any.whl", hash = "sha256:cf2569abd23dce8099b300f9b4fa8191e9582dda731fd533daf54c4551658708", size = 36896, upload-time = "2025-07-21T07:35:00.684Z" },
+]
+
[[package]]
name = "faiss-cpu"
version = "1.13.2"
@@ -369,6 +526,15 @@ wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/b5/36/7fb70f04bf00bc646cd5bb45aa9eddb15e19437a28b8fb2b4a5249fac770/filelock-3.20.3-py3-none-any.whl", hash = "sha256:4b0dda527ee31078689fc205ec4f1c1bf7d56cf88b6dc9426c4f230e46c2dce1", size = 16701, upload-time = "2026-01-09T17:55:04.334Z" },
]
+[[package]]
+name = "filetype"
+version = "1.2.0"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/bb/29/745f7d30d47fe0f251d3ad3dc2978a23141917661998763bebb6da007eb1/filetype-1.2.0.tar.gz", hash = "sha256:66b56cd6474bf41d8c54660347d37afcc3f7d1970648de365c102ef77548aadb", size = 998020, upload-time = "2022-11-02T17:34:04.141Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/18/79/1b8fa1bb3568781e84c9200f951c735f3f157429f44be0495da55894d620/filetype-1.2.0-py2.py3-none-any.whl", hash = "sha256:7ce71b6880181241cf7ac8697a2f1eb6a8bd9b429f7ad6d27b8db9ba5f1c2d25", size = 19970, upload-time = "2022-11-02T17:34:01.425Z" },
+]
+
[[package]]
name = "frozendict"
version = "2.4.7"
@@ -504,6 +670,45 @@ wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f7/ec/67fbef5d497f86283db54c22eec6f6140243aae73265799baaaa19cd17fb/ghp_import-2.1.0-py3-none-any.whl", hash = "sha256:8337dd7b50877f163d4c0289bc1f1c7f127550241988d568c1db512c4324a619", size = 11034, upload-time = "2022-05-02T15:47:14.552Z" },
]
+[[package]]
+name = "google-auth"
+version = "2.49.1"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+dependencies = [
+ { name = "cryptography" },
+ { name = "pyasn1-modules" },
+]
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ea/80/6a696a07d3d3b0a92488933532f03dbefa4a24ab80fb231395b9a2a1be77/google_auth-2.49.1.tar.gz", hash = "sha256:16d40da1c3c5a0533f57d268fe72e0ebb0ae1cc3b567024122651c045d879b64", size = 333825, upload-time = "2026-03-12T19:30:58.135Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e9/eb/c6c2478d8a8d633460be40e2a8a6f8f429171997a35a96f81d3b680dec83/google_auth-2.49.1-py3-none-any.whl", hash = "sha256:195ebe3dca18eddd1b3db5edc5189b76c13e96f29e73043b923ebcf3f1a860f7", size = 240737, upload-time = "2026-03-12T19:30:53.159Z" },
+]
+
+[package.optional-dependencies]
+requests = [
+ { name = "requests" },
+]
+
+[[package]]
+name = "google-genai"
+version = "1.67.0"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+dependencies = [
+ { name = "anyio" },
+ { name = "distro" },
+ { name = "google-auth", extra = ["requests"] },
+ { name = "httpx" },
+ { name = "pydantic" },
+ { name = "requests" },
+ { name = "sniffio" },
+ { name = "tenacity" },
+ { name = "typing-extensions" },
+ { name = "websockets" },
+]
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/a2/07/59a498f81f2c7b0649eacda2ea470b7fd8bd7149f20caba22962081bdd51/google_genai-1.67.0.tar.gz", hash = "sha256:897195a6a9742deb6de240b99227189ada8b2d901d61bdfba836c3092021eab6", size = 506972, upload-time = "2026-03-12T20:39:16.241Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/6e/c2/562aa1f086e53529ffbeb5b43d5d8bc42c1b968102b5e2163fad005ce298/google_genai-1.67.0-py3-none-any.whl", hash = "sha256:58b0484ff2d4335fa53c724b489e9f807fcca8115d9cdbd8fdf341121fbd6d2d", size = 733542, upload-time = "2026-03-12T20:39:14.615Z" },
+]
+
[[package]]
name = "greenlet"
version = "3.3.0"
@@ -703,11 +908,22 @@ dependencies = [
{ name = "python-dotenv" },
{ name = "rich" },
{ name = "semhash" },
- { name = "tomli" },
{ name = "tomli-w" },
{ name = "typer" },
]
+[package.optional-dependencies]
+all = [
+ { name = "langchain-anthropic" },
+ { name = "langchain-google-genai" },
+]
+anthropic = [
+ { name = "langchain-anthropic" },
+]
+google = [
+ { name = "langchain-google-genai" },
+]
+
[package.dev-dependencies]
dev = [
{ name = "mkdocs" },
@@ -719,8 +935,11 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "faiss-cpu", specifier = ">=1.13.2" },
+ { name = "hyperextract", extras = ["anthropic", "google"], marker = "extra == 'all'" },
{ name = "langchain", specifier = ">=1.2.6" },
+ { name = "langchain-anthropic", marker = "extra == 'anthropic'", specifier = ">=0.3.0" },
{ name = "langchain-community", specifier = ">=0.4.1" },
+ { name = "langchain-google-genai", marker = "extra == 'google'", specifier = ">=2.1.0" },
{ name = "langchain-openai", specifier = ">=1.1.7" },
{ name = "loguru", specifier = ">=0.7.3" },
{ name = "ontomem", specifier = ">=0.2.0" },
@@ -728,10 +947,10 @@ requires-dist = [
{ name = "python-dotenv", specifier = ">=1.2.1" },
{ name = "rich", specifier = ">=13.7.0" },
{ name = "semhash", specifier = ">=0.3.2" },
- { name = "tomli", specifier = ">=2.0.1" },
{ name = "tomli-w", specifier = ">=1.0.0" },
{ name = "typer", specifier = ">=0.13.0" },
]
+provides-extras = ["anthropic", "google", "all"]
[package.metadata.requires-dev]
dev = [
@@ -900,6 +1119,20 @@ wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/3f/28/d5dc4cb06ccb29d62a590d446072964766555e85863f5044c6e644c07d0d/langchain-1.2.6-py3-none-any.whl", hash = "sha256:a9a6c39f03c09b6eb0f1b47e267ad2a2fd04e124dfaa9753bd6c11d2fe7d944e", size = 108458, upload-time = "2026-01-16T19:21:18.085Z" },
]
+[[package]]
+name = "langchain-anthropic"
+version = "1.3.5"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+dependencies = [
+ { name = "anthropic" },
+ { name = "langchain-core" },
+ { name = "pydantic" },
+]
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/7b/ef/a096793dd880423254ddeaa92909342f9b04a11ef9000c0d121d45605800/langchain_anthropic-1.3.5.tar.gz", hash = "sha256:0745f181b8696b03f7b66a95ed97f43cc90b1b086850ebbf17804f605e640f6e", size = 674070, upload-time = "2026-03-14T03:12:33.418Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/07/22/d967f55651f6a1d9157ecefd335f6c6232f4826b637a7e89c92495288524/langchain_anthropic-1.3.5-py3-none-any.whl", hash = "sha256:1666f83ddef74d9fa844ff3d1f9d23dd12004b0799d1ca1ff329cbaf3944d3c6", size = 48250, upload-time = "2026-03-14T03:12:32.165Z" },
+]
+
[[package]]
name = "langchain-classic"
version = "1.0.1"
@@ -943,7 +1176,7 @@ wheels = [
[[package]]
name = "langchain-core"
-version = "1.2.7"
+version = "1.2.19"
source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
dependencies = [
{ name = "jsonpatch" },
@@ -955,9 +1188,24 @@ dependencies = [
{ name = "typing-extensions" },
{ name = "uuid-utils" },
]
-sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/a2/0e/664d8d81b3493e09cbab72448d2f9d693d1fa5aa2bcc488602203a9b6da0/langchain_core-1.2.7.tar.gz", hash = "sha256:e1460639f96c352b4a41c375f25aeb8d16ffc1769499fb1c20503aad59305ced", size = 837039, upload-time = "2026-01-09T17:44:25.505Z" }
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ac/da/075720d37ebc668f48743bd540b047b2b08b8ba22b46d8f61166c5ad1d1c/langchain_core-1.2.19.tar.gz", hash = "sha256:87fa82c3eb4cc3d7a65f574cb447b5df09ec2131c8c2a0a02d4737ad02685438", size = 836647, upload-time = "2026-03-13T13:44:54.8Z" }
wheels = [
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/6e/6f/34a9fba14d191a67f7e2ee3dbce3e9b86d2fa7310e2c7f2c713583481bd2/langchain_core-1.2.7-py3-none-any.whl", hash = "sha256:452f4fef7a3d883357b22600788d37e3d8854ef29da345b7ac7099f33c31828b", size = 490232, upload-time = "2026-01-09T17:44:24.236Z" },
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/aa/cb/8704b2a22c0987627ed29464d23a45fb15e10a28fb482f4d84c3bddcbf27/langchain_core-1.2.19-py3-none-any.whl", hash = "sha256:6e74cb0fb443a8046ee298c05c99b67abe54cc57fcbc6d1cd3b0f2485ee47574", size = 503456, upload-time = "2026-03-13T13:44:53.241Z" },
+]
+
+[[package]]
+name = "langchain-google-genai"
+version = "4.2.1"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+dependencies = [
+ { name = "filetype" },
+ { name = "google-genai" },
+ { name = "langchain-core" },
+ { name = "pydantic" },
+]
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/14/63/e7d148f903cebfef50109da71378f411166f068d66f79b9e16a62dbacf41/langchain_google_genai-4.2.1.tar.gz", hash = "sha256:7f44487a0337535897e3bba9a1d6605d722629e034f757ffa8755af0aa85daa8", size = 278288, upload-time = "2026-02-19T19:29:19.416Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ec/7e/46c5973bd8b10a5c4c8a77136cf536e658796380a17c740246074901b038/langchain_google_genai-4.2.1-py3-none-any.whl", hash = "sha256:a7735289cf94ca3a684d830e09196aac8f6e75e647e3a0a1c3c9dc534ceb985e", size = 66500, upload-time = "2026-02-19T19:29:18.002Z" },
]
[[package]]
@@ -1853,6 +2101,36 @@ wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/5b/5a/bc7b4a4ef808fa59a816c17b20c4bef6884daebbdf627ff2a161da67da19/propcache-0.4.1-py3-none-any.whl", hash = "sha256:af2a6052aeb6cf17d3e46ee169099044fd8224cbaf75c76a2ef596e8163e2237", size = 13305, upload-time = "2025-10-08T19:49:00.792Z" },
]
+[[package]]
+name = "pyasn1"
+version = "0.6.2"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/fe/b6/6e630dff89739fcd427e3f72b3d905ce0acb85a45d4ec3e2678718a3487f/pyasn1-0.6.2.tar.gz", hash = "sha256:9b59a2b25ba7e4f8197db7686c09fb33e658b98339fadb826e9512629017833b", size = 146586, upload-time = "2026-01-16T18:04:18.534Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/44/b5/a96872e5184f354da9c84ae119971a0a4c221fe9b27a4d94bd43f2596727/pyasn1-0.6.2-py3-none-any.whl", hash = "sha256:1eb26d860996a18e9b6ed05e7aae0e9fc21619fcee6af91cca9bad4fbea224bf", size = 83371, upload-time = "2026-01-16T18:04:17.174Z" },
+]
+
+[[package]]
+name = "pyasn1-modules"
+version = "0.4.2"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+dependencies = [
+ { name = "pyasn1" },
+]
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e9/e6/78ebbb10a8c8e4b61a59249394a4a594c1a7af95593dc933a349c8d00964/pyasn1_modules-0.4.2.tar.gz", hash = "sha256:677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6", size = 307892, upload-time = "2025-03-28T02:41:22.17Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/47/8d/d529b5d697919ba8c11ad626e835d4039be708a35b0d22de83a269a6682c/pyasn1_modules-0.4.2-py3-none-any.whl", hash = "sha256:29253a9207ce32b64c3ac6600edc75368f98473906e8fd1043bd6b5b1de2c14a", size = 181259, upload-time = "2025-03-28T02:41:19.028Z" },
+]
+
+[[package]]
+name = "pycparser"
+version = "3.0"
+source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz", hash = "sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29", size = 103492, upload-time = "2026-01-21T14:26:51.89Z" }
+wheels = [
+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/0c/c3/44f3fbbfa403ea2a7c779186dc20772604442dde72947e7d01069cbe98e3/pycparser-3.0-py3-none-any.whl", hash = "sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992", size = 48172, upload-time = "2026-01-21T14:26:50.693Z" },
+]
+
[[package]]
name = "pydantic"
version = "2.12.5"
@@ -2558,60 +2836,6 @@ wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/72/f4/0de46cfa12cdcbcd464cc59fde36912af405696f687e53a091fb432f694c/tokenizers-0.22.2-cp39-abi3-win_arm64.whl", hash = "sha256:9ce725d22864a1e965217204946f830c37876eee3b2ba6fc6255e8e903d5fcbc", size = 2612133, upload-time = "2026-01-05T10:45:17.232Z" },
]
-[[package]]
-name = "tomli"
-version = "2.4.0"
-source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
-sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/82/30/31573e9457673ab10aa432461bee537ce6cef177667deca369efb79df071/tomli-2.4.0.tar.gz", hash = "sha256:aa89c3f6c277dd275d8e243ad24f3b5e701491a860d5121f2cdd399fbb31fc9c", size = 17477, upload-time = "2026-01-11T11:22:38.165Z" }
-wheels = [
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/3c/d9/3dc2289e1f3b32eb19b9785b6a006b28ee99acb37d1d47f78d4c10e28bf8/tomli-2.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b5ef256a3fd497d4973c11bf142e9ed78b150d36f5773f1ca6088c230ffc5867", size = 153663, upload-time = "2026-01-11T11:21:45.27Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/51/32/ef9f6845e6b9ca392cd3f64f9ec185cc6f09f0a2df3db08cbe8809d1d435/tomli-2.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5572e41282d5268eb09a697c89a7bee84fae66511f87533a6f88bd2f7b652da9", size = 148469, upload-time = "2026-01-11T11:21:46.873Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d6/c2/506e44cce89a8b1b1e047d64bd495c22c9f71f21e05f380f1a950dd9c217/tomli-2.4.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:551e321c6ba03b55676970b47cb1b73f14a0a4dce6a3e1a9458fd6d921d72e95", size = 236039, upload-time = "2026-01-11T11:21:48.503Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/b3/40/e1b65986dbc861b7e986e8ec394598187fa8aee85b1650b01dd925ca0be8/tomli-2.4.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5e3f639a7a8f10069d0e15408c0b96a2a828cfdec6fca05296ebcdcc28ca7c76", size = 243007, upload-time = "2026-01-11T11:21:49.456Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/9c/6f/6e39ce66b58a5b7ae572a0f4352ff40c71e8573633deda43f6a379d56b3e/tomli-2.4.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1b168f2731796b045128c45982d3a4874057626da0e2ef1fdd722848b741361d", size = 240875, upload-time = "2026-01-11T11:21:50.755Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/aa/ad/cb089cb190487caa80204d503c7fd0f4d443f90b95cf4ef5cf5aa0f439b0/tomli-2.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:133e93646ec4300d651839d382d63edff11d8978be23da4cc106f5a18b7d0576", size = 246271, upload-time = "2026-01-11T11:21:51.81Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/0b/63/69125220e47fd7a3a27fd0de0c6398c89432fec41bc739823bcc66506af6/tomli-2.4.0-cp311-cp311-win32.whl", hash = "sha256:b6c78bdf37764092d369722d9946cb65b8767bfa4110f902a1b2542d8d173c8a", size = 96770, upload-time = "2026-01-11T11:21:52.647Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/1e/0d/a22bb6c83f83386b0008425a6cd1fa1c14b5f3dd4bad05e98cf3dbbf4a64/tomli-2.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:d3d1654e11d724760cdb37a3d7691f0be9db5fbdaef59c9f532aabf87006dbaa", size = 107626, upload-time = "2026-01-11T11:21:53.459Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/2f/6d/77be674a3485e75cacbf2ddba2b146911477bd887dda9d8c9dfb2f15e871/tomli-2.4.0-cp311-cp311-win_arm64.whl", hash = "sha256:cae9c19ed12d4e8f3ebf46d1a75090e4c0dc16271c5bce1c833ac168f08fb614", size = 94842, upload-time = "2026-01-11T11:21:54.831Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/3c/43/7389a1869f2f26dba52404e1ef13b4784b6b37dac93bac53457e3ff24ca3/tomli-2.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:920b1de295e72887bafa3ad9f7a792f811847d57ea6b1215154030cf131f16b1", size = 154894, upload-time = "2026-01-11T11:21:56.07Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e9/05/2f9bf110b5294132b2edf13fe6ca6ae456204f3d749f623307cbb7a946f2/tomli-2.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7d6d9a4aee98fac3eab4952ad1d73aee87359452d1c086b5ceb43ed02ddb16b8", size = 149053, upload-time = "2026-01-11T11:21:57.467Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e8/41/1eda3ca1abc6f6154a8db4d714a4d35c4ad90adc0bcf700657291593fbf3/tomli-2.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:36b9d05b51e65b254ea6c2585b59d2c4cb91c8a3d91d0ed0f17591a29aaea54a", size = 243481, upload-time = "2026-01-11T11:21:58.661Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d2/6d/02ff5ab6c8868b41e7d4b987ce2b5f6a51d3335a70aa144edd999e055a01/tomli-2.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1c8a885b370751837c029ef9bc014f27d80840e48bac415f3412e6593bbc18c1", size = 251720, upload-time = "2026-01-11T11:22:00.178Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/7b/57/0405c59a909c45d5b6f146107c6d997825aa87568b042042f7a9c0afed34/tomli-2.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8768715ffc41f0008abe25d808c20c3d990f42b6e2e58305d5da280ae7d1fa3b", size = 247014, upload-time = "2026-01-11T11:22:01.238Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/2c/0e/2e37568edd944b4165735687cbaf2fe3648129e440c26d02223672ee0630/tomli-2.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b438885858efd5be02a9a133caf5812b8776ee0c969fea02c45e8e3f296ba51", size = 251820, upload-time = "2026-01-11T11:22:02.727Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/5a/1c/ee3b707fdac82aeeb92d1a113f803cf6d0f37bdca0849cb489553e1f417a/tomli-2.4.0-cp312-cp312-win32.whl", hash = "sha256:0408e3de5ec77cc7f81960c362543cbbd91ef883e3138e81b729fc3eea5b9729", size = 97712, upload-time = "2026-01-11T11:22:03.777Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/69/13/c07a9177d0b3bab7913299b9278845fc6eaaca14a02667c6be0b0a2270c8/tomli-2.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:685306e2cc7da35be4ee914fd34ab801a6acacb061b6a7abca922aaf9ad368da", size = 108296, upload-time = "2026-01-11T11:22:04.86Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/18/27/e267a60bbeeee343bcc279bb9e8fbed0cbe224bc7b2a3dc2975f22809a09/tomli-2.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:5aa48d7c2356055feef06a43611fc401a07337d5b006be13a30f6c58f869e3c3", size = 94553, upload-time = "2026-01-11T11:22:05.854Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/34/91/7f65f9809f2936e1f4ce6268ae1903074563603b2a2bd969ebbda802744f/tomli-2.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:84d081fbc252d1b6a982e1870660e7330fb8f90f676f6e78b052ad4e64714bf0", size = 154915, upload-time = "2026-01-11T11:22:06.703Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/20/aa/64dd73a5a849c2e8f216b755599c511badde80e91e9bc2271baa7b2cdbb1/tomli-2.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9a08144fa4cba33db5255f9b74f0b89888622109bd2776148f2597447f92a94e", size = 149038, upload-time = "2026-01-11T11:22:07.56Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/9e/8a/6d38870bd3d52c8d1505ce054469a73f73a0fe62c0eaf5dddf61447e32fa/tomli-2.4.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c73add4bb52a206fd0c0723432db123c0c75c280cbd67174dd9d2db228ebb1b4", size = 242245, upload-time = "2026-01-11T11:22:08.344Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/59/bb/8002fadefb64ab2669e5b977df3f5e444febea60e717e755b38bb7c41029/tomli-2.4.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fb2945cbe303b1419e2706e711b7113da57b7db31ee378d08712d678a34e51e", size = 250335, upload-time = "2026-01-11T11:22:09.951Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/a5/3d/4cdb6f791682b2ea916af2de96121b3cb1284d7c203d97d92d6003e91c8d/tomli-2.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bbb1b10aa643d973366dc2cb1ad94f99c1726a02343d43cbc011edbfac579e7c", size = 245962, upload-time = "2026-01-11T11:22:11.27Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f2/4a/5f25789f9a460bd858ba9756ff52d0830d825b458e13f754952dd15fb7bb/tomli-2.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4cbcb367d44a1f0c2be408758b43e1ffb5308abe0ea222897d6bfc8e8281ef2f", size = 250396, upload-time = "2026-01-11T11:22:12.325Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/aa/2f/b73a36fea58dfa08e8b3a268750e6853a6aac2a349241a905ebd86f3047a/tomli-2.4.0-cp313-cp313-win32.whl", hash = "sha256:7d49c66a7d5e56ac959cb6fc583aff0651094ec071ba9ad43df785abc2320d86", size = 97530, upload-time = "2026-01-11T11:22:13.865Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/3b/af/ca18c134b5d75de7e8dc551c5234eaba2e8e951f6b30139599b53de9c187/tomli-2.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:3cf226acb51d8f1c394c1b310e0e0e61fecdd7adcb78d01e294ac297dd2e7f87", size = 108227, upload-time = "2026-01-11T11:22:15.224Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/22/c3/b386b832f209fee8073c8138ec50f27b4460db2fdae9ffe022df89a57f9b/tomli-2.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:d20b797a5c1ad80c516e41bc1fb0443ddb5006e9aaa7bda2d71978346aeb9132", size = 94748, upload-time = "2026-01-11T11:22:16.009Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f3/c4/84047a97eb1004418bc10bdbcfebda209fca6338002eba2dc27cc6d13563/tomli-2.4.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:26ab906a1eb794cd4e103691daa23d95c6919cc2fa9160000ac02370cc9dd3f6", size = 154725, upload-time = "2026-01-11T11:22:17.269Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/a8/5d/d39038e646060b9d76274078cddf146ced86dc2b9e8bbf737ad5983609a0/tomli-2.4.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:20cedb4ee43278bc4f2fee6cb50daec836959aadaf948db5172e776dd3d993fc", size = 148901, upload-time = "2026-01-11T11:22:18.287Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/73/e5/383be1724cb30f4ce44983d249645684a48c435e1cd4f8b5cded8a816d3c/tomli-2.4.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:39b0b5d1b6dd03684b3fb276407ebed7090bbec989fa55838c98560c01113b66", size = 243375, upload-time = "2026-01-11T11:22:19.154Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/31/f0/bea80c17971c8d16d3cc109dc3585b0f2ce1036b5f4a8a183789023574f2/tomli-2.4.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a26d7ff68dfdb9f87a016ecfd1e1c2bacbe3108f4e0f8bcd2228ef9a766c787d", size = 250639, upload-time = "2026-01-11T11:22:20.168Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/2c/8f/2853c36abbb7608e3f945d8a74e32ed3a74ee3a1f468f1ffc7d1cb3abba6/tomli-2.4.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:20ffd184fb1df76a66e34bd1b36b4a4641bd2b82954befa32fe8163e79f1a702", size = 246897, upload-time = "2026-01-11T11:22:21.544Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/49/f0/6c05e3196ed5337b9fe7ea003e95fd3819a840b7a0f2bf5a408ef1dad8ed/tomli-2.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:75c2f8bbddf170e8effc98f5e9084a8751f8174ea6ccf4fca5398436e0320bc8", size = 254697, upload-time = "2026-01-11T11:22:23.058Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f3/f5/2922ef29c9f2951883525def7429967fc4d8208494e5ab524234f06b688b/tomli-2.4.0-cp314-cp314-win32.whl", hash = "sha256:31d556d079d72db7c584c0627ff3a24c5d3fb4f730221d3444f3efb1b2514776", size = 98567, upload-time = "2026-01-11T11:22:24.033Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/7b/31/22b52e2e06dd2a5fdbc3ee73226d763b184ff21fc24e20316a44ccc4d96b/tomli-2.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:43e685b9b2341681907759cf3a04e14d7104b3580f808cfde1dfdb60ada85475", size = 108556, upload-time = "2026-01-11T11:22:25.378Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/48/3d/5058dff3255a3d01b705413f64f4306a141a8fd7a251e5a495e3f192a998/tomli-2.4.0-cp314-cp314-win_arm64.whl", hash = "sha256:3d895d56bd3f82ddd6faaff993c275efc2ff38e52322ea264122d72729dca2b2", size = 96014, upload-time = "2026-01-11T11:22:26.138Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/b8/4e/75dab8586e268424202d3a1997ef6014919c941b50642a1682df43204c22/tomli-2.4.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:5b5807f3999fb66776dbce568cc9a828544244a8eb84b84b9bafc080c99597b9", size = 163339, upload-time = "2026-01-11T11:22:27.143Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/06/e3/b904d9ab1016829a776d97f163f183a48be6a4deb87304d1e0116a349519/tomli-2.4.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c084ad935abe686bd9c898e62a02a19abfc9760b5a79bc29644463eaf2840cb0", size = 159490, upload-time = "2026-01-11T11:22:28.399Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e3/5a/fc3622c8b1ad823e8ea98a35e3c632ee316d48f66f80f9708ceb4f2a0322/tomli-2.4.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0f2e3955efea4d1cfbcb87bc321e00dc08d2bcb737fd1d5e398af111d86db5df", size = 269398, upload-time = "2026-01-11T11:22:29.345Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/fd/33/62bd6152c8bdd4c305ad9faca48f51d3acb2df1f8791b1477d46ff86e7f8/tomli-2.4.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0e0fe8a0b8312acf3a88077a0802565cb09ee34107813bba1c7cd591fa6cfc8d", size = 276515, upload-time = "2026-01-11T11:22:30.327Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/4b/ff/ae53619499f5235ee4211e62a8d7982ba9e439a0fb4f2f351a93d67c1dd2/tomli-2.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:413540dce94673591859c4c6f794dfeaa845e98bf35d72ed59636f869ef9f86f", size = 273806, upload-time = "2026-01-11T11:22:32.56Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/47/71/cbca7787fa68d4d0a9f7072821980b39fbb1b6faeb5f5cf02f4a5559fa28/tomli-2.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0dc56fef0e2c1c470aeac5b6ca8cc7b640bb93e92d9803ddaf9ea03e198f5b0b", size = 281340, upload-time = "2026-01-11T11:22:33.505Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f5/00/d595c120963ad42474cf6ee7771ad0d0e8a49d0f01e29576ee9195d9ecdf/tomli-2.4.0-cp314-cp314t-win32.whl", hash = "sha256:d878f2a6707cc9d53a1be1414bbb419e629c3d6e67f69230217bb663e76b5087", size = 108106, upload-time = "2026-01-11T11:22:34.451Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/de/69/9aa0c6a505c2f80e519b43764f8b4ba93b5a0bbd2d9a9de6e2b24271b9a5/tomli-2.4.0-cp314-cp314t-win_amd64.whl", hash = "sha256:2add28aacc7425117ff6364fe9e06a183bb0251b03f986df0e78e974047571fd", size = 120504, upload-time = "2026-01-11T11:22:35.764Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/b3/9f/f1668c281c58cfae01482f7114a4b88d345e4c140386241a1a24dcc9e7bc/tomli-2.4.0-cp314-cp314t-win_arm64.whl", hash = "sha256:2b1e3b80e1d5e52e40e9b924ec43d81570f0e7d09d11081b797bc4692765a3d4", size = 99561, upload-time = "2026-01-11T11:22:36.624Z" },
- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/23/d1/136eb2cb77520a31e1f64cbae9d33ec6df0d78bdf4160398e86eec8a8754/tomli-2.4.0-py3-none-any.whl", hash = "sha256:1f776e7d669ebceb01dee46484485f43a4048746235e683bcdffacdf1fb4785a", size = 14477, upload-time = "2026-01-11T11:22:37.446Z" },
-]
-
[[package]]
name = "tomli-w"
version = "1.2.0"