pybicyclewheel

pybicyclewheel - bicycle spoke length calculator


Keywords
bicycle, spoke, length, calculator, cycling, diy, diy-tool, myog, python, repair
Licenses
AGPL-3.0/GPL-3.0+
Install
pip install pybicyclewheel==0.0.9

Documentation

REPO ARCHIVED (2022-08-24)

this repo is archived and not maintained longer


Code style: black

pybicyclewheel

pybicyclewheel calulates the required spoke length for bicycle wheels.

(under construcion) -> homepage

further readings

wikipedia

bicycle guru doc

remark

the calculation methods mentioned above differ sligthly from each other by putting e.g. spoke hole, or spoke radius into consideration or not. the provided method within this module uses a mathematic 3d geometric vector and matrix based approach to determine the length of a spoke using numpy.

how to use

maintain your rim and hub data in the xls sheets provided in the github repo

call the simple gui with (remark: hubs.xls, and rims.xls base dir is "~/Downloads")

python3 -m pybicyclewheel_gui

or use it along with sample.py.

alternatively explore xls_calc.py and use the classes directly (less convinient).

probably a better user interface (then the simple one) will be provided later ... (if i have time i will do)

structure of the xls - sizing data

todo...

where to find sizing data

browse the manufacturer web site and search for specification

or search for the product detail page

if none of the above is available measure the component (not recommended)

What's new ?

Check CHANGELOG for latest ongoing, or upcoming news

read BACKLOG for latest, or upcoming news.

Platform

Tested on Python3, and Linux.

development status

alpha state. the API or logical call flow might change without prior notice.

read BACKLOG for latest, or upcoming news.

installation

available on pypi. install with:

python3 -m pip install pybicyclewheel