Z3c.currency

Latest version: v2.0

Safety actively analyzes 619566 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.1

----------------

- Nothing changed yet.

2.0

----------------

- Drop support for Python 2.7, 3.5, 3.6.

- Add support for Python 3.8, 3.9, 3.10, 3.11.

- Drop deprecated support for running the tests using ``python setup.py test``.

1.2.0

------------------

- Python 3.6 and 3.7 support. Drop Python 2.6.

- Tests now run with ``python setup.py test``.

1.1.1

------------------

- Standardize namespace __init__

1.1.0

------------------

- Added new precision value "sub-cents" (``interfaces.SUBCENTS``), which
allows precision beyond pennies, which is needed for financial and other
business applications.

1.0.0

------------------

- Updated Trove classifiers.

- Moved code to GitHub.

- Changed validation to raise custom validation errors, since the upstream
code looks at the doc string of the exception instead of the first argument.

- Improved converter to

* Ensure proper precision of decimal after initial parsing.

* Format the value to the proper precision.

- Changed "precision" field in `ICurrency` interface to be a choice, so that
UIs generate nicely.

- Cleaned up code a little bit.

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.