hdf5view

Simple Qt/Python based viewer for HDF5 files

https://github.com/tgwoodcock/hdf5view

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.2%) to scientific vocabulary

Keywords

data hdf5 management research viewer visualization
Last synced: 6 months ago · JSON representation ·

Repository

Simple Qt/Python based viewer for HDF5 files

Basic Info
  • Host: GitHub
  • Owner: tgwoodcock
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 12 MB
Statistics
  • Stars: 53
  • Watchers: 4
  • Forks: 12
  • Open Issues: 2
  • Releases: 13
Topics
data hdf5 management research viewer visualization
Created about 6 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License Citation

README.md

PyPI Version Supported Python Versions

hdf5view

Simple Qt/Python based viewer for HDF5 files.

Features: - Image tab(s) showing rgb(a) or grayscale images of a selected node:

Image


  • Plot tab(s) showing columns of data in a node:

Image


  • Table tab giving a view of the data in the dataset selected:

Image


  • File Structure table giving a tree view of the hdf5 file
  • Attributes table showing any attributes assigned to a dataset
  • Dataset table showing e.g. the shape, number of dimensions and data type of a dataset
  • Slice table showing which slice of the data is currently displayed (can be set by the user)
  • Export images/plots in a variety of formats (image files, data files, hdf5, matplotlib window)
  • Datasets are loaded dynamically, so hopefully it should be able to handle HDF5 files of any size and structure.
  • Warnings are given when selecting a dataset if loading it would consume more than 30% of the available memory. The user can the opt to abort or continue loading.


Why use hdf5view?

hdf5view is a simple Qt/Python based tool which aims to be easy to use and to allow you to get a view of your data with just a few clicks. If you need to check the structure of an HDF5 file, quickly see what data it contains or choose a dataset for futher analysis in another program, hdf5view may be for you. We don't aim to be able to create or edit HDF5 files and have only minimal possibilties for data analysis other than just viewing it. Other viewers for HDF5 files are available, which may be more suited to your needs, see related projects.


Documentation

The documentation for hdf5view is here: https://tgwoodcock.github.io/hdf5view


1. Installing

hdf5view is designed to be platform independent and can be installed with pip. Please see the installation guide for details.


2. Running

The usage guide shows various ways to start hdf5view and open HDF5 files in the application.

Context menu

A particularly useful way to use hdf5view is to add an entry to the context menu. This way, you can open any HDF5 file with two clicks. Please see the context menu guide for instructions on how to set this up.

3. Usage

In the documentation, there are tutorials on how to use


4. Testing

Currently there are no unit tests for this package. The gui has been tested with qtpy=2.2.0, pyqtgraph=0.12.4 and h5py=3.7.0 in combination with pyqt5=5.15.7, pyside2=5.15.2.1, pyqt6=6.3.1 and pyside6=6.3.2, and it works with all of the Qt API bindings.


5. Issues

If there are any issues, please feel free to use the issues mechanism on github to get in touch.


6. Contributing

If you are interested in contributing to the hdf5view project, please see the contributing guide.


7. Changes

To see the what has changed in the current version of hdf5view, please have a look at the changelog.


8. Reference

hdf5view is archived on Zenodo and can be cited using the following doi and associated metadata: DOI


TODO:

  • Implement dynamic loading for files larger than the available memory
  • Add tests
  • Possibly add 3D rendering, likely based on pyqtgraph

Owner

  • Name: Thomas G. Woodcock
  • Login: tgwoodcock
  • Kind: user

Citation (CITATION.cff)

abstract: "hdf5view is a simple Qt/Python based viewer for HDF5 files."
authors:
  - family-names: Swarbrick
    given-names: Martin
  - family-names: Woodcock
    given-names: Thomas George
    orcid: "https://orcid.org/0000-0003-2351-973X"
    affiliation: "Leibniz Institute for Solid State and Materials Research (ROR: https://ror.org/04zb59n70)"
  - name: The hdf5view Developers
    website: "https://github.com/tgwoodcock/hdf5view/graphs/contributors"
cff-version: 1.2.0
date-released: "2025-03-26"
doi: 10.5281/zenodo.14236673
keywords:
  - research
  - data
  - management
  - visualization
  - hdf5
  - viewer
license: MIT
message: "If you would like to cite this code, please do so using these metadata."
repository-code: "https://github.com/tgwoodcock/hdf5view"
title: "hdf5view"
version: 0.2.6

GitHub Events

Total
  • Create event: 9
  • Issues event: 2
  • Release event: 7
  • Watch event: 19
  • Issue comment event: 7
  • Push event: 55
  • Pull request event: 6
  • Fork event: 1
Last Year
  • Create event: 9
  • Issues event: 2
  • Release event: 7
  • Watch event: 19
  • Issue comment event: 7
  • Push event: 55
  • Pull request event: 6
  • Fork event: 1

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 781 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 12
  • Total maintainers: 1
pypi.org: hdf5view

hdf5view is a python based HDF5 file viewer built on PyQt5/PySide2/PyQt6/PySide6, QtPy, h5py and pyqtgraph.

  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 781 Last month
Rankings
Dependent packages count: 6.6%
Forks count: 15.7%
Stargazers count: 17.9%
Average: 17.9%
Downloads: 18.6%
Dependent repos count: 30.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

pyproject.toml pypi
  • h5py *
  • pyqtgraph *
  • qtpy *