首次提交

This commit is contained in:
2026-09-23 13:56:49 +08:00
parent 7c235aab6e
commit 0e47b1bba4
12 changed files with 364 additions and 176 deletions
+17
View File
@@ -0,0 +1,17 @@
# Flask 核心框架(3.x 支持异步和现代特性)
Flask==3.0.0
# ORM 扩展:将数据库操作映射为 Python 对象
Flask-SQLAlchemy==3.1.1
# 数据库迁移工具:基于 Alembic,自动追踪模型变更并生成迁移脚本
Flask-Migrate==4.0.5
# 环境变量加载:从 .env 文件读取配置,避免硬编码敏感信息
python-dotenv==1.0.0
# MySQL 驱动:纯 Python 实现,兼容性好(PostgreSQL 请替换为 psycopg2-binary)
PyMySQL==1.1.0
# PyMySQL 加密依赖:支持 MySQL 8.0+ 的 caching_sha2_password 认证
cryptography==41.0.7