🌐
GitHub
github.com › py-moneyed › py-moneyed
GitHub - py-moneyed/py-moneyed: Provides Currency and Money classes for use in your Python code. · GitHub
The need to represent instances of money frequently arises in software development, particularly any financial/economics software. To address that need, the py-moneyed package provides the classes of Money and Currency, at a level more useful than just using Python's Decimal class, or ($DEITY forbid) the float primitive.
Starred by 472 users
Forked by 127 users
Languages   Python
🌐
Readthedocs
py-moneyed.readthedocs.io › en › latest › usage.html
Usage — py-moneyed 3.0 documentation
Currency instances have a zero property for convenience. It returns a cached Money instance of the currency.
🌐
PyPI
pypi.org › project › py-moneyed
py-moneyed
JavaScript is disabled in your browser. Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
GitHub
github.com › py-moneyed
py-moneyed · GitHub
Provides Currency and Money classes for use in your Python code.
🌐
GitHub
github.com › blazs › py-moneyed
GitHub - blazs/py-moneyed: Provides Currency and Money classes for use in your Python code.
The Money class provides operators with type checking, matching currency checking, and sensible dimensional behavior, e.g. you cannot multiply two Money instances, nor can you add a Money instance to a non-Money number; dividing a Money instance by another results in a Decimal value, etc. The Currency class is provided with a complete dictionary of ISO 4217 currencies data, each key (e.g. 'USD') mapping to a Currency instance with ISO numeric code, canonical name in English, and countries using the currency. Thanks to the python-money developers for their (possibly tedious) data-entry of the ISO codes!
Author   blazs
🌐
GitHub
github.com › tindie › py-moneyed
GitHub - tindie/py-moneyed: Provides Currency and Money classes for use in your Python code.
The Money class also provides operators with type checking, matching currency checking, and sensible dimensional behavior, e.g. you cannot multiply two Money instances, nor can you add a Money instance to a non-Money number; dividing a Money instance by another results in a Decimal value, etc. The Currency class is provided with a complete dictionary of ISO 4217 currencies data, each key (e.g. 'USD') mapping to a Currency instance with ISO numeric code, canonical name in English, and countries using the currency. Thanks to the python-money developers for their (possibly tedious) data-entry of the ISO codes!
Author   tindie
🌐
GitHub
github.com › py-moneyed › py-moneyed › releases
Releases · py-moneyed/py-moneyed
Removed undocumented DEFAULT_CURRENCY and DEFAULT_CURRENCY_CODE constants, and change to make instantiating Money without providing a currency a type error.
Author   py-moneyed
🌐
GitHub
github.com › py-moneyed › py-moneyed › blob › master › docs › usage.rst
py-moneyed/docs/usage.rst at master · py-moneyed/py-moneyed
You then use :class:`Money` instances as a normal number. The Money class provides operators with type checking, matching currency checking, and sensible dimensional behavior, e.g.
Author   py-moneyed
🌐
GitHub
github.com › vimeo › py-money
GitHub - vimeo/py-money: Money class for Python 3 · GitHub
Money class for Python 3. Unlike other Python money classes, this class enforces that all monetary amounts are represented with the correct number of decimal places for the currency. For example, 3.678 USD is invalid, as is 5.5 JPY.
Starred by 127 users
Forked by 24 users
Languages   Python 99.5% | Makefile 0.5%
Find elsewhere
🌐
GitHub
github.com › rescale › py-moneyed
GitHub - rescale/py-moneyed: Provides Currency and Money classes for use in your Python code.
The Money class provides operators with type checking, matching currency checking, and sensible dimensional behavior, e.g. you cannot multiply two Money instances, nor can you add a Money instance to a non-Money number; dividing a Money instance by another results in a Decimal value, etc. The Currency class is provided with a complete dictionary of ISO 4217 currencies data, each key (e.g. 'USD') mapping to a Currency instance with ISO numeric code, canonical name in English, and countries using the currency. Thanks to the python-money developers for their (possibly tedious) data-entry of the ISO codes!
Author   rescale
🌐
Readthedocs
py-moneyed.readthedocs.io › _ › downloads › en › latest › pdf pdf
py-moneyed Release 3.0 Kai Wu Nov 27, 2022
LC_NUMERIC, which can produce different results from the old function. Use the new format_money to ... – On Python 2, Money.__str__ (bytestring) output has changed to be more basic.
🌐
GitHub
gist.github.com › f27f4a2bae1f86e70e6e79f99baefe3d
Handling money with Python and py-moneyed · GitHub
Handling money with Python and py-moneyed · Display the source blob · Display the rendered blob Raw · py-moneyed.ipynb · Loading · Sorry, something went wrong. Reload? Sorry, we cannot display this file. Sorry, this file is invalid so it cannot be displayed.
🌐
ActiveState
code.activestate.com › pypm › py-moneyed
py-moneyed | Python Package Manager Index (PyPM) | ActiveState Code
To address that need, the py-moneyed package provides the classes of Money and Currency, at a level more useful than just using Python's Decimal class, or ($DEITY forbid) the float primitive. The package is meant to be stand-alone and easy to either use directly, or subclass further.
🌐
Appspot
readme-go.appspot.com › info › py-moneyed
Homepage
The Money class also provides operators with type checking, matching currency checking, and sensible dimensional behavior, e.g. you cannot multiply two Money instances, nor can you add a Money instance to a non-Money number; dividing a Money instance by another results in a Decimal value, etc. The Currency class is provided with a complete dictionary of ISO 4217 currencies data, each key (e.g. ‘USD’) mapping to a Currency instance with ISO numeric code, canonical name in English, and countries using the currency. Thanks to the python-money developers for their (possibly tedious) data-entry of the ISO codes!
🌐
Snyk
snyk.io › advisor › python packages › py-moneyed
py-moneyed - Python Package Health Analysis | Snyk
You then use Money objects as if they were numbers, and they behave sensibly. See docs for more information (or the docs/ folder). Some of the py-moneyed code was first derived from python-money available via this URL: Due to inactivity, it was forked by @limist in 2010 and later moved to the py-moneyed organization.
🌐
Readthedocs
py-moneyed.readthedocs.io › en › latest › history.html
Change log — py-moneyed 3.0 documentation
Use the new format_money to control output. On Python 2, Money.__str__ (bytestring) output has changed to be more basic.
🌐
Alasco Tech Blog
alasco.tech › 2020 › 01 › 31 › handling-money-and-taxes-in-python
Handling Money and Taxes in Python - Alasco Tech Blog
January 31, 2020 - To avoid the faulty rounding/“allocations” on chained calculations, we store monetary values as Decimals, using py-moneyed. All backend operations deal with exact money. Rounding only occurs explicitly or when values are outputted to the user.
🌐
Read the Docs
app.readthedocs.org › projects › py-moneyed
py-moneyed - Read the Docs Community
py-moneyed · EN · Maintainers · Repository https://github.com/py-moneyed/py-moneyed · Versions 2 Builds 53 · View docs · Debug information · Spam score 100 · Spam matching rules · SuspiciousWordsSlug ·