Skip to main content

A simple way to send slack notification

Project description

Slack-Notification

A simple way to send slack notification

Install

pip install -i slack-notification

Usage

from slack_notification.slack_notification import SlackNotification

CHANNEL = "YOUR_CHANNEL" #example TXXXXXXXXXX/BXXXXXXXX/NXXXXXXXXXX"
slack = SlackNotification(CHANNEL)
message = "YOUR_MESSAGE"
response = slack.notify(message)

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

slack_notification-0.1.8.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

slack_notification-0.1.8-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file slack_notification-0.1.8.tar.gz.

File metadata

  • Download URL: slack_notification-0.1.8.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for slack_notification-0.1.8.tar.gz
Algorithm Hash digest
SHA256 39eb0f4e47e8c4422051084b45d781c863a756ac2732dc0e9c496bea8228114c
MD5 6eccc6d40aaf8b1453a8e28484da38e2
BLAKE2b-256 bc5a81f2e285f23e0350557bcb5cce325c0c5349be849d4e96d436c80ce8f4f3

See more details on using hashes here.

File details

Details for the file slack_notification-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for slack_notification-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6bacbd8d9b5f51c926899a4079e2719df95976102da0145b7aaa5e27521dd569
MD5 5775a34b513bda3349c0bff8d7a0a10c
BLAKE2b-256 cd82af3887e7b62ffbf9167ffb499c19585eacb3d08e613c8a1d5e3f041d87a7

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