tkinterweb


Nametkinterweb JSON
Version 4.4.4 PyPI version JSON
download
home_pagehttps://github.com/Andereoo/TkinterWeb
SummaryHTML/CSS viewer for Tkinter
upload_time2025-07-19 19:20:50
maintainerNone
docs_urlNone
authorNone
requires_python>=3.2
licenseMIT
keywords tkinter tkinter tkhtml tkhtml tk html css webbrowser
VCS
bugtrack_url
requirements tkinterweb-tkhtml Pillow
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TkinterWeb 
**A fast and lightweight web browser widget for Tkinter.**

## Overview
**TkinterWeb offers bindings for the Tkhtml3 widget from http://tkhtml.tcl.tk, which enables displaying HTML and CSS code in Tkinter applications.**

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("http://tkhtml.tcl.tk/tkhtml.html") # load a website
frame.pack(fill="both", expand=True) # attach the HtmlFrame widget to the window
root.mainloop()
```
![Output](https://raw.githubusercontent.com/Andereoo/TkinterWeb/main/images/tkinterweb-tkhtml.png)

**Refer to the [GitHub home page](https://github.com/Andereoo/TkinterWeb) or 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/5b/b0/22c5ebdd9d38d40a5bf26a0c64c9ab18ac1bb4e729611b6622a02c862d39/tkinterweb-4.4.4.tar.gz",
    "platform": null,
    "description": "# TkinterWeb \n**A fast and lightweight web browser widget for Tkinter.**\n\n## Overview\n**TkinterWeb offers bindings for the Tkhtml3 widget from http://tkhtml.tcl.tk, which enables displaying HTML and CSS code in Tkinter applications.**\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(\"http://tkhtml.tcl.tk/tkhtml.html\") # load a website\nframe.pack(fill=\"both\", expand=True) # attach the HtmlFrame widget to the window\nroot.mainloop()\n```\n![Output](https://raw.githubusercontent.com/Andereoo/TkinterWeb/main/images/tkinterweb-tkhtml.png)\n\n**Refer to the [GitHub home page](https://github.com/Andereoo/TkinterWeb) or 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.4.4",
    "project_urls": {
        "Homepage": "https://github.com/Andereoo/TkinterWeb"
    },
    "split_keywords": [
        "tkinter",
        " tkinter",
        " tkhtml",
        " tkhtml",
        " tk",
        " html",
        " css",
        " webbrowser"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e54278c9fad0431788eff765a5d78d36676cf3c525e52d35b2dcad632ca4612f",
                "md5": "aef953f24d389c1d149c559ceac27340",
                "sha256": "feae4bed68aa1a96ff46204548f2c72e6443f327203f4a11e07a47eabeb4d0d2"
            },
            "downloads": -1,
            "filename": "tkinterweb-4.4.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "aef953f24d389c1d149c559ceac27340",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.2",
            "size": 161925,
            "upload_time": "2025-07-19T19:20:48",
            "upload_time_iso_8601": "2025-07-19T19:20:48.271195Z",
            "url": "https://files.pythonhosted.org/packages/e5/42/78c9fad0431788eff765a5d78d36676cf3c525e52d35b2dcad632ca4612f/tkinterweb-4.4.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5bb022c5ebdd9d38d40a5bf26a0c64c9ab18ac1bb4e729611b6622a02c862d39",
                "md5": "ac008cf8486b91de5ec77ccccd3bfc64",
                "sha256": "067b02f5a8354ce9eaae3c2cee4aaafc36d6e8cb1aeefe58f75a1b7ba18fb0d5"
            },
            "downloads": -1,
            "filename": "tkinterweb-4.4.4.tar.gz",
            "has_sig": false,
            "md5_digest": "ac008cf8486b91de5ec77ccccd3bfc64",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.2",
            "size": 161229,
            "upload_time": "2025-07-19T19:20:50",
            "upload_time_iso_8601": "2025-07-19T19:20:50.390648Z",
            "url": "https://files.pythonhosted.org/packages/5b/b0/22c5ebdd9d38d40a5bf26a0c64c9ab18ac1bb4e729611b6622a02c862d39/tkinterweb-4.4.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-19 19:20:50",
    "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": [
                [
                    ">=",
                    "1.1.1"
                ]
            ]
        },
        {
            "name": "Pillow",
            "specs": [
                [
                    ">=",
                    "10.0.0"
                ]
            ]
        }
    ],
    "lcname": "tkinterweb"
}
        
Elapsed time: 1.62674s