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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file bmipy-2.0.tar.gz.
File metadata
- Download URL: bmipy-2.0.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1a586f6ac679e44d7eae3c15ee09bc3a6bd856d23cada9a461a1900e4246345
|
|
| MD5 |
18e07be6cf3cbf78674613a2456bcbf9
|
|
| BLAKE2b-256 |
c2c5401e9348b13a6690a59a865809a86bfefcb6a267360812435b95314ad09b
|