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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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