skillfed

PyQt6-WebEngine

Python bindings for the Qt WebEngine framework

pyqt6-webengine v6.11.0 244.9K downloads/30d#8,741 on PyPI
Copyleft license GPL-3.0-only Active released

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-webengine

uv

uv add pyqt6-webengine

poetry

poetry add pyqt6-webengine

Installing 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

embed web browser in desktop appchromium webengine python bindingspyqt web content renderingqt webengine python wrapperdesktop app with embedded browser
gui-frameworkweb-embeddingdesktop-app

More Application Frameworks packages