pylegendtestdata 0.5.1

Creator: bigcodingguy24

Last updated:

0 purchases

pylegendtestdata 0.5.1 Image
pylegendtestdata 0.5.1 Images
Add to Cart

Description:

pylegendtestdata 0.5.1

pylegendtestdata








Tiny Python package to access LEGEND test data.
Install (with pip):
$ python -m pip install pylegendtestdata

Usage:
>>> from legendtestdata import LegendTestData
>>> ldata = LegendTestData() # clone legend-exp/legend-testdata below /tmp
>>> ldata.checkout("968c9ba") # optionally checkout a specific version
>>> ldata.get_path("orca/fc/L200-comm-20220519-phy-geds.orca") # get absolute path to test file
'/tmp/legend-testdata-gipert/data/orca/fc/L200-comm-20220519-phy-geds.orca'
>>> ldata.reset() # checkout default branch (main)

This Python package layout is based on pyproject-template.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.