The FMI++ Python Interface
About
The Functional Mock-up Interface (FMI) specification intentionally provides only the most essential and fundamental functionalities in the form of a C interface. On the one hand, this increases flexibility in use and portability to virtually any platform. On the other hand, such a low-level approach implies several prerequisites a simulation tool has to fulfil in order to be able to utilize such an FMI component.
The FMI++ Python Interface is a Python wrapper for the FMI++ Library, which intends to bridge the gap between the basic fuctionality provided by the FMI specification and the typical requirements of simulation tools. The FMI++ Library provides high-level functionalities that ease the handling and manipulation of FMUs, such as numerical integration, advanced event-handling or state predictions. This allows FMUs to be integrated more easily, e.g., into fixed time step or discrete event simulations.
This package provides a stand-alone version of the Python interface for the FMI++ Library.
Documentation
The FMI++ Python Interface provides several classes that allow to manipulate FMUs for ModelExchange and for Co-Simulation. An overview on how to use it can be found here.
More extensive background information can be found in the documentation of the FMI++ Library.
Installation on Windows
use pip to install the FMI++ Python Interface from the PyPI as pre-compiled binary package (Python wheel):
$ pip install fmipp --prefer-binary
--prefer-binary should guarantee that binary distributions (wheels) are chosen over source distributions for the installation. Alternatively --only-binary :all: can be used instead to force installing from binary distribution.
Installation on Linux (Ubuntu 20.04)
make sure to have installed the following prerequisites(e.g. via apt, see package names in brackets below):
python (python3) (recommended: version 3.7 or higher)
pip (python3-pip)
distutils (python3-setuptools)
GCC compiler toolchain (build-essential)
swig (swig)
SUNDIALS library (libsundials-dev)
Boost library (libboost-all-dev)
use pip to install the FMI++ Python Interface from the PyPI via source distribution:
$ python3 -m pip install fmipp
Metadata
Release files for fmipp 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fmipp-2.1.0.tar.gz | 156.3 kB | Without provenance | Details for fmipp-2.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| fmipp-2.1.0-cp310-none-win_amd64.whl | CPython 3.10 | none | Windows x86-64 | Details for fmipp-2.1.0-cp310-none-win_amd64.whl |
| fmipp-2.1.0-cp39-none-win_amd64.whl | CPython 3.9 | none | Windows x86-64 | Details for fmipp-2.1.0-cp39-none-win_amd64.whl |
| fmipp-2.1.0-cp38-none-win_amd64.whl | CPython 3.8 | none | Windows x86-64 | Details for fmipp-2.1.0-cp38-none-win_amd64.whl |
| fmipp-2.1.0-cp37-none-win_amd64.whl | CPython 3.7 | none | Windows x86-64 | Details for fmipp-2.1.0-cp37-none-win_amd64.whl |
Total release size: 8.3 MB
Release files / fmipp-2.1.0.tar.gz
| Download URL | fmipp-2.1.0.tar.gz |
|---|---|
| Size | 156.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5ad7f656a19da2ffbd7b06e06fb3c7d94a7a771e6704d1a1a47d8401dfc0b6b
|
|
BLAKE2b-256 checksum How to use checksums |
3ea8468eae77892803d3b7ae32ab29908bd8ec65bc30ad9a155445ff31f01046
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.6
|
Release files / fmipp-2.1.0-cp310-none-win_amd64.whl
| Download URL | fmipp-2.1.0-cp310-none-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
51902e6c398506820ec31f9615f515e9a14465ffcf182581e24b07f283b76e16
|
|
BLAKE2b-256 checksum How to use checksums |
2b6fdd6bfc31542b56bfd14bdcc914ebb5cae05d7fe576f0c9dfcfad30951b25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.6
|
Release files / fmipp-2.1.0-cp39-none-win_amd64.whl
| Download URL | fmipp-2.1.0-cp39-none-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a7817dd29ff71119c8c30a9711be5311e74d7c684431f07ce0bf8e97f12b5486
|
|
BLAKE2b-256 checksum How to use checksums |
dd89230c9ccea07b6d40c371bbf345d98879571cbc24810c14dd7868182f2e61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.6
|
Release files / fmipp-2.1.0-cp38-none-win_amd64.whl
| Download URL | fmipp-2.1.0-cp38-none-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ed7ceb168d8451298bd91faa17f3c18f1d41bc38ddcbc056d2f2a885d9969632
|
|
BLAKE2b-256 checksum How to use checksums |
ca006610e3c8d9595bc8c1a80ca097303b70c51d6a6a8a9ef69ac116cf86c903
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.6
|
Release files / fmipp-2.1.0-cp37-none-win_amd64.whl
| Download URL | fmipp-2.1.0-cp37-none-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.7 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d6caa50011cbaa97417c753c26b4cc894f28b52a6b22c82797b72d860d07c422
|
|
BLAKE2b-256 checksum How to use checksums |
03980a851ef8b1223df9bc6fce9509290dbc63efa4c8ac3a5ba5d2d426dfd685
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.6
|
Security for fmipp 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.