Skip to main content

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

Metadata

Release files for terminal-notifier 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for terminal-notifier 0.8
File Size Uploaded
terminal_notifier-0.8.tar.gz 90.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for terminal-notifier 0.8
File Interpreter ABI Platform
terminal_notifier-0.8-py3-none-any.whl Python 3 none any Details

Total release size: 179.5 kB

Release files / terminal_notifier-0.8.tar.gz

Download URL terminal_notifier-0.8.tar.gz
Size 90.1 kB
Tags Source
SHA-256 checksum
How to use checksums
265acaa324bd9c49b36f646e6d0fdc535bfe8053a8b3c67b5abb41c378f9d5b0
BLAKE2b-256 checksum
How to use checksums
0e50b0afab9430045039f082b43adc05da147356708df97fc7aea2cae787fbef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.1

Release files / terminal_notifier-0.8-py3-none-any.whl

Download URL terminal_notifier-0.8-py3-none-any.whl
Size 89.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d511ef104105ad41b4885d1ec4e4b12ddff3b1159f7df07d3f208afbedb3db4a
BLAKE2b-256 checksum
How to use checksums
4494c7c2f6082784252a994aeedc94394f27863b1440005cf7511e56b1a16680
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.8 This release

2 release files

0.7

2 release files

0.6

2 release files

0.4

2 release files

0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page