Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #15859 > unrolled thread
| Started by | Edward Betts <edward@4angle.com> |
|---|---|
| First post | 2024-05-22 17:40 +0200 |
| Last post | 2024-05-22 17:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.maint.python
Bug#1071635: ITP: aioruuvigateway -- asyncio-native library for Ruuvi Gateway data requests Edward Betts <edward@4angle.com> - 2024-05-22 17:40 +0200
| From | Edward Betts <edward@4angle.com> |
|---|---|
| Date | 2024-05-22 17:40 +0200 |
| Subject | Bug#1071635: ITP: aioruuvigateway -- asyncio-native library for Ruuvi Gateway data requests |
| Message-ID | <IGWem-f5LI-9@gated-at.bofh.it> |
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org
* Package name : aioruuvigateway
Version : 0.1.0
Upstream Author : Aarni Koskela <akx@iki.fi>
* URL : https://github.com/akx/aioruuvigateway#readme
* License : MIT
Programming Lang: Python
Description : asyncio-native library for Ruuvi Gateway data requests
An asyncio-native library designed to request data from a Ruuvi Gateway.
It supports bearer token authentication and allows for efficient data
retrieval and parsing.
.
The Ruuvi Gateway is a device that allows you to remotely access your Ruuvi
sensors from anywhere in the world.
.
This library offers both an API and a command-line interface for accessing and
displaying data from the Ruuvi Gateway.
.
Example usage:
.
from aioruuvigateway.api import get_gateway_history_data
async with httpx.AsyncClient() as client:
history = await get_gateway_history_data(
client=client,
host="192.168.1.249",
bearer_token="your_token_here",
)
print(history)
Command-line interface example:
.
python -m aioruuvigateway --host 192.168.1.249 --token bearbear --parse --json
.
This will output data from the gateway in JSON format, printing changed
information every 10 seconds.
I plan to maintain this package as part of the Python team.
Back to top | Article view | linux.debian.maint.python
csiph-web