Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

libcosimpy-0.0.1-cp311-cp311-win_amd64.whl (4.5 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

libcosimpy-0.0.1-cp311-cp311-manylinux_2_35_x86_64.whl (25.3 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.35+ x86-64

libcosimpy-0.0.1-cp310-cp310-win_amd64.whl (4.5 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

libcosimpy-0.0.1-cp310-cp310-manylinux_2_35_x86_64.whl (25.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.35+ x86-64

libcosimpy-0.0.1-cp39-cp39-win_amd64.whl (4.5 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

libcosimpy-0.0.1-cp39-cp39-manylinux_2_35_x86_64.whl (25.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.35+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page