🎉 Improved Backend Structure & Added New Features 🖥️📈
This commit is contained in:
@ -1,138 +1,97 @@
|
||||
# MYP Platform - Python Dependencies
|
||||
# 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
|
||||
# MYP Platform - Benötigte Python Dependencies
|
||||
# Nur tatsächlich verwendete Pakete
|
||||
|
||||
# ===== CORE FRAMEWORK =====
|
||||
Flask==3.0.0
|
||||
Werkzeug==3.0.1
|
||||
Flask
|
||||
Werkzeug
|
||||
|
||||
# ===== FLASK EXTENSIONS =====
|
||||
Flask-Login==0.6.3
|
||||
Flask-WTF==1.2.1
|
||||
Flask-SocketIO==5.3.6
|
||||
WTForms==3.1.1
|
||||
Flask-Login
|
||||
Flask-WTF
|
||||
Flask-SocketIO
|
||||
WTForms
|
||||
Flask-CORS
|
||||
|
||||
# ===== DATABASE =====
|
||||
SQLAlchemy==2.0.23
|
||||
SQLAlchemy
|
||||
|
||||
# ===== SECURITY =====
|
||||
cryptography==41.0.8
|
||||
bcrypt==4.1.2
|
||||
cryptography
|
||||
bcrypt
|
||||
PyJWT
|
||||
itsdangerous
|
||||
|
||||
# ===== HTTP REQUESTS (für Online-Modus) =====
|
||||
requests==2.31.0
|
||||
urllib3==2.1.0
|
||||
# ===== HTTP REQUESTS =====
|
||||
requests
|
||||
urllib3
|
||||
|
||||
# ===== HARDWARE INTEGRATION =====
|
||||
# TP-Link Tapo Smart Plugs
|
||||
PyP100==0.1.4
|
||||
PyP100
|
||||
pyserial
|
||||
pyusb
|
||||
|
||||
# ===== REAL-TIME FEATURES =====
|
||||
# WebSocket-Support mit Fallback-Optionen
|
||||
eventlet==0.33.3
|
||||
python-socketio==5.10.0
|
||||
eventlet
|
||||
python-socketio
|
||||
|
||||
# ===== SCHEDULING & TASK MANAGEMENT =====
|
||||
schedule==1.2.0
|
||||
APScheduler==3.10.4
|
||||
# ===== SCHEDULING =====
|
||||
schedule
|
||||
APScheduler
|
||||
|
||||
# ===== GIS & LOCATION SERVICES =====
|
||||
geocoder==1.38.1
|
||||
# ===== GIS & LOCATION =====
|
||||
geocoder
|
||||
|
||||
# ===== DATA PROCESSING & EXPORT =====
|
||||
# Excel-Export (optional)
|
||||
openpyxl==3.1.2
|
||||
pandas==2.1.4
|
||||
xlsxwriter==3.1.9
|
||||
# ===== DATA PROCESSING =====
|
||||
openpyxl
|
||||
xlsxwriter
|
||||
pandas
|
||||
chardet
|
||||
python-magic
|
||||
python-magic-bin; sys_platform == "win32"
|
||||
|
||||
# CSV/JSON processing
|
||||
chardet==5.2.0
|
||||
|
||||
# ===== EMAIL FUNCTIONALITY =====
|
||||
# Email-Features für Benachrichtigungen
|
||||
email-validator==2.1.0.post1
|
||||
# ===== EMAIL =====
|
||||
email-validator
|
||||
|
||||
# ===== IMAGE PROCESSING =====
|
||||
# Avatar und Bild-Upload
|
||||
Pillow==10.1.0
|
||||
Pillow
|
||||
qrcode
|
||||
|
||||
# ===== DEVELOPMENT & DEBUGGING =====
|
||||
# Nur für Development-Umgebung
|
||||
# python-dotenv==1.0.0
|
||||
# ===== PDF GENERATION =====
|
||||
reportlab
|
||||
weasyprint
|
||||
|
||||
# ===== DATE/TIME UTILITIES =====
|
||||
python-dateutil==2.8.2
|
||||
pytz==2023.3
|
||||
# ===== DATE/TIME =====
|
||||
python-dateutil
|
||||
pytz
|
||||
|
||||
# ===== 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
|
||||
# ===== LOGGING =====
|
||||
colorlog
|
||||
|
||||
# ===== SYSTEM MONITORING =====
|
||||
# System-Überwachung
|
||||
psutil==5.9.6
|
||||
psutil
|
||||
|
||||
# ===== ERROR TRACKING =====
|
||||
# Fehler-Tracking (optional)
|
||||
# sentry-sdk[flask]==1.38.0
|
||||
# ===== FILE WATCHING =====
|
||||
watchdog
|
||||
|
||||
# ===== API DOCUMENTATION =====
|
||||
# API-Dokumentation (optional)
|
||||
# flask-restx==1.3.0
|
||||
# flasgger==0.9.7.1
|
||||
# ===== VALIDATION =====
|
||||
cerberus
|
||||
marshmallow
|
||||
|
||||
# ===== UTILITIES =====
|
||||
python-slugify
|
||||
click
|
||||
|
||||
# ===== WINDOWS COMPATIBILITY =====
|
||||
pywin32; sys_platform == "win32"
|
||||
wmi; sys_platform == "win32"
|
||||
colorama; sys_platform == "win32"
|
||||
|
||||
# ===== LINUX COMPATIBILITY =====
|
||||
RPi.GPIO; sys_platform == "linux"
|
||||
|
||||
# ===== PRODUCTION DEPLOYMENT =====
|
||||
gunicorn; sys_platform != "win32"
|
||||
waitress
|
||||
|
||||
# ===== DEVELOPMENT =====
|
||||
python-dotenv
|
||||
|
Reference in New Issue
Block a user