Skip to main content

CrossCompute extensions for Jupyter Notebook

Project description

Thanks to Salah Ahmed for prototyping these extensions.

Installation

sudo dnf -y install procps
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

git clone https://github.com/crosscompute/default-notebooks
cd default-notebooks/Examples/Python
crosscompute serve "Suggest Concepts.ipynb"

Usage via Jupyter Notebook

cd tests/notebooks
jupyter notebook
  • Click the blue paper plane icon (or press SHIFT-C SHIFT-P) to preview the notebook as a tool.

  • Click the red paper plane icon (or press SHIFT-C SHIFT-D) to deploy the notebook as a tool.

0.5

  • Add ToolDeployJson extension

  • Add ConfigurationUpdateJson extension

  • Show errors if deploy fails

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 ToolPreviewJson extension

  • Extract 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.5.1.1.tar.gz.

File metadata

File hashes

Hashes for crosscompute-notebook-extensions-0.5.1.1.tar.gz
Algorithm Hash digest
SHA256 dd1f3f3639f116041e311a7a79d07417d8a6b569bcd3bf6440f0066faa46503f
MD5 26a004a483af596d33d783f186672380
BLAKE2b-256 987c2cc8430245519476f2e437acd4c342de8efdc8e89f9f65febe7cc3df7f93

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