Skip to content

dss-extensions/dss_python_backend

Builds PyPI Supports Linux Supports macOS Supports Microsoft Windows

DSS-Python: Backend

dss_python_backend provides low-level bindings for an implementation of EPRI's OpenDSS, using CFFI and our DSS C-API library and headers. It contains the native libraries (and DLLs) required by DSS-Python. This is considered an implementation detail.

This is not intended for direct usage, see DSS-Python, OpenDSSDirect.py, and AltDSS-Python instead!

After several years integrated into DSS-Python, this package was created in April 2023 to make the maintenance easier. See dss-extensions/DSS-Python#51

The Python package includes:

  • FastDSS modules for AltDSS/DSS C-API
  • CFFI modules for AltDSS/DSS C-API
  • CFFI modules for user-models (only the code for generator user-models is being compiled nowadays)
  • AltDSS/DSS C-API related libraries (AltDSS Engine, Oddie, Loader, etc.), DLLs, and headers

This module contains source-code licensed under BSD3 and LGPL3. See each file for SPDX comments.

Although this repository does not contain code from OpenDSS, the license is listed in OPENDSS_LICENSE for reference. The final packages do include software derived from OpenDSS code and other libraries, such as KLUSolveX and KLU (from SuiteSparse), both licensed under the LGPL. Since the files listed in this repository contain multiple licenses, SPDX identifiers are now included in the file headers.

Note: this package might be renamed in the future to reflect the new developments.

About

DSS C-API binaries and low-level bindings used by DSS-Python

Resources

License

BSD-3-Clause, LGPL-3.0 licenses found

Licenses found

BSD-3-Clause
LICENSE.BSD3
LGPL-3.0
LICENSE.LGPL3

Stars

Watchers

Forks

Contributors

Languages