dss-extensions / DSS-Python

Native, "direct" Python bindings (interface) and misc tools for a custom implementation of OpenDSS (EPRI Distribution System Simulator). Based on CFFI, DSS C-API, aiming for full COM API-level compatibility on Windows, Linux and MacOS, while providing various extensions.
https://dss-extensions.org/DSS-Python/
BSD 3-Clause "New" or "Revised" License
58 stars 4 forks source link

Reorganize common code and backend #58

Open PMeira opened 5 months ago

PMeira commented 5 months ago

Since the introduction of DSS contexts, it makes more sense to call CffiApiUtil something based on DSSContext.

The CFFI backend was succesfully split into the dss_python_backend package a while ago. Recently, we moved the Obj/Alt API code to https://github.com/dss-extensions/AltDSS-Python

With this, some of the common code was moved from DSS-Python to dss_python_backend. It might better to create a separate package, but waiting some time to see if we are wasting too much time handling the common code at dss_python_backend, and there is also #2 which might shake things.