aiopoolside
Asynchronous Python client for Poolside pool controllers.
Speaks the controller's local protocol: an encrypted JSON-RPC transport over
websockets using the Noise Protocol Framework
(Noise_XX_25519_ChaChaPoly_SHA256), plus the plaintext pre-auth pairing
handshake used to enroll a new client.
Installation
pip install aiopoolside
Usage
import aiohttp
from aiopoolside import (
PoolsideClient,
async_await_pairing_result,
async_request_pairing,
generate_keypair,
)
async def main() -> None:
async with aiohttp.ClientSession() as session:
# One-time pairing: the user approves the request on the controller.
private_key, public_key = generate_keypair()
ws, result = await async_request_pairing(
session, "192.168.1.50", 8126, "My Client", public_key
)
approved = await async_await_pairing_result(ws)
client = PoolsideClient(
session=session,
host="192.168.1.50",
port=8126,
client_private_key=private_key,
controller_public_key=approved.controller_public_key,
controller_uuid=approved.controller_uuid,
)
await client.async_connect()
site, controls = await client.async_get_control_layout()
try:
for control in controls:
print(control.name, control.control_type)
finally:
await client.async_disconnect()
Development
uv sync
uv run pytest
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiopoolside-0.1.0.tar.gz.
File metadata
- Download URL: aiopoolside-0.1.0.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cfd76c1b4961bcf22c7fb2a50e99cc303110b312a50652370dc86e50f3840ab
|
|
| MD5 |
031c76be9d9e815390a745ebfa3a7c3e
|
|
| BLAKE2b-256 |
c68272f14452eb7b49b87bee81b776d70fb487ddbdda934fe8086738184954fc
|
Provenance
The following attestation bundles were made for aiopoolside-0.1.0.tar.gz:
Publisher:
release.yml on PoolsideStan/aiopoolside
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiopoolside-0.1.0.tar.gz -
Subject digest:
1cfd76c1b4961bcf22c7fb2a50e99cc303110b312a50652370dc86e50f3840ab - Sigstore transparency entry: 2341579355
- Sigstore integration time:
-
Permalink:
PoolsideStan/aiopoolside@9cb5f7c818e5462c79f561704b5079a50185c824 -
Branch / Tag:
refs/tags/beta - Owner: https://github.com/PoolsideStan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9cb5f7c818e5462c79f561704b5079a50185c824 -
Trigger Event:
release
-
Statement type:
File details
Details for the file aiopoolside-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aiopoolside-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bd3b6f3c4b6022c4c087dc264d08cb7895fc8b0790fafbb7463fcdeffc8cc95
|
|
| MD5 |
831008494b82bb06c37e43c2bb687731
|
|
| BLAKE2b-256 |
5b3683c2cde7c283c0373d373f3af43e45da2924018e78fdc4da1091e5aac51f
|
Provenance
The following attestation bundles were made for aiopoolside-0.1.0-py3-none-any.whl:
Publisher:
release.yml on PoolsideStan/aiopoolside
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiopoolside-0.1.0-py3-none-any.whl -
Subject digest:
2bd3b6f3c4b6022c4c087dc264d08cb7895fc8b0790fafbb7463fcdeffc8cc95 - Sigstore transparency entry: 2341579360
- Sigstore integration time:
-
Permalink:
PoolsideStan/aiopoolside@9cb5f7c818e5462c79f561704b5079a50185c824 -
Branch / Tag:
refs/tags/beta - Owner: https://github.com/PoolsideStan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9cb5f7c818e5462c79f561704b5079a50185c824 -
Trigger Event:
release
-
Statement type: