Coverage for src/signalk_cli/__init__.py: 100%
8 statements
« prev ^ index » next coverage.py v7.16.1, created at 2026-10-06 00:17 +0000
« prev ^ index » next coverage.py v7.16.1, created at 2026-10-06 00:17 +0000
1"""signalk_cli — Python clients and CLI for SignalK APIs.
3The clients are importable from here or from their packages:
5```python
6from signalk_cli import HistoryClient, StreamClient, TimeRange
7```
8"""
10import logging
12from ._arrow import ArrowTable
13from .errors import SignalKError
14from .history import HistoryClient, HistoryResult, TimeRange
15from .net import discover_host
16from .stream import DeltaMessage, DeltaRow, DeltaStream, StreamClient
18# Library convention: stay silent unless the application configures logging.
19# The CLI attaches its own stderr handler per command.
20logging.getLogger("signalk_cli").addHandler(logging.NullHandler())
22__all__ = [
23 "ArrowTable",
24 "DeltaMessage",
25 "DeltaRow",
26 "DeltaStream",
27 "HistoryClient",
28 "HistoryResult",
29 "SignalKError",
30 "StreamClient",
31 "TimeRange",
32 "discover_host",
33]