Skip to content

VerdigrisTech/jupyterlab-execute-time

 
 

Repository files navigation

jupyterlab-execute-time






DEPRECTATED. PLEASE SEE NEW PIP INSTALL METHOD FOR JUPYTERLAB 3

The only place this repo is used is in the https://github.com/VerdigrisTech/verdigris_datascience in order to provide some extra security when installing the lab extension.

Keeping this around for a minute so to have a fallback when rolling forward but by the time you're reading this it's probably already ready to just be deleted as use the JuypterLab3 method.







Binder NPM version NPM DM Build Status

Display cell timings.

Execute Time Screenshot

This is inspired by the notebook version here.

Note: for this to show anything, you need to enable cell timing in the notebook via Settings->Advanced Settings Editor->Notebook: {"recordTiming": true}

"Jupyter" is a trademark of the NumFOCUS foundation, of which Project Jupyter is a part."

Requirements

  • JupyterLab >= 2.0.2

Install

jupyter labextension install jupyterlab-execute-time

Contributing

Install

# Clone the repo to your local environment
# Move to jupyterlab-execute-time directory
# Install dependencies
yarn
# Build Typescript source
yarn run build
# Link your development version of the extension with JupyterLab
jupyter labextension link .
# Rebuild Typescript source after making changes
yarn run build
# Rebuild JupyterLab after making any changes
jupyter lab build

You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

# Watch the source directory in another terminal tab
yarn run watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch

To test:

yarn run test

Uninstall

jupyter labextension uninstall jupyterlab-execute-time

History

This plugin was contributed back to the community by the D. E. Shaw group.

D. E. Shaw Logo

License

This project is released under a BSD-3-Clause license.

"Jupyter" is a trademark of the NumFOCUS foundation, of which Project Jupyter is a part.

About

Execute Time Plugin for Jupyter Lab

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • TypeScript 81.8%
  • Jupyter Notebook 11.1%
  • Shell 4.0%
  • CSS 3.1%