tkinterweb


Nametkinterweb JSON
Version 3.23.9 PyPI version JSON
download
home_pagehttps://github.com/Andereoo/TkinterWeb
SummaryHTML/CSS viewer for Tkinter
upload_time2024-05-05 20:17:50
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseMIT
keywords tkinter tkinter tkhtml tkhtml tk html css webbrowser
VCS
bugtrack_url
requirements Pillow
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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 2.7+ or 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:**
```
from tkinterweb import HtmlFrame #import the HTML browser
try:
  import tkinter as tk #python3
except ImportError:
  import Tkinter as tk #python2

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/aa/7c/caec2be4128a04352810c17dd8c1b0da8e4e484533db5465fab1826b6b52/tkinterweb-3.23.9.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 2.7+ or 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```\nfrom tkinterweb import HtmlFrame #import the HTML browser\ntry:\n  import tkinter as tk #python3\nexcept ImportError:\n  import Tkinter as tk #python2\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.23.9",
    "project_urls": {
        "Homepage": "https://github.com/Andereoo/TkinterWeb"
    },
    "split_keywords": [
        "tkinter",
        " tkinter",
        " tkhtml",
        " tkhtml",
        " tk",
        " html",
        " css",
        " webbrowser"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aa7ccaec2be4128a04352810c17dd8c1b0da8e4e484533db5465fab1826b6b52",
                "md5": "3eb98b294b111ba383b7a5266791788e",
                "sha256": "7ac56ea71885b7296369003107f04ca954979bae574b32132defebff9ee6bd99"
            },
            "downloads": -1,
            "filename": "tkinterweb-3.23.9.tar.gz",
            "has_sig": false,
            "md5_digest": "3eb98b294b111ba383b7a5266791788e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1292055,
            "upload_time": "2024-05-05T20:17:50",
            "upload_time_iso_8601": "2024-05-05T20:17:50.683750Z",
            "url": "https://files.pythonhosted.org/packages/aa/7c/caec2be4128a04352810c17dd8c1b0da8e4e484533db5465fab1826b6b52/tkinterweb-3.23.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-05 20:17: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": "Pillow",
            "specs": [
                [
                    ">=",
                    "10.0.0"
                ]
            ]
        }
    ],
    "lcname": "tkinterweb"
}
        
Elapsed time: 0.26060s