# 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](https://github.com/Andereoo/TkinterWeb) for more information.**
Raw data
{
"_id": null,
"home_page": "https://github.com/Andereoo/TkinterWeb",
"name": "tkinterweb",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "tkinter, Tkinter, tkhtml, Tkhtml, Tk, HTML, CSS, webbrowser",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/79/a7/88f7c3b21adf5c0c3a0fa04575aea0f3e081d766149d9412ec14281f96eb/tkinterweb-3.24.8.tar.gz",
"platform": null,
"description": "# TkinterWeb \n**A fast and lightweight cross-platform webbrowser for Tkinter.**\n\n \n \n## Overview\n**TkinterWeb offers bindings for the Tkhtml3 widget from http://tkhtml.tcl.tk/tkhtml.html, which enables loading HTML and CSS code into Tkinter applications.**\n\nAll major operating systems running Python 3+ are supported. \n\n \n \n## Usage\n\n**TkinterWeb provides a webbrowser frame, a label widget capable of displaying styled HTML, and an HTML-based geometry manager.**\n\n**TkinterWeb can be used in any Tkinter application. Here is an example:**\n```\nimport tkinter as tk #import Tkinter\nfrom tkinterweb import HtmlFrame #import the HTML browser\n\nroot = tk.Tk() #create the tkinter window\nframe = HtmlFrame(root) #create HTML browser\n\nframe.load_website(\"http://tkhtml.tcl.tk/tkhtml.html\") #load a website\nframe.pack(fill=\"both\", expand=True) #attach the HtmlFrame widget to the parent window\nroot.mainloop()\n```\n\n**Refer to the [GitHub home page](https://github.com/Andereoo/TkinterWeb) for more information.**\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "HTML/CSS viewer for Tkinter",
"version": "3.24.8",
"project_urls": {
"Homepage": "https://github.com/Andereoo/TkinterWeb"
},
"split_keywords": [
"tkinter",
" tkinter",
" tkhtml",
" tkhtml",
" tk",
" html",
" css",
" webbrowser"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2d83a52f5cf8ae6dfd31d6b47d62d23a741f2de05dfbf957e6ec0901d1158005",
"md5": "be3f8c7ca5e8ad02865a18f7466c4434",
"sha256": "a3fabf661a7d669fcc319750aed3838973b856b27d8a16fe49ed51166ab5d1cd"
},
"downloads": -1,
"filename": "tkinterweb-3.24.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "be3f8c7ca5e8ad02865a18f7466c4434",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 1426484,
"upload_time": "2024-12-20T12:04:55",
"upload_time_iso_8601": "2024-12-20T12:04:55.508484Z",
"url": "https://files.pythonhosted.org/packages/2d/83/a52f5cf8ae6dfd31d6b47d62d23a741f2de05dfbf957e6ec0901d1158005/tkinterweb-3.24.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9854f5d4e1fa6689e6034d9d1ce061f20fbd07952a9c28e60b7dd8a42005641f",
"md5": "7e722ff844333bb71f998c8887f3e008",
"sha256": "69447ee7a6f1814035ebf19846f3f92d2a04744640aa45a22b1fddcb3d8374c5"
},
"downloads": -1,
"filename": "tkinterweb-3.24.8-py3-none-linux_armv7l.whl",
"has_sig": false,
"md5_digest": "7e722ff844333bb71f998c8887f3e008",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 282164,
"upload_time": "2024-12-20T12:05:01",
"upload_time_iso_8601": "2024-12-20T12:05:01.383533Z",
"url": "https://files.pythonhosted.org/packages/98/54/f5d4e1fa6689e6034d9d1ce061f20fbd07952a9c28e60b7dd8a42005641f/tkinterweb-3.24.8-py3-none-linux_armv7l.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "217f2b7d5a667286e47969f2c75d2ea8985780a670d53acd568ec56b19d9fc7e",
"md5": "df9adac364f63664eb25cf54995ca783",
"sha256": "97780c365ec51dd35329786f548bac58ddcc0a31b79b6160695cfd260424a173"
},
"downloads": -1,
"filename": "tkinterweb-3.24.8-py3-none-macosx_10_6_x86_64.whl",
"has_sig": false,
"md5_digest": "df9adac364f63664eb25cf54995ca783",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 284091,
"upload_time": "2024-12-20T12:05:06",
"upload_time_iso_8601": "2024-12-20T12:05:06.936289Z",
"url": "https://files.pythonhosted.org/packages/21/7f/2b7d5a667286e47969f2c75d2ea8985780a670d53acd568ec56b19d9fc7e/tkinterweb-3.24.8-py3-none-macosx_10_6_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1427df64557e132017452c6a3371bf478e8c1076b3c1048cf8150aabe4c1d4e7",
"md5": "e3e9867ed7c9572040aa6bd75b9794e8",
"sha256": "06029305a5a801cb114690ce8c71351c55b458ad6a7af94177bc47951f6ad85c"
},
"downloads": -1,
"filename": "tkinterweb-3.24.8-py3-none-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "e3e9867ed7c9572040aa6bd75b9794e8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 260431,
"upload_time": "2024-12-20T12:05:12",
"upload_time_iso_8601": "2024-12-20T12:05:12.933427Z",
"url": "https://files.pythonhosted.org/packages/14/27/df64557e132017452c6a3371bf478e8c1076b3c1048cf8150aabe4c1d4e7/tkinterweb-3.24.8-py3-none-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "73848ff9ea5c92ec64189a2b864c749d201b0da3248c0144d5c8f3a431725f66",
"md5": "fef67e36e9cd1367bfca30a74c573f6b",
"sha256": "77155757bb8d3fd159fd58123801da2d0835318e2ef8a600ed750ad17d0f2260"
},
"downloads": -1,
"filename": "tkinterweb-3.24.8-py3-none-manylinux1_i686.whl",
"has_sig": false,
"md5_digest": "fef67e36e9cd1367bfca30a74c573f6b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 305839,
"upload_time": "2024-12-20T12:05:19",
"upload_time_iso_8601": "2024-12-20T12:05:19.867761Z",
"url": "https://files.pythonhosted.org/packages/73/84/8ff9ea5c92ec64189a2b864c749d201b0da3248c0144d5c8f3a431725f66/tkinterweb-3.24.8-py3-none-manylinux1_i686.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8fc82bfb420d0d4ce0776949e71bbab7f83d4e9ae958644f51c75f914778987d",
"md5": "f2e7da59058b926cd5ec9ff6039fcae9",
"sha256": "74a7b651bb032dcc272a56f26c327e2d906f4ec2a1450e86e92f91370e25d063"
},
"downloads": -1,
"filename": "tkinterweb-3.24.8-py3-none-manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "f2e7da59058b926cd5ec9ff6039fcae9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 301327,
"upload_time": "2024-12-20T12:05:25",
"upload_time_iso_8601": "2024-12-20T12:05:25.026784Z",
"url": "https://files.pythonhosted.org/packages/8f/c8/2bfb420d0d4ce0776949e71bbab7f83d4e9ae958644f51c75f914778987d/tkinterweb-3.24.8-py3-none-manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4f8538f8b392f1798fd3b81c97b44b795d9cd99e3264279bf01eaeb93ea8b7b2",
"md5": "de50ad365ca3e86a937534ad62e15ed3",
"sha256": "217f2cce83a82a62a7ef6ef6a8324a0822d45899ea42c0afbc7e5cb0677f3d4f"
},
"downloads": -1,
"filename": "tkinterweb-3.24.8-py3-none-win32.whl",
"has_sig": false,
"md5_digest": "de50ad365ca3e86a937534ad62e15ed3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 398238,
"upload_time": "2024-12-20T12:05:32",
"upload_time_iso_8601": "2024-12-20T12:05:32.297577Z",
"url": "https://files.pythonhosted.org/packages/4f/85/38f8b392f1798fd3b81c97b44b795d9cd99e3264279bf01eaeb93ea8b7b2/tkinterweb-3.24.8-py3-none-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "64fb882f34f8eba80ea503f7cf9cb026639ca621c4af63fb32ad32d2f9e380c9",
"md5": "f2ef6a5d32cca4b21ada4a6aa0f6b4ce",
"sha256": "135585d0046ca5d33c737d383f1a68adbe4c5008ff549a34e2f692749cecbc6c"
},
"downloads": -1,
"filename": "tkinterweb-3.24.8-py3-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "f2ef6a5d32cca4b21ada4a6aa0f6b4ce",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 398725,
"upload_time": "2024-12-20T12:05:39",
"upload_time_iso_8601": "2024-12-20T12:05:39.471274Z",
"url": "https://files.pythonhosted.org/packages/64/fb/882f34f8eba80ea503f7cf9cb026639ca621c4af63fb32ad32d2f9e380c9/tkinterweb-3.24.8-py3-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "79a788f7c3b21adf5c0c3a0fa04575aea0f3e081d766149d9412ec14281f96eb",
"md5": "d9ab64143654ee3b9265c088076d29d0",
"sha256": "7a810574f1772f34616b7ebb2cb2c181944fb57db558e80179e26f0160651cba"
},
"downloads": -1,
"filename": "tkinterweb-3.24.8.tar.gz",
"has_sig": false,
"md5_digest": "d9ab64143654ee3b9265c088076d29d0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1417399,
"upload_time": "2024-12-20T12:05:59",
"upload_time_iso_8601": "2024-12-20T12:05:59.253862Z",
"url": "https://files.pythonhosted.org/packages/79/a7/88f7c3b21adf5c0c3a0fa04575aea0f3e081d766149d9412ec14281f96eb/tkinterweb-3.24.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-20 12:05:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Andereoo",
"github_project": "TkinterWeb",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "Pillow",
"specs": [
[
">=",
"10.0.0"
]
]
}
],
"lcname": "tkinterweb"
}