efficient storage of large features data


Keywords
HDF5 h5py features read write
License
GPL-3.0
Install
pip install h5features==1.3.2

Documentation

Documentation status Tests status Coverage status

h5features

The h5features python package provides easy to use and efficient storage of large features data on the HDF5 binary file format.

Installation

  • dependancies

    The package depends on numpy, scipy and h5py. They can be automatically installed by the setup script but it takes a long time (full compilation). You may want to install the dependancies through your system package manager.

    On Debian/Ubuntu:

    sudo apt-get install python3-numpy python3-scipy python3-h5py
    

    Using Python anaconda:

    conda install numpy scipy h5py
    
  • h5features

    Install it from the sources with:

    python setup.py build && python setup.py install
    

    Or you can install it with pip:

    pip install h5features
    

Documentation

  • See the complete documentation online

  • Or build it with:

    pip install Sphinx
    cd docs && make html
    

    The home page of the compiled documentation is docs/_build/html/index.html.

Test

The package comes with a unit-tests suit. To run it, first install pytest on your Python environment:

pip install pytest

Then run the tests with:

pytest -v ./test