Skip to content

Commit 491467a

Browse files
committed
Added com utility functions to top level reexports
1 parent 3b885b5 commit 491467a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/geocompy/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@
7272
``geocompy.data.Coordinate``
7373
3D coordinate primitive.
7474
75+
``geocompy.communication.open_serial``
76+
Serial connection context manager function.
77+
78+
``geocompy.communication.get_logger``
79+
Utility function to create logger objects.
80+
7581
``geocompy.protocols.GeoComResponse``
7682
GeoCom protocol response container.
7783
@@ -118,6 +124,11 @@
118124
Coordinate as Coordinate
119125
)
120126

127+
from .communication import ( # noqa: F401
128+
open_serial as open_serial,
129+
get_logger as get_logger
130+
)
131+
121132
from .protocols import ( # noqa: F401
122133
GeoComResponse as GeoComResponse,
123134
GsiOnlineResponse as GsiOnlineResponse

0 commit comments

Comments
 (0)