Skip to main content

MedDroid SDK (Python) — meddroid-sdk

Fine-tune medical models, build RAGs, run local inference, and publish to the MedDroid Marketplace — from one CLI.

Status: early scaffold (v0.1.0). The training / RAG / serving helpers wrap standard open-source tooling and work today; submit posts to the live Marketplace intake (the medicalandroid-chat Worker → Supabase) and falls back to writing submission.json only if that's unreachable. Not yet published to PyPI — install from source for now.

Your files, data and compute stay on your own machine/GPU; we only store the submission's link + metadata.

PyPI distribution name is meddroid-sdk; the import module and CLI are meddroid.

Install

# once published:  pip install meddroid-sdk

# from source (this folder) for now
pip install -e .

# with training / serving / rag extras
pip install -e ".[train,serve,rag]"

Use

meddroid login
meddroid train --base phi3-mini --data data.jsonl --out ./my-model
meddroid rag build ./my-files --out ./my-rag
meddroid rag query ./my-rag "What is the sepsis bundle timeline?"
# many questions? load once, answer instantly (REPL, or --port for a local HTTP API):
meddroid rag serve ./my-rag
meddroid serve ./my-model --port 8000
meddroid submit --name "Sepsis EWS" --brand "My Clinic" \
  --link https://huggingface.co/your-org/sepsis-ews --public --price 49

Base models: medgemma-4b, openbiollm-8b, meditron-7b, phi3-mini (or any Hugging Face repo id). Each keeps its own licence — review before commercial use.

We store the link, model card and brand — never your weights. Host the files on Hugging Face / Kaggle / Drive. Public listings can be monetised; private ones are invite-only.

Guided, step-by-step version: https://medicalandroid.com/#/model-studio

Publish a Marketplace app (0.2.0+)

Every app in the MedDroid Marketplace is free. Apps run inside MedDroid Providers on the clinic's computer and store everything in the desktop app's encrypted database through the app SDK (no browser storage; going online needs the internet permission).

meddroid app init bp-tracker        # meddroid-app.json + App.tsx + type stubs
meddroid app check bp-tracker       # manifest + code rules
meddroid app submit bp-tracker --link https://github.com/you/bp-tracker

MedDroid reviews each app against its permissions; approved apps are listed under "From developers" and ship in the next MedDroid Providers update. Guide: https://medicalandroid.com/#/developer-docs (Publish an app to the Marketplace).

Metadata

Release files for meddroid-sdk 0.2.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 meddroid-sdk 0.2.0
File Size Uploaded Provenance Actions
meddroid_sdk-0.2.0.tar.gz 15.5 kB With provenance Details for meddroid_sdk-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for meddroid-sdk 0.2.0
File Interpreter ABI Platform Actions
meddroid_sdk-0.2.0-py3-none-any.whl Python 3 none any Details for meddroid_sdk-0.2.0-py3-none-any.whl

Total release size: 32.7 kB

Release files / meddroid_sdk-0.2.0.tar.gz

Download URL meddroid_sdk-0.2.0.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7f967970f549c7a26a4f63a3a8824d5a3d690f15f06806bdac7c0d9acf03db29
BLAKE2b-256 checksum
How to use checksums
4115f1fff54331bc541a3d70e4a81ac9580d861a082cc429546e52cde7d01d95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / meddroid_sdk-0.2.0-py3-none-any.whl

Download URL meddroid_sdk-0.2.0-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1712533acc8a56ede727107d6e5a2a6f1cc667a44412d0b2ce3d8a84a5e2c27
BLAKE2b-256 checksum
How to use checksums
43e245267e28da1dea19d37d625244ae25b8b1dffd7cb8b8641779a769dd3876
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Security for meddroid-sdk 0.2.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for meddroid_sdk-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

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.

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