-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (94 loc) · 2.06 KB
/
pyproject.toml
File metadata and controls
105 lines (94 loc) · 2.06 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
[build-system]
requires = ["uv_build>=0.9.17,<0.10.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "fastapi_storages"
module-root = ""
[project]
name = "fastapi-storages"
version = "0.4.0"
description = 'FastAPI Storages'
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
keywords = ["sqlalchemy", "django", "orm", "fastapi"]
authors = [
{ name = "Amin Alaee", email = "mohammadamin.alaee@gmail.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"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",
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
"Typing :: Typed",
]
dependencies = []
[project.optional-dependencies]
s3 = [
"boto3~=1.25",
]
sqlalchemy = [
"sqlalchemy>=1.4",
]
peewee = [
"peewee>=3",
]
image = [
"Pillow>=10",
]
full = [
"boto3~=1.25",
"Pillow>=10",
"sqlalchemy>=1.4",
"peewee>=3",
]
[project.urls]
Documentation = "https://github.com/smithyhq/fastapi-storages#readme"
Issues = "https://github.com/smithyhq/fastapi-storages/issues"
Source = "https://github.com/smithyhq/fastapi-storages"
[dependency-groups]
dev = [
"build",
"coverage",
"moto[s3]>=5",
"mypy",
"peewee>=3",
"Pillow>=10",
"pytest",
"ruff",
"sqlalchemy>=1.4",
]
lint = ["mypy", "ruff"]
docs = [
"mkdocs-material==9.6.14",
"mkdocs==1.6.1",
"mkdocstrings[python]==0.26.1",
]
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
show_error_codes = true
no_implicit_optional = true
[tool.ruff]
lint.select = ["E", "F", "I"]
[tool.coverage.run]
source_pkgs = [
"fastapi_storages",
"tests",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"pragma: nocover",
"except NotImplementedError",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]