Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xiaokang2022/tkintertools

The tkintertools is a UI framework based on the Canvas class of tkinter. In other words, all the UI is drawn in Canvas!
https://github.com/xiaokang2022/tkintertools

3d canvas cross-platform game giscus gui markdown matplotlib mkdocs pillow python themed tkinter tkintertools typed widget

Last synced: about 14 hours ago
JSON representation

The tkintertools is a UI framework based on the Canvas class of tkinter. In other words, all the UI is drawn in Canvas!

Awesome Lists containing this project

README

        

> [!IMPORTANT]
> Due to my studies, I lack the time and energy to consistently update this project **until the end of this year**, but I will slowly and consistently update the documentation, so please understand.
> 由于学业原因,**直到今年年底**,我缺少时间和精力来持续更新本项目,但我还是会慢慢地持续更新文档的,请理解。
> Tutorials and Documents / 教程和文档: https://xiaokang2022.github.io/tkintertools-docs/3.0/
> (**Currently only support Chinese / 目前仅支持中文**)

tkintertools

logo


tkintertools 是一个基于 tkinterCanvas 类的 UI 框架


tkintertools is a UI framework based on the Canvas class of tkinter


Version
Downloads
Total Downloads
Size


Watchers
Forks
Stars
Issues
Pull Requests
Discussions


Insights






Star History Chart


📦 Installation / 安装
----------------------

> [!TIP]
> Most of the preview content of the following two versions can be found in the official [demo repository](https://github.com/Xiaokang2022/tkintertools-demos)
> 下面两个版本的预览内容大多可以在官方[演示仓库](https://github.com/Xiaokang2022/tkintertools-demos)中找到

### ✅ Stable Version / 稳定版本

* 🔖 Version / 最新版本 : `2.6.21`
* 🕓 Release / 发布日期 : 2024-01-01
* ✨ Feature / 更新内容 : [News-2.6.21](./CHANGELOG.md#-2621)

```bash
pip install tkintertools
```

👁️ Preview / 预览

![](https://xiaokang2022.github.io/tkintertools-docs/2.6/tutorials/images/1.2-2.1-2.png)

![](https://xiaokang2022.github.io/tkintertools-docs/2.6/tutorials/images/7.3-3.1-2.png)

### 🔥 Dev Version / 开发版本

* 🔖 Version / 最新版本 : `3.0.0rc2`
* 🕓 Release / 发布日期 : 2024-09-16
* ✨ Feature / 更新内容 : [News-3.0.0](./CHANGELOG.md#-300rc2)

```bash
pip install tkintertools[recommended]==3.0.0rc2
```

👁️ Preview / 预览

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo9-1.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo9-2.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo9-3.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo9-4.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo0-1.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo0-2.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo1-1.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo1-2.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo2.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo3.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo4-1.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo4-2.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo5-1.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo5-2.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo6-1.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo7-1.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo7-2.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo8-1.png?raw=true)

![](https://github.com/Xiaokang2022/tkintertools-demos/blob/main/preview/demo10-1.png?raw=true)

📦 Dependency / 依赖包
----------------------

> [!NOTE]
> All dependencies are listed in [*requirements.txt*](./requirements.txt), but optional packages don't have to be installed
> 所有的依赖包均会在 [*requirements.txt*](./requirements.txt) 中列出,但可选包并不一定要安装

### 📌 Requirements / 必需包

Not yet
暂无

### 🎨 Options / 可选包

Considering that too many packages will result in a large size of the project file when packing, the optional packages selected below are recommended to be installed
考虑到调用的包过多将导致打包时项目文件的大小过大,因此下面被选中的可选包是推荐安装的

- [X] [darkdetect](https://github.com/albertosottile/darkdetect) - `0.8.0`
- [X] [pywinstyles](https://github.com/Akascape/py-window-styles) - `1.8`
- [X] [pillow](https://github.com/python-pillow/Pillow) - `>=10.0.0`
- [ ] [hPyT](https://github.com/Zingzy/hPyT) - `1.3.4`
- [ ] [win32material](https://github.com/littlewhitecloud/win32style) - `1.0.6`

The following command installs the recommended optional dependencies:
以下命令可以安装推荐的可选依赖包:

```bash
pip install tkintertools[recommended]==3.0.0rc2
```

The following command installs all optional dependencies:
以下命令可以安装全部可选依赖包:

```bash
pip install tkintertools[all]==3.0.0rc2
```

📦 Extension / 扩展包
---------------------

In addition to the basic functionality, `tkintertools` also offers some extension packages to implement certain functionality. The following official extensions are available:
除了基础功能之外,`tkintertools` 还提供一些扩展包来实现某些特定的功能。目前已有的官方扩展包如下:

- [X] [tkintertools-mpl](https://github.com/Xiaokang2022/tkintertools-mpl)
- [X] [tkintertools-media](https://github.com/Xiaokang2022/tkintertools-media)
- [X] [tkintertools-3d](https://github.com/Xiaokang2022/tkintertools-3d)

The following command can be used to install all the official extensions:
以下命令可以安装全部的官方扩展包:

```bash
pip install tkintertools[extension]==3.0.0rc2
```

👀 More / 更多
--------------

* 📋 Todo / 待办事项: [*TODO.md*](TODO.md)
* 📑 License / 项目许可: [*LICENSE.txt*](LICENSE.txt)
* 📘 Changelog / 更新日志: [*CHANGELOG.md*](CHANGELOG.md)
* 📕 Security Policy / 安全策略: [*SECURITY.md*](SECURITY.md)
* 📗 Contribution Guide / 贡献指南: [*CONTRIBUTING.md*](CONTRIBUTING.md)
* 📙 Code of Conduct / 行为准则: [*CODE_OF_CONDUCT.md*](CODE_OF_CONDUCT.md)
* 📚 Tutorials and Documents / 教程和文档: [Tutorials & Documents](https://xiaokang2022.github.io/tkintertools-docs/)
* 🎉 Official Website / 官方网站: [Official Website](https://xiaokang2022.github.io/tkintertools/)
* ❤️ Sponsor this Project / 赞助此项目: [Sponsor](https://xiaokang2022.github.io/tkintertools/Sponsor/)
* 🚀 Repository Mirrors / 存储库镜像源:
[GitHub](https://github.com/Xiaokang2022/tkintertools) |
[Gitee](https://gitee.com/Xiaokang2022/tkintertools) |
[GitCode](https://gitcode.com/Xiaokang2022/tkintertools/overview)