Forex-python is used to get exchange rate of the currency pairs. Simple python code gives you the current exchange rate and last one year exchange rates for the selected currency pair.