{"id":13397092,"url":"https://github.com/pythonguis/pythonguis-examples","last_synced_at":"2025-05-14T11:10:55.332Z","repository":{"id":37479148,"uuid":"120960730","full_name":"pythonguis/pythonguis-examples","owner":"pythonguis","description":"Demo desktop apps built with Python \u0026 Qt. With examples for PyQt6, PySide6, PyQt5 \u0026 PySide2","archived":false,"fork":false,"pushed_at":"2025-04-01T09:21:43.000Z","size":4354,"stargazers_count":4316,"open_issues_count":17,"forks_count":1124,"subscribers_count":111,"default_branch":"master","last_synced_at":"2025-04-09T19:05:27.862Z","etag":null,"topics":["desktop","desktop-application","example-app","gui","pyqt","pyqt4","pyqt5","pyqt5-tutorial","python","python-apps","python-gui","python3","qtdesigner"],"latest_commit_sha":null,"homepage":"https://www.learnpyqt.com/examples","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pythonguis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-09T22:06:08.000Z","updated_at":"2025-04-09T17:36:16.000Z","dependencies_parsed_at":"2024-11-26T11:16:56.670Z","dependency_job_id":null,"html_url":"https://github.com/pythonguis/pythonguis-examples","commit_stats":{"total_commits":44,"total_committers":5,"mean_commits":8.8,"dds":0.09090909090909094,"last_synced_commit":"14a846e60e373b8fc81c72b665e153e3e3ddd65a"},"previous_names":["pythonguis/pythonguis-examples","pythonguis/15-minute-apps","learnpyqt/15-minute-apps","mfitzp/15-minute-apps"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonguis%2Fpythonguis-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonguis%2Fpythonguis-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonguis%2Fpythonguis-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonguis%2Fpythonguis-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythonguis","download_url":"https://codeload.github.com/pythonguis/pythonguis-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254129489,"owners_count":22019628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["desktop","desktop-application","example-app","gui","pyqt","pyqt4","pyqt5","pyqt5-tutorial","python","python-apps","python-gui","python3","qtdesigner"],"created_at":"2024-07-30T18:01:10.799Z","updated_at":"2025-05-14T11:10:50.321Z","avatar_url":"https://github.com/pythonguis.png","language":"Python","funding_links":[],"categories":["优秀示例","Python"],"sub_categories":["完整程序"],"readme":"# Python GUIs Examples\n\n**This repository contains 100s of GUI examples written in Python**. From complete working applications to reusable widgets snippets, these examples can\nbe _freely_ re-used, re-mixed and tweaked to build your own Python GUI applications.\n\nExamples are available for\n[PyQt6](https://github.com/pythonguis/15-minute-apps/tree/master/pyqt6),\n[PySide6](https://github.com/pythonguis/15-minute-apps/tree/master/pyside6),\n[PySide2](https://github.com/pythonguis/15-minute-apps/tree/master/pyside2)\nand [PyQt5](https://github.com/pythonguis/15-minute-apps/tree/master/pyqt5)\n\n\u003e Many of these examples have more detailed write-ups on the [Python GUIs website](https://www.pythonguis.com/). If you're new to creating GUI apps check out the introductory [PyQt6 tutorial](https://www.pythonguis.com/pyqt6-tutorial/) or [PySide6 tutorial](https://www.pythonguis.com/pyside6-tutorial/).\n\n## The demo apps\n\nThe apps showcase various parts of the Qt framework, including advanced widgets,\nmultimedia, graphics views and decorationless windows. However, the most\ngenerally interesting/feature complete applications are Minesweeper, Solitaire\nand Paint.\n\n1. Web Browser (untabbed) - \"MooseAche\"\n1. Web Browser (tabbed) - \"Mozzarella Ashbadger\"\n1. Minesweeper - \"Moonsweeper\"\n1. Notepad - \"No2Pads\"\n1. Calculator - \"Calculon\" (QtDesigner)\n1. Word Processor - \"Megasolid Idiom\"\n1. Webcam/Snapshot - \"NSAViewer\"\n1. Media Player - \"Failamp\"\n1. Post-it Notes - \"Brown Note\" (QtDesigner)\n1. Paint - \"Piecasso\" (QtDesigner)\n1. Unzip - \"7Pez\" (QtDesigner)\n1. Translator - \"Translataarrr\" (QtDesigner)\n1. Weather - \"Raindar\" (QtDesigner)\n1. Currency converter - \"Doughnut\" (PyQtGraph)\n1. Solitaire - \"Ronery\" (QGraphicsScene)\n\n## The widgets\n\n\n![Graphical Equalizer](https://i.imgur.com/0F2ZgqE.gif)\n**Graphical Equalizer** Visualize audio frequency changes with configurable styles and decay.\n\n![Power Meter](https://i.imgur.com/0dpZIMV.gif)\n**Power Bar** Rotary control with amplitude display.\n\n![Palette](https://cdn.learnpyqt.com/media/images/Screenshot_2019-06-15_at_15.18.14.max-500x500.png)\n**Palette** Select colors from a configurable linear or grid palette.\n\n![Gradient Editor](https://cdn.learnpyqt.com/media/images/Screenshot_2019-06-15_at_18.32.52.max-500x500.png)\n**Linear Gradient Editor** Design custom linear gradients with multiple stops and colors.\n\n**Color Button** Simple button that displays and selects colors.\n\n**Paint** Draw pictures with a custom bitmap canvas, with color and pen control.\n\n**Password Edit** A password line editor with toggleable visibility action.\n\n![Toggle Widget](https://i.imgur.com/rHrkkG3.gif)\nReplace checkboxes with this handy toggle widget, with custom colors and optional animations.\n\n## The tutorials\n\nAs well as the complete apps \u0026 re-usable widgets we've got selection of code snippets taken from tutorials on the [Python GUIs](https://www.pythonguis.com) website. These guide you through building GUIs with PyQt, PySide and other libraries.\n\n## Getting started\n\nTo use each app you first need to install the requirements. In most cases\nthe only requirements are the GUI library and occasionally requests. To install\nexample specific requirements change to the folder of the example and run:\n\n    pip3 install -r requirements.txt\n\nOnce the requirements are installed, you can run the app. Every example in this repo comes with a main Python file called `main.py` to keep things simple.\n\n    python3 main.py\n\nThe application window should appear.\n\n## Want to build your own apps?\n\n\u003e If you think these apps are neat and want to learn more about\ntake a look at my [PyQt6 tutorial](https://www.pythonguis.com/pyqt6-tutorial)\nwhich covers everything you need to know to start building your own applications with Python.\n\nYou can also find more write-ups and tips [on the same site](http://www.pythonguis.com/).\n\n## License\n\nAll 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.\n\n## Other licenses\n\nIcons used in the applications are by [Yusuke Kamiyaman](http://p.yusukekamiyamane.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonguis%2Fpythonguis-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonguis%2Fpythonguis-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonguis%2Fpythonguis-examples/lists"}