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-5.0.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

python_frank_energie-5.0.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_frank_energie-5.0.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.11 Linux/5.15.0-1038-azure

File hashes

Hashes for python_frank_energie-5.0.0.tar.gz
Algorithm Hash digest
SHA256 69f90e361db5711be65e713ed67530987b9e90d8b4cdd03e3ba7c2ebc896b71f
MD5 7d91819471f10199c2c887272cd9f4bd
BLAKE2b-256 19929b057f541614b9618159d96e9feac78d8cda0ed366ad5c916a5962e027a2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for python_frank_energie-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f944b9006390e88a3b522af898670a67b711e873d15a4b594f54eb67e8442ae9
MD5 3f09171500aa243c880e33b6f5816113
BLAKE2b-256 d39c5f5f9914f591c8e34a092844b4c2468adc1b53a160b0760dc322126e506c

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