CrossCompute extensions for Jupyter Notebook
Project description
Thanks to Salah Ahmed for prototyping these extensions.
Installation
pip install crosscompute-notebook-extensions jupyter nbextension install \ --py --sys-prefix crosscompute_notebook_extensions jupyter nbextension enable \ --py --sys-prefix crosscompute_notebook_extensions jupyter serverextension enable \ --py --sys-prefix crosscompute_notebook_extensions
Usage via command-line
crosscompute serve tests/notebooks/add-integers.ipynb crosscompute serve tests/notebooks/map-locations.ipynb
Usage via Jupyter Notebook
cd tests/notebooks jupyter notebook
Click the green paper plane icon (or press SHIFT-C SHIFT-P) to preview the notebook as a tool.
0.4
Preview only if first code cell has the word CrossCompute
Show errors if preview fails
Ignore IPython magic
Improve unicode support
Save tool template if first cell is markdown
Save result template if last cell is markdown
0.3
Support custom base_url
0.2
Add example notebooks
Add ToolPreview redirect
Fix Python 3 support
Replace pgrep with psutil to support non-POSIX systems
0.1
Add ToolPreview extension
Extract notebook support from crosscompute package
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for crosscompute-notebook-extensions-0.4.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 679c479b460d5ccab6e65448685f9c93f336561841f939f2e2c49aff2f8fd32e |
|
MD5 | 78a1677b232a55877439a03da7af1c7d |
|
BLAKE2b-256 | 10f97851f222eb7fe1099cd13c4e13db392dea99d9707eb73c6cf98a11daacb2 |