Skip to main content

money.py

PyPI version Build Status

money.py is a library to handle money

Python 3.6+ only.

https://en.wikipedia.org/wiki/ISO_4217

Documentation

Will make it ASAP.

Installation

  • pip3 install money.py

Testing

  • pip install pytest pytest-cov pytest-xdist

  • pytest --cov=moneypy

Example

from moneypy import Money, EUR_CURRENCY

a = Money(EUR_CURRENCY)
b = Money(EUR_CURRENCY)

a.add(2, 30) # 2.30
b.add(4, 4) # 4.4

a += b
print(a) # 6.7

Metadata

Release files for money.py 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for money.py 1.0.2
File Size Uploaded Provenance Actions
money.py-1.0.2.tar.gz 8.8 kB Without provenance Details for money.py-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for money.py 1.0.2
File Interpreter ABI Platform Actions
money.py-1.0.2-py3-none-any.whl Python 3 none any Details for money.py-1.0.2-py3-none-any.whl

Total release size: 29.7 kB

Release files / money.py-1.0.2.tar.gz

Download URL money.py-1.0.2.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7715acc3b80c4043bacf3a89208a9099818e6c61b7c9689b6462dce8b365fda6
BLAKE2b-256 checksum
How to use checksums
58c52c68615abf4f2d07be99871a3816bc4a16fcff22a41cd90e987b1e997f67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10

Release files / money.py-1.0.2-py3-none-any.whl

Download URL money.py-1.0.2-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
705082e78439c3f80efd99c7c6aecbbc4051ca2d38b0e33a8594010f208af904
BLAKE2b-256 checksum
How to use checksums
0ead36083d074a4cef3e0e4d628059b714f451b0e2e4ad1245f94aa6a57a5146
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10

Security for money.py 1.0.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page