Skip to main content

Python bindings for geotrace-sdk - read and write .gtd navigation data files

Project description

geotrace-sdk

Python bindings for the GeoTrace SDK: read and write .gtd GNSS/GPS navigation data files.

.gtd is the open binary recording format used by GeoTrace, a desktop application for visualizing GPS/GNSS navigation data: position traces on a map, satellite signal quality, event markers, and filtering.

MIT licensed. Requires Python 3.12+.

Install

uv add geotrace-sdk

Or

pip install geotrace-sdk

Distributed as abi3 wheels (one cp312-abi3 wheel per platform, forward-compatible with newer CPython) for Linux (manylinux and musllinux), macOS, and Windows. A platform without a matching wheel builds from the source distribution, which requires a Rust toolchain.

Write a track

from datetime import datetime, timezone
from geotrace_sdk import NavFileBuilder, NavFix

builder = NavFileBuilder()
builder.add(NavFix(
    lat=51.5074,
    lon=-0.1278,
    gps_time=datetime(2024, 1, 15, 9, 0, 0, tzinfo=timezone.utc),
    heading=90.0,
))
builder.finish().write_to_file("track.gtd")

add() also accepts satellite reports, map annotations, and event markers.

Read a file

from geotrace_sdk import NavFile

nav_file = NavFile.open("track.gtd")
print(len(nav_file.points), "points,", len(nav_file.markers), "markers")
for point in nav_file.points:
    print(point.lat, point.lon, point.gps_time)

Examples

Runnable examples are in sdk/python/geotrace-py/examples:

Full list and per-platform notes: docs/sdk/python.md.

Links

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

geotrace_sdk-0.3.0.tar.gz (109.2 kB view details)

Uploaded Source

Built Distributions

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

geotrace_sdk-0.3.0-cp312-abi3-win_arm64.whl (556.4 kB view details)

Uploaded CPython 3.12+Windows ARM64

geotrace_sdk-0.3.0-cp312-abi3-win_amd64.whl (583.0 kB view details)

Uploaded CPython 3.12+Windows x86-64

geotrace_sdk-0.3.0-cp312-abi3-win32.whl (562.6 kB view details)

Uploaded CPython 3.12+Windows x86

geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_x86_64.whl (858.8 kB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_i686.whl (894.2 kB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ i686

geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_armv7l.whl (912.2 kB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARMv7l

geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_aarch64.whl (792.4 kB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (641.9 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ x86-64

geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (687.3 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ s390x

geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (716.4 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ ppc64le

geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (635.1 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ ARMv7l

geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (614.2 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ ARM64

geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_5_i686.manylinux1_i686.whl (695.3 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.5+ i686

geotrace_sdk-0.3.0-cp312-abi3-macosx_11_0_arm64.whl (589.3 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

geotrace_sdk-0.3.0-cp312-abi3-macosx_10_12_x86_64.whl (623.9 kB view details)

Uploaded CPython 3.12+macOS 10.12+ x86-64

File details

Details for the file geotrace_sdk-0.3.0.tar.gz.

File metadata

  • Download URL: geotrace_sdk-0.3.0.tar.gz
  • Upload date:
  • Size: 109.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for geotrace_sdk-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d45962f2ded85b988c12abd23d8897be7653b7405a0d7414fa6c8f261be68b23
MD5 5fc9a08797b6556f01c6ba6e732bcaea
BLAKE2b-256 c00b78edd3f8b8bef2a3a8ed180d4781b184cf801f19b83f3f5d6a489104e82e

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0.tar.gz:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-win_arm64.whl.

File metadata

  • Download URL: geotrace_sdk-0.3.0-cp312-abi3-win_arm64.whl
  • Upload date:
  • Size: 556.4 kB
  • Tags: CPython 3.12+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ddfeb197b6bf107960af4b9669a1c467e798db963c802bb9282808e08713c4b7
MD5 e4e1fa47bd95bc9b5b8b7262b0f1d711
BLAKE2b-256 8347515bca02cc641a263bd74aa9ba98f79026a88cc76a10c482d743e6f40813

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-win_arm64.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: geotrace_sdk-0.3.0-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 583.0 kB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a664c0cb4a9b946e48b833a09089b74b0f1ee7251c223bd2e07a730a95590cdc
MD5 38865f0f9f398f7e5365d2255ba09841
BLAKE2b-256 c740f204505f01ac74d7189c5a3e622da5fd6a2c9d2f9994640594b85b94d763

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-win_amd64.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-win32.whl.

File metadata

  • Download URL: geotrace_sdk-0.3.0-cp312-abi3-win32.whl
  • Upload date:
  • Size: 562.6 kB
  • Tags: CPython 3.12+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-win32.whl
Algorithm Hash digest
SHA256 3bd07c717a183985f6f037c48f407b5a52fc80faa6e1e47e613da1919fc1649f
MD5 cde72cbd7938a0b18531ad5b12e83d8f
BLAKE2b-256 a97996d2488aca848fd64b86dedcc6a35246ec262b6488406309b3d57087861b

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-win32.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ad30f51988c04e02df861a42edb8cb22617c1033b5c2b255081347087857532b
MD5 b19abe5557a9b1bbd0000faf49e433d6
BLAKE2b-256 1955f9dbe6e85f7cd6803020d0e580ed42248cfd9ac390065dfe96a9c3dd7031

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_x86_64.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 8c1587f528e5332d086f47a56fd3d8ff9fe0bd1b06fa3a659a773799922032c0
MD5 e45efe8f53c65edd0d95fcfe2befa8c0
BLAKE2b-256 14dd4123d28aed3e535d0b2c5c383463b03a3999f45988f04b13767db4f98231

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_i686.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 7670dabccfc19da405f8c62f8141579146b75d3ce6c3557d5c59e6096710671e
MD5 05d1f22e73f213cd132a2ebc93120c33
BLAKE2b-256 92a085aa4a65927b252571b24d6fdb235ddc18f776d8bf3b2d379347ea6fa979

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_armv7l.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2192a01b315316fffe08405118e02d1f67ebdb579d223b7aaf582148cacaadaa
MD5 a00bfea05c8785e0d83a814d83068655
BLAKE2b-256 b1ee31d22eda65fa0ca79374d4c1eaf17c6fca51c23268d8d6189291241ae653

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-musllinux_1_2_aarch64.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 05ddc67e96b3f8e7750e047df2fa984ddec43c356ed6a5d6b3b8b2947c851bca
MD5 ec74bf42d1a62f1732081342fd47d293
BLAKE2b-256 6e034c408bde20597d39e54327e53e705c36169552374684c2e37d576c95cf38

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 d5bcc1d7fd31eff8eb2e4130d4eab7458b436c55ccdff7cc1a0d56a4f8bf7963
MD5 7d1b9a4b8c7883056e42c759a409fe58
BLAKE2b-256 6265b9eca662a20900b58be7a6830e84ed71eb3de41583bcbe7aae9d6855874d

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 596bb50be943dbce3bf42211fa9215a513b77cfc42da0899db058b7e8a6fc434
MD5 833de12cdfcbb70c8e66dca9417397bf
BLAKE2b-256 bf8a19a2ee3c6427c0704ffdc36ac843531bd37cba632f7661c60e9be14548fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f29b958d5fd2c58bdaa71b12e42bb02d81ddce8a52f53bf8d067f025f1dffa68
MD5 4551d369e5778dbfc8fb4e54846baa8e
BLAKE2b-256 2b665a3a2588f5f0b881ce59625ec2ff9c160bbf4828b072313eb725583941a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d10bdf155af1bc1beba88c698b13d040e23e97f3cd6276331e1523b0ea2835ce
MD5 11bf06002ad809ee5c45016d54e39fed
BLAKE2b-256 651244587a979057abdf52b445d6ede29038115f81e68669b564ebb977ac4a66

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 5db008365e9a6144c2f55a7040d07333e0257ff13740796da1b910e6d092d1c5
MD5 2b49bd7813311fe29245fa6a3ab7904d
BLAKE2b-256 94f0d9b974b652922aceae40e91280c45c326cd94027b157581c321d7fb50e2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-manylinux_2_5_i686.manylinux1_i686.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2d0663e23e0d68e7321a02a18a728901f75a2c1f99b5831e50b07a60aebbcd0
MD5 edcaec5e0d97db728d8620d3c5df78d4
BLAKE2b-256 63bea378115dd50fb6cb0f060397d27f19f8693ce92101cbe8219d44dca97a77

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotrace_sdk-0.3.0-cp312-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for geotrace_sdk-0.3.0-cp312-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 594fed0effde5ba0679d7748180fbb9c2ffbbedb2e0779644eada38639ff1414
MD5 cb1b48c7d0870702678d2881e8797fe9
BLAKE2b-256 ab6d3a0961912720b45a9cfcc512df536f0fe422524a99276db254db79e14d11

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotrace_sdk-0.3.0-cp312-abi3-macosx_10_12_x86_64.whl:

Publisher: release-sdk.yml on CramBL/geotrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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