TUI application for navigating and viewing HDF5 files
Project description
Description
h5tui is a terminal user interface (TUI) application that facilitates the viewing of the contents of HDF5 files.
Its design is inspired by vim-motion enabled terminal file managers, such as ranger, lf and yazi.
This choice is quite natural since the HDF5 file format also adopts a directory structure for storing the data.
Demo
https://github.com/user-attachments/assets/587742c7-654e-4236-b672-5b194535db18
Installation
The package is hosted and PyPI and can be installed using pip:
pip install h5tui
Usage
Simply launch the application with an HDF5 file as an argument:
h5tui hdf5_file
File Navigation
h5tui starts at the root of the file and displays the contents of the directory.
The file can be navigated using the arrow or standard vim motion keys, with the up/down (j/k) moving the cursor inside the list, and left/right (h/l) for going to the parent or child HDF5 group.
If the selected element is not an HDF5 group but an HDF5 dataset, then the contents of the dataset are displayed.
If the data does not fit on one screen, it can be scrolled using the up/down j/k keybindings.
Dataset Format Options
The formatting of the dataset may be controlled using a couple of keybindings.
Since HDF5 files can often contain large datasets, by default, if the number of elements exceeds 1000, the output will be truncated.
This behavior can be toggled using the t keybinding.
Note that, as of yet, this operation is blocking, and therefore huge datasets might take some time to load
In addition, the s key toggles the scientific notation on and off.
Formatting keybindings:
t: toggle output truncations: toggle scientific notation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file h5tui-0.0.2.tar.gz.
File metadata
- Download URL: h5tui-0.0.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43c320250714fa28b9d498b70f33f74269483afc101ff77b734f8fdd445b990f
|
|
| MD5 |
1d11bc22f392b6309c776dbb7a151149
|
|
| BLAKE2b-256 |
c59042d4ad6aa6f63a2c0c5fd3fec3c8cf01ba0240a0e2ea89cc080867e55400
|
File details
Details for the file h5tui-0.0.2-py3-none-any.whl.
File metadata
- Download URL: h5tui-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
934e46e02d8a64662b2cfe12ff36f9c5a4d2a7ea50e5ae0a431fec7c00ea7afa
|
|
| MD5 |
15cc9cb542f5f963aa6950d6be8383a8
|
|
| BLAKE2b-256 |
0bef5a5360bcb822d656574e2679358c67346d88a7cb7b976b9da870efc6cd35
|