You will only see the public (readable) repos here until you login.
Joachim M. Giæver 349346b68e Added delta location to determine the distance moved, pluss bugs 2 years ago
..
README.md 79f4c2504b Added example code 2 years ago
__init__.py 79f4c2504b Added example code 2 years ago
gps.py 349346b68e Added delta location to determine the distance moved, pluss bugs 2 years ago

README.md

GPS

Usage example, from in a folder hierachy:

./main.py ./gps

main.py

from gps import gps

if __name__ == "__main__":

    gps = gps.Data()

    while True:
        if gps.new_location():
            location = gps.get_location()