This is unofficial exchangerate.host python client library.
exchangerate.host is a simple and lightweight free service for current and historical foreign exchange rates & crypto exchange rates.
- Using pip 
pip install exchangerate-client 
- Get all currency symbols
 
import exchangerate
client = exchangerate.ExchangerateClient()
print(client.symbols())
- Get latest rates
 
import exchangerate
client = exchangerate.ExchangerateClient()
print(client.latest())
This package uses tox to run testing automation against multiple python versions, to install and run tox, use
pip install tox
tox
- Install to local env with 
pip install --editable . - Then this will work 
python -c "import exchangerate"