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.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

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.2.0.tar.gz (19.3 kB view details)

Uploaded Source

Built Distributions

ga4gh_testbed_lib-0.2.0-py3.10.egg (49.8 kB view details)

Uploaded Source

ga4gh_testbed_lib-0.2.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ga4gh-testbed-lib-0.2.0.tar.gz
  • Upload date:
  • Size: 19.3 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.2.0.tar.gz
Algorithm Hash digest
SHA256 0b0e1d3754eea4f6f61d7becf9c5d258a45e1ae4cbc38ca01be19005fa87b196
MD5 615cef78f7bb8e3586386fa800c5f174
BLAKE2b-256 8e8178b1e1d48074d3733f387361a7d0f52c6990bfcc72db56378c7c129e1354

See more details on using hashes here.

File details

Details for the file ga4gh_testbed_lib-0.2.0-py3.10.egg.

File metadata

  • Download URL: ga4gh_testbed_lib-0.2.0-py3.10.egg
  • Upload date:
  • Size: 49.8 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.2.0-py3.10.egg
Algorithm Hash digest
SHA256 e6a4c31e1d010cddd73fba2d85137d7258c68de35420a9db6458ea09f15323e0
MD5 61032c5a58df829f58b970144ca45f60
BLAKE2b-256 80cf2ac88405cbce96545dca55e59488e201b7153b48d533597ccb9e488260f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ga4gh_testbed_lib-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4188205a264fb88b5daaa1a5ab4288e72cfbc303d387bd48554c921639241e98
MD5 5a2440d48e7cfb2648090d856fd8e785
BLAKE2b-256 855129c8dec6fb0313ef712201b878a018a16611984bb1c1d6b3d2c269d4866c

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