-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (98 loc) · 2.72 KB
/
pyproject.toml
File metadata and controls
113 lines (98 loc) · 2.72 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
[project]
name = "ushka"
version = "0.4.0"
description = "Ushka is a minimal, experimental Python micro-framework for hobbyists and solo developers. Its goal is to enable rapid API development with zero boilerplate by using file-based routing."
authors = [
{ name = "kleber-code", email = "kleber.code@gmail.com" },
]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "MIT" }
keywords = ["web", "framework", "asgi", "routing", "autodiscovery", "async", "orm"]
# Classifiers atualizados para refletir suporte a Banco de Dados
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Database :: Front-Ends",
]
# --- 1. CORE / MINIMAL ---
# Instalado com: pip install ushka
dependencies = [
"uvicorn>=0.38.0",
"tomlkit>=0.13.3",
"rich>=13.7.1",
"python-multipart>=0.0.20",
]
[project.urls]
Homepage = "https://github.com/kleber-code/ushka"
Issues = "https://github.com/kleber-code/ushka/issues"
Repository = "https://github.com/kleber-code/ushka"
[project.scripts]
ushka = "ushka.cli:main"
# --- 2. PACOTES OPCIONAIS (EXTRAS) ---
[project.optional-dependencies]
# pip install ushka[web]
web = [
"jinja2>=3.1.6",
"python-multipart>=0.0.20",
]
# pip install ushka[orm]
# Inclui o driver aiosqlite por padrão para a melhor experiência "out-of-the-box"
orm = [
"sqlalchemy>=2.0.44",
"alembic>=1.13.1",
"aiosqlite>=0.20.0",
]
# pip install ushka[postgres]
postgres = [
"ushka[orm]",
"asyncpg>=0.29.0",
]
# pip install ushka[mysql]
mysql = [
"ushka[orm]",
"aiomysql>=0.2.0",
]
# pip install ushka[standard] -> O KIT RECOMENDADO
standard = [
"ushka[web]",
"ushka[orm]",
]
# pip install ushka[full] -> O KIT COMPLETO
full = [
"ushka[standard]",
"asyncpg>=0.29.0",
"aiomysql>=0.2.0",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.build]
includes = ["src/ushka"]
excludes = ["src/ushka/internal/assets", "example"]
[dependency-groups]
dev = [
"ruff>=0.14.5",
"isort>=7.0.0",
"mkdocs>=1.6.1",
"mkdocs-material[imaging]>=9.7.0",
"mkdocstrings[python]>=1.0.0",
"pymdown-extensions>=10.17.2",
"pylint>=4.0.4",
"py-spy>=0.4.1",
"termynal>=0.11.0",
"pyyaml>=6.0.3",
"pyment>=0.3.3",
"docstring-parser>=0.17.0",
]