Skip to main content

Python package for accessing LEGEND test data

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylegendtestdata-0.6.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylegendtestdata-0.6.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for pylegendtestdata-0.6.0.tar.gz
Algorithm Hash digest
SHA256 8dd986e8f20718a18117efcfabc749782a9ce2cb6f67700836685da15dbd97d0
MD5 5cc42356050297c6554cb26a65c02e16
BLAKE2b-256 4c143eefb74b17f1212816aeacb115ef36b4c9873ea3f6f7eae8beeb21a78fa0

See more details on using hashes here.

File details

Details for the file pylegendtestdata-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pylegendtestdata-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca32a863c0b9362f9fa4beb722a27858cc605c69f3407f819e796a5a73eaa14b
MD5 471613b9f9612381363f79b38f25c4f9
BLAKE2b-256 1a9e78ce33b6e88d4ea1d00cf9a8ba83f8ebb35843d80d3b1e1320ba3a7f8d6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page