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.

INSTALLATION

$ pip install punt

USAGE

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

INFO

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

LICENSE

Author:

Colin Thomas-Arnold

Copyright:

2012 Colin Thomas-Arnold <http://colinta.com/>

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.

Source Distribution

punt-1.12.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

punt-1.12.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file punt-1.12.0.tar.gz.

File metadata

  • Download URL: punt-1.12.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for punt-1.12.0.tar.gz
Algorithm Hash digest
SHA256 161ded9f18d859df466e5c802645723566396b7e5e5bbe79adb13be300970ed0
MD5 338115c8fb917ffbf16d3143d775a02a
BLAKE2b-256 96b6ddb4e20fdab77f95c09255b15bcaee10fdedb8c6c8fb8ec9ae756c2c176c

See more details on using hashes here.

File details

Details for the file punt-1.12.0-py3-none-any.whl.

File metadata

  • Download URL: punt-1.12.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for punt-1.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd8ac99b9f0f6f8bbe6a39c20fee0b477092408c5257efcbdb0dcbba69a0ed86
MD5 d08ad2213010b78d7f26cfd76dc6cb8e
BLAKE2b-256 a553718370c98f347e51aa5bbcc8e1d81fdf1af656f3244e16caaf59a8dc7df7

See more details on using hashes here.

Supported by

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