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
$ uv tool 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file punt-1.15.1.tar.gz.
File metadata
- Download URL: punt-1.15.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfc52c448a4b30275783805364f1e6cbc6e720b1c1de86442e99dacf23328903
|
|
| MD5 |
62e17748a90bed797fb8c22364dbc5ac
|
|
| BLAKE2b-256 |
657cc67fe0a34770f05ff184af09965b82f66c88cb2dee0991bde0b8e7cd61e4
|
File details
Details for the file punt-1.15.1-py3-none-any.whl.
File metadata
- Download URL: punt-1.15.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f59e68787be12af9f7db37f4e9030306db6e16a72f7dede7bd84c7a28ccd362
|
|
| MD5 |
32b02a259172a7ad29f3a9746ba2fadd
|
|
| BLAKE2b-256 |
db638c2d3d8644974ee83bbdd3c9939e6c1e48d1269c4ef4cdc3ce245a7eb271
|