High-level interface to grid pools for the Frequenz platform.
Project description
Frequenz Gridpool Library
Introduction
High-level interface to grid pools for the Frequenz platform.
TODO(cookiecutter): Improve the README file
Supported Platforms
The following platforms are officially supported (tested):
- Python: 3.11
- Operating System: Ubuntu Linux 20.04
- Architectures: amd64, arm64
CLI
This package ships the gridpool-cli command with two subcommands.
Setup
Set the Assets API credentials before running the CLI:
export ASSETS_API_URL="grpc://..."
export ASSETS_API_AUTH_KEY="..."
export ASSETS_API_SIGN_SECRET="..."
Print component formulas
gridpool-cli print-formulas <microgrid_id>
Optional prefix formatting:
gridpool-cli print-formulas <microgrid_id> --prefix "{microgrid_id}.{component}"
Render component graph
Rendering requires optional dependencies. Install with:
pip install frequenz-gridpool[render-graph]
gridpool-cli render-graph <microgrid_id>
To save without opening a window:
gridpool-cli render-graph <microgrid_id> --no-show --output component_graph.png
Contributing
If you want to know how to build this project and contribute to it, please check out the Contributing Guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file frequenz_gridpool-0.4.2.tar.gz.
File metadata
- Download URL: frequenz_gridpool-0.4.2.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6606c4af494649e5a1317624c6f0c4e6d996229fcd99dab8b8b983b0e7d84be3
|
|
| MD5 |
fa20040703121e8a7f5513249ff5edf2
|
|
| BLAKE2b-256 |
b2f3f8f64a1166e471120aef57b26bf34c81171da8c5ecdf5b99ef64274de822
|
Provenance
The following attestation bundles were made for frequenz_gridpool-0.4.2.tar.gz:
Publisher:
ci.yaml on frequenz-floss/frequenz-gridpool-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
frequenz_gridpool-0.4.2.tar.gz -
Subject digest:
6606c4af494649e5a1317624c6f0c4e6d996229fcd99dab8b8b983b0e7d84be3 - Sigstore transparency entry: 1450227178
- Sigstore integration time:
-
Permalink:
frequenz-floss/frequenz-gridpool-python@43cdb75c04a44a3391562796eab15819ea95a0d9 -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/frequenz-floss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@43cdb75c04a44a3391562796eab15819ea95a0d9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file frequenz_gridpool-0.4.2-py3-none-any.whl.
File metadata
- Download URL: frequenz_gridpool-0.4.2-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd96c628c39512d360ead09ecd7f4ec2394279b3dbd08ae4f474f687f17163ef
|
|
| MD5 |
a1ae786463cd8e28230000a45edd0916
|
|
| BLAKE2b-256 |
bce0e94fe67959b998bfaf0e3f06d1ffce4308b4554d0bc5af8fd2ed5e784050
|
Provenance
The following attestation bundles were made for frequenz_gridpool-0.4.2-py3-none-any.whl:
Publisher:
ci.yaml on frequenz-floss/frequenz-gridpool-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
frequenz_gridpool-0.4.2-py3-none-any.whl -
Subject digest:
fd96c628c39512d360ead09ecd7f4ec2394279b3dbd08ae4f474f687f17163ef - Sigstore transparency entry: 1450227471
- Sigstore integration time:
-
Permalink:
frequenz-floss/frequenz-gridpool-python@43cdb75c04a44a3391562796eab15819ea95a0d9 -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/frequenz-floss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@43cdb75c04a44a3391562796eab15819ea95a0d9 -
Trigger Event:
push
-
Statement type: