NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #5282 most downloaded on PyPI
Prefixed alternative numeric library
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 2.2 years
Most releases are documented
notes for 12 of 17 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
17 releases · first in 2020
One column per quarter.
The micro symbol ('µ'), U+00B5, is now accepted as a valid prefix when creating prefixed.Float objects from strings
Changes
prefixed.Float objects from strings
Rounding was not accounted for when determining prefixed
f'{Float(9.999999999e-10):.2H}' returned 1000p rather than 1nHousekeeping - Metadata updates
Housekeeping
Magnitude values are read from a dictionary rather than computed
Changes
The ! flag used to drop the space when no prefix was added to the output
Changes
Consistent behavior for ! flag
! flag used to drop the space when no prefix was added to the outputf'{Float(123):!.3H}J' #4! will now always add a space after the numberNew flag !!
!! operates like !, adding a space between the number and the prefix!! will drop the space if no prefix is added to the numberAdded at November 2022 General Conference on Weights and Measures
Changes
Add new SI prefixes
| Prefix | Name | Base |
|---|---|---|
| Q | quetta | 10³⁰ |
| R | ronna | 10²⁷ |
| r | ronto | 10⁻²⁷ |
| q | quecto | 10⁻³⁰ |
Bugfixes
Deprecated format specifiers 'j' and 'J' were not properly handled when passed as Unicode in 2.7
Bug Fixes
Deprecated format specifiers 'j' and 'J' were not properly handled
Bug Fixes
'j' and 'J' were not properly handled
'j' still works, but is deprecated
Changes
'H' (SI), 'K' (IEC), and 'M' (IEC short) presentation types treat precision as significant digits'#' to preserve'j' (IEC) presentation type replaced with 'k'
'j' still works, but is deprecated'J' (IEC short) presentation type replaced with 'm'
'J' still works, but is deprecatedHousekeeping
No longer accept arbitrary characters after prefix in input strings
Changes
Bug Fixes
Make import of Float more explicit in examples
Changes
Added margin to format specification
New Features
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →