Skip to content

Learn how to create a simple asynchronous PyQt GUI Application

License

Notifications You must be signed in to change notification settings

mochisue/pyqt-async-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyqt-async-sample

Learn how to create a simple asynchronous PyQt GUI Application.

This demo program shows python print() Function on the screen, making it easy to understand how asynchronous processing works.

demo

You'll learn how to

  • create a simple GUI applications with PyQt’s thread support
  • implement asynchronous processing that can be safely started and stopped
  • display the standard output process on the PyQt screen
  • make it possible to display a progress bar

Usage

Install

The following command will install the latest version of a module and its dependencies.

pip install git+https://github.com/mochisue/pyqt-async-sample.git

Run GUI

The following command will launch the GUI application. You can also do the same by running the sample.py program.

pyqtasync_gui

Sample program

I have placed the Mac OS X application here, sorry, but it is not notarized. This is created with pyinstaller.

Note

When it comes to progress bars in python, tqdm is famous, but this time I dared to use progress. The reason is that tqdm, pyqt, and pyinstaller are not compatible.

Author

mochisue

Licence

MIT