Python library for creating GA4GH testbed reports according to a harmonized, cross-workstream schema
Project description
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
messageattribute 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31433563f084798781721b8ce25a9307ef94550c88ff63ecbba58df779da3f59
|
|
| MD5 |
185663976b4a816211898be8c5c40cde
|
|
| BLAKE2b-256 |
2c64e0b5ed62824d92cc18de6ecaed52b2ed4d6ed09f99e563a594a6ae91ff36
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64f80324d57582d64396ffd70809f43cfd48f53a25bb9988301c4d2419344d96
|
|
| MD5 |
b5fe0e8e9115ab2d49a86c745dffef1f
|
|
| BLAKE2b-256 |
26932c57bea1bcefdc46c3b70ae0ea113e722b01d77edda8ebd5de849a5b96ca
|