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.
- 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.
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.9.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_frank_energie-2026.9.20.tar.gz | 61.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_frank_energie-2026.9.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 125.3 kB
Release files / python_frank_energie-2026.9.20.tar.gz
| Download URL | python_frank_energie-2026.9.20.tar.gz |
|---|---|
| Size | 61.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59ac062238371699d09037ef60af6d6d0af3ee31454e5df3b13d15330b2354f7
|
|
BLAKE2b-256 checksum How to use checksums |
638d5b149b5ae741c22b4535d113236193e8d13f0e81290da230d524393e1214
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 20, 2026.
Transparency logRelease files / python_frank_energie-2026.9.20-py3-none-any.whl
| Download URL | python_frank_energie-2026.9.20-py3-none-any.whl |
|---|---|
| Size | 63.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf6df26a4c3f2fea0b9c47872b9dcba71bc76b55991b0a99400fac7289d007b2
|
|
BLAKE2b-256 checksum How to use checksums |
378657cb058ee7eb1eaa72775e23669089d96903082fa202a260483c91aa48ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 20, 2026.
Transparency log