## 依赖 ```bash python3 -m pip install httptools uvloop gunicorn uvicorn ``` ## 启动 ``` # uvicorn 启动 uvicorn local:app --reload --port 5000 # 多线程启动 gunicorn api_rec:app -c gunicorn_config.py -D ``` ## 关闭 ```bash kill -9 $(lsof -t -i:5000) ```