Unofficial Python SDK for the iMednet clinical trials API.
Full documentation: https://fderuiter.github.io/imednet-python-sdk/
This package simplifies integration with the iMednet REST API for clinical trial management. It provides typed endpoint wrappers, helper workflows and a CLI so researchers and developers can automate data extraction and submission without reimplementing HTTP logic.
Our documentation is organized according to the Diátaxis framework, which categorizes information based on user intent.
Learning-oriented guides for getting started.
Problem-oriented guides for completing specific tasks.
Understanding-oriented concepts and architectural overviews.
Information-oriented material like API documentation and contributor rules.
# PyPI release
pip install imednetFor extended integrations, you can install optional dependencies:
pip install "imednet[export]"
pip install imednet-workflows
pip install apache-airflow-providers-imednetContributors and developers can initialize their local environment, credentials, and dependencies using the interactive setup wizard:
bash scripts/wizards/setup-imednet-env.shThe wizard guides you through:
- Tooling Verification: Ensuring Python (>= 3.10) and
uvare available in yourPATH. - UTF-8 Encoding: Configuring
PYTHONUTF8=1andPYTHONIOENCODING=utf-8to prevent Windows consolecharmapencoding errors. - Workspace Synchronization: Running
uv sync --extra dev --extra docsto link workspace packages in editable mode. - EDC Credentials: Safely entering EDC API credentials into
.env(with optional GitHub Actions secrets sync viagh). - Self-Test: Validating that the SDK and CLI (
imednet --help) are fully operational.
To set up manually:
# Set UTF-8 encoding in PowerShell (Windows) or bash (macOS/Linux)
# PowerShell: $env:PYTHONUTF8 = "1"
# bash: export PYTHONUTF8=1
# Synchronize monorepo packages with dev and docs tooling
uv sync --extra dev --extra docsContributions are welcome! Please see our Contributor Guide and Verification Loop to get started.
This project is licensed under the MIT license. See LICENSE for details.