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

Uploaded Source

Built Distribution

iso4217-1.3.20160224-py2.py3-none-any.whl (11.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for iso4217-1.3.20160224.tar.gz
Algorithm Hash digest
SHA256 605dc32fdcc9ef8649cc799ac5961efb620c63c2859973ba5315a3dcf5a19540
MD5 104164cd306654ee5c74ce5303ffa568
BLAKE2b-256 8b36045062b4c188dc58dda47ca10dd60f0b6b32bd85b53d7f0bd21dcbdd92c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for iso4217-1.3.20160224-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cfbad4dddc787e51538e604e45f6d03183e4acb8274ca54d921b865f6fdc9b19
MD5 c8a4ed0bd6768aae86bda75f5a14fec4
BLAKE2b-256 d3adb4cb3c92f55168b99fbb8f6765479bac20c502b6081b42a4ca3c977d8a98

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