Pythonfmu

Latest version: v0.6.5

Safety actively analyzes 682471 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6.5

- Fix issue with the binaries caused by changes in the pipelines.
- Remove binary check as it breaks the FMU when simulating.

0.6.4

What's Changed
* Check for FMU export binary.
* The Py_Initialize and Py_Finalize is now called from the same thread.
* The logger callback function forwards the fmi2ComponentEnvironment.
* Fix the crash that occurs on the second attempt to instantiate the FMU.
* Bump CI download/upload dependencies.
* FEATURE: Support inheritance from Fmi2Slave.

0.6.3

* Fix osx/python linking 187
* Avoid using deprecated PyEval_InitThread 185
* Fix path issue on Windows 176
* Fix default_experiment 158
* Fix uuid generation 174

0.6.2

Minor release

* Add default experiment
* Set `canNotUseMemoryManagementFunctions` to True. No reason for users to modify this value
* Avoid calling `getattr` when custom getter is supplied. This avoids treating the supplied name as a field by default.

0.6.1

Minor release

* Change callback logging so that it does need to load a native library.
This solves the issue of instantiating multiple FMUs (with logging enabled)
* Fix broken CLI usage of `buildcsv`

0.6.0

New features:

- Convert CSV file to FMU: 94 98 102
- Add tool to ease the deployment of dependencies by the end user: 95
- CLI uses now subcommands: `pythonfmu {build, buildcsv, deploy}` 103
- Support nested variables: 80
- Support logging message through the FMU logger: 86
- Support log categories (91). By default it is derived from the log message status. But you could define and use your own categories (see [pythonfmu/tests/test_fmi2slave.py::test_Fmi2Slave_customized_log_categories](https://github.com/NTNU-IHB/PythonFMU/blob/97335f4a93655136aec39149d89925b5f5423f37/pythonfmu/tests/test_fmi2slave.py#L129))

API changes:

- CLI use now subcommands: `pythonfmu {build, buildcsv, deploy}` 103
- `Fmi2Slave.get_value` and `Fmi2Slave.set_value` has been removed
- Customized `getter` and `setter` can be provided through keyword argument of `ScalarVariable` (see 80)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.