Initial travel knowledge graph release

This commit is contained in:
2026-06-09 09:56:26 +08:00
commit 5f061295d8
402 changed files with 103877 additions and 0 deletions

33
requirements.txt Normal file
View File

@@ -0,0 +1,33 @@
# 智念城市知识图谱管理系统 —— Python 后端依赖
# 安装: pip3 install -r requirements.txt
# Python 3.11+ (开发环境 3.13)
fastapi==0.136.1
uvicorn==0.47.0
starlette==1.0.0
# 数据库 (PostgreSQL kg_admin schema)
psycopg==3.3.4
psycopg-pool==3.3.1
# 配置 / 校验
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
# 鉴权
bcrypt==4.1.3
python-jose==3.3.0
# 浏览器采集 (web_agent / xhs_agent / douyin_agent 隐身抓取)
# 装完需再跑: python3 -m playwright install chromium
playwright==1.59.0