Try running:
pip install py-moneyed
or
easy_install py-moneyed
If pip and easy_install do not work, download the source for py-moneyed from their GitHub by clicking on the 'Download Zip' button on the right side of the website.
Once you have downloaded the source, run setup.py inside the folder with this command:
python setup.py install
This will install the module. For more information see Python's Docs on Installing Python Modules.
Answer from Austin on Stack Overflowpython - How to install Py-Moneyed? - Stack Overflow
Currency classes for Python
What is the best way to store money values?
Why do I have an aproximation with a simple operation
I put in "invest" 1000, in "interest" 10 and in "years" 5, the result should have been 1610.51, but I don't know why it says the result is 1610.510000004
Because floating-point numbers aren't entirely precise in Python (or most other languages for that matter)
https://docs.python.org/3/tutorial/floatingpoint.html
https://0.30000000000000004.com/
More on reddit.comVideos
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.