# 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/ce/72/3437cc5127841e241f8cf69624c50f9b12dac6df5726b4889f773ab87e57/tkinterweb-3.24.7.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\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "HTML/CSS viewer for Tkinter",
"version": "3.24.7",
"project_urls": {
"Homepage": "https://github.com/Andereoo/TkinterWeb"
},
"split_keywords": [
"tkinter",
" tkinter",
" tkhtml",
" tkhtml",
" tk",
" html",
" css",
" webbrowser"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "78b5826849cfef5ea43dc98a0e159196bea4bc629ec3c478d766a5e23448400c",
"md5": "c740bd69557264c4f3f9d9e538e06171",
"sha256": "26c7524532657eb3b757330ee29b20aa4103f29113308fca00d01d011255e4f1"
},
"downloads": -1,
"filename": "tkinterweb-3.24.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c740bd69557264c4f3f9d9e538e06171",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 1426478,
"upload_time": "2024-08-11T01:26:35",
"upload_time_iso_8601": "2024-08-11T01:26:35.831651Z",
"url": "https://files.pythonhosted.org/packages/78/b5/826849cfef5ea43dc98a0e159196bea4bc629ec3c478d766a5e23448400c/tkinterweb-3.24.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3f2092a49c9a5c3d6645cc0f6341ef8d8a938b39c98bf6f958f60e56f847c521",
"md5": "f3b4cae71027ffcbd787ccf402095172",
"sha256": "7f7e0f14085cd73115e89b8a2777277d64f27ba0b6e8b0f4aef6aa4bf41c4e99"
},
"downloads": -1,
"filename": "tkinterweb-3.24.7-py3-none-linux_armv7l.whl",
"has_sig": false,
"md5_digest": "f3b4cae71027ffcbd787ccf402095172",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 282154,
"upload_time": "2024-08-11T01:26:38",
"upload_time_iso_8601": "2024-08-11T01:26:38.773325Z",
"url": "https://files.pythonhosted.org/packages/3f/20/92a49c9a5c3d6645cc0f6341ef8d8a938b39c98bf6f958f60e56f847c521/tkinterweb-3.24.7-py3-none-linux_armv7l.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a65e9bcdfa182ad8605ce3cd669b773ed4b0cead5a6a446166f0339805c6e9ee",
"md5": "1b41e8caf55b982fdfce5cf62d8c98a4",
"sha256": "e985cb2331bec6bcb7136b97398d0fbb3399f334f511e4961d23f2b46d273048"
},
"downloads": -1,
"filename": "tkinterweb-3.24.7-py3-none-macosx_10_6_x86_64.whl",
"has_sig": false,
"md5_digest": "1b41e8caf55b982fdfce5cf62d8c98a4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 284080,
"upload_time": "2024-08-11T01:26:41",
"upload_time_iso_8601": "2024-08-11T01:26:41.372138Z",
"url": "https://files.pythonhosted.org/packages/a6/5e/9bcdfa182ad8605ce3cd669b773ed4b0cead5a6a446166f0339805c6e9ee/tkinterweb-3.24.7-py3-none-macosx_10_6_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "430cce03ec65f8bd9b4e74a8ac4952ce4a027144fe743f3e792d9cb0b5baeb3d",
"md5": "3763b09704ab4b3c2b8f0ca0ae30ebf2",
"sha256": "1c9fdc2e7163af4483e95e56d3d0fb426057747551b1d38ba6765e9fcf95790a"
},
"downloads": -1,
"filename": "tkinterweb-3.24.7-py3-none-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "3763b09704ab4b3c2b8f0ca0ae30ebf2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 260419,
"upload_time": "2024-08-11T01:26:44",
"upload_time_iso_8601": "2024-08-11T01:26:44.294010Z",
"url": "https://files.pythonhosted.org/packages/43/0c/ce03ec65f8bd9b4e74a8ac4952ce4a027144fe743f3e792d9cb0b5baeb3d/tkinterweb-3.24.7-py3-none-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0f40a40a6d9ab43a780cbf87c3d8b95b3914b43bbc160162c42160cf3c609a83",
"md5": "aebc9ec97e1243261e1fc251392cd28a",
"sha256": "292e32232db9d6b2fd48ea2e46d0b1cecef6589c1add1e9efb99ff5b121f3913"
},
"downloads": -1,
"filename": "tkinterweb-3.24.7-py3-none-manylinux1_i686.whl",
"has_sig": false,
"md5_digest": "aebc9ec97e1243261e1fc251392cd28a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 305830,
"upload_time": "2024-08-11T01:26:47",
"upload_time_iso_8601": "2024-08-11T01:26:47.165466Z",
"url": "https://files.pythonhosted.org/packages/0f/40/a40a6d9ab43a780cbf87c3d8b95b3914b43bbc160162c42160cf3c609a83/tkinterweb-3.24.7-py3-none-manylinux1_i686.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "55a842f84224bc0c031cd7f9101bb6d406a8fd0f232de3398415c5f0c4c79a00",
"md5": "061c7b0772c7f032e9f70b0910f56931",
"sha256": "2a23e9956e184e3f26ac57de4c0d9abc95415ec917157d6ae4015a59f3a7e8d5"
},
"downloads": -1,
"filename": "tkinterweb-3.24.7-py3-none-manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "061c7b0772c7f032e9f70b0910f56931",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 301317,
"upload_time": "2024-08-11T01:26:50",
"upload_time_iso_8601": "2024-08-11T01:26:50.347348Z",
"url": "https://files.pythonhosted.org/packages/55/a8/42f84224bc0c031cd7f9101bb6d406a8fd0f232de3398415c5f0c4c79a00/tkinterweb-3.24.7-py3-none-manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8206ba0e243649eec8870033a1c4b650be55ae86b83e2b388125aa04f5d94b6e",
"md5": "dd8f398f063161a9bdd7356c5593ae65",
"sha256": "257d11003ae398990871bf852f8375b2ba7cbe9b5c0d2eeb81adc00ab83af4fc"
},
"downloads": -1,
"filename": "tkinterweb-3.24.7-py3-none-win32.whl",
"has_sig": false,
"md5_digest": "dd8f398f063161a9bdd7356c5593ae65",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 398228,
"upload_time": "2024-08-11T01:26:52",
"upload_time_iso_8601": "2024-08-11T01:26:52.649900Z",
"url": "https://files.pythonhosted.org/packages/82/06/ba0e243649eec8870033a1c4b650be55ae86b83e2b388125aa04f5d94b6e/tkinterweb-3.24.7-py3-none-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4da4d4af49f3d658e8033696407c66b70f1f99cef9212b328549509f308a6a6a",
"md5": "6e3cd0252629c9894753e3f6e37acc2d",
"sha256": "83626b059d964242f23587797e09afc863e75b6a20b3f9f177ce03a425c1d154"
},
"downloads": -1,
"filename": "tkinterweb-3.24.7-py3-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "6e3cd0252629c9894753e3f6e37acc2d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 398714,
"upload_time": "2024-08-11T01:26:56",
"upload_time_iso_8601": "2024-08-11T01:26:56.270254Z",
"url": "https://files.pythonhosted.org/packages/4d/a4/d4af49f3d658e8033696407c66b70f1f99cef9212b328549509f308a6a6a/tkinterweb-3.24.7-py3-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ce723437cc5127841e241f8cf69624c50f9b12dac6df5726b4889f773ab87e57",
"md5": "4597ca73699e7fae4425284944ebec8a",
"sha256": "2e906e9d1b52971dbe4208ddf88ad530fa309f7017144f4061129b8058928993"
},
"downloads": -1,
"filename": "tkinterweb-3.24.7.tar.gz",
"has_sig": false,
"md5_digest": "4597ca73699e7fae4425284944ebec8a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1417392,
"upload_time": "2024-08-11T01:27:04",
"upload_time_iso_8601": "2024-08-11T01:27:04.677171Z",
"url": "https://files.pythonhosted.org/packages/ce/72/3437cc5127841e241f8cf69624c50f9b12dac6df5726b4889f773ab87e57/tkinterweb-3.24.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-11 01:27:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Andereoo",
"github_project": "TkinterWeb",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "tkinterweb"
}