Skip to main content

Send slack message if program finished.

Project description

# slack async alert this program sends alarm when passed command finished, and tell you that program successfully finished or not.

this program can be used, when running program that takes long time work.

## usage ` slrt {some command} `

## example ` slrt python run.py --some random_args --that can_be_passed slrt echo "hello world" `

## installation

  1. pip install slack_async_alert

  2. run slrt-configure command.
    • it will ask slack-api-key, user_id, server identifier

    • slack-api-key: bot api key, that can made from slack custom app.

    • user_id: slack user id

    • server identifier: identifier that you can recognise where your program is finished.

  3. finished, if slrt command not works, restart shell.

## Uninstallation

  1. pip uninstall slack_async_alert

  2. rm -r ~/.slack_async_alert/

  3. delete ‘export PATH=”$PATH:$HOME/.slack_async_alert/bin”’ term from your shell config file.

## How to build package. ` python setup.py bdist_wheel twine upload dist/{generated dist file path} `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

slack_async_alert-1.0.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file slack_async_alert-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: slack_async_alert-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for slack_async_alert-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0ddac6899d95ecf41daa2bc39f66aa6989e9ca798a4591c5b4e0251e651f3b8e
MD5 ea3831bd9d0cfa4cceb9a0b5b3449272
BLAKE2b-256 3e5c34e0e77b4c3b796a46654347c06c7c7c0da2eee2de63f3e72387d67ddd90

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