Skip to content

Python PyQt6 project VS Code - generating report from DB (Oracle, MS SQL, Azure SQL, PostgreSQL, MySQL, MariaDB, SQLite, Amazon Aurora MySQL, Amazon Aurora PostgreSQL). Creation of schedules of NBU exchange rates by year to monitor change trends.

Notifications You must be signed in to change notification settings

ASnouk/Python_CurrencyChart-PyQt6-VS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python_CurrencyChart-PyQt6-VS

Python PyQt6 project VS Code - generating report from DB (Oracle, MS SQL, Azure SQL, PostgreSQL, MySQL, MariaDB, SQLite, Amazon Aurora MySQL, Amazon Aurora PostgreSQL). Creation of schedules of NBU exchange rates by year to monitor change trends.

IDE - Visual Studio Code

  1. Add Extensions -> Python -> Pylance -> Qt for Python

У командному рядку терміналу CMD 2) Додаємо бібліотеки -> pip install PyQt6 -> pip install pyqt6-tools -> pip install python-dateutil -> pip install matplotlib -> pip install reportlab

-> pip install psycopg2 (PostgreSQL) -> pip install mysql-connector-python (MySQL) -> pip install mariadb (MariaDB) -> pip install oracledb (Oracle) -> pip install pyodbc (MSSQL) -> pip install pymssql (MSSQL)

  1. Qt Designer Запускаємо -> pyqt6-tools designer або окремо встановлюємо https://build-system.fman.io/qt-designer-download

  2. Перетворення *.ui файлу у файл типу *.py -> На файлі MainWindow.ui - права клавіша миші - Compile Qt UI File (uic)


Створення EXE файла

  1. Ставимо pyinstaller -> pip install pyinstaller

  2. Build один EXE файл без консолі зі своєю іконкою (збірка буде у папці \dist) -> cd ...... -> pyinstaller -F -w -i "...\CurrencyChart\icon.ico" "...\CurrencyChart\main.py"

Перед кожною збіркою відаляємо \dist\ та \build\ та main.spec


Завантаження первинних курсів

About

Python PyQt6 project VS Code - generating report from DB (Oracle, MS SQL, Azure SQL, PostgreSQL, MySQL, MariaDB, SQLite, Amazon Aurora MySQL, Amazon Aurora PostgreSQL). Creation of schedules of NBU exchange rates by year to monitor change trends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published