/demo-python-gui-application

Primary LanguagePythonMozilla Public License 2.0MPL-2.0

Python CLI and GUI Application with Database Demo

Python GUI Application with Database Demo

This is only for demo and reference. Only inputs on the left most column work now!

Installation

Install with pip or download the pre-compiled executable file from here.

pip install git+https://github.com/changyuheng/python-cli-and-gui-application-with-database-demo.git

Usage

CLI

cli-demo

Desktop

desktop-demo

Development

Environment

  1. Python 3.9+
  2. Poetry
  3. PyCharm
  4. Git

Setup

pip install poetry
poetry install

Packaging

CLI app

poetry run pyinstaller --clean cli-demo.spec

Desktop app

poetry run pyinstaller --clean desktop-demo.spec

Key libraries

  1. dataset
  2. Qt for Python

Design concepts

  1. Object-oriented programming
  2. Model–view–viewmodel (MVVM)

References

  1. My Python Development Environment, 2020 Edition

License

Mozilla Public License Version 2.0