Skip to main content

a toolkit for building high-performance data APIs in biology

Project description

Downloads biothings package biothings_version biothings_version biothings_version Contributor Covenant Build Status Documentation Status

BioThings SDK

Quick Summary

BioThings SDK provides a Python-based toolkit to build high-performance data APIs (or web services) from a single data source or multiple data sources. It has the particular focus on building data APIs for biomedical-related entities, a.k.a "BioThings" (such as genes, genetic variants, drugs, chemicals, diseases, etc.).

Documentation about BioThings SDK can be found at https://docs.biothings.io

Introduction

What's BioThings?

We use "BioThings" to refer to objects of any biomedical entity-type represented in the biological knowledge space, such as genes, genetic variants, drugs, chemicals, diseases, etc.

BioThings SDK

SDK represents "Software Development Kit". BioThings SDK provides a Python-based toolkit to build high-performance data APIs (or web services) from a single data source or multiple data sources. It has the particular focus on building data APIs for biomedical-related entities, a.k.a "BioThings", though it's not necessarily limited to the biomedical scope. For any given "BioThings" type, BioThings SDK helps developers to aggregate annotations from multiple data sources, and expose them as a clean and high-performance web API.

The BioThings SDK can be roughly divided into two main components: data hub (or just "hub") component and web component. The hub component allows developers to automate the process of monitoring, parsing and uploading your data source to an Elasticsearch backend. From here, the web component, built on the high-concurrency Tornado Web Server , allows you to easily setup a live high-performance API. The API endpoints expose simple-to-use yet powerful query features using Elasticsearch's full-text query capabilities and query language.

BioThings API

We also use "BioThings API" (or BioThings APIs) to refer to an API (or a collection of APIs) built with BioThings SDK. For example, both our popular MyGene.Info and MyVariant.Info APIs are built and maintained using this BioThings SDK.

BioThings Studio

BioThings Studio is a buildin, pre-configured environment used to build and administer a BioThings API. At its core is the Hub, a backend service responsible for maintaining data up-to-date, producing data releases and update API frontends.

Installing BioThings SDK

You can install the latest stable BioThings SDK release with pip from PyPI, like:

pip install biothings

You can install the latest development version of BioThings SDK directly from our github repository like:

pip install git+https://github.com/biothings/biothings.api.git#egg=biothings

Alternatively, you can download the source code, or clone the BioThings SDK repository and run:

python setup.py install

Get started to build a BioThings API

We recommend to follow this tutorial to develop your first BioThings API in our pre-configured BioThings Studio development environment.

Documentation

The latest documentation is available at https://docs.biothings.io.

How to contribute

Please check out this Contribution Guidelines and Code of Conduct document.

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

biothings-0.8.2.tar.gz (319.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

biothings-0.8.2-py3-none-any.whl (376.3 kB view details)

Uploaded Python 3

biothings-0.8.2-1-py3-none-any.whl (376.3 kB view details)

Uploaded Python 3

File details

Details for the file biothings-0.8.2.tar.gz.

File metadata

  • Download URL: biothings-0.8.2.tar.gz
  • Upload date:
  • Size: 319.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for biothings-0.8.2.tar.gz
Algorithm Hash digest
SHA256 54f953a62f4f83616eb21c8e5295bcda175b1d187cd61303c4b8acd6bb4f05fd
MD5 6a10c8f7a702bfda53a8d634f0d5f44f
BLAKE2b-256 ee9c3999ccd3d40f2ee03297a31d0fb1b324e578aec71f32615b67cf8879311d

See more details on using hashes here.

File details

Details for the file biothings-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: biothings-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 376.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for biothings-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 be03ed902ea95af3efa953a564ad7f3ce8e56955f9f53431d48d13b36687f5d8
MD5 c2828ba29a96ec01775d320293876cb9
BLAKE2b-256 19ac52bbb05e32574f7e879c39347663d91921538441f959233edb0c7b13d635

See more details on using hashes here.

File details

Details for the file biothings-0.8.2-1-py3-none-any.whl.

File metadata

  • Download URL: biothings-0.8.2-1-py3-none-any.whl
  • Upload date:
  • Size: 376.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for biothings-0.8.2-1-py3-none-any.whl
Algorithm Hash digest
SHA256 61fa20ee4d85f8dfbc65834627779e52277fb7a2996a52c51fb846e59934fb9c
MD5 8f1832f36c1b521f64102811b17ad883
BLAKE2b-256 0e0c71ba9242a4f3a2c7def5e527ff62a51ef9b966b8a64e638d83178f0af563

See more details on using hashes here.

Supported by

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