Skip to main content

A package for notifying users about command execution in the terminal

Project description

Terminal Notifier

Terminal Notifier is a Python package designed to provide simple notifications about command execution in the terminal environment. It offers the capability to display notifications and play sounds upon completion of commands, enhancing user experience and workflow.

Installation

You can install Terminal Notifier via pip:

pip install terminal-notifier

Usage

from terminal_notifier import notify_execution

notify_execution(scenario="success")
notify_execution(scenario="failure")
notify_execution(scenario="user_input_required")
notify_execution(scenario="crash")
notify_execution(scenario="unknown")




Custom Messages

notify_execution(scenario="failure", custom_message="Command failed to execute!")
notify_execution(scenario="custom", custom_message="Custom message here")

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

terminal_notifier-0.8.tar.gz (90.1 kB view details)

Uploaded Source

Built Distribution

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

terminal_notifier-0.8-py3-none-any.whl (89.5 kB view details)

Uploaded Python 3

File details

Details for the file terminal_notifier-0.8.tar.gz.

File metadata

  • Download URL: terminal_notifier-0.8.tar.gz
  • Upload date:
  • Size: 90.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.1

File hashes

Hashes for terminal_notifier-0.8.tar.gz
Algorithm Hash digest
SHA256 265acaa324bd9c49b36f646e6d0fdc535bfe8053a8b3c67b5abb41c378f9d5b0
MD5 09d326f0e7dc32f8ba4edd0828e23514
BLAKE2b-256 0e50b0afab9430045039f082b43adc05da147356708df97fc7aea2cae787fbef

See more details on using hashes here.

File details

Details for the file terminal_notifier-0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for terminal_notifier-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d511ef104105ad41b4885d1ec4e4b12ddff3b1159f7df07d3f208afbedb3db4a
MD5 1161406790f2ca8b57cf6a0c1d83ba1e
BLAKE2b-256 4494c7c2f6082784252a994aeedc94394f27863b1440005cf7511e56b1a16680

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