Pintext#
Date: Aug 27, 2026 | Version: 0.1.1
Extend Pint with unit contexts.
Pintext lets an application decide, at runtime, how unitless values are interpreted. Optional class-framework integrations for attrs and pydantic building on that core are provided.
Read the user guide.
Browse the API reference.
Migrate from Pinttrs.
Contribute to and maintain Pintext.
Release history and migration notes.
Browse the source code.
Pintext is distributed under the terms of the MIT license. It is written and maintained by Vincent Leroy, with development supported by Rayference, and is a component of the Eradiate radiative transfer model.