Hi all,
Been working on a Python Drag n Drop UI Builder project for a while and wanted to share it with the community.
You can check out the builder tool here: https://pyuibuilder.pages.dev/
Github Link: https://github.com/PaulleDemon/PyUIBuilder
What My Project Does?
PyUIBuilder is a framework agnostic Drag and drop GUI builder for python. You can output the code in multiple UI library based on selection.
Some of the features:
While there are a lot of features, here are few you need to know.
-
Framework agnostic - Can outputs code in multiple frameworks.
-
Pre-built UI widgets for multiple frameworks
-
Plugins to support 3rd party UI libraries
-
Generates python code.
-
Upload local assets.
-
Support for layout managers such as Grid, Flex, absolute positioning
-
Generates requirements.txt file when needed
Supported frameworks/libraries
Right now, two libraries are supported, other frameworks are work in progress
-
Tkinter - Available
-
CustomTkinter - Available
-
Kivy - Coming soon
-
PySide - Coming Soon
Roadmap
You can check out the roadmap for more details on what's coming Roadmap
Target Audience:
-
People who want to quickly build Python GUI
-
People who are learning GUI development.
-
People who want to learn how to make a GUI builder tool (learning resource)
Comparison (A brief comparison explaining how it differs from existing alternatives.)
-
Right now, most available tools are library/framework specific.
-
Many try to give you code in xml instead of python making it harder to debug.
-
Majority lack support for 3rd party UI libraries.
-----
I have tested it on Chrome, Firefox and Edge, I haven't tested it on safari (I don't have mac), however it should work fine.
I know, the title sounds ambitious, it's because, I have written an abstraction to allow me to develop the tool for multiple frameworks easily.
Here each widget is responsible for generating it's own code, this way I can support multiple frameworks as well as 3rd party UI library. The code generation engine is only responsible to resolve variable name conflicts and putting the code together along with other assets.
I have been working on this tool publicly, so if you want to see how it progressed from early days, you can check it out Build in public.
If you have any question's feel free to ask, I'll answer it whenever I get time.
Have a great day :)
Wondering if Python has a drag and drop GUI designer
GUI Builder for Python - Stack Overflow
windows - GUI drag & drop style GUI Builder for Python Tkinter - Software Recommendations Stack Exchange
Official GUI Builder for Tkinter
Videos
It is Glade 3, a GUI Designer for GTK+. It generates an XML file representing your GUI. You can load this GUI later using PyGTK.
Specifically, the screenshot is running a Mac OS X port of Glade 3
That's glade, it actually produces XML, which can be used with the PyGTK library in python
One tool that I've been using is called Pygubu. It's open source and can be run anywhere python is installed. It includes support for not only Python version 3 but also version 2 as well. It appears to be an active and popular project and includes documentation too.
Pygubu (open source)
Pygubuis a RAD tool to enable quick and easy development of user interfaces for the Python'stkintermodule.The user interfaces designed are saved as XML files, and, by using the pygubu builder, these can be loaded by applications dynamically as needed.
Pygubu is inspired by Glade.
You can also use this simple to use website
visualtk.com
Where you can create input fields,labels,buttons,checkboxes,radiobox,listbox and messages of your application by drag and drop.You can also customize any of them to the color and look you want. After that, you can download the complete python code of the visual.

