kinetic-scales (pypi): A library with some selection and weighted choice algorithms.
Keywords: weighted|random|choice