Skip to main content

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 .py files
  • 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


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)

Uploaded Source

Built Distribution

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

PythonDevRunner-0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for pythondevrunner-0.1.tar.gz
Algorithm Hash digest
SHA256 978cc799deb6311128112647ef6976e0af5c40bb70ab9ecfb9763c66a6dd08c0
MD5 111341d839b57a2e1e4badd5ed62b5a2
BLAKE2b-256 3185af837f3b78f0ebad2e9ac98d97a36b9b97521417504830e3d407fadde826

See more details on using hashes here.

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

Hashes for PythonDevRunner-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e686613b1faea789632bf91c5650183e803f859b5deae83b60a8216c77a24a1
MD5 ae064e6e92aebdd445ecc2a9d8cb9d75
BLAKE2b-256 61652562fb69f46e788c12baa7780516a0bdcd2228c29836a5918cc79a441b65

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