Skip to main content

iso4217: Currency data package for Python

https://badge.fury.io/py/iso4217.svg? https://github.com/dahlia/iso4217/actions/workflows/main.yaml/badge.svg

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.13.20250512

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.13.20250512
File Size Uploaded Provenance Actions
iso4217-1.13.20250512.tar.gz 12.6 kB Without provenance Details for iso4217-1.13.20250512.tar.gz

Built distribution (wheel)

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

Total release size: 23.4 kB

Release files / iso4217-1.13.20250512.tar.gz

Download URL iso4217-1.13.20250512.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
13df49c199255e1c333dda7f9019b76f7e6f54190e8b49875216e7cc8a8781d2
BLAKE2b-256 checksum
How to use checksums
51de80bb9b6a0d99c31d829c0f7646274a2ec8e269ff6a0556050ce898b19af0
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.13.20250512-py2.py3-none-any.whl

Download URL iso4217-1.13.20250512-py2.py3-none-any.whl
Size 10.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
31de7df98e023c963bd368c741754a4cd7efbaea2d7cd51944180b33acd188da
BLAKE2b-256 checksum
How to use checksums
641d8fb75840e7183baba8bf347ed5cf789119e1c1046e660b39d12c7a5459c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for iso4217 1.13.20250512

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