80 lines
1.6 KiB
Plaintext
80 lines
1.6 KiB
Plaintext
# FastAPI Migration Requirements - MY Network v3.0
|
||
# Полная миграция от Sanic к FastAPI с совместимостью
|
||
|
||
# === Core FastAPI Stack ===
|
||
fastapi==0.104.1
|
||
uvicorn[standard]==0.24.0
|
||
python-multipart==0.0.6
|
||
|
||
# === Authentication & Security ===
|
||
python-jose[cryptography]==3.3.0
|
||
passlib[bcrypt]==1.7.4
|
||
python-jwt==4.0.0
|
||
pyjwt==2.8.0
|
||
bcrypt==4.1.2
|
||
|
||
# === Database & ORM ===
|
||
sqlalchemy==2.0.23
|
||
alembic==1.12.1
|
||
asyncpg==0.29.0
|
||
# psycopg2-binary==2.9.9 # Removed - conflicts with asyncpg
|
||
|
||
# === Caching & Redis ===
|
||
redis==5.0.1
|
||
aioredis==2.0.1
|
||
|
||
# === Cryptography ===
|
||
cryptography==41.0.7
|
||
ed25519==1.5
|
||
pynacl==1.5.0
|
||
PyNaCl==1.5.0
|
||
base58==2.1.1
|
||
|
||
# === HTTP & API ===
|
||
httpx==0.25.2
|
||
aiohttp==3.9.0
|
||
requests==2.31.0
|
||
|
||
# === Data Processing ===
|
||
pydantic==2.5.0
|
||
pydantic-settings==2.1.0
|
||
|
||
# === Validation & Parsing ===
|
||
email-validator==2.1.0
|
||
python-dateutil==2.8.2
|
||
|
||
# === File Handling ===
|
||
python-magic==0.4.27
|
||
pillow==10.1.0
|
||
aiofiles==23.2.1
|
||
|
||
# === Monitoring & Logging ===
|
||
structlog==23.2.0
|
||
psutil==5.9.6
|
||
prometheus-client==0.19.0
|
||
|
||
# === WebSocket Support ===
|
||
websockets==12.0
|
||
|
||
# === Audio Processing ===
|
||
pydub==0.25.1
|
||
|
||
# === Development & Testing ===
|
||
pytest==7.4.3
|
||
pytest-asyncio==0.21.1
|
||
pytest-cov==4.1.0
|
||
black==23.11.0
|
||
isort==5.12.0
|
||
flake8==6.1.0
|
||
|
||
# === Environment & Configuration ===
|
||
python-dotenv==1.0.0
|
||
pyyaml==6.0.1
|
||
|
||
# === Compatibility Libraries ===
|
||
typing-extensions==4.8.0
|
||
starlette==0.27.0
|
||
|
||
# === Optional: Production Deployment ===
|
||
# uvloop==0.19.0 # Для лучшей производительности (разкомментировать в production)
|
||
# gunicorn==21.2.0 # Для production deployment |