🎉 Improved backend structure & added utility modules 🎨📚

This commit is contained in:
2025-06-01 00:26:29 +02:00
parent 91548dfb0e
commit 9e1719df4d
27 changed files with 750 additions and 60 deletions

View File

@@ -3,55 +3,136 @@
# Automatisch generiert am: 2025-05-29 19:41:49
# Installiere mit: pip install -r requirements.txt
# ===== CORE FLASK FRAMEWORK =====
# Direkt in app.py verwendet
Flask==3.1.1
# ===== CORE FRAMEWORK =====
Flask==3.0.0
Werkzeug==3.0.1
# ===== FLASK EXTENSIONS =====
Flask-Login==0.6.3
Flask-WTF==1.2.1
Flask-SocketIO==5.3.6
WTForms==3.1.1
# ===== DATENBANK =====
# SQLAlchemy für Datenbankoperationen (models.py, app.py)
SQLAlchemy==2.0.36
# ===== DATABASE =====
SQLAlchemy==2.0.23
# ===== SICHERHEIT UND AUTHENTIFIZIERUNG =====
# Werkzeug für Passwort-Hashing und Utilities (app.py)
bcrypt==4.2.1
cryptography==44.0.0
Werkzeug==3.1.3
# ===== SECURITY =====
cryptography==41.0.8
bcrypt==4.1.2
# ===== SMART PLUG STEUERUNG =====
# PyP100 für TP-Link Tapo Smart Plugs (utils/job_scheduler.py)
PyP100
# ===== HTTP REQUESTS (für Online-Modus) =====
requests==2.31.0
urllib3==2.1.0
# ===== RATE LIMITING UND CACHING =====
# Redis für Rate Limiting (utils/rate_limiter.py) - optional
redis==5.2.1
# ===== HARDWARE INTEGRATION =====
# TP-Link Tapo Smart Plugs
PyP100==0.1.4
# ===== HTTP REQUESTS =====
# Requests für HTTP-Anfragen (utils/queue_manager.py, utils/debug_drucker_erkennung.py)
requests==2.32.3
# ===== REAL-TIME FEATURES =====
# WebSocket-Support mit Fallback-Optionen
eventlet==0.33.3
python-socketio==5.10.0
# ===== TEMPLATE ENGINE =====
# Jinja2 und MarkupSafe (automatisch mit Flask installiert, aber explizit für utils/template_helpers.py)
MarkupSafe==3.0.2
# ===== SCHEDULING & TASK MANAGEMENT =====
schedule==1.2.0
APScheduler==3.10.4
# ===== GIS & LOCATION SERVICES =====
geocoder==1.38.1
# ===== DATA PROCESSING & EXPORT =====
# Excel-Export (optional)
openpyxl==3.1.2
pandas==2.1.4
xlsxwriter==3.1.9
# CSV/JSON processing
chardet==5.2.0
# ===== EMAIL FUNCTIONALITY =====
# Email-Features für Benachrichtigungen
email-validator==2.1.0.post1
# ===== IMAGE PROCESSING =====
# Avatar und Bild-Upload
Pillow==10.1.0
# ===== DEVELOPMENT & DEBUGGING =====
# Nur für Development-Umgebung
# python-dotenv==1.0.0
# ===== DATE/TIME UTILITIES =====
python-dateutil==2.8.2
pytz==2023.3
# ===== FILE HANDLING =====
# Datei-Upload und -Verarbeitung
python-magic==0.4.27
python-magic-bin==0.4.14 # Windows binary
# ===== LOGGING & MONITORING =====
# Erweiterte Logging-Features
colorlog==6.8.0
# ===== NETWORK & CONNECTIVITY =====
# Netzwerk-Utilities für Drucker-Kommunikation
netifaces==0.11.0
ping3==4.0.4
# ===== BACKUP & COMPRESSION =====
# Backup-Funktionalität
zipfile36==0.1.3
# ===== CONFIGURATION =====
# Konfiguration und Settings
configparser==6.0.0
# ===== VALIDATION =====
# Formular-Validierung
cerberus==1.3.5
marshmallow==3.20.1
# ===== CACHING (optional) =====
# Cache-Funktionalität
cachetools==5.3.2
# ===== UTILITIES =====
# Allgemeine Utilities
python-slugify==8.0.1
click==8.1.7
# ===== COMPATIBILITY =====
# Windows-Kompatibilität
pywin32==306; sys_platform == "win32"
wmi==1.5.1; sys_platform == "win32"
# ===== OPTIONAL DEPENDENCIES =====
# Für erweiterte Features (automatisch installiert wenn verfügbar)
# PDF-Generation (für Reports)
reportlab==4.0.7
weasyprint==60.2
# Erweiterte Kryptographie
cryptography==41.0.8
# QR-Code Generation (für OTP-Codes)
qrcode==7.4.2
# ===== PRODUCTION DEPLOYMENT =====
# WSGI Server für Produktion
gunicorn==21.2.0
waitress==2.1.2
# ===== SYSTEM MONITORING =====
# psutil für System-Monitoring (utils/debug_utils.py, utils/debug_cli.py)
psutil==6.1.1
# System-Überwachung
psutil==5.9.6
# ===== ZUSÄTZLICHE CORE ABHÄNGIGKEITEN =====
# Click für CLI-Kommandos (automatisch mit Flask)
# Keine Core-Requirements
# ===== ERROR TRACKING =====
# Fehler-Tracking (optional)
# sentry-sdk[flask]==1.38.0
# ===== WINDOWS-SPEZIFISCHE ABHÄNGIGKEITEN =====
# Nur für Windows-Systeme erforderlich
# Keine Windows-Requirements
# ===== OPTIONAL: ENTWICKLUNG UND TESTING =====
# Nur für Entwicklungsumgebung
pytest==8.3.4; extra == "dev"
pytest-cov==6.0.0; extra == "dev"
# ===== OPTIONAL: PRODUKTIONS-SERVER =====
# Gunicorn für Produktionsumgebung
gunicorn==23.0.0; extra == "prod"
# ===== API DOCUMENTATION =====
# API-Dokumentation (optional)
# flask-restx==1.3.0
# flasgger==0.9.7.1