-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
62 lines (55 loc) · 1.94 KB
/
pyproject.toml
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
[project]
name = "clean-python"
description = "Clean architecture in Python"
authors = [
{name = "Nelen & Schuurmans", email = "info@nelen-schuurmans.nl"},
]
readme = "README.md"
license = {text = "MIT"}
# Get classifier strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers = ["Programming Language :: Python"]
keywords = []
requires-python = ">=3.10"
dependencies = ["pydantic==2.9.*", "inject==5.*", "asgiref==3.8.*", "blinker==1.8.*", "async-lru==2.0.*", "backoff==2.2.*", "pyyaml==6.0.*"]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-asyncio==0.21.*", # https://github.com/pytest-dev/pytest-asyncio/issues/706
"debugpy",
"httpx",
"uvicorn",
"python-multipart",
"pytest-celery<1"
]
fastapi = ["fastapi==0.115.*"]
auth = ["pyjwt==2.9.*", "cryptography==43.0.*"] # pyjwt[crypto]
amqp = ["pika==1.3.*"]
celery = ["celery==5.4.*"]
fluentbit = ["fluent-logger"]
sql = ["sqlalchemy==2.0.*", "asyncpg==0.30.*", "greenlet==3.*"]
sql-sync = ["sqlalchemy==2.0.*"] # also requires psycopg2 or psycopg2-binary
# help the resolver a bit by copying version pins from aioboto3 / aiobotocore
s3 = ["aioboto3==13.1.*", "aiobotocore==2.13.1", "boto3==1.34.131", "types-aioboto3[s3]"]
s3-sync = ["boto3==1.34.*", "boto3-stubs[s3]"]
api-client = ["aiohttp==3.10.*", "urllib3==2.0.*"]
profiler = ["yappi"]
debugger = ["debugpy"]
nanoid = ["nanoid==2.0.0"]
[project.urls]
homepage = "https://github.com/nens/clean-python"
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
include = ["clean_python*"]
# package names should match these glob patterns (["*"] by default)
[tool.setuptools.dynamic]
version = {attr = "clean_python.__version__"}
[tool.isort]
profile = "black"
force_alphabetical_sort_within_sections = true
force_single_line = true
[tool.pytest.ini_options]
norecursedirs=".venv data doc etc *.egg-info misc var build lib include"
python_files = "test_*.py"