Добавление страницы 2FA, poetry -> uv

This commit is contained in:
2026-01-11 15:26:39 +03:00
parent 83957ff548
commit 758e0fc9e6
14 changed files with 2654 additions and 2356 deletions
+33 -27
View File
@@ -1,34 +1,40 @@
[tool.poetry]
[project]
name = "LibraryAPI"
version = "0.3.0"
version = "0.4.0"
description = "Это простое API для управления авторами, книгами и их жанрами."
authors = ["wowlikon"]
authors = [{ name = "wowlikon" }]
readme = "README.md"
packages = [{ include = "library_service" }]
requires-python = ">=3.12"
dependencies = [
"toml>=0.10.2",
"python-dotenv>=0.21.1",
"uvicorn[standard]>=0.40.0",
"pydantic[email]>=2.12.5",
"fastapi[all]>=0.115.14",
"jinja2>=3.1.6",
"psycopg2-binary>=2.9.11",
"alembic>=1.18.0",
"sqlmodel>=0.0.31",
"json-log-formatter>=1.1.1",
"python-jose[cryptography]>=3.5.0",
"passlib[argon2]>=1.7.4",
"aiofiles>=25.1.0",
"qrcode[pil]>=8.2",
"pyotp>=2.9.0",
]
[tool.poetry.dependencies]
python = "^3.12"
fastapi = { extras = ["all"], version = "^0.115.12" }
uvicorn = { extras = ["standard"], version = "^0.40.0" }
psycopg2-binary = "^2.9.10"
alembic = "^1.16.1"
python-dotenv = "^0.21.0"
sqlmodel = "^0.0.24"
jinja2 = "^3.1.6"
toml = "^0.10.2"
python-jose = {extras = ["cryptography"], version = "^3.5.0"}
passlib = {extras = ["argon2"], version = "^1.7.4"}
aiofiles = "^25.1.0"
pydantic = {extras = ["email"], version = "^2.12.5"}
json-log-formatter = "^1.1.1"
[dependency-groups]
dev = [
"black>=25.12.0",
"isort>=7.0.0",
"pylint>=4.0.4",
"pytest>=8.4.2",
"pytest-asyncio>=1.3.0",
]
[tool.poetry.group.dev.dependencies]
black = "^25.1.0"
pytest = "^8.4.1"
isort = "^7.0.0"
pytest-asyncio = "^1.3.0"
pylint = "^4.0.4"
[tool.hatch.build.targets.wheel]
packages = ["library_service"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"