Metadata-Version: 2.1
Name: rideology2gpx
Version: 1.1
Summary: A simple command line program to transform log files obtained with the Kawasaki Rideology App into GPX files.
Author: Juan S. Bokser
Author-email: juan.bokser@gmail.com
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: beautifulsoup4>=4.12.2
Requires-Dist: bs4>=0.0.1
Requires-Dist: lxml>=4.9.2
Requires-Dist: click>=8.1.3
Requires-Dist: soupsieve>=2.4.1
Requires-Dist: tabulate>=0.9.0
Requires-Dist: plotly>=5.18.0
Requires-Dist: pandas>=2.0.3
Requires-Dist: kaleido>=0.2.1

# **$ rideology2gpx**

A simple command line program to transform log files obtained with the *Kawasaki Rideology App* into `.gpx` files.

![](https://raw.githubusercontent.com/jbokser/rideology2gpx/main/images/logo.jpg)

## Refrences

* [Source code in Github](https://github.com/jbokser/rideology2gpx/tree/v1.1)
* [Package from Python package index (PyPI)](https://pypi.org/project/rideology2gpx)



## Requirements

* Python 3.6+



## Installation



### From the Python package index (PyPI)

Run:

```shell
$ pip3 install rideology2gpx
```



### From source

Download from [Github](https://github.com/jbokser/rideology2gpx/tree/v1.1)

Standing inside the folder, run:

```shell
$ pip3 install -r requirements.txt
```

For install the dependencies and then run:

```shell
$ pip3 install .
```



## Usage

```shell
user@host:~/tmp/rideology2gpx$ rideology2gpx --help
Usage: rideology2gpx [OPTIONS] [CSV_FILE] [OUTPUT_DIR]

  A simple command line program to transform log files obtained with the
  Kawasaki Rideology App into GPX files.

  CSV_FILE - File obtained with the Kawasaki Rideology App.
  OUTPUT_DIR - Optional output directory where the files will be created.

  For more info: https://github.com/jbokser/rideology2gpx
  Author: Juan S. Bokser <juan.bokser@gmail.com> 
  Version: 1.1b3

Options:
  -v, --version                   Show version and exit.
  -d, --date [%Y-%m-%d %H:%M:%S]  Starting datetime for the track in the GPX
                                  files.
  -g, --graph                     Make graphs and md report.
  -s, --starting-chop X           Cut the first X kilometres.  [0<=x<=10]
  -e, --ending-chop X             Cut the last X kilometres.  [0<=x<=10]
  -a, --acceleration MIN_SPEED MAX_SPEED
                                  Filters waypoints to only what is included
                                  between the speeds.
  -h, --help                      Show this message and exit.
user@host:~/tmp/rideology2gpx$ rideology2gpx example/ride.csv -d "1979-08-09 09:25:00"
Make file 'example/ride.gpx'... Ok
Make file 'example/ride_gear_shifts.gpx'... Ok
Make file 'example/ride_speed_shifts.gpx'... Ok
Make file 'example/ride_report.txt'... Ok

From gas station to next gas station
==== === ======= == ==== === =======
    
Max engine speed:  3846 rpm
Max wheel speed:   60 km/h
Max water temp:    101 ℃
Avg idle speed:    1202 rpm
Avg speed:         30 km/h
Total time:        0:07:49
Distance:          1.87 km
Starting point:    S034°30′29.52″ E058°28′46.70″
Ending point:      S034°29′53.65″ E058°29′02.93″

Max for each gear
--- --- ---- ----

  Gear    rpm    km/h
     1   3137      29
     2   3611      45
     3   3784      58
     4   3846      60

user@host:~/tmp/rideology2gpx$ 
```



## Why? (The rationale behind this)

Mainly used by [me](https://github.com/jbokser) to get info from my bike.



## Obtain the log files from *Kawasaki Rideology App*



 ![](https://raw.githubusercontent.com/jbokser/rideology2gpx/main/images/cellphone.jpg)



## Author

[Juan S. Bokser](https://github.com/jbokser) <juan.bokser@gmail.com>
