learnpyqt/15-minute-apps
15 minute (small) desktop apps built with PyQt
repo name | learnpyqt/15-minute-apps |
repo link | https://github.com/learnpyqt/15-minute-apps |
homepage | https://www.learnpyqt.com/examples |
language | Python |
size (curr.) | 2909 kB |
stars (curr.) | 2054 |
created | 2018-02-09 |
license | MIT License |
15 Minute Apps
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.
Many of these apps have more detailed write-ups on my PyQt5/PySide2 site at LearnPyQt.com. If you’re new to creating GUI apps check out the introductory pyqt5 tutorial.
The apps
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)
Getting started
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.
Want to build your own apps?
If you think these apps are neat and want to learn more about PyQt in general, take a look at my PyQt5 tutorial which covers everything you need to know to start building your own applications with PyQt.
You can also find write-ups about these “minute apps” on the same site.
License
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.
Other licenses
Icons used in the applications are by Yusuke Kamiyaman.