Forex Python is a Free Foreign exchange rates and currency conversion. Features: List all currency rates. BitCoin price for all curuncies. Converting amount to BitCoins. Get historical rates for any day since 1999. Conversion rate for one currency(ex; USD to INR). Convert amount from one currency to other.(‘USD 10$’ to INR). Currency symbols. Currency names.
Installation
$ pip install forex-python
Usage Example
from forex_python.converter import CurrencyRates
c = CurrencyRates()
price_list = c.get_rates('USD') # you can directly call get_rates('USD')
USD_CNY = c.get_rate('USD', 'CNY')
print(price_list)
print(USD_CNY)
Ref: https://forex-python.readthedocs.io/en/latest/usage.html