Skip to main content

pylegendtestdata

PyPI GitHub tag (latest by date) GitHub Workflow Status pre-commit Code style: black GitHub issues GitHub pull requests License

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.

Metadata

Release files for pylegendtestdata 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylegendtestdata 0.6.0
File Size Uploaded
pylegendtestdata-0.6.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylegendtestdata 0.6.0
File Interpreter ABI Platform
pylegendtestdata-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / pylegendtestdata-0.6.0.tar.gz

Download URL pylegendtestdata-0.6.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8dd986e8f20718a18117efcfabc749782a9ce2cb6f67700836685da15dbd97d0
BLAKE2b-256 checksum
How to use checksums
4c143eefb74b17f1212816aeacb115ef36b4c9873ea3f6f7eae8beeb21a78fa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / pylegendtestdata-0.6.0-py3-none-any.whl

Download URL pylegendtestdata-0.6.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca32a863c0b9362f9fa4beb722a27858cc605c69f3407f819e796a5a73eaa14b
BLAKE2b-256 checksum
How to use checksums
1a9e78ce33b6e88d4ea1d00cf9a8ba83f8ebb35843d80d3b1e1320ba3a7f8d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page