Skip to main content

Slack integration to notebooks

Project description

jupyslack

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

drawingdrawing

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.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

jupyslack-0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file jupyslack-0.2.tar.gz.

File metadata

  • Download URL: jupyslack-0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for jupyslack-0.2.tar.gz
Algorithm Hash digest
SHA256 09856c2e808097636b55827bd6832ee1a665de262a45eaf67f4800608add0b07
MD5 4799bbebe50fb20d48421d8b64275087
BLAKE2b-256 0300c031fe9c7f0dd1b920b96bbdbfec16f1c2185b5899dc7eb60b1217db4426

See more details on using hashes here.

File details

Details for the file jupyslack-0.2-py3-none-any.whl.

File metadata

  • Download URL: jupyslack-0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for jupyslack-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c1c3c26d2c9256c2c2241a316f7630c3f1742dec24b7c5d94800ea0ed85b5bf
MD5 30476c3d3c1acac5f442e1d5a6ff3b47
BLAKE2b-256 af0460c8e43432f0bf2ce5b0a23e5fd15c6c4bce3b7c9abe2fca1b4fe1330f59

See more details on using hashes here.

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