[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1071635: ITP: aioruuvigateway -- asyncio-native library for Ruuvi Gateway data requests



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.


Reply to: