Hacker GitHub

← All repos

hgrecco/pint

View on GitHub ↗ ★ 2,821 Python

Operate and manipulate physical quantities in Python

10 mentions on Hacker News by 9 people: 2 stories, 8 comments · first 2017-06-25 · latest 2026-06-05

Mentions per year 10 mentions · busiest year 2022 (3)
20082026
  1. ▲ 3
    PR: Banana as an official unit in Python pint package
    story by vojtamolda · 2026-06-05 · 1 comment
  2. ▲ 2
    Pint: Python library that makes units easy
    story by warbaker · 2025-11-06 · 0 comments
  3. …specified via type annotations. At least you can check the input of functions at runtime [1]. [0]: https://github.com/hgrecco/pint [1]: https://pint.readthedocs.io/en/stable/advanced/wrapping.html
  4. …lots of calculations in Python involving various units. I’m using a similar library called Pint. https://github.com/hgrecco/pint My business is thermodynamics of power plants. Professionals in the industry tend to use convenient units like…
    comment by tomas789 · 2023-08-03 · in GNU Units
  5. …to see this pop up on /r/opensource. It looks like blue origin is contributing to open source now https://github.com/hgrecco/pint/pull/1574 .
  6. …The https://numpy.org/ pyolite (WASM) IPython demo has SymPy installed in the env but not Pint? [1] https://github.com/hgrecco/pint [2] https://github.com/lebigot/uncertainties
  7. …docs.astropy.org/en/stable/units/index.html [2] - https://news.ycombinator.com/item?id=28415151 [3] - https://github.com/hgrecco/pint
  8. I couldn't resist searching for 'kibi', and yep! [0] [0] https://github.com/hgrecco/pint/search?q=kibi
  9. …from & share experiences. FWIW the tools I'm exploring are Pint[0] and convert-units[1]. [0] - https://github.com/hgrecco/pint [1] - https://github.com/ben-ng/convert-units
    comment by jka · 2019-11-26 · in Calorie Counting × Meal Planning
  10. …[1]. There you can keep your scripts in the cloud for later, with rudimentary versioning. [0] https://github.com/hgrecco/pint [1] https://repl.it