-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
109 lines (91 loc) · 3.1 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
[tool.poetry]
name = "popol"
version = "0.6.0"
description = "Adding new power to your FastAPI application ⛅"
authors = ["aprilahijriyan <[email protected]>"]
license = "MIT"
maintainers = ["aprilahijriyan <[email protected]>"]
readme = "README.md"
homepage = "https://github.com/aprilahijriyan/popol"
repository = "https://github.com/aprilahijriyan/popol"
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Topic :: Internet",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
[tool.poetry.dependencies]
python = "^3.8"
fastapi = {version = "^0.110.2", optional = true}
uvicorn = {extras = ["standard"], version = "^0.29.0", optional = true}
pydantic = {extras = ["email"], version = "^2.7.0", optional = true}
asyncer = "^0.0.5"
typer = {version = "^0.12.3"}
redis = {version = "^4.3.4", optional = true}
saq = {version = "^0.12.5", optional = true}
sqlmodel = {version = "^0.0.16", optional = true}
pyhumps = {version = "^3.8.0", optional = true}
aiosmtplib = {version = "^3.0.1", optional = true}
pydantic-settings = {version = "^2.2.1", optional = true}
[tool.poetry.extras]
# units
sqlmodel = ["sqlmodel", "pyhumps"]
redis = ["redis"]
saq = ["saq"]
aiosmtplib = ["aiosmtplib"]
# bundles
cache = ["redis"]
background_jobs = ["saq"]
orm = ["sqlmodel", "pyhumps"]
fastapi = ["fastapi", "uvicorn", "pydantic", "pydantic-settings"]
# all
all = ["fastapi", "uvicorn", "pydantic", "pydantic-settings", "sqlmodel", "pyhumps", "redis", "saq", "aiosmtplib"]
[tool.poetry.group.dev.dependencies]
ipython = "^8.1.1"
pre-commit = "^2.17.0"
[tool.poetry.group.tests]
optional = true
[tool.poetry.group.tests.dependencies]
pytest = "^8.1.1"
pytest-cov = "^5.0.0"
asgi-lifespan = "^2.1.0"
pydantic = "^2.7.1"
pydantic-settings = "^2.2.1"
pytest-asyncio = "^0.23.6"
httpx = "^0.27.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs-material = "^8.2.5"
mkdocs-git-revision-date-plugin = "^0.3.2"
mkdocs-git-revision-date-localized-plugin = "^1.0.0"
mkdocstrings = "^0.18.1"
mkdocs-include-dir-to-nav = "^1.2.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.poetry.scripts]
popol = "popol.__main__:popol"
[tool.poetry.plugins."popol.commands"]
saq = "popol.jobs.saq.cli:saq"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/aprilahijriyan/popol/issues"
[tool.pytest.ini_options]
addopts = "--cov=popol -v --cov-report xml --cov-report term "
testpaths = ["tests"]
# asyncio_mode = "auto"