Skip to main content

No project description provided

Project description

Dry: a tiny webview library for Python

Dry is an attempt to provide a minimalistic webview library for Python, designed to be as simple as possible and to have no dependencies other than its binary. It is powered by Rust, Maturin and PyO3, being built on top of Wry and Tao.

Installation

Dry installation has been tested with pip and uv:

pip install dry-webview
uv add dry-webview

Usage

Here is a simple example of how to use Dry:

from dry import Webview

wv = Webview()
wv.title = "Hello, World!"
wv.content =  "https://www.example.com" or "<h1>Hello, World!</h1>"
wv.run()

A more complete example can be found in the examples directory.

Status

Dry is in early stages of development and it has been tested and compiled only for Windows. There may be bugs or missing functionality. Breaking changes may occur in future releases.

Roadmap

Legend:
🟢 Already implemented — 🟡 In progress — 🔴 Not started

Features

  • 🟢 Render HTML content
  • 🟢 Load HTTP/HTTPS content
  • 🟢 Call Python functions from JavaScript
  • 🟢 Enable dev mode (dev tools and auto reload)
  • 🟢 Customize the titlebar/taskbar icon
  • 🟢 Allow usage of custom titlebar
  • 🔴 Enable JavaScript calls from Python
  • 🔴 Store and manage global state in Python
  • 🔴 Support PyInstaller

Platform Compatibility

  • 🟢 Windows support
  • 🔴 Linux support
  • 🔴 MacOS support

Python Compatibility

  • 🔴 CPython 3.13
  • 🟢 CPython 3.12
  • 🔴 CPython 3.11

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dry_webview-0.1.6.tar.gz (40.9 kB view details)

Uploaded Source

Built Distribution

dry_webview-0.1.6-cp312-none-win_amd64.whl (371.8 kB view details)

Uploaded CPython 3.12 Windows x86-64

File details

Details for the file dry_webview-0.1.6.tar.gz.

File metadata

  • Download URL: dry_webview-0.1.6.tar.gz
  • Upload date:
  • Size: 40.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for dry_webview-0.1.6.tar.gz
Algorithm Hash digest
SHA256 89aa5e477fc4085a69873a82cb62d49cc3fff80a2fe797ed53b732bec6f9a57c
MD5 a2980e44073568bef20e43b93f6735f5
BLAKE2b-256 ef56991596914bb9f122bd48fec3ed75fbf0ac84aa3a3264dbee271a00303353

See more details on using hashes here.

File details

Details for the file dry_webview-0.1.6-cp312-none-win_amd64.whl.

File metadata

File hashes

Hashes for dry_webview-0.1.6-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 5cdab3b7fea1fbc293891cafb9e2b090c0ec643913211dd5a4fc8899ac0068c1
MD5 3a2a9469b12f0185214ca6e9d40e5a52
BLAKE2b-256 b820a23056afdced5445138f2b5287cc7fb1b92a849d148041feb20ca3aa70ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page