Metadata-Version: 2.1
Name: tkinterweb
Version: 4.14.2
Summary: HTML/CSS viewer, editor, and app builder for Tkinter
Home-page: https://github.com/Andereoo/TkinterWeb
License: MIT
Keywords: tkinter,Tkinter,tkhtml,Tkhtml,Tk,HTML,CSS,webbrowser
Classifier: Intended Audience :: Developers
Classifier: License :: Freeware
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development
Requires-Python: >=3.2
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: tkinterweb-tkhtml >=2.1.0
Provides-Extra: full
Requires-Dist: brotli ; extra == 'full'
Requires-Dist: cairosvg ; extra == 'full'
Requires-Dist: pillow ; extra == 'full'
Requires-Dist: pythonmonkey ; extra == 'full'
Requires-Dist: tkinterweb-tkhtml-extras ; extra == 'full'
Provides-Extra: html
Requires-Dist: tkinterweb-tkhtml-extras ; extra == 'html'
Provides-Extra: images
Requires-Dist: pillow ; extra == 'images'
Provides-Extra: javascript
Requires-Dist: pythonmonkey ; extra == 'javascript'
Provides-Extra: recommended
Requires-Dist: pillow ; extra == 'recommended'
Requires-Dist: tkinterweb-tkhtml-extras ; extra == 'recommended'
Provides-Extra: requests
Requires-Dist: brotli ; extra == 'requests'
Provides-Extra: svg
Requires-Dist: cairosvg ; extra == 'svg'
Requires-Dist: pillow ; extra == 'svg'
Requires-Dist: tkinterweb-tkhtml-extras ; extra == 'svg'

# TkinterWeb 
**Fast and lightweight web browser, rich text, and app design widgets 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 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
- Creating a rich text or HTML editor
- Designing apps using HTML templates
- Creating prettier apps, with rounded buttons and more!

All major operating systems running Python 3.2+ are supported. 

## Installation
**To install TkinterWeb, simply type `pip install tkinterweb[recommended]` in the command prompt or terminal. That's it!**

## Usage
**TkinterWeb can be used in any Tkinter application to display and edit websites, help pages, documentation, and much more! 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()
```
![Output](https://raw.githubusercontent.com/Andereoo/TkinterWeb/main/images/tkinterweb-demo.png)

**Visit the [Read the Docs home page](https://tkinterweb.readthedocs.io/en/latest/) for more information!**
