Abstra - Drag'n drop GUI builder for Python
Abstra is a visual GUI builder for Python. Build an app by dragging and dropping widgets onto the canvas and easily binding them to a Python script.
Projects can be used as desktop applications or deployed as web apps.
Build data dashboards, automations, business apps, and more 🧩📊🚀
🚧 This is a work-in-progress version, please reach out at email@example.com before using it in production. Also, join our Discord server to get assistance and check our newest updates.
1. Getting started
Go to Abstra's tab and click on "Initialize Folder" to create the required config file and your first Dash
2. Dash editor
Open the visual editor using the Dash icon
Each widget property is a Python expression that can use variables on your code or even call functions.
4. Variables Input
Fully reactive: bind an input to a variable, so it alters with your user's interactions
The Python file is ran at each start of your app. Press reload at any time to reset your Dash state. After saving your .py file, a reset will also occur
You can use VSCode's output and debug console to see your script's output and inspect variables.
Run functions based on user events - such as a button click
8. File structure
Each dash is made of two files with the same name: a JSON specifying the layout and a .py containing all the logic.
The file path sets its route on the generated webapp. eg: src/foo/bar.py -> /foo/bar