h5pack
h5pack is a utility made to pack, analyze and unpack HDF5 audio datasets using data and annotations of various sources. HDF5 is an open-source file format for storing large, complex data. It uses a directory-like structure to organize data within the file. Click here to learn more about HDF5. Among other, HDF5 provides:
- Efficient storage: Handles large datasets with chunking and compression, reducing disk space usage.
- Fast I/O: Optimized for rapid reading/writing of multi-dimensional data, improving data loading speeds.
- Hierarhical structures: Organizes metadata, features, and audio data efficiently within a single file.
- Concurrent access: Supports concurrent access, enabling efficient multi-threaded data loading.
- Scalability: Handles massive datasets without performance degradation, making it ideal for large-scale machine learning tasks.
- Cross-platform: Works across different OS and programming languages, ensuring flexibility.
h5pack was made to go from raw files to HDF5 files and back in a robust, consistent and simple way. It provides a collection of tools to facilitate all the necessary tasks to make it possible:
h5pack init: Creates a configuration file from an annotations.csvfile.h5pack pack: Converts raw data and/or annotation files into an HDF5 file.h5pack unpack: Extracts raw data from an HDF5 file, allowing regeneration of the original input data.h5pack virtual: Creates a virtual dataset by combining multiple datasets into a single logical dataset without duplication, enabling seamless access to fragmented or distributed data.h5pack info: Displays the contents of an HDF5 file generated withh5pack, providing a quick overview of its structure.h5pack checksum: Verifies the integrity of an HDF5 file by checking its checksum to detect potential corruption.h5pack show: Shows, saves or plays the data of any row of an HDF5 file.
Packed data can be read in Python with h5pack.open(), which also works with PyTorch DataLoader workers.
Table of contents
Installation
See how to install h5pack here.
Quickstart
Explore the Quickstart Guide to start using h5pack right away. It offers step-by-step instructions to get you set up quickly and effortlessly.
Documentation
Access the Documentation to explore all the tools included in this package.
Cite
h5pack is free and open source. If this package contributed to your work, please consider citing it:
@misc{h5pack,
author = {Esteban Gómez},
title = {h5pack},
year = 2025,
url = {https://github.com/eagomez2/h5pack}
}
This package was developed by Esteban Gómez, member of the Speech Interaction Technology group from Aalto University.
License
For further details about the license of this package, please see LICENSE.
Metadata
Release files for h5pack 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| h5pack-1.3.0.tar.gz | 48.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| h5pack-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 105.0 kB
Release files / h5pack-1.3.0.tar.gz
| Download URL | h5pack-1.3.0.tar.gz |
|---|---|
| Size | 48.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80a43ed76ea3dbfbf66806e5a6b1576bbdc375c8ad59f39bdaf2b0ddd615bbcc
|
|
BLAKE2b-256 checksum How to use checksums |
a837049e5b5cd8886ab38496d68b801702803ba7365746502b3c9a06bb246695
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / h5pack-1.3.0-py3-none-any.whl
| Download URL | h5pack-1.3.0-py3-none-any.whl |
|---|---|
| Size | 56.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
924f159e846be9243dda45e15ed2b2190e8ef6d9a6809c129bd2b9c6be2fafa4
|
|
BLAKE2b-256 checksum How to use checksums |
898045e020f1f09494cb687fd365679d6b4218d998cd41c4ffcfb6d8a40a24d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|