A python wrapper for INSEL (insel.eu)
Project description
INSELpy
This module allows to execute INSEL models from Python, and can be used to write unit tests for INSEL blocks and models.
>>> import insel
>>> insel.block('sum', 1, 2)
3.0
>>> insel.block('do', parameters = [1, 10, 1])
[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0]
>>> insel.template('a_times_b', a=4, b=5)
20.0
>>> insel.run('/usr/local/insel/examples/meteorology/sunae.vseit')
[]
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
inselpy-0.0.1.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file inselpy-0.0.1.tar.gz
.
File metadata
- Download URL: inselpy-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 127ef5f0276b18dfd39f3957155abe0a374d987e2ff941a82b49d6a6edaa5a53 |
|
MD5 | 3ff5f756561c2202d8fef1c6408eeb7c |
|
BLAKE2b-256 | f9e792ea748fa09ecf7652c6869e7cff96b093610b882f3c2612f4f4154219cc |
File details
Details for the file inselpy-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: inselpy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ded966a4c26303cf343a27c6b199395053db95a3302b6ee947ad5545d539b9a |
|
MD5 | 0f88bbebec655c4c4bb95df3688fe19c |
|
BLAKE2b-256 | 548f9089f4e92a695bf52a2769a727d114c8a6c89587f267fa40cd47acc66621 |