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.5.1.tar.gz (16.9 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.5.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: frequenz_gridpool-0.5.1.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

Hashes for frequenz_gridpool-0.5.1.tar.gz
Algorithm Hash digest
SHA256 42c4722341a3fdd6b0fffede856858d4637ee6bf58a4f42f2339a719032ad94e
MD5 cbe78661f126531c4692cdf04f82a3f6
BLAKE2b-256 be63d671852ea9dcfa679b01c11235fb0134dcbd9d884d6785ba25aadd7e9fe0

See more details on using hashes here.

Provenance

The following attestation bundles were made for frequenz_gridpool-0.5.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.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for frequenz_gridpool-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e25543aaebe8e43867ae1e05df67d548cc175bb48c8cb73dda8ebd5b28424e1
MD5 b111503c2447d4eea66f2b222966aeb8
BLAKE2b-256 2486f7c2692e4d14e1985fb9a1a315eee8a0556acf43cf3800f0a78862ad5846

See more details on using hashes here.

Provenance

The following attestation bundles were made for frequenz_gridpool-0.5.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