Skip to main content

ISO 4217 currency code library

Project description

https://travis-ci.org/ikseek/iso_4217.svg?branch=main https://img.shields.io/pypi/v/iso-4217.svg

This package contains ISO 4217 active and historical currency data. Written and tested for Python 3.6 and above.

>>> from iso_4217 import Currency
>>> Currency.USD
<Currency.USD: 840>
>>> Currency.USD.full_name
'US Dollar'
>>> Currency(840)
<Currency.USD: 840>
>>> Currency.JPY.entities
frozenset({'JAPAN'})
>>> Currency.ZWR
<Currency.ZWR: 935>
>>> Currency.ZWR.entities
frozenset()
>>> Currency.ZWR.withdrew_entities
(('ZIMBABWE', '2009-06'),)

Inspired by iso4217 package by Hong Minhee.

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

iso_4217-0.2.180829.tar.gz (14.3 kB view hashes)

Uploaded Source

Built Distribution

iso_4217-0.2.180829-py3-none-any.whl (14.8 kB view hashes)

Uploaded Python 3

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