LEGEND Data Objects

legend-lh5io is a Python implementation of the LEGEND Data Format Specification.

Getting started

legend-lh5io is published on the Python Package Index. Install on local systems with pip:

$ pip install legend-lh5io
$ pip install legend-lh5io@git+https://github.com/legend-exp/legend-lh5io@main

Get a LEGEND container with legend-lh5io pre-installed on Docker hub or follow instructions on the LEGEND wiki.

If you plan to develop legend-lh5io, refer to the developer’s guide.

Attention

If installing in a user directory (typically when invoking pip as a normal user), make sure ~/.local/bin is appended to PATH. The lh5ls executable is installed there.

Next steps