Skip to content

RolfHut/bmi-python

 
 

Repository files navigation

BMI for Python

Python bindings for the CSDMS Basic Model Interface.

DOI Build Status Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

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.

About

Basic Model Interface for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.0%
  • Makefile 2.0%