A Python auto-reloading development runner
Project description
PythonDevRunner
Auto-reload your Python app when source files change. Useful for development of web servers, CLI tools, or any script-driven workflow.
🚀 Features
- Watches for changes in
.pyfiles - Automatically restarts your app
- Configurable via CLI or JSON file
- Cross-platform support
🛠 Installation
pip install .
💡 Usage
CLI
devrunner --entry main.py --watch-ext .py --exclude venv __pycache__ --debounce 0.5
Config file
devrunner --config examples/config.json
🔧 Configuration Options
| Option | CLI Flag | Config Key | Default |
|---|---|---|---|
| Entry script | --entry |
entry |
main.py |
| Extensions | --watch-ext |
watch_ext |
[".py"] |
| Exclude | --exclude |
exclude |
[] |
| Debounce | --debounce |
debounce |
0.5 |
| Verbose | --quiet |
quiet |
false |
📦 Packaging
Supports installation via pip install . and CLI via devrunner.
License
MIT
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
pythondevrunner-0.1.tar.gz
(3.2 kB
view details)
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 pythondevrunner-0.1.tar.gz.
File metadata
- Download URL: pythondevrunner-0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
978cc799deb6311128112647ef6976e0af5c40bb70ab9ecfb9763c66a6dd08c0
|
|
| MD5 |
111341d839b57a2e1e4badd5ed62b5a2
|
|
| BLAKE2b-256 |
3185af837f3b78f0ebad2e9ac98d97a36b9b97521417504830e3d407fadde826
|
File details
Details for the file PythonDevRunner-0.1-py3-none-any.whl.
File metadata
- Download URL: PythonDevRunner-0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e686613b1faea789632bf91c5650183e803f859b5deae83b60a8216c77a24a1
|
|
| MD5 |
ae064e6e92aebdd445ecc2a9d8cb9d75
|
|
| BLAKE2b-256 |
61652562fb69f46e788c12baa7780516a0bdcd2228c29836a5918cc79a441b65
|