Skip to content

Slack integration for notebooks. Start training your models and go out for a walk πŸƒ

License

Notifications You must be signed in to change notification settings

Achuttarsing/jupyslack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

69 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

jupyslack

Downloads

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