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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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