Files
flask_example/requirements.txt
T
2026-09-23 13:56:49 +08:00

17 lines
575 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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