Skip to main content

Explore HDF5 files in an HTML view

Project description

H5Glance lets you explore HDF5 files in the terminal or an HTML interface.

https://travis-ci.org/European-XFEL/h5glance.svg?branch=master

In the terminal, you can get a tree view of a file:

$ h5glance sample.h5
sample.h5
└path
  └inside
    └file   [float64: 100 × 100]

The names of datasets, groups and links are colour-coded by default. If you want to disable this, set the environment variable H5GLANCE_COLORS=0.

Inspect a group or dataset inside it:

$ h5glance sample.h5 path/inside/file
sample.h5/path/inside/file
      dtype: float64
      shape: 100 × 100
   maxshape: 100 × 100
     layout: Contiguous

sample data:
[[-0.27756437  0.36923643 -0.28113527 ...

Use - as the second argument, and you can enter the path with tab completion:

$ h5glance sample.h5 -
Object path: sample.h5/  # try tapping tab

Or run python -m h5glance.completer to install tab completion hooks for bash and zsh.

HTML interface

The HTML interface lets you inspect HDF5 files in a Jupyter Notebook. Demo.ipynb shows how to use it.

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

h5glance-0.6.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

h5glance-0.6-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file h5glance-0.6.tar.gz.

File metadata

  • Download URL: h5glance-0.6.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.21.0

File hashes

Hashes for h5glance-0.6.tar.gz
Algorithm Hash digest
SHA256 203369ab614273aaad3419f151e234609bb8390b201b65f678d7e17c57633e35
MD5 0716c64d0fbf855880ec03b539d9b1b6
BLAKE2b-256 a67d64b051e9a5a8a9d8182747105047498ee3d37f79cf8a2443719489b47756

See more details on using hashes here.

File details

Details for the file h5glance-0.6-py3-none-any.whl.

File metadata

  • Download URL: h5glance-0.6-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.21.0

File hashes

Hashes for h5glance-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ddb5a71604c06619dca1d895603fda2057c999376751e48f52c3ec4b1721e829
MD5 3d6f4b1db7cc50fd4e47f16fcb490ba1
BLAKE2b-256 fe71c5acb6ec531ebf431ae6f2fd34e17b729ddbe9a7d5038ac88a5175f88f34

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