python-py-moneyed
Python currency and money classes
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/python-py-moneyed && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
py-moneyed-2.0.tar.gz | 0000022318 21.8 KB | |
python-py-moneyed.changes | 0000001144 1.12 KB | |
python-py-moneyed.spec | 0000001853 1.81 KB |
Revision 2 (latest revision is 4)
Dominique Leuenberger (dimstar_suse)
accepted
request 950333
from
Steve Kowalik (StevenK)
(revision 2)
- Update to 2.0: * Dropped support for Python 2.7 and 3.5 and PyPy 2. * Dropped the moneyed.localization module that was deprecated and announced for removal in 1.0. * Added type hints along with a mypy pre-commit hook. * Removed undocumented DEFAULT_CURRENCY and DEFAULT_CURRENCY_CODE constants, and change to make instantiating Money without providing a currency a type error. This used to result in an object with a made-up "XYZ" currency, which could lead to surprising behaviors and bugs. * Added zero property to Currency to conveniently access the zero value of a given currency. * Moved to use setuptool's declarative packaging config and PEP 517 isolated builds. * Removed requirements files and instead specified test requirements using extras. - Switch to using the GitHub release URL.
Comments 0