asyncio client for the Awair GraphQL API
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
Built Distribution
File details
Details for the file python-awair-local-sensors-0.2.0.tar.gz
.
File metadata
- Download URL: python-awair-local-sensors-0.2.0.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02daf74a825db6d4b00ddd4bbea0ce3f69f7e0960474ebb457db8f1d7e8e66dc |
|
MD5 | 0549cfa5fe64e5dabe5f54dbc01d2403 |
|
BLAKE2b-256 | c6c83937916fe9a26b15beef10cc0cbd9867b0f6ff5674bcb8044227db0eb157 |
File details
Details for the file python_awair_local_sensors-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: python_awair_local_sensors-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4af847394362aea132f37d8674c7b4c3e365daf8f1f112821a24115a161dcf2 |
|
MD5 | 55cd002e80cdfef2f128e8f0c7e6ed72 |
|
BLAKE2b-256 | 1a56423620333dd52343faa2fa1ef60b4f1722844e0997c7fdfc22ddf0b76775 |