Skip to content

Gajeee/GHUB-EXCHANGE-RATE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Ghub Exchange

Python Tkinter Requests Pytz

Ghub Exchange is a lightweight and minimal currency exchange rate tracker that runs in the background. It provides real-time exchange rate data and local time information for selected countries. It also displays how the exchange rates have changed over the past 24 hours, making it an efficient tool for tracking currency fluctuations in an easy-to-read interface.

Features

  • Real-time Exchange Rates: View exchange rates for MYR, SGD, USD, and CNY.
  • Local Time Tracking: Displays the local time for Malaysia, Singapore, New York, and China.
  • 24-Hour Exchange Rate History: Tracks and shows how exchange rates have changed in the past 24 hours with up or down indicators.
  • Minimalistic UI: Simple and clean interface for easy access to the information you need.
  • Background Running: The app runs in the background, periodically updating the exchange rates and time.

How It Works

The app fetches exchange rate data from a public API (Exchangerate-API) and displays the rates for MYR, SGD, USD, and CNY, relative to USD. It also shows the local time for Malaysia, Singapore, New York, and China. The app automatically updates these values every second.

  1. Exchange Rates: It fetches the latest exchange rates for MYR, SGD, USD, and CNY.
  2. Time: Displays the local time for four different countries using time zones.
  3. 24-Hour History: Tracks and compares the current exchange rate with the value from 24 hours ago to show the movement (⇡ or ⇣).
  4. UI: The information is shown in a clean and easy-to-read format using a GUI with tables for exchange rates and time.

UI Screenshots

Below are screenshots of the app's user interface:

UI Screenshot 1 UI Screenshot 2

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/yourusername/ghub-exchange.git
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Run the application:

    python Ghub_Exchange.py

Requirements

  • Python Python 3.x
  • Tkinter Tkinter (for GUI)
  • Requests Requests (for fetching exchange rates)
  • Pytz Pytz (for time zone handling)

Releases

No releases published

Packages

No packages published

Languages