A Systemair-savecair API Wrapper
Project description
python-systemair-savecair
This is a simple package that expose the savecair API as a python module.
Installation
pip install python-systemair-savecair
Example
from systemair.savecair.client import SavecairClient
import asyncio
if __name__ == "__main__":
async def on_connect():
pass
async def on_disconnect():
pass
async def on_update():
pass
async def on_error():
pass
async def start(loop=asyncio.get_event_loop()):
x = SavecairClient(iam_id="xxxxx", password="xxxxx", loop=loop)
x.on_connect.append(on_connect)
x.on_disconnect.append(on_disconnect)
x.on_update.append(on_update)
x.on_error.append(on_error)
x.start()
loop = asyncio.get_event_loop()
loop.run_until_complete(start(loop))
loop.run_forever()
Version History
1.0.0 - Initial Version
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
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 python-systemair-savecair-2.0.1.tar.gz.
File metadata
- Download URL: python-systemair-savecair-2.0.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a7386f09e8336aba803f4162114b01b8aa5e3d29908caf3f37202c1b52c5963
|
|
| MD5 |
7efb1000f7904642d23b1404029428b3
|
|
| BLAKE2b-256 |
275300293d3fb358f26b9cd6a8a67ea8376069cdb73f3e78e4c3f0eca26d2ee3
|
File details
Details for the file python_systemair_savecair-2.0.1-py3-none-any.whl.
File metadata
- Download URL: python_systemair_savecair-2.0.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f004bc27553afa8929fbdb72b1a6e7b5f71bf1218f315fb0ebc756bb5335e98
|
|
| MD5 |
59ac5176c19f104cd62cc49e9b362c33
|
|
| BLAKE2b-256 |
e78c8db9da8d1109f25ddcf8ff99826f1e201e322d3066775238faeedf1be63b
|