# Database
# NOTE: Modify the username and password if needed
DB_HOST = "localhost"
DB_NAME = "itp4459_asg"

DB_USER = "db_user"
DB_PASS = "db_user_pass"

# Tkinter GUI
APP_NAME = "GPA Calculator"
APP_MAX_MODULES = 7

# Application logic
GPA_MAPPING = {
    "A": 4,
    "A-": 3.7,
    "B+": 3.3,
    "B": 3,
    "B-": 2.7,
    "C+": 2.3,
    "C": 2,
    "C-": 1.7,
    "D+": 1.3,
    "D": 1,
    "F": 0
}
