"Rule based tracker of gear and component wear primarily for Strava"
Project description
strava-gear
Rule based tracker of gear and component wear primarily for Strava
Simple, yet powerful, local and open-source gear tracker for Strava. Uses strava-offline to keep a local database of activities and then reads rules such as when a chain was replaced or that a certain hashtag means a different set of wheels was used, and computes the wear (distance ridden and time used) of all components.
Compared to Strava My Gear:
- unlimited number of components
- tracks wear of components swapped from one bike to another, or taken off temporarily
- hashtags for temporary component changes (race wheels, bikepacking bags, …)
- easy and reversible editing of maintenance history (it's just YAML, and you can put it under version control)
Example
aliases:
# optional, uses bike names from Strava by default
city: "b123456"
gravel: "b234567"
road: "b345678"
components:
# frames
"Specialized Tarmac": # name same as id
agang_sin_city: "Agang Sin City 2010" # name specified
specialized_diverge: # name specified as a property
name: "Specialized Diverge Comp Carbon 2015"
kms: 2000 # usage not tracked in the data (2nd hand components)
hours: 100
# tyres
g_one_1: "Schwalbe G-One 35-622"
g_one_2: "Schwalbe G-One 35-622"
rules:
- since: 2010-01-01
city:
frame: agang_sin_city
cranks: alfine_cranks
derailleur_rear: deore_rd
'#graveldiverge':
tyre_front: g_one_1
# since optional, defaults to epoch
# since default to epoch
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:
- https://github.com/liskin/strava-offline - Keep a local mirror of Strava activities for further analysis/processing
- https://github.com/liskin/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_gear-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 734ffa51218d0016fd790b5d0c87960e72127ff40be23dfa811ca6456637c6af |
|
MD5 | b3a2a5dc768f2b1f3e571d2e68a429e5 |
|
BLAKE2b-256 | bf8ef98310b78a75d48495c6fb84cae46267cd2acd139f88bad09ff57bb572e6 |