# python-flask **Repository Path**: beesoft-language/python-flask ## Basic Information - **Project Name**: python-flask - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-18 - **Last Updated**: 2024-10-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # readme ## init ``` pip install flask pip install prometheus-client pyspark python main.py ``` ## server ``` pip install uwsgi uwsgi --http 127.0.0.1:8083 --wsgi-file main.py --callable app ``` ``` pip install gunicorn gunicorn -w 4 main:app ``` ``` pip install waitress waitress-serve --port=8083 main:app ``` ## docker ``` docker build -t python-flask . docker run -p 8083:8083 python-flask ``` ## 资源 [metrics](http://localhost:8083/metrics) [spark](http://localhost:8083/wordcount?input_file=input.txt)