Watches for file changes & runs tasks against your Python code.
Project description
Dev Runner
Watches for file changes & runs tasks against your Python code.
Quickstart
from flask import Flask
from dev_runner import DevRunner, MyPyTask, DevServerTask
if __name__ == "__main__":
flask = Flask(__name__)
dr = DevRunner(
path=".",
tasks=[
MyPyTask(path="routes", mypy_file="mypy.ini"),
DevServerTask(wsgi_app=flask),
]
)
dr.watch()
Tasks
- Mypy ✅
- SimpleHttpServer ✅
- Pylint TODO
- Pytest TODO
- ISort TODO
- Flake8 TODO
- Bandit TODO
- Sphinx TODO
- Custom Task TODO
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
code_spy-0.1.0.tar.gz
(2.7 kB
view details)
File details
Details for the file code_spy-0.1.0.tar.gz.
File metadata
- Download URL: code_spy-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fc34baf823347d8c4eebfd719f41c82dd58be6196bb823ab3c11fa4806f86be
|
|
| MD5 |
ee9be9e12c435621cea24c79509a9ff9
|
|
| BLAKE2b-256 |
d34aade5ccc19d9fb93a5809f4514c060270cadd1fbcecd71a75a26674d1b589
|