asyncio client for the Awair GraphQL and Local APIs
Project description
python_awair
This is an async library which accesses portions of the Awair REST API. It exists primarily to support the Home Assistant integration, but is considered active and supported by its author. PRs welcome!
Features:
- Object-oriented approach to querying and handling data
- Supports the "user" portion of the API.
- Possible to list devices, user information, and to query for a variety of sensor data over various timeframes.
Not yet supported:
- Device API usage
- Organization API
- Device management (such as changing the display of a device)
Dive into our documentation to get started!
Development
- We manage dependencies and builds via poetry
- We use pytest and tox to test
- A variety of linters are available and CI enforces them
After installing and configuring poetry:
- Run
poetry install
to install dev dependencies - Run
poetry shell
to drop into a virtualenv - Run
poetry run tox
(or justtox
if you're in a virtualenv) to test- Run
poetry run tox -e lint
(or justtox -e lint
if you're in a virtualenv) to run linters.
- Run
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
python-awair-0.2.4.tar.gz
(14.3 kB
view details)
Built Distribution
File details
Details for the file python-awair-0.2.4.tar.gz
.
File metadata
- Download URL: python-awair-0.2.4.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b48eb04585191531a943a8da5fca7744805ea71ec3187f6470befc36a206bdb6 |
|
MD5 | 7b20fd62d2f880ee1cc2765e58e4cf3c |
|
BLAKE2b-256 | 498c5616dc8a7ba7405374cc90ff49aae228f97126fecd7a878dee07d890cb3e |
File details
Details for the file python_awair-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: python_awair-0.2.4-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 853113460fd10ef343da05c744180c4d3ad53f7f326d077936d708d3cdee71d5 |
|
MD5 | 30674e6eca1e30e352d7f4aef83dd388 |
|
BLAKE2b-256 | 47c60d341d0f99dea128f111e3b4eb2aedde804aeda195fe22fc14e79c234815 |