Skip to main content

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.

Metadata

Release files for fern-labextension 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fern-labextension 0.0.13
File Size Uploaded
fern_labextension-0.0.13.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fern-labextension 0.0.13
File Interpreter ABI Platform
fern_labextension-0.0.13-py3-none-any.whl Python 3 none any Details

Total release size: 16.3 kB

Release files / fern_labextension-0.0.13.tar.gz

Download URL fern_labextension-0.0.13.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b0a25635a6222feee45b1b267e673f47052e332fe03511b8d4fd0e44928da3ce
BLAKE2b-256 checksum
How to use checksums
d8f2269c38c03a778def351c32c8fb1834526900413d7b969db60adb4ae71862
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

Release files / fern_labextension-0.0.13-py3-none-any.whl

Download URL fern_labextension-0.0.13-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
174ceeece73fba6040bbda61fd9646135a0bcd665f24be7adcbd99e22d5603b4
BLAKE2b-256 checksum
How to use checksums
6522024e9fd50fbec8a7879b90ca45f359689782bbf8b4cfd5aa0ce306594aec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.0.13 This release

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page