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

Uploaded Source

Built Distribution

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

Uploaded Python 2

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

Hashes for jupyter-live-magic-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1f1a2677f79ca3feea5a81aab0df1ad48459ddac2f11d15151127ba6c7571213
MD5 312ab4e69e7ce59f589475fb8a2b1d24
BLAKE2b-256 43cbf6aad9641593b4725ea4e1136925e5c76d6d909fb6d3d2e0fca613001dff

See more details on using hashes here.

File details

Details for the file jupyter_live_magic-0.1.2-py2-none-any.whl.

File metadata

File hashes

Hashes for jupyter_live_magic-0.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 b72c43e9da90efad7db78a62ead1d10bb4ac99bdfc58902fd149316e72ed6a0f
MD5 de74ddf1739a8b859a50d2f4ba8c8943
BLAKE2b-256 9d6ef3154e2f261c4d5b46a1734a0b02f9fe50e7c0e514044642e696a1be4d4a

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