Metadata-Version: 2.4
Name: universal-hotreload-python
Version: 0.1.1
Summary: Easy HotReload for Python projects
Author: naXan
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: watchdog>=3.0.0
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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
