Skip to main content

CrossCompute Extensions for Jupyter Notebook

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/crosscompute-notebook-examples
cd crosscompute-notebook-examples/Examples
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

Metadata

Release files for crosscompute-notebook-extensions 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crosscompute-notebook-extensions 0.5.3
File Size Uploaded Provenance Actions
crosscompute-notebook-extensions-0.5.3.tar.gz 8.5 kB Without provenance Details for crosscompute-notebook-extensions-0.5.3.tar.gz

Release files / crosscompute-notebook-extensions-0.5.3.tar.gz

Download URL crosscompute-notebook-extensions-0.5.3.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dae963f1be3ca72b6da31dd79a8ceb2427277207cb212532b8a3f408337ab98e
BLAKE2b-256 checksum
How to use checksums
2426cd6d63f1b386643d36f1837403f2f2666063e55dd0845e99f5fcfd26da06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for crosscompute-notebook-extensions 0.5.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page