Watch command output and get notified on changes
Project description
watch-diff
setup
pip install watch-diff
usage
$ watch-diff --help
usage: watch-diff [-h] [-v | -d] [-i SECONDS] [-r RECIPIENT] command
Watch command output and get notified on changes
positional arguments:
command the command to watch
optional arguments:
-h, --help show this help message and exit
-i SECONDS, --interval SECONDS
number of seconds between executions
-r RECIPIENT, --recipient RECIPIENT
send email to recipient
logging level:
-v, --verbose enable verbose output
-d, --debug show debugging statements
credentials
export SMTP_HOST=qwer.ty
export SMTP_PORT=1234
export SMTP_USER=qwer@qwer.ty
read -s -p "SMTP_PASS: " SMTP_PASS
export SMTP_PASS
development
# setup
python3 -m venv venv && . venv/bin/activate
# editable install
pip install -e .[dev]
# running tests
python -m unittest -v
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
watch_diff-0.7.0.tar.gz
(4.9 kB
view details)
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 watch_diff-0.7.0.tar.gz.
File metadata
- Download URL: watch_diff-0.7.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbb0f88ac7a66067d3bdbb6227440a784edf4249a79c3fa97067c548788543fd
|
|
| MD5 |
d0daea6b83f33a4cde1d870c66952cd0
|
|
| BLAKE2b-256 |
5a5e9686e93d7ef7d867293a4ef0cff61d913dfebdcb0666d2e86a5d4170f656
|
File details
Details for the file watch_diff-0.7.0-py3-none-any.whl.
File metadata
- Download URL: watch_diff-0.7.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dccb2240687878a5c26f8b964ae0e242ec3761b85a4248c012c0c320417612c9
|
|
| MD5 |
0000d8a6507046e7a721776738ce1770
|
|
| BLAKE2b-256 |
70b184c72577aae054fe41ec07b5446afbe575990339135f01632d73f4a89439
|