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.
libcosimpy is available from PyPI. Run the following command to install the package:
pip install libcosimpyTo 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 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.