# Formation **Repository Path**: watching/Formation ## Basic Information - **Project Name**: Formation - **Description**: Tools for building gorgeous graphical user interfaces in tkinter - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-09 - **Last Updated**: 2025-06-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README    [](https://pypi.org/project/formation-studio/)   [](https://formation-studio.readthedocs.io/en/latest/?badge=latest) ## Introduction **Formation studio** is a tool that makes developing user interfaces in Python a breeze. By generating the interface code from simple drag-and-drop widgets, it allows developers to focus on building product functionality and beautiful designs. Formation Studio has a set of powerful tools which can be used to design interfaces saved in [.XML](https://en.wikipedia.org/wiki/XML) or [.JSON](https://en.wikipedia.org/wiki/JSON) files. These generated files can then be loaded in code. Formation Studio draws inspiration from other [RAD](https://en.wikipedia.org/wiki/Rapid_application_development) tools such as [Android Studio's](https://developer.android.com/studio) visual layout editor, [PAGE](http://page.sourceforge.net). The design below was built solely in Formation Studio (no images or external tools).  ## Getting started ### Installation To use Formation Studio, [install Python 3.9 or higher](https://www.python.org/downloads/) Afterwards, install Formation Studio with pip (Python package manager). ```bash pip install formation-studio ``` The development branch can be installed with the following command: > **note**: Git needs to be installed to use the following command, and the above version of Formation Studio should be installed prior ```bash pip install --upgrade git+https://github.com/obaraemmanuel/Formation@master ``` ### Installation on Linux Formation Studio uses TKinter and, depending on the distribution/platform, it may not be installed by default. If TKinter is not installed, install `tkinter` and `imagetk` after installing Formation Studio. Install command for `tkinter` and `imagetk` on Debian Python: ```bash sudo apt-get install python3-tk, python3-pil.imagetk ``` > Note: The above instruction is only assured to work on Ubuntu. For > other versions, change the installation command based on the platform. Also, ensure these commands install to the correct directory if multiple versions of python exist on the machine. Formation Studio is a Python 3 application, therefore it does not support Python 2. ### Launching After installation, you can launch Formation Studio from the command line using the command ```bash formation-studio ``` > Note: Multiple instances of Formation Studio will not work simultaneously. The studio will open a blank design by default (This can be changed in the preferences). With detachable tool windows, Formation Studio is able to provide the flexibility to tailor to every developer's unique needs. Multiple design files can be opened in different tabs.  *Demonstration of Formation Studio above ^* Widgets can be selected from the _**Components**_ pane at the top to be dragged on stage. Click to select widgets on the workspace and customize them on _**Stylepane**_ to the right. The widget hierarchies can be viewed from the _** Component tree**_ at the bottom left. To preview the design, use the preview ("run button") on the toolbar. The design can be saved in the top bar by going to _File > Save_. Below is a sample studio preview saved as `hello.xml`