Skip to main content

A terminal tool that notifies you when your task is done.

Project description

Termiredy

A terminal tool that notifies you when your task is done.

Ever started a long-running command like a build, a data processing script, or a large file download and found yourself constantly checking the terminal to see if it's done? Termiredy is a simple wrapper for your commands that lets you know with a desktop notification the moment your task is complete.

It times your command and tells you how long it took right before sending the notification.

Features

  • Wrap any command-line task.
  • Measures and displays the total execution time.
  • Sends a native desktop notification upon completion.
  • Supports macOS and Linux (with notify-send).
  • Gracefully falls back to a console message on other operating systems.

Installation

  1. Clone this repository:

    git clone https://github.com/bryansapo/Termiredy.git
    cd Termiredy
    
  2. For Linux users: You need to have notify-send installed. You can typically install it with your package manager.

    On Debian/Ubuntu:

    sudo apt-get install libnotify-bin
    

Usage

Using Termiredy is straightforward. Just prefix your usual command with termiredy.

Syntax

termiredy [your_command]

Examples

  1. Running a Python script:

    Let's say you have a script work.py that takes a few seconds to run.

    termiredy python work.py
    

    Once the script finishes, you will see the total execution time in your terminal and receive a desktop notification.

  2. Running any shell command:

    You can use it with any command, like sleep.

    termiredy sleep 5
    

    After 5 seconds, you'll be notified.

TODOs

  1. Windows Notification The current version of Termiredy only support MacOS and Linux with notify-send.
  2. Email, third parties notification Use Slack, Discord or other tools to notify user when the command/program is done.

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

termiredy-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

termiredy-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file termiredy-0.1.0.tar.gz.

File metadata

  • Download URL: termiredy-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for termiredy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 99cb9cf485514683eec97bc953f0822f5bd91aeabe948ba30b2e1774053e6cc5
MD5 ccf30bea55c87f3eb8a2f4e93af66191
BLAKE2b-256 a64d69c4f7ed379b3459d95a7f5d32e57741aff7efd59c9b839bd28911ef99a6

See more details on using hashes here.

File details

Details for the file termiredy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: termiredy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for termiredy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 852642b287a162f8838773e023f5e0f20e48006c4af7de2baac186a85436aecc
MD5 57e099668db933af36b1411c4eab3803
BLAKE2b-256 0554a2ce7563e300fde81f1ed97f57fb255dc2c1c8f6d4e0b116723713a8d2d6

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