Skip to main content

Monitor file changes, and run script on changes.

Project description

I saw kicker the other day and thought: I could write that in a minute!

So I did.


$ pip install punt


$ punt 'du -sh'  # list file sizes, update the list when a file in cwd changes
$ punt -w tests 'py.test'          # run py.test when any file in tests/ changes
$ punt -w tests -w lib 'py.test'   # run py.test when any file in tests/ or lib/ changes
$ punt -l make                     # only monitor "local" files (don't observe subdirectories)
$ punt --help
$ punt --version


punt is a tiny tool, just one file. It uses watchdog to monitor file changes, and docopt to parse command line arguments.


Author:Colin Thomas-Arnold
Copyright:2012 Colin Thomas-Arnold <>

Copyright (c) 2012, Colin Thomas-Arnold All rights reserved.

See LICENSE for more details (it’s a simplified BSD license).

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
punt-v1.9.2.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page