$npx skillfedfor your agent

pywebview

Build GUI for your Python program with JavaScript, HTML, and CSS

With conditionsPyPI Python ModulesReleased Apr 20261.7M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pywebview-6.2.1-py3-none-any.whl
v6.2.1 · released 2026-04-15 · Python >=3.8 · 12 runtime deps: pythonnet, pyobjc-core, pyobjc-framework-Cocoa, pyobjc-framework-Quartz, pyobjc-framework-WebKit, pyobjc-framework-security, pyobjc-framework-UniformTypeIdentifiers, QtPy

Yes, if you want to build a cross-platform desktop GUI in Python using web technologies without heavy toolkit overhead. The package is actively maintained, has no known vulnerabilities, and uses a permissive BSD license. Install friction is low, though you may need platform-specific system libraries. It's well-suited for developers comfortable with both Python and web technologies.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Platform-specific system libraries may be required (e.g., GTK/Qt development headers on Linux); see installation guide.
  • Requires Python >=3.8.
  • Low install friction; ships as a pure-Python wheel.

License · maintenance · safety

permissive license (permissive) — BSD 3-Clause License permits commercial and private use with minimal restrictions; you may use, modify, and distribute pywebview provided you retain the copyright notice and disclaimer.

last release 2026-04-15 (121 days) · last repo commit 2026-08-11 · 5,981 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,680,813 downloads/mo, #3,657 on PyPI

Verify before relying

pip install pywebview

import pywebview
pywebview.create_window('Hello world', 'https://pywebview.flowrl.com/hello')
pywebview.start()
  • Whether the built-in HTTP server is suitable for production use or intended only for development.
  • Performance characteristics and memory footprint compared to other desktop webview frameworks.
  • Specific DOM manipulation capabilities and their scope beyond the examples shown.
Same gist for agents: .md · .json

What it is and what it does

pywebview is a lightweight wrapper around native webview components that lets you build desktop GUI applications using HTML, CSS, and JavaScript while keeping the logic in Python. It uses the platform's native rendering engine—WinForms on Windows, Cocoa on macOS, and Qt or GTK on Linux—so you don't bundle a separate browser engine, keeping executable size small. The package includes a built-in HTTP server for serving your UI, two-way communication between Python and JavaScript, DOM support, and native window management (menus, dialogs, window control).

It's designed for developers who want to leverage web technologies for UI but keep their application logic in Python. You write your interface in HTML/CSS/JavaScript and call Python functions from the frontend, or update the DOM from Python. The framework handles the platform-specific details, so the same code runs on Windows, macOS, and Linux with native look and feel.

Use it for

  • Build a cross-platform desktop application with a web-based UI without bundling a heavy GUI toolkit.
  • Create a Python tool with an HTML/CSS interface for configuration, monitoring, or data visualization.
  • Develop a native-looking desktop app that reuses existing web components or React code.
  • Wrap a Python backend service with a lightweight GUI that communicates via Python-JavaScript bridge.
  • Prototype or ship a desktop application quickly using familiar web technologies while keeping the executable small.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you want to build a cross-platform desktop GUI in Python using web technologies without heavy toolkit overhead.

The package is actively maintained, has no known vulnerabilities, and uses a permissive BSD license. Install friction is low, though you may need platform-specific system libraries. It's well-suited for developers comfortable with both Python and web technologies.

Install

pywebview on PyPI

Before you install

Low install friction; ships as a pure-Python wheel. Runtime dependencies are platform-specific (pythonnet on Windows, pyobjc frameworks on macOS, QtPy on Linux), so actual installation may require system libraries—check the installation guide for your platform.

Platform-specific system libraries may be required (e.g., GTK/Qt development headers on Linux); see installation guide. Requires Python >=3.8.

License in practice

BSD 3-Clause License permits commercial and private use with minimal restrictions; you may use, modify, and distribute pywebview provided you retain the copyright notice and disclaimer.

Quickstart

pip install pywebview

import pywebview
pywebview.create_window('Hello world', 'https://pywebview.flowrl.com/hello')
pywebview.start()

Verify before relying

  • Whether the built-in HTTP server is suitable for production use or intended only for development.
  • Performance characteristics and memory footprint compared to other desktop webview frameworks.
  • Specific DOM manipulation capabilities and their scope beyond the examples shown.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
12 packages
pythonnetpyobjc-corepyobjc-framework-Cocoapyobjc-framework-Quartzpyobjc-framework-WebKitpyobjc-framework-securitypyobjc-framework-UniformTypeIdentifiersQtPyimportlib_resourcesproxy_toolsbottletyping_extensions
MaintenanceActively maintained 121 days since the last release
Last repo commit
First released
Downloads1,680,813 / month, #3,657 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: MacOS XEnvironment :: Win32 (MS Windows)Environment :: X11 Applications :: GTKEnvironment :: X11 Applications :: QtIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces

Evidence: pywebview-6.2.1-py3-none-any.whl

Tags

Capabilities
desktop GUI with HTML and JavaScriptnative webview wrapper Pythonbuild desktop app with web technologiesPython GUI using browser renderingcross-platform desktop application frameworkHTML CSS JavaScript desktop windowPython to JavaScript bridge
Topics
desktop-guicross-platformwebview
PyPI keywords
guiwebkithtmlweb

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “desktop GUI with HTML and JavaScript”

  • pywebviewpywebview wraps native webview components to display…
  • PyQtWebEnginePyQtWebEngine provides Python bindings to embed Chromium-based web…
  • fletFlet is a Python framework for building cross-platform mobile,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also PyQtWebEngine · telepath · pysimplegui · PyQt5 · xvfbwrapper · PyQt6-WebEngine · PyGObject · wxPython · nicegui · streamlit-javascript