Interactive CLI for exploring HDF5 files
Project description
hcl
Explore Hdf5 files on the Command Line.
Designed to be familiar to Unix CLI users, but no particular effort has been made for true compatibility or POSIX compliance.
Usage
usage: hcl [-h] [-c COMMAND] [-p PLUGIN] [--verbose] [--mode MODE] [file]
CLI for interactive exploration of HDF5 files.
positional arguments:
file HDF5 file to explore. Add ':/path/to/group' to start
in a specific group.
optional arguments:
-h, --help show this help message and exit
-c COMMAND, --command COMMAND
Run a single command and exit.
-p PLUGIN, --plugin PLUGIN
Import path for additional commands. Imported object
can be a Command subclass, an iterable of them, or a
callable returning either. Format
'{absolute_module}:{object}'. Can be used multiple
times.
--verbose, -v Increase logging verbosity, up to -vv for debug.
--mode MODE, -m MODE Mode in which to open the file. 'r' (default):
Readonly, file must exist. 'r+': Read/write, file must
exist. 'w': Create file, truncate if exists. 'w-' or
'x': Create file, fail if exists. 'a': Read/write if
exists, create otherwise.
Commands available
attrs List attributes or look at one attribute.
cd Change working group.
chunks Get dataset chunks.
compression Get dataset compression.
compression_opts Get dataset compression_opts.
driver Get group or dataset driver.
dtype Get dataset dtype.
exit Quit hcl.
filename Get group or dataset filename.
fillvalue Get dataset fillvalue.
fletcher32 Get dataset fletcher32.
help List available commands.
is_virtual Get dataset is_virtual.
libver Get group or dataset libver.
ls List members of a group.
maxshape Get dataset maxshape.
mode Get group or dataset mode.
name Get group or dataset name.
pwd Get working group.
scaleoffset Get dataset scaleoffset.
shape Get dataset shape.
shuffle Get dataset shuffle.
size Get dataset size.
tree Show hierarchy as a tree.
userblock_size Get group or dataset userblock_size.
See files in commands/ for usage for each command.
Notes
Very similar to h5cli.
hcl
features more documentation, piping output from --command
mode, and doesn't crash when I try to run it.
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
hcl-0.1.0.tar.gz
(2.9 kB
view details)
Built Distribution
hcl-0.1.0-py3-none-any.whl
(3.3 kB
view details)
File details
Details for the file hcl-0.1.0.tar.gz
.
File metadata
- Download URL: hcl-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b5a68215aff8882da11ac87437db4f831b29f4f700e3aad38c1648e435fe83f |
|
MD5 | 41b19242c674de6c0e50c1478575c6cb |
|
BLAKE2b-256 | 1eb6129dd4dec093c6c0e790c31a179fb18ae8af3fd30d5f29709a38bf685e34 |
File details
Details for the file hcl-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: hcl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3931fd436bd68e53dbea53f52863a09d907c2cde335381ec926aa4f330ceac01 |
|
MD5 | 24f944727b2a67faecec5c3dec421faa |
|
BLAKE2b-256 | 42fa501876b3a36242b2c803ff22e6501efa03e6a443cc5343abaf3e7a92d120 |