Skip to main content

iso4217: Currency data package for Python

https://badge.fury.io/py/iso4217.svg? https://travis-ci.org/spoqa/iso4217.svg?branch=master

This Python package contains ISO 4217 currency data, represented as enum module which was introduced in 3.4. Note that this works on Python 2.5 as well as 3.5, the latest version of Python, through enum34 package.

>>> from iso4217 import Currency
>>> Currency.usd
<Currency.usd: 'USD'>
>>> Currency.usd.code
'USD'
>>> Currency.usd.currency_name
'US Dollar'
>>> Currency.usd.exponent  # USD has cents
2
>>> Currency.jpy
<Currency.jpy: 'JPY'>
>>> Currency.jpy.currency_name
'Yen'
>>> Currency.jpy.exponent  # JPY has no minor units
0
>>> Currency('KRW')  # Get by the code string
<Currency.krw: 'KRW'>
>>> Currency.krw is Currency('KRW')
True

Written by Hong Minhee. Distributed under Public Domain.

Metadata

Release files for iso4217 1.5.20180101

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

Source distribution (sdist)

Source distribution for iso4217 1.5.20180101
File Size Uploaded Provenance Actions
iso4217-1.5.20180101.tar.gz 10.7 kB Without provenance Details for iso4217-1.5.20180101.tar.gz

Built distribution (wheel)

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

Total release size: 22.2 kB

Release files / iso4217-1.5.20180101.tar.gz

Download URL iso4217-1.5.20180101.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
71fa3fe34d8e6713644fec311d58c43d5e1a0ac9d1e67998db65bdb91b4e68b0
BLAKE2b-256 checksum
How to use checksums
27420e1dfcc4c7f0f6f0b5472beafa873229e812ae921fbef075e2ab2db5a2ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / iso4217-1.5.20180101-py2.py3-none-any.whl

Download URL iso4217-1.5.20180101-py2.py3-none-any.whl
Size 11.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e52e89f1ca58ffca66318586da52f7f1e080b6631261c260cfc2fce4f7743838
BLAKE2b-256 checksum
How to use checksums
708a26c7fb157decd3a65d6e457b690fac598209eed5f3b2ff9a929551d7d8c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for iso4217 1.5.20180101

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.

Release history Release notifications | RSS feed

This release
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