ttkbootstrap


Namettkbootstrap JSON
Version 1.10.1 PyPI version JSON
download
home_pagehttps://github.com/israel-dryer/ttkbootstrap
SummaryA supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.
upload_time2023-01-17 13:25:55
maintainer
docs_urlNone
authorIsrael Dryer
requires_python>=3.7
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
![](https://img.shields.io/github/release/israel-dryer/ttkbootstrap.svg)
[![Downloads](https://pepy.tech/badge/ttkbootstrap)](https://pepy.tech/project/ttkbootstrap)
[![Downloads](https://pepy.tech/badge/ttkbootstrap/month)](https://pepy.tech/project/ttkbootstrap)
![](https://img.shields.io/github/issues/israel-dryer/ttkbootstrap.svg)
![](https://img.shields.io/github/issues-closed/israel-dryer/ttkbootstrap.svg)
![](https://img.shields.io/github/license/israel-dryer/ttkbootstrap.svg)
![](https://img.shields.io/github/stars/israel-dryer/ttkbootstrap.svg)
![](https://img.shields.io/github/forks/israel-dryer/ttkbootstrap.svg)

A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap. 

👀 Check out the [documentation](https://ttkbootstrap.readthedocs.io/en/latest/).

![](https://raw.githubusercontent.com/israel-dryer/ttkbootstrap/master/docs/assets/themes/themes.gif)

## Features

✔️ [**Built-in Themes**](https://ttkbootstrap.readthedocs.io/en/latest/themes/)   
Over a dozen curated dark and light themes.

✔️ [**Pre-defined Styles:**](https://ttkbootstrap.readthedocs.io/en/latest/styleguide/)  
Loads of beautiful pre-defined widget styles such as **outline** and **round toggle** buttons.

✔️ [**Simple keyword API:**](https://ttkbootstrap.readthedocs.io/en/latest/gettingstarted/tutorial/#use-themed-widgets)  
Apply colors and types using simple keywords such as **primary** and **striped** instead of the legacy approach of **primary.Striped.Horizontal.TProgressbar**. If you've used Bootstrap for web development, you are already familiar with this approach using css classes.

✔️ [**Lots of new Widgets:**](https://ttkbootstrap.readthedocs.io/en/latest/api/widgets/dateentry/)  
ttkbootstrap comes with several new beautifully designed widgets such as **Meter**, **DateEntry**, and **Floodgauge**. Additionally, **dialogs** are now themed and fully customizable.

✔️ [**Built-in Theme Creator:**](https://ttkbootstrap.readthedocs.io/en/latest/themes/themecreator/)  
Want to create your own theme? Easy! ttkboostrap includes a built-in **theme creator** that enables you to easily build, load, expore, and apply your own custom themes.

## Installation

```python
python -m pip install ttkbootstrap
```

## Simple Usage
Instead of using long, complicated ttk style classes, you can use simple keywords with the "bootstyle" parameter.

```python
import ttkbootstrap as ttk
from ttkbootstrap.constants import *

root = ttk.Window(themename="superhero")

b1 = ttk.Button(root, text="Submit", bootstyle="success")
b1.pack(side=LEFT, padx=5, pady=10)

b2 = ttk.Button(root, text="Submit", bootstyle="info-outline")
b2.pack(side=LEFT, padx=5, pady=10)

root.mainloop()
```

The new keyword API is very flexible. The following examples all produce the same result:
- `bootstyle="info-outline"`
- `bootstyle="info outline"`
- `bootstyle=("info", "outline")`
- `bootstyle=(INFO, OUTLINE)`

## Links
- **Documentation:** https://ttkbootstrap.readthedocs.io/en/latest/  
- **GitHub:** https://github.com/israel-dryer/ttkbootstrap

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/israel-dryer/ttkbootstrap",
    "name": "ttkbootstrap",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Israel Dryer",
    "author_email": "israel.dryer@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e7/9e/22845f8e68415f4246342f3eccc5939991445098e8c1c0cf60c459755d22/ttkbootstrap-1.10.1.tar.gz",
    "platform": null,
    "description": "\r\n![](https://img.shields.io/github/release/israel-dryer/ttkbootstrap.svg)\r\n[![Downloads](https://pepy.tech/badge/ttkbootstrap)](https://pepy.tech/project/ttkbootstrap)\r\n[![Downloads](https://pepy.tech/badge/ttkbootstrap/month)](https://pepy.tech/project/ttkbootstrap)\r\n![](https://img.shields.io/github/issues/israel-dryer/ttkbootstrap.svg)\r\n![](https://img.shields.io/github/issues-closed/israel-dryer/ttkbootstrap.svg)\r\n![](https://img.shields.io/github/license/israel-dryer/ttkbootstrap.svg)\r\n![](https://img.shields.io/github/stars/israel-dryer/ttkbootstrap.svg)\r\n![](https://img.shields.io/github/forks/israel-dryer/ttkbootstrap.svg)\r\n\r\nA supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap. \r\n\r\n\ud83d\udc40 Check out the [documentation](https://ttkbootstrap.readthedocs.io/en/latest/).\r\n\r\n![](https://raw.githubusercontent.com/israel-dryer/ttkbootstrap/master/docs/assets/themes/themes.gif)\r\n\r\n## Features\r\n\r\n\u2714\ufe0f [**Built-in Themes**](https://ttkbootstrap.readthedocs.io/en/latest/themes/)   \r\nOver a dozen curated dark and light themes.\r\n\r\n\u2714\ufe0f [**Pre-defined Styles:**](https://ttkbootstrap.readthedocs.io/en/latest/styleguide/)  \r\nLoads of beautiful pre-defined widget styles such as **outline** and **round toggle** buttons.\r\n\r\n\u2714\ufe0f [**Simple keyword API:**](https://ttkbootstrap.readthedocs.io/en/latest/gettingstarted/tutorial/#use-themed-widgets)  \r\nApply colors and types using simple keywords such as **primary** and **striped** instead of the legacy approach of **primary.Striped.Horizontal.TProgressbar**. If you've used Bootstrap for web development, you are already familiar with this approach using css classes.\r\n\r\n\u2714\ufe0f [**Lots of new Widgets:**](https://ttkbootstrap.readthedocs.io/en/latest/api/widgets/dateentry/)  \r\nttkbootstrap comes with several new beautifully designed widgets such as **Meter**, **DateEntry**, and **Floodgauge**. Additionally, **dialogs** are now themed and fully customizable.\r\n\r\n\u2714\ufe0f [**Built-in Theme Creator:**](https://ttkbootstrap.readthedocs.io/en/latest/themes/themecreator/)  \r\nWant to create your own theme? Easy! ttkboostrap includes a built-in **theme creator** that enables you to easily build, load, expore, and apply your own custom themes.\r\n\r\n## Installation\r\n\r\n```python\r\npython -m pip install ttkbootstrap\r\n```\r\n\r\n## Simple Usage\r\nInstead of using long, complicated ttk style classes, you can use simple keywords with the \"bootstyle\" parameter.\r\n\r\n```python\r\nimport ttkbootstrap as ttk\r\nfrom ttkbootstrap.constants import *\r\n\r\nroot = ttk.Window(themename=\"superhero\")\r\n\r\nb1 = ttk.Button(root, text=\"Submit\", bootstyle=\"success\")\r\nb1.pack(side=LEFT, padx=5, pady=10)\r\n\r\nb2 = ttk.Button(root, text=\"Submit\", bootstyle=\"info-outline\")\r\nb2.pack(side=LEFT, padx=5, pady=10)\r\n\r\nroot.mainloop()\r\n```\r\n\r\nThe new keyword API is very flexible. The following examples all produce the same result:\r\n- `bootstyle=\"info-outline\"`\r\n- `bootstyle=\"info outline\"`\r\n- `bootstyle=(\"info\", \"outline\")`\r\n- `bootstyle=(INFO, OUTLINE)`\r\n\r\n## Links\r\n- **Documentation:** https://ttkbootstrap.readthedocs.io/en/latest/  \r\n- **GitHub:** https://github.com/israel-dryer/ttkbootstrap\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.",
    "version": "1.10.1",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6a801691c28bb6320f6872e4719140e108b101eddc986aa9d3625972e43ab1c",
                "md5": "cce343d31256f2f37f8327b452d36d55",
                "sha256": "c6a10ee5ea64051a0f8b75c20ef8e5f2417c62b4d0858c831683d4f2135aa573"
            },
            "downloads": -1,
            "filename": "ttkbootstrap-1.10.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cce343d31256f2f37f8327b452d36d55",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 133005,
            "upload_time": "2023-01-17T13:25:52",
            "upload_time_iso_8601": "2023-01-17T13:25:52.842694Z",
            "url": "https://files.pythonhosted.org/packages/e6/a8/01691c28bb6320f6872e4719140e108b101eddc986aa9d3625972e43ab1c/ttkbootstrap-1.10.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e79e22845f8e68415f4246342f3eccc5939991445098e8c1c0cf60c459755d22",
                "md5": "12bafb4412daef43343b914f7df702ba",
                "sha256": "53925525c4104f9e345627500dced2d0392ad74324b2a81467aaee3ffbe1a474"
            },
            "downloads": -1,
            "filename": "ttkbootstrap-1.10.1.tar.gz",
            "has_sig": false,
            "md5_digest": "12bafb4412daef43343b914f7df702ba",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 125360,
            "upload_time": "2023-01-17T13:25:55",
            "upload_time_iso_8601": "2023-01-17T13:25:55.192826Z",
            "url": "https://files.pythonhosted.org/packages/e7/9e/22845f8e68415f4246342f3eccc5939991445098e8c1c0cf60c459755d22/ttkbootstrap-1.10.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-17 13:25:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "israel-dryer",
    "github_project": "ttkbootstrap",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "ttkbootstrap"
}
        
Elapsed time: 0.03208s