2026-08-23 22:35:59 +08:00
|
|
|
[project]
|
|
|
|
|
name = "pineagents-demo-server"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
description = "云超服核心服务端(FastAPI + SQLite + JWT + RBAC):身份/平台 API + 培训子应用(/api/*),统一对外 opc.pinesound.cn"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
requires-python = ">=3.11"
|
|
|
|
|
dependencies = [
|
|
|
|
|
"fastapi>=0.115.0",
|
|
|
|
|
"uvicorn[standard]>=0.30.0",
|
|
|
|
|
"pydantic>=2.7.0",
|
2026-08-23 23:52:58 +08:00
|
|
|
"sqlalchemy[asyncio]>=2.0.30",
|
|
|
|
|
"aiosqlite>=0.20.0",
|
|
|
|
|
"asyncmy>=0.2.9",
|
|
|
|
|
"redis>=5.0.0",
|
|
|
|
|
"aioboto3>=13.0.0",
|
2026-08-23 22:35:59 +08:00
|
|
|
"pyjwt>=2.8.0",
|
|
|
|
|
"httpx>=0.27.0",
|
|
|
|
|
"python-multipart>=0.0.12",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[dependency-groups]
|
|
|
|
|
dev = [
|
|
|
|
|
"pytest>=8.0.0",
|
|
|
|
|
"httpx>=0.27.0",
|
|
|
|
|
"pytest-asyncio>=0.23.0",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
|
requires = ["hatchling"]
|
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
|
|
packages = ["app"]
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
testpaths = ["tests"]
|
|
|
|
|
addopts = "-q"
|