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
For the site-level Smart HVAC feature status and distinct device-oriented API methods, see Smart HVAC API. Smart PV inventory and status.
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.
- Clone and enter this repo
- Install poetry using
pip install poetry - 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.
Use Ruff for Python source formatting and linting (Python 3.12+):
poetry run ruff format .
poetry run ruff format --check .
poetry run ruff check .
The separate blacken-docs hook is retained for Python examples in documentation.
Some nice or useful commands:
poetry shell-> Run commands likepytest testwith the correct environment, no need to prefix commands withpoetry 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-nflag 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.
Metadata
Release files for python-frank-energie 2026.11.21
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 |
|---|---|---|---|---|
| python_frank_energie-2026.11.21.tar.gz | 80.9 kB | With provenance | Details for python_frank_energie-2026.11.21.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_frank_energie-2026.11.21-py3-none-any.whl | Python 3 | none | any | Details for python_frank_energie-2026.11.21-py3-none-any.whl |
Total release size: 165.2 kB
Release files / python_frank_energie-2026.11.21.tar.gz
| Download URL | python_frank_energie-2026.11.21.tar.gz |
|---|---|
| Size | 80.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34b34d915bf658103782fa1ed668512d539bd19e8591b326bc1865e20cad8315
|
|
BLAKE2b-256 checksum How to use checksums |
dd17e1ff8af3652aad81c38a0b8f2bb19c31d3a509b70ddabc9f428f445b834e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / python_frank_energie-2026.11.21-py3-none-any.whl
| Download URL | python_frank_energie-2026.11.21-py3-none-any.whl |
|---|---|
| Size | 84.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0093448baf5871bb972a1100f661ba684f847dd7bcbd2c091487fc9a5dfae4e
|
|
BLAKE2b-256 checksum How to use checksums |
954ea4418126bc0deb985c7313a5b82d6bfa0240857273db853d71f9af30b79d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for python-frank-energie 2026.11.21
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for python_frank_energie-2026.11.21.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA 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.