Important
This project was originally named tkintertools
and has been renamed to maliang
after a community vote! 🎉
https://xiaokang2022.github.io/maliang/
A lightweight UI framework based on tkinter
with all UI drawn in Canvas
Install it with the following command:
pip install maliang
Here are the only dependencies that the project must need:
typing-extensions
: provide additional type hints
The following packages are optional and will make the project work without installation, but installing them can give you more functionality:
darkdetect
: provide operating system theme detectionpillow
: provide more types of images and optimize image scaling speedpywinstyles
: provide some window effects for Windows systemshPyT
: provide more configuration options for Windows system windowswin32material
: provide more configuration options for Windows system windows
Recommended, these packages should be installed. You can install all the optional packages with the following command:
pip install maliang[opt]
In addition to the basic functionality, we also offer a number of extension packs to implement specific functionality. The following official extensions are available:
maliang-mpl
: support formatplotlib
maliang-media
: support for media filesmaliang-three
: support for simple 3D drawings
You can install all the official extensions with the following command:
pip install maliang[ext]
The demos below are some of the things that can be achieved with the project, they may be built with the latest version of the project, or they may be built with an older version, but either way, the code for the demo below can be found in the demo repository!
Tip
Please click "Expand" to view the gallery
Here are some links that may be helpful to you:
- 📑 License: MIT License
- 📘 Changelog: CHANGELOG.md
- 📕 Security Policy: SECURITY.md
- 📗 Contribution Guideline: CONTRIBUTING.md
- 📙 Code of Conduct: CODE_OF_CONDUCT.md
- 📚 Tutorials and Documents: Tutorials & Documents
- ❤️ Sponsor this Project: Sponsor
- 🚀 Repository Mirrors: GitCode, Gitee