نسخهٔ وب مستقل — پلتفرم نیروی کار هوش مصنوعی
مخزن اختصاصی برنامهٔ وب؛ محتوای پوشهٔ web در ریشهٔ مخزن قرار گرفت. تاریخچهٔ پروژهٔ ربات (agy-bot) در این مخزن وجود ندارد و هیچ وابستگی runtime به آن نیست.
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
[project]
|
||||
name = "agy-web-api"
|
||||
version = "0.1.0"
|
||||
description = "AGY Web backend — FastAPI + SQLAlchemy, Clean/Hexagonal architecture."
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"fastapi>=0.115.0",
|
||||
"uvicorn[standard]>=0.34.0",
|
||||
"sqlalchemy[asyncio]>=2.0.36",
|
||||
"psycopg[binary]>=3.2.3",
|
||||
"aiosqlite>=0.20.0",
|
||||
"alembic>=1.14.0",
|
||||
"pydantic>=2.10.0",
|
||||
"pydantic-settings>=2.7.0",
|
||||
"email-validator>=2.2.0",
|
||||
"PyJWT>=2.10.0",
|
||||
"argon2-cffi>=23.1.0",
|
||||
"cryptography>=44.0.0",
|
||||
"redis>=5.2.0",
|
||||
"httpx>=0.28.0",
|
||||
"python-multipart>=0.0.20",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
# Remote sandbox providers. Kept optional: these SDKs are large and move fast,
|
||||
# and a default install must run with SANDBOX_PROVIDER=mock and zero credentials.
|
||||
# Enable with: pip install -e ".[sandbox-remote]"
|
||||
sandbox-remote = [
|
||||
"daytona>=0.100",
|
||||
"e2b>=1.0",
|
||||
]
|
||||
dev = [
|
||||
"pytest>=8.3.0",
|
||||
"pytest-asyncio>=0.25.0",
|
||||
"ruff>=0.9.0",
|
||||
"mypy>=1.14.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=75.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["app*"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py312"
|
||||
# Alembic's autogenerated revisions are machine-written: their long lines and
|
||||
# import style are not ours to fix, and editing them by hand invites mistakes.
|
||||
exclude = ["alembic/versions"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "UP", "B", "C4", "SIM"]
|
||||
ignore = ["B008"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
testpaths = ["tests"]
|
||||
filterwarnings = ["ignore::DeprecationWarning"]
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.12"
|
||||
ignore_missing_imports = true
|
||||
warn_unused_ignores = false
|
||||
Reference in New Issue
Block a user