Skip to main content

GPS Tools - A collection of tools to work with GPS track files.

Project description

GPS Tools

CI Coverage Status PyPI - Version

Python 3.12+

GPS Tools - A collection of tools to work with GPS track files.

Example Usage

convert .fit file to .gpx file

gpst process track.fit -o track.gpx

Detailed Usage

$ gpst -h
usage: gpst [-h] [--version] tool ...

GPS Tools - A collection of tools to work with GPS track files.

positional arguments:
  tool        Available tools:
    plot      Plot data from the fit file.
    process   Process GPS track file and write results to a GPX file.

options:
  -h, --help  show this help message and exit
  --version   show program's version number and exit

gpst process

$ gpst process -h
usage: gpst process [-h] -o OUT_FILE [-y] IN_FILE

positional arguments:
  IN_FILE               Path to input file (.gpx or .fit).

options:
  -h, --help            show this help message and exit
  -o, --output OUT_FILE
                        Path to the output file.
  -y, --yes             Accept questions (e.g. overwrite existing output file).

gpst plot

Note: plot tool does not calculate additional fields, to use calculated fields with FIT file, convert with process tool to GPX first

$ gpst plot -h
usage: gpst plot [-h] -x X_AXIS -y Y_AXIS [Y_AXIS ...] [--y-right Y_AXIS_RIGHT [Y_AXIS_RIGHT ...]] [-t {line,scatter}] [--type-right {line,scatter}] [-o OUTPUT] FILE

positional arguments:
  FILE                  Path to input file (.gpx or .fit).

options:
  -h, --help            show this help message and exit
  -x, --x-axis X_AXIS   Field to use for the x-axis.
  -y, --y-axis Y_AXIS [Y_AXIS ...]
                        Field to use for the y-axis.
  --y-right Y_AXIS_RIGHT [Y_AXIS_RIGHT ...]
                        Field to use for the y-axis on the right side.
  -t, --type {line,scatter}
                        Plot type: line, scatter. Default is line.
  --type-right {line,scatter}
                        Plot type for right y-axis: line, scatter. Default is line.
  -o, --output OUTPUT   Path to the output image file. If not provided, shows the plot interactively.

Future Improvements

  • --fix-elevation option for process tool
  • configurable elevation smoothing window
  • configurable grade window

Limitations

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

gpst-0.3.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

gpst-0.3.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gpst-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8ff49b915e8aeacb842f1627b4dbc87ce9e8e806579d5ef9dedb6a47d3c2b231
MD5 e0995c7bc02f2b1961375263d2238456
BLAKE2b-256 aba1477c721cdc09340325cc8bd8789d8983380a5839f20fe95ee00204541142

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on neri14/gpst

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

File details

Details for the file gpst-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: gpst-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gpst-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 039b573aab7da1b83dca1b1acc050852e44f5848e661d0bb7628e614b2a605f9
MD5 3af16ec5e3f310d249cb0dd01c5eea3a
BLAKE2b-256 b680988a5fea954b0d39249367223ee0355e20f0f86078dd3397705798d748ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpst-0.3.0-py3-none-any.whl:

Publisher: ci.yml on neri14/gpst

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