"feat: Add update_requirements.py for managing Python dependencies"

This commit is contained in:
2025-05-29 19:42:23 +02:00
parent fa31208220
commit a4f6a472f3
3 changed files with 425 additions and 174 deletions

View File

@@ -1,106 +1,57 @@
# Diese Datei wurde in die zentrale requirements.txt im Backend-Verzeichnis integriert.
# Bitte verwenden Sie stattdessen: ../requirements.txt
# MYP Platform - Python Dependencies
# Aktualisiert: Januar 2025
# Basierend auf tatsächlich verwendeten Imports in app.py
# Automatisch generiert am: 2025-05-29 19:41:49
# Installiere mit: pip install -r requirements.txt
# ===== CORE FLASK FRAMEWORK =====
# Flask 3.1.x ist die neueste stabile Version mit verbesserter Performance
Flask
Flask-Login
Flask-WTF
Flask-Limiter
# Direkt in app.py verwendet
Flask==3.1.1
Flask-Login==0.6.3
Flask-WTF==1.2.1
# ===== DATENBANK =====
# SQLAlchemy 2.0.x bietet bessere Performance und moderne APIs
SQLAlchemy
# ===== SMART PLUG STEUERUNG =====
# PyP100 für TP-Link Tapo Smart Plugs
# Neueste Version für bessere Kompatibilität
PyP100
# SQLAlchemy für Datenbankoperationen (models.py, app.py)
SQLAlchemy==2.0.36
# ===== SICHERHEIT UND AUTHENTIFIZIERUNG =====
# Werkzeug 3.1.x für bessere Sicherheit und Performance
Werkzeug
bcrypt
cryptography
# Werkzeug für Passwort-Hashing und Utilities (app.py)
bcrypt==4.2.1
cryptography==44.0.0
Werkzeug==3.1.3
# ===== CACHING UND RATE LIMITING =====
# Redis für Caching und Rate Limiting
redis
# ===== SMART PLUG STEUERUNG =====
# PyP100 für TP-Link Tapo Smart Plugs (utils/job_scheduler.py)
PyP100==0.1.2
# ===== WEB REQUESTS UND HTTP =====
# Requests für HTTP-Anfragen
requests
# ===== RATE LIMITING UND CACHING =====
# Redis für Rate Limiting (utils/rate_limiter.py) - optional
redis==5.2.1
# ===== HTTP REQUESTS =====
# Requests für HTTP-Anfragen (utils/queue_manager.py, utils/debug_drucker_erkennung.py)
requests==2.32.3
# ===== TEMPLATE ENGINE =====
# Jinja2 für Template-Rendering
Jinja2
MarkupSafe
itsdangerous
# Jinja2 und MarkupSafe (automatisch mit Flask installiert, aber explizit für utils/template_helpers.py)
MarkupSafe==3.0.2
# ===== SYSTEM MONITORING =====
# psutil für System-Monitoring
psutil
# psutil für System-Monitoring (utils/debug_utils.py, utils/debug_cli.py)
psutil==6.1.1
# ===== ENTWICKLUNG UND TESTING =====
# Testing-Framework (optional für Entwicklung)
pytest
pytest-cov
# ===== PRODUKTIONS-SERVER =====
# Gunicorn für Produktionsumgebung (optional)
gunicorn
# ===== ZUSÄTZLICHE ABHÄNGIGKEITEN =====
# Click für CLI-Kommandos
click
# Blinker für Signaling
blinker
# Python-dotenv für Umgebungsvariablen (optional)
python-dotenv
# Watchdog für File-Watching (optional)
watchdog
# ===== DATENVERARBEITUNG UND ANALYTICS =====
# Für erweiterte Analytics und Datenverarbeitung
pandas
numpy
# ===== DATUM UND ZEIT =====
# Für erweiterte Datum/Zeit-Funktionen
python-dateutil
pytz
# ===== JSON UND DATENFORMATE =====
# Für erweiterte JSON-Verarbeitung
orjson
# ===== LOGGING UND MONITORING =====
# Für erweiterte Logging-Funktionen
structlog
# ===== PERFORMANCE OPTIMIERUNGEN =====
# Für bessere Performance bei großen Datenmengen
ujson
# ===== ZUSÄTZLICHE CORE ABHÄNGIGKEITEN =====
# Click für CLI-Kommandos (automatisch mit Flask)
# Keine Core-Requirements
# ===== WINDOWS-SPEZIFISCHE ABHÄNGIGKEITEN =====
# Nur für Windows-Systeme erforderlich
pywin32; sys_platform == "win32"
wmi; sys_platform == "win32"
# Keine Windows-Requirements
# ===== ENTWICKLUNGSTOOLS (OPTIONAL) =====
# Für Code-Qualität und Entwicklung
black
flake8
mypy
# ===== OPTIONAL: ENTWICKLUNG UND TESTING =====
# Nur für Entwicklungsumgebung
pytest==8.3.4; extra == "dev"
pytest-cov==6.0.0; extra == "dev"
# ===== DOKUMENTATION (OPTIONAL) =====
# Für Dokumentationsgenerierung
Sphinx
sphinx-rtd-theme
# ===== OPTIONAL: PRODUKTIONS-SERVER =====
# Gunicorn für Produktionsumgebung
gunicorn==23.0.0; extra == "prod"