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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyter-live-magic-0.1.2.tar.gz.
File metadata
- Download URL: jupyter-live-magic-0.1.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f1a2677f79ca3feea5a81aab0df1ad48459ddac2f11d15151127ba6c7571213
|
|
| MD5 |
312ab4e69e7ce59f589475fb8a2b1d24
|
|
| BLAKE2b-256 |
43cbf6aad9641593b4725ea4e1136925e5c76d6d909fb6d3d2e0fca613001dff
|
File details
Details for the file jupyter_live_magic-0.1.2-py2-none-any.whl.
File metadata
- Download URL: jupyter_live_magic-0.1.2-py2-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b72c43e9da90efad7db78a62ead1d10bb4ac99bdfc58902fd149316e72ed6a0f
|
|
| MD5 |
de74ddf1739a8b859a50d2f4ba8c8943
|
|
| BLAKE2b-256 |
9d6ef3154e2f261c4d5b46a1734a0b02f9fe50e7c0e514044642e696a1be4d4a
|