Skip to main content

Fern Jupyter lab Extension

Project description

fern

Fabulous Extension for Reproducible Notebooks

fern is an extension for the Jupyter Lab Notebook that tracks and documents your workflow in amie.ai.

To see a quick demo of it in action checkout the gif below:

demo

Installation

Install fern with pip and install the jupyter extension:

pip install fern-labextension
jupyter labextension install @disraptoer/fern

Usage

To activate fern, add the following lines to the top of your notebook

%load_ext fern.fern
%track on "your amie API key"

To capture figures you'll also need to run

%matplotlib inline

If you want to turn the tracker off at any time just run

%track off

To start tracking agin rerun

%track on "your amie API key" 

FAQ

Q: How does it work?

We determine the inputs and outputs for each cell by building an AST of your code. Each new cell execution creates a new leaf in amie, which is attached in the tree where the most recent change in the new leaf's inputs occured as an output to a prior cell.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fern-labextension, version 0.0.13
Filename, size File type Python version Upload date Hashes
Filename, size fern_labextension-0.0.13-py3-none-any.whl (8.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size fern_labextension-0.0.13.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page