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 hotreloading

Nutzung

hotreload <datei.py>

  • <datei.py>: Die Python-Datei, die überwacht und neu gestartet werden soll.

Features

  • Überwacht nur die angegebene Datei
  • Syntaxprüfung vor jedem Neustart
  • Cross-platform (Windows/Linux/macOS)
  • Logging mit Zeitstempel
  • 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.1.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.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for universal_hotreload_python-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c8a727abcc5364f1ee5533814af3c38ed139165082be2f4d7ded97d8c42516f3
MD5 9b9cf19f3ecd772c60a73b886063fb8d
BLAKE2b-256 fb184f897f9eb9dfe307882419d0f634a626e4db0ef13cbd70b07db5326039dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for universal_hotreload_python-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a400ec12a14ce3d84773767bcdfe165165e8ac3d5dd35d277418338337a6bfd4
MD5 4ed60e53cf894fd7c3a96f8bcd97e2f2
BLAKE2b-256 87610fdff0ad350fa416cc286f03254d0c161077027a2733d845155159b619a6

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