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.5.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

h5glance-0.5-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for h5glance-0.5.tar.gz
Algorithm Hash digest
SHA256 bc34ee42429f0440b329083e3f67fbf3d7016a4aed9e8b30911e5905217bc8d9
MD5 182b2f5abeae0e01bc1e6cfdcf290339
BLAKE2b-256 9b990fdb61550c025d929a21c6775e42d630d94851331ea338acd7dd08ee0653

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for h5glance-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4bc11cb8c0b3316cf16c888d094ccda6a69a2e9dcbcebb898cce07db42c473
MD5 dbbdd0c9ec9d9d335cde69c4fddf9b13
BLAKE2b-256 e27ff3d2a4477d14ff082c328d534b047dbad399af028c33819683594e61c59e

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