HTML/CSS viewer for Tkinter
Project description
TkinterWeb
A fast and lightweight cross-platform webbrowser for Tkinter.
Overview
TkinterWeb offers bindings for the Tkhtml3 widget from http://tkhtml.tcl.tk/tkhtml.html, which enables loading HTML and CSS code into Tkinter applications.
All major operating systems running Python 3+ are supported.
Usage
TkinterWeb provides a webbrowser frame, a label widget capable of displaying styled HTML, and an HTML-based geometry manager.
TkinterWeb can be used in any Tkinter application. Here is an example:
import tkinter as tk #import Tkinter
from tkinterweb import HtmlFrame #import the HTML browser
root = tk.Tk() #create the tkinter window
frame = HtmlFrame(root) #create HTML browser
frame.load_website("http://tkhtml.tcl.tk/tkhtml.html") #load a website
frame.pack(fill="both", expand=True) #attach the HtmlFrame widget to the parent window
root.mainloop()
Refer to the GitHub home page for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file tkinterweb-3.24.7.tar.gz
.
File metadata
- Download URL: tkinterweb-3.24.7.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e906e9d1b52971dbe4208ddf88ad530fa309f7017144f4061129b8058928993 |
|
MD5 | 4597ca73699e7fae4425284944ebec8a |
|
BLAKE2b-256 | ce723437cc5127841e241f8cf69624c50f9b12dac6df5726b4889f773ab87e57 |
File details
Details for the file tkinterweb-3.24.7-py3-none-win_amd64.whl
.
File metadata
- Download URL: tkinterweb-3.24.7-py3-none-win_amd64.whl
- Upload date:
- Size: 398.7 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83626b059d964242f23587797e09afc863e75b6a20b3f9f177ce03a425c1d154 |
|
MD5 | 6e3cd0252629c9894753e3f6e37acc2d |
|
BLAKE2b-256 | 4da4d4af49f3d658e8033696407c66b70f1f99cef9212b328549509f308a6a6a |
File details
Details for the file tkinterweb-3.24.7-py3-none-win32.whl
.
File metadata
- Download URL: tkinterweb-3.24.7-py3-none-win32.whl
- Upload date:
- Size: 398.2 kB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 257d11003ae398990871bf852f8375b2ba7cbe9b5c0d2eeb81adc00ab83af4fc |
|
MD5 | dd8f398f063161a9bdd7356c5593ae65 |
|
BLAKE2b-256 | 8206ba0e243649eec8870033a1c4b650be55ae86b83e2b388125aa04f5d94b6e |
File details
Details for the file tkinterweb-3.24.7-py3-none-manylinux1_x86_64.whl
.
File metadata
- Download URL: tkinterweb-3.24.7-py3-none-manylinux1_x86_64.whl
- Upload date:
- Size: 301.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a23e9956e184e3f26ac57de4c0d9abc95415ec917157d6ae4015a59f3a7e8d5 |
|
MD5 | 061c7b0772c7f032e9f70b0910f56931 |
|
BLAKE2b-256 | 55a842f84224bc0c031cd7f9101bb6d406a8fd0f232de3398415c5f0c4c79a00 |
File details
Details for the file tkinterweb-3.24.7-py3-none-manylinux1_i686.whl
.
File metadata
- Download URL: tkinterweb-3.24.7-py3-none-manylinux1_i686.whl
- Upload date:
- Size: 305.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 292e32232db9d6b2fd48ea2e46d0b1cecef6589c1add1e9efb99ff5b121f3913 |
|
MD5 | aebc9ec97e1243261e1fc251392cd28a |
|
BLAKE2b-256 | 0f40a40a6d9ab43a780cbf87c3d8b95b3914b43bbc160162c42160cf3c609a83 |
File details
Details for the file tkinterweb-3.24.7-py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: tkinterweb-3.24.7-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 260.4 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c9fdc2e7163af4483e95e56d3d0fb426057747551b1d38ba6765e9fcf95790a |
|
MD5 | 3763b09704ab4b3c2b8f0ca0ae30ebf2 |
|
BLAKE2b-256 | 430cce03ec65f8bd9b4e74a8ac4952ce4a027144fe743f3e792d9cb0b5baeb3d |
File details
Details for the file tkinterweb-3.24.7-py3-none-macosx_10_6_x86_64.whl
.
File metadata
- Download URL: tkinterweb-3.24.7-py3-none-macosx_10_6_x86_64.whl
- Upload date:
- Size: 284.1 kB
- Tags: Python 3, macOS 10.6+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e985cb2331bec6bcb7136b97398d0fbb3399f334f511e4961d23f2b46d273048 |
|
MD5 | 1b41e8caf55b982fdfce5cf62d8c98a4 |
|
BLAKE2b-256 | a65e9bcdfa182ad8605ce3cd669b773ed4b0cead5a6a446166f0339805c6e9ee |
File details
Details for the file tkinterweb-3.24.7-py3-none-linux_armv7l.whl
.
File metadata
- Download URL: tkinterweb-3.24.7-py3-none-linux_armv7l.whl
- Upload date:
- Size: 282.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f7e0f14085cd73115e89b8a2777277d64f27ba0b6e8b0f4aef6aa4bf41c4e99 |
|
MD5 | f3b4cae71027ffcbd787ccf402095172 |
|
BLAKE2b-256 | 3f2092a49c9a5c3d6645cc0f6341ef8d8a938b39c98bf6f958f60e56f847c521 |
File details
Details for the file tkinterweb-3.24.7-py3-none-any.whl
.
File metadata
- Download URL: tkinterweb-3.24.7-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26c7524532657eb3b757330ee29b20aa4103f29113308fca00d01d011255e4f1 |
|
MD5 | c740bd69557264c4f3f9d9e538e06171 |
|
BLAKE2b-256 | 78b5826849cfef5ea43dc98a0e159196bea4bc629ec3c478d766a5e23448400c |