# TkinterWeb
**A fast and lightweight web browser widget for Tkinter.**
## Overview
**TkinterWeb offers bindings and extensions to a modified version of the Tkhtml3 widget from [http://tkhtml.tcl.tk](https://web.archive.org/web/20250219233338/http://tkhtml.tcl.tk/), which enables enables the display of HTML and CSS code in Tkinter applications.**
Some of TkinterWeb's uses include:
- Displaying websites, feeds, help files, and other styled HTML
- Displaying images, including SVG images
- Designing apps using HTML templates
- Creating prettier apps, with rounded buttons and more!
All major operating systems running Python 3.2+ are supported.
## Usage
**TkinterWeb provides a web browser 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
from tkinterweb import HtmlFrame # import the HtmlFrame widget
root = tk.Tk() # create the Tkinter window
frame = HtmlFrame(root) # create the HTML widget
frame.load_website("https://tkinterweb.readthedocs.io/en/latest/") # load a website
frame.pack(fill="both", expand=True) # attach the HtmlFrame widget to the window
root.mainloop()
```

**Refer to the [Read the Docs home page](https://tkinterweb.readthedocs.io/en/latest/) for more information.**
Raw data
{
"_id": null,
"home_page": "https://github.com/Andereoo/TkinterWeb",
"name": "tkinterweb",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.2",
"maintainer_email": null,
"keywords": "tkinter, Tkinter, tkhtml, Tkhtml, Tk, HTML, CSS, webbrowser",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/38/76/334c1ad22fa05bcfc082ff8cf1a4e563011b5901758f63a6548f9b0c5112/tkinterweb-4.7.0.tar.gz",
"platform": null,
"description": "# TkinterWeb \n**A fast and lightweight web browser widget for Tkinter.**\n\n## Overview\n**TkinterWeb offers bindings and extensions to a modified version of the Tkhtml3 widget from [http://tkhtml.tcl.tk](https://web.archive.org/web/20250219233338/http://tkhtml.tcl.tk/), which enables enables the display of HTML and CSS code in Tkinter applications.** \n\nSome of TkinterWeb's uses include:\n\n- Displaying websites, feeds, help files, and other styled HTML\n- Displaying images, including SVG images\n- Designing apps using HTML templates\n- Creating prettier apps, with rounded buttons and more!\n\nAll major operating systems running Python 3.2+ are supported. \n\n## Usage\n**TkinterWeb provides a web browser frame, a label widget capable of displaying styled HTML, and an HTML-based geometry manager.**\n\nTkinterWeb can be used in any Tkinter application. Here is an example:\n```\nimport tkinter as tk\nfrom tkinterweb import HtmlFrame # import the HtmlFrame widget\n\nroot = tk.Tk() # create the Tkinter window\nframe = HtmlFrame(root) # create the HTML widget\nframe.load_website(\"https://tkinterweb.readthedocs.io/en/latest/\") # load a website\nframe.pack(fill=\"both\", expand=True) # attach the HtmlFrame widget to the window\nroot.mainloop()\n```\n\n\n**Refer to the [Read the Docs home page](https://tkinterweb.readthedocs.io/en/latest/) for more information.**\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "HTML/CSS viewer for Tkinter",
"version": "4.7.0",
"project_urls": {
"Homepage": "https://github.com/Andereoo/TkinterWeb"
},
"split_keywords": [
"tkinter",
" tkinter",
" tkhtml",
" tkhtml",
" tk",
" html",
" css",
" webbrowser"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2b5d7d93c23f22e7b375f5fd99bdeb55a9686345e1027f00eea56202a4153599",
"md5": "828a87c47755b2d53ba509bcdcd44466",
"sha256": "fb821ba45e13f0b8e604503823a1c2aa9569a2c5d2f6eae3ccfc0f9466405719"
},
"downloads": -1,
"filename": "tkinterweb-4.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "828a87c47755b2d53ba509bcdcd44466",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.2",
"size": 164216,
"upload_time": "2025-10-21T11:26:10",
"upload_time_iso_8601": "2025-10-21T11:26:10.028488Z",
"url": "https://files.pythonhosted.org/packages/2b/5d/7d93c23f22e7b375f5fd99bdeb55a9686345e1027f00eea56202a4153599/tkinterweb-4.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3876334c1ad22fa05bcfc082ff8cf1a4e563011b5901758f63a6548f9b0c5112",
"md5": "9980a50af31852b645324e0f76061b74",
"sha256": "c8ba2b8d7569ed5459f3e139130ff9be90925445c166c50cb80e5054b9a6ae80"
},
"downloads": -1,
"filename": "tkinterweb-4.7.0.tar.gz",
"has_sig": false,
"md5_digest": "9980a50af31852b645324e0f76061b74",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.2",
"size": 163558,
"upload_time": "2025-10-21T11:26:12",
"upload_time_iso_8601": "2025-10-21T11:26:12.755160Z",
"url": "https://files.pythonhosted.org/packages/38/76/334c1ad22fa05bcfc082ff8cf1a4e563011b5901758f63a6548f9b0c5112/tkinterweb-4.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-21 11:26:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Andereoo",
"github_project": "TkinterWeb",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "tkinterweb-tkhtml",
"specs": [
[
">=",
"2.0.0"
]
]
},
{
"name": "Pillow",
"specs": [
[
">=",
"10.0.0"
]
]
}
],
"lcname": "tkinterweb"
}