Skip to main content

Basic Model Interface for Python

Project description

Python bindings for the CSDMS Basic Model Interface.


Install bmipy with pip,

$ pip install bmipy

If you’re using Anaconda, you can also install bmipy with conda from the conda-forge channel,

$ conda install bmipy -c conda-forge

To build and install bmipy from source,

$ git clone
$ cd bmi-python
$ pip install .


from bmipy import Bmi

class MyBmi(Bmi):

    def initialize(self, config_file):
        # Your implementation goes here

A complete sample implementation is given in the repository.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bmipy, version 2.0
Filename, size File type Python version Upload date Hashes
Filename, size bmipy-2.0.tar.gz (23.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page