Debian Codegraph @

debian/control

raw
1 Source: aioruuvigateway
2 Maintainer: Debian Python Team <[email protected]>
3 Uploaders: Edward Betts <[email protected]>
4 Section: python
5 Priority: optional
6 Build-Depends: debhelper-compat (= 13),
7 dh-sequence-python3,
8 pybuild-plugin-pyproject,
9 python3-all,
10 python3-bluetooth-data-tools <!nocheck>,
11 python3-hatchling,
12 python3-httpx <!nocheck>,
13 python3-pytest <!nocheck>,
14 python3-pytest-asyncio <!nocheck>,
15 python3-pytest-httpx <!nocheck>
16 Rules-Requires-Root: no
17 Standards-Version: 4.7.0
18 Homepage: https://github.com/akx/aioruuvigateway
19 Vcs-Browser: https://salsa.debian.org/python-team/packages/aioruuvigateway
20 Vcs-Git: https://salsa.debian.org/python-team/packages/aioruuvigateway.git
21
22 Package: python3-aioruuvigateway
23 Architecture: all
24 Depends: ${misc:Depends}, ${python3:Depends}
25 Description: asyncio-native library for Ruuvi Gateway data requests
26 An asyncio-native library designed to request data from a Ruuvi Gateway.
27 It supports bearer token authentication and allows for efficient data
28 retrieval and parsing.
29 .
30 The Ruuvi Gateway is a device that allows you to remotely access your Ruuvi
31 sensors from anywhere in the world.
32 .
33 This library offers both an API and a command-line interface for accessing and
34 displaying data from the Ruuvi Gateway.
35 .
36 Example usage:
37 .
38 from aioruuvigateway.api import get_gateway_history_data
39 .
40 async with httpx.AsyncClient() as client:
41 history = await get_gateway_history_data(
42 client=client,
43 host="192.168.1.249",
44 bearer_token="your_token_here",
45 )
46 print(history)
47 .
48 Command-line interface example:
49 .
50 python -m aioruuvigateway --host 192.168.1.249 --token bearbear --parse --json
51 .
52 This will output data from the gateway in JSON format, printing changed
53 information every 10 seconds.