Skip to main content

monetary

Currency Convert

Installation

pip install monetary

Usage

import monetary

# Exchange Cent & Dollar
monetary.cent(dollar, rate=100, cast_func=int)
monetary.dollar(cent, rate=100, cast_func=float, ndigits=None)

# Mul & Div
monetary.mul(multiplicand, multiplicator, cast_func=float)
monetary.div(dividend, divisor, cast_func=float, ndigits=None)

Metadata

Release files for monetary 1.0.3

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

Source distribution (sdist)

Source distribution for monetary 1.0.3
File Size Uploaded Provenance Actions
monetary-1.0.3.tar.gz 1.9 kB Without provenance Details for monetary-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for monetary 1.0.3
File Interpreter ABI Platform Actions
monetary-1.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details for monetary-1.0.3-py2.py3-none-any.whl

Total release size: 4.4 kB

Release files / monetary-1.0.3.tar.gz

Download URL monetary-1.0.3.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1d5c894fc6138289beec4666e78735f101a44273b24832d0b15179f0aae344d0
BLAKE2b-256 checksum
How to use checksums
93293f0e2480830d9e46690f85c718fa95ccf5a1e7ea5c3eed9813e723d94ad2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+

Release files / monetary-1.0.3-py2.py3-none-any.whl

Download URL monetary-1.0.3-py2.py3-none-any.whl
Size 2.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d8d120d697151d8a06187601d19c56648312145a7aeb34d43daefc39598cdc7e
BLAKE2b-256 checksum
How to use checksums
f069cb31819df66ca753edc3c453bad355c91a8d6ad75150484da6ea76b6c624
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+

Security for monetary 1.0.3

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