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'
messages = ['Hello, World!', 'This is a test message from dbxslackmessage package']
slack_message = SlackMessage(webhook_url, channel)
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.6.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for dbxslackmessage-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad002e534423b2a74c268ae6e058c93ca2c0ffe552ba73641e2cabfe404084b7 |
|
MD5 | 637c87c4e7e8a4734e0eb1d1f9c49167 |
|
BLAKE2b-256 | 482885c50e9f1eb922290934ceefce8dbf114f01a3e9203ac7bde9193ac6e0aa |