Skip to main content

Asynchronous Python client for the Frank Energie

Project description

python-frank-energie

Asyncio package to communicate with Frank Energie. This package is created to be used with https://github.com/bajansen/home-assistant-frank_energie.

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-6.0.0.tar.gz (12.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-6.0.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_frank_energie-6.0.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1019-azure

File hashes

Hashes for python_frank_energie-6.0.0.tar.gz
Algorithm Hash digest
SHA256 3c7a5c7e56b84e2f95124905b8251a453229555c796cf9b8e1c42b0477dee825
MD5 9e4f6adf68ce271dd2dd11ece0376e83
BLAKE2b-256 b589797e07f22e44d557fab7b44f1aadaa9cd90cb4a7ecc5a85794a1041dfb72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_frank_energie-6.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1019-azure

File hashes

Hashes for python_frank_energie-6.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 389594c7a314bccec05f42e21a4ffd37b8abf68aa5a2f61c2d0a63d90305e4e6
MD5 d7e27fe41bf5abf5c411f114e1dd8021
BLAKE2b-256 a0e84214b1ab3bd39d7d3daa7f2e274cbb1a32a4e47dded8a9e9c2cad02ccc51

See more details on using hashes here.

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