Python package for accessing LEGEND test data
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pylegendtestdata-0.5.1.tar.gz
.
File metadata
- Download URL: pylegendtestdata-0.5.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4293543bca794ca34b817e02f35fa92b87840fdeb74ecddadccc162425dd51 |
|
MD5 | dd1e0b9f7f32a9b48971e922c5f997a2 |
|
BLAKE2b-256 | 63d850fc2f7b5fdd6f8f153c3992aee70872afcb155b31ea41aa7c59ef78ea13 |
File details
Details for the file pylegendtestdata-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: pylegendtestdata-0.5.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 787bfb9d2999d85863c5599b6218f79c90c779040c176540cb9fa41e23c2ccfd |
|
MD5 | 4c1b4a44c831a140f2f23126fe0fcdfe |
|
BLAKE2b-256 | 74022e63a85cd6e73eb7ed437b2151c64b15e501e7b78b4eadff0f0a8f05a67d |