Django app providing model fields and utility classes for handling measurements with units (e.g. distance, weight, volume). Current version 3.2.4. Release cadence is irregular; maintained via GitHub.
pip install django-measurementNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Quickest way to get started: define a model with a DistanceField and create an instance passing a string with unit.
Run makemigrations and migrate after upgrade.
Use typed fields instead of MagnitudeField.
Use standard pint units: 'km', 'mi', 'lb', 'kg', 'L', 'gal'.