-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 2.12 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (65 loc) · 2.12 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
[build-system]
requires = ["hatchling>=1.18"]
build-backend = "hatchling.build"
[project]
name = "acedatacloud-x402"
version = "0.1.0"
description = "X402 payment protocol client for AceDataCloud APIs. Plugs into the acedatacloud SDK as a payment_handler."
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "AceDataCloud", email = "dev@acedata.cloud" }]
requires-python = ">=3.10"
keywords = ["x402", "acedatacloud", "payment", "solana", "base", "evm", "usdc"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"httpx>=0.25",
"eth-account>=0.11",
"eth-utils>=4.0",
"solders>=0.21",
"base58>=2.1",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"ruff>=0.6",
"mypy>=1.10",
"web3>=6.20",
# Official x402 SDK — reference for the envelope-parity guard
# (tests/test_official_sdk_parity.py). The guard fails if our hand-rolled
# signing drifts from the spec, de-risking a future migration to wrap it.
"x402>=2.16",
]
cli = [
"web3>=6.20",
]
[project.scripts]
acedatacloud-x402 = "acedatacloud_x402.cli:main"
[project.urls]
Homepage = "https://github.com/AceDataCloud/X402Client"
Repository = "https://github.com/AceDataCloud/X402Client"
Issues = "https://github.com/AceDataCloud/X402Client/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/acedatacloud_x402"]
[tool.hatch.build.targets.sdist]
include = ["src/", "README.md", "pyproject.toml"]
[tool.ruff]
line-length = 100
target-version = "py310"
# Newer ruff versions scan Markdown code blocks under `format --check` but can
# only reformat them in experimental preview mode — so a README snippet flags as
# "would be reformatted" with no non-preview way to fix it. Docs aren't Python;
# exclude them from formatting.
extend-exclude = ["*.md"]
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "UP", "SIM"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]