Skip to main content

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.

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)

Table of built distributions (wheels) for gps-data-codec 1.8.2
File
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
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
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
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
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

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

Release history Release notifications | RSS feed

This release

1.8.2 This release

5 release files

1.6.6

4 release files

1.6.5

4 release files

1.6.4

3 release files

1.6.3

3 release files

1.6.2

3 release files

1.6.1

3 release files

1.6.0

3 release files

1.5.9

3 release files

1.5.8

3 release files

1.5.7

3 release files

1.5.6

1 release file

1.5.5

1 release file

1.5.4

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