Skip to main content

Biolink Model Toolkit: A Python API for working with the Biolink Model

Project description

Python PyPI

Biolink Model Toolkit

Biolink Model Toolkit (BMT): A Python API for working with the Biolink Model.

BMT provides utility functions to look up Biolink Model for classes, relations, and properties based on Biolink CURIEs or external CURIEs that have been mapped to Biolink Model.

Note: Each release of BMT is pinned to a specific version of the Biolink Model to ensure consistency.

Usage

BMT provides convenience methods to operate on the Biolink Model.

Using this toolkit you can,

  • Get Biolink Model elements corresponding to a given Biolink class or slot name
  • Get Biolink Model elements corresponding to a given external CURIE/IRI
  • Get ancestors for a given Biolink Model element
  • Get descendants for a given Biolink Model element
  • Get parent for a given Biolink Model element
  • Get children for a given Biolink Model element
  • Check whether a given Biolink Model element is part of a specified subset

Project details


Download files

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

Source Distribution

bmt-1.0.4.tar.gz (11.0 kB view hashes)

Uploaded Source

Built Distribution

bmt-1.0.4-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page