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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page