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 https://test.pypi.org/simple/ 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.7.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: slack_notification-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 840b2e26a7538d1dbf8a7d63e6ce11a6f5412e7468a5f1e62c906db8a0c0ad3d
MD5 31b7141c857b3c608c70d7f05ce7acb5
BLAKE2b-256 843a93ef1c881a8dc69a198f7630099fa6e4b4beb610dac1e1e5af4cb2d87fc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for slack_notification-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 225eceb08086251f788f9c116ac7e99bdbe69bb9bdb333c83946bef00d9ca7d6
MD5 0c7d4b818f57f198ca11872c6deda832
BLAKE2b-256 e5328e303aacc3a8b8b928bc06de65e933d2454c208d1cf77470a65f62e8296c

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