A Python client for the EBI Ontology Lookup Service RESTful API
Project description
A Python wrapper for accessing the RESTful API of the Ontology Lookup Service
Installation
Install the latest stable version from PyPI
$ python3 -m pip install ols_client
Install the latest version directly from GitHub
$ python3 -m pip install git+https://github.com/cthoyt/ols-client.git
Cookbook
Getting labels from ontology
>>> from ols_client import get_labels >>> labels = get_labels('chebi')
Getting labels from ontology using an alternative OLS
>>> from ols_client import get_labels >>> labels = get_labels('chebi', ols_base='http://lookup.scaiview.com/ols-boot/api/')
Using the CLI
$ python3 -m ols_client labels chebi > chebi.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ols_client-0.0.9.tar.gz
(10.7 kB
view details)
Built Distribution
File details
Details for the file ols_client-0.0.9.tar.gz
.
File metadata
- Download URL: ols_client-0.0.9.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aedfebbd0847b4c626a14dec028f8a813db02bbbcd6cc0c21b9d1f379077076 |
|
MD5 | f1f987bea8443f9b1f7196f25f3854c8 |
|
BLAKE2b-256 | 8cdb4fff2be631e23462800f0844876bcadaefa2574eb3a0cfd6617242eb0327 |
Provenance
File details
Details for the file ols_client-0.0.9-py2.py3-none-any.whl
.
File metadata
- Download URL: ols_client-0.0.9-py2.py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5876eac75f133ac73469881d3b756cd6351191625731874ef1c4b0785c507d78 |
|
MD5 | ff5be9e7024afb90711372434392e690 |
|
BLAKE2b-256 | 57f8e923744380b96173d04c78da30fce4eba3d5c95f2dd681b6ea01fdd194d6 |