This guide covers every step needed to install and configure Wert App from scratch, including Python version requirements, all pip packages, MySQL database creation, and theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/lucavallini/wert-app/llms.txt
Use this file to discover all available pages before exploring further.
passwordBDD.txt password file. Follow the steps in order — each one builds on the previous.
Verify your Python version
Wert App requires Python 3. Confirm your installation before proceeding.You should see output such as
- Windows
- macOS / Linux
Python 3.10.12. Any Python 3.x release is supported. If Python is not installed, download it from python.org.Install Python dependencies
Wert App depends on three third-party packages. Install them all with a single command.
| Package | Purpose |
|---|---|
PyQt5 | Desktop GUI framework — all windows and widgets |
mysql-connector-python | MySQL database connectivity |
requests | HTTP calls to ExchangeRate API and World Bank API |
- Windows
- macOS / Linux
Install and start MySQL
Wert App connects to MySQL on Verify the service is running before continuing.
localhost at port 3306 as the root user. You need a running MySQL server before launching the app.- Windows
- macOS
- Linux
Download and run the MySQL Installer from dev.mysql.com. Choose the Server Only option. The installer sets up the service automatically.
Create the database
Log in to MySQL and create the Once logged in, run:You do not need to create any tables manually. The application calls
registro_usuarios database. Wert App uses this exact name — do not change it.setTables() on startup, which runs the following schema automatically:Create the passwordBDD.txt file
The database connection reads your MySQL root password from a plain-text file named Replace The connection parameters are:
passwordBDD.txt in the project root. This file must exist before you run the app.Create the file and write your MySQL password into it:- Windows (Command Prompt)
- macOS / Linux
your_mysql_password with the actual password you set for the MySQL root user during installation.For reference, here is how database/conexion.py reads this file and constructs the connection:database/conexion.py
| Parameter | Value |
|---|---|
host | localhost |
port | 3306 |
user | root |
database | registro_usuarios |
password | Read from passwordBDD.txt |
Run the application
From the project root directory, launch the app:On macOS or Linux, use The application will:
python3 if python points to Python 2:- Read
passwordBDD.txtand open a MySQL connection. - Run
setTables()to create theusuariosandnotastables if they do not exist. - Open the login window.
passwordBDD.txt contains the correct password.Troubleshooting common issues
| Symptom | Likely cause | Fix |
|---|---|---|
| App crashes immediately with a file error | passwordBDD.txt is missing or in the wrong directory | Create the file in the same folder as main.py |
mysql.connector.errors.ProgrammingError | Database registro_usuarios does not exist | Run CREATE DATABASE registro_usuarios; in MySQL |
Access denied for user 'root' | Wrong password in passwordBDD.txt | Update passwordBDD.txt with the correct MySQL root password |
| Login window appears but login always fails | Tables were not created | Confirm setTables() ran without errors; check the console output |
Next steps
Quickstart
A condensed walkthrough if you want the shortest path to a running app.
Introduction
Overview of all features, who the app is for, and the full technology stack.