- 当前使用: Python 3.9.6
- Python 路径:
/Library/Developer/CommandLineTools/usr/bin/python3 - runtime.txt 指定: Python 3.11(用于生产环境部署)
- FastAPI: 0.104.1
- Uvicorn: 0.24.0 (with standard extras)
- Pydantic: 2.12.5
- pydantic-core: 2.41.5 (自动安装的依赖)
- lunar-python: 1.3.0
- httpx: 0.28.1
- python-dotenv: 1.0.0
- SQLAlchemy: 2.0.23
- psycopg2-binary: 2.9.9 (仅在使用 PostgreSQL 时需要,当前使用 SQLite 未安装)
- google-genai: 1.47.0
- React: ^18.2.0
- React DOM: ^18.2.0
- React Router DOM: ^6.20.0
- lucide-react: ^0.294.0 (图标库)
- framer-motion: ^12.25.0 (动画库)
- clsx: ^2.1.1 (类名工具)
- tailwind-merge: ^3.4.0 (Tailwind CSS 合并工具)
- echarts: ^6.0.0
- recharts: ^3.6.0
- react-markdown: ^10.1.0
- remark-gfm: ^4.0.1 (GitHub Flavored Markdown)
- Vite: ^5.0.8 (构建工具)
- @vitejs/plugin-react: ^4.2.1
- Tailwind CSS: ^3.3.6
- PostCSS: ^8.4.32
- Autoprefixer: ^10.4.16
- @types/react: ^18.2.43
- @types/react-dom: ^18.2.17
- Node.js: v24.12.0
- npm: 11.6.2
- Git: 2.50.1 (Apple Git-155)
- pip: 21.2.4 (建议升级到 25.3)
# FastAPI 框架
fastapi==0.104.1
uvicorn[standard]==0.24.0
# 数据验证
pydantic==2.12.5
# 八字计算(lunar-java 的 Python 版本)
lunar-python==1.3.0
# HTTP 客户端(用于调用 DeepSeek API)
httpx==0.28.1
# 环境变量管理
python-dotenv==1.0.0
# 数据库 ORM
sqlalchemy==2.0.23
# PostgreSQL 驱动(用于生产环境)
psycopg2-binary==2.9.9
# Google GenAI 客户端(用于 Compass API)
google-genai==1.47.0
- ✅ 匹配: fastapi, uvicorn, lunar-python, python-dotenv, sqlalchemy, google-genai
- ✅ 已更新: pydantic (2.12.5), httpx (0.28.1) - 已更新到实际工作版本
⚠️ 未安装: psycopg2-binary (仅在使用 PostgreSQL 时需要)
- 开发环境: Python 3.9.6
- 生产环境: Python 3.11 (runtime.txt 指定)
- 2025-01-15: 更新 google-genai 从 0.2.2 → 1.47.0
- 2025-01-15: 更新 pydantic 从 2.5.0 → 2.12.5
- 2025-01-15: 更新 httpx 从 0.25.2 → 0.28.1
最后更新: 2025-01-15