pythonguis / 15-minute-apps

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

Home Page:https://www.learnpyqt.com/examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://www.learnpyqt.com/examples

License:MIT License


Languages

Language:Python 100.0%Language:Shell 0.0%