Skip to content

DSS Python 0.10.2

Compare
Choose a tag to compare
@PMeira PMeira released this 01 Mar 17:38
· 341 commits to master since this release

This is an incremental release to address a couple of issues.

DSS Python has recently moved from https://github.com/PMeira/dss_python/ to https://github.com/dss-extensions/dss_python/

Relevant changes:

  • CtrlQueue: Add the missing function Push.
  • New DSS.AllowEditor: this new property controls if the external editor is called on DSS commands like Show. If set to False, the editor is not called, but other side effects should not be affected (e.g. files can be created).
  • The enum34 module was added as a dependency for Python < 3.5. This allowed us to make the dss.enums module better and will be the base for future development using enumerations.
  • The Options enumeration was split into several new enumerations (AutoAddTypes, CktModels, ControlModes, SolutionLoadModels, SolutionAlgorithms, RandomModes). It is now marked as deprecated for future removal.
  • LoadShapes are faster due to changes from DSS C-API.

Reminder: mixed-case handling

If you were using use_com_compat to allow mixed-cased attributes, it should work better than before. You may now use use_com_compat(warn=True) to warn when you use an attribute that wouldn't exist without calling use_com_compat. The intention is that the user should run their code to get a list of warnings, fix it, and then remove use_com_compat since it does have a small performance impact.

Installation

Install it with conda (available for Python versions 3.5, 3.6, 3.7 for all platforms, 2.7 also included for Windows):

conda install -c pmeira dss_python=0.10.2

Or using pip (Python versions: 2.7, 3.4, 3.5, 3.6, 3.7):

pip install dss_python==0.10.2