Pythonfmu

Latest version: v0.6.3

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

Scan your dependencies

Page 1 of 2

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)

0.5.0

Features:

- Add `--version` option to CLI 74
- Find the class name using Regex 76
- Embed `pythonfmu` in the FMU 78

Fixes:

- GIL not released when Python code is throwing an exception 68
- Memory leak with `GetString` 70

0.4.0

New features:
- Add rollback feature 41
- Add reset feature 47
- Support state serialization 55

Fixes:
- FMUs generated did not handle multi-threaded applications 61
- FMU could not be used with FMPy 61

Misc:
- Add notebook example on binder 60

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.