Python SDK client for BioAPI genomics REST endpoints.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bioapi_sdk-0.1.0.tar.gz.
File metadata
- Download URL: bioapi_sdk-0.1.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6f65602d0c1df8880a0f74134319800150a6b0a63f3ebe6bd8874606803eef1
|
|
| MD5 |
1e436eb09f8e366d91cf0b10f8a46f6f
|
|
| BLAKE2b-256 |
a4290e6146d7f9c5f10a23479921b60bfad2540bcafcb90da14b116c4e5489ac
|
File details
Details for the file bioapi_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bioapi_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20af3dd491ad4b0938fa1ff99a1fa614a05453c44b666eb2f7714e2879fdacc9
|
|
| MD5 |
04ef0e487b7d4630da669138ad90a04d
|
|
| BLAKE2b-256 |
98666b50cad9b014f5411051b4a5f537c1e500c9477912f7c3c6c101c60b60fd
|