Package to send slack messages via databricks notebooks
Project description
Package to send slack messages via databricks notebooks.
Usage
Here is a simple usage example:
from dbxslackmessage import SlackMessage
webhook_url = 'https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX'
channel = '#your-channel'
slack_message = SlackMessage(webhook_url, channel)
messages = ['Hello, World!', 'This is a test message from dbxslackmessage package']
slack_message.send_messages(messages)
Installing dbxslackmessage
python -m pip install dbxslackmessage
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
dbxslackmessage-0.1.5.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for dbxslackmessage-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28edc9a465ae55aa6ee57347ed21b349c59d2518d688909bdfda5e0d7dad0830 |
|
MD5 | c9f65c2c698306a0a75ad40f101237ba |
|
BLAKE2b-256 | 8ef04e10340ef4802ea8e81ae5c8c312bf45cafffa26ad729e498ad4a9d09cf6 |