Easy HotReload for Python projects
Project description
HotReload
Ein einfaches HotReload-System für Python-Dateien / A simple HotReload system for Python files.
Deutsch
HotReload erlaubt es, eine Python-Datei oder Funktion automatisch neu zu starten, sobald sich der Code ändert.
Es prüft die Syntax der Datei vor dem Neustart und nutzt multiprocessing sowie watchdog.
Installation
pip install universal-hotreload-python
Nutzung
hotreload <file.py>
<file.py>: Die Python-Datei, die überwacht und neu gestartet werden soll.
Features
- Überwacht die angegebene Datei
- Syntaxprüfung vor jedem Neustart
- Cross-platform (Windows/Linux/macOS)
- CLI über
hotreloadBefehl
English
HotReload allows you to automatically restart a Python file or function whenever the code changes.
It checks the syntax before restarting and uses multiprocessing and watchdog.
Installation
pip install hotreloading
Usage
hotreload <file.py>
<file.py>: The Python file to watch and automatically restart.
Features
- Watches only the specified file
- Syntax check before each restart
- Cross-platform (Windows/Linux/macOS)
- Logging with timestamp
- CLI via
hotreloadcommand
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file universal_hotreload_python-0.1.2.tar.gz.
File metadata
- Download URL: universal_hotreload_python-0.1.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5821246044845a7bd3fb28bf8c3bd9c55c57d9c8c04b8d816f482709a7ebe9f
|
|
| MD5 |
5637b6bab193788b5191454f0ce8d909
|
|
| BLAKE2b-256 |
e09978c4aa5209ed369ce17723f0dd4b5bd2e380c8e87b68d7bcee78bba20afd
|
File details
Details for the file universal_hotreload_python-0.1.2-py3-none-any.whl.
File metadata
- Download URL: universal_hotreload_python-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc771644d8567bacabf9a3ea415d530a2ca1d521f903b01b7f4225d83d34ed09
|
|
| MD5 |
ee7e1271f62d863daaab571b2f140a08
|
|
| BLAKE2b-256 |
d9ad97f5d874744f06c9a22908d7e39c34da81290d9c95367762f46e1258b2d6
|