NOTICE
- This is a fork from https://github.com/israel-dryer/ttkbootstrap
- This is uploaded to PyPI as dependency of my project
- I am forced to upload to PyPI this as I cannot upload project that has git repo as dependency
- Changes could be seen from https://github.com/laggykiller/ttkbootstrap
A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.
👀 Check out the documentation.
Features
✔️ Built-in Themes
Over a dozen curated dark and light themes.
✔️ Pre-defined Styles:
Loads of beautiful pre-defined widget styles such as outline and round toggle buttons.
✔️ Simple keyword API:
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:
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:
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 -m pip install ttkbootstrap
Simple Usage
Instead of using long, complicated ttk style classes, you can use simple keywords with the "bootstyle" parameter.
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
Metadata
Release files for ttkbootstrap-fork-laggykiller 1.5.1.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ttkbootstrap-fork-laggykiller-1.5.1.post1.tar.gz | 107.7 kB | Without provenance | Details for ttkbootstrap-fork-laggykiller-1.5.1.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ttkbootstrap_fork_laggykiller-1.5.1.post1-py3-none-any.whl | Python 3 | none | any | Details for ttkbootstrap_fork_laggykiller-1.5.1.post1-py3-none-any.whl |
Total release size: 220.2 kB
Release files / ttkbootstrap-fork-laggykiller-1.5.1.post1.tar.gz
| Download URL | ttkbootstrap-fork-laggykiller-1.5.1.post1.tar.gz |
|---|---|
| Size | 107.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d096452e19ee866124d6ea480eb22e10ad00bc4bc310ed43922e459db429a89a
|
|
BLAKE2b-256 checksum How to use checksums |
178974e79cc2f8e5c4d4f133768a416be85dc27912748bde1f538839697721d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / ttkbootstrap_fork_laggykiller-1.5.1.post1-py3-none-any.whl
| Download URL | ttkbootstrap_fork_laggykiller-1.5.1.post1-py3-none-any.whl |
|---|---|
| Size | 112.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e6bd1407288227b30e291b78aa449a25c5b87d16e6c04de7b1086aefbd31a71
|
|
BLAKE2b-256 checksum How to use checksums |
8b5d99333b88f6f21e3b43a3a1ead747da8438fb5df4ecb44430d8f13c490315
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for ttkbootstrap-fork-laggykiller 1.5.1.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.