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:
[ipywidgets](https://github.com/jupyter-widgets/ipywidgets)
[jupyter-interval-widget](https://github.com/srizzo/jupyter-interval-widget)
Then:
$ pip install jupyter-live-magic
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jupyter_live_magic-0.1.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b72c43e9da90efad7db78a62ead1d10bb4ac99bdfc58902fd149316e72ed6a0f |
|
MD5 | de74ddf1739a8b859a50d2f4ba8c8943 |
|
BLAKE2b-256 | 9d6ef3154e2f261c4d5b46a1734a0b02f9fe50e7c0e514044642e696a1be4d4a |