Skip to main content

A JupyterLab and Jupyter Notebook extension for rendering unittest results

Project description

A JupyterLab and Jupyter Notebook extension for rendering unittest results.

This project consists in a nbextension for Jupyter Notebooks and a labextension for Jupyter Lab. It adds the following features to Jupyter: * Test status in toolbar (result of IPython Unittest) * Argument –previous, to move to previous cells after execution * Timer, pair programming log, function generation for coding dojo sessions * Syntax highlight for %%write {mode} magic

Prerequisites

  • JupyterLab ^0.30.0 and/or Notebook >=4.3.0

How to Install

If you want to install the Jupyter Notebook extension:

pip install jupyter_dojo
jupyter nbextension enable --py --sys-prefix jupyter_dojo

If you want to install the Jupyter Lab extension:

jupyter labextension install @jupyter_dojo/labextension

Note that Jupyter Lab extension API is not stable yet. Thus, it is very likely that future version will break this extension.

Development

pip install -e .
# For JupyterLab
jupyter labextension link labextension
jupyter lab build
# For Notebook
jupyter nbextension install --symlink --py --sys-prefix jupyter_dojo
jupyter nbextension enable --py --sys-prefix jupyter_dojo

Contact

Do not hesitate to contact me:

License Terms

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
jupyter_dojo-0.3.2-py3-none-any.whl (70.9 kB) Copy SHA256 hash SHA256 Wheel py3
jupyter_dojo-0.3.2.tar.gz (46.8 kB) Copy SHA256 hash SHA256 Source None

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