Python-Money
Introduction
python-money provides carefully designed basic Python primitives for working with money and currencies.
The primary objectives of this module is to aid in the development of financial applications by increasing testability and reusability, reducing code duplication and reducing the risk of defects occurring in the code.
The module defines two basic Python classes – a Currency class and a Money class. It also pre-defines all the world’s currencies, according to the ISO 4217 standard. The classes define some basic operations for working with money, overriding Python’s addition, substraction, multiplication, etc. in order to account for working with money in different currencies. They also define currency-aware comparison operators. To avoid floating point precision errors in monetary calculations, the module uses Python’s Decimal type exclusively.
The design of the module is based on the Money enterprise design pattern, as described in Martin Fowler’s “Patterns of Enterprise Application Architecture”.
This project also contains Django helper classes for easy integration with python-money.
Installation
python setup.py install
Project Site
http://code.google.com/p/python-money/
This project is sponsored by A115 Ltd.
Metadata
Release files for python-money 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-money-0.5.tar.gz | 14.9 kB | Without provenance | Details for python-money-0.5.tar.gz |
Release files / python-money-0.5.tar.gz
| Download URL | python-money-0.5.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d98114d1895534fae37f1d4f44df25828c25e6c5a9298e1ec343cbcc6290f4e9
|
|
BLAKE2b-256 checksum How to use checksums |
8cbbb24ed78d62b2463d46c182698c64636424c0761f9a84008572983b06f5d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-money 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.