Skip to main content

A Python3, async interface to the Hilo API

Project description

python-hilo

GitHub Release License

Build Status Open in Dev Containers

python-hilo (aka pyhilo) is a Python 3.11, asyncio-driven interface to the unofficial Hilo API from Hydro Quebec. This is meant to be integrated into Home Assistant but can also be used as a standalone library.

Home assistant integration is available here

TODO

  • Type everything: almost done, got a few "type: ignore" to fix

Later?

  • Full docstrings and doc generation
  • Unit testing
  • Functional testing

If anyone wants to contribute, feel free to submit a PR. If you'd like to sync up first, you can fire me an email me@dvd.dev

Setting up development environment

The easiest way to start, is by opening a CodeSpace here on GitHub, or by using the Dev Container feature of Visual Studio Code.

Open in Dev Containers

This Python project is fully managed using the Poetry dependency manager. But also relies on the use of NodeJS for certain checks during development.

You need at least:

  • Python 3.11+
  • Poetry
  • NodeJS 20+ (including NPM)

To install all packages, including all development requirements:

npm install
poetry install

As this repository uses the pre-commit framework, all changes are linted and tested with each commit. You can run all checks and tests manually, using the following command:

poetry run pre-commit run --all-files

To run just the Python tests:

poetry run pytest

Authors & contributors

The original setup of this repository is by David Vallée Delisle.

Credits to @frenck for the base container configuration. The license of python-wled can be found in third_party/python-wled/LICENSE.

For a full list of all authors and contributors, check the contributor's page.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_hilo-2026.3.2.tar.gz (37.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_hilo-2026.3.2-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file python_hilo-2026.3.2.tar.gz.

File metadata

  • Download URL: python_hilo-2026.3.2.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for python_hilo-2026.3.2.tar.gz
Algorithm Hash digest
SHA256 a360e2ca5afc0d7ef65aa5c8874343629ca4ff1f19e7fcddc3a8479f26a0ff04
MD5 8157fabfdb5f644bc70340c107e53110
BLAKE2b-256 e33abf4c7bf4e01a1d73ac1b5c9acc3e1ecd1776c415a0150732e76c8b095254

See more details on using hashes here.

File details

Details for the file python_hilo-2026.3.2-py3-none-any.whl.

File metadata

  • Download URL: python_hilo-2026.3.2-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for python_hilo-2026.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e3502aa062b38904d475301174afd0be68cd05448e99cc0b4725a42e50374fc9
MD5 2994e00d6fd360650a0b62894be1589b
BLAKE2b-256 57f58ba28f70aa70502d059ad1128e6e4461b44f428fd4e3f33dc4d6b432c1d1

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