Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/achuttarsing/jupyslack

Slack integration for notebooks. Start training your models and go out for a walk 🏃
https://github.com/achuttarsing/jupyslack

colab ipython ipython-magic ipython-notebook jupyter machine-learning notebook notebooks python slack

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# jupyslack
[![Downloads](https://pepy.tech/badge/jupyslack/month)](https://pepy.tech/project/jupyslack)

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

drawing

## Installation :

```console
$ pip install jupyslack
```
## Connection to Slack :
First, you need to create an authorization token on your Slack account.

```python
In [1]: %load_ext jupyslack

In [2]: %jupyslack setup
"Connected to Slack !"
```

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

```python
In [3]: %jupyslack track
```

##### You can give a name to the cell with : -name

```python
In [4]: %jupyslack track -name
```

## New feature : automatic tracking
This will notify you for all cells whose runtime is above 2 minutes

```python
In [5]: %jupyslack autotrack
```

##### You can set the minimum runtime with : -mintime (default=120)

```python
In [6]: %jupyslack autotrack -mintime
```

##### And stop the automatic tracking with :

```python
In [7]: %jupyslack untrack
```