round-function equivalents with different rounding-modes
APACHE-2.0 License
This is the initial release of the rounders package.
The rounders package extends the functionality provided by Python's
built-in round
function. It aims to provide a more complete and
consistent collection of decimal rounding functionality than is
provided by the Python core and standard library.
See the README.md file for more details.
Published by mdickinson 5 months ago
This minor release focuses on clean-up of the original code, and mostly consists
of changes to the internal logic to better support the planned formatting
functionality.
Added the RoundingMode
type to the top-level exports, since it's potentially
useful for type hints in client code.
Added a py.typed
marker.
Rounding modes now have a more user-friendly representation.
The minimum Python version is now Python 3.8.
The README documentation has been expanded and updated.
The library internals have been significantly reworked, to help support the
coming formatting functionality.
We now use setuptools_scm
for versioning, and ruff
for formatting and linting.
A dependabot config has been added, to help keep GitHub Actions workflows up to date.
A workflow for automatically publishing releases to PyPI has been added.