Skip to main content

Slack integration to notebooks

Project description

jupyslack

Slack integration for notebooks. Keep track of your code right in your pocket.

drawing

Installation :

$ pip install jupyslack

Connection to Slack :

First, you need to create an authorization token on your Slack account.

In [1]: %load_ext jupyslack

In [2]: %jupyslack setup <slack_token> <channel_name>
"Connected to Slack !"

To track a cell, simply put this magic line at its beggining :

In [3]: %jupyslack track
You can give a name to the cell with : -name
In [4]: %jupyslack track -name <name>

New feature : automatic tracking

This will notify you for all cells whose runtime is above 2 minutes

In [5]: %jupyslack autotrack
You can set the minimum runtime with : -mintime (default=120)
In [6]: %jupyslack autotrack -mintime <time_in_sec>
And stop the automatic tracking with :
In [7]: %jupyslack untrack

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

jupyslack-0.2.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

jupyslack-0.2.1-py3-none-any.whl (4.6 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