Skip to main content

h5tree

h5tree is a command-line utilitly that prints the tree structure of an HDF5 file, similar to tree. It also displays meta-data, such as the data shape, data type, and the values of attributes.

Install

Install with pip install h5tree

Example output

>>> h5tree -va data.h5
data.h5  (3 objects, 2 attributes)
│   ├── name  Sam
│   ├── value  105
├── group_1  (3 objects)
│   ├── group_1_sub  (1 object, 1 attribute)
│   │   ├── name  Dan
│   │   └── x  (5, 3), float64
│   ├── x  (5, 3), float64
│   └── y  (5, 3), float64
├── group_2  (2 objects)
│   ├── x  (5, 3), float64
│   └── y  (5, 3), float64
└── x  (5, 5, 3), float64

3 groups, 6 datasets

Usage

usage: h5tree [-h] [-v] [-a] [-g] [-L [LEVEL]] [-p [PATTERN]] path

positional arguments:
  path                  filepath/grouppath

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         verbose output
  -a, --attributes      show attributes
  -g, --groups          only show groups
  -L [LEVEL], --level [LEVEL]
                        maximum number of directories to recuse into
  -p [PATTERN], --pattern [PATTERN]
                        pattern

Metadata

Release files for h5tree 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for h5tree 1.0
File Size Uploaded
h5tree-1.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for h5tree 1.0
File Interpreter ABI Platform
h5tree-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / h5tree-1.0.tar.gz

Download URL h5tree-1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d3c6ac2c647ebf4ba37ee91bdbd30ba147e68b0449c05ce1fe2ff9e7e61d8e12
BLAKE2b-256 checksum
How to use checksums
ab9bea46f715d5c5059de88ca2f87a63e7cb9a54f2a6e6cf56e88234730b179a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / h5tree-1.0-py3-none-any.whl

Download URL h5tree-1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7b83c6ea25fbd40dc05e8cf182aa43bde9bae19d88f7bed0308ff621d5c337e
BLAKE2b-256 checksum
How to use checksums
d6f6949bb1616da797ffe2badb6d09ee9664387c27105c28bac59917467c6254
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page