Python
Quick Start
We provide three libraries for use:
- MedPython: A Python library that integrates with our C library.
- ETL Library: A pure Python utility designed to assist in creating Data Repositories.
- AlgoMarker API Server: A pure Python server wrapper for utilizing the AlgoMarker library (limited to predict/apply for implementation setting. Much lighter as opposed to MedPython).
Note: These libraries are currently available as PyPi package. To use them, just type pip install medpython. For more information: Setup
Pages
- MedPython
- Examples: Usage examples for MedPython.
- Python Binding Troubleshooting: Guidance for troubleshooting Python bindings in MedPython.
- Extend and Develop: Instructions for exposing additional C++ APIs to Python.
- ETL Library: Refer to the ETL Tutorial for more details.
- Python AlgoMarker API Server: Documentation for the pure Python FastAPI server of the AlgoMarker library.
Setup
Using PyPI
Usage
More information on usage:
Use From Source Code
- Clone the Git Repositories:
- Set Up MedPython: Follow the instructions in Setup MedPython. The ETL Library and AlgoMarker API Server are pure python code, so you can just configure environment variable of PYTHONPATH to use them from source code.
- Configure Environment Variables:
Ensure Python recognizes the libraries by setting the
PYTHONPATHenvironment variable. Replace${MR_TOOLS}with the path to the clonedMR_Toolsrepository.