hgrecco/pint
Operate and manipulate physical quantities in Python observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 96
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5164
- days_rel: n/a
- days_push: 28
- n_releases_24m: 0
Adoption not part of the score
2786 stars · 528 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Pint is a Python library for defining, operating on, and manipulating physical quantities (a numerical value paired with a unit of measurement). It supports arithmetic between quantities, unit conversions, a comprehensive built-in set of units and constants, and numpy integration.
Use cases
- convert between units of measurement in Python
- do arithmetic on quantities with units like meters and seconds
- avoid unit conversion bugs in scientific code
- work with numpy arrays that carry physical units
- build a unit converter CLI
- define custom units and constants for a domain
When to choose
- your Python code mixes quantities with different units and needs safe conversions
- you want numpy-compatible physical quantities with minimal dependencies
- you need an extensible units registry with custom units, prefixes, and constants
When to avoid
- you need symbolic math or a full computer algebra system
- your project is not in Python
- you only need a one-off unit conversion without a library dependency
Facets
library · maturity stable
math serialization data-science developer-tools python cross-platform units-of-measurement physical-quantities unit-conversion numpy scientific-computing science
2 sources
- readme: https://github.com/hgrecco/pint · fetched 2026-08-28 · 59b868e7fc93
- registry_pypi: https://pypi.org/pypi/pint/json · fetched 2026-08-29 · 2ffaca53d722
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hgrecco/pint | main | 75 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem