Skip to main content

GPX parser and renderer

Project description

gpxpr

GitHub Workflow Status GitHub Workflow Status PyPI GitHub

GPX file parser and renderer.

Installation

From PIP

pip install gpxpr

Manual

git clone https://github.com/Kruhlmann/gpxpr
cd gpxpr
make install

Usage

usage: gpxpr [-h] -r RENDERER -w WALKING -v RUNNING -a {time,distance} [-o DESTINATION] target

positional arguments:
  target                File to process

optional arguments:
  -h, --help            show this help message and exit
  -r RENDERER, --renderer RENDERER
                        Renderer to use [stdout, matplot]
  -w WALKING, --min-walking-speed WALKING
                        Slowest min/km where a runner is considered 'walking'
  -v RUNNING, --min-running-speed RUNNING
                        Slowest min/km when a runner is considered 'running'
  -a {time,distance}, --aggregation-value {time,distance}
                        Value to base the aggregation on
  -o DESTINATION, --output DESTINATION
                        Output location. Default is /dev/stdout

Developing

Windows

The recommended way to develop on Windows is the make use of the Windows Subsystem for Linux and then referring to the UNIX-like section.

UNIX-like

Auto-running tests on code change is achievable with entr

find src tests -name "*.py" | entr make test

Similarly for linting on file change:

find src tests -name "*.py" | entr make lint

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

gpxpr-0.0.3.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

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

gpxpr-0.0.3-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file gpxpr-0.0.3.tar.gz.

File metadata

  • Download URL: gpxpr-0.0.3.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gpxpr-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d9198c8b8e3f956b0bb1ff0868aadff7ca539b8cf5733a271000724a931af640
MD5 7630277ae1eaa7281a544cf1048cc44f
BLAKE2b-256 c042e8f210a380d2ecafc6fcec76692d3cf4fc8760022c06ce4f330cc2be25d1

See more details on using hashes here.

File details

Details for the file gpxpr-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: gpxpr-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gpxpr-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cb3690cd2c5eb8c36990e6d69ab15515aba9f29cb49f6ba4ec582b544c91ddbd
MD5 5f81ed649bd2b2afb7b80169840edabf
BLAKE2b-256 ceb94aa9371de9f8125f9a50233c139bb4945de96a7ab37389a5699c86dbd464

See more details on using hashes here.

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