"feat: Update dependencies in requirements.txt"
This commit is contained in:
@@ -1,54 +1,54 @@
|
|||||||
# Core Flask framework
|
# === MYP Backend Dependencies ===
|
||||||
Flask==3.0.3
|
|
||||||
Werkzeug==3.0.3
|
|
||||||
|
|
||||||
# Flask extensions
|
# Core Flask und Extensions
|
||||||
Flask-CORS==4.0.0
|
Flask>=2.0.0,<3.0.0
|
||||||
|
Flask-SQLAlchemy>=3.0.0
|
||||||
|
Flask-CORS>=4.0.0
|
||||||
|
Flask-JWT-Extended>=4.4.0
|
||||||
|
Flask-Login>=0.6.0
|
||||||
|
Flask-Migrate>=4.0.0
|
||||||
|
Flask-Assets>=2.1.0
|
||||||
|
|
||||||
# Security
|
# Datenbank
|
||||||
flask-talisman==1.1.0
|
SQLAlchemy>=2.0.0
|
||||||
|
|
||||||
# HTTP client
|
# API und Serialisierung
|
||||||
requests==2.31.0
|
Flask-RESTful>=0.3.10
|
||||||
|
marshmallow>=3.19.0
|
||||||
|
flask-marshmallow>=0.15.0
|
||||||
|
marshmallow-sqlalchemy>=0.29.0
|
||||||
|
|
||||||
# Networking and socket handling
|
# HTTP Requests
|
||||||
python-socketio==5.11.4
|
requests>=2.31.0
|
||||||
|
urllib3>=2.0.0
|
||||||
|
|
||||||
# Threading utilities
|
# Smart Home Integration (Tapo)
|
||||||
eventlet==0.36.1
|
PyP100>=0.1.4
|
||||||
|
|
||||||
# Environment variables
|
# Konfiguration und Umgebung
|
||||||
python-dotenv==1.0.1
|
python-dotenv>=1.0.0
|
||||||
|
|
||||||
# Cryptography and hashing
|
# Sicherheit
|
||||||
PyJWT==2.8.0
|
PyJWT>=2.8.0
|
||||||
cryptography==41.0.7
|
bcrypt>=4.0.0
|
||||||
|
cryptography>=41.0.0
|
||||||
|
|
||||||
# Date and time handling
|
# CLI und Tools
|
||||||
python-dateutil==2.8.2
|
click>=8.1.0
|
||||||
|
|
||||||
# JSON Web Tokens
|
|
||||||
flask-jwt-extended==4.6.0
|
|
||||||
|
|
||||||
# Database
|
|
||||||
SQLAlchemy==2.0.23
|
|
||||||
Flask-Migrate==4.0.5
|
|
||||||
|
|
||||||
# Production server
|
|
||||||
gunicorn==21.2.0
|
|
||||||
|
|
||||||
# Monitoring
|
|
||||||
prometheus_client==0.20.0
|
|
||||||
|
|
||||||
# Testing
|
|
||||||
pytest==7.4.3
|
|
||||||
pytest-cov==4.1.0
|
|
||||||
|
|
||||||
# Development
|
|
||||||
Flask-DebugToolbar==0.13.1
|
|
||||||
|
|
||||||
# Cache
|
|
||||||
redis==5.0.1
|
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
click==8.1.7
|
validators>=0.20.0
|
||||||
|
python-dateutil>=2.8.0
|
||||||
|
pytz>=2023.3
|
||||||
|
|
||||||
|
# Production Server (optional)
|
||||||
|
gunicorn>=21.2.0
|
||||||
|
gevent>=23.7.0
|
||||||
|
|
||||||
|
# Entwicklung und Testing (optional)
|
||||||
|
pytest>=7.4.0
|
||||||
|
pytest-flask>=1.2.0
|
||||||
|
coverage>=7.3.0
|
||||||
|
|
||||||
|
# Logging und Monitoring
|
||||||
|
structlog>=23.1.0
|
@@ -1,5 +0,0 @@
|
|||||||
from app import create_app, init_db
|
|
||||||
app = create_app('development')
|
|
||||||
with app.app_context():
|
|
||||||
init_db()
|
|
||||||
print('Datenbank initialisiert')
|
|
Reference in New Issue
Block a user