Skip to main content

Watch command output and get notified on changes

Project description

watch-diff

PyPI

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.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

watch_diff-0.7.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file watch_diff-0.7.1.tar.gz.

File metadata

  • Download URL: watch_diff-0.7.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for watch_diff-0.7.1.tar.gz
Algorithm Hash digest
SHA256 660c21c820b2c35b89269d181969b7846ed1aad79e7ead3423744d4b32c4f425
MD5 a987e1b227f01b920733a21544e4f63c
BLAKE2b-256 8b5b74b5b331de05a11b6d32a4904337e46ca652feefecb0be154bdb623a3b59

See more details on using hashes here.

File details

Details for the file watch_diff-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for watch_diff-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2eb845b11c5e91c34e33cc6dd624a9c4f504d060c105ea0aa36b697ce4e03d3
MD5 4feaca25095586cb41063955721249f2
BLAKE2b-256 8527650b9f94baacffdb3ba98e22c12ad3fabd3dfd5bacb07affdcf765aeb09d

See more details on using hashes here.

Supported by

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