Skip to main content

Coverage Status Build Status

OLS Ontologies loader

Provide class based client for accessing OLS RestAPI from EMBL-EBI

Install

with pip

    pip install ebi-ols-client

See: https://www.ebi.ac.uk/ols/docs/api for more information on OLS API

Main files

- ebi.ols.api.client.py: contains main classes to access OLS via HAL schema.
- ebi.ols.api.helpers.py: data tranfer object loaded from API calls

How to use

from ebi.ols.api.client import OlsClient

client = OlsClient()
ontology = client.ontology('fpo')

terms = ontology.terms()
individuals = ontology.individuals()
properties = ontology.properties()

# work with all 'list' item types (terms, individuals, properties
for term in terms:
    # do whatever
    print(term)

# Direct List'like access on all list types
term = terms[1254]
individual = individuals[123]
# ...

Contribute

Please do ! If you need to run tests locally, add to your virtual env requirements-dev.txt content.None

    pip install -r requirements.txt
    pip install -r requirements-dev.txt

    # to run tests
    nosetests --withcoverage

Metadata

Release files for ebi-ols-client 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ebi-ols-client 1.1.0
File Size Uploaded Provenance Actions
ebi-ols-client-1.1.0.tar.gz 15.7 kB Without provenance Details for ebi-ols-client-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ebi-ols-client 1.1.0
File Interpreter ABI Platform Actions
ebi_ols_client-1.1.0-py3-none-any.whl Python 3 none any Details for ebi_ols_client-1.1.0-py3-none-any.whl

Total release size: 35.0 kB

Release files / ebi-ols-client-1.1.0.tar.gz

Download URL ebi-ols-client-1.1.0.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
903cd231c2ca189017ceacd3a82dbaa906ff4221c00d71a493d234d6a01b5a53
BLAKE2b-256 checksum
How to use checksums
f422736949375dca9a3b70f80f73fbd2bee71b308de14795ba5f42075356bd72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.5.1

Release files / ebi_ols_client-1.1.0-py3-none-any.whl

Download URL ebi_ols_client-1.1.0-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c4135611d0d88228f4f1ebde28ae6a7b5be00633ac5fa47de8abd8392772dac
BLAKE2b-256 checksum
How to use checksums
9806c2acf9b42713823fd282822f8d8aa03936ec60a56158c858cd73f17bcd11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.5.1

Security for ebi-ols-client 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page