Skip to main content

A Jupyter Notebook %%magic for periodic auto re-run and refresh of Cells

Project description

# Jupyter Live Magic

A Jupyter Notebook %%magic for periodic auto re-run and refresh of Cells

Usage

Load extension inside a Jupyter notebook:

` %load_ext jupyterlivemagic `

Add code with Cell magic:

` %%live # code to re-run `

Examples

Display current time, update every second:

` %%live %%bash date `

Display current datetime, update every 500ms:

` %%live --refresh-rate 500 import datetime str(datetime.datetime.now()) `

Installation

Install and activate dependencies:

Then:

$ pip install jupyter-live-magic

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

jupyter-live-magic-0.1.2.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

jupyter_live_magic-0.1.2-py2-none-any.whl (3.4 kB view hashes)

Uploaded Python 2

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