- move the relational data center to MySQL and a standalone workbench\n- add Interface Center API credentials, policies, logs, and DBeaver SSH guidance\n- harden authentication and deployment while retiring unused management surfaces
41 lines
1017 B
Plaintext
41 lines
1017 B
Plaintext
# 智念数字资产管理系统 —— Python 后端依赖
|
|
# 安装: pip3 install -r requirements.txt
|
|
# Python 3.11+ (开发环境 3.13)
|
|
|
|
fastapi==0.136.1
|
|
uvicorn==0.47.0
|
|
starlette==1.0.0
|
|
|
|
# 数据库(PostgreSQL:系统/图谱元数据;MySQL:独立数据中心)
|
|
psycopg==3.3.4
|
|
psycopg-pool==3.3.1
|
|
aiomysql==0.3.2
|
|
PyMySQL==1.1.2
|
|
|
|
# 配置 / 校验
|
|
pydantic==2.13.0
|
|
pydantic-settings==2.14.1
|
|
|
|
# 图数据库 (FalkorDB on Redis)
|
|
falkordb==1.6.1
|
|
|
|
# 空间索引 (H3 网格;PostGIS 由 PostgreSQL 扩展提供)
|
|
h3==4.4.2
|
|
|
|
# HTTP 客户端 (LLM 调用 / 维基 API)
|
|
httpx==0.28.1
|
|
requests==2.32.5
|
|
python-multipart==0.0.28
|
|
|
|
# 鉴权
|
|
bcrypt==4.1.3
|
|
python-jose==3.3.0
|
|
|
|
# 浏览器采集 (web_agent / xhs_agent / douyin_agent 隐身抓取)
|
|
# 装完需再跑: python3 -m playwright install chromium
|
|
playwright==1.59.0
|
|
|
|
# 阿里云 OCR (ocr-api.cn-hangzhou.aliyuncs.com 2021-07-07)
|
|
# 提供 RecognizePassport 等证件识别能力;客户端会自动拉取 tea-openapi / tea-util
|
|
alibabacloud_ocr_api20210707==3.1.2
|