Skip to content

Meta Ads (Facebook/Instagram) MCP server for Claude, ChatGPT, Perplexity & Cursor — the Meta node of Pipeboard’s 5-platform family (+ Google, TikTok, Snap, Reddit). Hosted remote MCP, badged Meta Business Partner, free plan — no self-hosting required.

Add duplication functionality for Meta Ads API

Yves Junqueira23acd7452e6f
diff --git a/meta_ads_mcp/core/__init__.py b/meta_ads_mcp/core/__init__.py
index 46200ac..871bd5f 100644
--- a/meta_ads_mcp/core/__init__.py
+++ b/meta_ads_mcp/core/__init__.py
@@ -12,6 +12,7 @@ from .auth import login
from .ads_library import search_ads_archive
from .budget_schedules import create_budget_schedule
from . import reports # Import module to register conditional tools
+from . import duplication # Import module to register conditional duplication tools
__all__ = [
'mcp_server',
diff --git a/meta_ads_mcp/core/duplication.py b/meta_ads_mcp/core/duplication.py
new file mode 100644
index 0000000..5883463
--- /dev/null
+++ b/meta_ads_mcp/core/duplication.py
@@ -0,0 +1,353 @@
+"""Duplication functionality for Meta Ads API."""
+
+import json
+import os
+import httpx
+from typing import Optional, Dict, Any, List, Union
+from .server import mcp_server
+
+
+# Only register the duplication functions if the environment variable is set
+ENABLE_DUPLICATION = bool(os.environ.get("META_ADS_ENABLE_DUPLICATION", ""))
+
+if ENABLE_DUPLICATION:
+ @mcp_server.tool()
+ async def duplicate_campaign(
+ campaign_id: str,
+ name_suffix: Optional[str] = " - Copy",
+ include_ad_sets: bool = True,
+ include_ads: bool = True,
+ include_creatives: bool = True,
+ copy_schedule: bool = False,
+ new_daily_budget: Optional[float] = None,
+ new_status: Optional[str] = "PAUSED"
+ ) -> str:
+ """
+ Duplicate a Meta Ads campaign with all its ad sets and ads.
+
+ **This is a premium feature available with Pipeboard Pro.**
+
+ Args:
+ campaign_id: Meta Ads campaign ID to duplicate
+ name_suffix: Suffix to add to the duplicated campaign name
+ include_ad_sets: Whether to duplicate ad sets within the campaign
+ include_ads: Whether to duplicate ads within ad sets
+ include_creatives: Whether to duplicate ad creatives
+ copy_schedule: Whether to copy the campaign schedule
+ new_daily_budget: Override the daily budget for the new campaign
+ new_status: Status for the new campaign (ACTIVE or PAUSED)
+ """
+ return await _forward_duplication_request(
+ "campaign",
+ campaign_id,
+ {
+ "name_suffix": name_suffix,
+ "include_ad_sets": include_ad_sets,
+ "include_ads": include_ads,
+ "include_creatives": include_creatives,
+ "copy_schedule": copy_schedule,
+ "new_daily_budget": new_daily_budget,
+ "new_status": new_status
+ }
+ )
+
+ @mcp_server.tool()
+ async def duplicate_adset(
+ adset_id: str,
+ target_campaign_id: Optional[str] = None,
+ name_suffix: Optional[str] = " - Copy",
+ include_ads: bool = True,
+ include_creatives: bool = True,
+ new_daily_budget: Optional[float] = None,
+ new_status: Optional[str] = "PAUSED"
+ ) -> str:
+ """
+ Duplicate a Meta Ads ad set with its ads.
+
+ **This is a premium feature available with Pipeboard Pro.**
+
+ Args:
+ adset_id: Meta Ads ad set ID to duplicate
+ target_campaign_id: Campaign ID to move the duplicated ad set to (optional)
+ name_suffix: Suffix to add to the duplicated ad set name
+ include_ads: Whether to duplicate ads within the ad set
+ include_creatives: Whether to duplicate ad creatives
+ new_daily_budget: Override the daily budget for the new ad set
+ new_status: Status for the new ad set (ACTIVE or PAUSED)
+ """
+ return await _forward_duplication_request(
+ "adset",
+ adset_id,
+ {
+ "target_campaign_id": target_campaign_id,
+ "name_suffix": name_suffix,
+ "include_ads": include_ads,
+ "include_creatives": include_creatives,
+ "new_daily_budget": new_daily_budget,
+ "new_status": new_status
+ }
+ )
+
+ @mcp_server.tool()
+ async def duplicate_ad(
+ ad_id: str,
+ target_adset_id: Optional[str] = None,
+ name_suffix: Optional[str] = " - Copy",
+ duplicate_creative: bool = True,
+ new_creative_name: Optional[str] = None,
+ new_status: Optional[str] = "PAUSED"
+ ) -> str:
+ """
+ Duplicate a Meta Ads ad.
+
+ **This is a premium feature available with Pipeboard Pro.**
+
+ Args:
+ ad_id: Meta Ads ad ID to duplicate
+ target_adset_id: Ad set ID to move the duplicated ad to (optional)
+ name_suffix: Suffix to add to the duplicated ad name
+ duplicate_creative: Whether to duplicate the ad creative
+ new_creative_name: Override name for the duplicated creative
+ new_status: Status for the new ad (ACTIVE or PAUSED)
+ """
+ return await _forward_duplication_request(
+ "ad",
+ ad_id,
+ {
+ "target_adset_id": target_adset_id,
+ "name_suffix": name_suffix,
+ "duplicate_creative": duplicate_creative,
+ "new_creative_name": new_creative_name,
+ "new_status": new_status
+ }
+ )
+
+ @mcp_server.tool()
+ async def duplicate_creative(
+ creative_id: str,
+ name_suffix: Optional[str] = " - Copy",
+ new_primary_text: Optional[str] = None,
+ new_headline: Optional[str] = None,
+ new_description: Optional[str] = None,
+ new_cta_type: Optional[str] = None,
+ new_destination_url: Optional[str] = None
+ ) -> str:
+ """
+ Duplicate a Meta Ads creative.
+
+ **This is a premium feature available with Pipeboard Pro.**
+
+ Args:
+ creative_id: Meta Ads creative ID to duplicate
+ name_suffix: Suffix to add to the duplicated creative name
+ new_primary_text: Override the primary text for the new creative
+ new_headline: Override the headline for the new creative
+ new_description: Override the description for the new creative
+ new_cta_type: Override the call-to-action type for the new creative
+ new_destination_url: Override the destination URL for the new creative
+ """
+ return await _forward_duplication_request(
+ "creative",
+ creative_id,
+ {
+ "name_suffix": name_suffix,
+ "new_primary_text": new_primary_text,
+ "new_headline": new_headline,
+ "new_description": new_description,
+ "new_cta_type": new_cta_type,
+ "new_destination_url": new_destination_url
+ }
+ )
+
+
+async def _forward_duplication_request(resource_type: str, resource_id: str, options: Dict[str, Any]) -> str:
+ """
+ Forward duplication request to the cloud-hosted MCP API.
+
+ Args:
+ resource_type: Type of resource to duplicate (campaign, adset, ad, creative)
+ resource_id: ID of the resource to duplicate
+ options: Duplication options
+ """
+ try:
+ # Get the access token from environment or context
+ # In a real implementation, this would come from the MCP request context
+ access_token = os.environ.get("META_ADS_ACCESS_TOKEN")
+
+ if not access_token:
+ return json.dumps({
+ "error": "authentication_required",
+ "message": "Meta Ads access token not found",
+ "details": {
+ "required": "META_ADS_ACCESS_TOKEN environment variable or authenticated session"
+ }
+ }, indent=2)
+
+ # Construct the API endpoint
+ base_url = "https://mcp.pipeboard.co"
+ endpoint = f"{base_url}/api/meta/duplicate/{resource_type}/{resource_id}"
+
+ # Prepare the request
+ headers = {
+ "Authorization": f"Bearer {access_token}",
+ "Content-Type": "application/json",
+ "User-Agent": "meta-ads-mcp/1.0"
+ }
+
+ # Remove None values from options
+ clean_options = {k: v for k, v in options.items() if v is not None}
+
+ # Make the request to the cloud service
+ async with httpx.AsyncClient(timeout=30.0) as client:
+ response = await client.post(
+ endpoint,
+ headers=headers,
+ json=clean_options
+ )
+
+ if response.status_code == 200:
+ result = response.json()
+ return json.dumps(result, indent=2)
+ elif response.status_code == 403:
+ # Premium feature upgrade message
+ return json.dumps({
+ "error": "premium_feature_required",
+ "message": f"Professional {resource_type} duplication is a premium feature",
+ "details": {
+ "feature": f"Meta Ads {resource_type.title()} Duplication",
+ "description": f"Duplicate {resource_type}s with advanced options and bulk operations",
+ "benefits": [
+ "Preserve all targeting and optimization settings",
+ "Bulk duplication across campaigns",
+ "Advanced naming and organization options",
+ "Cross-account duplication support",
+ "Performance-based automatic duplication",
+ "Template system for reusable patterns",
+ "Compliance validation (DSA, youth targeting)",
+ "White-label client reporting"
+ ],
+ "upgrade_url": "https://pipeboard.co/upgrade",
+ "contact_email": "[email protected]",
+ "early_access": "Contact us for early access and special pricing"
+ },
+ "request_parameters": {
+ "resource_type": resource_type,
+ "resource_id": resource_id,
+ **clean_options
+ },
+ "preview": {
+ "would_duplicate": {
+ "resource_type": resource_type,
+ "resource_id": resource_id,
+ "new_name": f"Original Name{options.get('name_suffix', ' - Copy')}",
+ "status": options.get('new_status', 'PAUSED')
+ },
+ "estimated_components": _get_estimated_components(resource_type, options),
+ "supported_features": [
+ "Name customization",
+ "Budget modification",
+ "Status control",
+ "Cross-campaign/adset movement",
+ "Creative text modifications",
+ "Schedule preservation",
+ "Targeting duplication",
+ "Performance tracking"
+ ]
+ }
+ }, indent=2)
+ elif response.status_code == 401:
+ return json.dumps({
+ "error": "authentication_failed",
+ "message": "Invalid or expired access token",
+ "details": {
+ "suggestion": "Please reconnect your Meta Ads account",
+ "status_code": response.status_code
+ }
+ }, indent=2)
+ elif response.status_code == 429:
+ return json.dumps({
+ "error": "rate_limit_exceeded",
+ "message": "Meta API rate limit exceeded",
+ "details": {
+ "suggestion": "Please wait before retrying",
+ "retry_after": response.headers.get("Retry-After", "60")
+ }
+ }, indent=2)
+ else:
+ error_detail = response.text
+ try:
+ error_json = response.json()
+ error_detail = error_json.get("message", error_detail)
+ except:
+ pass
+
+ return json.dumps({
+ "error": "duplication_failed",
+ "message": f"Failed to duplicate {resource_type}",
+ "details": {
+ "status_code": response.status_code,
+ "error_detail": error_detail,
+ "resource_type": resource_type,
+ "resource_id": resource_id
+ }
+ }, indent=2)
+
+ except httpx.TimeoutException:
+ return json.dumps({
+ "error": "request_timeout",
+ "message": "Request to duplication service timed out",
+ "details": {
+ "suggestion": "Please try again later",
+ "timeout": "30 seconds"
+ }
+ }, indent=2)
+
+ except httpx.RequestError as e:
+ return json.dumps({
+ "error": "network_error",
+ "message": "Failed to connect to duplication service",
+ "details": {
+ "error": str(e),
+ "suggestion": "Check your internet connection and try again"
+ }
+ }, indent=2)
+
+ except Exception as e:
+ return json.dumps({
+ "error": "unexpected_error",
+ "message": f"Unexpected error during {resource_type} duplication",
+ "details": {
+ "error": str(e),
+ "resource_type": resource_type,
+ "resource_id": resource_id
+ }
+ }, indent=2)
+
+
+def _get_estimated_components(resource_type: str, options: Dict[str, Any]) -> Dict[str, Any]:
+ """Get estimated components that would be duplicated."""
+ if resource_type == "campaign":
+ components = {"campaigns": 1}
+ if options.get("include_ad_sets", True):
+ components["ad_sets"] = "3-5 (estimated)"
+ if options.get("include_ads", True):
+ components["ads"] = "5-15 (estimated)"
+ if options.get("include_creatives", True):
+ components["creatives"] = "5-15 (estimated)"
+ return components
+ elif resource_type == "adset":
+ components = {"ad_sets": 1}
+ if options.get("include_ads", True):
+ components["ads"] = "2-5 (estimated)"
+ if options.get("include_creatives", True):
+ components["creatives"] = "2-5 (estimated)"
+ return components
+ elif resource_type == "ad":
+ components = {"ads": 1}
+ if options.get("duplicate_creative", True):
+ components["creatives"] = 1
+ return components
+ elif resource_type == "creative":
+ return {"creatives": 1}
+
+ return {}
\ No newline at end of file
diff --git a/pyproject.toml b/pyproject.toml
index a02d1dc..468f178 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -26,6 +26,8 @@ dependencies = [
"Pillow>=10.0.0",
"pathlib>=1.0.1",
"python-dateutil>=2.8.2",
+ "pytest>=8.4.1",
+ "pytest-asyncio>=1.0.0",
]
[project.urls]
diff --git a/tests/test_duplication.py b/tests/test_duplication.py
new file mode 100644
index 0000000..2c4c8d5
--- /dev/null
+++ b/tests/test_duplication.py
@@ -0,0 +1,136 @@
+"""Tests for the duplication module."""
+
+import os
+import json
+import pytest
+from unittest.mock import patch, AsyncMock
+from meta_ads_mcp.core.duplication import ENABLE_DUPLICATION
+
+
+def test_duplication_disabled_by_default():
+ """Test that duplication is disabled by default."""
+ # Test with no environment variable set
+ with patch.dict(os.environ, {}, clear=True):
+ from meta_ads_mcp.core import duplication
+ # When imported fresh, it should be disabled
+ assert not duplication.ENABLE_DUPLICATION
+
+
+def test_duplication_enabled_with_env_var():
+ """Test that duplication is enabled when environment variable is set."""
+ with patch.dict(os.environ, {"META_ADS_ENABLE_DUPLICATION": "1"}):
+ # Need to reload the module to pick up the new environment variable
+ import importlib
+ from meta_ads_mcp.core import duplication
+ importlib.reload(duplication)
+ assert duplication.ENABLE_DUPLICATION
+
+
+async def test_forward_duplication_request_no_token():
+ """Test that _forward_duplication_request handles missing access token."""
+ from meta_ads_mcp.core.duplication import _forward_duplication_request
+
+ with patch.dict(os.environ, {}, clear=True):
+ result = await _forward_duplication_request("campaign", "123456789", {})
+ result_json = json.loads(result)
+
+ assert result_json["error"] == "authentication_required"
+ assert "access token not found" in result_json["message"]
+
+
+async def test_forward_duplication_request_with_token():
+ """Test that _forward_duplication_request makes HTTP request with proper headers."""
+ from meta_ads_mcp.core.duplication import _forward_duplication_request
+
+ mock_response = AsyncMock()
+ mock_response.status_code = 403
+ mock_response.json.return_value = {"error": "premium_feature"}
+
+ with patch.dict(os.environ, {"META_ADS_ACCESS_TOKEN": "test_token"}):
+ with patch("meta_ads_mcp.core.duplication.httpx.AsyncClient") as mock_client:
+ mock_client.return_value.__aenter__.return_value.post.return_value = mock_response
+
+ result = await _forward_duplication_request("campaign", "123456789", {
+ "name_suffix": " - Test"
+ })
+ result_json = json.loads(result)
+
+ # Should return premium feature message for 403 response
+ assert result_json["error"] == "premium_feature_required"
+ assert "premium feature" in result_json["message"]
+
+ # Verify the HTTP request was made with correct parameters
+ mock_client.return_value.__aenter__.return_value.post.assert_called_once()
+ call_args = mock_client.return_value.__aenter__.return_value.post.call_args
+
+ # Check URL
+ assert call_args[0][0] == "https://mcp.pipeboard.co/api/meta/duplicate/campaign/123456789"
+
+ # Check headers
+ headers = call_args[1]["headers"]
+ assert headers["Authorization"] == "Bearer test_token"
+ assert headers["Content-Type"] == "application/json"
+
+ # Check JSON payload
+ json_payload = call_args[1]["json"]
+ assert json_payload == {"name_suffix": " - Test"}
+
+
+async def test_duplicate_campaign_function_available_when_enabled():
+ """Test that duplicate_campaign function is available when feature is enabled."""
+ with patch.dict(os.environ, {"META_ADS_ENABLE_DUPLICATION": "1"}):
+ # Reload module to pick up environment variable
+ import importlib
+ from meta_ads_mcp.core import duplication
+ importlib.reload(duplication)
+
+ # Function should be available
+ assert hasattr(duplication, 'duplicate_campaign')
+
+ # Test that it calls the forwarding function
+ with patch("meta_ads_mcp.core.duplication._forward_duplication_request") as mock_forward:
+ mock_forward.return_value = '{"success": true}'
+
+ result = await duplication.duplicate_campaign("123456789")
+
+ mock_forward.assert_called_once_with(
+ "campaign",
+ "123456789",
+ {
+ "name_suffix": " - Copy",
+ "include_ad_sets": True,
+ "include_ads": True,
+ "include_creatives": True,
+ "copy_schedule": False,
+ "new_daily_budget": None,
+ "new_status": "PAUSED"
+ }
+ )
+
+
+def test_get_estimated_components():
+ """Test the _get_estimated_components helper function."""
+ from meta_ads_mcp.core.duplication import _get_estimated_components
+
+ # Test campaign with all components
+ campaign_result = _get_estimated_components("campaign", {
+ "include_ad_sets": True,
+ "include_ads": True,
+ "include_creatives": True
+ })
+ assert campaign_result["campaigns"] == 1
+ assert "ad_sets" in campaign_result
+ assert "ads" in campaign_result
+ assert "creatives" in campaign_result
+
+ # Test adset
+ adset_result = _get_estimated_components("adset", {"include_ads": True})
+ assert adset_result["ad_sets"] == 1
+ assert "ads" in adset_result
+
+ # Test creative only
+ creative_result = _get_estimated_components("creative", {})
+ assert creative_result == {"creatives": 1}
\ No newline at end of file
diff --git a/uv.lock b/uv.lock
index 9b21cf1..3b015c6 100644
--- a/uv.lock
+++ b/uv.lock
@@ -193,6 +193,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442 },
]
+[[package]]
+name = "iniconfig"
+version = "2.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f2/97/ebf4da567aa6827c909642694d71c9fcf53e5b504f2d96afea02718862f3/iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7", size = 4793 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760", size = 6050 },
+]
+
[[package]]
name = "jsonschema"
version = "4.24.0"
@@ -270,13 +279,15 @@ wheels = [
[[package]]
name = "meta-ads-mcp"
-version = "0.3.10"
+version = "0.4.0"
source = { editable = "." }
dependencies = [
{ name = "httpx" },
{ name = "mcp", extra = ["cli"] },
{ name = "pathlib" },
{ name = "pillow" },
+ { name = "pytest" },
+ { name = "pytest-asyncio" },
{ name = "python-dateutil" },
{ name = "python-dotenv" },
{ name = "requests" },
@@ -288,11 +299,22 @@ requires-dist = [
{ name = "mcp", extras = ["cli"], specifier = ">=1.10.1" },
{ name = "pathlib", specifier = ">=1.0.1" },
{ name = "pillow", specifier = ">=10.0.0" },
+ { name = "pytest", specifier = ">=8.4.1" },
+ { name = "pytest-asyncio", specifier = ">=1.0.0" },
{ name = "python-dateutil", specifier = ">=2.8.2" },
{ name = "python-dotenv", specifier = ">=1.1.0" },
{ name = "requests", specifier = ">=2.32.3" },
]
+[[package]]
+name = "packaging"
+version = "25.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/a1/d4/1fc4078c65507b51b96ca8f8c3ba19e6a61c8253c72794544580a7b6c24d/packaging-25.0.tar.gz", hash = "sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f", size = 165727 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895e234f4d07f7545804097de4b666afd8/packaging-25.0-py3-none-any.whl", hash = "sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484", size = 66469 },
+]
+
[[package]]
name = "pathlib"
version = "1.0.1"
@@ -369,6 +391,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/41/67/936f9814bdd74b2dfd4822f1f7725ab5d8ff4103919a1664eb4874c58b2f/pillow-11.1.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:4637b88343166249fe8aa94e7c4a62a180c4b3898283bb5d3d2fd5fe10d8e4e0", size = 2626353 },
]
+[[package]]
+name = "pluggy"
+version = "1.6.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538 },
+]
+
[[package]]
name = "pydantic"
version = "2.11.3"
@@ -493,6 +524,36 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/8a/0b/9fcc47d19c48b59121088dd6da2488a49d5f72dacf8262e2790a1d2c7d15/pygments-2.19.1-py3-none-any.whl", hash = "sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c", size = 1225293 },
]
+[[package]]
+name = "pytest"
+version = "8.4.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+ { name = "exceptiongroup", marker = "python_full_version < '3.11'" },
+ { name = "iniconfig" },
+ { name = "packaging" },
+ { name = "pluggy" },
+ { name = "pygments" },
+ { name = "tomli", marker = "python_full_version < '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/08/ba/45911d754e8eba3d5a841a5ce61a65a685ff1798421ac054f85aa8747dfb/pytest-8.4.1.tar.gz", hash = "sha256:7c67fd69174877359ed9371ec3af8a3d2b04741818c51e5e99cc1742251fa93c", size = 1517714 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/29/16/c8a903f4c4dffe7a12843191437d7cd8e32751d5de349d45d3fe69544e87/pytest-8.4.1-py3-none-any.whl", hash = "sha256:539c70ba6fcead8e78eebbf1115e8b589e7565830d7d006a8723f19ac8a0afb7", size = 365474 },
+]
+
+[[package]]
+name = "pytest-asyncio"
+version = "1.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pytest" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/d0/d4/14f53324cb1a6381bef29d698987625d80052bb33932d8e7cbf9b337b17c/pytest_asyncio-1.0.0.tar.gz", hash = "sha256:d15463d13f4456e1ead2594520216b225a16f781e144f8fdf6c5bb4667c48b3f", size = 46960 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/30/05/ce271016e351fddc8399e546f6e23761967ee09c8c568bbfbecb0c150171/pytest_asyncio-1.0.0-py3-none-any.whl", hash = "sha256:4f024da9f1ef945e680dc68610b52550e36590a67fd31bb3b4943979a1f90ef3", size = 15976 },
+]
+
[[package]]
name = "python-dateutil"
version = "2.9.0.post0"
@@ -744,6 +805,45 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/a0/4b/528ccf7a982216885a1ff4908e886b8fb5f19862d1962f56a3fce2435a70/starlette-0.46.1-py3-none-any.whl", hash = "sha256:77c74ed9d2720138b25875133f3a2dae6d854af2ec37dceb56aef370c1d8a227", size = 71995 },
]
+[[package]]
+name = "tomli"
+version = "2.2.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/18/87/302344fed471e44a87289cf4967697d07e532f2421fdaf868a303cbae4ff/tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff", size = 17175 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/43/ca/75707e6efa2b37c77dadb324ae7d9571cb424e61ea73fad7c56c2d14527f/tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249", size = 131077 },
+ { url = "https://files.pythonhosted.org/packages/c7/16/51ae563a8615d472fdbffc43a3f3d46588c264ac4f024f63f01283becfbb/tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6", size = 123429 },
+ { url = "https://files.pythonhosted.org/packages/f1/dd/4f6cd1e7b160041db83c694abc78e100473c15d54620083dbd5aae7b990e/tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ece47d672db52ac607a3d9599a9d48dcb2f2f735c6c2d1f34130085bb12b112a", size = 226067 },
+ { url = "https://files.pythonhosted.org/packages/a9/6b/c54ede5dc70d648cc6361eaf429304b02f2871a345bbdd51e993d6cdf550/tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6972ca9c9cc9f0acaa56a8ca1ff51e7af152a9f87fb64623e31d5c83700080ee", size = 236030 },
+ { url = "https://files.pythonhosted.org/packages/1f/47/999514fa49cfaf7a92c805a86c3c43f4215621855d151b61c602abb38091/tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c954d2250168d28797dd4e3ac5cf812a406cd5a92674ee4c8f123c889786aa8e", size = 240898 },
+ { url = "https://files.pythonhosted.org/packages/73/41/0a01279a7ae09ee1573b423318e7934674ce06eb33f50936655071d81a24/tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8dd28b3e155b80f4d54beb40a441d366adcfe740969820caf156c019fb5c7ec4", size = 229894 },
+ { url = "https://files.pythonhosted.org/packages/55/18/5d8bc5b0a0362311ce4d18830a5d28943667599a60d20118074ea1b01bb7/tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e59e304978767a54663af13c07b3d1af22ddee3bb2fb0618ca1593e4f593a106", size = 245319 },
+ { url = "https://files.pythonhosted.org/packages/92/a3/7ade0576d17f3cdf5ff44d61390d4b3febb8a9fc2b480c75c47ea048c646/tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:33580bccab0338d00994d7f16f4c4ec25b776af3ffaac1ed74e0b3fc95e885a8", size = 238273 },
+ { url = "https://files.pythonhosted.org/packages/72/6f/fa64ef058ac1446a1e51110c375339b3ec6be245af9d14c87c4a6412dd32/tomli-2.2.1-cp311-cp311-win32.whl", hash = "sha256:465af0e0875402f1d226519c9904f37254b3045fc5084697cefb9bdde1ff99ff", size = 98310 },
+ { url = "https://files.pythonhosted.org/packages/6a/1c/4a2dcde4a51b81be3530565e92eda625d94dafb46dbeb15069df4caffc34/tomli-2.2.1-cp311-cp311-win_amd64.whl", hash = "sha256:2d0f2fdd22b02c6d81637a3c95f8cd77f995846af7414c5c4b8d0545afa1bc4b", size = 108309 },
+ { url = "https://files.pythonhosted.org/packages/52/e1/f8af4c2fcde17500422858155aeb0d7e93477a0d59a98e56cbfe75070fd0/tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4a8f6e44de52d5e6c657c9fe83b562f5f4256d8ebbfe4ff922c495620a7f6cea", size = 132762 },
+ { url = "https://files.pythonhosted.org/packages/03/b8/152c68bb84fc00396b83e7bbddd5ec0bd3dd409db4195e2a9b3e398ad2e3/tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8d57ca8095a641b8237d5b079147646153d22552f1c637fd3ba7f4b0b29167a8", size = 123453 },
+ { url = "https://files.pythonhosted.org/packages/c8/d6/fc9267af9166f79ac528ff7e8c55c8181ded34eb4b0e93daa767b8841573/tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e340144ad7ae1533cb897d406382b4b6fede8890a03738ff1683af800d54192", size = 233486 },
+ { url = "https://files.pythonhosted.org/packages/5c/51/51c3f2884d7bab89af25f678447ea7d297b53b5a3b5730a7cb2ef6069f07/tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:db2b95f9de79181805df90bedc5a5ab4c165e6ec3fe99f970d0e302f384ad222", size = 242349 },
+ { url = "https://files.pythonhosted.org/packages/ab/df/bfa89627d13a5cc22402e441e8a931ef2108403db390ff3345c05253935e/tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:40741994320b232529c802f8bc86da4e1aa9f413db394617b9a256ae0f9a7f77", size = 252159 },
+ { url = "https://files.pythonhosted.org/packages/9e/6e/fa2b916dced65763a5168c6ccb91066f7639bdc88b48adda990db10c8c0b/tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:400e720fe168c0f8521520190686ef8ef033fb19fc493da09779e592861b78c6", size = 237243 },
+ { url = "https://files.pythonhosted.org/packages/b4/04/885d3b1f650e1153cbb93a6a9782c58a972b94ea4483ae4ac5cedd5e4a09/tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:02abe224de6ae62c19f090f68da4e27b10af2b93213d36cf44e6e1c5abd19fdd", size = 259645 },
+ { url = "https://files.pythonhosted.org/packages/9c/de/6b432d66e986e501586da298e28ebeefd3edc2c780f3ad73d22566034239/tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b82ebccc8c8a36f2094e969560a1b836758481f3dc360ce9a3277c65f374285e", size = 244584 },
+ { url = "https://files.pythonhosted.org/packages/1c/9a/47c0449b98e6e7d1be6cbac02f93dd79003234ddc4aaab6ba07a9a7482e2/tomli-2.2.1-cp312-cp312-win32.whl", hash = "sha256:889f80ef92701b9dbb224e49ec87c645ce5df3fa2cc548664eb8a25e03127a98", size = 98875 },
+ { url = "https://files.pythonhosted.org/packages/ef/60/9b9638f081c6f1261e2688bd487625cd1e660d0a85bd469e91d8db969734/tomli-2.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:7fc04e92e1d624a4a63c76474610238576942d6b8950a2d7f908a340494e67e4", size = 109418 },
+ { url = "https://files.pythonhosted.org/packages/04/90/2ee5f2e0362cb8a0b6499dc44f4d7d48f8fff06d28ba46e6f1eaa61a1388/tomli-2.2.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f4039b9cbc3048b2416cc57ab3bda989a6fcf9b36cf8937f01a6e731b64f80d7", size = 132708 },
+ { url = "https://files.pythonhosted.org/packages/c0/ec/46b4108816de6b385141f082ba99e315501ccd0a2ea23db4a100dd3990ea/tomli-2.2.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:286f0ca2ffeeb5b9bd4fcc8d6c330534323ec51b2f52da063b11c502da16f30c", size = 123582 },
+ { url = "https://files.pythonhosted.org/packages/a0/bd/b470466d0137b37b68d24556c38a0cc819e8febe392d5b199dcd7f578365/tomli-2.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a92ef1a44547e894e2a17d24e7557a5e85a9e1d0048b0b5e7541f76c5032cb13", size = 232543 },
+ { url = "https://files.pythonhosted.org/packages/d9/e5/82e80ff3b751373f7cead2815bcbe2d51c895b3c990686741a8e56ec42ab/tomli-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9316dc65bed1684c9a98ee68759ceaed29d229e985297003e494aa825ebb0281", size = 241691 },
+ { url = "https://files.pythonhosted.org/packages/05/7e/2a110bc2713557d6a1bfb06af23dd01e7dde52b6ee7dadc589868f9abfac/tomli-2.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e85e99945e688e32d5a35c1ff38ed0b3f41f43fad8df0bdf79f72b2ba7bc5272", size = 251170 },
+ { url = "https://files.pythonhosted.org/packages/64/7b/22d713946efe00e0adbcdfd6d1aa119ae03fd0b60ebed51ebb3fa9f5a2e5/tomli-2.2.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ac065718db92ca818f8d6141b5f66369833d4a80a9d74435a268c52bdfa73140", size = 236530 },
+ { url = "https://files.pythonhosted.org/packages/38/31/3a76f67da4b0cf37b742ca76beaf819dca0ebef26d78fc794a576e08accf/tomli-2.2.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:d920f33822747519673ee656a4b6ac33e382eca9d331c87770faa3eef562aeb2", size = 258666 },
+ { url = "https://files.pythonhosted.org/packages/07/10/5af1293da642aded87e8a988753945d0cf7e00a9452d3911dd3bb354c9e2/tomli-2.2.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a198f10c4d1b1375d7687bc25294306e551bf1abfa4eace6650070a5c1ae2744", size = 243954 },
+ { url = "https://files.pythonhosted.org/packages/5b/b9/1ed31d167be802da0fc95020d04cd27b7d7065cc6fbefdd2f9186f60d7bd/tomli-2.2.1-cp313-cp313-win32.whl", hash = "sha256:d3f5614314d758649ab2ab3a62d4f2004c825922f9e370b29416484086b264ec", size = 98724 },
+ { url = "https://files.pythonhosted.org/packages/c7/32/b0963458706accd9afcfeb867c0f9175a741bf7b19cd424230714d722198/tomli-2.2.1-cp313-cp313-win_amd64.whl", hash = "sha256:a38aa0308e754b0e3c67e344754dff64999ff9b513e691d0e786265c93583c69", size = 109383 },
+ { url = "https://files.pythonhosted.org/packages/6e/c2/61d3e0f47e2b74ef40a68b9e6ad5984f6241a942f7cd3bbfbdbd03861ea9/tomli-2.2.1-py3-none-any.whl", hash = "sha256:cb55c73c5f4408779d0cf3eef9f762b9c9f147a77de7b258bef0a5628adc85cc", size = 14257 },
+]
+
[[package]]
name = "typer"
version = "0.15.2"