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.1.tar.gz
(3.3 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.1.tar.gz.
File metadata
- Download URL: pythondevrunner-0.1.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a471fa884cc6923a3426fa4db8470c765ca01f300f10b881d3199d224b7d76e
|
|
| MD5 |
a76d3a6a16c02ca7c3ad4a7948b69ad5
|
|
| BLAKE2b-256 |
a7e192d08fbbccf379786fbebf939606d8a04bba1f83393beffe933c3a6f312c
|
File details
Details for the file PythonDevRunner-0.1.1-py3-none-any.whl.
File metadata
- Download URL: PythonDevRunner-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.7 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 |
8fc932c3e4a7dc8723382884e40c933d82f2815aab83e89539b7595a1e0a962d
|
|
| MD5 |
3347058a92090b39145439d00a08df93
|
|
| BLAKE2b-256 |
5107ffa3d8a39d6571eaf4a400387e3c7f135868a951425c2ef914faeef70c85
|