Skip to content

bcgsc/pori_graphkb_python

Folders and files

NameName
Last commit message
Last commit date
May 9, 2023
Jun 8, 2021
Nov 29, 2023
Dec 2, 2023
Apr 21, 2021
Jun 26, 2020
Aug 1, 2019
Dec 9, 2021
Jul 31, 2020
Mar 20, 2023
Dec 9, 2021
Dec 2, 2023
Dec 9, 2021

Repository files navigation

GraphKB (Python)

build PyPi codecov PyPI - Downloads DOI

This repository is part of the platform for oncogenomic reporting and interpretation.

Python adapter package for querying the GraphKB API. See the user manual

Getting Started

Install (For developers)

clone this repository

git clone https://github.com/bcgsc/pori_graphkb_python
cd pori_graphkb_python

create a virtual environment

python3 -m venv venv
source venv/bin/activate

install the package and its development dependencies

pip install -U pip setuptools
pip install -e .[dev]

Run Tests

pytest tests

Generating the Documentation

User documentation for this repository is hosted in the central PORI repository

Deployment (Publishing)

Install the deployment dependencies

pip install .[deploy]

Build the distribution files

python setup.py install sdist bdist_wheel

Upload the distibutions to the package server (-r is defined in your pypirc)

twine upload -r bcgsc dist/*