Skip to main content

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 uses uv for dependency management and ruff for formatting and linting.

You need at least:

  • Python 3.11+
  • uv

To install all packages, including all development requirements:

uv sync --group dev --group test

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:

uv run pre-commit run --all-files

To run just the Python tests:

uv 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.

Metadata

Release files for python-hilo 2026.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-hilo 2026.10.1
File Size Uploaded
python_hilo-2026.10.1.tar.gz 170.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-hilo 2026.10.1
File Interpreter ABI Platform
python_hilo-2026.10.1-py3-none-any.whl Python 3 none any Details

Total release size: 210.4 kB

Release files / python_hilo-2026.10.1.tar.gz

Download URL python_hilo-2026.10.1.tar.gz
Size 170.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a4f625874449c99220b435a497fd3694259c9555d4a0f128d24812111e928adf
BLAKE2b-256 checksum
How to use checksums
23e40d43bb9bc2804c3e475dfba843580c0567ee6ef95eb00b8bfc9f15c62aa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Release files / python_hilo-2026.10.1-py3-none-any.whl

Download URL python_hilo-2026.10.1-py3-none-any.whl
Size 39.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
218043d7a37c541686f9491acdf1c2e40f6868fb5b8310cb20d04f974145ba6e
BLAKE2b-256 checksum
How to use checksums
222f693f5ed2d07ff0e04ea0155157bfeb238c39c5d6dc82786b9fc76a727916
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Release history Release notifications | RSS feed

This release

2026.10.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page