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 › 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%
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 › en › latest › index.html
Welcome to py-moneyed’s documentation! — py-moneyed 3.0 documentation
These are the docs for py-moneyed 3.0.
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.
Reddit
reddit.com › r/python › currency classes for python
r/Python on Reddit: Currency classes for Python
February 20, 2025 -
Monepy
A python package that implements currency classes to work with monetary values.
Target audience
I created it mostly for some data analysis tasks I usually do, and also as way to learn about project structure, documentation, github actions and how to publish packages.
I wouldn't know if it's production ready.
Comparison
After starting it I found about py-moneyed. They are quite similar, but I wanted something that looks "cleaner" when using it.
Any feedback will be appreciated.
Top answer 1 of 5
7
It good thing to learn how to do stuff like this. Like you said it more leaning the process, which is good to learn all by itself self. Right now, I see 3 big problems. It only works for like 5 currencies you give me no function to tell me what they are. Ite not clear if I can add different type of currency, or how to convert from one to another IMHO And there should be a converter or a way to add USD and YEN directly. You can do something like the return is always the first currency, this will help will a+b+c.
2 of 5
2
The comparison of _Currency objects with integers is problematic: >>> monepy.EUR(10) == 10 == monepy.USD(10) True 10€ equals $10 ?
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.
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 ·