Use and manipulate unit-aware measurement objects in Python