https://github.com/ga4gh/ga4gh-testbed-lib
Python library for creating GA4GH testbed reports according to a harmonized, cross-workstream schema
https://github.com/ga4gh/ga4gh-testbed-lib
testbed
Last synced: 20 days ago
JSON representation
Python library for creating GA4GH testbed reports according to a harmonized, cross-workstream schema
- Host: GitHub
- URL: https://github.com/ga4gh/ga4gh-testbed-lib
- Owner: ga4gh
- License: apache-2.0
- Created: 2021-10-20T16:39:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-30T20:10:15.000Z (over 1 year ago)
- Last Synced: 2025-09-29T08:49:44.773Z (5 months ago)
- Topics: testbed
- Language: Python
- Homepage:
- Size: 71.3 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://opensource.org/licenses/Apache-2.0)
[](https://www.python.org/)
[](https://github.com/ga4gh/ga4gh-testbed-lib/actions)
[](https://coveralls.io/github/ga4gh/ga4gh-testbed-lib)
# 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
## Maintainers
* GA4GH Tech Team [ga4gh-tech-team@ga4gh.org](mailto:ga4gh-tech-team@ga4gh.org)