• Stars
    star
    4,112
  • Rank 10,549 (Top 0.3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 6 years ago
  • Updated 29 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Demo desktop apps built with Python & Qt. With examples for PyQt6, PySide6, PyQt5 & PySide2

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.

  1. Web Browser (untabbed) - "MooseAche"
  2. Web Browser (tabbed) - "Mozzarella Ashbadger"
  3. Minesweeper - "Moonsweeper"
  4. Notepad - "No2Pads"
  5. Calculator - "Calculon" (QtDesigner)
  6. Word Processor - "Megasolid Idiom"
  7. Webcam/Snapshot - "NSAViewer"
  8. Media Player - "Failamp"
  9. Post-it Notes - "Brown Note" (QtDesigner)
  10. Paint - "Piecasso" (QtDesigner)
  11. Unzip - "7Pez" (QtDesigner)
  12. Translator - "Translataarrr" (QtDesigner)
  13. Weather - "Raindar" (QtDesigner)
  14. Currency converter - "Doughnut" (PyQtGraph)
  15. 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.