Taipy Designer
Welcome to Taipy Designer. Taipy Designer's ambition is to provide Taipy with a means to interactively create application pages and deploy them in an actual application.
You can download all examples for this documentation for this link
Installation¶
Taipy Designer can be simply installed using pip, providing the Taipy Designer setup archive file (tar.gz) provided by your Avaiga contact.
If this tar.gz is named taipy-designer-<VERSION>.tar.gz, please run the following command:
pip install taipy-designer-<VERSION>.tar.gz
Taipy Designer: a member of the Taipy products family¶
If you're just getting started with Taipy GUI, a great first step is the Taipy GUI tutorials to quickly get acquainted.
For those already versed in Taipy GUI, you understand the various methods to create pages using Markdown, HTML, or Python code. Taipy Designer elevates this process by offering a streamlined, drag-and-drop approach that makes it the quickest and simplest method to develop sophisticated pages.
Consider this basic example of a Taipy application:
from taipy import Gui
page_md = "# Getting started with *Taipy*"
Gui(page_md).run()
Now, see how effortlessly this is translated into Taipy Designer:
from taipy import Gui
from taipy.designer import Page
page = Page("simple_md.xprjson")
Gui(page).run(design=True)
The changes for a Taipy Designer setup include:
- Importing the
Page
class fromtaipy.designer
. - Using of a file named "simple_md.xprjson", designed specifically for Taipy Designer’s GUI definition.
- Adding the design parameter to the
Gui
'srun()
method to easily switch between design mode (True) and the final page display (False).