Skip to main content

A watch plugin for the Python task manager doit

Project description

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.

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

doit_watch-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

doit_watch-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file doit_watch-0.1.0.tar.gz.

File metadata

  • Download URL: doit_watch-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.9.6 Darwin/22.5.0

File hashes

Hashes for doit_watch-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7b19d125cc0a147ed461e610edd4d85ee1d47719cbf36cde265719af018c84ff
MD5 470300d80472b597243d3848fc9f5786
BLAKE2b-256 67e78992a2b168c32baa6eb17975b549992bc708354730c28243c5cee69436d4

See more details on using hashes here.

File details

Details for the file doit_watch-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: doit_watch-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.9.6 Darwin/22.5.0

File hashes

Hashes for doit_watch-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 934f0a53106cfb4f79a196517207f276e56853613b9fc16d5e5da2502a1083de
MD5 a81f9ebb8302218a8bc241639369a378
BLAKE2b-256 7dc7ccdec366ae2ea729b381d3566c33e4ee6b85a52eb315196edb5e544960b5

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