Skip to main content

pygslv

Native Python bindings for the GSLV power-system simulation engine.

python -m pip install ./src/pygslv
python -m build --wheel --outdir wheelhouse ./src/pygslv

Run these commands from the repository root after preparing dependencies with cmake -P libs/build_third_party.cmake. The package has its own pyproject.toml and CMake entry point; scikit-build-core replaces the custom setup.py. The package version is read from src/version.txt (major, minor and patch), including the vendored copy when building from a source archive. Source archives include shared native sources under _native/. From an extracted archive, prepare dependencies with cmake -P _native/libs/build_third_party.cmake before building the wheel.

Curtailment is provided by the separate py_map_utils distribution. This module does not contain its bindings or link the map_utils library.

Binding conventions

py::class_<DcLine, DcLinePtr, BranchParent>(
                m,
                "DcLine",
                py::module_local(),
                py::call_guard<py::gil_scoped_release>())

py::module_local() allows this class t be repeated in name in the whole python. this is extremely important.

py::call_guard<py::gil_scoped_release>() allows the future GIL-less python to operate this class in parallel.

Metadata

Release files for pygslv 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pygslv 1.0.1
File Interpreter ABI Platform Actions
pygslv-1.0.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for pygslv-1.0.1-cp310-cp310-macosx_11_0_arm64.whl

Release files / pygslv-1.0.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL pygslv-1.0.1-cp310-cp310-macosx_11_0_arm64.whl
Size 41.7 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
28f532159b0d429aa59962ca78607b0cd6f4bd6bccffeed87a781ade63896bd4
BLAKE2b-256 checksum
How to use checksums
a52905a76a167b8fa0612c0ee875f05ceaa9302c0848ed01097bf596e9271619
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Security for pygslv 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page