Z3c-currency

Latest version: v1.2.0

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

Scan your dependencies

1.2.1

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

- Add support for Python 3.5, 3.8 and 3.9.

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.

0.1.0

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

- Initial Release

* Implementation of ``Currency`` field supporting precision and a unit.

* Implementation of data converter.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.