This Python package contains ISO 4217 currency data, represented as enum module which was introduced in 3.4.
>>> 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
>>> Currency.krw is Currency.KRW # Lower enumerants are also available
Written by Hong Minhee. Distributed under Public Domain.
Metadata
Release files for iso4217 1.14.20250512
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iso4217-1.14.20250512.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iso4217-1.14.20250512-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 23.5 kB
Release files / iso4217-1.14.20250512.tar.gz
| Download URL | iso4217-1.14.20250512.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f036bd5460f1d371f2df253e90be5032930c8f76512f3a02ecfa5ad1e9fb164b
|
|
BLAKE2b-256 checksum How to use checksums |
0729db0854475507162050c6245be61f37c7216d4157c09ec808ed13cc003d27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / iso4217-1.14.20250512-py2.py3-none-any.whl
| Download URL | iso4217-1.14.20250512-py2.py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f23974b5b6eb264709f6d764703d5c03f168807305077cb76d7cdfcca87d7d76
|
|
BLAKE2b-256 checksum How to use checksums |
5d6f8e1d65453c7099f863d4785d8d3370192d4bcaffc26ad2bf0542c0fbd7f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|