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.1.20150619.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

iso4217-1.1.20150619-py2.py3-none-any.whl (16.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for iso4217-1.1.20150619.tar.gz
Algorithm Hash digest
SHA256 0236a6c89e974656f1d85efdc50c23ab2e866642e4811f120cd8e2f1f8fc8538
MD5 206e448e6b8c403fb5763a3edeaea232
BLAKE2b-256 7c5a860c7c0a1f86c5f286e2e83a4644b670e50c2ad7c99d2284a0a704eff85c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for iso4217-1.1.20150619-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 805c427b99395f9ee1861bbb3a9069a2392404dbf1bea634c5227e90ec0f2f32
MD5 d6c113accc19c2d6e33aad82a4106e32
BLAKE2b-256 c45a4a33863d1455d04a703d0003927f48171d1b6d56ab43de1eeccaa0c85d03

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