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:
João Felipe Pimentel joaofelipenp@gmail.com
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.
Source Distribution
Built Distribution
File details
Details for the file jupyter_dojo-0.3.2.tar.gz
.
File metadata
- Download URL: jupyter_dojo-0.3.2.tar.gz
- Upload date:
- Size: 46.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a473ba827fcbf8f99c86373c7863b95e308ecc9c9efafe1ddd4180310efcaa8e |
|
MD5 | 6b4062d1c395802c2a755ad938fabd86 |
|
BLAKE2b-256 | 36f8b9ba793062651db6c9dbc684c6102a97e8b8426ab14f002b7eeade25aa54 |
File details
Details for the file jupyter_dojo-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: jupyter_dojo-0.3.2-py3-none-any.whl
- Upload date:
- Size: 70.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f13e77a0a4185434a3462443627801314b72192a83d3be187aa6273ce46ec09 |
|
MD5 | 52fd2fb0ae6dcdcfb37a40ff0fde0bc6 |
|
BLAKE2b-256 | 98a519d8bcb91daa8ff2269035a164d3b29a1490ffb2e6030011f3a1012c5aa3 |