Python bindings for the CSDMS Basic Model Interface.
Install bmipy with pip,
$ pip install bmipyIf you're using Anaconda, you can also install bmipy with conda from the conda-forge channel,
$ conda install bmipy -c conda-forgeTo build and install bmipy from source,
$ git clone https://github.com/csdms/bmi-python
$ cd bmi-python
$ pip install .from bmipy import Bmi
class MyBmi(Bmi):
def initialize(self, config_file):
# Your implementation goes hereA complete sample implementation is given in the https://github.com/csdms/bmi-example-python repository.