From 3c665428d7f06c2488273c04831ff6cd2196f46c Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 1 Sep 2022 14:37:58 +0300 Subject: [PATCH 1/2] Link directly to images --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2c8f2c2..2e6773b 100644 --- a/README.md +++ b/README.md @@ -9,37 +9,37 @@ This is a port of the [R strava package](https://github.com/marcusvolz/strava) t A plot of activities as small multiples. The concept behind this plot was originally inspired by [Sisu](https://twitter.com/madewithsisu). -![facets](https://github.com/marcusvolz/strava_py/blob/main/plots/facets001.png "Facets, showing activity outlines") +![facets](https://raw.githubusercontent.com/marcusvolz/strava_py/main/plots/facets001.png "Facets, showing activity outlines") ### Map A map of activities viewed in plan. -![map](https://github.com/marcusvolz/strava_py/blob/main/plots/map001.png "A map of activities viewed in plan") +![map](https://raw.githubusercontent.com/marcusvolz/strava_py/main/plots/map001.png "A map of activities viewed in plan") ### Elevations A plot of activity elevation profiles as small multiples. -![map](https://github.com/marcusvolz/strava_py/blob/main/plots/elevations001.png "A plot of activity elevation profiles as small multiples") +![map](https://raw.githubusercontent.com/marcusvolz/strava_py/main/plots/elevations001.png "A plot of activity elevation profiles as small multiples") ### Landscape Elevation profiles superimposed. -![map](https://github.com/marcusvolz/strava_py/blob/main/plots/landscape001.png "Elevation profiles superimposed") +![map](https://raw.githubusercontent.com/marcusvolz/strava_py/main/plots/landscape001.png "Elevation profiles superimposed") ### Calendar Calendar heatmap showing daily activity distance, using the [calmap](https://pythonhosted.org/calmap/) package. Requires "activities.csv" from the bulk Strava export. -![map](https://github.com/marcusvolz/strava_py/blob/main/plots/calendar001.png "Calendar heatmap") +![map](https://raw.githubusercontent.com/marcusvolz/strava_py/main/plots/calendar001.png "Calendar heatmap") ### Dumbbell plot Activities shown as horizontal lines by time of day and day of year, facetted by year. Requires "activities.csv" from the bulk Strava export. -![map](https://github.com/marcusvolz/strava_py/blob/main/plots/dumbbell001.png "Dumbbell plot") +![map](https://raw.githubusercontent.com/marcusvolz/strava_py/main/plots/dumbbell001.png "Dumbbell plot") ## How to use From 4d20d70affc8ae5a0d88ec15b1305b110bf91722 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 1 Sep 2022 14:43:07 +0300 Subject: [PATCH 2/2] Add installation instructions --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 2e6773b..ffe383a 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,28 @@ Create artistic visualisations with your exercise data (Python version). This is a port of the [R strava package](https://github.com/marcusvolz/strava) to Python. +## Installation + +Install via pip: + +```sh +python3 -m pip install pylast +``` + +For development: + +```sh +git clone https://github.com/marcusvolz/strava_py +cd strava_py +pip install -e . +``` + +Then run from the terminal: + +```sh +stravavis --help +``` + ## Examples ### Facets