Skip to content

Units Module

For complete API documentation of the units module, see api.

Quick Reference

  • Unit - Unit field annotation

  • HasUnits - Base mixin for unit-aware components

  • HasPerUnit - Extended mixin with system-base support

  • UnitSystem - Display mode enumeration

  • set_unit_system() - Set global display mode

  • get_unit_system() - Get current display mode

See also