A collection of 15 small โ minute โ desktop applications written in Python using the PyQt framework. These apps are intended as examples from which you can poke, hack and prod your way to writing your own tools.
If you think these apps are neat and want to learn more about PyQt in general, take a look at my ebook & online course "Create Simple GUI Applications" which covers everything you need to know to start building your own applications with PyQt.
You can also find more PyQt articles, tutorials and projects on my website.
The apps showcase various parts of the Qt framework, including advanced widgets, multimedia, graphics views and decorationless windows. However, the most generally interesting/feature complete applications are Minesweeper, Solitaire and Paint.
- Web Browser (untabbed) - "MooseAche"
- Web Browser (tabbed) - "Mozzarella Ashbadger"
- Minesweeper - "Moonsweeper"
- Notepad - "No2Pads"
- Calculator - "Calculon" (QtDesigner)
- Word Processor - "Megasolid Idiom"
- Webcam/Snapshot - "NSAViewer"
- Media Player - "Failamp"
- Post-it Notes - "Brown Note" (QtDesigner)
- Paint - "Piecasso" (QtDesigner)
- Unzip - "7Pez" (QtDesigner)
- Translator - "Translataarrr" (QtDesigner)
- Weather - "Raindar" (QtDesigner)
- Currency converter - "Doughnut" (PyQtGraph)
- Solitaire - "Ronery" (QGraphicsScene)
To use each app you first need to install the requirements. In most cases the only requirements are PyQt5, and occasionally requests. To install app-specific requirements change to the folder of the app and run:
pip3 install -r requirements.txt
Once the requirements are installed, you can run the app using Python 3.
python3 <filename>.py
The application window should appear.
All code is licensed under an MIT license. This allows you to re-use the code freely, remixed in both commercial and non-commercial projects. The only requirement is to include the same license when distributing.
Icons used in the applications are by Yusuke Kamiyaman.