Skip to main content

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


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+


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='')

Using the CLI

$ python3 -m ols_client labels chebi > chebi.txt

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ols-client, version 0.0.9
Filename, size File type Python version Upload date Hashes
Filename, size ols_client-0.0.9-py2.py3-none-any.whl (9.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size ols_client-0.0.9.tar.gz (10.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page