forked from fastapi-users/fastapi-users
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
131 lines (119 loc) · 2.76 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[tool.isort]
profile = "black"
[[tool.mypy.overrides]]
module = "motor.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "passlib.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "fastapi_users_db_mongodb.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "fastapi_users_db_sqlalchemy.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "fastapi_users_db_tortoise.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "fastapi_users_db_ormar.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--ignore=test_build.py"
markers = [
"authentication",
"db",
"fastapi_users",
"jwt",
"manager",
"oauth",
"openapi",
"router",
]
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.module]
name = "fastapi_users"
[project]
name = "fastapi-users"
authors = [
{ name = "François Voron", email = "fvoron@gmail.com" }
]
description = "Ready-to-use and customizable users management for FastAPI"
readme = "README.md"
dynamic = ["version"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Framework :: FastAPI",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP :: Session",
]
requires-python = ">=3.7"
dependencies = [
"fastapi >=0.65.2,<0.76.0",
"passlib[bcrypt] ==1.7.4",
"email-validator >=1.1.0,<1.2",
"pyjwt[crypto] ==2.3.0",
"python-multipart ==0.0.5",
"makefun >=1.11.2,<1.14",
"typing-extensions >=4.1.1; python_version < '3.8'",
]
[project.optional-dependencies]
dev = [
"flake8",
"pytest",
"requests",
"isort",
"pytest-asyncio",
"flake8-docstrings",
"mkdocs",
"mkdocs-material",
"mkdocs-mermaid2-plugin",
"black",
"mypy",
"codecov",
"pytest-cov",
"pytest-mock",
"flit",
"markdown-include",
"pygments",
"pymdown-extensions",
"bumpversion",
"httpx-oauth",
"httpx",
"asgi_lifespan",
"uvicorn",
]
sqlalchemy = [
"fastapi-users-db-sqlalchemy >=1.1.0,<2.0.0",
]
sqlalchemy2 = [
"fastapi-users-db-sqlalchemy >=2.0.0",
]
mongodb = [
"fastapi-users-db-mongodb >=1.1.0",
]
tortoise-orm = [
"fastapi-users-db-tortoise >=1.1.0",
]
ormar = [
"fastapi-users-db-ormar >=1.0.0",
]
oauth = [
"httpx-oauth >=0.4,<0.5"
]
redis = [
"aioredis >=2.0.1,<2.1.0",
"hiredis >=2.0.0,<2.1.0",
]
[project.urls]
Documentation = "https://fastapi-users.github.io/fastapi-users/"