Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

chore: Update web_deploy_toolkit.py (#2942)

Tao Sun451356ae55fa
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 146d9a2e5..1cf1cecd2 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -26,7 +26,7 @@ body:
attributes:
label: What version of camel are you using?
description: Run command `python3 -c 'print(__import__("camel").__version__)'` in your shell and paste the output here.
- placeholder: E.g., 0.2.73a3
+ placeholder: E.g., 0.2.73a4
validations:
required: true
diff --git a/camel/__init__.py b/camel/__init__.py
index f17cf53d7..ed93cffd7 100644
--- a/camel/__init__.py
+++ b/camel/__init__.py
@@ -14,7 +14,7 @@
from camel.logger import disable_logging, enable_logging, set_log_level
-__version__ = '0.2.73a3'
+__version__ = '0.2.73a4'
__all__ = [
'__version__',
diff --git a/camel/toolkits/web_deploy_toolkit.py b/camel/toolkits/web_deploy_toolkit.py
index d65ef5e02..bcde88198 100644
--- a/camel/toolkits/web_deploy_toolkit.py
+++ b/camel/toolkits/web_deploy_toolkit.py
@@ -79,7 +79,9 @@ class WebDeployToolkit(BaseToolkit):
self.tag_text = self._sanitize_text(tag_text)
self.tag_url = self._validate_url(tag_url)
self.remote_server_ip = (
- self._validate_ip(remote_server_ip) if remote_server_ip else None
+ self._validate_ip_or_domain(remote_server_ip)
+ if remote_server_ip
+ else None
)
self.remote_server_port = self._validate_port(remote_server_port)
self.server_registry_file = os.path.join(
@@ -87,24 +89,36 @@ class WebDeployToolkit(BaseToolkit):
)
self._load_server_registry()
- def _validate_ip(self, ip: str) -> str:
- """Validate IP address format."""
+ def _validate_ip_or_domain(self, address: str) -> str:
+ r"""Validate IP address or domain name format."""
import ipaddress
+ import re
try:
- ipaddress.ip_address(ip)
- return ip
+ # Try to validate as IP address first
+ ipaddress.ip_address(address)
+ return address
except ValueError:
- raise ValueError(f"Invalid IP address: {ip}")
+ # If not a valid IP, check if it's a valid domain name
+ domain_pattern = re.compile(
+ r'^[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?'
+ r'(\.[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)*$'
+ )
+ if domain_pattern.match(address) and len(address) <= 253:
+ return address
+ else:
+ raise ValueError(
+ f"Invalid IP address or domain name: {address}"
+ )
def _validate_port(self, port: int) -> int:
- """Validate port number."""
+ r"""Validate port number."""
if not isinstance(port, int) or port < 1 or port > 65535:
raise ValueError(f"Invalid port number: {port}")
return port
def _sanitize_text(self, text: str) -> str:
- """Sanitize text to prevent XSS."""
+ r"""Sanitize text to prevent XSS."""
if not isinstance(text, str):
return ""
# Remove any HTML/script tags
@@ -119,7 +133,7 @@ class WebDeployToolkit(BaseToolkit):
return text[:100] # Limit length
def _validate_url(self, url: str) -> str:
- """Validate URL format."""
+ r"""Validate URL format."""
if not isinstance(url, str):
raise ValueError("URL must be a string")
# Basic URL validation
@@ -139,7 +153,7 @@ class WebDeployToolkit(BaseToolkit):
def _validate_subdirectory(
self, subdirectory: Optional[str]
) -> Optional[str]:
- """Validate subdirectory to prevent path traversal."""
+ r"""Validate subdirectory to prevent path traversal."""
if subdirectory is None:
return None
@@ -157,7 +171,7 @@ class WebDeployToolkit(BaseToolkit):
return subdirectory
def _is_port_available(self, port: int) -> bool:
- """Check if a port is available for binding."""
+ r"""Check if a port is available for binding."""
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
try:
sock.bind(('127.0.0.1', port))
@@ -604,7 +618,7 @@ class WebDeployToolkit(BaseToolkit):
return {
'success': False,
'error': (
- f'Port {port} is already in use by ' f'another process'
+ f'Port {port} is already in use by another process'
),
}
@@ -702,6 +716,44 @@ class WebDeployToolkit(BaseToolkit):
# Validate subdirectory
subdirectory = self._validate_subdirectory(subdirectory)
+ # Check if remote deployment is configured
+ if self.remote_server_ip:
+ return self._deploy_folder_to_remote_server(
+ folder_path,
+ subdirectory,
+ domain,
+ )
+ else:
+ return self._deploy_folder_to_local_server(
+ folder_path,
+ port,
+ domain,
+ subdirectory,
+ )
+
+ except Exception as e:
+ logger.error(f"Error deploying folder: {e}")
+ return {'success': False, 'error': str(e)}
+
+ def _deploy_folder_to_local_server(
+ self,
+ folder_path: str,
+ port: int,
+ domain: Optional[str],
+ subdirectory: Optional[str],
+ ) -> Dict[str, Any]:
+ r"""Deploy folder to local server (original functionality).
+
+ Args:
+ folder_path (str): Path to the folder to deploy
+ port (int): Port to serve on
+ domain (Optional[str]): Custom domain
+ subdirectory (Optional[str]): Subdirectory path
+
+ Returns:
+ Dict[str, Any]: Deployment result
+ """
+ try:
temp_dir = None
if self.add_branding_tag:
# Create temporary directory and copy all files
@@ -877,6 +929,149 @@ class WebDeployToolkit(BaseToolkit):
logger.error(f"Error deploying folder: {e}")
return {'success': False, 'error': str(e)}
+ def _deploy_folder_to_remote_server(
+ self,
+ folder_path: str,
+ subdirectory: Optional[str] = None,
+ domain: Optional[str] = None,
+ ) -> Dict[str, Any]:
+ r"""Deploy folder to remote server via API.
+
+ Args:
+ folder_path (str): Path to the folder to deploy
+ subdirectory (Optional[str]): Subdirectory path for deployment
+ domain (Optional[str]): Custom domain
+
+ Returns:
+ Dict[str, Any]: Deployment result
+ """
+ try:
+ import tempfile
+ import zipfile
+
+ import requests
+
+ # Validate subdirectory
+ subdirectory = self._validate_subdirectory(subdirectory)
+
+ # Create a temporary zip file of the folder
+ with tempfile.NamedTemporaryFile(
+ suffix='.zip', delete=False
+ ) as temp_zip:
+ zip_path = temp_zip.name
+
+ try:
+ # Create zip archive
+ with zipfile.ZipFile(
+ zip_path, 'w', zipfile.ZIP_DEFLATED
+ ) as zipf:
+ for root, _, files in os.walk(folder_path):
+ for file in files:
+ file_path = os.path.join(root, file)
+ # Calculate relative path within the archive
+ arcname = os.path.relpath(file_path, folder_path)
+ zipf.write(file_path, arcname)
+
+ # Read zip file as base64
+ with open(zip_path, 'rb') as f:
+ zip_data = base64.b64encode(f.read()).decode('utf-8')
+
+ # Prepare deployment data
+ deploy_data = {
+ "deployment_type": "folder",
+ "folder_data": zip_data,
+ "subdirectory": subdirectory,
+ "domain": domain,
+ "timestamp": time.time(),
+ }
+
+ # Add logo data if custom logo is specified
+ if self.logo_path and os.path.exists(self.logo_path):
+ try:
+ logo_ext = os.path.splitext(self.logo_path)[1]
+ logo_filename = f"custom_logo{logo_ext}"
+
+ with open(self.logo_path, 'rb') as logo_file:
+ logo_data = base64.b64encode(
+ logo_file.read()
+ ).decode('utf-8')
+
+ deploy_data.update(
+ {
+ "logo_data": logo_data,
+ "logo_ext": logo_ext,
+ "logo_filename": logo_filename,
+ }
+ )
+ except Exception as logo_error:
+ logger.warning(
+ f"Failed to process custom logo: {logo_error}"
+ )
+
+ # Send to remote server API
+ api_url = f"http://{self.remote_server_ip}:{self.remote_server_port}/api/deploy"
+
+ response = requests.post(
+ api_url,
+ json=deploy_data,
+ timeout=self.timeout
+ or 60, # Extended timeout for folder uploads
+ allow_redirects=False,
+ headers={'Content-Type': 'application/json'},
+ )
+
+ if response.status_code == 200:
+ result = response.json()
+
+ # Build URLs
+ base_url = f"http://{self.remote_server_ip}:{self.remote_server_port}"
+ deployed_url = (
+ f"{base_url}/{subdirectory}/"
+ if subdirectory
+ else base_url
+ )
+
+ return {
+ 'success': True,
+ 'remote_url': deployed_url,
+ 'server_ip': self.remote_server_ip,
+ 'subdirectory': subdirectory,
+ 'domain': domain,
+ 'message': (
+ f'Successfully deployed folder to remote server!\n'
+ f' • Access URL: {deployed_url}\n'
+ f' • Server: '
+ f'{self.remote_server_ip}:{self.remote_server_port}'
+ ),
+ 'branding_tag_added': self.add_branding_tag,
+ 'logo_processed': result.get('logo_processed', False),
+ }
+ else:
+ return {
+ 'success': False,
+ 'error': (
+ f'Remote folder deployment failed: '
+ f'HTTP {response.status_code}'
+ ),
+ }
+
+ finally:
+ # Clean up temporary zip file
+ if os.path.exists(zip_path):
+ os.unlink(zip_path)
+
+ except ImportError:
+ return {
+ 'success': False,
+ 'error': 'Remote deployment requires requests library. '
+ 'Install with: pip install requests',
+ }
+ except Exception as e:
+ return {
+ 'success': False,
+ 'error': f'Remote folder deployment error: {e!s}',
+ }
+
def stop_server(self, port: int) -> Dict[str, Any]:
r"""Stop a running server on the specified port.
diff --git a/docs/conf.py b/docs/conf.py
index 4d955ab9e..c9a367e39 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -27,7 +27,7 @@ sys.path.insert(0, os.path.abspath('..'))
project = 'CAMEL'
copyright = '2024, CAMEL-AI.org'
author = 'CAMEL-AI.org'
-release = '0.2.73a3'
+release = '0.2.73a4'
html_favicon = (
'https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'
diff --git a/pyproject.toml b/pyproject.toml
index c3c53a76e..c6cc1ce5b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "camel-ai"
-version = "0.2.73a3"
+version = "0.2.73a4"
description = "Communicative Agents for AI Society Study"
authors = [{ name = "CAMEL-AI.org" }]
requires-python = ">=3.10,<3.13"
diff --git a/uv.lock b/uv.lock
index 9d7259fee..d6cec1534 100644
--- a/uv.lock
+++ b/uv.lock
@@ -594,30 +594,30 @@ wheels = [
[[package]]
name = "boto3"
-version = "1.39.11"
+version = "1.39.12"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "botocore" },
{ name = "jmespath" },
{ name = "s3transfer" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/b6/2e/ed75ea3ee0fd1afacc3379bc2b7457c67a6b0f0e554e1f7ccbdbaed2351b/boto3-1.39.11.tar.gz", hash = "sha256:3027edf20642fe1d5f9dc50a420d0fe2733073ed6a9f0f047b60fe08c3682132", size = 111869, upload-time = "2025-07-22T19:26:50.867Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/f6/9021213a36aefc43dc300c89882a52d348f3a7a344fefda145f1b741d0a5/boto3-1.39.12.tar.gz", hash = "sha256:1a715cb40ea9df6b666148b243b5b9adbfa5be50d28e2f660330c0581d94b639", size = 111834, upload-time = "2025-07-23T19:21:22.639Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/72/66/88566a6484e746c0b075f7c9bb248e8548eda0a486de4460d150a41e2d57/boto3-1.39.11-py3-none-any.whl", hash = "sha256:af8f1dad35eceff7658fab43b39b0f55892b6e3dd12308733521cc24dd2c9a02", size = 139900, upload-time = "2025-07-22T19:26:48.706Z" },
+ { url = "https://files.pythonhosted.org/packages/78/b6/c717416e67b1bef84be9c05f2686d353544eda2af5b43af06996a43f6481/boto3-1.39.12-py3-none-any.whl", hash = "sha256:bbf7a8d374b513975c305883ae40e623cc261dbdc25ea86ae435647cae837a15", size = 139899, upload-time = "2025-07-23T19:21:19.552Z" },
]
[[package]]
name = "botocore"
-version = "1.39.11"
+version = "1.39.12"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "jmespath" },
{ name = "python-dateutil" },
{ name = "urllib3" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/6d/d0/9d64261186cff650fe63168441edb4f4cd33f085a74c0c54455630a71f91/botocore-1.39.11.tar.gz", hash = "sha256:953b12909d6799350e346ab038e55b6efe622c616f80aef74d7a6683ffdd972c", size = 14217749, upload-time = "2025-07-22T19:26:40.723Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/16/de/136cb340bc7edc2709e0b4f1b422a101f1756982d774384c5cfb0eb27987/botocore-1.39.12.tar.gz", hash = "sha256:d20b53a196af32ff153cbdbef3cb89e6a9065dc5e90ce23d009e03364601a266", size = 14219106, upload-time = "2025-07-23T19:21:11.155Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1c/2c/8a0b02d60a1dbbae7faa5af30484b016aa3023f9833dfc0d19b0b770dd6a/botocore-1.39.11-py3-none-any.whl", hash = "sha256:1545352931a8a186f3e977b1e1a4542d7d434796e274c3c62efd0210b5ea76dc", size = 13876276, upload-time = "2025-07-22T19:26:35.164Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/af/3b82594c5fa26464b548da35a6affe27a44993f65c4149ed8cf8a5df8387/botocore-1.39.12-py3-none-any.whl", hash = "sha256:60bfa0f1e0eb03997e22254e2e6a0e3f7e02b8f845253a4bb235d9240d195c72", size = 13876938, upload-time = "2025-07-23T19:21:05.944Z" },
]
[[package]]
@@ -647,7 +647,7 @@ wheels = [
[[package]]
name = "camel-ai"
-version = "0.2.73a3"
+version = "0.2.73a4"
source = { editable = "." }
dependencies = [
{ name = "colorama" },
@@ -1562,7 +1562,7 @@ wheels = [
[[package]]
name = "chunkr-ai"
-version = "0.3.0"
+version = "0.3.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "httpx" },
@@ -1572,9 +1572,9 @@ dependencies = [
{ name = "pydantic" },
{ name = "python-dotenv" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/10/bf/0d7e8370874680a9adea0aa2eeb86a5a9518814b6fa656b88bd79c26a580/chunkr_ai-0.3.0.tar.gz", hash = "sha256:b4484054171934dd1e4198563752474d5323166aca75dba7f52f41eb8a150ebb", size = 25664, upload-time = "2025-07-23T06:41:57.164Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/6d/2b/64397cc14e8b4b513b95840619abf1001361ac5b07f189ccf6d25e1323a4/chunkr_ai-0.3.1.tar.gz", hash = "sha256:e435906e9c135ec35038070952e34862662449ebaec91510e3d741d29c627200", size = 25652, upload-time = "2025-07-24T01:14:15.364Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/32/c3/909747d54d7813368665a864f5eba1315d7dbc081f9bced0ec4f1a288655/chunkr_ai-0.3.0-py3-none-any.whl", hash = "sha256:6192e1db4e358e5d4a743f2a13f278eb704f3676e4ab1c73ed8e35218156a3bb", size = 17210, upload-time = "2025-07-23T06:41:56.043Z" },
+ { url = "https://files.pythonhosted.org/packages/89/18/5105429ffd8dd4ffa2c861f37dd1359517fe80202d3818e48fbb0b176603/chunkr_ai-0.3.1-py3-none-any.whl", hash = "sha256:54f29dec44889a91390d58d7de7bc13f6c5b99bfd2f4b1ab3a82ec6a5f814194", size = 17207, upload-time = "2025-07-24T01:14:14.398Z" },
]
[[package]]
@@ -3156,7 +3156,7 @@ wheels = [
[[package]]
name = "huggingface-hub"
-version = "0.33.4"
+version = "0.33.5"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "filelock" },
@@ -3168,9 +3168,9 @@ dependencies = [
{ name = "tqdm" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/4b/9e/9366b7349fc125dd68b9d384a0fea84d67b7497753fe92c71b67e13f47c4/huggingface_hub-0.33.4.tar.gz", hash = "sha256:6af13478deae120e765bfd92adad0ae1aec1ad8c439b46f23058ad5956cbca0a", size = 426674, upload-time = "2025-07-11T12:32:48.694Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/02/16/5716d03e2b48bcc8e32d9b18ed7e55d2ae52e3d5df146cced9fe0581b5ff/huggingface_hub-0.33.5.tar.gz", hash = "sha256:814097e475646d170c44be4c38f7d381ccc4539156a5ac62a54f53aaf1602ed8", size = 427075, upload-time = "2025-07-24T12:30:31.449Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/46/7b/98daa50a2db034cab6cd23a3de04fa2358cb691593d28e9130203eb7a805/huggingface_hub-0.33.4-py3-none-any.whl", hash = "sha256:09f9f4e7ca62547c70f8b82767eefadd2667f4e116acba2e3e62a5a81815a7bb", size = 515339, upload-time = "2025-07-11T12:32:46.346Z" },
+ { url = "https://files.pythonhosted.org/packages/33/d5/d9e9b75d8dc9cf125fff16fb0cd51d864a29e8b46b6880d8808940989405/huggingface_hub-0.33.5-py3-none-any.whl", hash = "sha256:29b4e64982c2064006021af297e1b17d44c85a8aaf90a0d7efeff7e7d2426296", size = 515705, upload-time = "2025-07-24T12:30:29.55Z" },
]
[[package]]
@@ -3778,7 +3778,7 @@ wheels = [
[[package]]
name = "litellm"
-version = "1.74.7"
+version = "1.74.8"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "aiohttp" },
@@ -3793,9 +3793,9 @@ dependencies = [
{ name = "tiktoken" },
{ name = "tokenizers" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/91/4c/e8ffbd01d0f43357315646890524ce53648a3962169498e08a4b8edca6e2/litellm-1.74.7.tar.gz", hash = "sha256:53b809a342154d8543ea96422cf962cd5ea9df293f83dab0cc63b27baadf0ece", size = 9587483, upload-time = "2025-07-20T01:03:11.853Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/c0/16/89c5123c808cbc51e398afc2f1a56da1d75d5e8ef7be417895a3794f0416/litellm-1.74.8.tar.gz", hash = "sha256:6e0a18aecf62459d465ee6d9a2526fcb33719a595b972500519abe95fe4906e0", size = 9639701, upload-time = "2025-07-23T23:38:02.903Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1c/54/eb5fee089d3e5e07a6d60b2565f798c66d43f46ba8f339e77f78cee98462/litellm-1.74.7-py3-none-any.whl", hash = "sha256:d630785faf07813cf0d5e9fb0bb84aaa18aa728297858c58c56f34c0b9190df1", size = 8652488, upload-time = "2025-07-20T01:03:09.226Z" },
+ { url = "https://files.pythonhosted.org/packages/af/4a/eba1b617acb7fa597d169cdd1b5ce98502bd179138f130721a2367d2deb8/litellm-1.74.8-py3-none-any.whl", hash = "sha256:f9433207d1e12e545495e5960fe02d93e413ecac4a28225c522488e1ab1157a1", size = 8713698, upload-time = "2025-07-23T23:38:00.708Z" },
]
[[package]]
@@ -4134,7 +4134,7 @@ wheels = [
[[package]]
name = "mem0ai"
-version = "0.1.114"
+version = "0.1.115"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "openai" },
@@ -4144,9 +4144,9 @@ dependencies = [
{ name = "qdrant-client" },
{ name = "sqlalchemy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/87/47/81f43e173940d000694eb20a70c0a92149c53edd2095e34b618afa41ca7d/mem0ai-0.1.114.tar.gz", hash = "sha256:b27886132eaec78544e8b8b54f0b14a36728f3c99da54cb7cb417150e2fad7e1", size = 113652, upload-time = "2025-07-04T23:31:28.537Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/72/2a/ccf4a8b79a4e67d3a2475599ff8276d3bdccce5c5da2e14deb449e7dfb1a/mem0ai-0.1.115.tar.gz", hash = "sha256:147a6593604188acd30281c40171112aed9f16e196fa528627430c15e00f1e32", size = 115605, upload-time = "2025-07-24T09:49:10.467Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/5e/b7/50d1d1d0600e9e5a861e733644513816011504b9a3d0ba870eadb32a481f/mem0ai-0.1.114-py3-none-any.whl", hash = "sha256:dfb7f0079ee282f5d9782e220f6f09707bcf5e107925d1901dbca30d8dd83f9b", size = 174843, upload-time = "2025-07-04T23:31:26.912Z" },
+ { url = "https://files.pythonhosted.org/packages/85/d5/55a5504077c175f4ff18259672df6fd0eae863236d730c87677d6de43f9a/mem0ai-0.1.115-py3-none-any.whl", hash = "sha256:29310bd5bcab644f7a4dbf87bd1afd878eb68458a2fb36cfcbf20bdff46fbdaf", size = 178065, upload-time = "2025-07-24T09:49:08.54Z" },
]
[[package]]
@@ -4165,7 +4165,7 @@ wheels = [
[[package]]
name = "mistralai"
-version = "1.9.2"
+version = "1.9.3"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "eval-type-backport" },
@@ -4174,9 +4174,9 @@ dependencies = [
{ name = "python-dateutil" },
{ name = "typing-inspection" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/e9/e7/204a54d07c37ebf173590af85bf46cddf8bc343b9d6005804581967b4751/mistralai-1.9.2.tar.gz", hash = "sha256:c0c6d5aff18ffccbc0d22c06fbc84280d71eeaeb08fa4e1ef7326b36629cfb0b", size = 192678, upload-time = "2025-07-10T13:07:08.85Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/28/1d/280c6582124ff4aab3009f0c0282fd48e7fa3a60457f25e9196dc3cc2b8f/mistralai-1.9.3.tar.gz", hash = "sha256:a69806247ed3a67820ecfc9a68b7dbc0c6120dad5e5c3d507bd57fa388b491b7", size = 197355, upload-time = "2025-07-23T19:12:16.916Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/24/eb/f746a3f977d3c0059e4afa19d26b1293f54c6258fcf841957e584be6927f/mistralai-1.9.2-py3-none-any.whl", hash = "sha256:7c3fff00e50227d379dea82052455c2610612a8ef476fa97393191aeeb7ab15f", size = 411581, upload-time = "2025-07-10T13:07:07.226Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/9a/0c48706c646b0391b798f8568f2b1545e54d345805e988003c10450b7b4c/mistralai-1.9.3-py3-none-any.whl", hash = "sha256:962445e7cebadcbfbcd1daf973e853a832dcf7aba6320468fcf7e2cf5f943aec", size = 426266, upload-time = "2025-07-23T19:12:15.414Z" },
]
[[package]]
@@ -8169,20 +8169,21 @@ wheels = [
[[package]]
name = "unstructured-client"
-version = "0.39.1"
+version = "0.40.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "aiofiles" },
{ name = "cryptography" },
+ { name = "httpcore" },
{ name = "httpx" },
{ name = "nest-asyncio" },
{ name = "pydantic" },
{ name = "pypdf" },
{ name = "requests-toolbelt" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/d7/19/af77890f5a0769c751b2d9c939bd5119a55f73c4a8184b3417c86e2606fb/unstructured_client-0.39.1.tar.gz", hash = "sha256:9ae5871a6e76c441d42579eaffc6bffb309d3206ecdfa80216c412dda7609911", size = 91725, upload-time = "2025-07-16T20:10:17.068Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/e5/e7/d65325d9ff93037ab1ad7baac0210892540f7926c34f125655bdb589a2aa/unstructured_client-0.40.0.tar.gz", hash = "sha256:42b557a0f157a4493f8e36e355f5794364b0adfae942269e823fa16032d6dd1c", size = 91967, upload-time = "2025-07-23T16:27:30.195Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a0/d7/dd78a00b5604d5118a5611329929589334e1635ff04b33e1c80e57a0d045/unstructured_client-0.39.1-py3-none-any.whl", hash = "sha256:b0a179bcbbeae1f155712fd646012d2b3d426778c06eb9a3f5971563ad6fa8fa", size = 212568, upload-time = "2025-07-16T20:10:16.015Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/36/5772b7e1815c951e2f1cc6f37599beabd2306a22d0a8fd04acbad8c14255/unstructured_client-0.40.0-py3-none-any.whl", hash = "sha256:d487f293d3ebcb1a48c6c596486f898bd53a86019424c7da9a1d589d2f5e8bf4", size = 212531, upload-time = "2025-07-23T16:27:28.314Z" },
]
[[package]]