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.7.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

dry_webview-0.1.7-cp312-none-win_amd64.whl (372.1 kB view details)

Uploaded CPython 3.12 Windows x86-64

File details

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

File metadata

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

File hashes

Hashes for dry_webview-0.1.7.tar.gz
Algorithm Hash digest
SHA256 fdc870ca7c1720bdfcb994b012cb9418a88b9d562b032ddebe4328393c98eab9
MD5 c22aa59aedfc8352a6b3d7946edd1a6d
BLAKE2b-256 fac88fb5302c0aa93d60690bb929025eb130e4c7f6e501f3cb3141727644f48b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dry_webview-0.1.7-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 a15982ff74bb91d946f399f48957a797b8b42052bf3d0c36465176bfa485cd5d
MD5 c3231e25337303dd20845d6aae5a2145
BLAKE2b-256 8e60695a84531a2029d56b546e088a94caab617d5274e667593366384947eeb5

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