Skip to main content

asyncio client for the Awair GraphQL API

Project description

python_awair

Latest PyPI version CI codecov Documentation Status

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 just tox if you're in a virtualenv) to test
    • Run poetry run tox -e lint (or just tox -e lint if you're in a virtualenv) to run linters.

Project details


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-local-sensors-0.2.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file python-awair-local-sensors-0.2.0.tar.gz.

File metadata

File hashes

Hashes for python-awair-local-sensors-0.2.0.tar.gz
Algorithm Hash digest
SHA256 02daf74a825db6d4b00ddd4bbea0ce3f69f7e0960474ebb457db8f1d7e8e66dc
MD5 0549cfa5fe64e5dabe5f54dbc01d2403
BLAKE2b-256 c6c83937916fe9a26b15beef10cc0cbd9867b0f6ff5674bcb8044227db0eb157

See more details on using hashes here.

File details

Details for the file python_awair_local_sensors-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_awair_local_sensors-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4af847394362aea132f37d8674c7b4c3e365daf8f1f112821a24115a161dcf2
MD5 55cd002e80cdfef2f128e8f0c7e6ed72
BLAKE2b-256 1a56423620333dd52343faa2fa1ef60b4f1722844e0997c7fdfc22ddf0b76775

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page