Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (82 loc) · 2.44 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (82 loc) · 2.44 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "proofage"
dynamic = ["version"]
description = "Python client for the ProofAge age and identity verification API"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.10"
authors = [{ name = "ProofAge", email = "support@proofage.xyz" }]
keywords = ["age verification", "identity verification", "kyc", "proofage", "webhooks"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"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",
"Programming Language :: Python :: 3.14",
"Topic :: Security",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.27,<1",
"pydantic>=2.6,<3",
]
[project.optional-dependencies]
fastapi = ["fastapi>=0.100"]
django = ["django>=5.2"]
flask = ["flask>=3.0"]
[project.urls]
Homepage = "https://proofage.xyz"
Repository = "https://github.com/ProofAge/python-sdk"
Changelog = "https://github.com/ProofAge/python-sdk/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"aiogram>=3.10",
"django>=5.2",
"fastapi>=0.100",
"flask>=3.0",
"mypy>=1.11",
"packaging>=24",
"pytest>=8",
"respx>=0.22",
"ruff>=0.6",
]
[tool.hatch.version]
path = "src/proofage/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/proofage"]
[tool.hatch.build.targets.wheel.force-include]
"AGENTS.md" = "proofage/AGENTS.md"
[tool.hatch.build.targets.sdist]
include = ["src/proofage", "tests", "examples", "AGENTS.md", "README.md", "CHANGELOG.md", "LICENSE"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = ["docs"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
[tool.mypy]
python_version = "3.10"
strict = true
files = ["src", "examples"]
plugins = ["pydantic.mypy"]
# Django ships no type information, so its decorators and return values are `Any`
# (`views` is the Django example).
[[tool.mypy.overrides]]
module = ["django.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["proofage.integrations.django", "views"]
disallow_untyped_decorators = false
warn_return_any = false