PyQt6-WebEngine
Python bindings for the Qt WebEngine framework
What it is and what it does
PyQt6-WebEngine is a Python binding layer for Qt's WebEngine framework, which is built on Chromium. It lets you embed a full web browser engine directly into PyQt6 desktop applications, enabling you to display and interact with web content—HTML, CSS, JavaScript—from within a native GUI. The bindings wrap three separate Qt libraries and sit on top of PyQt6, so you work with familiar PyQt6 widgets and signals.
The package is distributed as prebuilt wheels for common platforms (macOS, Linux, Windows on x86_64 and ARM64), making installation straightforward in most cases. If you need to build from source, you must have Qt's qmake tool available. It requires Python 3.10 or later and depends on PyQt6, PyQt6-sip, and PyQt6-WebEngine-Qt6 (the underlying Qt libraries).
Use it for:
- Build a desktop application that displays web-based dashboards or reports without launching an external browser
- Create a hybrid desktop app combining PyQt6 native widgets with embedded web content for UI flexibility
- Develop an offline documentation viewer or help system that renders HTML content within the application
- Build a desktop wrapper around a web service or SPA that needs to run locally with system integration
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
PyQt6-WebEngine provides Python bindings to embed Chromium-based web content in PyQt6 desktop applications, letting you render and interact with web pages from Python code.
Yes, if you are building a PyQt6 desktop application and need to embed web content. The package is actively maintained, has no known vulnerabilities, and prebuilt wheels minimize install friction. However, the GPL v3 copyleft license is a hard blocker for proprietary applications unless you purchase a commercial license from Riverbank Computing Limited.
Install
pyqt6-webengine on PyPI
pip
pip install pyqt6-webengineuv
uv add pyqt6-webenginepoetry
poetry add pyqt6-webengineInstalling PyQt6-WebEngine
Before you install
Medium install friction: prebuilt wheels are available for macOS, Linux, and Windows across multiple architectures (x86_64, ARM64), but building from source requires Qt's qmake tool on PATH. Package is actively maintained with a recent release.
License in practice
Released under GPL v3 (copyleft), which means any application linking this package must also be open-source under GPL v3 unless you obtain a commercial license from Riverbank Computing Limited.
Quickstart
pip install PyQt6-WebEngine
from PyQt6.QtWidgets import QApplication, QMainWindow
from PyQt6.QtWebEngineWidgets import QWebEngineView
app = QApplication([])
view = QWebEngineView()
view.load('https://example.com')
view.show()
app.exec()
Requires Python 3.10 or later. Building from source requires Qt's qmake tool on PATH.
Verify before relying
- Whether the package works with Python versions newer than 3.10 (requires_python states >=3.10 but does not specify an upper bound)
- Performance characteristics when rendering complex or resource-heavy web pages
Package facts
| License | GPL-3.0-only (copyleft) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 3 — PyQt6-sip, PyQt6-WebEngine-Qt6, PyQt6 |
| Maintenance | actively maintained — 137 days since the last release |
| First released | |
| Downloads | 244,948/month — #8,741 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyqt6_webengine-6.11.0-cp310-abi3-macosx_10_14_universal2.whl; pyqt6_webengine-6.11.0-cp310-abi3-manylinux_2_34_x86_64.whl; pyqt6_webengine-6.11.0-cp310-abi3-manylinux_2_39_aarch64.whl; pyqt6_webengine-6.11.0-cp310-abi3-win_amd64.whl; pyqt6_webengine-6.11.0-cp310-abi3-win_arm64.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
PyQtWebEnginePyQtWebEngine provides Python bindings to embed…
copyleft · top 15,000 on PyPI
qutebrowserA keyboard-driven, vim-like web browser built…
copyleft · top 15,000 on PyPI
PyQt6PyQt6 provides Python bindings for Qt v6,…
copyleft · top 5,000 on PyPI
PyQt6-WebEngine-Qt6Provides the Qt6 runtime libraries required by…
copyleft · top 15,000 on PyPI
PyQt5PyQt5 provides Python bindings for the Qt v5…
copyleft · top 5,000 on PyPI
QtPyQtPy provides a unified API for writing Qt…
permissive · top 5,000 on PyPI
PySide2PySide2 provides Python bindings to the Qt…
copyleft · top 15,000 on PyPI
PyQt6-sipPyQt6-sip provides the runtime support module…
permissive · top 5,000 on PyPI
pyqtgraphPyQtGraph is a pure-Python graphics library for…
permissive · top 5,000 on PyPI
pywebviewpywebview wraps native webview components to…
permissive · top 5,000 on PyPI