summaryrefslogtreecommitdiff
path: root/pint/quantity.py
Commit message (Expand)AuthorAgeFilesLines
* Moved Unit and Quantity to plain facetHernan2022-05-071-2138/+0
* Create Base FacetHernan2022-05-071-2/+2
* Move converters and definition to base facetHernan2022-05-071-1/+1
* fix LaTeX siunitx exponent formatting (closes #1515)CD Clark III2022-05-051-1/+1
* move the splitting code to a separate functionKeewis2022-04-091-34/+4
* use the settingKeewis2022-04-071-22/+27
* Run new stable black versionJules Chéron2022-03-301-4/+4
* properly deprecate the current behavior of the `default_format` option (#1419)keewis2022-02-231-14/+42
* Merge branch 'master' into testingJules Chéron2022-02-231-4/+4
|\
| * Use float for to_compact SI power calculationConstantine Evans2022-02-101-10/+2
| * Fix to_compact, infer_base_unit for non-float non_int_type (#1461)Constantine Evans2022-02-091-4/+12
* | Merge branch 'master' into testingKeewis2022-02-101-35/+34
|\ \ | |/
| * Fix typing issue on to_reduced_unitsJules Chéron2022-02-041-2/+2
| * Merge pull request #1449 from jules-ch/fix-1427-to-reduced-units-exponentsJules Chéron2022-01-311-0/+2
| |\
| | * Fix 1427: Keep track of exponent reductionJules Chéron2022-01-151-0/+2
| * | Use default numpy `np.printoptions` available since numpy 1.15Jules Chéron2022-01-231-17/+4
| |/
| * Fix #1184 to_reduced with ndarray of intJules Chéron2022-01-151-18/+28
* | Merge branch 'master' into testingkeewis2021-12-111-1/+1
|\ \ | |/
| * Fix Quantity & Unit `is_compatible_with` with registry active contextsJules Chéron2021-11-261-1/+1
* | directly use the classes in the isinstance checksKeewis2021-11-211-1/+3
|/
* Merge pull request #1371 from keewis/custom-formatsJules Chéron2021-10-091-2/+4
|\
| * explicitly pass the registry to `format_unit`Keewis2021-08-181-1/+1
| * extract the custom flags before passing them to the unit formatterKeewis2021-08-171-1/+3
* | fix examples section (numpy docstyle compatible)Martin K. Scherer2021-08-231-2/+2
|/
* Add pint typing moduleJules Chéron2021-08-011-66/+133
* Fix string formatting for numpy array scalarsRyan May2021-06-281-9/+19
* Handling of max/min in clip function (#1338)Rob2021-06-241-21/+10
* Merge pull request #1326 from jules-ch/drop-python3.6Hernan Grecco2021-06-121-18/+1
|\
| * Drop support for Python 3.6Jules Chéron2021-06-121-18/+1
* | don't use `force_ndarray` or `force_ndarray_like` when computing the unitsKeewis2021-06-031-1/+1
* | delegate the tokenize call to the magnitudeKeewis2021-05-221-1/+3
|/
* Add support for Quantity in the constructorJules Chéron2021-04-031-41/+38
* Merge branch 'master' into fix_powerHernan Grecco2021-02-221-18/+32
|\
| * Remove Python2 numeric int/float converting relicsMiroslav Šedivý2021-01-081-2/+2
| * Merge branch 'jules-ch-hotfix-1195-scalar-tolist' into developHernan2021-01-071-6/+16
| |\
| | * Fix scalar ndarray tolist functionJules Chéron2020-10-291-6/+16
| * | Fixed merge conflictsHernan2021-01-071-1/+8
| |\ \
| | * | Formatting and changelog.Lewis A. Marshall2020-10-311-2/+1
| | * | Quantity comparisons ensure other is Quantity.Lewis A. Marshall2020-10-311-1/+9
| | |/
| * | Run linter on all filesHernan2021-01-071-9/+6
| |/
* | Fixes #1185 - Power for pseudo-dimensionless unitsKevin Fuhr2020-10-081-5/+16
|/
* Makes unpickling work properly using the Application RegistryHernan2020-09-211-2/+2
* Linting changesKevin Fuhr2020-08-241-2/+8
* Fix magnitude conversion (was incorrectly inplace)Kevin Fuhr2020-08-241-3/+3
* Merge branch 'master' into masterHernan Grecco2020-08-211-32/+57
|\
| * Implement deterministic hashing as part of Dask collection interfaceRussell Manser2020-08-181-1/+4
| * Change html repr away from latex to a Sparse/Dask-like reprJon Thielen2020-08-161-27/+52
| * Avoid warning when setting a masked valueRyan May2020-08-011-1/+1
| * Support rpow operation on dimensionless arrayJules Chéron2020-07-291-3/+0
* | update CHANGES, remove trailing spaceBen Loer2020-07-131-1/+1