pythonfmu3 0.3.4__py3-none-any.whl → 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. pythonfmu3/_version.py +1 -1
  2. pythonfmu3/builder.py +96 -24
  3. pythonfmu3/fmi3slave.py +23 -19
  4. pythonfmu3/modelexchange.py +17 -2
  5. pythonfmu3/osutil.py +34 -9
  6. pythonfmu3/pythonfmu-export/CMakeLists.txt +36 -4
  7. pythonfmu3/pythonfmu-export/generate_shim.py +88 -0
  8. pythonfmu3/pythonfmu-export/src/CMakeLists.txt +41 -13
  9. pythonfmu3/pythonfmu-export/src/cppfmu/cppfmu_common.hpp +3 -0
  10. pythonfmu3/pythonfmu-export/src/cppfmu/fmi_functions.cpp +6 -4
  11. pythonfmu3/pythonfmu-export/src/pythonfmu/PySlaveInstance.cpp +560 -571
  12. pythonfmu3/pythonfmu-export/src/pythonfmu/PySlaveInstance.hpp +20 -7
  13. pythonfmu3/pythonfmu-export/src/shim/fmi3_forwarders.cpp +612 -0
  14. pythonfmu3/pythonfmu-export/src/shim/shim_loader.cpp +157 -0
  15. pythonfmu3/pythonfmu-export/src/shim/shim_loader.hpp +29 -0
  16. pythonfmu3/resources/binaries/x86_64-linux/libpythonfmu-backend.so +0 -0
  17. pythonfmu3/resources/binaries/x86_64-linux/libpythonfmu-export.so +0 -0
  18. pythonfmu3/resources/binaries/x86_64-windows/pythonfmu-export.dll +0 -0
  19. pythonfmu3/tests/data/fmi3_host.c +31 -0
  20. pythonfmu3/tests/fmi3_ctypes_driver.py +137 -0
  21. pythonfmu3/tests/test_builder.py +48 -2
  22. pythonfmu3/tests/test_docs.py +70 -61
  23. pythonfmu3/tests/test_non_python_host.py +75 -0
  24. pythonfmu3/tests/test_osutil.py +23 -0
  25. pythonfmu3/tests/test_variables.py +1 -1
  26. pythonfmu3/tests/test_wrapper_ctypes.py +61 -0
  27. pythonfmu3/variables.py +4 -3
  28. {pythonfmu3-0.3.4.dist-info → pythonfmu3-1.0.0.dist-info}/METADATA +61 -25
  29. {pythonfmu3-0.3.4.dist-info → pythonfmu3-1.0.0.dist-info}/RECORD +33 -23
  30. {pythonfmu3-0.3.4.dist-info → pythonfmu3-1.0.0.dist-info}/WHEEL +1 -1
  31. {pythonfmu3-0.3.4.dist-info → pythonfmu3-1.0.0.dist-info}/entry_points.txt +0 -0
  32. {pythonfmu3-0.3.4.dist-info → pythonfmu3-1.0.0.dist-info}/licenses/LICENSE +0 -0
  33. {pythonfmu3-0.3.4.dist-info → pythonfmu3-1.0.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,23 @@
1
+ import pytest
2
+
3
+ from pythonfmu3 import osutil
4
+
5
+
6
+ @pytest.mark.parametrize(
7
+ "system, machine, is_64bit, expected",
8
+ [
9
+ ("Darwin", "arm64", True, "aarch64-darwin"), # Apple Silicon
10
+ ("Darwin", "x86_64", True, "x86_64-darwin"), # Intel Mac (or Rosetta)
11
+ ("Linux", "x86_64", True, "x86_64-linux"),
12
+ ("Linux", "aarch64", True, "aarch64-linux"), # Raspberry Pi 4/5, Graviton
13
+ ("Linux", "armv7l", False, "aarch32-linux"),
14
+ ("Windows", "AMD64", True, "x86_64-windows"),
15
+ ("Windows", "AMD64", False, "x86-windows"), # 32-bit Python on 64-bit Windows
16
+ ("Windows", "ARM64", True, "aarch64-windows"),
17
+ ],
18
+ )
19
+ def test_fmi3_platform_tuple(monkeypatch, system, machine, is_64bit, expected):
20
+ monkeypatch.setattr(osutil.platform, "system", lambda: system)
21
+ monkeypatch.setattr(osutil.platform, "machine", lambda: machine)
22
+ monkeypatch.setattr(osutil, "_is_64bit", lambda: is_64bit)
23
+ assert osutil.get_platform() == expected
@@ -324,7 +324,7 @@ def test_array_to_xml(name, start, dims):
324
324
  ])
325
325
  def test_array_output_to_xml(name, start, dims):
326
326
  import numpy as np
327
- start = np.reshape(start, newshape=dims)
327
+ start = np.reshape(start, dims)
328
328
  r = Float64(name, start, dimensions=[Dimension(start=val) for val in dims], causality=Fmi3Causality.output)
329
329
  xml = r.to_xml()
330
330
  if start is not None:
@@ -0,0 +1,61 @@
1
+ """Exercise the native wrapper directly through ctypes (no fmpy needed).
2
+
3
+ Each scenario runs in its own interpreter so a crash in the wrapper fails the test
4
+ instead of taking down the test session.
5
+ """
6
+ import subprocess
7
+ import sys
8
+ import zipfile
9
+ from pathlib import Path
10
+
11
+ import pytest
12
+
13
+ from pythonfmu3.builder import FmuBuilder
14
+
15
+ pytestmark = pytest.mark.skipif(
16
+ not FmuBuilder.has_binary() or not sys.platform.startswith("linux"),
17
+ reason="needs the compiled wrapper (ctypes driver is Linux-only)",
18
+ )
19
+
20
+ HERE = Path(__file__).parent
21
+ DRIVER = HERE / "fmi3_ctypes_driver.py"
22
+
23
+
24
+ def _extract(script: Path, dest: Path) -> Path:
25
+ fmu = FmuBuilder.build_FMU(script, dest=dest)
26
+ target = dest / fmu.stem
27
+ with zipfile.ZipFile(fmu) as z:
28
+ z.extractall(target)
29
+ return target
30
+
31
+
32
+ @pytest.fixture(scope="module")
33
+ def python_slave(tmp_path_factory):
34
+ # A space in the path exercises the resource-path handling
35
+ return _extract(HERE / "slaves/pythonslave.py", tmp_path_factory.mktemp("with space"))
36
+
37
+
38
+ @pytest.fixture(scope="module")
39
+ def exception_slave(tmp_path_factory):
40
+ return _extract(HERE / "slaves/PythonSlaveWithException.py", tmp_path_factory.mktemp("exc"))
41
+
42
+
43
+ def _run(scenario: str, fmu_dir: Path):
44
+ proc = subprocess.run(
45
+ [sys.executable, str(DRIVER), scenario, str(fmu_dir)],
46
+ capture_output=True, text=True, timeout=120,
47
+ )
48
+ assert proc.returncode == 0, proc.stdout + proc.stderr
49
+ assert f"OK {scenario}" in proc.stdout
50
+
51
+
52
+ @pytest.mark.parametrize(
53
+ "scenario",
54
+ ["basic", "bad_vr_type", "too_few_values", "null_logger", "bad_resources", "uri_resources"],
55
+ )
56
+ def test_wrapper(scenario, python_slave):
57
+ _run(scenario, python_slave)
58
+
59
+
60
+ def test_wrapper_exception_in_step(exception_slave):
61
+ _run("exception_in_step", exception_slave)
pythonfmu3/variables.py CHANGED
@@ -391,9 +391,10 @@ class String(ModelVariable):
391
391
 
392
392
  return parent
393
393
 
394
- class Enumeration(ModelVariable):
395
- def __init__(self, name: str, start: Optional[Any] = None, declared_type: Optional[Any] = None, **kwargs):
396
- super().__init__(name, **kwargs)
394
+ class Enumeration(ModelVariable, Arrayable):
395
+ def __init__(self, name: str, start: Optional[Any] = None, declared_type: Optional[Any] = None, dimensions: List[Dimension] = [], **kwargs):
396
+ ModelVariable.__init__(self, name, **kwargs)
397
+ Arrayable.__init__(self, dimensions, **kwargs)
397
398
  self.__attrs = {"start": start, "declaredType": declared_type}
398
399
  self._type = "Enumeration"
399
400
 
@@ -1,23 +1,31 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pythonfmu3
3
- Version: 0.3.4
4
- Summary: A lightweight framework that enables the packaging of Python3.x code as co-simulation FMUs.
5
- Home-page: https://github.com/stephensmith25/PythonFMU3
3
+ Version: 1.0.0
4
+ Summary: A lightweight framework that enables the packaging of Python 3 code as FMI 3.0 co-simulation and model exchange FMUs.
6
5
  Author: Stephen Smith
7
- License: MIT
8
- Keywords: FMI
9
- Classifier: Development Status :: 3 - Alpha
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/StephenSmith25/PythonFMU3
8
+ Project-URL: Documentation, https://pythonfmu3.readthedocs.io/
9
+ Project-URL: Issues, https://github.com/StephenSmith25/PythonFMU3/issues
10
+ Keywords: FMI,FMI3,FMU,co-simulation,model exchange,simulation
11
+ Classifier: Development Status :: 5 - Production/Stable
10
12
  Classifier: Intended Audience :: End Users/Desktop
11
13
  Classifier: Intended Audience :: Developers
12
14
  Classifier: Intended Audience :: Science/Research
13
- Classifier: License :: OSI Approved :: MIT License
14
15
  Classifier: Natural Language :: English
16
+ Classifier: Operating System :: Microsoft :: Windows
17
+ Classifier: Operating System :: POSIX :: Linux
18
+ Classifier: Operating System :: MacOS
15
19
  Classifier: Programming Language :: C++
16
20
  Classifier: Programming Language :: Python :: 3 :: Only
17
- Classifier: Programming Language :: Python :: 3.6
18
- Classifier: Programming Language :: Python :: 3.7
19
- Classifier: Programming Language :: Python :: 3.8
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
20
27
  Classifier: Topic :: Scientific/Engineering
28
+ Requires-Python: >=3.9
21
29
  Description-Content-Type: text/markdown
22
30
  License-File: LICENSE
23
31
  Provides-Extra: tests
@@ -41,8 +49,30 @@ This project is a fork of the original PythonFMU repository available at https:/
41
49
 
42
50
  ### Support:
43
51
 
44
- Please take a look at the examples to see the supported features.
45
- We currently support both the Model exchange and Cosimulation Interfaces.
52
+ Both the Model Exchange and Co-simulation interfaces are supported, with Float64, Int32,
53
+ Int64, UInt64, Boolean, String and Enumeration variables (plus NumPy arrays of the numeric
54
+ types). See the [documentation](https://pythonfmu3.readthedocs.io/) for the full list of
55
+ supported features and current limitations, and the `examples` folder for more models.
56
+
57
+ See the [changelog](docs/changelog.md) for what changed in each release.
58
+
59
+ ### Where can I run the FMU?
60
+
61
+ In any FMI 3.0 importer: Python-based tools such as FMPy, and native tools such as
62
+ OMSimulator, `fmusim` or Simulink.
63
+
64
+ The machine running the simulation needs Python 3 with a **shared** Python library, plus
65
+ the packages your model imports (see `pythonfmu3 deploy` below). Inside a Python-based
66
+ importer the FMU uses that interpreter. Otherwise, on Linux and macOS the FMU finds and
67
+ loads `libpython` itself; if it picks the wrong one, or none, point it at the right library:
68
+
69
+ ```bash
70
+ export PYTHONFMU_PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.12.so.1.0
71
+ ```
72
+
73
+ On Windows, `python3.dll` must be on the `PATH`. See
74
+ [Running FMUs outside Python](docs/install.md#running-fmus-outside-python-linux-and-macos)
75
+ for the full lookup order.
46
76
 
47
77
  ### How do I build an FMU from python code?
48
78
 
@@ -53,35 +83,37 @@ pip install pythonfmu3
53
83
  ```
54
84
 
55
85
  2. Create a new class extending the `Fmi3Slave` class declared in the `pythonfmu3.fmi3slave` module (see below for an example).
86
+ Keep a single FMU class per script.
56
87
  3. Run `pythonfmu3 build` to create the fmu.
57
88
 
58
89
  ```
59
- usage: pythonfmu3 build [-h] -f SCRIPT_FILE [-d DEST] [--doc DOCUMENTATION_FOLDER] [--terminals TERMINALS_FILE] [--no-external-tool]
60
- [--no-variable-step] [--interpolate-inputs] [--only-one-per-process] [--handle-state]
61
- [--serialize-state] [--use-memory-management]
62
- [Project files [Project files ...]]
90
+ usage: pythonfmu3 build [-h] -f SCRIPT_FILE [-d DEST] [--doc DOCUMENTATION_FOLDER] [--terminals TERMINALS]
91
+ [--no-external-tool] [--only-one-per-process] [--handle-state] [--serialize-state]
92
+ [--no-variable-step] [--needs-completed-step]
93
+ [Project files ...]
63
94
 
64
95
  Build an FMU from a Python script.
65
96
 
66
97
  positional arguments:
67
98
  Project files Additional project files required by the Python script.
68
99
 
69
- optional arguments:
100
+ options:
70
101
  -h, --help show this help message and exit
71
102
  -f SCRIPT_FILE, --file SCRIPT_FILE
72
103
  Path to the Python script.
73
104
  -d DEST, --dest DEST Where to save the FMU.
74
105
  --doc DOCUMENTATION_FOLDER
75
106
  Documentation folder to include in the FMU.
76
- --terminals TERMINALS_FILE
107
+ --terminals TERMINALS
77
108
  Terminals file (terminalsAndIcons.xml) to include in the FMU.
78
109
  --no-external-tool If given, needsExecutionTool=false
79
- --no-variable-step If given, canHandleVariableCommunicationStepSize=false
80
- --interpolate-inputs If given, canInterpolateInputs=true
81
110
  --only-one-per-process
82
111
  If given, canBeInstantiatedOnlyOncePerProcess=true
83
- --handle-state If given, canGetAndSetFMUstate=true
84
- --serialize-state If given, canSerializeFMUstate=true
112
+ --handle-state If given, canGetAndSetFMUState=true
113
+ --serialize-state If given, canSerializeFMUState=true
114
+ --no-variable-step If given, canHandleVariableCommunicationStepSize=false
115
+ --needs-completed-step
116
+ If given, needsCompletedIntegratorStep=true
85
117
  ```
86
118
 
87
119
  ### How do I build an FMU from python code with third-party dependencies?
@@ -91,7 +123,7 @@ _PythonFMU_ does not package a full environment within the FMU.
91
123
  However, you can package a `requirements.txt` or `environment.yml` file within your FMU following these steps:
92
124
 
93
125
  1. Install _pythonfmu_ package: `pip install pythonfmu3`
94
- 2. Create a new class extending the `Fmi3Slave` class declared in the `pythonfmu3.fmi3slave` module (see below for an example).
126
+ 2. Create a new class extending the `Fmi3Slave` class declared in the `pythonfmu3.fmi3slave` module (see the examples below).
95
127
  3. Create a `requirements.txt` file (to use _pip_ manager) and/or a `environment.yml` file (to use _conda_ manager) that defines your dependencies.
96
128
  4. Run `pythonfmu3 build -f myscript.py requirements.txt` to create the fmu including the dependencies file.
97
129
 
@@ -133,6 +165,8 @@ class PythonSlave(Fmi3Slave):
133
165
  self.author = "John Doe"
134
166
  self.description = "A simple description"
135
167
 
168
+ # Create attributes before registering them: register_variable only adds a setter
169
+ # (needed for inputs and parameters) for attributes that already exist.
136
170
  self.time = 0.0
137
171
  self.intOut = 1
138
172
  self.realOut = 3.0
@@ -172,7 +206,7 @@ To create a model exchange FMU you must inherit from `Fmi3SlaveBase` and one of
172
206
 
173
207
  ```python
174
208
 
175
- from pythonfmu3 import Fmi3Causality, Fmi3SlaveBase, Float64, ModelExchange
209
+ from pythonfmu3 import Fmi3Causality, Fmi3Initial, Fmi3SlaveBase, Fmi3Variability, Float64, ModelExchange
176
210
  from typing import List
177
211
 
178
212
 
@@ -207,7 +241,9 @@ class PythonSlaveMX(Fmi3SlaveBase, ModelExchange):
207
241
 
208
242
  ```
209
243
 
210
- Note: There is a hard requirement that we have a `self.time` member in the derived class.
244
+ Note: Model Exchange classes must define a `self.time` member. Derivative variables give the
245
+ value reference of their state with `derivative=`; value references are assigned in
246
+ registration order starting at 0 (here `time` = 0, `x0` = 1, `x1` = 2).
211
247
 
212
248
  #### Create the FMU
213
249
 
@@ -1,48 +1,58 @@
1
1
  pythonfmu3/__init__.py,sha256=VJ4QqOZTU8sBI8xhiRVD540Hsp381ma24xGWHABZ724,551
2
2
  pythonfmu3/__main__.py,sha256=gC1T8x2d02hhqshyNQGSS70SyCk-3I3t8zPqoRo2Xd8,1543
3
- pythonfmu3/_version.py,sha256=oYLGMpySamd16KLiaBTfRyrAS7_oyp-TOEHmzmeumwg,22
4
- pythonfmu3/builder.py,sha256=DLpy6Hd9ZmbeQLVMw_FcxnS5LB_-yRXzkPjlupyiYsg,11060
3
+ pythonfmu3/_version.py,sha256=J-j-u0itpEFT6irdmWmixQqYMadNl1X91TxUmoiLHMI,22
4
+ pythonfmu3/builder.py,sha256=jAP8sdXZ2lPXCCSwGLgcd6pAGLNicZjrlPvrIpLrq6s,14570
5
5
  pythonfmu3/cosimulation.py,sha256=EZ5pa_5hy1AwoaZRzZqNz_IX8kjxoFM9sPgeqrUiRuw,179
6
6
  pythonfmu3/default_experiment.py,sha256=FJ0l0FpU7pT4Pox2RiA2y-Cb_e7DE2XlbWKySRYQaVk,293
7
7
  pythonfmu3/deploy.py,sha256=eqFWVxZUkJCLvmq1-GuMNjn2j0VCGoaXPhRWrCk2Vxg,3741
8
8
  pythonfmu3/enums.py,sha256=ZmC6vGeBTGt7HarPQ4uYV10ezPsvIxAHH1ypjNq7G3E,729
9
- pythonfmu3/fmi3slave.py,sha256=JpN_zeaXpEIk2Hnnd7LvV2cs5IOD6x1GEAYdNy9TMWU,20844
9
+ pythonfmu3/fmi3slave.py,sha256=ur9KeinEO8q_VvyNuTy9Y-Cuj70Eaxz2rQrfzP8U1u0,20782
10
10
  pythonfmu3/logmsg.py,sha256=0wn11GLwq0LLWqyC2ktLRjQFWlpj07wWliZ8rUHx1gg,359
11
- pythonfmu3/modelexchange.py,sha256=pdC3gvr-vCXA8qvJ_urWplJZWEi1YKjMcNczme7GOOo,1884
12
- pythonfmu3/osutil.py,sha256=1qN6qudN4zCupZwc15pzp52WObkqi6jGy9a-MehNt9Q,656
11
+ pythonfmu3/modelexchange.py,sha256=pOQrl1xCxNfUcHqBqcIV_oyCogzJXWUg1T5bLtzoJCc,2600
12
+ pythonfmu3/osutil.py,sha256=hBGiyBbl5gLqMTGwj4eZH5TVFr3VUC6XKC_BbPZDVHs,1710
13
13
  pythonfmu3/unit.py,sha256=SjOaywb5lVQbAO_iLjc_7Ly3nYrmAvIW2_hAGt12UFU,1475
14
14
  pythonfmu3/variable_types.py,sha256=Q0D4wlGi3i3zE5UsmGJEpNh7SV_W8mn_8p_WIkwrLQA,2881
15
- pythonfmu3/variables.py,sha256=U4ESws0jx6QNlzvT9d7If2HEgp6ujpFi225GO9FgHaM,13500
15
+ pythonfmu3/variables.py,sha256=gDDHln5Qo5lx-VxDNWq_fh5KsszHnXXNS6ua8zx6vuQ,13613
16
16
  pythonfmu3/pythonfmu-export/.clang-format,sha256=ApbsHWYwilCXJ1iBux4nqOjLkaqgbGLsVrc_U3hX7WI,944
17
- pythonfmu3/pythonfmu-export/CMakeLists.txt,sha256=WLFfomT1rj9eWJMSXLtSbh5HLIu0DR5VCiYdCl8Cxrw,1854
17
+ pythonfmu3/pythonfmu-export/CMakeLists.txt,sha256=iFff9IqZikFUaQJ8EVUDt054J7AUNwHSPMIzPqq3Mw0,2971
18
18
  pythonfmu3/pythonfmu-export/build_unix.sh,sha256=I5RrF2O6y0hRG_SN4ExKN_CCFYaa2l-ngKzqmBXnHmA,73
19
19
  pythonfmu3/pythonfmu-export/build_win.sh,sha256=UzmAcWqFmwBu6mvYne2Dx3UK8iPwTtP4HpjICsjUaJA,97
20
- pythonfmu3/pythonfmu-export/src/CMakeLists.txt,sha256=fOVlV7hy9c0wx_Qp4K51tQaQ5xy9lL4qtyGl15ZXfGs,1208
21
- pythonfmu3/pythonfmu-export/src/cppfmu/cppfmu_common.hpp,sha256=cgrlZa5L-bbjZeVi0pmy4JKE5UJ2GszzuyOqTdRcBRQ,4353
20
+ pythonfmu3/pythonfmu-export/generate_shim.py,sha256=diAcxJkIswNe5XounhQDGc-1xzASfp9moc0szJ5F52Y,3112
21
+ pythonfmu3/pythonfmu-export/src/CMakeLists.txt,sha256=La1S4jxrc--Wp4cAEAbxFS-PHxsvjk5s9H-EE5NMPfY,2684
22
+ pythonfmu3/pythonfmu-export/src/cppfmu/cppfmu_common.hpp,sha256=BiuO9DRBVEgbcxL2tR-gQhfKaa5_To8ZlGL2Y49NZ1Y,4479
22
23
  pythonfmu3/pythonfmu-export/src/cppfmu/cppfmu_cs.cpp,sha256=explSkxXPayKgSMHxadQ8_Gd8IMYwSnOw5SBItTimuE,4093
23
24
  pythonfmu3/pythonfmu-export/src/cppfmu/cppfmu_cs.hpp,sha256=FO2ugz1-YFE8St2AO7k_cXtT7qM5ktrejv_SEKjDRf4,7734
24
- pythonfmu3/pythonfmu-export/src/cppfmu/fmi_functions.cpp,sha256=oetqW88dlZd75suBoScD0AcA4yktCBSaRfx0vHD_Lyw,30105
25
+ pythonfmu3/pythonfmu-export/src/cppfmu/fmi_functions.cpp,sha256=RGisgYCssAAlzTCkXBPWweNjqLJFPIEsqd3JZhLnWQo,30327
25
26
  pythonfmu3/pythonfmu-export/src/fmi/fmi3FunctionTypes.h,sha256=Tk1WY0nAYBGiOAQ8zVbmqRAfdQttITWsLba7udhBwG4,30050
26
27
  pythonfmu3/pythonfmu-export/src/fmi/fmi3Functions.h,sha256=NsHuclp20wcuUInYf-91UXZbljTeu2cPXENqNEORdgU,16262
27
28
  pythonfmu3/pythonfmu-export/src/fmi/fmi3PlatformTypes.h,sha256=ZCQLJgSbRGrMsBiQ4auaYCY4J3Hck6g3t1iZp5NEguw,4251
28
29
  pythonfmu3/pythonfmu-export/src/pythonfmu/IPyState.hpp,sha256=GLiOjhKLDVEICersnqVwezwEshbxfdh_cyMxBJGFbu8,456
29
- pythonfmu3/pythonfmu-export/src/pythonfmu/PySlaveInstance.cpp,sha256=3VTCxq4uXBJW8Ut6oMHHSUGO8OMtSSPoK2VsPGtuT3U,33908
30
- pythonfmu3/pythonfmu-export/src/pythonfmu/PySlaveInstance.hpp,sha256=59icfvAVdq5rFaeAE1PgEqpknyZHgSQMEBXnZz3efAw,5602
30
+ pythonfmu3/pythonfmu-export/src/pythonfmu/PySlaveInstance.cpp,sha256=AhM_SKLauyVbym9kwtxmChNh4Dk--sfxr4V-X-omSmo,34882
31
+ pythonfmu3/pythonfmu-export/src/pythonfmu/PySlaveInstance.hpp,sha256=vgNFVZ44sIc2LmfewEyXBL7lfXsRDLcnz_-C6Pts_Jk,6525
31
32
  pythonfmu3/pythonfmu-export/src/pythonfmu/PyState.hpp,sha256=CjFEIrZu8b1jxQAIgfI_o36hyItW_SdQ5VSkImf7JNs,2977
32
- pythonfmu3/resources/binaries/x86_64-linux/libpythonfmu-export.so,sha256=U_1xuoNMGN6i3xXX5ns6QkQeemB3V8tayCX_mLUFtYA,367944
33
- pythonfmu3/resources/binaries/x86_64-windows/pythonfmu-export.dll,sha256=SFtJHFYRgW8kp6faJ78HKCYOYaPQVXhtG6SUR3Zv5Iw,427008
33
+ pythonfmu3/pythonfmu-export/src/shim/fmi3_forwarders.cpp,sha256=ZH4dCTlYIVhNpG-oYw03X7t5nGAk4TujhqAInEIATpc,29651
34
+ pythonfmu3/pythonfmu-export/src/shim/shim_loader.cpp,sha256=PONdQlLD-smOMypq4TnuiTi1vvrvjDNgBqTIcoFbq-4,5846
35
+ pythonfmu3/pythonfmu-export/src/shim/shim_loader.hpp,sha256=sVvjbyiqOvrGQH5sTRMsO-IokifViemH7dc8PKEhais,956
36
+ pythonfmu3/resources/binaries/x86_64-linux/libpythonfmu-backend.so,sha256=4Mgz_tSyJQfu5kigjmMT6jquBk2BxXiK9p8yOzXZ5tg,343160
37
+ pythonfmu3/resources/binaries/x86_64-linux/libpythonfmu-export.so,sha256=M1rE4HF9QcwyjZVdX6GcrG_JvqxX2vJ1KkWR9AzhQjA,62032
38
+ pythonfmu3/resources/binaries/x86_64-windows/pythonfmu-export.dll,sha256=jbxBa1cVPNbQ_VB1wWjxq_W5gPqMuIXuO_qmKFCzNBU,445440
34
39
  pythonfmu3/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
40
  pythonfmu3/tests/conftest.py,sha256=B6XxTnBdeF_tEJ3w2DlfPKUfvlk-oULgIhQtXkgOJIc,171
36
- pythonfmu3/tests/test_builder.py,sha256=GrD4ziin3RLOe_36rBQCMnKrSkhc3IqnxE1a6kCFPok,6842
41
+ pythonfmu3/tests/fmi3_ctypes_driver.py,sha256=YR5574mSqeoC9FJo4z_WiDVQVHZtfX1M8ZOebKryuE8,6058
42
+ pythonfmu3/tests/test_builder.py,sha256=wdO1eEw_5920auhlsXnC6GmDaGewmwaUg_PaUVp-BUY,8784
37
43
  pythonfmu3/tests/test_deploy.py,sha256=JCDo-O93-izxrP9Q4K0njBcfZ-gAXYx9aZ4plgctz7k,1783
38
- pythonfmu3/tests/test_docs.py,sha256=VZZFUj2j35mBKvWATIUzJnWNDfiETsLdHZnRZGutOVM,3134
44
+ pythonfmu3/tests/test_docs.py,sha256=ZGJgvSh172lzt4Mf_RK_JszrISfRdhoPNTnVE_QSDB4,3667
39
45
  pythonfmu3/tests/test_fmi3slave.py,sha256=VSd3o3ejOcTG6TlnqxVK7YQc4QCKFTCQnpIgleaxJl4,4801
40
46
  pythonfmu3/tests/test_integration.py,sha256=0WdI02SmzGB2G5oBnPYgmUnvkKNQ_CpIyfdsUVWfDis,16194
41
47
  pythonfmu3/tests/test_logger.py,sha256=OcHQhxUtNBPH-0zdmheC4I9OWz1yu48W8MYDshNVkf8,5765
42
48
  pythonfmu3/tests/test_multiple_fmus.py,sha256=-sthCm2YUZiRkdfvpLQNgquPBForUKQ7HGqfFBdrRas,3942
43
- pythonfmu3/tests/test_variables.py,sha256=FL7eUCXH4RmH0rK0k6qXDnyDzthW_wAWJBHEmC-u8SI,10384
49
+ pythonfmu3/tests/test_non_python_host.py,sha256=EYZp_57-wvpEjt7-191S-MoWjqCLeFbg0_oerHLeoq8,2716
50
+ pythonfmu3/tests/test_osutil.py,sha256=k0LKNf40lWMDugNeAOpWV8-LEh6-Pvgv1mZNQO6SiGI,1000
51
+ pythonfmu3/tests/test_variables.py,sha256=1UrX9Lq1jKU3MD2eq9QkqFINCiVbtmdUvJIZQ_Ck1aU,10375
52
+ pythonfmu3/tests/test_wrapper_ctypes.py,sha256=siHu7o2uZEQql5qE_AhjDxr1c7vu8bLRKCjP9l6n2ok,1798
44
53
  pythonfmu3/tests/utils.py,sha256=WusWSUGoBPenZL-FAKQlzaHN2aYXiznZM2fwCjoldwY,301
45
54
  pythonfmu3/tests/data/csvdemo.csv,sha256=TiTUyzHyjQNXM4eXI33oJipc7w9_PJ8aMejRmwc52Xw,256
55
+ pythonfmu3/tests/data/fmi3_host.c,sha256=MsnweNeS-RxoNZNejmyqKx2JdcsBL4ay6oqtTv-a534,1651
46
56
  pythonfmu3/tests/data/hello.txt,sha256=wFNeS-K3n_2TKRMFQ2v4iTFOSj-uwF7P_Lt98xrZ5Ro,12
47
57
  pythonfmu3/tests/slaves/PythonSlaveWithException.py,sha256=lTTMMnD5Cu09HzA8G2masKyf-ntEMfJ0a3M8btdYVLo,644
48
58
  pythonfmu3/tests/slaves/localmodule.py,sha256=-q5Lmh2I88MG7nLTscms0n5xhHLkUDed1IuQ5wj49lo,79
@@ -52,9 +62,9 @@ pythonfmu3/tests/slaves/pythonslaveMXCS.py,sha256=P1aKY92obd-y9VGwDRin9fwmnAlSmd
52
62
  pythonfmu3/tests/slaves/pythonslave_arraytypes.py,sha256=l5DB0HI0CH_saLwoe1BvZUXgEzxGGYUHiaG3npt2vDk,2429
53
63
  pythonfmu3/tests/slaves/pythonslave_read_file.py,sha256=t2sDaZSr2veD91gdqCO9W9CN-AN3TyXABXXfV9Rt0Xs,791
54
64
  pythonfmu3/tests/slaves/slavewithdep.py,sha256=hHDFB0dw8wkHiGzxeAVbz9O5LR6ghsFeONgRFdiK_t0,812
55
- pythonfmu3-0.3.4.dist-info/licenses/LICENSE,sha256=RL2018BU2DKcTi8Eb4ODF-XF3wnr7SDKvMP5S49x4rQ,1188
56
- pythonfmu3-0.3.4.dist-info/METADATA,sha256=ydejh5qlluJ22V1R33dKaQQ_TR7-K2BBmHuDcq9lo0E,9375
57
- pythonfmu3-0.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
58
- pythonfmu3-0.3.4.dist-info/entry_points.txt,sha256=GgkWYs0DKGHLcijMEYZGkhkHOK2RVUpjGwvl1fwyDwQ,60
59
- pythonfmu3-0.3.4.dist-info/top_level.txt,sha256=6ne7bh_cME1hepxCx1BG8N5QVhVAufrp7LLok6vq7nE,11
60
- pythonfmu3-0.3.4.dist-info/RECORD,,
65
+ pythonfmu3-1.0.0.dist-info/licenses/LICENSE,sha256=RL2018BU2DKcTi8Eb4ODF-XF3wnr7SDKvMP5S49x4rQ,1188
66
+ pythonfmu3-1.0.0.dist-info/METADATA,sha256=uV45bbS-DcMG7T87jbIbsB-VSuNZrz7NC3RxY1A-H4k,11318
67
+ pythonfmu3-1.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
68
+ pythonfmu3-1.0.0.dist-info/entry_points.txt,sha256=GgkWYs0DKGHLcijMEYZGkhkHOK2RVUpjGwvl1fwyDwQ,60
69
+ pythonfmu3-1.0.0.dist-info/top_level.txt,sha256=6ne7bh_cME1hepxCx1BG8N5QVhVAufrp7LLok6vq7nE,11
70
+ pythonfmu3-1.0.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (84.2.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5