PyPGLib
PyPGLib: A Python Package for Easy Access to Power Grid Lib Benchmark
Current Version: v0.0.2 (1 October 2024)
| Original Repository | Version in This Package |
|---|---|
| pglib-opf | v23.07 |
| pglib-uc | v19.08 |
| pglib-opf-hvdc | v23.09 |
Installation
pip install pypglib
Usage
Combined with matpower-pip:
from matpower import start_instance
from pypglib import pglib_opf_case14_ieee
m = start_instance()
m.runpf(pglib_opf_case14_ieee)
To loop to all test files:
import glob
import os
from pypglib import PATH_PYPGLIB
opf_dir = os.path.join(PATH_PYPGLIB, "opf")
for file_path in glob.glob(os.path.join(opf_dir, "**", "*.m"), recursive=True):
print(file_path)
Metadata
Release files for pypglib 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pypglib-0.0.3.tar.gz | 50.9 MB | Without provenance | Details for pypglib-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pypglib-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for pypglib-0.0.3-py3-none-any.whl |
Total release size: 104.0 MB
Release files / pypglib-0.0.3.tar.gz
| Download URL | pypglib-0.0.3.tar.gz |
|---|---|
| Size | 50.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3420480b5b055e05798dbebbc29624f552174537614812d407f6f891f48dee0d
|
|
BLAKE2b-256 checksum How to use checksums |
feb545e9f4f932accec3e07861b69a368fed39671554738d755621528e3e9522
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / pypglib-0.0.3-py3-none-any.whl
| Download URL | pypglib-0.0.3-py3-none-any.whl |
|---|---|
| Size | 53.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35965b77b6c2d93a63497ad3f88b7fc3ec687efc2ebf33680433f3a7cb57d1d8
|
|
BLAKE2b-256 checksum How to use checksums |
cc59c4c39180a78308751056fe02c8d4160e25c82255b514ef2e90e838b10150
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for pypglib 0.0.3
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.