Interact with EBI Ontology Lookup Service
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.4.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file ols_client-0.0.4.tar.gz
.
File metadata
- Download URL: ols_client-0.0.4.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccee40b136281775ef419c03d2a0b2f1ba6e715550f331e39011174f1a0ed067 |
|
MD5 | 73e1e5674b0bd1a075946fb60becc4cd |
|
BLAKE2b-256 | 0f08dd02bbb208f7c7ebaaeb0249d25e03924bcd40379f2746b1f3f25ecf8b21 |
Provenance
File details
Details for the file ols_client-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: ols_client-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e012fda61b891fb92aee7e624c108a78e687c7186c3a5fad1b32e03cccf05594 |
|
MD5 | aaed6857e63a86cb20cea2bc572ab0c3 |
|
BLAKE2b-256 | f8c772b3f0e9ec24a1ed8eb301c47907a95e09eb601777a79b2e1278f5417c73 |