GraphKB (Python)
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 -e .[dev]
Run Tests
pytest tests
Generating the Documentation
This documentation is generated using mkdocs, mkdocs-material, and markdown_refdocs.
First install the documentation dependencies
pip install .[doc]
Then generate the user manual files
markdown_refdocs graphkb -o docs/reference --link
mkdocs build
There should now be static html files under build-docs. To view the files, serve the folder using
the built-in python http server
python3 -m http.server -d build-docs
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/*
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 graphkb-1.5.2.tar.gz.
File metadata
- Download URL: graphkb-1.5.2.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96e41db118f7759729e2b1fb2965f13f15a79db093677aa031429712544802b6
|
|
| MD5 |
4076043265b1ce9baee77cf5c10a00c1
|
|
| BLAKE2b-256 |
324aceb7aaa546a4610dc116fc88b37466336e2a636d257494ac7277c426925d
|
File details
Details for the file graphkb-1.5.2-py3-none-any.whl.
File metadata
- Download URL: graphkb-1.5.2-py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccbda9d89c8f05f5a2d7677df69ec168fc3bb3735f913593b58de706ae71a0e8
|
|
| MD5 |
502385a5d21ea083ce6ee301ec0f48a4
|
|
| BLAKE2b-256 |
2820272f876b04b8384ee20b6863f496ca41e485c73e7db2d57d716a93b5c161
|