Skip to content

NCAS-CMS/pyfive

Repository files navigation

Maintenance made-with-python Documentation Status Test codecov Anaconda-Server Badge

pyfive-logo

Latest doc builds on RTD

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 bug and should be reported in our Issues. Writing HDF5 is not a goal of pyfive and portions of the API which apply only to writing will not be implemented.

Dependencies

pyfive is tested to work with Python 3.10 to 3.13. 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 package are also available from conda-forge which can be installed::

conda install -c conda-forge pyfive

To install from source in your home directory use::

python setup.py install --user

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 commands pytest from the root directory assuming the pytest package is installed.

Conda-feedstock

Package repository at conda feedstock

Codecov

Test coverage assessement is done using codecov

Documentation

Build locally with Sphinx::

sphinx-build -Ea doc doc/build

About

A pure Python HDF5 file reader

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 8

Languages