jupyslack

Slack integration for notebooks. Start training your models and go out for a walk 🏃

MIT License

Downloads
247
Stars
4
Committers
2

jupyslack

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

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