Skip to main content

Typed Python SDK for the Modulector API.

Project description

Modulector SDK

Typed Python SDK for the Modulector API. The package contains client helpers for querying miRNA target interactions, miRNA aliases, methylation sites, disease associations, drug associations, and PubMed subscriptions without installing the Django backend dependencies.

Installation

pip install modulector-sdk

Usage

from modulector_sdk import get_mirna_details, get_mirna_target_interactions

details = get_mirna_details("hsa-miR-21-5p")
interactions = get_mirna_target_interactions(
    mirna="hsa-miR-21-5p",
    gene="PTEN",
    include_pubmeds=True,
)

Set MODULECTOR_API_BASE_URL to target a different Modulector deployment:

MODULECTOR_API_BASE_URL=https://your-modulector.example.org python script.py

Every service function also accepts a base_url keyword argument for per-request overrides.

Development

Build this SDK from the sdk/ directory:

uv build

The generated source distribution and wheel are written to sdk/dist/.

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

modulector_sdk-2.3.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

modulector_sdk-2.3.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file modulector_sdk-2.3.0.tar.gz.

File metadata

  • Download URL: modulector_sdk-2.3.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.23

File hashes

Hashes for modulector_sdk-2.3.0.tar.gz
Algorithm Hash digest
SHA256 73de9b74b7504243f8f5ad6c5bbc46d842dc2ff42df69d1b9f2283967f4391c8
MD5 abb04546b33bce082b97cc3af5e4f55d
BLAKE2b-256 e7a320ca350e09556d50bf2b21e4f52193cdc61c2b72ca7e80ca76d1654fdb44

See more details on using hashes here.

File details

Details for the file modulector_sdk-2.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for modulector_sdk-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5baba1e90c2db48c31359c7a1942d0ea98228271fae16ea7e2e1e3758a6cf70d
MD5 20f78053ae35f07cb2f03d578cb8d8b0
BLAKE2b-256 41650a0306438d0fddd58afd1567c232da978528ace745f3aec65e764478e834

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