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

Uploaded Source

Built Distribution

dry_webview-0.1.5-cp312-none-win_amd64.whl (367.8 kB view details)

Uploaded CPython 3.12 Windows x86-64

File details

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

File metadata

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

File hashes

Hashes for dry_webview-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d82d6fd8a595c4908bde01ad2cc118be86f01e97f794e08cbf0a741185bad7ad
MD5 6df4e6dc9f12a3b8baaa4a9894ec97eb
BLAKE2b-256 fc130d29abbe54bd5fd06fe09c0d9192caab187b139a515d96629895ce692453

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dry_webview-0.1.5-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 08b5a218c9399ce2c6893ba1290250be17a2a9f4e74687d450cbb08f3f51901b
MD5 2ead7852a957a82be829ed7819b31c92
BLAKE2b-256 ac0ed67054962f694f6a49193c69e697d07ecfd84004052329c39498d7e34bc1

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