-
Notifications
You must be signed in to change notification settings - Fork 270
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (99 loc) · 2.42 KB
/
pyproject.toml
File metadata and controls
113 lines (99 loc) · 2.42 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[build-system]
requires = ["uv_build>=0.9.17,<0.10.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "sqladmin"
module-root = ""
[project]
name = "sqladmin"
version = "0.23.0"
description = 'SQLAlchemy admin for FastAPI and Starlette'
readme = "README.md"
requires-python = ">=3.9"
license = "BSD-3-Clause"
keywords = ["sqlalchemy", "fastapi", "starlette", "admin"]
authors = [{ name = "Amin Alaee", email = "me@aminalaee.dev" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"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",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Topic :: Internet :: WWW/HTTP",
"Operating System :: OS Independent",
]
dependencies = [
"starlette",
"wtforms >=3.1, <3.2",
"jinja2",
"python-multipart",
"sqlalchemy >= 2.0",
]
[project.optional-dependencies]
full = ["itsdangerous"]
[project.urls]
Documentation = "https://aminalaee.github.io/sqladmin/"
Issues = "https://github.com/aminalaee/sqladmin/issues"
Source = "https://github.com/aminalaee/sqladmin"
[dependency-groups]
dev = [
"aiosqlite",
"arrow",
"asyncpg",
"babel",
"build",
"colour",
"coverage",
"email-validator",
"fastapi-storages",
"greenlet",
"httpx",
"itsdangerous",
"phonenumbers",
"pillow",
"psycopg2-binary",
"psycopg[binary]",
"pytest",
"python-dateutil",
"sqlalchemy_utils",
"sqlmodel",
"bandit",
]
lint = ["mypy==1.19.1", "ruff==0.15.4", "types-wtforms>=3.2.1.20250809"]
docs = [
"mkdocs-material==9.7.1",
"mkdocs==1.6.1",
"mkdocstrings[python]==0.30.1",
]
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
show_error_codes = true
check_untyped_defs = true
strict_optional = true
no_implicit_optional = true
disable_error_code = ["var-annotated"]
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[tool.ruff]
lint.select = ["E", "F", "I"]
[tool.coverage.run]
source_pkgs = ["sqladmin", "tests"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"pragma: nocover",
"except NotImplementedError",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]
fail_under = 95
show_missing = true
skip_covered = true