Refine data management and collection workflows
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
name = "planet"
|
||||
version = "1.0.0"
|
||||
description = "智能星球计划 - 态势感知系统"
|
||||
requires-python = ">=3.11"
|
||||
requires-python = ">=3.14"
|
||||
dependencies = [
|
||||
"fastapi>=0.109.0",
|
||||
"uvicorn[standard]>=0.27.0",
|
||||
@@ -13,28 +13,32 @@ dependencies = [
|
||||
"pydantic-settings>=2.1.0",
|
||||
"python-jose[cryptography]>=3.3.0",
|
||||
"bcrypt>=4.0.0",
|
||||
"passlib[bcrypt]>=1.7.4",
|
||||
"python-multipart>=0.0.6",
|
||||
"httpx>=0.26.0",
|
||||
"beautifulsoup4>=4.12.0",
|
||||
"aiofiles>=23.2.1",
|
||||
"python-dotenv>=1.0.0",
|
||||
"email-validator>=2.1.0",
|
||||
"apscheduler>=3.10.4",
|
||||
"networkx>=3.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"
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"black>=24.0.0",
|
||||
"pytest>=7.4.0",
|
||||
"pytest-asyncio>=0.23.0",
|
||||
"ruff>=0.6.0",
|
||||
]
|
||||
|
||||
[tool.black]
|
||||
line-length = 100
|
||||
target-version = ["py311"]
|
||||
target-version = ["py314"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py311"
|
||||
target-version = "py314"
|
||||
|
||||
Reference in New Issue
Block a user