Skip to main content

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)

Uploaded Source

Built Distribution

dbxslackmessage-0.1.6-py3-none-any.whl (2.3 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