Gesamtlast_simple

This commit is contained in:
Bla Bla 2024-09-05 14:26:26 +02:00
parent c16faec6fe
commit 004b16c2fd
3 changed files with 12 additions and 3 deletions

View File

@ -28,6 +28,11 @@ git clone [URL des Repositories]
cd [Projektverzeichnis] cd [Projektverzeichnis]
pip install -r requirements.txt pip install -r requirements.txt
``` ```
Bei pip install mariadb Fehler:
sudo apt-get install -y libmariadb-dev
pip install mariadb
## Nutzung ## Nutzung
`config.example.py` anpassen und dann in config.py umbennenen `config.example.py` anpassen und dann in config.py umbennenen

View File

@ -167,7 +167,7 @@ def flask_gesamtlast():
print(last) print(last)
return jsonify(last.tolist()) return jsonify(last.tolist())
@app.route('/gesamtlast_simple', methods=['GET']) @app.route('/gesamtlast_simple', methods=['GET'])
def flask_gesamtlast_simple(): def flask_gesamtlast_simple():
if request.method == 'GET': if request.method == 'GET':

View File

@ -1,3 +1,4 @@
python 3.12
flask flask
numpy numpy
requests requests
@ -5,5 +6,8 @@ pytz
matplotlib matplotlib
deap deap
scipy scipy
sklearn scikit-learn
pandas pandas
tensorflow
joblib1.4.0
mariadb