Skip to content
/ drawh5 Public

Minimalist tree-like overview of .h5 file structure

License

Notifications You must be signed in to change notification settings

X4ndri/drawh5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drawh5: visualize .h5 files structure

Quickly visualize the entire structure of h5 files with information about dataset sizes and group relationships. This is a useful tool especially when using large h5 files.

Example output:

Sublime's custom image

Installation:

Clone:

https://github.com/X4ndri/drawh5.git

Using pip

# install requirements
pip install -r requirements
pip istall -e .

Note: This package is built on top of the h5py package, for more info: h5py.readthedocs.io

Usage:

CLI:

drawh5 path_to_h5_file

Python scripting

Can pass a file directory as input

import drawh5
drawh5.drawh5(path_to_h5_file)

Can also pass an open h5 file object

import drawh5
f = drawh5.h5.File(path_to_h5_file)
drawh5.drawh5(f)
f.close()

About

Minimalist tree-like overview of .h5 file structure

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages