-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (70 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (70 loc) · 2.21 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "codespar"
version = "0.11.0"
description = "Python SDK for CodeSpar — commerce infrastructure for AI agents in Latin America."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
{ name = "CodeSpar", email = "hello@codespar.dev" },
]
keywords = ["ai", "agents", "commerce", "latam", "mcp", "stripe", "pix", "nfe"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"httpx>=0.27.0",
]
[project.optional-dependencies]
# Offline V3 mandate verification (codespar.mandate) needs Ed25519, which is
# not in the stdlib. Opt in with `pip install codespar[verify]`; the base
# package keeps its single runtime dependency (httpx).
verify = [
"cryptography>=42",
]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-httpx>=0.30",
"cryptography>=42",
"ruff>=0.6",
"mypy>=1.11",
]
[project.urls]
Homepage = "https://codespar.dev"
Documentation = "https://docs.codespar.dev"
Repository = "https://github.com/codespar/codespar"
Issues = "https://github.com/codespar/codespar/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/codespar"]
# PEP 561 — the empty `py.typed` marker signals to mypy / pyright /
# pyrefly that this package ships inline type hints. Without it,
# downstream projects lose type info even though every public fn
# is annotated.
[tool.hatch.build.targets.wheel.force-include]
"src/codespar/py.typed" = "codespar/py.typed"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_ignores = true