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.1.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for python-awair-local-sensors-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a425497f615763cd3b783ca2107e504948f5bdc0536217e34dfbb05b34d5bc8f
MD5 6b1a1ff736016341b98668c6977444db
BLAKE2b-256 d9bcfb4747612ed44bdc00a4e558f12980e0b7cefc4512c7417137c165fc56cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_awair_local_sensors-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f0365da6dea3973d7daa5814f627bf4a017c4c135543b38cd8af3fbf02860e0
MD5 dc9d2109edb81b3f2dbfb953d729be15
BLAKE2b-256 26bb8acab6dabcda31a6e16e06ff7dd56fde96b612a94340f2888cc34ab901dd

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