modelx v0.22.0 (29 July 2023)#

This release introduces the following enhancements, bug fixes and changes.

To update modelx, run the following command:

>>> pip install modelx --upgrade

If you’re using Anaconda, use the conda command instead:

>>> conda update modelx

Enhancements#

Introduction of the Export feature#

This release introduce an experimental export feature that allows users to export modelx models as self-contained Python packages. The feature is available as an API function or a method on the Model class:

They both function the same.

An option to report local variables in error trace#

get_traceback() now has an option show_locals, to indicate whether the tracebacks should report the values of local variables. It is set to False by default.

Bug Fixes#

  • Fix error when writing multiple models with the same files (GH81)

  • Retries writing to a zip archive on a network location (GH82)

  • Fix error with OpenPyXL 3.1+

  • Fix error in trace_locals

Changes#