-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
127 lines (112 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
[tool.isort]
profile = "black"
[[tool.mypy.overrides]]
module = "decouple.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "jwt.*"
ignore_missing_imports = true
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
extend-select = ["UP"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "regex_commit"
commit_extra_args = ["-e"]
path = "fastapi_auth_jwt/__init__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
]
[tool.hatch.envs.default]
features = [
"redis",
]
dependencies = [
"pytest",
"isort",
"pytest-asyncio",
"mike",
"mypy",
"pytest-cov",
"pytest-mock",
"freezegun",
"httpx>=0.23.3",
"pygments",
"pymdown-extensions",
"ruff",
]
[tool.hatch.envs.default.scripts]
lint = [
"isort ./fastapi_auth_jwt ./tests",
"ruff format .",
"ruff check --fix . --ignore F401",
"mypy fastapi_auth_jwt/",
]
lint-check = [
"isort --check-only ./fastapi_auth_jwt ./tests",
"ruff format .",
"ruff check . --ignore F401",
"mypy fastapi_auth_jwt/",
]
[tool.hatch.envs.test.scripts]
test = "pytest --cov=fastapi_auth_jwt/"
test-cov-xml = "pytest --cov=fastapi_auth_jwt/"
[build-system]
requires = ["hatchling", "hatch-regex-commit"]
build-backend = "hatchling.build"
[project]
name = "fastapi-auth-jwt"
authors = [
{ name = "deepmancer", email = "[email protected]" },
]
description = 'FastAPI-Auth-JWT is a ready-to-use and easy-to-customize authentication middleware for FastAPI.'
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.8"
license = "MIT"
keywords = [
"fastapi",
"fastapi-user-auth",
"fastapi-auth-jwt",
"fastapi-auth-middleware",
"fastapi-users",
"fastapi-jwt-auth",
"fastapi-jwt",
"fastapi-middleware",
"redis",
]
classifiers = [
"Framework :: FastAPI",
"Framework :: AsyncIO",
"License :: OSI Approved :: MIT License",
"Topic :: Internet :: WWW/HTTP :: Session",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
]
dependencies = [
"fastapi >=0.65.2",
"pydantic>=2.0.0",
"python-decouple",
"starlette>=0.17.1",
"PyJWT>=2.8.0",
]
[project.optional-dependencies]
redis = [
"redis >=4.3.3,<6.0.0",
]
[project.urls]
Documentation = "https://github.com/deepmancer/fastapi-auth-jwt#readme"
Issues = "https://github.com/deepmancer/fastapi-auth-jwt/issues"
Source = "https://github.com/deepmancer/fastapi-auth-jwt"