parse_quantity

zgoubidoo.units.parse_quantity(f: Callable)[source]

Decorator to convert argument ‘q’ from a string to a quantity.