skillfed

PyQtWebEngine

Python bindings for the Qt WebEngine framework

pyqtwebengine v5.15.7 305.9K downloads/30d#7,790 on PyPI
Copyleft license GPL v3 DORMANT released

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 pyqtwebengine

uv

uv add pyqtwebengine

poetry

poetry add pyqtwebengine

Installing 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

embed web browser in python guiqt webengine python bindingschromium web content pyqt5html rendering desktop applicationweb view in pyqt5 app
gui-frameworkweb-embeddingchromium

More Application Frameworks packages