Skip to main content

Asycio GPSd Client

Fork of very well done asyncio-gpsd-client that was unfortunately quite out of date. I just cleaned it up a bit and updated dependencies.

GPSd is an unified interface to GNSS modules in Linux. GPSd publishes its data on localhost:2367. Upon connection, it sends initial data (Devices, Watch, Version messages) that are available in GpsdClient instance. The client then provides an async iterator that reports the runtime messages TPV (location update) and Sky (status update). For details about messages, refer to messages.py.

Install

pip install gpsd-client-async

Usage

import asyncio

import gpsd_client_async as gpsd

async def main():
    async with gpsd.GpsdClient() as client:
        async for message in client:
            print(message)  # TPV or Sky message

asyncio.run(main())

Debugging

The client reports messages to "agpsd" logger.

Metadata

Release files for gpsd-client-async 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gpsd-client-async 2.0.0
File Size Uploaded
gpsd_client_async-2.0.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gpsd-client-async 2.0.0
File Interpreter ABI Platform
gpsd_client_async-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / gpsd_client_async-2.0.0.tar.gz

Download URL gpsd_client_async-2.0.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4925752d72504fc689e3dda4f407c042af178932161de8c9d341a1cd8761428f
BLAKE2b-256 checksum
How to use checksums
374205368e8dad98b70034d170208f1c096e951419c9228f3b3c175add4c044b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / gpsd_client_async-2.0.0-py3-none-any.whl

Download URL gpsd_client_async-2.0.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f231c47e97c40e89882832879146e80438be8105aa559dace2d083aa97271fd2
BLAKE2b-256 checksum
How to use checksums
182c4eb93022438951943d97da6bff08c86ea6daf00563fa00e51bd4183e79bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page