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
python-awair-0.1.1.tar.gz
(13.3 kB
view hashes)
Built Distribution
Close
Hashes for python_awair-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 573fd9103ab96b0a37bd8406ba7bb8b8f9e1291ed6c91ed60ec092621e85cbbe |
|
MD5 | 50f3fdbcda0b38f73ca377028dd888bc |
|
BLAKE2b-256 | ed0d5b81834ddafd635c863d71a4d8638b2cafcadc8de189275f0c5e9d4f62a3 |