PyQtWebEngine
Python bindings for the Qt WebEngine framework
What it is and what it does
PyQtWebEngine is a Python wrapper around Qt's WebEngine framework, which is built on Chromium. It lets you embed a full web browser engine directly into PyQt5 applications, enabling you to display web pages, run JavaScript, and interact with web content from Python code. The package sits on top of PyQt5 and exposes the WebEngine API through three separate modules corresponding to the underlying Qt libraries.
Typical use is in desktop applications that need to display HTML-based UIs, render web content, or provide a browser-like experience without launching an external browser. Installation is straightforward on common platforms via pre-built wheels, though building from source requires Qt's build tools. The package depends on PyQt5, PyQt5-sip, and PyQtWebEngine-Qt5.
Use it for:
- Build a desktop application with an HTML/CSS-based user interface embedded in a native PyQt5 window.
- Display web content (news feeds, documentation, dashboards) within a standalone Python application.
- Create a custom browser or document viewer that combines web rendering with Python backend logic.
- Embed interactive web-based visualizations or data dashboards in a PyQt5 application.
- Develop cross-platform desktop tools that reuse existing web technologies and frameworks.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
PyQtWebEngine provides Python bindings to embed Chromium-based web content in PyQt5 desktop applications, allowing you to render HTML, CSS, and JavaScript within native GUI windows.
Yes, if you need to embed web content in a PyQt5 desktop application and can accept the GPL v3 copyleft requirement (or purchase a commercial license for proprietary use). The package is stable and widely used, but be aware it is dormant—no updates in 756 days—so expect no active maintenance or support for new Qt/Chromium versions. Suitable for existing projects; less ideal if you need ongoing updates.
Install
pyqtwebengine on PyPI
pip
pip install pyqtwebengineuv
uv add pyqtwebenginepoetry
poetry add pyqtwebengineInstalling PyQtWebEngine
Before you install
Medium install friction: requires PyQt5, PyQt5-sip, and PyQtWebEngine-Qt5 as runtime dependencies. Pre-built wheels exist for common platforms (macOS arm64/x86_64, Linux x86_64, Windows 32/64-bit), but building from source requires Qt's qmake tool on PATH. Package is dormant—last release was 756 days ago.
License in practice
Released under GPL v3 (copyleft). This means any application linking PyQtWebEngine must either be GPL-licensed or use the commercial license from Riverbank Computing. Proprietary applications require a paid commercial license.
Quickstart
pip install PyQtWebEngine
from PyQt5.QtWidgets import QApplication, QMainWindow
from PyQt5.QtWebEngineWidgets import QWebEngineView
app = QApplication([])
window = QMainWindow()
view = QWebEngineView()
view.load("https://example.com")
window.setCentralWidget(view)
window.show()
app.exec_()
Requires PyQt5 and its dependencies (Qt5 libraries) to be installed; qmake must be on PATH if building from source sdist.
Verify before relying
- Whether the 756-day gap since last release indicates active maintenance or abandoned status.
- Performance characteristics and memory footprint when embedding multiple web views.
- Compatibility with recent Qt5 and Chromium versions beyond what the version number suggests.
Package facts
| License | GPL v3 (copyleft) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 3 — PyQt5-sip, PyQtWebEngine-Qt5, PyQt5 |
| Maintenance | dormant — 756 days since the last release |
| First released | |
| Downloads | 305,945/month — #7,790 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: PyQtWebEngine-5.15.7-cp38-abi3-macosx_11_0_arm64.whl; PyQtWebEngine-5.15.7-cp38-abi3-macosx_11_0_x86_64.whl; PyQtWebEngine-5.15.7-cp38-abi3-manylinux_2_17_x86_64.whl; PyQtWebEngine-5.15.7-cp38-abi3-win32.whl; PyQtWebEngine-5.15.7-cp38-abi3-win_amd64.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
PyQt6-WebEnginePyQt6-WebEngine provides Python bindings to…
copyleft · top 15,000 on PyPI
pywebviewpywebview wraps native webview components to…
permissive · top 5,000 on PyPI
qutebrowserA keyboard-driven, vim-like web browser built…
copyleft · top 15,000 on PyPI
PyQt5PyQt5 provides Python bindings for the Qt v5…
copyleft · top 5,000 on PyPI
PyQt6PyQt6 provides Python bindings for Qt v6,…
copyleft · top 5,000 on PyPI
PySide2PySide2 provides Python bindings to the Qt…
copyleft · top 15,000 on PyPI
pyqtgraphPyQtGraph is a pure-Python graphics library for…
permissive · top 5,000 on PyPI
PyQt6-WebEngine-Qt6Provides the Qt6 runtime libraries required by…
copyleft · top 15,000 on PyPI
PySide6-EssentialsPySide6 Essentials provides Python bindings to…
copyleft · top 5,000 on PyPI
rendercanvasRendercanvas provides a unified canvas API that…
unclear · top 15,000 on PyPI