pyfive : A pure Python HDF5 file reader
pyfive is an open source library for reading HDF5 files written in Python,
using NumPy and numcodecs without the HDF5 C library. The package is still in development and not all
features of HDF5 files are supported.
pyfive aims to support the same API as h5py for reading files.
Cases where a file uses a feature that is supported by h5py but not pyfive are considered bugs
and should be reported in our Issues.
Writing HDF5 output is not a goal of pyfive and portions of the API which apply only to writing will not be implemented.
Dependencies
pyfive is tested against Python versions 3.11 to 3.14.
It may also work with other Python versions.
Runtime dependencies are numpy, numcodecs, fsspec and
typing-extensions. Fletcher32 checksum verification uses numcodecs' native
implementation; pyfive itself does not require the HDF5 C library.
Install
pyfive can be installed using pip using the command::
pip install pyfive
conda packages are also available from conda-forge::
conda install -c conda-forge pyfive
To install from source in your home directory use::
pip install --user ./pyfive
The library can also be imported directly from the source directory.
Development
git
You can check out the latest pyfive souces with the command::
git clone https://github.com/NCAS-CMS/pyfive.git
testing
pyfive comes with a test suite in the tests directory.
These tests can be exercised using the pytest command from the root directory (requires installation of the pytest package).
Conda-forge feedstock
Package repository conda-forge feedstock
Codecov
Test coverage assessement is done using codecov
Documentation
Build locally with Sphinx:
$ sphinx-build -Ea doc doc/build
Metadata
Release files for pyfive 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 | Provenance | |
|---|---|---|---|---|
| pyfive-1.3.0.tar.gz | 76.3 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfive-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.4 MB
Release files / pyfive-1.3.0.tar.gz
| Download URL | pyfive-1.3.0.tar.gz |
|---|---|
| Size | 76.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f84ad954302b0137b6d03fabe44f4238730a669c96b3ee7225ec47cee14cc00
|
|
BLAKE2b-256 checksum How to use checksums |
7ad8070a3f3cfe42d3b2ab0473eaeade12c82b0789374114aeb0d104c66c7689
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logRelease files / pyfive-1.3.0-py3-none-any.whl
| Download URL | pyfive-1.3.0-py3-none-any.whl |
|---|---|
| Size | 74.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2f0e3b0e9a880e7d6b427f286cf167c116bb1ad14f8ab594f6371dd63696dcf
|
|
BLAKE2b-256 checksum How to use checksums |
8da1ab430a62d5815a967e13f74532db120bb9a08fe53a53ec76a50fe42ccf78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logSecurity for pyfive 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pyfive-1.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.