Skip to main content

Basic Model Interface for Python

Project description

Python bindings for the CSDMS Basic Model Interface.

Install

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 https://github.com/csdms/bmi-python
$ cd bmi-python
$ pip install .

Usage

from bmipy import Bmi


class MyBmi(Bmi):

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

A complete sample implementation is given in the https://github.com/csdms/bmi-example-python repository.

Project details


Download files

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

Source Distribution

bmipy-2.0.tar.gz (23.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page