Skip to main content

Python 3 library for working with gpsd

Project description

This is a library for polling gpsd in Python3

Installation

Install through pip:

$ pip3 install gpsd-py3

Usage

Just import it and poll the gps. Only a single gpsd server a time is supported:

import gpsd

# Connect to the local gpsd
gpsd.connect()

# Connect somewhere else
gpsd.connect(host="127.0.0.1", port=123456)

# Get gps position
packet = gpsd.get_current()

# See the inline docs for GpsResponse for the available data
print(packet.position())

More detailed documentation is available in the inline docstrings in the module. A list is also readable in DOCS.md (thanks @richteelbah for the detailed docs)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpsd-py3-0.2.0.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file gpsd-py3-0.2.0.tar.gz.

File metadata

  • Download URL: gpsd-py3-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gpsd-py3-0.2.0.tar.gz
Algorithm Hash digest
SHA256 29e7022b79f4c1a0cd9644a362033706c3d16fc8db20b91439564ead7148bc62
MD5 c053c3dbea30e009722b25dd7c299e92
BLAKE2b-256 1acf5eeec3de6d9ff48a7587548cac3e30be5c5b6dc810c686a41867d09a46f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page