# PyQt5/PyQt

PyQt Examples（PyQt各种测试和例子） PyQt4 PyQt5

Repository: https://github.com/PyQt5/PyQt
Canonical: https://ross.abutalabs.com/products/pyqt
Language: Python
License: LGPL-2.1
License Family: copyleft
Topics: pyqt5, python, pyqt4, qwidget-qss, qwidget, qss, pyside, pyqt5-tutorial
Last push: 2025-12-30T13:47:23+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 59, release rhythm 35, longevity 100
- inputs: {"age_days": 3443, "days_push": 246, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7144, forks 1968 (observed 2026-08-28T04:09:56.199981+00:00)

## What it is
A large collection of PyQt4/PyQt5 example programs and tests demonstrating widgets, layouts, custom controls, and QSS styling in Python. It serves as a tutorial-style reference repository for learning PyQt5 desktop GUI development.

## Use cases
- learn pyqt5 with example code
- find qss stylesheet examples for qwidgets
- see how to build custom qt widgets in python
- examples of qtableview and qtreeview usage
- pyqt layout examples like qgridlayout and qvboxlayout
- reference for building desktop guis in python

## When to choose
- you are learning PyQt5/PySide and want runnable examples per widget
- you need copy-paste snippets for layouts, buttons, item views, or QSS styling
- you want a broad catalog of Qt widget techniques in Python

## When to avoid
- you need a production-ready GUI framework or library rather than examples
- you are building web or mobile interfaces
- you need official Qt documentation or API references

## Facets
- artifact type: learning-resource
- maturity: active
- function: ui-components, developer-tools
- domain: desktop-applications, tutorials, cross-platform
- platform: python, cross-platform
- tags: pyqt5, pyqt4, pyside, qss, qt-examples, gui-examples, chinese-documentation, desktop

## Member repositories
- PyQt5/PyQt (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:56.199981+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:01.440762+00:00, confidence not recorded.
  - readme: https://github.com/PyQt5/PyQt (fetched 2026-08-28T04:09:56.199981+00:00, sha 78cf2d8b50d6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
