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 installto install dev dependencies - Run
poetry shellto drop into a virtualenv - Run
poetry run tox(or justtoxif you're in a virtualenv) to test- Run
poetry run tox -e lint(or justtox -e lintif 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
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-awair-local-sensors-0.2.1.tar.gz.
File metadata
- Download URL: python-awair-local-sensors-0.2.1.tar.gz
- Upload date:
- Size: 14.2 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 |
a425497f615763cd3b783ca2107e504948f5bdc0536217e34dfbb05b34d5bc8f
|
|
| MD5 |
6b1a1ff736016341b98668c6977444db
|
|
| BLAKE2b-256 |
d9bcfb4747612ed44bdc00a4e558f12980e0b7cefc4512c7417137c165fc56cb
|
File details
Details for the file python_awair_local_sensors-0.2.1-py3-none-any.whl.
File metadata
- Download URL: python_awair_local_sensors-0.2.1-py3-none-any.whl
- Upload date:
- Size: 17.5 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 |
1f0365da6dea3973d7daa5814f627bf4a017c4c135543b38cd8af3fbf02860e0
|
|
| MD5 |
dc9d2109edb81b3f2dbfb953d729be15
|
|
| BLAKE2b-256 |
26bb8acab6dabcda31a6e16e06ff7dd56fde96b612a94340f2888cc34ab901dd
|