Skip to main content

python_awair

Latest PyPI version CI codecov Documentation Status

This is an async library which accesses portions of the Awair REST API, and it exists primarily to support the Home Assistant integration for Awair devices.

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!

Status

This project could be considered in "maintenance mode". It meets the needs of the Home Assistant integration, and there are no current plans to add new features. Large PRs adding significant new features or drastically changing the library are unlikely to be accepted without prior discussion (please open an issue first).

However, bug fixes and updates to support python and/or Home Assistant compatibility are welcomed and accepted! I intend to keep passively maintaining the library, and please open an issue if there is an unaddressed need.

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.

Metadata

Release files for python-awair 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-awair 0.2.5
File Size Uploaded
python_awair-0.2.5.tar.gz 14.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-awair 0.2.5
File Interpreter ABI Platform
python_awair-0.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 31.3 kB

Release files / python_awair-0.2.5.tar.gz

Download URL python_awair-0.2.5.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
96f54754db6a3c35047bf4539cd76777fb9924d55f677d3d6cec36e2d82dc77f
BLAKE2b-256 checksum
How to use checksums
86d7f43bcbfb3bd204cf1bff03b10dc40dec8c83fed11c6edcbb1f2e1daddcea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.7 Darwin/24.6.0

Release files / python_awair-0.2.5-py3-none-any.whl

Download URL python_awair-0.2.5-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86b08b957834f7dc0617794be27888368a14f0cdcf57b384bbda0aa27c1c18e1
BLAKE2b-256 checksum
How to use checksums
62998f189e7b3042328f667f65573d5afff8b7d47963f46419f2108a3b0972d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.7 Darwin/24.6.0

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.0.4

1 release file

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page