Python wrapper for the libcosim library
Project description
libcosimpy
Python wrapper for the libcosim library. The wrapper uses the libcosimc C wrapper and the python ctypes library to make OSP accessible to python developers.
Getting Started
libcosimpy
is available from PyPI. Run the following command to install the package:
pip install libcosimpy
To install from the source, run the following command at the root directory of the repository:
pip install .
libcosimpy
requires ctypes to call libcosimc
functions. ctypes
is included with python and does not have to be installed.
Tests
Tests can be run using the pytest
command in the terminal. libcosimc
log level for all tests can be set in the ./tests/conftest.py
file.
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 Distributions
Built Distributions
Hashes for libcosimpy-0.0.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1d4af4fbb659cb7888a3e5a39d0672babe15d1b585c5a74c00fd0fe8a74f427 |
|
MD5 | 9e84eeec9094603ad5af29a0b00009e1 |
|
BLAKE2b-256 | 853bc18d992011efb3782ec6f84d8a0b9cd065d6652c0e8b389d40280a5ccfbd |
Hashes for libcosimpy-0.0.1-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a9a075b1694db968b4f10c97cee8766e6e9997408def83c784d1ff31f9b35c0 |
|
MD5 | 0ea7b0c935f35f9f4baaf0dec763c2e8 |
|
BLAKE2b-256 | 2f153778c892e87a5c7d595b90b2de629c4e0bf6786f87b4f7e5b63c019ca3c9 |
Hashes for libcosimpy-0.0.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 726a0ebb0b3bceff27e28f7f85cf316bd7b22a208068cd85ba3a92416e187246 |
|
MD5 | 398bff162f6ae4b044e6a1e349db2e10 |
|
BLAKE2b-256 | aa03e728c42d0a228e09cd84a797737cf6535e44e52747734bb1a31418683762 |
Hashes for libcosimpy-0.0.1-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc80136bbac04a2e2b0495e34158d960041641fe9478dea44ddeee5b86cf7bec |
|
MD5 | b9a430b33c675b4f7299a2d6cc460de4 |
|
BLAKE2b-256 | 5cd2834e02f6da25f94b193512cf481e6aa04dc966e3589a210f9727fdf245ca |
Hashes for libcosimpy-0.0.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed7cd223328c5ce2c9c8b029ae3d735d432e457c426b14413e65e497c57e34cc |
|
MD5 | 3b39428373ca063e18ceece74aae70e1 |
|
BLAKE2b-256 | 2e0770d83d7fd79cc721880b71c3835ef13e592ea960ea70b5259483583fe637 |
Hashes for libcosimpy-0.0.1-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22653e9e8f7fe0018c4f85306d88b470112716c9efec2d7aa2b3fa7c478db3c3 |
|
MD5 | 50b12d0cb26221ce29b02ecdef43d381 |
|
BLAKE2b-256 | 270b6a9565a98fc62bffe0ae319068a06e36b3b444009d70ba3fb02e9a2fbee2 |