Skip to main content

Runs arbitrary commands if files specified to be watched change.

Project description

A python clone (almost) of the Linux watch command.

The pywatch.watcher.Watcher class can be told to watch a set of files, and given a set of commands to run whenever any of those files change.

It was inspired by Ruby’s ZenTest, but while it can be used for testing, pywatch is intended to run any command when files change… test runners or otherwise.

See pywatch.autotest for an example of a continously running watch-and-runner.

Changes in 0.2

  • Fixed missing os import in setup.py

Changes in 0.1

  • Initial release of python module

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

pywatch-0.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file pywatch-0.1.tar.gz.

File metadata

  • Download URL: pywatch-0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pywatch-0.1.tar.gz
Algorithm Hash digest
SHA256 034ead16ccd5b11e90ba73bcd7ec5709861da82c149526e5fbd6238ed6676079
MD5 3dadff519901a2fde87cf7b476c9a324
BLAKE2b-256 a211e42b951be6660bbb8a2b31a62d590de8045efb4ba4544ebb2e31bb4c968c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page