Skip to main content

Python library for creating GA4GH testbed reports according to a harmonized, cross-workstream schema

Project description

GA4GH Logo

License Python GitHub Actions Coveralls

GA4GH Testbed Lib

Python library for creating GA4GH testbed reports according to a harmonized, cross-workstream schema

Installation

As a prerequisite, please ensure you have Python 3 installed on your machine. ga4gh-testbed-lib is tested on the following Python versions:

  • v3.7
  • v3.8
  • v3.9
  • v3.10

ga4gh-testbed-lib is a library that can be imported into your Python project. To do so, first install it via pip:

pip install ga4gh-testbed-lib

Note: We recommend using a Python virtual environment when building any Python project to avoid dependency conflicts with other projects on your system.

Usage

Once installed, you may import the ga4gh-testbed-lib in your Python modules. We recommend only importing the Report class directly:

from ga4gh.testbed.report.report import Report
...
report = Report()

More documentation to come on how to use the report library

Test

To contribute to the testbed library, you will need to clone the repository:

git clone https://github.com/ga4gh/ga4gh-testbed-lib.git

To run tests, you will need to install test dependencies (i.e. pytest):

pip install -r requirements.txt

Tests can be run via pytest:

python -m pytest --cov

Changelog

v0.1.2

  • Test level entity now has a message attribute for capturing test result summary in a single message

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

ga4gh-testbed-lib-0.1.2.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

ga4gh_testbed_lib-0.1.2-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file ga4gh-testbed-lib-0.1.2.tar.gz.

File metadata

  • Download URL: ga4gh-testbed-lib-0.1.2.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for ga4gh-testbed-lib-0.1.2.tar.gz
Algorithm Hash digest
SHA256 31433563f084798781721b8ce25a9307ef94550c88ff63ecbba58df779da3f59
MD5 185663976b4a816211898be8c5c40cde
BLAKE2b-256 2c64e0b5ed62824d92cc18de6ecaed52b2ed4d6ed09f99e563a594a6ae91ff36

See more details on using hashes here.

File details

Details for the file ga4gh_testbed_lib-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ga4gh_testbed_lib-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for ga4gh_testbed_lib-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 64f80324d57582d64396ffd70809f43cfd48f53a25bb9988301c4d2419344d96
MD5 b5fe0e8e9115ab2d49a86c745dffef1f
BLAKE2b-256 26932c57bea1bcefdc46c3b70ae0ea113e722b01d77edda8ebd5de849a5b96ca

See more details on using hashes here.

Supported by

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