本次包含:虎牙开通充值按份数下单与记住上次选择、精英宝典与其他开通商品分块、一键查询 CK 失效标红、支付码改 qr.alipay.com 扫码内容、开通商品只保留可购买 spu 并清理历史死商品行。
56 lines
1.4 KiB
TOML
56 lines
1.4 KiB
TOML
[project]
|
|
name = "live-hub-py"
|
|
version = "0.4.0"
|
|
description = "直播账号运营 Web 后台"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12,<3.13"
|
|
dependencies = [
|
|
"requests[socks]>=2.31.0",
|
|
"pycryptodome>=3.19.0",
|
|
"numpy>=1.24.0",
|
|
"opencv-python-headless>=4.8.0",
|
|
"Pillow>=10.0.0",
|
|
"loguru>=0.7.0",
|
|
"fastapi>=0.110.0",
|
|
"uvicorn[standard]>=0.27.0",
|
|
"sqlalchemy>=2.0.0",
|
|
"python-jose[cryptography]>=3.3.0",
|
|
"bcrypt>=4.0.0",
|
|
"pydantic>=2.0.0",
|
|
"python-multipart>=0.0.9",
|
|
"alembic>=1.18.4",
|
|
"websockets>=16.0",
|
|
"onnxruntime>=1.18.0",
|
|
"scipy>=1.13.0",
|
|
"pyexecjs>=1.5.1",
|
|
"pymysql>=1.1,<2",
|
|
# P0 订单读取适配层:连 order_site 的 PostgreSQL 只读库(规划 §6.5)。
|
|
# 全项目只有 external_order_source.py 一处跨库;URL 用 postgresql+psycopg://
|
|
"psycopg[binary]>=3.2,<4",
|
|
"curl-cffi>=0.13",
|
|
"segno>=1.6",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["core", "utils", "web"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
# FastAPI evaluates dependency metadata in route parameter defaults by design.
|
|
"web/backend/**/*.py" = ["B008"]
|
|
# 虎牙路由共享层集中 re-export 依赖。
|
|
"web/backend/routers/huya/_common.py" = ["F401"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pyright>=1.1.411",
|
|
"pytest>=9.1.1",
|
|
"ruff>=0.12.0",
|
|
]
|