Generate iCalendar with your Strava activities
Project description
strava-ical
Overview
Generate iCalendar with your Strava activities
Uses strava-offline to keep and incrementally sync with a local database of activities.
Installation
Using pipx:
pipx ensurepath
pipx install "strava-ical[strava]"
To keep a local git clone around:
git clone https://github.com/liskin/strava-ical
make -C strava-ical pipx
Alternatively, if you don't need the isolated virtualenv that pipx provides, feel free to just:
pip install "strava-ical[strava]"
If you've already installed strava-offline and use it separately, you can
omit the [strava]
bit to avoid installing strava-offline twice.
Setup and usage
-
Run
strava-ical-sync
(orstrava-offline sqlite
if you chose to install strava-offline separately) to synchronize activities metadata to a local sqlite database. This takes a while: first time a couple dozen seconds, then it syncs incrementally which only takes a few seconds each time. Add-v
to see progress.The first time you do this, it will open Strava in a browser and ask for permissions. Should you run into any trouble at this point, consult strava-offline readme or open an issue.
If you make changes to older activities (to assign a different bike to a ride, for example), you may need a
--full
re-sync rathen than the default incremental one. See the note about incremental synchronization for a detailed explanation. -
Run
strava-ical
:TODO
Command line options
$ strava-ical --help
Usage: strava-ical [OPTIONS]
Options:
--strava-database PATH Location of the strava-offline database [default:
/home/user/.local/share/strava_offline/strava.sqlite]
-o, --output FILENAME Output file [default: -]
--help Show this message and exit.
Donations (♥ = €)
If you like this tool and wish to support its development and maintenance, please consider a small donation or recurrent support through GitHub Sponsors.
By donating, you'll also support the development of my other projects. You might like these:
- strava-offline – Keep a local mirror of Strava activities for further analysis/processing
- strava-gear – Rule based tracker of gear and component wear primarily for Strava
- strava-map-switcher – Map switcher for Strava website
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for strava_ical-1.0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f8f7dd8fce69eade76db35996294fe07b7649bfd5e10c2cea5249523d46d751 |
|
MD5 | 8856b51a405aba3a436b3eccd4d0a721 |
|
BLAKE2b-256 | 43a90aa7744a0acf36027b8d1f9e102ab1235a2678f81091505a8cc55fb91e01 |