- api/kuaidi100: 上门取件API客户端(bOrder/price/cancel/detail,MD5签名封装) - api/sds: 变体克重(children接口,24h缓存)/面单PDF上传/挂包裹/carriageNoStatus筛选 - flows/sds/waybill_autogen: 每10分钟遍历运单待生成订单(factoryIds+carriageNoStatus+orderStatusCode) 自动下极兔(returnType=20+tempid出面单),面单回调转PDF回传SDS; 幂等跳过已有运单;面单超时不自动取消(记人工跟进);schedule 默认 active:false - scripts: 手动E2E测试脚本 + 回调接收服务(验签MD5(param+salt)+JSONL落盘,配frpc 18090穿透) - 依赖 +pillow(面单PNG转PDF)
25 lines
489 B
TOML
25 lines
489 B
TOML
[project]
|
|
name = "inkreach-prefect"
|
|
version = "0.1.0"
|
|
description = "ETL workflows orchestrated by Prefect"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"prefect>=3.4",
|
|
"prefect-sqlalchemy",
|
|
"psycopg2-binary",
|
|
"httpx",
|
|
"pandas",
|
|
"pydantic>=2.0",
|
|
"psutil>=7.2.2",
|
|
"requests>=2.34.2",
|
|
"aiohttp>=3.14.3",
|
|
"pillow>=13.0.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["api"]
|