pip install currencies
python
import currencies
python
amount = currencies.convert(100, 'USD', 'EUR')
python
formatted_amount = currencies.format(100, 'USD', decimal_places=2, symbol=True)
python
rate = currencies.get_rate('USD', 'EUR')
python
currencies.set_default_currency('USD')
amount = currencies.convert(100, 'EUR')