pip install currencies
python
import currencies
python
from currencies import currencies
amount = 100
converted_amount = currencies.convert(amount, 'USD', 'EUR')
print(converted_amount)
python
from currencies import currencies
amount = 100
formatted_amount = currencies.format(amount, 'USD')
print(formatted_amount)
python
from currencies import currencies
amount = 100.555
rounded_amount = currencies.round(amount, 'USD')
print(rounded_amount)
python
from currencies import currencies
supported_currencies = currencies.get_supported_currencies()
print(supported_currencies)
python
from currencies import currencies
currency_details = currencies.get_currency_details('USD')
print(currency_details)