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 details)
Built Distribution
File details
Details for the file dbxslackmessage-0.1.6.tar.gz
.
File metadata
- Download URL: dbxslackmessage-0.1.6.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d44741616b927dd6e41f952328698d5749cb974270e656e5dba3dd2fb4282a2 |
|
MD5 | 99ef158e48e1bd88b5a9a093b2ecba1d |
|
BLAKE2b-256 | b1d6bf38f36b4d328caa8401595eac0352f102444cbe799e137dd39bd3085c6f |
File details
Details for the file dbxslackmessage-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: dbxslackmessage-0.1.6-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad002e534423b2a74c268ae6e058c93ca2c0ffe552ba73641e2cabfe404084b7 |
|
MD5 | 637c87c4e7e8a4734e0eb1d1f9c49167 |
|
BLAKE2b-256 | 482885c50e9f1eb922290934ceefce8dbf114f01a3e9203ac7bde9193ac6e0aa |