electrickiwi-api
Async Python client for the Electric Kiwi API
What it is and what it does
electrickiwi-api is an async Python client for the Electric Kiwi energy provider API, built on aiohttp. It wraps Electric Kiwi's HTTP endpoints to let you query and manage your account data—active sessions, connection details, and related state—without managing tokens or sessions yourself (you provide the auth implementation). The package is minimal by design: it handles the API calls but leaves authentication, session management, and token lifecycle to you, assuming you'll use an existing library or framework for those concerns.
The package requires Python 3.13 or later and depends only on aiohttp. You implement the AbstractAuth interface to supply credentials, then pass it to ElectricKiwiApi and make async calls. After retrieving your session, you must call set_active_session() to store your customer number and connection ID on the client instance, which subsequent API calls then use automatically.
Use it for:
- Query your Electric Kiwi account status and active session details in an async Python application.
- Automate energy usage monitoring or billing checks by calling the Electric Kiwi API from a scheduled task.
- Build a dashboard or reporting tool that pulls real-time account data from Electric Kiwi.
- Integrate Electric Kiwi account management into a larger async application or service.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Async Python client for the Electric Kiwi API that provides a simple interface to query and manage Electric Kiwi energy account data using basic authentication.
Yes, if you are an Electric Kiwi customer building an async Python application and need direct API access. The package is actively maintained, has low install friction, and requires only aiohttp. However, the GPL-3.0-only license means any derivative work must also be GPL-3.0-only, and the low star count and small user base suggest limited real-world validation. Verify that the API coverage meets your needs before committing.
Install
electrickiwi-api on PyPI
pip
pip install electrickiwi-apiuv
uv add electrickiwi-apipoetry
poetry add electrickiwi-apiInstalling electrickiwi-api
Before you install
Low install friction with a single async dependency (aiohttp). Actively maintained with recent releases; last commit 2026-08-04. Requires Python 3.13 or later.
License in practice
Licensed under GPL-3.0-only (copyleft). Any derivative work or distribution must also be released under GPL-3.0-only; proprietary use is not permitted.
Quickstart
pip install electrickiwi-api
from electrickiwi_api import ElectricKiwiApi
api = ElectricKiwiApi(auth_impl)
await api.get_active_session()
await api.set_active_session()
Requires Python 3.13 or later. You must implement AbstractAuth to handle authentication before passing it to ElectricKiwiApi.
Verify before relying
- Whether the package is suitable for production use given its low star count (1) and small download volume.
- Scope and completeness of the Electric Kiwi API coverage—which endpoints are supported.
- Whether session/token management responsibility on the caller is a practical constraint for typical use cases.
Package facts
| License | GPL-3.0-only (copyleft) |
| Python support | supports the current Python release (>=3.13) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — aiohttp |
| Maintenance | actively maintained — 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,646/month — #14,956 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: electrickiwi_api-0.10.1-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
energyzeroAsynchronous Python client for retrieving…
permissive · top 15,000 on PyPI
opowerFetches historical and forecasted energy usage…
permissive · top 15,000 on PyPI
amberelectricProvides a Python interface to the Amber…
permissive · top 15,000 on PyPI
p1monitorAsynchronous Python client library for reading…
permissive · top 15,000 on PyPI
forecast-solarAsynchronous Python client for fetching solar…
permissive · top 15,000 on PyPI
python-openevse-httpA Python library for asynchronous communication…
permissive · top 15,000 on PyPI
ovoenergyA Python client library for querying energy…
permissive · top 15,000 on PyPI
python-homewizard-energyAsyncio client library for communicating with…
permissive · top 15,000 on PyPI
energyquantifiedA Python client library for querying Energy…
permissive · top 15,000 on PyPI
ocppImplements the JSON version of the Open Charge…
permissive · top 15,000 on PyPI