Skip to main content

High-level interface to grid pools for the Frequenz platform.

Project description

Frequenz Gridpool Library

Build Status PyPI Package Docs

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frequenz_gridpool-0.3.1.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frequenz_gridpool-0.3.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file frequenz_gridpool-0.3.1.tar.gz.

File metadata

  • Download URL: frequenz_gridpool-0.3.1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for frequenz_gridpool-0.3.1.tar.gz
Algorithm Hash digest
SHA256 753762288215331fd3965690a8e7e0c717b18e8209c610c1f226a9762431c908
MD5 724c2a4f70a343c2c3cadc2d5ac2768f
BLAKE2b-256 1ade5ee22fa87fc550e59187e77b884e554d208e3ed56be5f7afa32f9ba6a838

See more details on using hashes here.

Provenance

The following attestation bundles were made for frequenz_gridpool-0.3.1.tar.gz:

Publisher: ci.yaml on frequenz-floss/frequenz-gridpool-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file frequenz_gridpool-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for frequenz_gridpool-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1492c98317ec0ed92dec2322949afceab84bb9e83aa2098085e4f09599ea4cc
MD5 22255c7e8c32a80b3b3429df28dc72b7
BLAKE2b-256 af43b6d06894f039a2f537ed0899bb0c25f721986411c1557756db61569970f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for frequenz_gridpool-0.3.1-py3-none-any.whl:

Publisher: ci.yaml on frequenz-floss/frequenz-gridpool-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page