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)
  • 🔴 Enable JavaScript calls from Python
  • 🔴 Customize the title bar icon
  • 🔴 Set a custom taskbar icon
  • 🔴 Allow usage of custom titlebar
  • 🔴 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.3.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

dry_webview-0.1.3-cp312-none-win_amd64.whl (442.7 kB view details)

Uploaded CPython 3.12 Windows x86-64

File details

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

File metadata

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

File hashes

Hashes for dry_webview-0.1.3.tar.gz
Algorithm Hash digest
SHA256 30bd652ae43bf240ee16c4e8c3e98335ac5ea50c238f8e7fc2b0404369389b1e
MD5 2fca59685870d1e28fd7dd1d2398d3b0
BLAKE2b-256 37b94c1dec80d031835a84640d9875b1a2ed4a5758a564f6e38eefd68eef72bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dry_webview-0.1.3-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 b83e345e6dabb478c7df0b94c339af51b2e2fe9a040caa3f7f87799f8944eb63
MD5 10b07e31f3ef5643f96cad39b3840060
BLAKE2b-256 73c4ee76053eb1f635e038524d6e519289b6ccd54ffb96ec9714116186a91e73

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