Skip to main content

CrossCompute extensions for Jupyter Notebook

Project description

Thanks to Salah Ahmed for prototyping these extensions.

Installation

pip install crosscompute-notebook-extensions
jupyter nbextension install \
    --sys-prefix --py crosscompute_notebook_extensions
jupyter nbextension enable \
    --sys-prefix --py crosscompute_notebook_extensions
jupyter serverextension enable \
    --sys-prefix --py 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

  • Debug when previewing tool directly from notebook

  • 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

  • Extracte notebook support from crosscompute package

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

File details

Details for the file crosscompute-notebook-extensions-0.4.2.2.tar.gz.

File metadata

File hashes

Hashes for crosscompute-notebook-extensions-0.4.2.2.tar.gz
Algorithm Hash digest
SHA256 3074a1872700b5d748b7888c6658ea93a428a44aae9d135199e79dd529414deb
MD5 51ad46c7772b46e2f2c9d5e2fe06a010
BLAKE2b-256 5026346859dda225493b3cfcaef105ff00e6e9ccc627bbbd66e686b050b295dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page