A simple command-line currency converter built with Python. This application uses exchange rate data from the Frankfurter API to convert currencies and display the latest available reference rates.
- Convert between different currencies.
- Retrieve exchange rates from an API.
- Display conversion results.
- Show exchange rate dates.
- Input validation.
- Error handling for API connection issues.
- Colorful terminal interface.
- Multiple conversions in one session.
- Python
- Requests
- Colorama
- Frankfurter API
python-currency-converter/
│
├── app.py
├── requirements.txt
├── README.md
└── .gitignore
git clone https://github.com/pradipta-web/python-currency-converter.gitcd python-currency-converterpy -m venv venvvenv\Scripts\python.exe -m pip install -r requirements.txtvenv\Scripts\python.exe app.pyPYTHON CURRENCY CONVERTER
Enter amount: 100
From currency (e.g. USD): USD
To currency (e.g. IDR): IDR
CONVERSION RESULT
Amount: 100.00 USD
Exchange Rate: ...
Result: ... IDR
Rate Date: ...
This project uses the Frankfurter API to retrieve exchange rate information.
API Documentation: https://frankfurter.dev/
Kinervaaa
GitHub: https://github.com/pradipta-web