-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (74 loc) · 2.71 KB
/
pyproject.toml
File metadata and controls
80 lines (74 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "agentscore-commerce"
version = "1.3.5"
description = "Agent commerce SDK for Python — identity middleware (FastAPI, Flask, Django, AIOHTTP, Sanic, ASGI) + payment helpers + 402 builders + discovery + Stripe multichain. The full merchant-side toolkit for AgentScore-powered agent commerce."
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
keywords = ["agentscore", "agent-commerce", "agentic-payments", "402", "x402", "mpp", "machine-payments-protocol", "fastapi", "starlette", "flask", "django", "aiohttp", "sanic", "middleware", "trust", "reputation", "kyc", "identity", "stripe", "tempo", "solana", "base", "ai-agent"]
dependencies = [
"httpx>=0.25.0,<1.0.0",
"agentscore-py>=2.1.0",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Framework :: FastAPI",
"Framework :: Flask",
"Framework :: Django",
"Framework :: AsyncIO",
"Topic :: Software Development :: Libraries",
]
[project.optional-dependencies]
starlette = ["starlette>=0.27.0"]
fastapi = ["fastapi>=0.100.0"]
flask = ["flask>=2.0.0"]
django = ["django>=4.0"]
aiohttp = ["aiohttp>=3.8.0"]
sanic = ["sanic>=23.0.0"]
stripe = ["stripe>=11.0.0"]
# Payment-protocol peer deps for create_x402_server / create_mppx_server.
# Installed only by merchants who accept the corresponding rail.
# Note: there is no Python `coinbase-x402` package. The Coinbase facilitator is
# reached through the main `x402` package's HTTPFacilitatorClient pointed at
# https://api.cdp.coinbase.com/platform/v2/x402 with a CDP-JWT auth provider;
# `cdp-sdk` is the JWT minter. Install via the `coinbase` extra when needed.
x402 = ["x402[evm,fastapi]>=2.9,<3"]
mppx = ["pympp[server,tempo,stripe]>=0.6,<1"]
coinbase = ["cdp-sdk>=1.0,<2"]
[project.urls]
Homepage = "https://agentscore.sh"
Repository = "https://github.com/agentscore/python-commerce"
Issues = "https://github.com/agentscore/python-commerce/issues"
[dependency-groups]
dev = [
"ruff>=0.11.0",
"ty>=0.0.32",
"vulture>=2.15",
"pytest>=7.0",
"pytest-asyncio>=0.21",
"respx>=0.21",
"anyio[trio]>=4.0",
"starlette>=0.27.0",
"fastapi>=0.100.0",
"flask>=2.0.0",
"django>=4.0",
"aiohttp>=3.8.0",
"sanic>=23.0.0",
"sanic-testing>=24.0.0",
"pytest-cov>=6.0",
"python-dotenv>=1.2.2",
"stripe>=11.0.0",
"lefthook>=2.1.6",
"cdp-sdk>=1.0,<2",
]
[tool.ty.src]
include = ["agentscore_commerce"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--cov=agentscore_commerce --cov-report=term-missing --cov-fail-under=95"