What’s new?#


Pinttrs 24.1.0 (upcoming release)#

  • Add Python 3.12 support (PR7).

  • The default registry is now the Pint application registry (PR8).

Developer-side changes#

  • Move from PDM to Rye for project management (PR7).

  • Drop Nox for testing (PR7).

  • Drop Conda development environment support (PR7).

  • Use the Ruff formatter instead of Black in pre-commit hooks (PR7).

  • Drop Copier template ({ghpr7}).

Pinttrs 23.2.0 (2023-02-25)#

  • Support import pinttrs, promote this namespace and modern APIs in documentation (PR5).

Developer-side changes#

  • Move from isort to ruff for import sorting. This also opens the door to linting features (9a4ed0).

  • Add pre-commit hooks (5b4ab9).

Pinttrs 23.1.1 (2023-02-22)#

Minor release with tooling updates.

Pinttrs 23.1.0 (2023-02-22)#

  • Drop Python 3.7 support, add Python 3.11 support (191677)

Pinttrs 22.1.0 (2022-07-19)#

Developer-side changes#

  • Move to PDM for dependency and project management (PR3).

  • Apply Copier template for easier tooling management (PR3).

  • Drop Towncrier-based changelog management (PR3).

Pinttrs 21.3.1 (2021-09-13)#

Developer-side changes#

Pinttrs 21.3.0 (2021-08-20)#


  • Add pinttr.field() (992acf).

  • pinttr.ib(): Add nicer default repr (d68ec4).

Developer-side changes#

  • Automate testing with GitHub actions (1997a7).

  • Manage changelog with Towncrier (644ecc).

  • Add coverage report with Codecov (fa658d).

Pinttrs 21.2.0 (2021-04-26)#


  • pinttr.UnitContext: Added square bracket syntax.

Pinttrs 21.1.0 (2021-03-08)#


  • pinttr.converters.ensure_units(): Moved to pinttr.util.

Developer-side changes#

  • Switched to calendar versioning (schema: YY.MINOR.MICRO).

Pinttrs 1.1.0 (2021-02-18)#


  • pinttr.interpret_units(): Support for pint.Quantity magnitude values.

  • pinttr.UnitContext: Added custom unit registry for string-to-units interpretation.

Developer-side changes#

  • Set up bump2version to help with version number management.

  • Raised test coverage to 100%.

  • Upgraded dependency pinning system for cleaner environment setup and update.

Pinttrs 1.0.0 (2021-02-04)#

Initial release.