Taipy¶
TapPy a Python open-source library designed for easy development of data-driven web applications. It supports defining scenario for data pipeline and integrate with UI elements to do the data presentations and interactions.
It generates web pages from a Flask Server. The main class is Gui
.
- Support multiple pages which are defined in markdown, html or python code. (See md_ui.py)
- Offer various visual elements that can interact with the Python variables and environment.
- Keep State of user connection and variables for dynamic binding.
- User interactions are event driven
- Page has name for navigation
- Include a CLI to create apps or run them.
- Blocks let developers organize controls (or blocks) in pages
- Scenarios are global variables available to everyone connected.
- Every callback, including submit_scenario(), receives a State object as its first parameter.
Some how to¶
- Pages are created in different modules, the variables that they can bind to visual elements may have a scope limited to their origin module.
- For Single Page Application we need to associate one page to "/"
CLI¶
'''sh taipy run main.py '''