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 Wrapper: A pure Python 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
PYTHONPATH
environment 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 Wrapper: Documentation for the pure Python wrapper of the AlgoMarker library.
Setup
- Clone the Git Repositories:
- Set Up MedPython: Follow the instructions in Setup MedPython.
- Configure Environment Variables:
Ensure Python recognizes the libraries by setting the
PYTHONPATH
environment variable. Replace${MR_LIBS}
with the path to the clonedMR_LIBS
repository and${MR_TOOLS}
with the path to the clonedMR_Tools
repository.
The Python AlgoMarker API Wrapper does not require installation. Simply run the script directly when needed.