Skip to main content
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.2.2

  • Optional private flag for submissions

v0.2.1

  • Accept json report from report object

v0.2.0

  • Able to submit reports to Testbed API via standard POST request

v0.1.2

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

Maintainers

Release files for ga4gh-testbed-lib 0.2.2

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

Source distribution (sdist)

Source distribution for ga4gh-testbed-lib 0.2.2
File Size Uploaded
ga4gh_testbed_lib-0.2.2.tar.gz 19.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ga4gh-testbed-lib 0.2.2
File Interpreter ABI Platform
ga4gh_testbed_lib-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 45.2 kB

Release files / ga4gh_testbed_lib-0.2.2.tar.gz

Download URL ga4gh_testbed_lib-0.2.2.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b54916d68c1d189c8fddac15cf4b500646e647fb476968c6769df5829d690814
BLAKE2b-256 checksum
How to use checksums
601a8494041142ab75b723127b56b5642fe5eed6ef3c9cccf5dfcf23897db96a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / ga4gh_testbed_lib-0.2.2-py3-none-any.whl

Download URL ga4gh_testbed_lib-0.2.2-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97dec9d7ca4df4c0962a147ad15d1a662e3eb0a1b96f70aa8f6c6ff9cdbbe758
BLAKE2b-256 checksum
How to use checksums
dbc7b6080cdcaeb79594ddc4da99feb92f31873b3a016a3f0cb5b268c0afe1b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

3 release files

0.1.2

2 release files

0.1.1

3 release files

0.1.0

3 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