Skip to main content

Send Slack notifications to report on Luigi pipelines

Project description

luigi-slack adds Slack notifications to Luigi.

Installation

From the cheese shop:

pip install luigi_slack

From GitHub:

git clone https://github.com/bonzanini/luigi-slack
cd luigi-slack
python setup.py install

Current status

At the moment this is a proof-of-concept, version 0.1

This is experimental and the API could change drastically

Features

Roadmap to version 1.0

  • Python 3

  • Configurable notifications on different events

  • Straightforward interface

Usage

Example of usage:

from luigi_slack import SlackBot, notify

# ...

slacker = SlackBot(token='my-token',
                   channels=['mychannel', 'anotherchannel'])
with notify(slacker):
    luigi.run(main_task_cls=MyTask)

Credits: inspired by luigi-monitor.

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

luigi-slack-0.1.2.tar.gz (3.5 kB view hashes)

Uploaded Source

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