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.1.0b1.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

python_frank_energie-6.1.0b1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file python_frank_energie-6.1.0b1.tar.gz.

File metadata

  • Download URL: python_frank_energie-6.1.0b1.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/6.5.0-1021-azure

File hashes

Hashes for python_frank_energie-6.1.0b1.tar.gz
Algorithm Hash digest
SHA256 87087641c5d1e3a22a8a5fef159c795f6685e6f4134cdd5b7c0c4fc1a675792c
MD5 3b6ccd8bd10a408e9c73d614d305372b
BLAKE2b-256 9a10eaaadc42609c4370d43655931b3750aada3a3049bbcf84095450158ecc12

See more details on using hashes here.

Provenance

File details

Details for the file python_frank_energie-6.1.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_frank_energie-6.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ac67c4133ba47bd7fbbae4b49de55c6e1815188885f663b0a03f87dbcf69088
MD5 d5ec67c1ddbed623cde1cd9299eef357
BLAKE2b-256 4cb9fd5d62123d5ff5af456ccf70bc1f290fb0de052538314b90d84c0c87e919

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page