2031607beb
Create pyproject.toml (FastAPI + SQLAlchemy + Playwright + APScheduler + Redis + cryptography stack), .env.example, app/__init__.py and a pydantic-settings Settings singleton (get_settings), and a root .gitignore covering Python, Node, env, IDE and the local media dir. Co-Authored-By: Claude <noreply@anthropic.com>
44 lines
761 B
TOML
44 lines
761 B
TOML
[project]
|
|
name = "yunke-server"
|
|
version = "0.1.0"
|
|
description = "云客数据本地化系统 - Python backend"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi",
|
|
"uvicorn[standard]",
|
|
"sqlalchemy[asyncio]",
|
|
"asyncmy",
|
|
"alembic",
|
|
"redis",
|
|
"httpx",
|
|
"playwright",
|
|
"apscheduler",
|
|
"pydantic",
|
|
"pydantic-settings",
|
|
"cryptography",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"respx",
|
|
"ruff",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["app*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|