pyfive : A pure Python HDF5 file reader
pyfive is an open source library for reading HDF5 files written using
pure Python (no C extensions). 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.
The only dependencies to run the software besides Python is numpy.
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.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyfive-1.2.1.tar.gz | 76.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfive-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.4 MB
Release files / pyfive-1.2.1.tar.gz
| Download URL | pyfive-1.2.1.tar.gz |
|---|---|
| Size | 76.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d44149120bc0d21c1c0dbbc9d84ea2d2fef4be7ae4e15b7fac69eb627c1d11ce
|
|
BLAKE2b-256 checksum How to use checksums |
54a1f36c159d6fd24fb0e2cc68c489eb25b39d7cf6f771a4dac2b34884dfda9c
|
| 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 Sep 21, 2026.
Transparency logRelease files / pyfive-1.2.1-py3-none-any.whl
| Download URL | pyfive-1.2.1-py3-none-any.whl |
|---|---|
| Size | 69.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5ab3e1a3f04512077aeb75a402d55a4bdf1f92d3246a471e4dac3638b0397bd
|
|
BLAKE2b-256 checksum How to use checksums |
4373bb0f43aa778b809444cb248f609dc2bcc9b1a274bde7f6b12e8a76bcc87b
|
| 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 Sep 21, 2026.
Transparency log