Skip to main content

doit_watch

A watch plugin for the Python task manager doit.

How to use

Run doit watch, or doit watch <TASK>, to run the tasks once if necessary, and then run them again when any of the input files change.

$ doit watch
.  MyTask
-> Watching 324 files for changes...

How to install

To install, add the following to your config files:

# requirements.txt
doit-watch>=0.1.0
# pyproject.toml (if using)
[tool.doit.plugins.command]
watch = "doit_watch:Watch"
# doit.cfg (if using)
[COMMAND]
watch = "doit_watch:Watch"

Credits

I didn't write this plugin myself. I took the source code of the doit-auto1 plugin, and combined the PR of @bollwyvl and the PR of @jguillon into a new package, with the name that we all agree the command should have.

Metadata

Release files for doit-watch 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for doit-watch 0.1.0
File Size Uploaded
doit_watch-0.1.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for doit-watch 0.1.0
File Interpreter ABI Platform
doit_watch-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / doit_watch-0.1.0.tar.gz

Download URL doit_watch-0.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7b19d125cc0a147ed461e610edd4d85ee1d47719cbf36cde265719af018c84ff
BLAKE2b-256 checksum
How to use checksums
67e78992a2b168c32baa6eb17975b549992bc708354730c28243c5cee69436d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.9.6 Darwin/22.5.0

Release files / doit_watch-0.1.0-py3-none-any.whl

Download URL doit_watch-0.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
934f0a53106cfb4f79a196517207f276e56853613b9fc16d5e5da2502a1083de
BLAKE2b-256 checksum
How to use checksums
7dc7ccdec366ae2ea729b381d3566c33e4ee6b85a52eb315196edb5e544960b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.9.6 Darwin/22.5.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page