Skip to main content

bioapi-sdk

Python SDK client for the BioAPI genomics REST service.

The distribution package is named bioapi-sdk and the import package is bioapi_sdk.

Installation

pip install bioapi-sdk

Usage

from bioapi_sdk import gene_symbols, information_of_genes

symbols = gene_symbols(["ENSG00000141510", "7157"])
genes = information_of_genes(["TP53"])

By default, requests are sent to https://bioapi.multiomix.org. You can change the server per call with base_url= or globally with the BIOAPI_BASE_URL environment variable.

from bioapi_sdk import gene_symbols

symbols = gene_symbols(["TP53"], base_url="http://localhost:5000")

MCP server

The SDK package also includes a BioAPI MCP server for LLM clients. Install the MCP extra to include the MCP runtime dependency:

pip install "bioapi-sdk[mcp]"

After installation, run the server over stdio with:

bioapi-mcp

Development

Build the package from this directory:

python -m build

The core SDK intentionally depends only on requests at runtime. The MCP server dependencies are installed only with the mcp extra.

Metadata

Release files for bioapi-sdk 0.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 bioapi-sdk 0.1.0
File Size Uploaded Provenance Actions
bioapi_sdk-0.1.0.tar.gz 13.3 kB Without provenance Details for bioapi_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bioapi-sdk 0.1.0
File Interpreter ABI Platform Actions
bioapi_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for bioapi_sdk-0.1.0-py3-none-any.whl

Total release size: 27.5 kB

Release files / bioapi_sdk-0.1.0.tar.gz

Download URL bioapi_sdk-0.1.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f6f65602d0c1df8880a0f74134319800150a6b0a63f3ebe6bd8874606803eef1
BLAKE2b-256 checksum
How to use checksums
a4290e6146d7f9c5f10a23479921b60bfad2540bcafcb90da14b116c4e5489ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.23

Release files / bioapi_sdk-0.1.0-py3-none-any.whl

Download URL bioapi_sdk-0.1.0-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20af3dd491ad4b0938fa1ff99a1fa614a05453c44b666eb2f7714e2879fdacc9
BLAKE2b-256 checksum
How to use checksums
98666b50cad9b014f5411051b4a5f537c1e500c9477912f7c3c6c101c60b60fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.23

Security for bioapi-sdk 0.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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