[project] name = "planet" version = "1.0.0" description = "智能星球计划 - 态势感知系统" requires-python = ">=3.11" dependencies = [ "fastapi>=0.109.0", "uvicorn[standard]>=0.27.0", "sqlalchemy[asyncio]>=2.0.25", "asyncpg>=0.29.0", "redis>=5.0.1", "pydantic>=2.5.0", "pydantic-settings>=2.1.0", "python-jose[cryptography]>=3.3.0", "bcrypt>=4.0.0", "python-multipart>=0.0.6", "httpx>=0.26.0", "aiofiles>=23.2.1", "python-dotenv>=1.0.0", "email-validator>=2.1.0", ] [tool.uv] package = false [scripts] start = "uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload" start-prod = "uvicorn app.main:app --host 0.0.0.0 --port 8000" init-db = "python scripts/init_db.py" lint = "ruff check ." format = "black ." test = "pytest" [tool.black] line-length = 100 target-version = ["py311"] [tool.ruff] line-length = 100 target-version = "py311"