40 lines
805 B
TOML
40 lines
805 B
TOML
[project]
|
|
name = "ai-translator-api"
|
|
version = "0.1.0"
|
|
description = "AI Translator API with FastAPI"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.109.0",
|
|
"uvicorn[standard]>=0.27.0",
|
|
"pydantic>=2.5.0",
|
|
"pydantic-settings>=2.1.0",
|
|
"redis>=5.0.0",
|
|
"aiomysql>=0.2.0",
|
|
"sqlalchemy[asyncio]>=2.0.0",
|
|
"httpx>=0.26.0",
|
|
"python-jose[cryptography]>=3.3.0",
|
|
"passlib[bcrypt]>=1.7.4",
|
|
"python-multipart>=0.0.6",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4.0",
|
|
"pytest-asyncio>=0.23.0",
|
|
"ruff>=0.1.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["app"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|