Metadata-Version: 2.1
Name: iso-4217
Version: 0.2.180829
Summary: ISO 4217 currency code library
Home-page: https://github.com/ikseek/iso_4217
Author: Igor Kozyrenko
Author-email: igor@ikseek.com
Requires-Python: >=3.6.1,<4.0.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Project-URL: Repository, https://github.com/ikseek/iso_4217
Description-Content-Type: text/x-rst

``iso_4217``: Yet another currency data package for Python
==========================================================
.. image:: https://travis-ci.org/ikseek/iso_4217.svg?branch=main
   :target: https://travis-ci.org/ikseek/iso_4217
.. image:: https://img.shields.io/pypi/v/iso-4217.svg
   :target: https://pypi.org/project/iso-4217/

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.

.. _iso4217: https://github.com/dahlia/iso4217

