Skip to main content

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 hotreload Befehl

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 hotreload command

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

universal_hotreload_python-0.1.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

universal_hotreload_python-0.1.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file universal_hotreload_python-0.1.2.tar.gz.

File metadata

File hashes

Hashes for universal_hotreload_python-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d5821246044845a7bd3fb28bf8c3bd9c55c57d9c8c04b8d816f482709a7ebe9f
MD5 5637b6bab193788b5191454f0ce8d909
BLAKE2b-256 e09978c4aa5209ed369ce17723f0dd4b5bd2e380c8e87b68d7bcee78bba20afd

See more details on using hashes here.

File details

Details for the file universal_hotreload_python-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for universal_hotreload_python-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc771644d8567bacabf9a3ea415d530a2ca1d521f903b01b7f4225d83d34ed09
MD5 ee7e1271f62d863daaab571b2f140a08
BLAKE2b-256 d9ad97f5d874744f06c9a22908d7e39c34da81290d9c95367762f46e1258b2d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page