Servers
HMR Docs
@promplate
Real hot-module reload for Python—side effects handled reactively. https://py3.online/hmr
Overview
What is HMR Docs?
HMR Docs is a server that implements a reactive programming engine and a fine-grained, on-demand hot‑module reload (HMR) tool for Python. It allows part of your app to be updated at runtime without a full restart, keeping your application state intact.
How to use HMR Docs?
Install the hmr package with pip install hmr and run your entry file using hmr path/to/your/entry-file.py. Alternatively, use uvx hmr path/to/your/entry-file.py if you have uv installed. The server monitors