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 not currently available as PyPi packages. To use them, you need to set the
PYTHONPATHenvironment variable to their installation paths. 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:
Compile Yourself
- Clone the Git Repositories:
- Set Up MedPython: Follow the instructions in Setup MedPython. The ETL Library and AlgoMarker API Server doesn't requires installation and are pure python code.
- Configure Environment Variables:
Ensure Python recognizes the libraries by setting the
PYTHONPATHenvironment variable. Replace${MR_LIBS}with the path to the clonedMR_LIBSrepository and${MR_TOOLS}with the path to the clonedMR_Toolsrepository.
The Python AlgoMarker API Server does not require installation. Simply run the script directly when needed.