This Python project aims to provide a user-friendly Graphical User Interface (GUI) for converting currency from one currency to any other currency in real-time. The program utilizes the customtkiter
library for GUI development and the forex-python
library for currency conversion.
- Real-time currency conversion with a single button click.
- User-friendly interface for input and output currency values.
- Supports conversion between a wide range of currencies.
Before running the program, ensure you have the following libraries installed:
You can install the required libraries using the following command:
pip install -r requirements.txt
The requirements.txt file is present in this repo itself.
- Clone this repository to your local machine.
- Install the required libraries as mentioned in the "Prerequisites" section.
- Run the
CurrencyConverter.py
script to launch the GUI application.
- Import the necessary modules from
customtkiter
andforex_python
. - Create a GUI window with input and output currency value fields, along with a "Convert" button.
- Implement the currency conversion function using the
forex_python
library. - Link the "Convert" button to call the conversion function and update the output currency value field accordingly.
- The program requires an active internet connection to access real-time currency conversion rates.
- Currency conversion rates may vary based on the API used.
- Due to the limitations of the Google Translate API, extensive usage may be rate-limited.
- The GUI library has set limitations, demining the applications' user-friendly aspect.
Contributions to improve the project, adding new features, fixing bugs, or enhancing the GUI are welcome. Just create a pull request, and we'll review it together.
This project is licensed under the MIT License. See the LICENSE file for details.