Skip to main content

Asynchronous Python client for the Frank Energie

Project description

Release Run Frank Energie Query Dependabot Updates

python-frank-energie

Asyncio package to communicate with Frank Energie. This package is created to be used with https://github.com/HiDiHo01/home-assistant-frank_energie. The python-frank-energie repository is a well-structured, modern Python library. It effectively leverages asynchronous programming, dataclasses for robust data modeling, and Poetry for packaging. The extensive test suite with mocked GraphQL responses and the automated CI/CD pipeline demonstrate a high standard of software engineering, making it a reliable foundation for the Home Assistant integration it serves.

Disclaimer

This package is not developed, nor supported by Frank Energie.

Installation

python3 -m pip install python-frank-energie

Contributing

This repo uses Python Poetry to easily run CI/CD scripts using a local environment. In combination with pre-commet you can make sure the PR passes the checks the first time.

  1. Clone and enter this repo
  2. Install poetry using pip install poetry
  3. Install the environment using poetry install

When making a commit, pre-commit runs to check, format and test the code. If everything passes you can push the changes via a Pull request. There GitHub Actions will check if you did everything right and it will notify me. Feel free to ask me to review your PR.

Some nice or useful commands:

  • poetry shell -> Run commands like pytest test with the correct environment, no need to prefix commands with poetry run ...
  • (poetry run) pytest tests -> Runs the unit tests
  • (poetry run) pre-commit run --all-files -> Run all pre-commit steps on all files.
  • git commit -n ... -> The -n flag allows you to ignore the pre-commit result and make a commit, useful when you want to commit drafts. All commits form a PR will be squashed so you can do this any time.

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

python_frank_energie-2026.3.22.tar.gz (49.7 kB view details)

Uploaded Source

Built Distribution

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

python_frank_energie-2026.3.22-py3-none-any.whl (51.2 kB view details)

Uploaded Python 3

File details

Details for the file python_frank_energie-2026.3.22.tar.gz.

File metadata

  • Download URL: python_frank_energie-2026.3.22.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for python_frank_energie-2026.3.22.tar.gz
Algorithm Hash digest
SHA256 65a2b22b3df27c4ae3b2afe6176cc2df7e079e6085cb63bb304af7e916404133
MD5 b88f4bda79699e9890f432f25e509886
BLAKE2b-256 5e35604dd46ac2c723aca44cf67863c9b63ba5897c44544aad22fb430a106e7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_frank_energie-2026.3.22.tar.gz:

Publisher: publish-to-pypi.yml on HiDiHo01/python-frank-energie

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

File details

Details for the file python_frank_energie-2026.3.22-py3-none-any.whl.

File metadata

File hashes

Hashes for python_frank_energie-2026.3.22-py3-none-any.whl
Algorithm Hash digest
SHA256 d7c64cc42d6af88122f9d4499c43d58c0c28a11a1c71a814024b7ac16b61db97
MD5 20ff691d0b980f1ac8f8d46a5f6530c4
BLAKE2b-256 d22c01ef964241e126144b72575ad84cc29c1a62ce8a083b8c4ee7d531c1f415

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_frank_energie-2026.3.22-py3-none-any.whl:

Publisher: publish-to-pypi.yml on HiDiHo01/python-frank-energie

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