Skip to content

Commit

Permalink
Merge branch 'main' of github.com:legend-exp/legend-testdata-py
Browse files Browse the repository at this point in the history
  • Loading branch information
gipert committed Sep 22, 2022
2 parents 4e30f80 + 8d06f78 commit 684dfd2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,21 @@
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/legend-exp/legend-testdata-py?logo=git)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/legend-exp/legend-testdata-py/legend-testdata/main?label=main%20branch&logo=github)](https://github.com/legend-exp/legend-testdata-py/actions)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Codecov](https://img.shields.io/codecov/c/github/legend-exp/legend-testdata-py?logo=codecov)](https://app.codecov.io/gh/legend-exp/legend-testdata-py)
![GitHub issues](https://img.shields.io/github/issues/legend-exp/legend-testdata-py?logo=github)
![GitHub pull requests](https://img.shields.io/github/issues-pr/legend-exp/legend-testdata-py?logo=github)
![License](https://img.shields.io/github/license/legend-exp/legend-testdata-py)

Tiny Python package to access [LEGEND test data](https://github.com/legend-exp/legend-testdata).
Tiny Python package to access [LEGEND test data](https://github.com/legend-exp/legend-testdata). Usage:

```py
from legend_testdata 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
ldata.reset() # checkout default branch (main)
```

<sub>*This Python package layout is based on [pyproject-template](https://github.com/gipert/pyproject-template).*</sub>

0 comments on commit 684dfd2

Please sign in to comment.