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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylegendtestdata-0.6.0.tar.gz.
File metadata
- Download URL: pylegendtestdata-0.6.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dd986e8f20718a18117efcfabc749782a9ce2cb6f67700836685da15dbd97d0
|
|
| MD5 |
5cc42356050297c6554cb26a65c02e16
|
|
| BLAKE2b-256 |
4c143eefb74b17f1212816aeacb115ef36b4c9873ea3f6f7eae8beeb21a78fa0
|
File details
Details for the file pylegendtestdata-0.6.0-py3-none-any.whl.
File metadata
- Download URL: pylegendtestdata-0.6.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca32a863c0b9362f9fa4beb722a27858cc605c69f3407f819e796a5a73eaa14b
|
|
| MD5 |
471613b9f9612381363f79b38f25c4f9
|
|
| BLAKE2b-256 |
1a9e78ce33b6e88d4ea1d00cf9a8ba83f8ebb35843d80d3b1e1320ba3a7f8d6c
|