aioAseko package
An async Python wrapper for the Aseko Pool Live API.
The library supports Aseko ASIN AQUA devices. The Aseko ASIN Pool is partially supported. The library is currently limited to a selection of features available on aseko.cloud.
Installation
pip install aioaseko
Usage
Import
from aioaseko import Aseko
Create an Aseko instance and login
api = Aseko("aioAseko@example.com", "passw0rd")
await api.login()
Example
from asyncio import run
from aioaseko import Aseko, InvalidCredentials, Unit
async def main():
api = Aseko("aioAseko@example.com", "passw0rd")
try:
await api.login()
except InvalidCredentials:
print("The username or password is wrong.")
return
units = await api.get_units()
for unit in units:
if isinstance(unit, Unit):
print(f"Unit: {unit.name} ({unit.serial_number})")
print(f"Air temperature: {unit.air_temperature}")
print(f"Water flow to probes: {unit.water_flow_to_probes}")
run(main())
Metadata
Release files for aioaseko 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aioaseko-1.0.0.tar.gz | 21.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aioaseko-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.9 kB
Release files / aioaseko-1.0.0.tar.gz
| Download URL | aioaseko-1.0.0.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
210dbb715a46a0cad25e2f7b5d5f38c44b2090618b2f46be97c36198df82283f
|
|
BLAKE2b-256 checksum How to use checksums |
34ac6d54b888648dc67a330245b0efc75cd1600bbcd70da4ea2f6f71c6f3ce7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / aioaseko-1.0.0-py3-none-any.whl
| Download URL | aioaseko-1.0.0-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c29d6e096fe009b8cae55920fd4e61817e828ca41f0ec86f0efeceac6e300d6a
|
|
BLAKE2b-256 checksum How to use checksums |
c60e2178df3958efcf6c707fcc7a355c2b7e1972a19ad8413532941ad1f14bc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|