Skip to main content

asyncio compatible gpsd client

Project description

Asycio Gpsd Client

Install

pip install asyncio-gpsd-client

Usage

import asyncio

from asyncio_gpsd_client import GpsdClient

HOST = "127.0.0.1"
PORT = 2947


async def main():
    async with GpsdClient(HOST, PORT) as client:
        print(await client.poll())  # Get gpsd POLL response
        while True:
            print(await client.get_result())  # Get gpsd TPV responses


asyncio.run(main())

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

asyncio-gpsd-client-0.2.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

asyncio_gpsd_client-0.2.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file asyncio-gpsd-client-0.2.1.tar.gz.

File metadata

  • Download URL: asyncio-gpsd-client-0.2.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-1019-azure

File hashes

Hashes for asyncio-gpsd-client-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e9afb150448c5f2cad613881ee281e31c47f68ae52b76c3f3fe9eb0b7d24a8c4
MD5 a6e1a4cbb19e7329d00b61e775e58d15
BLAKE2b-256 80367b0a46459b5fbdb66fe57cf7bbb3a90e457fea4b16e794c9908bf0d53c4b

See more details on using hashes here.

File details

Details for the file asyncio_gpsd_client-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for asyncio_gpsd_client-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09ed918ec259d2452c07991ecc31242e976b3e5b866047dab5cc8e54da255f39
MD5 0d921586626a2359bb6edf6257484fc8
BLAKE2b-256 4861fcfcf4aa5d010483b9a561e1174b9816720805f9d30c73d609d66f4fe8a4

See more details on using hashes here.

Supported by

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