Skip to main content

A JupyterLab extension to explore and visualize HDF5 file contents.

Project description

jupyterlab-h5web

Github Actions Status PyPI version

A JupyterLab extension to explore and visualize HDF5 file contents. Based on h5web.

WARNING: This extension is still in active development. Please report any encountered issue.

Extension screenshot

Requirements

  • JupyterLab ~= 2.0 (not JupyterLab 3)

Install

Note: You will need NodeJS to install the extension.

pip install jupyterlab_h5web
jupyter lab build

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

pip install jupyterlab_h5web[full]
jupyter lab build

This will install hdf5plugin in addition to the extension.

Usage

Once the extension is installed, 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

Supported file formats

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

  • "Classic" HDF5: .h5, .hdf5
  • NeXus: .nexus, .nx, .nxs
  • CXI: .cxi

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

0.0.5

  • Updated @h5web/app to version 0.0.11
  • h5web has now a dark theme displayed when the JupyterLab's dark theme is on

0.0.4

  • Added optional support of filters through hdf5plugin
  • Added .nexus, .nx, .nxs and .cxi to the supported extensions
  • Fixed unwanted background changes when switching themes in JupyterLab

0.0.3

  • Added wheels

0.0.2

  • Removed npm from the build process

0.0.1

  • First release :tada:

Troubleshoot

If you are seeing the frontend extension but it is not working, check that the jupyterlab_hdf extension is enabled:

jupyter serverextension list

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

jupyter labextension list

If it is installed, try:

jupyter lab clean
jupyter lab build

Uninstall

pip uninstall jupyterlab_h5web
jupyter labextension uninstall jupyterlab-h5web

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

jupyterlab-h5web-0.0.5.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

jupyterlab_h5web-0.0.5-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab-h5web-0.0.5.tar.gz.

File metadata

  • Download URL: jupyterlab-h5web-0.0.5.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.12

File hashes

Hashes for jupyterlab-h5web-0.0.5.tar.gz
Algorithm Hash digest
SHA256 652894c9f661dd550264e8e6c30e1d661abe61cbafe8a6951c192504e1060886
MD5 67c42b787cb92f8036f61a522c82a422
BLAKE2b-256 965e3b57002ab3149b884b6196b022fa194050067d2a606a270fc5e125794800

See more details on using hashes here.

File details

Details for the file jupyterlab_h5web-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: jupyterlab_h5web-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.12

File hashes

Hashes for jupyterlab_h5web-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 461ce0d0b6767c21a44d76f1566680e7ebe7ad95116f83903decd3420afd4e1b
MD5 acfeb5aa3aa34fa7993c2c05e6cee7fe
BLAKE2b-256 8e3d2c305d0c51af0cf00c508e3f55199e7685199a1f30cacfc6620938408765

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