Skip to main content

Tool to notify you when command will be executed.

Project description

Execution Notifier

PyPI Code style: black Actions Status Actions Status pre-commit.ci status PyPI - Python Version

This tool provides you ability to send yourself information about looong executed command when it is done. Information will be sent using Telegram Bot.

Prerequisites

  1. Python 3.4 or higher
  2. Telegram ID - get it from @exec_notifier_bot by using /start command.

Installation and running

You need to run your commands in quotes("") when passing script to run.

>>> pip install exec-notifier
>>> exec_notifier config --telegram_id=YOUR_TELEGRAM_ID
>>> exec_notifier notify "[your_command_here]"

Examples

>>> exec_notifier notify "ls -l | head"
>>> exec_notifier notify "ls -l > output.txt"
>>> exec_notifier notify "ls -l && sleep 3 && ps"
>>> exec_notifier notify "zip Downloads"

Future

  • Your own bot support will be added

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

exec-notifier-0.1.21.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

exec_notifier-0.1.21-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file exec-notifier-0.1.21.tar.gz.

File metadata

  • Download URL: exec-notifier-0.1.21.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1032-azure

File hashes

Hashes for exec-notifier-0.1.21.tar.gz
Algorithm Hash digest
SHA256 2187325462f208018ef08a7d71f55412328f8f0f7148df84c9198860a3f006f9
MD5 f2e3c02601e068f9fbeca81dea4deb92
BLAKE2b-256 e6d981ec198f319f1731b2d486d2f2b0b994254e092615dfd8d724b2e2552d3b

See more details on using hashes here.

File details

Details for the file exec_notifier-0.1.21-py3-none-any.whl.

File metadata

  • Download URL: exec_notifier-0.1.21-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1032-azure

File hashes

Hashes for exec_notifier-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 7507a4894d71ad9db47aae34b67960129f5cd75bfb856b73466493af06bbeb26
MD5 2b3085407ea15c084da2a5bb5b774661
BLAKE2b-256 3a8aadaba6b2af1aaea0e58c513b79be624a602b03fd18f58ef9a9875486f5bf

See more details on using hashes here.

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