Tklib2 is an open-source Python library that aims to facilitate the creation of Python apps with GUIs.
Tklib2 is open source and governed by the Eclipse Public v2.0 license for v0.3.
Versions 0.2 and below are public domain.
Tklib2 packages different Tkinter components into simple functions, for example:
import tklib2
tklib2.Label("Hello World")
tklib2.runApp()
While some people may find just using normal Tkinter syntax easier, this format has two goals:
- In my opinion, it's a format that makes it easier to understand the code, not just know how to write it.
- The 'building block' format of having each line (or function) being an element has a few benifits. For example, it makes it easier to represent the code graphically, either for teaching or for creating a block-based Python interface.
At the time of writing, Tklib2 is still under heavy development. It is not recommended to be used in production, but if you'd like to accelerate the production launch to PyPi, feel free to contribute under the guidelines below.
As stated earlier, Tklib2 is under multiple licenses: just read the license per-distro.
- v0.3: The first beta has now been released! This version adds textboxes and some improvements.
- v0.2: This alpha release adds colored labels, images, and more!
- v0.1-nodocs: Basic functionality. This release doesn't include docs.
If you'd like to contribute to Tklib2, follow the guidelines in CONTRIBUTING.md