gps-data-codec
Python library, implemented in Rust, that include base functions for encoding and decoding series of gps data (timestamp, latitude, longitude) using a algorithm similar to the one seen on encoded polylines.
Install
pip install gps-data-codec
Usage
>> from gps_data_codec import decode, encode
>> encode([(1628667993, 4.56543, -110.536214)]) # [(unix epoch in seconds, latitude, longitude), ...]
'qtaxyT}tzZhbtaT'
>> decode('qtaxyT}tzZhbtaT')
[(1628667993, 4.56543, -110.53621)]
Warning:
- timestamps are rounded to the closest integer value.
- latitudes and longitudes values are rounded to the 5th decimal precision when encoding.
- The series of timestamped locations must be sorted by timestamps in increasing order before encoding.
Metadata
Release files for gps-data-codec 1.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| gps_data_codec-1.8.2-cp314-cp314-manylinux_2_28_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.28+ x86-64 | Details for gps_data_codec-1.8.2-cp314-cp314-manylinux_2_28_x86_64.whl |
| gps_data_codec-1.8.2-cp313-cp313-manylinux_2_28_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.28+ x86-64 | Details for gps_data_codec-1.8.2-cp313-cp313-manylinux_2_28_x86_64.whl |
| gps_data_codec-1.8.2-cp312-cp312-manylinux_2_28_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.28+ x86-64 | Details for gps_data_codec-1.8.2-cp312-cp312-manylinux_2_28_x86_64.whl |
| gps_data_codec-1.8.2-cp311-cp311-manylinux_2_28_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.28+ x86-64 | Details for gps_data_codec-1.8.2-cp311-cp311-manylinux_2_28_x86_64.whl |
| gps_data_codec-1.8.2-cp310-cp310-manylinux_2_28_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.28+ x86-64 | Details for gps_data_codec-1.8.2-cp310-cp310-manylinux_2_28_x86_64.whl |
Total release size: 1.2 MB
Release files / gps_data_codec-1.8.2-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | gps_data_codec-1.8.2-cp314-cp314-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 245.9 kB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2dfaf94585a2bef091b7a1aeb3ffd33fa3f82fc63a2361d780692cd2f6102efb
|
|
BLAKE2b-256 checksum How to use checksums |
84b72e09121acf9fcd4bfe480d44a9b11806436db501ee885c2560cc27678dec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / gps_data_codec-1.8.2-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | gps_data_codec-1.8.2-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 245.9 kB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c6db0c9c4ad63c4a58e07af08b8592bb1018718014a1737ddc0b81196f4bc201
|
|
BLAKE2b-256 checksum How to use checksums |
e952b03e1ea37f68a0607745032fb8eaa38284945346cff1605189ef1a03ec64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / gps_data_codec-1.8.2-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | gps_data_codec-1.8.2-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 245.8 kB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
155b0cc8864019240532fb9c66009c114e1df55e2809db4173dd7b7e7530a267
|
|
BLAKE2b-256 checksum How to use checksums |
a5368457741ab12ef295c704125448f3779fb5d4db2f26a93cc4585a71ca7489
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / gps_data_codec-1.8.2-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | gps_data_codec-1.8.2-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 249.0 kB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
7a6f20705eea7e77e58762293b4dee1d1b4e9aace5f78d30ff25df0ea242cbba
|
|
BLAKE2b-256 checksum How to use checksums |
44820beff706ed139cdc8633d4b299ecc8fbc252100e775434134611a4d71862
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / gps_data_codec-1.8.2-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | gps_data_codec-1.8.2-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 249.0 kB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
235be7b6bf85da4e9110ce61dfa1de6666c5c0736fc6ffcc8ed88e8b2faa19dc
|
|
BLAKE2b-256 checksum How to use checksums |
26a9c09bff31a6a08a267719099897d2145bb00b681aded910649076704319e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for gps-data-codec 1.8.2
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.