A gears calculation package in python