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.4.tar.gz
(16.0 kB
view details)
Built Distribution
inselpy-0.0.4-py3-none-any.whl
(16.7 kB
view details)
File details
Details for the file inselpy-0.0.4.tar.gz
.
File metadata
- Download URL: inselpy-0.0.4.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cf6648199a28522c53ab47cb8476a40d0d9f346dcf45747f311f98a37757909 |
|
MD5 | f6c962fec0bc6cf4b43be5ec5f6c880d |
|
BLAKE2b-256 | 9f85498de470f2ebfa6667dc01ff369566d308eaf0b953fde60074ea468bd398 |
File details
Details for the file inselpy-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: inselpy-0.0.4-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b9a4ad75221d31bb22a6a686d385f0484fd3c6797f72504ba5455103daf327e |
|
MD5 | 580d7738a7850cd9d6e0925fdafab2a8 |
|
BLAKE2b-256 | 60aeea6ffa21b06052c8a47cbac3e1e4eb43d82f0c1a3775b9e81ced90b432d0 |