Python doesn't have a units library like C++ or Java does, but it could at least have a utility function for the Telemetry API to log a value with an associated unit string, which is also supported in Java:
https://github.com/wpilibsuite/allwpilib/blob/d1944ddec0cb737852e9820dd83a982fd45a1029/wpilibj/src/main/java/org/wpilib/internal/UnitTelemetry.java#L95-L106
Python doesn't have a units library like C++ or Java does, but it could at least have a utility function for the Telemetry API to log a value with an associated unit string, which is also supported in Java:
https://github.com/wpilibsuite/allwpilib/blob/d1944ddec0cb737852e9820dd83a982fd45a1029/wpilibj/src/main/java/org/wpilib/internal/UnitTelemetry.java#L95-L106