kurrency - Currency data and FOREX Utilities for Python
kurrency is a Python library which provides currency data and forex utilities to applications. The data used in the library is obtained from various resources including Wikipedia, Trading with Clancy.
You can install the latest version of kurrency from the GitHub repository:
$ pip install git+https://github.com/telosoft/kurrency.git
Import the canonical Currency class:
>>> from kurrency import Currency
Retrieve a Currency object for a given identifier:
>>> turkish_lira = Currency.get("TRY")
The identifier can be any of
of a Currency object:
>>> Currency.get("TRY") == Currency.get("949") True >>> Currency.get("949") == Currency.get("Turkish Lira") True
Quick API Reference
.. todo:: Provide the FULL API reference.