-
Steps to reproduce:
```
a = pint.Quantity(1, "L").units
b = pint.Unit("mL")
c = a / b
```
Expected behavior:
`c` is a dimensionless unit representing 1000
Actual behavior:
AttributeError:…
-
I believe there is an import failure with bw2data in a python 3.13 environment. I tried installing both 4.0.dev59 and 4.0.dev56.
`import bw2data as bd` returns `TypeError: cannot inherit frozen da…
-
Hello,
I wanted to share my default setup for using handcalcs together with [pint](https://pypi.org/project/Pint/).
Pint can be a useful alternative to forallpeople, if some "advanced" options a…
av1dm updated
1 month ago
-
Take a conversion from electron temperature to thermal velocity as an example:
```python
from pint import application_registry as u
import numpy as np
np.sqrt(100 * u.eV / u.m_e).to("km/s")
#
`…
-
## Descreva o problema que você quer resolver com essa feature
Usamos o Laravel Pint para padronizar o estilo do código e colocamos a verificação dele em uma Github Action. Mas ela não é aplicada a…
-
## Introduction
Code formatting is a necessary step of development to keep the code readable and maintainable.
It often comes in a pair with a linter, which is an automated process to ensure forma…
-
Since the September release, there's a new pub icon, and the bar icon has changed. The discrepancy between map and bookmark rendering could however be improved.
_Current behaviour (see screenshots)…
-
`pint_pandas.PintType.ureg.default_format = "P~"` usage stated in https://pint-pandas.readthedocs.io/en/latest/user/reading.html#pandas-dataframe-accessors induce deprecation warning from `Pint`.
W…
-
The suggestion is to make the wine bottles and pints physical objects with their own model.
I think that it also is needed to make an empty wine bottle and a mug (instead of vanilla glass bottle).
-
The following import
```
from pint import UnitRegistry
```
fails under python 3.13 with error message
```
File ".../venv/lib/python3.13/site-packages/pint/__init__.py", line 18, in
from .…