This module encapsulates detection and interaction with serial GPS modules.
It is purely implemented in Python, working OS independently.
List GPS modules:
import pyserialgps
modules = list(pyserialgps.list_modules())
print(modules)
You may use one of the returned GPS module objects or you may open a module from name and read data:
module = GpsModule("COM9")
with module:
while True:
print(module.read())