https://github.com/erickrus/h5py-cli
https://github.com/erickrus/h5py-cli
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/erickrus/h5py-cli
- Owner: Erickrus
- License: other
- Created: 2022-05-27T13:19:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-29T00:26:03.000Z (over 3 years ago)
- Last Synced: 2025-01-11T22:29:21.205Z (9 months ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# h5py-cli
This script helps to explore H5 file structure and content with interactive command line interface. The commands in the script are designed similar to linux command.
Usage: `python3 h5py-cli.py
`
```
This command line interface mainly handles attribute, group and dataset of the hdf5 file.
Following commands are defined internally. Type `help' to see this list.cat [attr|dataset]
display the specific attribute or dataset
cat [attr|dataset] > [filename]
save the specific attribute or dataset to an output file
cd [group]
change directory/group
exit
exit to the operating system
filename
show the current filename
help
display this screen
ls
list the entries of current group, data type prefix:
a: attribute, g: group, d: dataset
ls [attr|group|dataset]
list a specific group, attribute or dataset
pwd
print working group
```
# Installing
`h5py`, `numpy` are required.# License
Apache 2.0 license