Skip to main content

jupyterlab-h5web

Github Actions Status PyPI version Binder

Demo

jupyterlab-h5web is a JupyterLab extension to explore and visualize HDF5 file contents, using the web-based viewer h5web. h5web supports the NeXus format.

See Usage for more details.

Requirements

  • JupyterLab 4

See the table below for earlier JupyterLab versions

Compatibility table

JupyterLab 2 JupyterLab 3 JupyterLab 4
Extension version range 0.0.1 - 0.3.0 1.0.0 - 8.0.0 10.0.0 - ...

Install

With pip

pip install jupyterlab_h5web

To enable support for additional filters such as blosc or bitshuffle:

pip install jupyterlab_h5web[full]

This will install hdf5plugin in addition to the extension.

With conda

conda install -c conda-forge jupyterlab-h5web

Usage

This extension enables opening HDF5 files in a JupyterLab tab and exploring HDF5 files in Jupyter notebooks.

In JupyterLab

You can double-click on an HDF5 file or right-click Open with -> h5web to launch a tab.

This tab is composed of a sidebar, where you can explore the structure of the HDF5 file, and of a main area where the visualization of the selected entity takes place. This visualization is controlled by the upper-right button that can toggle between:

  • Display: visualize datasets using Line, Heatmap or Matrix visualizations.
  • Inspect: show the metadata and attributes of any entity

In Jupyter notebooks

To open a HDF5 file with H5Web, use the H5Web widget in a notebook cell:

from jupyterlab_h5web import H5Web

H5Web('<path to the HDF5 file>')

The cell height can be resized with the handle at the bottom-right.

An example is provided in example.ipynb.

Supported file formats

jupyter-h5web detects HDF5 files based on their file extensions. The viewer works for the following extensions:

For other types of files, you can change the extension to one of the supported extensions or, if it is widespread, open an issue to discuss its support.

Changelog

See https://github.com/silx-kit/jupyterlab-h5web/releases.

Troubleshoot

If the following instructions do not solve your issue, you can open an issue on GitHub.

Check the server extension

If you are seeing the frontend extension but it is not working, check that jupyterlab_h5web is installed and enabled.

It should be listed when running:

jupyter server extension list

If jupyterlab_h5web does not appear or is disabled, try to enable it:

jupyter server extension enable jupyterlab_h5web

Check the frontend extension

If jupyterlab_h5web is installed and enabled but you are not seeing the frontend, check the frontend is installed:

jupyter labextension list

Uninstall

pip uninstall jupyterlab_h5web

Metadata

Release files for jupyterlab-h5web 12.8.0

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

Source distribution (sdist)

Source distribution for jupyterlab-h5web 12.8.0
File Size Uploaded
jupyterlab_h5web-12.8.0.tar.gz 514.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-h5web 12.8.0
File Interpreter ABI Platform
jupyterlab_h5web-12.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 939.7 kB

Release files / jupyterlab_h5web-12.8.0.tar.gz

Download URL jupyterlab_h5web-12.8.0.tar.gz
Size 514.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e7d69a06634ce387521251176b977dd158e601ab11ca9eb990ad0b7b5b87ab8f
BLAKE2b-256 checksum
How to use checksums
41222cf7c2c6c9276668fdc2c943cc82f713de580f57f1ef52282f50b447b53f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / jupyterlab_h5web-12.8.0-py3-none-any.whl

Download URL jupyterlab_h5web-12.8.0-py3-none-any.whl
Size 425.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eaa0c63c8083d378e35fd1d56871bff893efb1be00608548a2daf7f1906c323b
BLAKE2b-256 checksum
How to use checksums
d9bce6050a87eec348711d09dff7f2020b48386fbcef9fd75389a47b69264795
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

12.8.0 This release

2 release files

12.7.0

2 release files

12.6.0

2 release files

12.5.0

2 release files

12.4.0

2 release files

12.3.0

2 release files

12.2.0

2 release files

12.1.0

2 release files

12.0.0

2 release files

11.0.0

2 release files

10.0.0

2 release files

8.1.0

2 release files

8.0.0

2 release files

7.1.2

2 release files

7.1.1

2 release files

7.1.0

2 release files

7.0.0

2 release files

6.6.1

2 release files

6.5.0

2 release files

6.4.0

2 release files

6.0.1

2 release files

6.0.0

2 release files

5.0.0

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.14

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

1 release file

0.0.1

1 release file

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