Skip to main content

ISO 4217 currency data package for Python

Project description

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.4, the latest version of Python, through enum34 package.

>>> from iso4217 import Currency
>>> Currency.usd.code
'USD'
>>> Currency.usd.currency_name
'US Dollar'
>>> Currency.usd.exponent  # USD has cents
2
>>> Currency.jpy.currency_name
'Yen'
>>> Currency.jpy.exponent  # JPY has no minor units
0

Written by Hong Minhee. Distributed under Public Domain.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iso4217-1.2.20150619.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

iso4217-1.2.20150619-py2.py3-none-any.whl (17.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file iso4217-1.2.20150619.tar.gz.

File metadata

File hashes

Hashes for iso4217-1.2.20150619.tar.gz
Algorithm Hash digest
SHA256 758b9d1e73ff44dc6b454b05ec33dae932f0a3c5a24fd390b65b3f3dc8c8d6e0
MD5 aa301bc5d5997d50c85d6e8fef6792d9
BLAKE2b-256 d7700cff8ecbb9c5e401a897b6c83fbfb940d9b0279c3b86e3f1c340491bb413

See more details on using hashes here.

File details

Details for the file iso4217-1.2.20150619-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for iso4217-1.2.20150619-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 86e1d00e0e8d8ce88f9ae1de7d15170f8ac33948118da36ecf4dbbaaed92db94
MD5 305f7d38adede6a89d634a56f461e8ac
BLAKE2b-256 f836619eb58d2e49b844472ebd0a8004c65adacd71420e8884fc9ab55a86f036

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page