项目作者: jjj999
项目描述 :
Hot-reloader for TCP/IP servers.
高级语言: Python
项目地址: git://github.com/jjj999/stove.git
stove (alpha)
Installing
python -m pip install git+ssh://git@github.com/athnomedical/mygit.git
Usage
Writeing your configuration file
# glm_config.py
import subprocess
from stove import StoveGileum
def launch_app(host: str, port: int) -> None:
subprocess.run(["gunicorn", "e2e.app:app", "-b", f"{host}:{port}"])
glm = StoveGileum(fireable=launch_app)
Launching with the hot-loader
# stove [PATH OF CONFIGURATION]
stove glm_config.py