🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
Improve function call (#279) (#393)
Jiahui Zhang067b558dfbe9
diff --git a/camel/agents/chat_agent.py b/camel/agents/chat_agent.pyindex 7355b9e59..8ed3d1e26 100644--- a/camel/agents/chat_agent.py+++ b/camel/agents/chat_agent.py@@ -122,7 +122,7 @@ class ChatAgent(BaseAgent):self.func_dict: Dict[str, Callable] = {}if function_list is not None:for func in function_list:- self.func_dict[func.name] = func.func+ self.func_dict[func.get_function_name()] = func.funcself.model_config = model_config or ChatGPTConfig()self.model_backend: BaseModelBackend = ModelFactory.create(diff --git a/camel/configs.py b/camel/configs.pyindex 0f24e2a09..21bbad7dd 100644--- a/camel/configs.py+++ b/camel/configs.py@@ -128,7 +128,9 @@ class FunctionCallingConfig(ChatGPTConfig)::obj:`function_call` argument."""return cls(- functions=[func.as_dict() for func in function_list],+ functions=[+ func.get_openai_function_schema() for func in function_list+ ],function_call=function_call,**(kwargs or {}),)diff --git a/camel/functions/__init__.py b/camel/functions/__init__.pyindex 769a9cc36..246fa7420 100644--- a/camel/functions/__init__.py+++ b/camel/functions/__init__.py@@ -12,14 +12,20 @@# limitations under the License.# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+from .openai_function import (+ OpenAIFunction,+ get_openai_tool_schema,+ get_openai_function_schema,+)from .math_functions import MATH_FUNCS-from .openai_function import OpenAIFunctionfrom .search_functions import SEARCH_FUNCSfrom .weather_functions import WEATHER_FUNCSfrom .unstructured_io_fuctions import UnstructuredModules__all__ = ['OpenAIFunction',+ 'get_openai_tool_schema',+ 'get_openai_function_schema','MATH_FUNCS','SEARCH_FUNCS','WEATHER_FUNCS',diff --git a/camel/functions/math_functions.py b/camel/functions/math_functions.pyindex e967c353c..98f18ad1a 100644--- a/camel/functions/math_functions.py+++ b/camel/functions/math_functions.py@@ -21,8 +21,8 @@ def add(a: int, b: int) -> int:r"""Adds two numbers.Args:- a (integer): The first number to be added.- b (integer): The second number to be added.+ a (int): The first number to be added.+ b (int): The second number to be added.Returns:integer: The sum of the two numbers.@@ -34,8 +34,8 @@ def sub(a: int, b: int) -> int:r"""Do subtraction between two numbers.Args:- a (integer): The minuend in subtraction.- b (integer): The subtrahend in subtraction.+ a (int): The minuend in subtraction.+ b (int): The subtrahend in subtraction.Returns:integer: The result of subtracting :obj:`b` from :obj:`a`.@@ -47,8 +47,8 @@ def mul(a: int, b: int) -> int:r"""Multiplies two integers.Args:- a (integer): The multiplier in the multiplication.- b (integer): The multiplicand in the multiplication.+ a (int): The multiplier in the multiplication.+ b (int): The multiplicand in the multiplication.Returns:integer: The product of the two numbers.diff --git a/camel/functions/openai_function.py b/camel/functions/openai_function.pyindex d8ac8f608..fe89026c8 100644--- a/camel/functions/openai_function.py+++ b/camel/functions/openai_function.py@@ -11,44 +11,351 @@# See the License for the specific language governing permissions and# limitations under the License.# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-from typing import Any, Callable, Dict, Optional+from inspect import Parameter, signature+from typing import Any, Callable, Dict, Mapping, Optional, Tuple+from docstring_parser import parse+from jsonschema.exceptions import SchemaErrorfrom jsonschema.validators import Draft202012Validator as JSONValidator+from pydantic import ValidationError, create_model+from pydantic.alias_generators import to_pascal+from pydantic.fields import FieldInfo-from camel.utils import parse_doc++def _remove_a_key(d: Dict, remove_key: Any) -> None:+ r"""Remove a key from a dictionary recursively."""+ if isinstance(d, dict):+ for key in list(d.keys()):+ if key == remove_key:+ del d[key]+ else:+ _remove_a_key(d[key], remove_key)+++def get_openai_function_schema(func: Callable) -> Dict[str, Any]:+ r"""Generates a schema dict for an OpenAI function based on its signature.++ This function is deprecated and will be replaced by+ :obj:`get_openai_tool_schema()` in future versions. It parses the+ function's parameters and docstring to construct a JSON schema-like+ dictionary.++ Args:+ func (Callable): The OpenAI function to generate the schema for.++ Returns:+ Dict[str, Any]: A dictionary representing the JSON schema of the+ function, including its name, description, and parameter+ specifications.+ """+ openai_function_schema = get_openai_tool_schema(func)["function"]+ return openai_function_schema+++def get_openai_tool_schema(func: Callable) -> Dict[str, Any]:+ r"""Generates an OpenAI JSON schema from a given Python function.++ This function creates a schema compatible with OpenAI's API specifications,+ based on the provided Python function. It processes the function's+ parameters, types, and docstrings, and constructs a schema accordingly.++ Note:+ - Each parameter in `func` must have a type annotation; otherwise, it's+ treated as 'Any'.+ - Variable arguments (*args) and keyword arguments (**kwargs) are not+ supported and will be ignored.+ - A functional description including a brief and detailed explanation+ should be provided in the docstring of `func`.+ - All parameters of `func` must be described in its docstring.+ - Supported docstring styles: ReST, Google, Numpydoc, and Epydoc.++ Args:+ func (Callable): The Python function to be converted into an OpenAI+ JSON schema.++ Returns:+ Dict[str, Any]: A dictionary representing the OpenAI JSON schema of+ the provided function.++ See Also:+ `OpenAI API Reference+ <https://platform.openai.com/docs/api-reference/assistants/object>`_+ """+ params: Mapping[str, Parameter] = signature(func).parameters+ fields: Dict[str, Tuple[type, FieldInfo]] = {}+ for param_name, p in params.items():+ param_type = p.annotation+ param_default = p.default+ param_kind = p.kind+ param_annotation = p.annotation+ # Variable parameters are not supported+ if (param_kind == Parameter.VAR_POSITIONAL+ or param_kind == Parameter.VAR_KEYWORD):+ continue+ # If the parameter type is not specified, it defaults to typing.Any+ if param_annotation is Parameter.empty:+ param_type = Any+ # Check if the parameter has a default value+ if param_default is Parameter.empty:+ fields[param_name] = (param_type, FieldInfo())+ else:+ fields[param_name] = (param_type, FieldInfo(default=param_default))++ # Applying `create_model()` directly will result in a mypy error,+ # create an alias to avoid this.+ def _create_mol(name, field):+ return create_model(name, **field)++ model = _create_mol(to_pascal(func.__name__), fields)+ parameters_dict = model.model_json_schema()+ # The "title" is generated by model.model_json_schema()+ # but is useless for openai json schema+ _remove_a_key(parameters_dict, "title")++ docstring = parse(func.__doc__ or "")+ for param in docstring.params:+ if ((name := param.arg_name) in parameters_dict["properties"]+ and (description := param.description)):+ parameters_dict["properties"][name]["description"] = description++ short_description = docstring.short_description or ""+ long_description = docstring.long_description or ""+ if long_description:+ func_description = f"{short_description}\n{long_description}"+ else:+ func_description = short_description++ openai_function_schema = {+ "name": func.__name__,+ "description": func_description,+ "parameters": parameters_dict,+ }++ openai_tool_schema = {+ "type": "function",+ "function": openai_function_schema+ }+ return openai_tool_schemaclass OpenAIFunction:r"""An abstraction of a function that OpenAI chat models can call. See- https://platform.openai.com/docs/guides/gpt/function-calling. If- :obj:`description` and :obj:`parameters` are both :obj:`None`, try to use- document parser to generate them.+ https://platform.openai.com/docs/api-reference/chat/create.++ By default, the tool schema will be parsed from the func, or you can+ provide a user-defined tool schema to override.- # flake8: noqa :E501Args:- func (Callable): The function to call.- name (str, optional): The name of the function to be called. Must be- a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum- length of 64. If :obj:`None`, use the name of :obj:`func`.+ func (Callable): The function to call.The tool schema is parsed from+ the signature and docstring by default.+ openai_tool_schema (Optional[Dict[str, Any]], optional): A user-defined+ openai tool schema to override the default result.(default: :obj:`None`)- description (str, optional): The description of what the- function does. (default: :obj:`None`)- parameters (dict, optional): The parameters the- functions accepts, described as a JSON Schema object. See the- `Function calling guide <https://platform.openai.com/docs/guides/gpt/function-calling>`_- for examples, and the `JSON Schema reference <https://json-schema.org/understanding-json-schema/>`_- for documentation about the format."""- def __init__(self, func: Callable, name: Optional[str] = None,- description: Optional[str] = None,- parameters: Optional[Dict[str, Any]] = None):+ def __init__(+ self,+ func: Callable,+ openai_tool_schema: Optional[Dict[str, Any]] = None,+ ) -> None:self.func = func- self.name = name or func.__name__+ self.openai_tool_schema = (openai_tool_schema+ or get_openai_tool_schema(func))+ self.properties = self.openai_tool_schema++ @staticmethod+ def validate_openai_tool_schema(+ openai_tool_schema: Dict[str, Any]) -> None:+ r"""Validates the OpenAI tool schema against+ :obj:`ToolAssistantToolsFunction`.++ This function checks if the provided :obj:`openai_tool_schema` adheres+ to the specifications required by OpenAI's+ :obj:`ToolAssistantToolsFunction`. It ensures that the function+ description and parameters are correctly formatted according to JSON+ Schema specifications.++ Args:+ openai_tool_schema (Dict[str, Any]): The OpenAI tool schema to+ validate.++ Raises:+ ValidationError: If the schema does not comply with the+ specifications.+ ValueError: If the function description or parameter descriptions+ are missing in the schema.+ SchemaError: If the parameters do not meet JSON Schema reference+ specifications.+ """+ # Automatically validates whether the openai_tool_schema passed+ # complies with the specifications of the ToolAssistantToolsFunction.+ from openai.types.beta.threads.run import ToolAssistantToolsFunction+ try:+ ToolAssistantToolsFunction.model_validate(openai_tool_schema)+ except ValidationError as e:+ raise e+ # Check the function description+ if not openai_tool_schema["function"]["description"]:+ raise ValueError("miss function description")+ # Validate whether parameters+ # meet the JSON Schema reference specifications.+ # See https://platform.openai.com/docs/guides/gpt/function-calling+ # for examples, and the+ # https://json-schema.org/understanding-json-schema/ for+ # documentation about the format.+ parameters = openai_tool_schema["function"]["parameters"]+ try:+ JSONValidator.check_schema(parameters)+ except SchemaError as e:+ raise e+ # Check the parameter description+ properties: Dict[str, Any] = parameters["properties"]+ for param_name in properties.keys():+ param_dict = properties[param_name]+ if "description" not in param_dict:+ raise ValueError(+ f'miss description of parameter "{param_name}"')++ def get_openai_tool_schema(self) -> Dict[str, Any]:+ r"""Gets the OpenAI tool schema for this function.++ This method returns the OpenAI tool schema associated with this+ function, after validating it to ensure it meets OpenAI's+ specifications.++ Returns:+ Dict[str, Any]: The OpenAI tool schema for this function.+ """+ self.validate_openai_tool_schema(self.openai_tool_schema)+ return self.openai_tool_schema++ def set_openai_tool_schema(self, schema: Dict[str, Any]) -> None:+ r"""Sets the OpenAI tool schema for this function.- info = parse_doc(self.func)- self.description = description or info["description"]- self.parameters = parameters or info["parameters"]+ Allows setting a custom OpenAI tool schema for this function.++ Args:+ schema (Dict[str, Any]): The OpenAI tool schema to set.+ """+ self.openai_tool_schema = schema++ def get_openai_function_schema(self) -> Dict[str, Any]:+ r"""Gets the schema of the function from the OpenAI tool schema.++ This method extracts and returns the function-specific part of the+ OpenAI tool schema associated with this function.++ Returns:+ Dict[str, Any]: The schema of the function within the OpenAI tool+ schema.+ """+ self.validate_openai_tool_schema(self.openai_tool_schema)+ return self.openai_tool_schema["function"]++ def set_openai_function_schema(+ self,+ openai_function_schema: Dict[str, Any],+ ) -> None:+ r"""Sets the schema of the function within the OpenAI tool schema.++ Args:+ openai_function_schema (Dict[str, Any]): The function schema to set+ within the OpenAI tool schema.+ """+ self.openai_tool_schema["function"] = openai_function_schema++ def get_function_name(self) -> str:+ r"""Gets the name of the function from the OpenAI tool schema.++ Returns:+ str: The name of the function.+ """+ self.validate_openai_tool_schema(self.openai_tool_schema)+ return self.openai_tool_schema["function"]["name"]++ def set_function_name(self, name: str) -> None:+ r"""Sets the name of the function in the OpenAI tool schema.++ Args:+ name (str): The name of the function to set.+ """+ self.openai_tool_schema["function"]["name"] = name++ def get_function_description(self) -> str:+ r"""Gets the description of the function from the OpenAI tool+ schema.++ Returns:+ str: The description of the function.+ """+ self.validate_openai_tool_schema(self.openai_tool_schema)+ return self.openai_tool_schema["function"]["description"]++ def set_function_description(self, description: str) -> None:+ r"""Sets the description of the function in the OpenAI tool schema.++ Args:+ description (str): The description for the function.+ """+ self.openai_tool_schema["function"]["description"] = description++ def get_paramter_description(self, param_name: str) -> str:+ r"""Gets the description of a specific parameter from the function+ schema.++ Args:+ param_name (str): The name of the parameter to get the+ description.++ Returns:+ str: The description of the specified parameter.+ """+ self.validate_openai_tool_schema(self.openai_tool_schema)+ return self.openai_tool_schema["function"]["parameters"]["properties"][+ param_name]["description"]++ def set_paramter_description(+ self,+ param_name: str,+ description: str,+ ) -> None:+ r"""Sets the description for a specific parameter in the function+ schema.++ Args:+ param_name (str): The name of the parameter to set the description+ for.+ description (str): The description for the parameter.+ """+ self.openai_tool_schema["function"]["parameters"]["properties"][+ param_name]["description"] = description++ def get_parameter(self, param_name: str) -> Dict[str, Any]:+ r"""Gets the schema for a specific parameter from the function schema.++ Args:+ param_name (str): The name of the parameter to get the schema.++ Returns:+ Dict[str, Any]: The schema of the specified parameter.+ """+ self.validate_openai_tool_schema(self.openai_tool_schema)+ return self.openai_tool_schema["function"]["parameters"]["properties"][+ param_name]++ def set_parameter(self, param_name: str, value: Dict[str, Any]):+ r"""Sets the schema for a specific parameter in the function schema.++ Args:+ param_name (str): The name of the parameter to set the schema for.+ value (Dict[str, Any]): The schema to set for the parameter.+ """+ try:+ JSONValidator.check_schema(value)+ except SchemaError as e:+ raise e+ self.openai_tool_schema["function"]["parameters"]["properties"][+ param_name] = value@propertydef parameters(self) -> Dict[str, Any]:@@ -58,10 +365,11 @@ class OpenAIFunction:Dict[str, Any]: the dictionary containing information ofparameters of this function."""- return self._parameters+ self.validate_openai_tool_schema(self.openai_tool_schema)+ return self.openai_tool_schema["function"]["parameters"]["properties"]@parameters.setter- def parameters(self, value: Dict[str, Any]):+ def parameters(self, value: Dict[str, Any]) -> None:r"""Setter method for the property :obj:`parameters`. It willfirstly check if the input parameters schema is valid. If invalid,the method will raise :obj:`jsonschema.exceptions.SchemaError`.@@ -70,19 +378,8 @@ class OpenAIFunction:value (Dict[str, Any]): the new dictionary value for thefunction's parameters."""- JSONValidator.check_schema(value)- self._parameters = value-- def as_dict(self) -> Dict[str, Any]:- r"""Method to represent the information of this function into- a dictionary object.-- Returns:- Dict[str, Any]: The dictionary object containing information- of this function's name, description and parameters.- """- return {- attr: getattr(self, attr)- for attr in ["name", "description", "parameters"]- if getattr(self, attr) is not None- }+ try:+ JSONValidator.check_schema(value)+ except SchemaError as e:+ raise e+ self.openai_tool_schema["function"]["parameters"]["properties"] = valuediff --git a/camel/functions/search_functions.py b/camel/functions/search_functions.pyindex 4047f5327..81dc424d6 100644--- a/camel/functions/search_functions.py+++ b/camel/functions/search_functions.py@@ -25,10 +25,10 @@ def search_wiki(entity: str) -> str:required page, containing factual information about the given entity.Args:- entity (string): The entity to be searched.+ entity (str): The entity to be searched.Returns:- string: The search result. If the page corresponding to the entity+ str: The search result. If the page corresponding to the entityexists, return the summary of this entity in a string."""try:@@ -59,7 +59,7 @@ def search_google(query: str) -> List[Dict[str, Any]]:r"""Use Google search engine to search information for the given query.Args:- query (string): The query to be searched.+ query (str): The query to be searched.Returns:List[Dict[str, Any]]: A list of dictionaries where each dictionary@@ -150,10 +150,10 @@ def text_extract_from_web(url: str) -> str:r"""Get the text information from given url.Args:- url (string): The web site you want to search.+ url (str): The web site you want to search.Returns:- string: All texts extract from the web.+ str: All texts extract from the web."""import requestsfrom bs4 import BeautifulSoup@@ -186,11 +186,11 @@ def create_chunks(text: str, n: int) -> List[str]:r"""Returns successive n-sized chunks from provided text."Args:- text (string): The text to be split.+ text (str): The text to be split.n (int): The max length of a single chunk.Returns:- List[str]: A list of splited texts.+ List[str]: A list of splitted texts."""chunks = []@@ -238,11 +238,11 @@ def summarize_text(text: str, query: str) -> str:given.Args:- text (string): Text to summarise.- query (string): What information you want.+ text (str): Text to summarise.+ query (str): What information you want.Returns:- string: Strings with information.+ str: Strings with information."""summary_prompt = TextPrompt('''Gather information from this text that relative to the question, but@@ -276,10 +276,10 @@ def search_google_and_summarize(query: str) -> str:internet, and then return a summarized answer.Args:- query (string): Question you want to be answered.+ query (str): Question you want to be answered.Returns:- string: Summarized information from webs.+ str: Summarized information from webs."""# Google search will return a list of urlsresponses = search_google(query)diff --git a/camel/functions/unstructured_io_fuctions.py b/camel/functions/unstructured_io_fuctions.pyindex cb5268f5e..9eb72d68a 100644--- a/camel/functions/unstructured_io_fuctions.py+++ b/camel/functions/unstructured_io_fuctions.py@@ -12,7 +12,7 @@# limitations under the License.# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-from typing import Any, Dict, List, Optional, Tuple, Union+from typing import Any, Dict, List, Literal, Optional, Tuple, Unionclass UnstructuredModules:@@ -251,23 +251,31 @@ class UnstructuredModules:return cleaned_text- def extract_data_from_text(self, text: str, extract_type: str,- **kwargs) -> Any:+ def extract_data_from_text(+ self,+ text: str,+ extract_type: Literal['extract_datetimetz', 'extract_email_address',+ 'extract_ip_address', 'extract_ip_address_name',+ 'extract_mapi_id', 'extract_ordered_bullets',+ 'extract_text_after', 'extract_text_before',+ 'extract_us_phone_number'],+ **kwargs,+ ) -> Any:r"""Extracts various types of data from text using functions fromunstructured.cleaners.extract.Args:text (str): Text to extract data from.- extract_type (str): Type of data to extract. Supported types:- 'extract_datetimetz',- 'extract_email_address',- 'extract_ip_address',- 'extract_ip_address_name',- 'extract_mapi_id',- 'extract_ordered_bullets',- 'extract_text_after',- 'extract_text_before',- 'extract_us_phone_number'.+ extract_type (Literal['extract_datetimetz',+ 'extract_email_address',+ 'extract_ip_address',+ 'extract_ip_address_name',+ 'extract_mapi_id',+ 'extract_ordered_bullets',+ 'extract_text_after',+ 'extract_text_before',+ 'extract_us_phone_number']):+ Type of data to extract.**kwargs: Additional keyword arguments for specificextraction functions.@@ -307,8 +315,17 @@ class UnstructuredModules:return extraction_functions[extract_type](text, **kwargs)- def stage_elements(self, elements: List[Any], stage_type: str,- **kwargs) -> Union[str, List[Dict], Any]:+ def stage_elements(+ self,+ elements: List[Any],+ stage_type: Literal['convert_to_csv', 'convert_to_dataframe',+ 'convert_to_dict', 'dict_to_elements',+ 'stage_csv_for_prodigy', 'stage_for_prodigy',+ 'stage_for_baseplate', 'stage_for_datasaur',+ 'stage_for_label_box', 'stage_for_label_studio',+ 'stage_for_weaviate'],+ **kwargs,+ ) -> Union[str, List[Dict], Any]:r"""Stages elements for various platforms based on thespecified staging type.@@ -320,18 +337,18 @@ class UnstructuredModules:Args:elements (List[Any]): List of Element objects to be staged.- stage_type (str): Type of staging to perform. Supported types:- 'convert_to_csv',- 'convert_to_dataframe',- 'convert_to_dict',- 'dict_to_elements',- 'stage_csv_for_prodigy',- 'stage_for_prodigy',- 'stage_for_baseplate',- 'stage_for_datasaur',- 'stage_for_label_box',- 'stage_for_label_studio',- 'stage_for_weaviate'.+ stage_type (Literal['convert_to_csv',+ 'convert_to_dataframe',+ 'convert_to_dict',+ 'dict_to_elements',+ 'stage_csv_for_prodigy',+ 'stage_for_prodigy',+ 'stage_for_baseplate',+ 'stage_for_datasaur',+ 'stage_for_label_box',+ 'stage_for_label_studio',+ 'stage_for_weaviate']):+ Type of staging to perform.**kwargs: Additional keyword arguments specific tothe staging type.diff --git a/camel/functions/weather_functions.py b/camel/functions/weather_functions.pyindex d86868e20..257ec5722 100644--- a/camel/functions/weather_functions.py+++ b/camel/functions/weather_functions.py@@ -12,7 +12,7 @@# limitations under the License.# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========import os-from typing import List+from typing import List, Literalfrom camel.functions import OpenAIFunction@@ -35,10 +35,14 @@ def get_openweathermap_api_key() -> str:return OPENWEATHERMAP_API_KEY-def get_weather_data(city: str, temp_units: str = 'kelvin',- wind_units: str = 'meters_sec',- visibility_units: str = 'meters',- time_units: str = 'unix') -> str:+def get_weather_data(+ city: str,+ temp_units: Literal['kelvin', 'celsius', 'fahrenheit'] = 'kelvin',+ wind_units: Literal['meters_sec', 'miles_hour', 'knots',+ 'beaufort'] = 'meters_sec',+ visibility_units: Literal['meters', 'miles'] = 'meters',+ time_units: Literal['unix', 'iso', 'date'] = 'unix',+) -> str:r"""Fetch and return a comprehensive weather report for a given city as astring. The report includes current weather conditions, temperature,wind details, visibility, and sunrise/sunset times, all formatted as@@ -46,20 +50,20 @@ def get_weather_data(city: str, temp_units: str = 'kelvin',The function interacts with the OpenWeatherMap API to retrieve the data.Args:- city (string): The name of the city for which the weather information+ city (str): The name of the city for which the weather informationis desired. Format "City, CountryCode" (e.g., "Paris, FR"for Paris, France). If the country code is not provided,the API will search for the city in all countries, whichmay yield incorrect results if multiple cities with thesame name exist.- temp_units (string): Units for temperature. Options: 'kelvin',- 'celsius', 'fahrenheit'. (default: :obj:`kelvin`)- wind_units (string): Units for wind speed. Options: 'meters_sec',- 'miles_hour', 'knots', 'beaufort'. (default: :obj:`meters_sec`)- visibility_units (string): Units for visibility distance. Options:- 'meters', 'miles'. (default: :obj:`meters`)- time_units (string): Format for sunrise and sunset times. Options:- 'unix', 'iso', 'date'. (default: :obj:`unix`)+ temp_units (Literal['kelvin', 'celsius', 'fahrenheit']): Units for+ temperature. (default: :obj:`kelvin`)+ wind_units (Literal['meters_sec', 'miles_hour', 'knots', 'beaufort']):+ Units for wind speed. (default: :obj:`meters_sec`)+ visibility_units (Literal['meters', 'miles']): Units for visibility+ distance. (default: :obj:`meters`)+ time_units (Literal['unix', 'iso', 'date']): Format for sunrise and+ sunset times. (default: :obj:`unix`)Returns:str: A string containing the fetched weather data, formatted in adiff --git a/camel/utils/__init__.py b/camel/utils/__init__.pyindex 8c9e9f517..ec91f4ef1 100644--- a/camel/utils/__init__.py+++ b/camel/utils/__init__.py@@ -18,7 +18,6 @@ from .commons import (get_prompt_template_key_words,get_first_int,download_tasks,- parse_doc,get_task_list,check_server_running,)@@ -30,17 +29,15 @@ from .token_counting import ()__all__ = [- 'count_tokens_openai_chat_models','openai_api_key_required','print_text_animated','get_prompt_template_key_words','get_first_int','download_tasks','PythonInterpreter',- 'parse_doc','get_task_list',- 'get_model_encoding','check_server_running',+ 'get_model_encoding','BaseTokenCounter','OpenAITokenCounter','OpenSourceTokenCounter',diff --git a/camel/utils/commons.py b/camel/utils/commons.pyindex 160c0938d..16bca813b 100644--- a/camel/utils/commons.py+++ b/camel/utils/commons.py@@ -11,24 +11,13 @@# See the License for the specific language governing permissions and# limitations under the License.# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-import inspectimport osimport reimport socketimport timeimport zipfilefrom functools import wraps-from typing import (- Any,- Callable,- Dict,- List,- Optional,- Set,- Tuple,- TypeVar,- cast,-)+from typing import Any, Callable, List, Optional, Set, TypeVar, castfrom urllib.parse import urlparseimport requests@@ -116,6 +105,18 @@ def get_first_int(string: str) -> Optional[int]:def download_tasks(task: TaskType, folder_path: str) -> None:+ r"""Downloads task-related files from a specified URL and extracts them.++ This function downloads a zip file containing tasks based on the specified+ `task` type from a predefined URL, saves it to `folder_path`, and then+ extracts the contents of the zip file into the same folder. After+ extraction, the zip file is deleted.++ Args:+ task (TaskType): An enum representing the type of task to download.+ folder_path (str): The path of the folder where the zip file will be+ downloaded and extracted.+ """# Define the path to save the zip filezip_file_path = os.path.join(folder_path, "tasks.zip")@@ -134,70 +135,6 @@ def download_tasks(task: TaskType, folder_path: str) -> None:os.remove(zip_file_path)-def parse_doc(func: Callable) -> Dict[str, Any]:- r"""Parse the docstrings of a function to extract the function name,- description and parameters.-- Args:- func (Callable): The function to be parsed.- Returns:- Dict[str, Any]: A dictionary with the function's name,- description, and parameters.- """-- doc = inspect.getdoc(func)- if not doc:- raise ValueError(- f"Invalid function {func.__name__}: no docstring provided.")-- properties = {}- required = []-- parts = re.split(r'\n\s*\n', doc)- func_desc = parts[0].strip()-- args_section = next((p for p in parts if 'Args:' in p), None)- if args_section:- args_descs: List[Tuple[str, str, str, ]] = re.findall(- r'(\w+)\s*\((\w+)\):\s*(.*)', args_section)- properties = {- name.strip(): {- 'type': type,- 'description': desc- }- for name, type, desc in args_descs- }- for name in properties:- required.append(name)-- # Parameters from the function signature- sign_params = list(inspect.signature(func).parameters.keys())- if len(sign_params) != len(required):- raise ValueError(- f"Number of parameters in function signature ({len(sign_params)})"- f" does not match that in docstring ({len(required)}).")-- for param in sign_params:- if param not in required:- raise ValueError(f"Parameter '{param}' in function signature"- " is missing in the docstring.")-- parameters = {- "type": "object",- "properties": properties,- "required": required,- }-- # Construct the function dictionary- function_dict = {- "name": func.__name__,- "description": func_desc,- "parameters": parameters,- }-- return function_dict--def get_task_list(task_response: str) -> List[str]:r"""Parse the response of the Agent and return task list.diff --git a/examples/function_call/role_playing_with_function.py b/examples/function_call/role_playing_with_function.pyindex 352eaa4fa..cca0cf3f2 100644--- a/examples/function_call/role_playing_with_function.py+++ b/examples/function_call/role_playing_with_function.py@@ -24,10 +24,11 @@ from camel.utils import print_text_animateddef main(model_type=ModelType.GPT_4, chat_turn_limit=10) -> None:- task_prompt = ("Assuming the current year is 2023, estimate KAUST's "- "current age and then add 10 more years to this age, "- "and get the current weather of the city where KAUST "- "is located.")+ task_prompt = ("Assume now is 2024 in the Gregorian calendar, "+ "estimate the current age of University of Oxford "+ "and then add 10 more years to this age, "+ "and get the current weather of the city where "+ "the University is located.")user_model_config = ChatGPTConfig(temperature=0.0)diff --git a/poetry.lock b/poetry.lockindex a8b5ce1c6..4c8cf06b4 100644--- a/poetry.lock+++ b/poetry.lock@@ -1,14 +1,14 @@-# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand.+# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand.[[package]]name = "accelerate"-version = "0.25.0"+version = "0.26.1"description = "Accelerate"optional = truepython-versions = ">=3.8.0"files = [- {file = "accelerate-0.25.0-py3-none-any.whl", hash = "sha256:c7bb817eb974bba0ff3ea1ba0f24d55afb86d50e3d4fe98d6922dc69cf2ccff1"},- {file = "accelerate-0.25.0.tar.gz", hash = "sha256:ecf55b0ab278a1dac8539dde0d276977aff04683f07ede73eaf02478538576a1"},+ {file = "accelerate-0.26.1-py3-none-any.whl", hash = "sha256:04df826b84ac7bad8a0a8ab90e6aeacdecb1ea5a2d744d7e94f6735c29183227"},+ {file = "accelerate-0.26.1.tar.gz", hash = "sha256:bf63716b6bd9460d87da970cf4d833abb824ca0aa633be36b741e63a1b504f89"},][package.dependencies]@@ -823,6 +823,17 @@ files = [{file = "distro-1.9.0.tar.gz", hash = "sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed"},]+[[package]]+name = "docstring-parser"+version = "0.15"+description = "Parse Python docstrings in reST, Google and Numpydoc format"+optional = false+python-versions = ">=3.6,<4.0"+files = [+ {file = "docstring_parser-0.15-py3-none-any.whl", hash = "sha256:d1679b86250d269d06a99670924d6bce45adc00b08069dae8c47d98e89b667a9"},+ {file = "docstring_parser-0.15.tar.gz", hash = "sha256:48ddc093e8b1865899956fcc03b03e66bb7240c310fac5af81814580c55bf682"},+]+[[package]]name = "docutils"version = "0.19"@@ -874,18 +885,18 @@ test = ["pytest (>=6)"][[package]]name = "fastapi"-version = "0.108.0"+version = "0.109.0"description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production"optional = falsepython-versions = ">=3.8"files = [- {file = "fastapi-0.108.0-py3-none-any.whl", hash = "sha256:8c7bc6d315da963ee4cdb605557827071a9a7f95aeb8fcdd3bde48cdc8764dd7"},- {file = "fastapi-0.108.0.tar.gz", hash = "sha256:5056e504ac6395bf68493d71fcfc5352fdbd5fda6f88c21f6420d80d81163296"},+ {file = "fastapi-0.109.0-py3-none-any.whl", hash = "sha256:8c77515984cd8e8cfeb58364f8cc7a28f0692088475e2614f7bf03275eba9093"},+ {file = "fastapi-0.109.0.tar.gz", hash = "sha256:b978095b9ee01a5cf49b19f4bc1ac9b8ca83aa076e770ef8fd9af09a2b88d191"},][package.dependencies]pydantic = ">=1.7.4,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0 || >2.0.0,<2.0.1 || >2.0.1,<2.1.0 || >2.1.0,<3.0.0"-starlette = ">=0.29.0,<0.33.0"+starlette = ">=0.35.0,<0.36.0"typing-extensions = ">=4.8.0"[package.extras]@@ -946,53 +957,53 @@ pyflakes = ">=2.4.0,<2.5.0"[[package]]name = "fonttools"-version = "4.47.0"+version = "4.47.2"description = "Tools to manipulate font files"optional = falsepython-versions = ">=3.8"files = [- {file = "fonttools-4.47.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:2d2404107626f97a221dc1a65b05396d2bb2ce38e435f64f26ed2369f68675d9"},- {file = "fonttools-4.47.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c01f409be619a9a0f5590389e37ccb58b47264939f0e8d58bfa1f3ba07d22671"},- {file = "fonttools-4.47.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d986b66ff722ef675b7ee22fbe5947a41f60a61a4da15579d5e276d897fbc7fa"},- {file = "fonttools-4.47.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e8acf6dd0434b211b3bd30d572d9e019831aae17a54016629fa8224783b22df8"},- {file = "fonttools-4.47.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:495369c660e0c27233e3c572269cbe520f7f4978be675f990f4005937337d391"},- {file = "fonttools-4.47.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c59227d7ba5b232281c26ae04fac2c73a79ad0e236bca5c44aae904a18f14faf"},- {file = "fonttools-4.47.0-cp310-cp310-win32.whl", hash = "sha256:59a6c8b71a245800e923cb684a2dc0eac19c56493e2f896218fcf2571ed28984"},- {file = "fonttools-4.47.0-cp310-cp310-win_amd64.whl", hash = "sha256:52c82df66201f3a90db438d9d7b337c7c98139de598d0728fb99dab9fd0495ca"},- {file = "fonttools-4.47.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:854421e328d47d70aa5abceacbe8eef231961b162c71cbe7ff3f47e235e2e5c5"},- {file = "fonttools-4.47.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:511482df31cfea9f697930f61520f6541185fa5eeba2fa760fe72e8eee5af88b"},- {file = "fonttools-4.47.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce0e2c88c8c985b7b9a7efcd06511fb0a1fe3ddd9a6cd2895ef1dbf9059719d7"},- {file = "fonttools-4.47.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e7a0a8848726956e9d9fb18c977a279013daadf0cbb6725d2015a6dd57527992"},- {file = "fonttools-4.47.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e869da810ae35afb3019baa0d0306cdbab4760a54909c89ad8904fa629991812"},- {file = "fonttools-4.47.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:dd23848f877c3754f53a4903fb7a593ed100924f9b4bff7d5a4e2e8a7001ae11"},- {file = "fonttools-4.47.0-cp311-cp311-win32.whl", hash = "sha256:bf1810635c00f7c45d93085611c995fc130009cec5abdc35b327156aa191f982"},- {file = "fonttools-4.47.0-cp311-cp311-win_amd64.whl", hash = "sha256:61df4dee5d38ab65b26da8efd62d859a1eef7a34dcbc331299a28e24d04c59a7"},- {file = "fonttools-4.47.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:e3f4d61f3a8195eac784f1d0c16c0a3105382c1b9a74d99ac4ba421da39a8826"},- {file = "fonttools-4.47.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:174995f7b057e799355b393e97f4f93ef1f2197cbfa945e988d49b2a09ecbce8"},- {file = "fonttools-4.47.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ea592e6a09b71cb7a7661dd93ac0b877a6228e2d677ebacbad0a4d118494c86d"},- {file = "fonttools-4.47.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:40bdbe90b33897d9cc4a39f8e415b0fcdeae4c40a99374b8a4982f127ff5c767"},- {file = "fonttools-4.47.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:843509ae9b93db5aaf1a6302085e30bddc1111d31e11d724584818f5b698f500"},- {file = "fonttools-4.47.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:9acfa1cdc479e0dde528b61423855913d949a7f7fe09e276228298fef4589540"},- {file = "fonttools-4.47.0-cp312-cp312-win32.whl", hash = "sha256:66c92ec7f95fd9732550ebedefcd190a8d81beaa97e89d523a0d17198a8bda4d"},- {file = "fonttools-4.47.0-cp312-cp312-win_amd64.whl", hash = "sha256:e8fa20748de55d0021f83754b371432dca0439e02847962fc4c42a0e444c2d78"},- {file = "fonttools-4.47.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:c75e19971209fbbce891ebfd1b10c37320a5a28e8d438861c21d35305aedb81c"},- {file = "fonttools-4.47.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:e79f1a3970d25f692bbb8c8c2637e621a66c0d60c109ab48d4a160f50856deff"},- {file = "fonttools-4.47.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:562681188c62c024fe2c611b32e08b8de2afa00c0c4e72bed47c47c318e16d5c"},- {file = "fonttools-4.47.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a77a60315c33393b2bd29d538d1ef026060a63d3a49a9233b779261bad9c3f71"},- {file = "fonttools-4.47.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b4fabb8cc9422efae1a925160083fdcbab8fdc96a8483441eb7457235df625bd"},- {file = "fonttools-4.47.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:2a78dba8c2a1e9d53a0fb5382979f024200dc86adc46a56cbb668a2249862fda"},- {file = "fonttools-4.47.0-cp38-cp38-win32.whl", hash = "sha256:e6b968543fde4119231c12c2a953dcf83349590ca631ba8216a8edf9cd4d36a9"},- {file = "fonttools-4.47.0-cp38-cp38-win_amd64.whl", hash = "sha256:4a9a51745c0439516d947480d4d884fa18bd1458e05b829e482b9269afa655bc"},- {file = "fonttools-4.47.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:62d8ddb058b8e87018e5dc26f3258e2c30daad4c87262dfeb0e2617dd84750e6"},- {file = "fonttools-4.47.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5dde0eab40faaa5476133123f6a622a1cc3ac9b7af45d65690870620323308b4"},- {file = "fonttools-4.47.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f4da089f6dfdb822293bde576916492cd708c37c2501c3651adde39804630538"},- {file = "fonttools-4.47.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:253bb46bab970e8aae254cebf2ae3db98a4ef6bd034707aa68a239027d2b198d"},- {file = "fonttools-4.47.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:1193fb090061efa2f9e2d8d743ae9850c77b66746a3b32792324cdce65784154"},- {file = "fonttools-4.47.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:084511482dd265bce6dca24c509894062f0117e4e6869384d853f46c0e6d43be"},- {file = "fonttools-4.47.0-cp39-cp39-win32.whl", hash = "sha256:97620c4af36e4c849e52661492e31dc36916df12571cb900d16960ab8e92a980"},- {file = "fonttools-4.47.0-cp39-cp39-win_amd64.whl", hash = "sha256:e77bdf52185bdaf63d39f3e1ac3212e6cfa3ab07d509b94557a8902ce9c13c82"},- {file = "fonttools-4.47.0-py3-none-any.whl", hash = "sha256:d6477ba902dd2d7adda7f0fd3bfaeb92885d45993c9e1928c9f28fc3961415f7"},- {file = "fonttools-4.47.0.tar.gz", hash = "sha256:ec13a10715eef0e031858c1c23bfaee6cba02b97558e4a7bfa089dba4a8c2ebf"},+ {file = "fonttools-4.47.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3b629108351d25512d4ea1a8393a2dba325b7b7d7308116b605ea3f8e1be88df"},+ {file = "fonttools-4.47.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c19044256c44fe299d9a73456aabee4b4d06c6b930287be93b533b4737d70aa1"},+ {file = "fonttools-4.47.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b8be28c036b9f186e8c7eaf8a11b42373e7e4949f9e9f370202b9da4c4c3f56c"},+ {file = "fonttools-4.47.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f83a4daef6d2a202acb9bf572958f91cfde5b10c8ee7fb1d09a4c81e5d851fd8"},+ {file = "fonttools-4.47.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:4a5a5318ba5365d992666ac4fe35365f93004109d18858a3e18ae46f67907670"},+ {file = "fonttools-4.47.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8f57ecd742545362a0f7186774b2d1c53423ed9ece67689c93a1055b236f638c"},+ {file = "fonttools-4.47.2-cp310-cp310-win32.whl", hash = "sha256:a1c154bb85dc9a4cf145250c88d112d88eb414bad81d4cb524d06258dea1bdc0"},+ {file = "fonttools-4.47.2-cp310-cp310-win_amd64.whl", hash = "sha256:3e2b95dce2ead58fb12524d0ca7d63a63459dd489e7e5838c3cd53557f8933e1"},+ {file = "fonttools-4.47.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:29495d6d109cdbabe73cfb6f419ce67080c3ef9ea1e08d5750240fd4b0c4763b"},+ {file = "fonttools-4.47.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0a1d313a415eaaba2b35d6cd33536560deeebd2ed758b9bfb89ab5d97dc5deac"},+ {file = "fonttools-4.47.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:90f898cdd67f52f18049250a6474185ef6544c91f27a7bee70d87d77a8daf89c"},+ {file = "fonttools-4.47.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3480eeb52770ff75140fe7d9a2ec33fb67b07efea0ab5129c7e0c6a639c40c70"},+ {file = "fonttools-4.47.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0255dbc128fee75fb9be364806b940ed450dd6838672a150d501ee86523ac61e"},+ {file = "fonttools-4.47.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f791446ff297fd5f1e2247c188de53c1bfb9dd7f0549eba55b73a3c2087a2703"},+ {file = "fonttools-4.47.2-cp311-cp311-win32.whl", hash = "sha256:740947906590a878a4bde7dd748e85fefa4d470a268b964748403b3ab2aeed6c"},+ {file = "fonttools-4.47.2-cp311-cp311-win_amd64.whl", hash = "sha256:63fbed184979f09a65aa9c88b395ca539c94287ba3a364517698462e13e457c9"},+ {file = "fonttools-4.47.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:4ec558c543609e71b2275c4894e93493f65d2f41c15fe1d089080c1d0bb4d635"},+ {file = "fonttools-4.47.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:e040f905d542362e07e72e03612a6270c33d38281fd573160e1003e43718d68d"},+ {file = "fonttools-4.47.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6dd58cc03016b281bd2c74c84cdaa6bd3ce54c5a7f47478b7657b930ac3ed8eb"},+ {file = "fonttools-4.47.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:32ab2e9702dff0dd4510c7bb958f265a8d3dd5c0e2547e7b5f7a3df4979abb07"},+ {file = "fonttools-4.47.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:3a808f3c1d1df1f5bf39be869b6e0c263570cdafb5bdb2df66087733f566ea71"},+ {file = "fonttools-4.47.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:ac71e2e201df041a2891067dc36256755b1229ae167edbdc419b16da78732c2f"},+ {file = "fonttools-4.47.2-cp312-cp312-win32.whl", hash = "sha256:69731e8bea0578b3c28fdb43dbf95b9386e2d49a399e9a4ad736b8e479b08085"},+ {file = "fonttools-4.47.2-cp312-cp312-win_amd64.whl", hash = "sha256:b3e1304e5f19ca861d86a72218ecce68f391646d85c851742d265787f55457a4"},+ {file = "fonttools-4.47.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:254d9a6f7be00212bf0c3159e0a420eb19c63793b2c05e049eb337f3023c5ecc"},+ {file = "fonttools-4.47.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:eabae77a07c41ae0b35184894202305c3ad211a93b2eb53837c2a1143c8bc952"},+ {file = "fonttools-4.47.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a86a5ab2873ed2575d0fcdf1828143cfc6b977ac448e3dc616bb1e3d20efbafa"},+ {file = "fonttools-4.47.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:13819db8445a0cec8c3ff5f243af6418ab19175072a9a92f6cc8ca7d1452754b"},+ {file = "fonttools-4.47.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:4e743935139aa485fe3253fc33fe467eab6ea42583fa681223ea3f1a93dd01e6"},+ {file = "fonttools-4.47.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:d49ce3ea7b7173faebc5664872243b40cf88814ca3eb135c4a3cdff66af71946"},+ {file = "fonttools-4.47.2-cp38-cp38-win32.whl", hash = "sha256:94208ea750e3f96e267f394d5588579bb64cc628e321dbb1d4243ffbc291b18b"},+ {file = "fonttools-4.47.2-cp38-cp38-win_amd64.whl", hash = "sha256:0f750037e02beb8b3569fbff701a572e62a685d2a0e840d75816592280e5feae"},+ {file = "fonttools-4.47.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:3d71606c9321f6701642bd4746f99b6089e53d7e9817fc6b964e90d9c5f0ecc6"},+ {file = "fonttools-4.47.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:86e0427864c6c91cf77f16d1fb9bf1bbf7453e824589e8fb8461b6ee1144f506"},+ {file = "fonttools-4.47.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a00bd0e68e88987dcc047ea31c26d40a3c61185153b03457956a87e39d43c37"},+ {file = "fonttools-4.47.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a5d77479fb885ef38a16a253a2f4096bc3d14e63a56d6246bfdb56365a12b20c"},+ {file = "fonttools-4.47.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:5465df494f20a7d01712b072ae3ee9ad2887004701b95cb2cc6dcb9c2c97a899"},+ {file = "fonttools-4.47.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:4c811d3c73b6abac275babb8aa439206288f56fdb2c6f8835e3d7b70de8937a7"},+ {file = "fonttools-4.47.2-cp39-cp39-win32.whl", hash = "sha256:5b60e3afa9635e3dfd3ace2757039593e3bd3cf128be0ddb7a1ff4ac45fa5a50"},+ {file = "fonttools-4.47.2-cp39-cp39-win_amd64.whl", hash = "sha256:7ee48bd9d6b7e8f66866c9090807e3a4a56cf43ffad48962725a190e0dd774c8"},+ {file = "fonttools-4.47.2-py3-none-any.whl", hash = "sha256:7eb7ad665258fba68fd22228a09f347469d95a97fb88198e133595947a20a184"},+ {file = "fonttools-4.47.2.tar.gz", hash = "sha256:7df26dd3650e98ca45f1e29883c96a0b9f5bb6af8d632a6a108bc744fa0bd9b3"},][package.extras]@@ -1569,13 +1580,13 @@ requirements-deprecated-finder = ["pip-api", "pipreqs"][[package]]name = "jinja2"-version = "3.1.2"+version = "3.1.3"description = "A very fast and expressive template engine."optional = falsepython-versions = ">=3.7"files = [- {file = "Jinja2-3.1.2-py3-none-any.whl", hash = "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"},- {file = "Jinja2-3.1.2.tar.gz", hash = "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852"},+ {file = "Jinja2-3.1.3-py3-none-any.whl", hash = "sha256:7d6d50dd97d52cbc355597bd845fabfbac3f551e1f99619e39a35ce8c370b5fa"},+ {file = "Jinja2-3.1.3.tar.gz", hash = "sha256:ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90"},][package.dependencies]@@ -1762,99 +1773,89 @@ six = "*"[[package]]name = "lxml"-version = "5.0.1"+version = "5.1.0"description = "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API."optional = true-python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*"-files = [- {file = "lxml-5.0.1-cp27-cp27m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1d78e91cbffe733ff325e0d258bb64702c8d91f8f652db088bd2989c6a8f90cc"},- {file = "lxml-5.0.1-cp27-cp27m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:19251f782ea51a4841e747158195312ef63e06b47889e159dc5f1b2e5d668465"},- {file = "lxml-5.0.1-cp27-cp27mu-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b6bb5a0a87ab1e01f086cbb418be9e409719cd216954aa38b1cceee36a561ce1"},- {file = "lxml-5.0.1-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:4b49a1569ed6d05808f4d163a316e7bf4a230e0c36855b59f56020ae27ae586a"},- {file = "lxml-5.0.1-cp310-cp310-macosx_11_0_x86_64.whl", hash = "sha256:dbff288e1869db78f8731ca257553dd699edef07e173b35e71b1122b630d6008"},- {file = "lxml-5.0.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl", hash = "sha256:0f70e5de6b3e24ababeca597f776e5f37973f05d28a4d9f467aa5b45745af762"},- {file = "lxml-5.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:32a135d4ef8f966bc087d450d641df73fc6874f04cf6608111541b50090e6f13"},- {file = "lxml-5.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:b4eef43c5dc5c579d0804e55a32dd1bacbd008c8191ed4d65be278bbb11ddc61"},- {file = "lxml-5.0.1-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:7febf50135363e981097eeada84781eeae92bfc3c203495f63d6b542a7132ba7"},- {file = "lxml-5.0.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:0a79eca2ef5e032c8ed9da07f84a07a29105f220b777613dfe7fc31445691ee3"},- {file = "lxml-5.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8de180f748a17382dd695b3999be03a647d09af16ae589c4e9c37138ddb6d4c6"},- {file = "lxml-5.0.1-cp310-cp310-win32.whl", hash = "sha256:6af86081c888ce81ca7e361ed7fa2ba1678e2a86eb5a059c96d5a719364d319e"},- {file = "lxml-5.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:0dc36ec06514fe8848c4733d47f96a0636f82d9ca3eaa2132373426bc03f178f"},- {file = "lxml-5.0.1-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:f56e6a38c64a79e228d48344bb3bec265ac035fc1277ce8c049445bb18e4cd41"},- {file = "lxml-5.0.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl", hash = "sha256:4d58af4ebd711dad40f1c024a779950d9918d04d74f49230edf5d271dcd33c28"},- {file = "lxml-5.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:00bfccab28f710bb13f7f644c980ad50ce3e5b6a412b5bb9a6c30136b298fb2c"},- {file = "lxml-5.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:45e747b4e82390ffd802528b9e7b39333c1ce71423057bf5961b30ec0d52f76f"},- {file = "lxml-5.0.1-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:03c977ffc9a4bf17b3e0f8db0451dc38e9f4ec92cfdb5df462d38fbe6e6e0825"},- {file = "lxml-5.0.1-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:d0047c90e0ebd0d8f3c1e6636e10f597b8f25e4ef9e6416dd2e5c4c0960270cc"},- {file = "lxml-5.0.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff29353c12f0abc9cb3395899b7192a970d5a63f80ac1e7f0c3247ed83f5dcd4"},- {file = "lxml-5.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:2ec9fa65e0638551a5ad31cb9fa160b321f19632e5ec517fe68d7b4110133e69"},- {file = "lxml-5.0.1-cp311-cp311-win32.whl", hash = "sha256:9a4eff4d8ad0bbc9f470a9be19c5e718af4baf47111d7c2d9b036b9986107e7c"},- {file = "lxml-5.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:3714f339449d2738b4fadd078a6022704a2af3cab06bec9627b19eaa4205090d"},- {file = "lxml-5.0.1-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:473f2d0511dd84697326ee9362b0c0c2e9f99a433dcb1fbb5aa8df3d1b2185db"},- {file = "lxml-5.0.1-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:62a3c0fdf70f785cd29824666d1dcea88c207f0b73ddbc28fb7a6a1a5bbb1af7"},- {file = "lxml-5.0.1-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:83ff41e1bc0666f31acda52407d869ea257f232c2d9394806647a0e7454de73e"},- {file = "lxml-5.0.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:42069ce16dab9755b381b90defd846ca407b9ead05dc20732fd5502b5cc49b87"},- {file = "lxml-5.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:737a4dba9f7ee842c6597f719dda2eabeeaefe42443f7f24de20c262f88527cd"},- {file = "lxml-5.0.1-cp312-cp312-win32.whl", hash = "sha256:67ddff0272905a0b78a2c3ea01487e0551cc38094cd5994f73af370f355ecb47"},- {file = "lxml-5.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:a28eab2d9ea79b830be50e3350d827ae8abf5b23e278e14929824d5ab2069008"},- {file = "lxml-5.0.1-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3013823b0069cb4bd9b558e87076a18142703c6d2ac3a5d5521dd35734d23a72"},- {file = "lxml-5.0.1-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:b005101a257c494e84d36ecb62b02ba195b02b7f8892f57b1f5aaa352ed44467"},- {file = "lxml-5.0.1-cp36-cp36m-macosx_11_0_x86_64.whl", hash = "sha256:f9464ff2fd1f2ba4d0d246a560d369ee7e7213c556a30db9ae9426850ce1baf9"},- {file = "lxml-5.0.1-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl", hash = "sha256:9e8a4782ecaaacf8e9355f39179b1f00e7f27b774306eccbe80f6215724be4cd"},- {file = "lxml-5.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dcb25128c9e7f01c00ad116d2c762c3942724981a35c6e5c551ab55d4c2bfcfe"},- {file = "lxml-5.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:39a3cf581e9040e66aaa719b2f338b2b7eb43ce1db059089c82ae72e0fd48b47"},- {file = "lxml-5.0.1-cp36-cp36m-manylinux_2_28_x86_64.whl", hash = "sha256:6cdd0fb749c80ffcf408f659b209e82333f10b517786083a3dd3c3b5adc60111"},- {file = "lxml-5.0.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:cfdac95815d3025e4c9edce2ef2ebe4e034edc35a2c44a606dd846554387ae38"},- {file = "lxml-5.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:c21e60c017cab3a7e7786185cc8853b8614b01ccd69cc8b24608e5356784631b"},- {file = "lxml-5.0.1-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:5892cff0a6817743fe470b7402677310ffc8514a74de14d4e591cecdc457ff61"},- {file = "lxml-5.0.1-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:57f5c362cbd9d688fb1fa07c8955cec26d5c066fbcb4163aa341ff751eba7587"},- {file = "lxml-5.0.1-cp36-cp36m-win32.whl", hash = "sha256:8a70c47c14f89b8bfb430f85b608aa460204fe7c005545d79afd31b925cc6669"},- {file = "lxml-5.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:8ba56c3686fa60cc04191d22d1733aad484c9cbc153cdc3e8eb9bdfcad30f704"},- {file = "lxml-5.0.1-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl", hash = "sha256:c4eaa83b610595ef9f20aa69b96053d5b7f3f70c67c7a3af8f433136a9d315ab"},- {file = "lxml-5.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:ae3a0ec0f1b6cf1e8bca41bc86cd64ba02e31c71716efbf149a0f7ebc168cf0b"},- {file = "lxml-5.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:c5b23f63fcec652bf1e775eca5e03a713a4994d2a7ce2e70a91e964a26220e0d"},- {file = "lxml-5.0.1-cp37-cp37m-manylinux_2_28_x86_64.whl", hash = "sha256:d05cf827f160340f67c25ce6f271689a844605aa123849f1a80e21c9bd21f00b"},- {file = "lxml-5.0.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:bcded868b05583d41ab0b024f39f90a04e486a2349a9b493d8d17024f1433aa6"},- {file = "lxml-5.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:821fb791565536617b058c2cd5b8d28a1285b3375eecc5bd6b5c6d87add0d3dd"},- {file = "lxml-5.0.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:1546fa25a6dde5698271e19787062446f433c98ca7eab35545f665dde2c1bd34"},- {file = "lxml-5.0.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:31362b900b8fd2a026b9d24695ebe5449ea8f0c948af2445d7880b738d9fc368"},- {file = "lxml-5.0.1-cp37-cp37m-win32.whl", hash = "sha256:0963de4fe463caff48e6ce4d83d19a3c099126874185d10cf490c29057ca518d"},- {file = "lxml-5.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:b7bb0010c2969c23bf3d2b3892e638a7cb83e7daeb749e3db5f3c002fd191e11"},- {file = "lxml-5.0.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl", hash = "sha256:e2bd8faf6a9682ca385e4bca1a38a057be716dc303f16ddec9e4c9cf01b7d722"},- {file = "lxml-5.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:0fb55d77e685def5218701d5d296fca62f595752c88402404da685864b06b67e"},- {file = "lxml-5.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:73e71b95c5215310a92e560369ac1f0e2cd018d5a36be182da88958f3d6084f5"},- {file = "lxml-5.0.1-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:0ecc0f1e1d901b66f2f68edff85b8ff421fa9683d02eaea6742a42c145d741b6"},- {file = "lxml-5.0.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f36c3103a6f2641777b64f1da860f37cbaa718ce3feea621583627269e68eb03"},- {file = "lxml-5.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:dcc7dc4b9b65f185aa8533abc78f0a3b2ac38fe075bb23d3c1590ba0990f6c80"},- {file = "lxml-5.0.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:1215c8e57a25ad68488abb83a36734f6c6b3f0ccd880f0c68da98682d463ef09"},- {file = "lxml-5.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:070469a23f2ef3a9e72165af7e0b12eca9a6e47c3a8ec1cad60d14fb2f2c3aa8"},- {file = "lxml-5.0.1-cp38-cp38-win32.whl", hash = "sha256:b889c0b9be774466308c3590e093ce9a6f9115c78fc8624aa6ba8dfeaf5188ab"},- {file = "lxml-5.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:0499310df9afc0ce634ce14cacbb333d62f561038ea4db640494e4a22ac4f2e9"},- {file = "lxml-5.0.1-cp39-cp39-macosx_11_0_x86_64.whl", hash = "sha256:18b456f1bfb338be94a916166ac5507e73b9eb9f6e1f0fbd1c8caff2f3fa5535"},- {file = "lxml-5.0.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl", hash = "sha256:60974986aa80a8bb883da5663f90bc632bd4ce0d0508e66a9132412facec65f6"},- {file = "lxml-5.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:d6d3ce5638cd4ed3fa684507f164e7039e1b07475bc8f37ba6e12271c1a2e9e0"},- {file = "lxml-5.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:e97c74725e86d84a477df081eef69b70f048128afee841dbd8c690a9e3d2e8e0"},- {file = "lxml-5.0.1-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:387c5416b8bb4b8ad7306797cb2719a841f5f3836b3c39fcaa56b9af5448dd2a"},- {file = "lxml-5.0.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:feb1102d9e5de08120d46a1011110c43b2547ecb3ae80030801e0e2dacd1ee18"},- {file = "lxml-5.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:745383c124f096cc03fb942c8a05ea1e8cb4f44c5b28887adce6224e4540808e"},- {file = "lxml-5.0.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:4ae66b6b0f82e7839b6b8d009182c652d48e7d2ea21a6709f3033ce5fbf199c4"},- {file = "lxml-5.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:430780608d16b3bb96ef99a67a1a0626c8a295193af53ce9c4d5ec3fef2fbc79"},- {file = "lxml-5.0.1-cp39-cp39-win32.whl", hash = "sha256:331237209fe76951450c1119af0879f04f32d1b07b21e83a34ba439520492feb"},- {file = "lxml-5.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:c32a4fbae218b336d547bc626897325202e4e9f1794ac5f4d0bb3caacf41df21"},- {file = "lxml-5.0.1-pp310-pypy310_pp73-macosx_11_0_x86_64.whl", hash = "sha256:96c2abcbcb24f850f00f279c4660ce6498cae16ff1659845838d752c26890748"},- {file = "lxml-5.0.1-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:99b5ca5775435aa296d32ea711e194aaae871b21dbf0d57cb7d4431e5d3ad699"},- {file = "lxml-5.0.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:9a99dae826c80cf0a21dd21eb66db16310d1f58ac4c27c804da980212fbcabe2"},- {file = "lxml-5.0.1-pp38-pypy38_pp73-macosx_11_0_x86_64.whl", hash = "sha256:4df6be79be4d7574e9e4002aeb6aa03d3f3809582db07abb166df7fc6e7438af"},- {file = "lxml-5.0.1-pp38-pypy38_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl", hash = "sha256:49dc4dcf14a08f160bb3f5f571f63514d918b8933a25c221536571a5fc010271"},- {file = "lxml-5.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:47f46a2ebade07f3afa47695882e7725440c49bf77cba39c3762a42597e5aad3"},- {file = "lxml-5.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:18caa0d3925902949cb060fe5f2da70c953d60bd9ef78657bd389f6db30533cc"},- {file = "lxml-5.0.1-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:8991837fdf8086486f1c300d936bacd757e2e5398be84cd54a1fba0e6b6d5591"},- {file = "lxml-5.0.1-pp39-pypy39_pp73-macosx_11_0_x86_64.whl", hash = "sha256:d64e543b07964ff73b4eb994bee894803a80e19fd3b29a5ffbe3c637fe43e788"},- {file = "lxml-5.0.1-pp39-pypy39_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl", hash = "sha256:d80d9f4d986bb6ad65bae86f07391152f7b6c65cfc63d118616b18b0be2e79da"},- {file = "lxml-5.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:ea5e4b3eff9029a02fe7736540675ab8fca44277232f0027397b0d7111d04b1c"},- {file = "lxml-5.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:e2388a792f9c239510d62a9e615662b8202e4ca275aafcc9c4af154654462a14"},- {file = "lxml-5.0.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:3ffc56d68b9782919d69ae9a6fac99efd7547f2666ccb7ecfd12871564d16133"},- {file = "lxml-5.0.1.tar.gz", hash = "sha256:4432a1d89a9b340bc6bd1201aef3ba03112f151d3f340d9218247dc0c85028ab"},+python-versions = ">=3.6"+files = [+ {file = "lxml-5.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:704f5572ff473a5f897745abebc6df40f22d4133c1e0a1f124e4f2bd3330ff7e"},+ {file = "lxml-5.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9d3c0f8567ffe7502d969c2c1b809892dc793b5d0665f602aad19895f8d508da"},+ {file = "lxml-5.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5fcfbebdb0c5d8d18b84118842f31965d59ee3e66996ac842e21f957eb76138c"},+ {file = "lxml-5.1.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2f37c6d7106a9d6f0708d4e164b707037b7380fcd0b04c5bd9cae1fb46a856fb"},+ {file = "lxml-5.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2befa20a13f1a75c751f47e00929fb3433d67eb9923c2c0b364de449121f447c"},+ {file = "lxml-5.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22b7ee4c35f374e2c20337a95502057964d7e35b996b1c667b5c65c567d2252a"},+ {file = "lxml-5.1.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:bf8443781533b8d37b295016a4b53c1494fa9a03573c09ca5104550c138d5c05"},+ {file = "lxml-5.1.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:82bddf0e72cb2af3cbba7cec1d2fd11fda0de6be8f4492223d4a268713ef2147"},+ {file = "lxml-5.1.0-cp310-cp310-win32.whl", hash = "sha256:b66aa6357b265670bb574f050ffceefb98549c721cf28351b748be1ef9577d93"},+ {file = "lxml-5.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:4946e7f59b7b6a9e27bef34422f645e9a368cb2be11bf1ef3cafc39a1f6ba68d"},+ {file = "lxml-5.1.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:14deca1460b4b0f6b01f1ddc9557704e8b365f55c63070463f6c18619ebf964f"},+ {file = "lxml-5.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ed8c3d2cd329bf779b7ed38db176738f3f8be637bb395ce9629fc76f78afe3d4"},+ {file = "lxml-5.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:436a943c2900bb98123b06437cdd30580a61340fbdb7b28aaf345a459c19046a"},+ {file = "lxml-5.1.0-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:acb6b2f96f60f70e7f34efe0c3ea34ca63f19ca63ce90019c6cbca6b676e81fa"},+ {file = "lxml-5.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:af8920ce4a55ff41167ddbc20077f5698c2e710ad3353d32a07d3264f3a2021e"},+ {file = "lxml-5.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7cfced4a069003d8913408e10ca8ed092c49a7f6cefee9bb74b6b3e860683b45"},+ {file = "lxml-5.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:9e5ac3437746189a9b4121db2a7b86056ac8786b12e88838696899328fc44bb2"},+ {file = "lxml-5.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f4c9bda132ad108b387c33fabfea47866af87f4ea6ffb79418004f0521e63204"},+ {file = "lxml-5.1.0-cp311-cp311-win32.whl", hash = "sha256:bc64d1b1dab08f679fb89c368f4c05693f58a9faf744c4d390d7ed1d8223869b"},+ {file = "lxml-5.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:a5ab722ae5a873d8dcee1f5f45ddd93c34210aed44ff2dc643b5025981908cda"},+ {file = "lxml-5.1.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:9aa543980ab1fbf1720969af1d99095a548ea42e00361e727c58a40832439114"},+ {file = "lxml-5.1.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:6f11b77ec0979f7e4dc5ae081325a2946f1fe424148d3945f943ceaede98adb8"},+ {file = "lxml-5.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a36c506e5f8aeb40680491d39ed94670487ce6614b9d27cabe45d94cd5d63e1e"},+ {file = "lxml-5.1.0-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f643ffd2669ffd4b5a3e9b41c909b72b2a1d5e4915da90a77e119b8d48ce867a"},+ {file = "lxml-5.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:16dd953fb719f0ffc5bc067428fc9e88f599e15723a85618c45847c96f11f431"},+ {file = "lxml-5.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:16018f7099245157564d7148165132c70adb272fb5a17c048ba70d9cc542a1a1"},+ {file = "lxml-5.1.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:82cd34f1081ae4ea2ede3d52f71b7be313756e99b4b5f829f89b12da552d3aa3"},+ {file = "lxml-5.1.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:19a1bc898ae9f06bccb7c3e1dfd73897ecbbd2c96afe9095a6026016e5ca97b8"},+ {file = "lxml-5.1.0-cp312-cp312-win32.whl", hash = "sha256:13521a321a25c641b9ea127ef478b580b5ec82aa2e9fc076c86169d161798b01"},+ {file = "lxml-5.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:1ad17c20e3666c035db502c78b86e58ff6b5991906e55bdbef94977700c72623"},+ {file = "lxml-5.1.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:24ef5a4631c0b6cceaf2dbca21687e29725b7c4e171f33a8f8ce23c12558ded1"},+ {file = "lxml-5.1.0-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8d2900b7f5318bc7ad8631d3d40190b95ef2aa8cc59473b73b294e4a55e9f30f"},+ {file = "lxml-5.1.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:601f4a75797d7a770daed8b42b97cd1bb1ba18bd51a9382077a6a247a12aa38d"},+ {file = "lxml-5.1.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b4b68c961b5cc402cbd99cca5eb2547e46ce77260eb705f4d117fd9c3f932b95"},+ {file = "lxml-5.1.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:afd825e30f8d1f521713a5669b63657bcfe5980a916c95855060048b88e1adb7"},+ {file = "lxml-5.1.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:262bc5f512a66b527d026518507e78c2f9c2bd9eb5c8aeeb9f0eb43fcb69dc67"},+ {file = "lxml-5.1.0-cp36-cp36m-win32.whl", hash = "sha256:e856c1c7255c739434489ec9c8aa9cdf5179785d10ff20add308b5d673bed5cd"},+ {file = "lxml-5.1.0-cp36-cp36m-win_amd64.whl", hash = "sha256:c7257171bb8d4432fe9d6fdde4d55fdbe663a63636a17f7f9aaba9bcb3153ad7"},+ {file = "lxml-5.1.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b9e240ae0ba96477682aa87899d94ddec1cc7926f9df29b1dd57b39e797d5ab5"},+ {file = "lxml-5.1.0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a96f02ba1bcd330807fc060ed91d1f7a20853da6dd449e5da4b09bfcc08fdcf5"},+ {file = "lxml-5.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3e3898ae2b58eeafedfe99e542a17859017d72d7f6a63de0f04f99c2cb125936"},+ {file = "lxml-5.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:61c5a7edbd7c695e54fca029ceb351fc45cd8860119a0f83e48be44e1c464862"},+ {file = "lxml-5.1.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:3aeca824b38ca78d9ee2ab82bd9883083d0492d9d17df065ba3b94e88e4d7ee6"},+ {file = "lxml-5.1.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:8f52fe6859b9db71ee609b0c0a70fea5f1e71c3462ecf144ca800d3f434f0764"},+ {file = "lxml-5.1.0-cp37-cp37m-win32.whl", hash = "sha256:d42e3a3fc18acc88b838efded0e6ec3edf3e328a58c68fbd36a7263a874906c8"},+ {file = "lxml-5.1.0-cp37-cp37m-win_amd64.whl", hash = "sha256:eac68f96539b32fce2c9b47eb7c25bb2582bdaf1bbb360d25f564ee9e04c542b"},+ {file = "lxml-5.1.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:ae15347a88cf8af0949a9872b57a320d2605ae069bcdf047677318bc0bba45b1"},+ {file = "lxml-5.1.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c26aab6ea9c54d3bed716b8851c8bfc40cb249b8e9880e250d1eddde9f709bf5"},+ {file = "lxml-5.1.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:342e95bddec3a698ac24378d61996b3ee5ba9acfeb253986002ac53c9a5f6f84"},+ {file = "lxml-5.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:725e171e0b99a66ec8605ac77fa12239dbe061482ac854d25720e2294652eeaa"},+ {file = "lxml-5.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3d184e0d5c918cff04cdde9dbdf9600e960161d773666958c9d7b565ccc60c45"},+ {file = "lxml-5.1.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:98f3f020a2b736566c707c8e034945c02aa94e124c24f77ca097c446f81b01f1"},+ {file = "lxml-5.1.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:6d48fc57e7c1e3df57be5ae8614bab6d4e7b60f65c5457915c26892c41afc59e"},+ {file = "lxml-5.1.0-cp38-cp38-win32.whl", hash = "sha256:7ec465e6549ed97e9f1e5ed51c657c9ede767bc1c11552f7f4d022c4df4a977a"},+ {file = "lxml-5.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:b21b4031b53d25b0858d4e124f2f9131ffc1530431c6d1321805c90da78388d1"},+ {file = "lxml-5.1.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:52427a7eadc98f9e62cb1368a5079ae826f94f05755d2d567d93ee1bc3ceb354"},+ {file = "lxml-5.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6a2a2c724d97c1eb8cf966b16ca2915566a4904b9aad2ed9a09c748ffe14f969"},+ {file = "lxml-5.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:843b9c835580d52828d8f69ea4302537337a21e6b4f1ec711a52241ba4a824f3"},+ {file = "lxml-5.1.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9b99f564659cfa704a2dd82d0684207b1aadf7d02d33e54845f9fc78e06b7581"},+ {file = "lxml-5.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f8b0c78e7aac24979ef09b7f50da871c2de2def043d468c4b41f512d831e912"},+ {file = "lxml-5.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9bcf86dfc8ff3e992fed847c077bd875d9e0ba2fa25d859c3a0f0f76f07f0c8d"},+ {file = "lxml-5.1.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:49a9b4af45e8b925e1cd6f3b15bbba2c81e7dba6dce170c677c9cda547411e14"},+ {file = "lxml-5.1.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:280f3edf15c2a967d923bcfb1f8f15337ad36f93525828b40a0f9d6c2ad24890"},+ {file = "lxml-5.1.0-cp39-cp39-win32.whl", hash = "sha256:ed7326563024b6e91fef6b6c7a1a2ff0a71b97793ac33dbbcf38f6005e51ff6e"},+ {file = "lxml-5.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:8d7b4beebb178e9183138f552238f7e6613162a42164233e2bda00cb3afac58f"},+ {file = "lxml-5.1.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:9bd0ae7cc2b85320abd5e0abad5ccee5564ed5f0cc90245d2f9a8ef330a8deae"},+ {file = "lxml-5.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d8c1d679df4361408b628f42b26a5d62bd3e9ba7f0c0e7969f925021554755aa"},+ {file = "lxml-5.1.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:2ad3a8ce9e8a767131061a22cd28fdffa3cd2dc193f399ff7b81777f3520e372"},+ {file = "lxml-5.1.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:304128394c9c22b6569eba2a6d98392b56fbdfbad58f83ea702530be80d0f9df"},+ {file = "lxml-5.1.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d74fcaf87132ffc0447b3c685a9f862ffb5b43e70ea6beec2fb8057d5d2a1fea"},+ {file = "lxml-5.1.0-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:8cf5877f7ed384dabfdcc37922c3191bf27e55b498fecece9fd5c2c7aaa34c33"},+ {file = "lxml-5.1.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:877efb968c3d7eb2dad540b6cabf2f1d3c0fbf4b2d309a3c141f79c7e0061324"},+ {file = "lxml-5.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3f14a4fb1c1c402a22e6a341a24c1341b4a3def81b41cd354386dcb795f83897"},+ {file = "lxml-5.1.0-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:25663d6e99659544ee8fe1b89b1a8c0aaa5e34b103fab124b17fa958c4a324a6"},+ {file = "lxml-5.1.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:8b9f19df998761babaa7f09e6bc169294eefafd6149aaa272081cbddc7ba4ca3"},+ {file = "lxml-5.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5e53d7e6a98b64fe54775d23a7c669763451340c3d44ad5e3a3b48a1efbdc96f"},+ {file = "lxml-5.1.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:c3cd1fc1dc7c376c54440aeaaa0dcc803d2126732ff5c6b68ccd619f2e64be4f"},+ {file = "lxml-5.1.0.tar.gz", hash = "sha256:3eea6ed6e6c918e468e693c41ef07f3c3acc310b70ddd9cc72d9ef84bc9564ca"},][package.extras]@@ -1934,22 +1935,22 @@ files = [[[package]]name = "marshmallow"-version = "3.20.1"+version = "3.20.2"description = "A lightweight library for converting complex datatypes to and from native Python datatypes."optional = truepython-versions = ">=3.8"files = [- {file = "marshmallow-3.20.1-py3-none-any.whl", hash = "sha256:684939db93e80ad3561392f47be0230743131560a41c5110684c16e21ade0a5c"},- {file = "marshmallow-3.20.1.tar.gz", hash = "sha256:5d2371bbe42000f2b3fb5eaa065224df7d8f8597bc19a1bbfa5bfe7fba8da889"},+ {file = "marshmallow-3.20.2-py3-none-any.whl", hash = "sha256:c21d4b98fee747c130e6bc8f45c4b3199ea66bc00c12ee1f639f0aeca034d5e9"},+ {file = "marshmallow-3.20.2.tar.gz", hash = "sha256:4c1daff273513dc5eb24b219a8035559dc573c8f322558ef85f5438ddd1236dd"},][package.dependencies]packaging = ">=17.0"[package.extras]-dev = ["flake8 (==6.0.0)", "flake8-bugbear (==23.7.10)", "mypy (==1.4.1)", "pre-commit (>=2.4,<4.0)", "pytest", "pytz", "simplejson", "tox"]-docs = ["alabaster (==0.7.13)", "autodocsumm (==0.2.11)", "sphinx (==7.0.1)", "sphinx-issues (==3.0.1)", "sphinx-version-warning (==1.1.2)"]-lint = ["flake8 (==6.0.0)", "flake8-bugbear (==23.7.10)", "mypy (==1.4.1)", "pre-commit (>=2.4,<4.0)"]+dev = ["pre-commit (>=2.4,<4.0)", "pytest", "pytz", "simplejson", "tox"]+docs = ["alabaster (==0.7.15)", "autodocsumm (==0.2.12)", "sphinx (==7.2.6)", "sphinx-issues (==3.0.1)", "sphinx-version-warning (==1.1.2)"]+lint = ["pre-commit (>=2.4,<4.0)"]tests = ["pytest", "pytz", "simplejson"][[package]]@@ -2355,13 +2356,13 @@ wheel = "*"[[package]]name = "openai"-version = "1.6.1"+version = "1.7.2"description = "The official Python library for the openai API"optional = falsepython-versions = ">=3.7.1"files = [- {file = "openai-1.6.1-py3-none-any.whl", hash = "sha256:bc9f774838d67ac29fb24cdeb2d58faf57de8b311085dcd1348f7aa02a96c7ee"},- {file = "openai-1.6.1.tar.gz", hash = "sha256:d553ca9dbf9486b08e75b09e8671e4f638462aaadccfced632bf490fc3d75fa2"},+ {file = "openai-1.7.2-py3-none-any.whl", hash = "sha256:8f41b90a762f5fd9d182b45851041386fed94c8ad240a70abefee61a68e0ef53"},+ {file = "openai-1.7.2.tar.gz", hash = "sha256:c73c78878258b07f1b468b0602c6591f25a1478f49ecb90b9bd44b7cc80bce73"},][package.dependencies]@@ -2539,6 +2540,17 @@ sql-other = ["SQLAlchemy (>=1.4.16)"]test = ["hypothesis (>=6.34.2)", "pytest (>=7.3.2)", "pytest-asyncio (>=0.17.0)", "pytest-xdist (>=2.2.0)"]xml = ["lxml (>=4.6.3)"]+[[package]]+name = "pathlib"+version = "1.0.1"+description = "Object-oriented filesystem paths"+optional = false+python-versions = "*"+files = [+ {file = "pathlib-1.0.1-py3-none-any.whl", hash = "sha256:f35f95ab8b0f59e6d354090350b44a80a80635d22efdedfa84c7ad1cf0a74147"},+ {file = "pathlib-1.0.1.tar.gz", hash = "sha256:6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f"},+]+[[package]]name = "pillow"version = "10.2.0"@@ -2704,22 +2716,22 @@ virtualenv = ">=20.10.0"[[package]]name = "protobuf"-version = "4.25.1"+version = "4.25.2"description = ""optional = falsepython-versions = ">=3.8"files = [- {file = "protobuf-4.25.1-cp310-abi3-win32.whl", hash = "sha256:193f50a6ab78a970c9b4f148e7c750cfde64f59815e86f686c22e26b4fe01ce7"},- {file = "protobuf-4.25.1-cp310-abi3-win_amd64.whl", hash = "sha256:3497c1af9f2526962f09329fd61a36566305e6c72da2590ae0d7d1322818843b"},- {file = "protobuf-4.25.1-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:0bf384e75b92c42830c0a679b0cd4d6e2b36ae0cf3dbb1e1dfdda48a244f4bcd"},- {file = "protobuf-4.25.1-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:0f881b589ff449bf0b931a711926e9ddaad3b35089cc039ce1af50b21a4ae8cb"},- {file = "protobuf-4.25.1-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:ca37bf6a6d0046272c152eea90d2e4ef34593aaa32e8873fc14c16440f22d4b7"},- {file = "protobuf-4.25.1-cp38-cp38-win32.whl", hash = "sha256:abc0525ae2689a8000837729eef7883b9391cd6aa7950249dcf5a4ede230d5dd"},- {file = "protobuf-4.25.1-cp38-cp38-win_amd64.whl", hash = "sha256:1484f9e692091450e7edf418c939e15bfc8fc68856e36ce399aed6889dae8bb0"},- {file = "protobuf-4.25.1-cp39-cp39-win32.whl", hash = "sha256:8bdbeaddaac52d15c6dce38c71b03038ef7772b977847eb6d374fc86636fa510"},- {file = "protobuf-4.25.1-cp39-cp39-win_amd64.whl", hash = "sha256:becc576b7e6b553d22cbdf418686ee4daa443d7217999125c045ad56322dda10"},- {file = "protobuf-4.25.1-py3-none-any.whl", hash = "sha256:a19731d5e83ae4737bb2a089605e636077ac001d18781b3cf489b9546c7c80d6"},- {file = "protobuf-4.25.1.tar.gz", hash = "sha256:57d65074b4f5baa4ab5da1605c02be90ac20c8b40fb137d6a8df9f416b0d0ce2"},+ {file = "protobuf-4.25.2-cp310-abi3-win32.whl", hash = "sha256:b50c949608682b12efb0b2717f53256f03636af5f60ac0c1d900df6213910fd6"},+ {file = "protobuf-4.25.2-cp310-abi3-win_amd64.whl", hash = "sha256:8f62574857ee1de9f770baf04dde4165e30b15ad97ba03ceac65f760ff018ac9"},+ {file = "protobuf-4.25.2-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:2db9f8fa64fbdcdc93767d3cf81e0f2aef176284071507e3ede160811502fd3d"},+ {file = "protobuf-4.25.2-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:10894a2885b7175d3984f2be8d9850712c57d5e7587a2410720af8be56cdaf62"},+ {file = "protobuf-4.25.2-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:fc381d1dd0516343f1440019cedf08a7405f791cd49eef4ae1ea06520bc1c020"},+ {file = "protobuf-4.25.2-cp38-cp38-win32.whl", hash = "sha256:33a1aeef4b1927431d1be780e87b641e322b88d654203a9e9d93f218ee359e61"},+ {file = "protobuf-4.25.2-cp38-cp38-win_amd64.whl", hash = "sha256:47f3de503fe7c1245f6f03bea7e8d3ec11c6c4a2ea9ef910e3221c8a15516d62"},+ {file = "protobuf-4.25.2-cp39-cp39-win32.whl", hash = "sha256:5e5c933b4c30a988b52e0b7c02641760a5ba046edc5e43d3b94a74c9fc57c1b3"},+ {file = "protobuf-4.25.2-cp39-cp39-win_amd64.whl", hash = "sha256:d66a769b8d687df9024f2985d5137a337f957a0916cf5464d1513eee96a63ff0"},+ {file = "protobuf-4.25.2-py3-none-any.whl", hash = "sha256:a8b7a98d4ce823303145bf3c1a8bdb0f2f4642a414b196f04ad9853ed0c8f830"},+ {file = "protobuf-4.25.2.tar.gz", hash = "sha256:fe599e175cb347efc8ee524bcd4b902d11f7262c0e569ececcb89995c15f0a5e"},][[package]]@@ -3022,60 +3034,60 @@ windows-terminal = ["colorama (>=0.4.6)"][[package]]name = "pymupdf"-version = "1.23.8"+version = "1.23.12"description = "A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents."optional = truepython-versions = ">=3.8"files = [- {file = "PyMuPDF-1.23.8-cp310-none-macosx_10_9_x86_64.whl", hash = "sha256:34dbdddd71ccb494a8e729580acf895febcbfd6681d6f85403e8ead665a01016"},- {file = "PyMuPDF-1.23.8-cp310-none-macosx_11_0_arm64.whl", hash = "sha256:74f1d35a6b2cdbb45bb3e8d14336a4afc227e7339ce1b632aa29ace49313bfe6"},- {file = "PyMuPDF-1.23.8-cp310-none-manylinux2014_aarch64.whl", hash = "sha256:d4dd5dd54abb2c413812cbd1469244e18f32f89990a8341098337e617eca875a"},- {file = "PyMuPDF-1.23.8-cp310-none-manylinux2014_x86_64.whl", hash = "sha256:03985273a69bb980ae5640ac8e1e193b53a61a175bb446ee7fabc78fd9409a71"},- {file = "PyMuPDF-1.23.8-cp310-none-win32.whl", hash = "sha256:099ec6b82f7082731c966f9d2874d5638884e864e31d4b50b1ad3b0954497399"},- {file = "PyMuPDF-1.23.8-cp310-none-win_amd64.whl", hash = "sha256:a3b54705c152f60c7b8abea40253731caa7aebc5c10e5547e8d12f93546c5b1e"},- {file = "PyMuPDF-1.23.8-cp311-none-macosx_10_9_x86_64.whl", hash = "sha256:4f62b2940d88ffcc706c1a5d21efa24a01b65d1c87f0d4669d03b136c984098b"},- {file = "PyMuPDF-1.23.8-cp311-none-macosx_11_0_arm64.whl", hash = "sha256:58ab6e7121550767ff4e595800317c9acc8d5c1a3ddaf9116f257bb8159af501"},- {file = "PyMuPDF-1.23.8-cp311-none-manylinux2014_aarch64.whl", hash = "sha256:4a8f8322daabcbae02fe31cfa270000ebb31a327c766cd7423fff38ab55b3b4e"},- {file = "PyMuPDF-1.23.8-cp311-none-manylinux2014_x86_64.whl", hash = "sha256:ed917f7b66c332e5fb6bcda2dcb71b6eddeca24e4d0ea7984e0cb3628fbee894"},- {file = "PyMuPDF-1.23.8-cp311-none-win32.whl", hash = "sha256:dec10e23b2dd813fe75d60db0af38b4b640ad6066cb57afe3536273d8740d15e"},- {file = "PyMuPDF-1.23.8-cp311-none-win_amd64.whl", hash = "sha256:9d272e46cd08e65c5811ad9be84bf4fd5f559e538eae87694d5a4685585c633e"},- {file = "PyMuPDF-1.23.8-cp312-none-macosx_10_9_x86_64.whl", hash = "sha256:e083fbd3a6c1292ddd564cf7187cf0a333ef79c73afb31532e0b26129df3d3b4"},- {file = "PyMuPDF-1.23.8-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:fde13b2e5233a77e2b27e80e83d4f8ae3532e77f4870233e62d09b2c0349389c"},- {file = "PyMuPDF-1.23.8-cp312-none-manylinux2014_aarch64.whl", hash = "sha256:6198b94a276faa370800fbe0e32cea5ca632e50310011d3e60e398e53a9f4ebf"},- {file = "PyMuPDF-1.23.8-cp312-none-manylinux2014_x86_64.whl", hash = "sha256:157518a1f595ff469423f3e867a53468137a43d97041d624d72aab44eea28c67"},- {file = "PyMuPDF-1.23.8-cp312-none-win32.whl", hash = "sha256:8e6dcb03473058022354de687a6264309b27582e140eea0688bc96529c27228b"},- {file = "PyMuPDF-1.23.8-cp312-none-win_amd64.whl", hash = "sha256:07947f0e1e7439ceb244009ec27c23a6cf44f5ac6c39c23259ea64f54af37acc"},- {file = "PyMuPDF-1.23.8-cp38-none-macosx_10_9_x86_64.whl", hash = "sha256:d6cda66e13d2aaf2db081db63be852379b27636e46a8e0384983696ac4719de8"},- {file = "PyMuPDF-1.23.8-cp38-none-macosx_11_0_arm64.whl", hash = "sha256:238aff47b54cb36b0b0ad2f3dedf19b17a457064c78fc239a4529cc61f5fdbf3"},- {file = "PyMuPDF-1.23.8-cp38-none-manylinux2014_aarch64.whl", hash = "sha256:551d0fbe64154db71aabf3c4c29d815db2d8671c1600f91a96240e2cfa8284a3"},- {file = "PyMuPDF-1.23.8-cp38-none-manylinux2014_x86_64.whl", hash = "sha256:c3b7fabd4ffad84a25c1daf2074deae1c129ce77a390a2d37598ecbc6f2b0bc8"},- {file = "PyMuPDF-1.23.8-cp38-none-win32.whl", hash = "sha256:2b20ec14018ca81243d4386da538d208c8969cb441dabed5fd2a5bc52863e18c"},- {file = "PyMuPDF-1.23.8-cp38-none-win_amd64.whl", hash = "sha256:809eb5633bb3851a535a66a96212123289a6adf54b5cd187d50233a056740afd"},- {file = "PyMuPDF-1.23.8-cp39-none-macosx_10_9_x86_64.whl", hash = "sha256:129369a2981725841824d8c2369800b0cfb4e88b57d58ef512c3bbeeb43968c4"},- {file = "PyMuPDF-1.23.8-cp39-none-macosx_11_0_arm64.whl", hash = "sha256:8e745754a9ffcd4475cd077c6423b02c77f5c98dd654c613511def033608c430"},- {file = "PyMuPDF-1.23.8-cp39-none-manylinux2014_aarch64.whl", hash = "sha256:2b0e631e8d0549bca000ca10ff51688fd7aca5387a54e62c2c0ad5336385b152"},- {file = "PyMuPDF-1.23.8-cp39-none-manylinux2014_x86_64.whl", hash = "sha256:b6fa6c229e0dd83b8edf9a36952c41508ee6736dfa9ab706e3c9f5fb0953b214"},- {file = "PyMuPDF-1.23.8-cp39-none-win32.whl", hash = "sha256:e96badb750f9952978615d0c61297f5bb7af718c9c318a09d70b8ba6e03c8cd8"},- {file = "PyMuPDF-1.23.8-cp39-none-win_amd64.whl", hash = "sha256:4cca014862818330acdb4aa14ce7a792cb9e8cf3e81446340664c1af87dcb57c"},- {file = "PyMuPDF-1.23.8.tar.gz", hash = "sha256:d8d60fded2a9b72b3535940bbee2066e4927cfaf66e1179f1bb06a8fdda6d4af"},+ {file = "PyMuPDF-1.23.12-cp310-none-macosx_10_9_x86_64.whl", hash = "sha256:ac88abf96796b18a49f775c4c4903e8e75f4d2f6635ef5e78d9e9631aa55ac7e"},+ {file = "PyMuPDF-1.23.12-cp310-none-macosx_11_0_arm64.whl", hash = "sha256:ea34b7188e6cb2ca18984e50924b2e38e26cf1b3c434fa5983810d9c0014dd5a"},+ {file = "PyMuPDF-1.23.12-cp310-none-manylinux2014_aarch64.whl", hash = "sha256:2fc43d6d1a9a6294aa30349bab4a72b9f518240b300774f06de51d2919526df9"},+ {file = "PyMuPDF-1.23.12-cp310-none-manylinux2014_x86_64.whl", hash = "sha256:78ce7d8611f4510493898afeab2b018f5d6c30989dc3bb80cf89e3e2b650a488"},+ {file = "PyMuPDF-1.23.12-cp310-none-win32.whl", hash = "sha256:672bd7f34468fa50f50571a81e7580b727ae027fee22d93ddd5cae9f4fdafdbc"},+ {file = "PyMuPDF-1.23.12-cp310-none-win_amd64.whl", hash = "sha256:cb5393f5192e9aab23b259e2b721cb40f3500280361af7482f5b1384a7720b6c"},+ {file = "PyMuPDF-1.23.12-cp311-none-macosx_10_9_x86_64.whl", hash = "sha256:410fd97050f67fbc3f7d17a0d0d7ac57f327cc83587478e837925628b2b35c18"},+ {file = "PyMuPDF-1.23.12-cp311-none-macosx_11_0_arm64.whl", hash = "sha256:3893813bc9beb6d245de9eb001cc9ca264538d900d0398877b4d83c16bf7e3fe"},+ {file = "PyMuPDF-1.23.12-cp311-none-manylinux2014_aarch64.whl", hash = "sha256:621b5c16a98f2db894a450fb2ec1f48417e4a3b4acb32ab2873cb9914874424e"},+ {file = "PyMuPDF-1.23.12-cp311-none-manylinux2014_x86_64.whl", hash = "sha256:b1dfdc95081366bc356104db643806288d5bb97bc708abc4196b44516dea0bb6"},+ {file = "PyMuPDF-1.23.12-cp311-none-win32.whl", hash = "sha256:3f26d1e0ce78084e3e0e916605b41160719b65288b22c5f1eca7171c3e6f1781"},+ {file = "PyMuPDF-1.23.12-cp311-none-win_amd64.whl", hash = "sha256:702926530e749abac23f2b6c77d608e136ebcc2034aa099bd0c7811536ae1834"},+ {file = "PyMuPDF-1.23.12-cp312-none-macosx_10_9_x86_64.whl", hash = "sha256:5693ce7d2925c5771348164b1a35335786f87a3c0cc2ad62b5ffa4db82914cb2"},+ {file = "PyMuPDF-1.23.12-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:bd9bd3246c3a6beb927d7f0df3845773f28da4329ed10b4fee493e935781952c"},+ {file = "PyMuPDF-1.23.12-cp312-none-manylinux2014_aarch64.whl", hash = "sha256:91bfc88432a953f959d01f67b5b949fdf1137992017360dbe8ae0018523efb4e"},+ {file = "PyMuPDF-1.23.12-cp312-none-manylinux2014_x86_64.whl", hash = "sha256:d57a532179db210f5c28b1454613a91418fb4f235875b5e85668eb1bbc32da86"},+ {file = "PyMuPDF-1.23.12-cp312-none-win32.whl", hash = "sha256:9d71678fd922267c2fb5cfd73514a4e18b285a5c8fc3ded737c262e6d83e7020"},+ {file = "PyMuPDF-1.23.12-cp312-none-win_amd64.whl", hash = "sha256:6fafda3a0f9e23548a830d6fc777eee6ff86d658a01aae0cd6bcba1386a9fd4a"},+ {file = "PyMuPDF-1.23.12-cp38-none-macosx_10_9_x86_64.whl", hash = "sha256:afa419db9179655f2638ee5583fed304edce71bd6292cc00a581f84189111b46"},+ {file = "PyMuPDF-1.23.12-cp38-none-macosx_11_0_arm64.whl", hash = "sha256:7358880da3582271b3c6b2ffa5ebda16a452f9e53e6fa96c068308503995e42a"},+ {file = "PyMuPDF-1.23.12-cp38-none-manylinux2014_aarch64.whl", hash = "sha256:b542139c0d1e4df8783fc2a69769b52b73bc578a7f4532da202f10094ef80a01"},+ {file = "PyMuPDF-1.23.12-cp38-none-manylinux2014_x86_64.whl", hash = "sha256:4a3a9a3e04566176afef779f5a025fa5a699dd0df63579fc12c816602c5ae9ac"},+ {file = "PyMuPDF-1.23.12-cp38-none-win32.whl", hash = "sha256:15378b74cf4cf74a82fcf9c04d32bd6cb7d3e1d912b750237425871a03e62591"},+ {file = "PyMuPDF-1.23.12-cp38-none-win_amd64.whl", hash = "sha256:2f3c6059caf0ba1510ff716563bb07a6626b48939d4aff03b22b9bc3be9e9ddd"},+ {file = "PyMuPDF-1.23.12-cp39-none-macosx_10_9_x86_64.whl", hash = "sha256:22cac1e5bae8eb654528abc3ed10fe859e54e88bfd9c89cec915eadab6e9fb52"},+ {file = "PyMuPDF-1.23.12-cp39-none-macosx_11_0_arm64.whl", hash = "sha256:9c9730d47967acf45605b58f19aebc02b813e2d0f63f79a24930dcdabb3e90c5"},+ {file = "PyMuPDF-1.23.12-cp39-none-manylinux2014_aarch64.whl", hash = "sha256:5d25a35b4145615e872f8550e82f525859e58569e2fcc3fc0c984aa8994496b3"},+ {file = "PyMuPDF-1.23.12-cp39-none-manylinux2014_x86_64.whl", hash = "sha256:43e4b13244d61c495a76ed5e124dd5d3c5a462001373cad4a75421930b882aab"},+ {file = "PyMuPDF-1.23.12-cp39-none-win32.whl", hash = "sha256:b6f01b00da3014ec619e2ae61b952be5df72f72280655519a3065651c5f7aa29"},+ {file = "PyMuPDF-1.23.12-cp39-none-win_amd64.whl", hash = "sha256:f13f566a395556e302a64211e747c2cb3a1eb319efc95ac7a1916d2e86d10d5b"},+ {file = "PyMuPDF-1.23.12.tar.gz", hash = "sha256:45c38bbcfd163bc5c6d3eaa24a4c5a05561387504a6fca472984190a733131a5"},][package.dependencies]-PyMuPDFb = "1.23.7"+PyMuPDFb = "1.23.9"[[package]]name = "pymupdfb"-version = "1.23.7"+version = "1.23.9"description = "MuPDF shared libraries for PyMuPDF."optional = truepython-versions = ">=3.8"files = [- {file = "PyMuPDFb-1.23.7-py3-none-macosx_10_9_x86_64.whl", hash = "sha256:3fddd302121a2109c31d0b2d554ef4afc426b67baa60221daf1bc277951ae4ef"},- {file = "PyMuPDFb-1.23.7-py3-none-macosx_11_0_arm64.whl", hash = "sha256:aef672f303691904c8951f811f5de3e2ba09d1804571a7f002145ed535cedbdd"},- {file = "PyMuPDFb-1.23.7-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ca5a93fac4777f1d2de61fec2e0b96cf649c75bd60bc44f6b6547f8aaccb8a70"},- {file = "PyMuPDFb-1.23.7-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:adb43972f75500fae50279919d589a49b91ed7a74ec03e811c5000727dd63cea"},- {file = "PyMuPDFb-1.23.7-py3-none-win32.whl", hash = "sha256:f65e6dbf48daa2348ae708d76ed8310cc5eb9fc78eb335c5cade5dcaa3d52979"},- {file = "PyMuPDFb-1.23.7-py3-none-win_amd64.whl", hash = "sha256:7552793efa6976574b8b7840fd0091773c410e6048bc7cbf4b2eb3ed92d0b7a5"},+ {file = "PyMuPDFb-1.23.9-py3-none-macosx_10_9_x86_64.whl", hash = "sha256:457cede084f0a6a80a5b3b678b48f72f5f7185f4be93440bd3b062472588cd05"},+ {file = "PyMuPDFb-1.23.9-py3-none-macosx_11_0_arm64.whl", hash = "sha256:ecf27e040d5faeadb1ade715a4b65cd8a23c6bc40c111df5a685b68ce4d779d2"},+ {file = "PyMuPDFb-1.23.9-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:29ab88d23eedd1e2f29e21692945dabfcff3d3b1f6bd97ac35d4984e9bd32ed0"},+ {file = "PyMuPDFb-1.23.9-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:bc7703ce110784d7b7f1fc7a59cb36072a07c6b2d19f5a5bf0a960227a8adb5c"},+ {file = "PyMuPDFb-1.23.9-py3-none-win32.whl", hash = "sha256:3f549891e558a6fc335eafe23d50bd4fda3c5f2dbfd7e9edf362d21ef5945fe9"},+ {file = "PyMuPDFb-1.23.9-py3-none-win_amd64.whl", hash = "sha256:6a2a631fbd03330347b1ecf53f5534c4f7375b44e60b5ad8f36c5c96d4e6ec35"},][[package]]@@ -3591,110 +3603,110 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"][[package]]name = "rpds-py"-version = "0.16.2"+version = "0.17.1"description = "Python bindings to Rust's persistent data structures (rpds)"optional = falsepython-versions = ">=3.8"files = [- {file = "rpds_py-0.16.2-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:509b617ac787cd1149600e731db9274ebbef094503ca25158e6f23edaba1ca8f"},- {file = "rpds_py-0.16.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:413b9c17388bbd0d87a329d8e30c1a4c6e44e2bb25457f43725a8e6fe4161e9e"},- {file = "rpds_py-0.16.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2946b120718eba9af2b4dd103affc1164a87b9e9ebff8c3e4c05d7b7a7e274e2"},- {file = "rpds_py-0.16.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:35ae5ece284cf36464eb160880018cf6088a9ac5ddc72292a6092b6ef3f4da53"},- {file = "rpds_py-0.16.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3dc6a7620ba7639a3db6213da61312cb4aa9ac0ca6e00dc1cbbdc21c2aa6eb57"},- {file = "rpds_py-0.16.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8cb6fe8ecdfffa0e711a75c931fb39f4ba382b4b3ccedeca43f18693864fe850"},- {file = "rpds_py-0.16.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6dace7b26a13353e24613417ce2239491b40a6ad44e5776a18eaff7733488b44"},- {file = "rpds_py-0.16.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1bdbc5fcb04a7309074de6b67fa9bc4b418ab3fc435fec1f2779a0eced688d04"},- {file = "rpds_py-0.16.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f42e25c016927e2a6b1ce748112c3ab134261fc2ddc867e92d02006103e1b1b7"},- {file = "rpds_py-0.16.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:eab36eae3f3e8e24b05748ec9acc66286662f5d25c52ad70cadab544e034536b"},- {file = "rpds_py-0.16.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:0474df4ade9a3b4af96c3d36eb81856cb9462e4c6657d4caecfd840d2a13f3c9"},- {file = "rpds_py-0.16.2-cp310-none-win32.whl", hash = "sha256:84c5a4d1f9dd7e2d2c44097fb09fffe728629bad31eb56caf97719e55575aa82"},- {file = "rpds_py-0.16.2-cp310-none-win_amd64.whl", hash = "sha256:2bd82db36cd70b3628c0c57d81d2438e8dd4b7b32a6a9f25f24ab0e657cb6c4e"},- {file = "rpds_py-0.16.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:adc0c3d6fc6ae35fee3e4917628983f6ce630d513cbaad575b4517d47e81b4bb"},- {file = "rpds_py-0.16.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ec23fcad480e77ede06cf4127a25fc440f7489922e17fc058f426b5256ee0edb"},- {file = "rpds_py-0.16.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:07aab64e2808c3ebac2a44f67e9dc0543812b715126dfd6fe4264df527556cb6"},- {file = "rpds_py-0.16.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a4ebb8b20bd09c5ce7884c8f0388801100f5e75e7f733b1b6613c713371feefc"},- {file = "rpds_py-0.16.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a3d7e2ea25d3517c6d7e5a1cc3702cffa6bd18d9ef8d08d9af6717fc1c700eed"},- {file = "rpds_py-0.16.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f28ac0e8e7242d140f99402a903a2c596ab71550272ae9247ad78f9a932b5698"},- {file = "rpds_py-0.16.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:19f00f57fdd38db4bb5ad09f9ead1b535332dbf624200e9029a45f1f35527ebb"},- {file = "rpds_py-0.16.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3da5a4c56953bdbf6d04447c3410309616c54433146ccdb4a277b9cb499bc10e"},- {file = "rpds_py-0.16.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ec2e1cf025b2c0f48ec17ff3e642661da7ee332d326f2e6619366ce8e221f018"},- {file = "rpds_py-0.16.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e0441fb4fdd39a230477b2ca9be90868af64425bfe7b122b57e61e45737a653b"},- {file = "rpds_py-0.16.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9f0350ef2fba5f34eb0c9000ea328e51b9572b403d2f7f3b19f24085f6f598e8"},- {file = "rpds_py-0.16.2-cp311-none-win32.whl", hash = "sha256:5a80e2f83391ad0808b4646732af2a7b67550b98f0cae056cb3b40622a83dbb3"},- {file = "rpds_py-0.16.2-cp311-none-win_amd64.whl", hash = "sha256:e04e56b4ca7a770593633556e8e9e46579d66ec2ada846b401252a2bdcf70a6d"},- {file = "rpds_py-0.16.2-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:5e6caa3809e50690bd92fa490f5c38caa86082c8c3315aa438bce43786d5e90d"},- {file = "rpds_py-0.16.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2e53b9b25cac9065328901713a7e9e3b12e4f57ef4280b370fbbf6fef2052eef"},- {file = "rpds_py-0.16.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:af27423662f32d7501a00c5e7342f7dbd1e4a718aea7a239781357d15d437133"},- {file = "rpds_py-0.16.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:43d4dd5fb16eb3825742bad8339d454054261ab59fed2fbac84e1d84d5aae7ba"},- {file = "rpds_py-0.16.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e061de3b745fe611e23cd7318aec2c8b0e4153939c25c9202a5811ca911fd733"},- {file = "rpds_py-0.16.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3b811d182ad17ea294f2ec63c0621e7be92a1141e1012383461872cead87468f"},- {file = "rpds_py-0.16.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5552f328eaef1a75ff129d4d0c437bf44e43f9436d3996e8eab623ea0f5fcf73"},- {file = "rpds_py-0.16.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:dcbe1f8dd179e4d69b70b1f1d9bb6fd1e7e1bdc9c9aad345cdeb332e29d40748"},- {file = "rpds_py-0.16.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8aad80645a011abae487d356e0ceb359f4938dfb6f7bcc410027ed7ae4f7bb8b"},- {file = "rpds_py-0.16.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b6f5549d6ed1da9bfe3631ca9483ae906f21410be2445b73443fa9f017601c6f"},- {file = "rpds_py-0.16.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d452817e0d9c749c431a1121d56a777bd7099b720b3d1c820f1725cb40928f58"},- {file = "rpds_py-0.16.2-cp312-none-win32.whl", hash = "sha256:888a97002e986eca10d8546e3c8b97da1d47ad8b69726dcfeb3e56348ebb28a3"},- {file = "rpds_py-0.16.2-cp312-none-win_amd64.whl", hash = "sha256:d8dda2a806dfa4a9b795950c4f5cc56d6d6159f7d68080aedaff3bdc9b5032f5"},- {file = "rpds_py-0.16.2-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:071980663c273bf3d388fe5c794c547e6f35ba3335477072c713a3176bf14a60"},- {file = "rpds_py-0.16.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:726ac36e8a3bb8daef2fd482534cabc5e17334052447008405daca7ca04a3108"},- {file = "rpds_py-0.16.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e9e557db6a177470316c82f023e5d571811c9a4422b5ea084c85da9aa3c035fc"},- {file = "rpds_py-0.16.2-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:90123853fc8b1747f80b0d354be3d122b4365a93e50fc3aacc9fb4c2488845d6"},- {file = "rpds_py-0.16.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a61f659665a39a4d17d699ab3593d7116d66e1e2e3f03ef3fb8f484e91908808"},- {file = "rpds_py-0.16.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cc97f0640e91d7776530f06e6836c546c1c752a52de158720c4224c9e8053cad"},- {file = "rpds_py-0.16.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:44a54e99a2b9693a37ebf245937fd6e9228b4cbd64b9cc961e1f3391ec6c7391"},- {file = "rpds_py-0.16.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:bd4b677d929cf1f6bac07ad76e0f2d5de367e6373351c01a9c0a39f6b21b4a8b"},- {file = "rpds_py-0.16.2-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:5ef00873303d678aaf8b0627e111fd434925ca01c657dbb2641410f1cdaef261"},- {file = "rpds_py-0.16.2-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:349cb40897fd529ca15317c22c0eab67f5ac5178b5bd2c6adc86172045210acc"},- {file = "rpds_py-0.16.2-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:2ddef620e70eaffebed5932ce754d539c0930f676aae6212f8e16cd9743dd365"},- {file = "rpds_py-0.16.2-cp38-none-win32.whl", hash = "sha256:882ce6e25e585949c3d9f9abd29202367175e0aab3aba0c58c9abbb37d4982ff"},- {file = "rpds_py-0.16.2-cp38-none-win_amd64.whl", hash = "sha256:f4bd4578e44f26997e9e56c96dedc5f1af43cc9d16c4daa29c771a00b2a26851"},- {file = "rpds_py-0.16.2-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:69ac7ea9897ec201ce68b48582f3eb34a3f9924488a5432a93f177bf76a82a7e"},- {file = "rpds_py-0.16.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a9880b4656efe36ccad41edc66789e191e5ee19a1ea8811e0aed6f69851a82f4"},- {file = "rpds_py-0.16.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee94cb58c0ba2c62ee108c2b7c9131b2c66a29e82746e8fa3aa1a1effbd3dcf1"},- {file = "rpds_py-0.16.2-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:24f7a2eb3866a9e91f4599851e0c8d39878a470044875c49bd528d2b9b88361c"},- {file = "rpds_py-0.16.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ca57468da2d9a660bcf8961637c85f2fbb2aa64d9bc3f9484e30c3f9f67b1dd7"},- {file = "rpds_py-0.16.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ccd4e400309e1f34a5095bf9249d371f0fd60f8a3a5c4a791cad7b99ce1fd38d"},- {file = "rpds_py-0.16.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80443fe2f7b3ea3934c5d75fb0e04a5dbb4a8e943e5ff2de0dec059202b70a8b"},- {file = "rpds_py-0.16.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4d6a9f052e72d493efd92a77f861e45bab2f6be63e37fa8ecf0c6fd1a58fedb0"},- {file = "rpds_py-0.16.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:35953f4f2b3216421af86fd236b7c0c65935936a94ea83ddbd4904ba60757773"},- {file = "rpds_py-0.16.2-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:981d135c7cdaf6cd8eadae1c950de43b976de8f09d8e800feed307140d3d6d00"},- {file = "rpds_py-0.16.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:d0dd7ed2f16df2e129496e7fbe59a34bc2d7fc8db443a606644d069eb69cbd45"},- {file = "rpds_py-0.16.2-cp39-none-win32.whl", hash = "sha256:703d95c75a72e902544fda08e965885525e297578317989fd15a6ce58414b41d"},- {file = "rpds_py-0.16.2-cp39-none-win_amd64.whl", hash = "sha256:e93ec1b300acf89730cf27975ef574396bc04edecc358e9bd116fb387a123239"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:44627b6ca7308680a70766454db5249105fa6344853af6762eaad4158a2feebe"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:3f91df8e6dbb7360e176d1affd5fb0246d2b88d16aa5ebc7db94fd66b68b61da"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6d904c5693e08bad240f16d79305edba78276be87061c872a4a15e2c301fa2c0"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:290a81cfbe4673285cdf140ec5cd1658ffbf63ab359f2b352ebe172e7cfa5bf0"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b634c5ec0103c5cbebc24ebac4872b045cccb9456fc59efdcf6fe39775365bd2"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a297a4d08cc67c7466c873c78039d87840fb50d05473db0ec1b7b03d179bf322"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b2e75e17bd0bb66ee34a707da677e47c14ee51ccef78ed6a263a4cc965a072a1"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f1b9d9260e06ea017feb7172976ab261e011c1dc2f8883c7c274f6b2aabfe01a"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:162d7cd9cd311c1b0ff1c55a024b8f38bd8aad1876b648821da08adc40e95734"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-musllinux_1_2_i686.whl", hash = "sha256:9b32f742ce5b57201305f19c2ef7a184b52f6f9ba6871cc042c2a61f0d6b49b8"},- {file = "rpds_py-0.16.2-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:ac08472f41ea77cd6a5dae36ae7d4ed3951d6602833af87532b556c1b4601d63"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:495a14b72bbe217f2695dcd9b5ab14d4f8066a00f5d209ed94f0aca307f85f6e"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:8d6b6937ae9eac6d6c0ca3c42774d89fa311f55adff3970fb364b34abde6ed3d"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6a61226465bda9283686db8f17d02569a98e4b13c637be5a26d44aa1f1e361c2"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5cf6af100ffb5c195beec11ffaa8cf8523057f123afa2944e6571d54da84cdc9"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6df15846ee3fb2e6397fe25d7ca6624af9f89587f3f259d177b556fed6bebe2c"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1be2f033df1b8be8c3167ba3c29d5dca425592ee31e35eac52050623afba5772"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:96f957d6ab25a78b9e7fc9749d754b98eac825a112b4e666525ce89afcbd9ed5"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:088396c7c70e59872f67462fcac3ecbded5233385797021976a09ebd55961dfe"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:4c46ad6356e1561f2a54f08367d1d2e70a0a1bb2db2282d2c1972c1d38eafc3b"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-musllinux_1_2_i686.whl", hash = "sha256:47713dc4fce213f5c74ca8a1f6a59b622fc1b90868deb8e8e4d993e421b4b39d"},- {file = "rpds_py-0.16.2-pp38-pypy38_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:f811771019f063bbd0aa7bb72c8a934bc13ebacb4672d712fc1639cfd314cccc"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:f19afcfc0dd0dca35694df441e9b0f95bc231b512f51bded3c3d8ca32153ec19"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:a4b682c5775d6a3d21e314c10124599976809455ee67020e8e72df1769b87bc3"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c647ca87fc0ebe808a41de912e9a1bfef9acb85257e5d63691364ac16b81c1f0"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:302bd4983bbd47063e452c38be66153760112f6d3635c7eeefc094299fa400a9"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bf721ede3eb7b829e4a9b8142bd55db0bdc82902720548a703f7e601ee13bdc3"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:358dafc89ce3894c7f486c615ba914609f38277ef67f566abc4c854d23b997fa"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cad0f59ee3dc35526039f4bc23642d52d5f6616b5f687d846bfc6d0d6d486db0"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:cffa76b385dfe1e38527662a302b19ffb0e7f5cf7dd5e89186d2c94a22dd9d0c"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:83640a5d7cd3bff694747d50436b8b541b5b9b9782b0c8c1688931d6ee1a1f2d"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-musllinux_1_2_i686.whl", hash = "sha256:ed99b4f7179d2111702020fd7d156e88acd533f5a7d3971353e568b6051d5c97"},- {file = "rpds_py-0.16.2-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:4022b9dc620e14f30201a8a73898a873c8e910cb642bcd2f3411123bc527f6ac"},- {file = "rpds_py-0.16.2.tar.gz", hash = "sha256:781ef8bfc091b19960fc0142a23aedadafa826bc32b433fdfe6fd7f964d7ef44"},+ {file = "rpds_py-0.17.1-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:4128980a14ed805e1b91a7ed551250282a8ddf8201a4e9f8f5b7e6225f54170d"},+ {file = "rpds_py-0.17.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ff1dcb8e8bc2261a088821b2595ef031c91d499a0c1b031c152d43fe0a6ecec8"},+ {file = "rpds_py-0.17.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d65e6b4f1443048eb7e833c2accb4fa7ee67cc7d54f31b4f0555b474758bee55"},+ {file = "rpds_py-0.17.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a71169d505af63bb4d20d23a8fbd4c6ce272e7bce6cc31f617152aa784436f29"},+ {file = "rpds_py-0.17.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:436474f17733c7dca0fbf096d36ae65277e8645039df12a0fa52445ca494729d"},+ {file = "rpds_py-0.17.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:10162fe3f5f47c37ebf6d8ff5a2368508fe22007e3077bf25b9c7d803454d921"},+ {file = "rpds_py-0.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:720215373a280f78a1814becb1312d4e4d1077b1202a56d2b0815e95ccb99ce9"},+ {file = "rpds_py-0.17.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:70fcc6c2906cfa5c6a552ba7ae2ce64b6c32f437d8f3f8eea49925b278a61453"},+ {file = "rpds_py-0.17.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:91e5a8200e65aaac342a791272c564dffcf1281abd635d304d6c4e6b495f29dc"},+ {file = "rpds_py-0.17.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:99f567dae93e10be2daaa896e07513dd4bf9c2ecf0576e0533ac36ba3b1d5394"},+ {file = "rpds_py-0.17.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:24e4900a6643f87058a27320f81336d527ccfe503984528edde4bb660c8c8d59"},+ {file = "rpds_py-0.17.1-cp310-none-win32.whl", hash = "sha256:0bfb09bf41fe7c51413f563373e5f537eaa653d7adc4830399d4e9bdc199959d"},+ {file = "rpds_py-0.17.1-cp310-none-win_amd64.whl", hash = "sha256:20de7b7179e2031a04042e85dc463a93a82bc177eeba5ddd13ff746325558aa6"},+ {file = "rpds_py-0.17.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:65dcf105c1943cba45d19207ef51b8bc46d232a381e94dd38719d52d3980015b"},+ {file = "rpds_py-0.17.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:01f58a7306b64e0a4fe042047dd2b7d411ee82e54240284bab63e325762c1147"},+ {file = "rpds_py-0.17.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:071bc28c589b86bc6351a339114fb7a029f5cddbaca34103aa573eba7b482382"},+ {file = "rpds_py-0.17.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ae35e8e6801c5ab071b992cb2da958eee76340e6926ec693b5ff7d6381441745"},+ {file = "rpds_py-0.17.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:149c5cd24f729e3567b56e1795f74577aa3126c14c11e457bec1b1c90d212e38"},+ {file = "rpds_py-0.17.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e796051f2070f47230c745d0a77a91088fbee2cc0502e9b796b9c6471983718c"},+ {file = "rpds_py-0.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:60e820ee1004327609b28db8307acc27f5f2e9a0b185b2064c5f23e815f248f8"},+ {file = "rpds_py-0.17.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1957a2ab607f9added64478a6982742eb29f109d89d065fa44e01691a20fc20a"},+ {file = "rpds_py-0.17.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8587fd64c2a91c33cdc39d0cebdaf30e79491cc029a37fcd458ba863f8815383"},+ {file = "rpds_py-0.17.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:4dc889a9d8a34758d0fcc9ac86adb97bab3fb7f0c4d29794357eb147536483fd"},+ {file = "rpds_py-0.17.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:2953937f83820376b5979318840f3ee47477d94c17b940fe31d9458d79ae7eea"},+ {file = "rpds_py-0.17.1-cp311-none-win32.whl", hash = "sha256:1bfcad3109c1e5ba3cbe2f421614e70439f72897515a96c462ea657261b96518"},+ {file = "rpds_py-0.17.1-cp311-none-win_amd64.whl", hash = "sha256:99da0a4686ada4ed0f778120a0ea8d066de1a0a92ab0d13ae68492a437db78bf"},+ {file = "rpds_py-0.17.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:1dc29db3900cb1bb40353772417800f29c3d078dbc8024fd64655a04ee3c4bdf"},+ {file = "rpds_py-0.17.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:82ada4a8ed9e82e443fcef87e22a3eed3654dd3adf6e3b3a0deb70f03e86142a"},+ {file = "rpds_py-0.17.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d36b2b59e8cc6e576f8f7b671e32f2ff43153f0ad6d0201250a7c07f25d570e"},+ {file = "rpds_py-0.17.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3677fcca7fb728c86a78660c7fb1b07b69b281964673f486ae72860e13f512ad"},+ {file = "rpds_py-0.17.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:516fb8c77805159e97a689e2f1c80655c7658f5af601c34ffdb916605598cda2"},+ {file = "rpds_py-0.17.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:df3b6f45ba4515632c5064e35ca7f31d51d13d1479673185ba8f9fefbbed58b9"},+ {file = "rpds_py-0.17.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a967dd6afda7715d911c25a6ba1517975acd8d1092b2f326718725461a3d33f9"},+ {file = "rpds_py-0.17.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:dbbb95e6fc91ea3102505d111b327004d1c4ce98d56a4a02e82cd451f9f57140"},+ {file = "rpds_py-0.17.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:02866e060219514940342a1f84303a1ef7a1dad0ac311792fbbe19b521b489d2"},+ {file = "rpds_py-0.17.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:2528ff96d09f12e638695f3a2e0c609c7b84c6df7c5ae9bfeb9252b6fa686253"},+ {file = "rpds_py-0.17.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:bd345a13ce06e94c753dab52f8e71e5252aec1e4f8022d24d56decd31e1b9b23"},+ {file = "rpds_py-0.17.1-cp312-none-win32.whl", hash = "sha256:2a792b2e1d3038daa83fa474d559acfd6dc1e3650ee93b2662ddc17dbff20ad1"},+ {file = "rpds_py-0.17.1-cp312-none-win_amd64.whl", hash = "sha256:292f7344a3301802e7c25c53792fae7d1593cb0e50964e7bcdcc5cf533d634e3"},+ {file = "rpds_py-0.17.1-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:8ffe53e1d8ef2520ebcf0c9fec15bb721da59e8ef283b6ff3079613b1e30513d"},+ {file = "rpds_py-0.17.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4341bd7579611cf50e7b20bb8c2e23512a3dc79de987a1f411cb458ab670eb90"},+ {file = "rpds_py-0.17.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2f4eb548daf4836e3b2c662033bfbfc551db58d30fd8fe660314f86bf8510b93"},+ {file = "rpds_py-0.17.1-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b686f25377f9c006acbac63f61614416a6317133ab7fafe5de5f7dc8a06d42eb"},+ {file = "rpds_py-0.17.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4e21b76075c01d65d0f0f34302b5a7457d95721d5e0667aea65e5bb3ab415c25"},+ {file = "rpds_py-0.17.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b86b21b348f7e5485fae740d845c65a880f5d1eda1e063bc59bef92d1f7d0c55"},+ {file = "rpds_py-0.17.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f175e95a197f6a4059b50757a3dca33b32b61691bdbd22c29e8a8d21d3914cae"},+ {file = "rpds_py-0.17.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1701fc54460ae2e5efc1dd6350eafd7a760f516df8dbe51d4a1c79d69472fbd4"},+ {file = "rpds_py-0.17.1-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:9051e3d2af8f55b42061603e29e744724cb5f65b128a491446cc029b3e2ea896"},+ {file = "rpds_py-0.17.1-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:7450dbd659fed6dd41d1a7d47ed767e893ba402af8ae664c157c255ec6067fde"},+ {file = "rpds_py-0.17.1-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:5a024fa96d541fd7edaa0e9d904601c6445e95a729a2900c5aec6555fe921ed6"},+ {file = "rpds_py-0.17.1-cp38-none-win32.whl", hash = "sha256:da1ead63368c04a9bded7904757dfcae01eba0e0f9bc41d3d7f57ebf1c04015a"},+ {file = "rpds_py-0.17.1-cp38-none-win_amd64.whl", hash = "sha256:841320e1841bb53fada91c9725e766bb25009cfd4144e92298db296fb6c894fb"},+ {file = "rpds_py-0.17.1-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:f6c43b6f97209e370124baf2bf40bb1e8edc25311a158867eb1c3a5d449ebc7a"},+ {file = "rpds_py-0.17.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5e7d63ec01fe7c76c2dbb7e972fece45acbb8836e72682bde138e7e039906e2c"},+ {file = "rpds_py-0.17.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:81038ff87a4e04c22e1d81f947c6ac46f122e0c80460b9006e6517c4d842a6ec"},+ {file = "rpds_py-0.17.1-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:810685321f4a304b2b55577c915bece4c4a06dfe38f6e62d9cc1d6ca8ee86b99"},+ {file = "rpds_py-0.17.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:25f071737dae674ca8937a73d0f43f5a52e92c2d178330b4c0bb6ab05586ffa6"},+ {file = "rpds_py-0.17.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:aa5bfb13f1e89151ade0eb812f7b0d7a4d643406caaad65ce1cbabe0a66d695f"},+ {file = "rpds_py-0.17.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dfe07308b311a8293a0d5ef4e61411c5c20f682db6b5e73de6c7c8824272c256"},+ {file = "rpds_py-0.17.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a000133a90eea274a6f28adc3084643263b1e7c1a5a66eb0a0a7a36aa757ed74"},+ {file = "rpds_py-0.17.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:5d0e8a6434a3fbf77d11448c9c25b2f25244226cfbec1a5159947cac5b8c5fa4"},+ {file = "rpds_py-0.17.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:efa767c220d94aa4ac3a6dd3aeb986e9f229eaf5bce92d8b1b3018d06bed3772"},+ {file = "rpds_py-0.17.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:dbc56680ecf585a384fbd93cd42bc82668b77cb525343170a2d86dafaed2a84b"},+ {file = "rpds_py-0.17.1-cp39-none-win32.whl", hash = "sha256:270987bc22e7e5a962b1094953ae901395e8c1e1e83ad016c5cfcfff75a15a3f"},+ {file = "rpds_py-0.17.1-cp39-none-win_amd64.whl", hash = "sha256:2a7b2f2f56a16a6d62e55354dd329d929560442bd92e87397b7a9586a32e3e76"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:a3264e3e858de4fc601741498215835ff324ff2482fd4e4af61b46512dd7fc83"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:f2f3b28b40fddcb6c1f1f6c88c6f3769cd933fa493ceb79da45968a21dccc920"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9584f8f52010295a4a417221861df9bea4c72d9632562b6e59b3c7b87a1522b7"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c64602e8be701c6cfe42064b71c84ce62ce66ddc6422c15463fd8127db3d8066"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:060f412230d5f19fc8c8b75f315931b408d8ebf56aec33ef4168d1b9e54200b1"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b9412abdf0ba70faa6e2ee6c0cc62a8defb772e78860cef419865917d86c7342"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9737bdaa0ad33d34c0efc718741abaafce62fadae72c8b251df9b0c823c63b22"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9f0e4dc0f17dcea4ab9d13ac5c666b6b5337042b4d8f27e01b70fae41dd65c57"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:1db228102ab9d1ff4c64148c96320d0be7044fa28bd865a9ce628ce98da5973d"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-musllinux_1_2_i686.whl", hash = "sha256:d8bbd8e56f3ba25a7d0cf980fc42b34028848a53a0e36c9918550e0280b9d0b6"},+ {file = "rpds_py-0.17.1-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:be22ae34d68544df293152b7e50895ba70d2a833ad9566932d750d3625918b82"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:bf046179d011e6114daf12a534d874958b039342b347348a78b7cdf0dd9d6041"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:1a746a6d49665058a5896000e8d9d2f1a6acba8a03b389c1e4c06e11e0b7f40d"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f0b8bf5b8db49d8fd40f54772a1dcf262e8be0ad2ab0206b5a2ec109c176c0a4"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f7f4cb1f173385e8a39c29510dd11a78bf44e360fb75610594973f5ea141028b"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7fbd70cb8b54fe745301921b0816c08b6d917593429dfc437fd024b5ba713c58"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9bdf1303df671179eaf2cb41e8515a07fc78d9d00f111eadbe3e14262f59c3d0"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fad059a4bd14c45776600d223ec194e77db6c20255578bb5bcdd7c18fd169361"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3664d126d3388a887db44c2e293f87d500c4184ec43d5d14d2d2babdb4c64cad"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:698ea95a60c8b16b58be9d854c9f993c639f5c214cf9ba782eca53a8789d6b19"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-musllinux_1_2_i686.whl", hash = "sha256:c3d2010656999b63e628a3c694f23020322b4178c450dc478558a2b6ef3cb9bb"},+ {file = "rpds_py-0.17.1-pp38-pypy38_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:938eab7323a736533f015e6069a7d53ef2dcc841e4e533b782c2bfb9fb12d84b"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:1e626b365293a2142a62b9a614e1f8e331b28f3ca57b9f05ebbf4cf2a0f0bdc5"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:380e0df2e9d5d5d339803cfc6d183a5442ad7ab3c63c2a0982e8c824566c5ccc"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b760a56e080a826c2e5af09002c1a037382ed21d03134eb6294812dda268c811"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5576ee2f3a309d2bb403ec292d5958ce03953b0e57a11d224c1f134feaf8c40f"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1f3c3461ebb4c4f1bbc70b15d20b565759f97a5aaf13af811fcefc892e9197ba"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:637b802f3f069a64436d432117a7e58fab414b4e27a7e81049817ae94de45d8d"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ffee088ea9b593cc6160518ba9bd319b5475e5f3e578e4552d63818773c6f56a"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3ac732390d529d8469b831949c78085b034bff67f584559340008d0f6041a049"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:93432e747fb07fa567ad9cc7aaadd6e29710e515aabf939dfbed8046041346c6"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-musllinux_1_2_i686.whl", hash = "sha256:7b7d9ca34542099b4e185b3c2a2b2eda2e318a7dbde0b0d83357a6d4421b5296"},+ {file = "rpds_py-0.17.1-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:0387ce69ba06e43df54e43968090f3626e231e4bc9150e4c3246947567695f68"},+ {file = "rpds_py-0.17.1.tar.gz", hash = "sha256:0210b2668f24c078307260bf88bdac9d6f1093635df5123789bfee4d8d7fc8e7"},][[package]]@@ -4114,13 +4126,13 @@ test = ["pytest"][[package]]name = "starlette"-version = "0.32.0.post1"+version = "0.35.1"description = "The little ASGI library that shines."optional = falsepython-versions = ">=3.8"files = [- {file = "starlette-0.32.0.post1-py3-none-any.whl", hash = "sha256:cd0cb10ddb49313f609cedfac62c8c12e56c7314b66d89bb077ba228bada1b09"},- {file = "starlette-0.32.0.post1.tar.gz", hash = "sha256:e54e2b7e2fb06dff9eac40133583f10dfa05913f5a85bf26f427c7a40a9a3d02"},+ {file = "starlette-0.35.1-py3-none-any.whl", hash = "sha256:50bbbda9baa098e361f398fda0928062abbaf1f54f4fadcbe17c092a01eb9a25"},+ {file = "starlette-0.35.1.tar.gz", hash = "sha256:3e2639dac3520e4f58734ed22553f950d3f3cb1001cd2eaac4d57e8cdc5f66bc"},][package.dependencies]@@ -4507,13 +4519,13 @@ files = [[[package]]name = "types-pillow"-version = "10.1.0.20240106"+version = "10.2.0.20240111"description = "Typing stubs for Pillow"optional = falsepython-versions = ">=3.8"files = [- {file = "types-Pillow-10.1.0.20240106.tar.gz", hash = "sha256:d2c2ed7ece6b0becb4daf150e2374c8f4d977fe6efec625ef952e262576190e7"},- {file = "types_Pillow-10.1.0.20240106-py3-none-any.whl", hash = "sha256:c04c68ace4a92af2e48904754750f1fcf2b1bc2ac7a75510cff11c3d7123dc92"},+ {file = "types-Pillow-10.2.0.20240111.tar.gz", hash = "sha256:e8d359bfdc5a149a3c90a7e153cb2d0750ddf7fc3508a20dfadabd8a9435e354"},+ {file = "types_Pillow-10.2.0.20240111-py3-none-any.whl", hash = "sha256:1f4243b30c143b56b0646626f052e4269123e550f9096cdfb5fbd999daee7dbb"},][[package]]@@ -5122,4 +5134,4 @@ vector-databases = ["qdrant-client"][metadata]lock-version = "2.0"python-versions = ">=3.8.1,<3.12"-content-hash = "f4c7359343cd153d74485bde24f419a8d7c514a501b9511c0a320cb7c5d96f43"+content-hash = "8d635a243b836af6bc66068bfee80dcdc728f3712cf35bda9d187100b9768b28"diff --git a/pyproject.toml b/pyproject.tomlindex 6c2073d68..c1eeca1a6 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -34,6 +34,9 @@ tiktoken = "^0"colorama = "^0"jsonschema = "^4"protobuf = "^4"+pathlib = "^1.0.1"+docstring-parser = "^0.15"+pydantic = ">=1,<3"# huggingface-agenttransformers = { version = "^4", optional = true }diff --git a/test/agents/test_chat_agent.py b/test/agents/test_chat_agent.pyindex 3d77e576d..4ec716ea5 100644--- a/test/agents/test_chat_agent.py+++ b/test/agents/test_chat_agent.py@@ -245,7 +245,7 @@ def test_function_enabled():role_type=RoleType.ASSISTANT, meta_dict=None,content="You are a help assistant.")model_config = FunctionCallingConfig(- functions=[func.as_dict() for func in MATH_FUNCS])+ functions=[func.get_openai_function_schema() for func in MATH_FUNCS])agent_no_func = ChatAgent(system_message=system_message,model_config=model_config,model_type=ModelType.GPT_4)@@ -264,7 +264,7 @@ def test_function_calling():role_type=RoleType.ASSISTANT, meta_dict=None,content="You are a help assistant.")model_config = FunctionCallingConfig(- functions=[func.as_dict() for func in MATH_FUNCS])+ functions=[func.get_openai_function_schema() for func in MATH_FUNCS])agent = ChatAgent(system_message=system_message, model_config=model_config,model_type=ModelType.GPT_4, function_list=MATH_FUNCS)diff --git a/test/functions/test_openai_function.py b/test/functions/test_openai_function.pyindex 6ecabed1a..89f69f03c 100644--- a/test/functions/test_openai_function.py+++ b/test/functions/test_openai_function.py@@ -11,17 +11,215 @@# See the License for the specific language governing permissions and# limitations under the License.# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+import copy+import json+from datetime import datetime+from typing import List+import pytest+from jsonschema.exceptions import SchemaError+from pydantic import ValidationError++from camel.functions import OpenAIFunction, get_openai_tool_schema+from camel.types import RoleType+++def test_get_openai_tool_schema():++ def test_all_parameters(+ any_para,+ str_para: str,+ int_para: int,+ list_para: List[int],+ float_para: float,+ datatime_para: datetime,+ *args,+ default_enum_para: RoleType = RoleType.CRITIC,+ **kwargs,+ ):+ """+ A function to test all parameter type.+ The parameters will be provided by user.+ Args:+ any_para: any_para desc. Type defaults to 'Any' if not specified.+ str_para (str) : str_para desc+ int_para (int): int_para desc+ list_para (List): list_para desc+ float_para (float): float_para desc+ datatime_para (datetime): datatime_para desc+ default_enum_para (RoleType): default_enum_para desc+ """++ expect_res = {+ 'type': 'function',+ 'function': {+ 'name': 'test_all_parameters',+ 'description': 'A function to test all parameter type.'+ '\nThe parameters will be provided by user.',+ 'parameters': {+ '$defs': {+ 'RoleType': {+ 'enum': [+ 'assistant', 'user', 'critic', 'embodiment',+ 'default'+ ],+ 'type':+ 'string'+ }+ },+ 'properties': {+ 'any_para': {+ 'description':+ "any_para desc. "+ "Type defaults to 'Any' if not specified."+ },+ 'str_para': {+ 'type': 'string',+ 'description': 'str_para desc'+ },+ 'int_para': {+ 'type': 'integer',+ 'description': 'int_para desc'+ },+ 'list_para': {+ 'items': {+ 'type': 'integer'+ },+ 'type': 'array',+ 'description': 'list_para desc'+ },+ 'float_para': {+ 'type': 'number',+ 'description': 'float_para desc'+ },+ 'datatime_para': {+ 'format': 'date-time',+ 'type': 'string',+ 'description': 'datatime_para desc'+ },+ 'default_enum_para': {+ 'allOf': [{+ '$ref': '#/$defs/RoleType'+ }],+ 'default': 'critic',+ 'description': 'default_enum_para desc'+ }+ },+ 'required': [+ 'any_para', 'str_para', 'int_para', 'list_para',+ 'float_para', 'datatime_para'+ ],+ 'type':+ 'object'+ }+ }+ }++ openai_tool_schema = get_openai_tool_schema(test_all_parameters)++ assert openai_tool_schema == expect_res+++def test_different_docstring_style():++ def rest_style(a: int, b: int):+ """+ Multiply two integers.++ :param int a: The multiplier in the multiplication.+ :param int b: The multiplicand in the multiplication.+ :return: The product of the two numbers.+ :rtype: int+ """+ return a * b++ def google_style(a: int, b: int):+ """+ Multiply two integers.-from camel.functions import OpenAIFunction+ Args:+ a (int): The multiplier in the multiplication.+ b (int): The multiplicand in the multiplication.++ Returns:+ int: The product of the two numbers.+ """+ return a * b++ def numpy_style(a: int, b: int):+ """+ Multiply two integers.++ Parameters+ ----------+ a : int+ The multiplier in the multiplication.+ b : int+ The multiplicand in the multiplication.++ Returns+ -------+ int+ The product of the two numbers.+ """+ return a * b++ def epydoc_style(a: int, b: int):+ """+ Multiply two integers.++ @param a: The multiplier in the multiplication.+ @type a: int+ @param b: The multiplicand in the multiplication.+ @type b: int+ @return: The product of the two numbers.+ @rtype: int+ """+ return a * b++ expect_res = json.loads("""{+ "type": "function",+ "function": {+ "name": "mul",+ "description": "Multiply two integers.",+ "parameters": {+ "properties": {+ "a": {+ "type": "integer",+ "description": "The multiplier in the multiplication."+ },+ "b": {+ "type": "integer",+ "description":+ "The multiplicand in the multiplication."+ }+ },+ "required": ["a", "b"],+ "type": "object"+ }+ }+ }""")+ rest_style_schema = get_openai_tool_schema(rest_style)+ rest_style_schema["function"]["name"] = "mul"+ google_style_schema = get_openai_tool_schema(google_style)+ google_style_schema["function"]["name"] = "mul"+ numpy_style_schema = get_openai_tool_schema(numpy_style)+ numpy_style_schema["function"]["name"] = "mul"+ epydoc_style_schema = get_openai_tool_schema(epydoc_style)+ epydoc_style_schema["function"]["name"] = "mul"++ assert rest_style_schema == expect_res+ assert google_style_schema == expect_res+ assert numpy_style_schema == expect_res+ assert epydoc_style_schema == expect_resdef add_with_doc(a: int, b: int) -> int:r"""Adds two numbers.Args:- a (integer): The first number to be added.- b (integer): The second number to be added.+ a (int): The first number to be added.+ b (int): The second number to be added.Returns:integer: The sum of the two numbers.@@ -37,46 +235,165 @@ def add_with_wrong_doc(a: int, b: int) -> int:r"""Adds two numbers.Args:- a (integer): The first number to be added.+ a (int): The first number to be added.Returns:- integer: The sum of the two numbers.+ int: The sum of the two numbers."""return a + b-def test_correct_function():- add = OpenAIFunction(add_with_doc, name="add")- assert add.as_dict() == {- "name": "add",- "description": "Adds two numbers.",- "parameters": {- 'type': 'object',- 'properties': {- 'a': {- 'type': 'integer',- 'description': 'The first number to be added.'- },- 'b': {- 'type': 'integer',- 'description': 'The second number to be added.'- }+function_schema = {+ "name": "add",+ "description": "Adds two numbers.",+ "parameters": {+ 'type': 'object',+ 'properties': {+ 'a': {+ 'type': 'integer',+ 'description': 'The first number to be added.'},- 'required': ['a', 'b']- }+ 'b': {+ 'type': 'integer',+ 'description': 'The second number to be added.'+ }+ },+ 'required': ['a', 'b']}+}++tool_schema = {+ "type": "function",+ "function": function_schema,+}+++def test_correct_function():+ add = OpenAIFunction(add_with_doc)+ add.set_function_name("add")+ assert add.get_openai_function_schema() == function_schemadef test_function_without_doc():- with pytest.raises(- ValueError,- match="Invalid function add_without_doc: no docstring provided."):- _ = OpenAIFunction(add_without_doc, name="add")+ add = OpenAIFunction(add_without_doc)+ add.set_function_name("add")+ with pytest.raises(Exception, match="miss function description"):+ _ = add.get_openai_function_schema()+ add.set_openai_function_schema(function_schema)+ assert add.get_openai_function_schema() == function_schemadef test_function_with_wrong_doc():- with pytest.raises(- ValueError,- match=(r"Number of parameters in function signature \(2\)"- r" does not match that in docstring \(1\)")):- _ = OpenAIFunction(add_with_wrong_doc, name="add")+ add = OpenAIFunction(add_with_wrong_doc)+ add.set_function_name("add")+ with pytest.raises(Exception, match="miss description of parameter \"b\""):+ _ = add.get_openai_function_schema()+ add.set_parameter("b", function_schema["parameters"]["properties"]["b"])+ assert add.get_openai_function_schema() == function_schema+ with pytest.raises(ValidationError):+ add.openai_tool_schema[+ "type"] = "other" # should be defined as "function"+ _ = add.get_openai_function_schema()+++def test_validate_openai_tool_schema_valid():+ OpenAIFunction.validate_openai_tool_schema(tool_schema)+++def test_validate_openai_tool_schema_invalid():+ with pytest.raises(ValidationError):+ invalid_schema = copy.deepcopy(tool_schema)+ invalid_schema["function"]["name"] = 123 # Invalid type for name+ OpenAIFunction.validate_openai_tool_schema(invalid_schema)+++def test_get_set_openai_tool_schema():+ add = OpenAIFunction(add_with_doc)+ assert add.get_openai_tool_schema() is not None+ new_schema = copy.deepcopy(tool_schema)+ new_schema["function"]["description"] = "New description"+ add.set_openai_tool_schema(new_schema)+ assert add.get_openai_tool_schema() == new_schema+++def test_get_set_parameter_description():+ add = OpenAIFunction(add_with_doc)+ assert (+ add.get_paramter_description("a") == "The first number to be added.")+ add.set_paramter_description("a", "New description for a.")+ assert add.get_paramter_description("a") == "New description for a."+++def test_get_set_parameter_description_non_existing():+ add = OpenAIFunction(add_with_doc)+ with pytest.raises(KeyError):+ add.get_paramter_description("non_existing")+++def test_get_set_openai_function_schema():+ add = OpenAIFunction(add_with_doc)+ initial_schema = add.get_openai_function_schema()+ assert initial_schema is not None++ new_function_schema = {+ "name": "new_add",+ "description": "Adds two numbers in a new way.",+ "parameters": initial_schema["parameters"]+ }+ add.set_openai_function_schema(new_function_schema)+ assert add.get_openai_function_schema() == new_function_schema+++def test_get_set_function_name():+ add = OpenAIFunction(add_with_doc)+ assert add.get_function_name() == "add_with_doc"++ add.set_function_name("new_add")+ assert add.get_function_name() == "new_add"+++def test_get_set_function_description():+ add = OpenAIFunction(add_with_doc)+ initial_description = add.get_function_description()+ assert initial_description is not None++ new_description = "New description for adding numbers."+ add.set_function_description(new_description)+ assert add.get_function_description() == new_description+++def test_get_set_parameter():+ add = OpenAIFunction(add_with_doc)+ initial_param_schema = add.get_parameter("a")+ assert initial_param_schema is not None++ new_param_schema = {"type": "integer", "description": "New first number"}+ add.set_parameter("a", new_param_schema)+ assert add.get_parameter("a") == new_param_schema++ with pytest.raises(KeyError):+ add.get_parameter("non_existing_param")+++def test_parameters_getter_setter():+ add = OpenAIFunction(add_with_doc)+ initial_params = add.parameters+ assert initial_params is not None++ new_params = {+ "a": {+ "type": "integer",+ "description": "New first number"+ },+ "b": {+ "type": "integer",+ "description": "New second number"+ }+ }+ add.parameters = new_params+ assert add.parameters == new_params++ # Test setting invalid parameter schema+ with pytest.raises(SchemaError):+ invalid_params = {1, 2, 3}+ add.parameters = invalid_paramsdiff --git a/test/functions/test_unstructured_io_functions.py b/test/functions/test_unstructured_io_functions.pyindex b069babdc..e332fbd98 100644--- a/test/functions/test_unstructured_io_functions.py+++ b/test/functions/test_unstructured_io_functions.py@@ -84,7 +84,8 @@ def test_extract_data_from_text(unstructured_instance: UnstructuredModules):test_extract_type = "invalid_extracting_option"with pytest.raises(ValueError):unstructured_instance.extract_data_from_text(- text=test_email_text, extract_type=test_extract_type)+ text=test_email_text,+ extract_type=test_extract_type) # type: ignore# Test the stage_elements method@@ -120,8 +121,8 @@ def test_stage_elements_for_csv(unstructured_instance: UnstructuredModules):# Test with an invalid stage option (should raise ValueError)test_stage_type = "invalid_stageing_option"with pytest.raises(ValueError):- unstructured_instance.stage_elements(elements=test_elements,- stage_type=test_stage_type)+ unstructured_instance.stage_elements(+ elements=test_elements, stage_type=test_stage_type) # type: ignore# Test the chunk_elements methoddiff --git a/test/utils/test_parse_doc.py b/test/utils/test_parse_doc.pydeleted file mode 100644index 1eadbe1e7..000000000--- a/test/utils/test_parse_doc.py+++ /dev/null@@ -1,79 +0,0 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the “License”);-# you may not use this file except in compliance with the License.-# You may obtain a copy of the License at-#-# http://www.apache.org/licenses/LICENSE-2.0-#-# Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an “AS IS” BASIS,-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-# See the License for the specific language governing permissions and-# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-import pytest--from camel.utils import parse_doc---def test_parse_doc_valid():-- def add(a, b):- """Adds two numbers.-- Args:- a (int): The first number to be added.- b (int): The second number to be added.- """- return a + b-- parsed = parse_doc(add)- assert parsed['name'] == 'add'- assert parsed['description'] == 'Adds two numbers.'- assert parsed['parameters']['properties']['a']['type'] == 'int'- assert parsed['parameters']['properties']['b']['type'] == 'int'---def test_parse_doc_no_docstring():-- def sub(a, b):- return a - b-- with pytest.raises(- ValueError,- match=f"Invalid function {sub.__name__}: no docstring provided."):- parse_doc(sub)---def test_parse_doc_mismatch():-- def mul(a, b, c):- """Multiplies three numbers.-- Args:- a (int): The first number to be multiplied.- b (int): The second number to be multiplied.- """- return a * b * c-- with pytest.raises(- ValueError,- match=(r"Number of parameters in function signature "- r"\(3\) does not match that in docstring \(2\).")):- parse_doc(mul)---def test_parse_doc_no_args_section():-- def return_param(a):- """Return the parameter.-- Args:- b (int): The parameter to be returned.- """- return a-- with pytest.raises(- ValueError, match=("Parameter 'a' in function signature"- " is missing in the docstring.")):- parse_doc(return_param)