Socket
Book a DemoInstallSign in
Socket

slack-notifications-datateam

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-notifications-datateam

Small package to send slack notifications

pipPyPI
Version
0.0.9
Maintainers
1

Slack notifitacions

Slack callback function to send alerts to any channel. It can be use for various errors on critical pieces of data pipelines.

Install

To install it is neccessary python 3.6 or greater, so review it python3 --version Then just need to type this pip3 install slack-notifications-datateam

Test it

To test it you can use the following code test_slack.py, just need to replace webhook_url and text values

from slack_notifications import slack_messages

webhook_url = 'https://hooks.slack.com/services/T00XXXXXX/B000XXXXXXX/XXXxxXXXXxXX0'
text = "Testing slack package. No need to investigate"

slack_messages.send_message(webhook_url=webhook_url,text=text)

And the just execute it

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.