Skip to main content

Basic Model Interface for Python

Project description

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.

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.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

bmipy-2.0.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file bmipy-2.0.1.tar.gz.

File metadata

  • Download URL: bmipy-2.0.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for bmipy-2.0.1.tar.gz
Algorithm Hash digest
SHA256 06f895711bba6b340c2a92411ca8a40a5eb8223ea18f20b6c7d8f5c7dc349b3d
MD5 d17566b4cbfd10ce5c925811c1fc748a
BLAKE2b-256 de224af81bc6c8546b3a1e2cd69bebb8f41644bdd1306361d8c32799a1115ad7

See more details on using hashes here.

File details

Details for the file bmipy-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: bmipy-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for bmipy-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5cebcf8b263b55e8a094b845ebe0c4c17e1a8c09da4366fc593b769ec03a9b9
MD5 8ecf043a86f6fa659db9cd97cf9ab6f4
BLAKE2b-256 a7c3fc7e8ea645a8b0da48fa35ceb79ac1734934447626441165805f45c8544b

See more details on using hashes here.

Supported by

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