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.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file asyncio_gpsd_client-0.2.2.tar.gz.

File metadata

  • Download URL: asyncio_gpsd_client-0.2.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for asyncio_gpsd_client-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ffc2c43dc4fcb290ac96dd3ade3b29eb20344ffcbb05438d33880cb95d7705f3
MD5 d7255bcb0b2719f19fbddea8be9276f9
BLAKE2b-256 7832020cc5d33fdd75df75a527bd19eb527738cd912cfcf45e95d08f1cb8100d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asyncio_gpsd_client-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 03cfb64fbbbe0efa23333064e064716c34145c3ff6f82c1b6abed873c8d800b4
MD5 f44ccce8938cc6f605df82ef6e5405e9
BLAKE2b-256 cbbf4124a88a4389c878e681a850c16c97c4d39ffcfd87509b65d28b9ad7978e

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