README
This package is based on a fork of gps3 (https://github.com/wadda/gps3) which hasn't been updated in a while.
It includes some bug fixes for GST class handling.
Only agps versions exist in this package.
To use:
from agps3threaded import AGPS3mechanism
Then engage the thread triumvirate,
agps_thread = AGPS3mechanism() # This instantiate the mechanism, as I believe it's called. agps_thread.stream_data() # Stream the data from host, port, devicepath. agps_thread.run_thread() # Iterate stream as a thread with throttle control for empty look ups.
Four lines of code that lets you connect, communicate and control most of what you expect a gpsd to do.
while True: # All data is available via instantiated thread data_stream attributes. Confur
# lines #140-ff of the client /usr/local/lib/python3.5/dist-packages/gps3/agps.py
print('----------------')
print( agps_thread.data_stream.time)
print('Lat:{} '.format(agps_thread.data_stream.lat))
print('Lon:{} '.format(agps_thread.data_stream.lon))
print('Speed:{} '.format(agps_thread.data_stream.speed))
print('Course:{}'.format(agps_thread.data_stream.track))
print('----------------')
sleep(60) # Sleep, or do other things for as long as you like.
Without arguments between the parentheses, the threaded client defaults to host='127.0.01', port=2947, gpsd_protocol='json', and usnap=0.2, for a respectable default of 2/10th of a second micro nap after each empty socket lookup.
The rest of the project is in DESCRIPTION.rst, or documented in the files themselves.
Metadata
Release files for agps3 0.36.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| agps3-0.36.1.tar.gz | 17.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agps3-0.36.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 34.9 kB
Release files / agps3-0.36.1.tar.gz
| Download URL | agps3-0.36.1.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9915807927ed79c11fa6d0d13aec91326f632951c78c324166b147143d7f134e
|
|
BLAKE2b-256 checksum How to use checksums |
f58bc06c2bc7c6bfe21a85f2a9d5ef517fe7a70eaff5eb60be8f33dbea85ad2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / agps3-0.36.1-py2.py3-none-any.whl
| Download URL | agps3-0.36.1-py2.py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8e15ed2952f46c6d6163b5c10790f8f5b32e052f89239f501b1cc2b2bbcba66b
|
|
BLAKE2b-256 checksum How to use checksums |
fcd64afe6f173ee50f2872f13beab65c37212ce73f3d936c80581b08745b4a5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for agps3 0.36.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.