Skip to content

HIllya51/webviewpy

Repository files navigation

webviewpy

A tiny webview library for Python.

Based on webview

Getting started

Install

pip install webviewpy

Usage

Build a webview based app

Embed a webview in PyQt

Embed a webview in tkinter

Embed a webview in win32 window

Build a webview based app with react and PyQt

Specify library path

Wheel includes pre-built libraries of Windows/Linux/Macos, and libraries are placed at platform/{sys.platform}/{x86|x64}/webview.

To specify a self-built library or use other platform's library, use api declare_library_path like this:

from webviewpy import declare_library_path
declare_library_path(
    r"C:\build\library\webview.dll"
)