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

canvas cross-platform gui python themed tkinter tkintertools typed widget

Last synced: 3 days 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]
> 根据社区[投票](https://github.com/Xiaokang2022/tkintertools/discussions/41)结果,本项目将在正式版的时候**重命名**!
> According to the results of the community [vote](https://github.com/Xiaokang2022/tkintertools/discussions/41), this project will be **RENAMED** when it is released!

tkintertools

logo


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


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


Version
Downloads
Lint & Test
Code Coverage


Watchers
Forks
Stars
Issues
Pull Requests
Discussions


Insights






Star History Chart


> [!IMPORTANT]
> **Development of the visual development software that accompanies the framework has begun**!🎉
> **该框架配套的可视化开发软件已开始进行开发**!🎉(已新建仓库哩)
> Repo:
>
> dark
> light

## 📦 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)中找到

### 🔥 Dev Version / 开发版本

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

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

👁️ Preview / 预览

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

### ✅ Stable Version / 稳定版本

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

```bash
pip install tkintertools
```

👁️ Preview / 预览

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

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

## 📦 Dependency / 依赖包

### 📌 Requirements / 必需包

* [X] [typing_extensions](https://github.com/python/typing_extensions)

### 🎨 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.6`
* [ ] [win32material](https://github.com/littlewhitecloud/win32style) - `1.0.6`

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

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

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

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

## 📦 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.0rc5
```

## 👀 More / 更多

* 📑 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 "GitHub") |
[GitCode](https://gitcode.com/Xiaokang2022/tkintertools "GitCode") |
[Gitee](https://gitee.com/Xiaokang2022/tkintertools "Gitee")