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 details)

Uploaded Source

Built Distribution

jupyslack-0.2.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jupyslack-0.2.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for jupyslack-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1290827ca1365eaab1af655e24bf080990a036c487ea59f4ffaf8ef37e28945e
MD5 db749863639373ff9035513ce989cd6f
BLAKE2b-256 f09e38021a7cd250bc5692398e16c0df023f439855d71399ea21ad55ad0adbb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jupyslack-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for jupyslack-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e828f0d74c2b71797fa5426d0c9cb2932cea560a341663913dc95e49b2f674f
MD5 595c681cc241d82805569792b9009a74
BLAKE2b-256 87f832c7b563b919554b806155269b648c3272d24b4ff7d3f39c199f6dfa148b

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