- Notifications
You must be signed in to change notification settings - Fork1.1k
Demo desktop apps built with Python & Qt. With examples for PyQt6, PySide6, PyQt5 & PySide2
License
pythonguis/pythonguis-examples
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains 100s of GUI examples written in Python. From complete working applications to reusable widgets snippets, these examples canbefreely re-used, re-mixed and tweaked to build your own Python GUI applications.
Examples are available forPyQt6,PySide6,PySide2andPyQt5
Many of these examples have more detailed write-ups on thePython GUIs website. If you're new to creating GUI apps check out the introductoryPyQt6 tutorial orPySide6 tutorial.
The apps showcase various parts of the Qt framework, including advanced widgets,multimedia, graphics views and decorationless windows. However, the mostgenerally interesting/feature complete applications are Minesweeper, Solitaireand 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)
Graphical Equalizer Visualize audio frequency changes with configurable styles and decay.
Power Bar Rotary control with amplitude display.
Palette Select colors from a configurable linear or grid palette.
Linear Gradient Editor Design custom linear gradients with multiple stops and colors.
Color Button Simple button that displays and selects colors.
Paint Draw pictures with a custom bitmap canvas, with color and pen control.
Password Edit A password line editor with toggleable visibility action.
Replace checkboxes with this handy toggle widget, with custom colors and optional animations.
As well as the complete apps & re-usable widgets we've got selection of code snippets taken from tutorials on thePython GUIs website. These guide you through building GUIs with PyQt, PySide and other libraries.
To use each app you first need to install the requirements. In most casesthe only requirements are the GUI library and occasionally requests. To installexample specific requirements change to the folder of the example and run:
pip3 install -r requirements.txt
Once the requirements are installed, you can run the app. Every example in this repo comes with a main Python file calledmain.py
to keep things simple.
python3 main.py
The application window should appear.
If you think these apps are neat and want to learn more abouttake a look at myPyQt6 tutorialwhich covers everything you need to know to start building your own applications with Python.
You can also find more write-ups and tipson the same site.
All code islicensed 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 byYusuke Kamiyaman.
About
Demo desktop apps built with Python & Qt. With examples for PyQt6, PySide6, PyQt5 & PySide2
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.