Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Getting Started with Taipy
Getting Started with Taipy

Getting Started with Taipy: The definitive guide to creating production-ready Python applications for data professionals

Arrow left icon
Profile Icon Eric Narro
Arrow right icon
$31.99 $35.99
eBook Oct 2025 370 pages 1st Edition
eBook
$31.99 $35.99
Paperback
$44.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Eric Narro
Arrow right icon
$31.99 $35.99
eBook Oct 2025 370 pages 1st Edition
eBook
$31.99 $35.99
Paperback
$44.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$31.99 $35.99
Paperback
$44.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Getting Started with Taipy

Discovering Taipy

Taipy is an open-source Python library that allows anyone working with data (data scientists, data and business intelligence (BI) analysts, etc.…) to create complete data applications. A complete data application is a tool that handles every step of data work—from collection to analysis—in one place, so users can easily manage data and generate insights. Data professionals use the Python ecosystem to build models, conduct analysis, and generate visualizations. Taipy solves the last-mile problem: deploying these solutions into production environments.

In this chapter, you’ll discover Taipy’s main uses and the reasoning behind the library’s creation. Then, you’ll install Taipy and some development tools to start your journey. Together, we will create our first application using two types of syntax allowed by Taipy: the Markdown API and the Python API (our book focuses on the latter). Finally, you’ll learn how...

Join our book community on Discord

A qr code with a square in the middle Description automatically generatedhttps://packt.link/EarlyAccessCommunity

Taipy is an open-source Python library that allows anyone working with data (data scientists, data and business intelligence (BI) analysts, etc.…) to create complete data applications. A complete data application is a tool that handles every step of data work—from collection to analysis—in one place, so users can easily manage data and generate insights. Data professionals use the Python ecosystem to build models, conduct analysis, and generate visualizations. Taipy solves the last-mile problem: deploying these solutions into production environments.In this chapter, you'll discover Taipy's main uses and the reasoning behind the library's creation. Then, you’ll install Taipy and some development tools to start your journey. Together, we will create our first application using two types of syntax allowed by Taipy: the Markdown API and the Python API (our book focuses on...

Technical requirements

You can find all the code provided in this chapter in the GitHub repository for this book at https://github.com/PacktPublishing/Getting-Started-with-Taipy/tree/main/chapter%201.To install Taipy, you need at least Python version 3.9. We recommend working with newer versions, such as 3.12 or above.

Meeting Taipy – a data application library

Taipy is an open-source Python library created by Avaiga, a company founded by Vincent Gosselin and Albert Antoine. Both Vincent and Albert transitioned from Java to Python as they saw it become the most relevant language in data-related operations (data analysis, data science, and even data engineering).Indeed, Python offers a convenient way for data professionals to test and experiment with models, analyze data, create interesting visuals, and interact with data in enterprise structures (retrieving from databases, inserting into databases, carrying out data transformations, and so on). Here are some popular Python libraries for these tasks:

  • Machine learning (ML): scikit-learn, spaCy, and Natural Language Toolkit (NLTK)
  • Data manipulation: NumPy, pandas, Polars, and PySpark (Spark API for Python)
  • Data visualization: Plotly, Matplotlib, Altair, Seaborn, and Bokeh
  • Artificial intelligence (AI): Python APIs for almost all large language models...

The main components of Taipy

As a project, Taipy is primarily a Python library, but it also includes other significant components:

  • Taipy Studio, the Visual Studio Code (VS Code) extension described earlier.
  • Taipy CLI, a command-line interface (CLI). It's also coded in Python, and you install it with the other components when you install Taipy with pip. Technically, it's part of the Python library, but you won't use it as such.

The project has a free and open-source software (OSS) part, and an Enterprise Edition, with a paid subscription. Taipy Enterprise has its own classes, but we won't be covering those in this book (we might discuss them briefly when appropriate). An exception to this is Taipy Designer, a drag-and-drop application builder that you can test for free; we talk about it in Chapter 15. As an OSS library, Taipy has two main sublibraries:

  • A GUI generation component (the taipy.gui sublibrary)
  • Taipy for Scenario Management (Orchestrator(), Cycle(), and...

Installing Taipy and creating your setup

Before installing Taipy to create new projects, as with any other Python library, you can create a virtual environment. You can create isolated Python environments for each project with virtual environments, preventing dependency conflicts. This makes your projects more organized and reproducible. You can also create environments for collaboration, so several users use the same versions of the libraries, and you can also reproduce your virtual environment to ensure proper deployment of your applications (with a requirements.txt file). Here’s a way to create a virtual environment:

$ python -m venv name-of-your-environment

Then, activate it with the following command:

$ .\name-of-your-environment\Scripts\activate

For macOS and Linux, use the following:

$ source name-of-your-environment/bin/activate

If you use Conda, you can create it using this command:

$ conda create --name name-of-your-environment

Then, activate it using the following...

Creating your first Taipy application

It's time to create your first, minimal application. This section has two goals:

  • Make sure that your setup works fine
  • Use the big elements of Taipy in a Hello World! app and see their differences

Creating GUIs with the Python API

To test whether your Taipy installation works well, you can try the following code. Write it in a file called main.py:

import taipy.gui.builder as tgb
from taipy.gui import Gui
with tgb.Page() as hello_earth_python:
    tgb.text("# Hello Earth!", mode="md")
page_to_run = Gui(page=hello_earth_python)
if __name__ == "__main__":
    page_to_run.run(use_reloader=True, dark_mode=False)

You should see something like this:

Figure 1.3 – The Taipy application running locally

In this code, we imported the Gui class, which "holds" the Taipy application. It takes a Page element as an argument, which can be of different types, as we saw in the previous section. In this case, we...

Using the Taipy CLI

Taipy's documentation of the CLI tool ( https://docs.taipy.io/en/release-4.0/userman/ecosystem/cli/) is straightforward. You can use the CLI tool from any terminal, such as the one in VS Code. Let's go over the most important uses of the Taipy CLI.

Starting projects

When you start a project, it can be challenging to be consistent with your file structures, and it takes some time to create them. The easiest and cleanest way to start a project is using the taipy create command.

Starting Taipy applications

Once you run this command, you will have a prompt asking you seven questions. For each question, you will see a default answer (between parentheses). Just press Enter if you like the default, or type your choice otherwise.In the following example, you can see that we accepted the default for question 2:

$ taipy create
  [1/6] Application root folder name (taipy_application): my_first_app_from_cli
  [2/6] Application main Python file (main.py):
  [3/6]...

Why is Taipy different?

Besides Taipy, the Python ecosystem offers solutions to create applications, but none address the issue that Taipy solves: creating production-ready data applications.For instance, compare the following with Taipy:

  • Python has some GUI application frameworks, such as tkinter. These are mainly used for simple or experimental GUI apps and are not ideal for production environments, which are typically browser-based. Tkinter also has a difficult syntax.
  • You can find web application frameworks for Python users, such as Django or Flask. While these frameworks are powerful tools for web developers, they may not be the most straightforward option for data scientists looking to quickly build data applications. In fact, Taipy leverages Flask.
  • Plotly Dash is a great data visualization tool. It allows the creation of complete dashboards for data analysis and can be production-ready. Dash has a harder syntax, and it doesn't offer the same flexibility to compare scenarios...

Summary

In this chapter, you discovered Taipy: an open-source Python library that allows data scientists and data analysts to share their models and visuals in production environments. It also makes it easy to shift between development and production versions of your applications.After completing this chapter, your setup should be complete. You ran your first applications using different APIs for both Taipy for GUI and Scenario Management, and you used Taipy Studio and the CLI tool.Now that everything is working and you know the project's structure, you can dive into creating compelling user interfaces with Taipy GUI in the next chapter!

Questions

  1. What problems does Taipy solve?
  2. What are the main components (or tools) of Taipy? What do you use them for?
  3. What is the difference between Taipy GUI and Taipy Scenario Management?
  4. How do you create a scenario with Taipy?
  5. How do you declare a multi-page application? Tip: create a multi-page GUI application with the Taipy CLI and see how it's coded in the main file.

Answers

  1. Taipy turns data models and datasets into fully functional applications that non-technical users can interact with. While many Python tools help data professionals with tasks such as modeling, visualization, and analysis, they cannot often deploy these solutions in production environments for end users.
  2. The main components of Taipy are Taipy GUI and Taipy Scenario Management:
    • Taipy Scenario Management is used for managing and automating data workflows. It helps you handle complex data pipelines, schedule tasks, and manage dependencies between different steps in your data processing. It is essential for organizing and running the backend processes of your data applications.
    • Taipy GUI is used for creating the frontend, or user interface, of your data applications. It allows you to build interactive dashboards, forms, and visualizations that users can interact with.

Next to these two main components, we also have the following:

  • Taipy CLI helps you set up and manage your Taipy...
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Create visually compelling, interactive data applications with Taipy
  • Bring predictive models to end users and create data pipelines to compare scenarios with what-if analyses
  • Go beyond prototypes to build and deploy production-ready applications using the cloud provider of your choice
  • Purchase of the print or Kindle book includes a free PDF eBook in full color

Description

While data analysts, data scientists, and BI experts have the tools to analyze data, build models, and create compelling visuals, they often struggle to translate these insights into practical, user-friendly applications that help end users answer real-world questions, such as identifying revenue trends, predicting inventory needs, or detecting fraud, without wading through complex code. Getting Started with Taipy is your comprehensive guide to overcoming this challenge. This book teaches you how to use Taipy, a powerful open-source Python library, to build intuitive, production-ready data apps quickly and efficiently. Instead of creating prototypes that nobody uses, you'll learn how to build faster applications that process large amounts of data for multiple users and deliver measurable business impact. Taipy does the heavy lifting to enable your users to visualize their KPIs, interact with charts and maps, and compare scenarios for better decision-making. You’ll discover how to use Taipy to create apps that make your data accessible and actionable for end users in production environments, such as cloud services or Docker containers. By the end of this book, you won’t just understand Taipy, you'll be able to transform your data skills into impactful solutions that address real-world needs and deliver valuable insights.

Who is this book for?

If you’re a data analyst, data scientist, or BI analyst looking to build production-ready data apps entirely in Python, this book is for you. If your scripts and models sit idle because non-technical stakeholders can’t use them, this book shows you how to turn them into full applications fast with Taipy, so your work delivers real business value. It’s also valuable for developers and engineers who want to streamline their data workflows and build UIs in pure Python.

What you will learn

  • Explore Taipy, its use cases, and how it's different from other projects
  • Discover how to create visually appealing interactive apps, display KPIs, charts, and maps
  • Understand how to compare scenarios to make better decisions
  • Connect Taipy applications to several data sources and services
  • Develop apps for diverse use cases, including chatbots, dashboards, ML apps, and maps
  • Deploy Taipy applications on different types of servers and services
  • Master advanced concepts for simplifying and accelerating your development workflow

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 06, 2025
Length: 370 pages
Edition : 1st
Language : English
ISBN-13 : 9781836203803
Category :
Languages :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Oct 06, 2025
Length: 370 pages
Edition : 1st
Language : English
ISBN-13 : 9781836203803
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Table of Contents

21 Chapters
Part 1: Understanding Taipy and Its Components Chevron down icon Chevron up icon
Chapter 1: Discovering Taipy Chevron down icon Chevron up icon
Chapter 2: Creating User Interfaces with Taipy Chevron down icon Chevron up icon
Chapter 3: Connecting to Data Sources with Data Nodes Chevron down icon Chevron up icon
Chapter 4: Orchestrating Taipy Applications Chevron down icon Chevron up icon
Chapter 5: Managing Scenarios with Taipy Chevron down icon Chevron up icon
Chapter 6: Deploying Your Taipy Applications Chevron down icon Chevron up icon
Part 2: Building Real-World Applications with Taipy Chevron down icon Chevron up icon
Chapter 7: Taipy for Finance: Sales Forecasting and BI Reports Chevron down icon Chevron up icon
Chapter 8: Taipy for Logistics: Creating Supply Chain Management Apps Chevron down icon Chevron up icon
Chapter 9: Taipy for Urban Planning: Creating a Satellite Image App Chevron down icon Chevron up icon
Chapter 10: Building an LLM Chatbot with Taipy Chevron down icon Chevron up icon
Part 3: Advanced Taipy: Building Efficient and Complex Apps Chevron down icon Chevron up icon
Chapter 11: Improving the Performance of Taipy Applications Chevron down icon Chevron up icon
Chapter 12: Handling Large Data in Taipy Applications Chevron down icon Chevron up icon
Chapter 13: Creating Real-Time Apps with Taipy Chevron down icon Chevron up icon
Chapter 14: Embedding Iframes in Taipy Applications Chevron down icon Chevron up icon
Chapter 15: Exploring Taipy Designer (Enterprise Version) Chevron down icon Chevron up icon
Chapter 16: Who Uses Taipy? Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.

Modal Close icon
Modal Close icon