The Babelizer is an open source Python utility for wrapping models that expose a BMI so they can be imported as Python packages. Within Python, these models, regardless of their core language, appear as Python classes that have BMI methods. Users are then able to run models interactively through the Python command line or Jupyter Notebook, and programmatically through Python scripts; they can also use Python-based BMI tools such as the bmi-tester, PyMT, and Landlab.
Supported languages include:
The Babelizer is an element of the CSDMS Workbench, an integrated system of software tools, technologies, and standards for building and coupling models.
- The latest Babelizer documentation. (Last updated November 2020)
- The Babelizer repository on GitHub: Go here to contribute to Babelizer, ask a Babelizer-related question, or submit an issue.
- A comprehensive example of wrapping a model written in C that exposes a BMI with the Babelizer, then running it in Python through PyMT.