Release notes

Taipy 4.0: Redefining Data and AI Application Development

Rym MichautRym Michaut
Share:
  • Copied!

Introduction

With the release of Taipy 4.0, we are taking a major leap forward in empowering developers and data scientists to build, manage, and deploy AI-powered applications with even greater efficiency. This new version introduces enhancements across scenario management, data handling, UI controls, and performance improvements, making Taipy more intuitive and powerful than ever before.

Upgrading to Taipy 4.0

Taipy 4.0 brings changes to the package structure that require users to manually uninstall previous versions before upgrading. If you are currently using Taipy 3.x, follow these steps to ensure a smooth transition:

pip uninstall taipy taipy-config taipy-common taipy-gui taipy-core taipy-templates taipy-rest pip install taipy

This ensures that outdated dependencies are removed, preventing potential runtime issues.

Key Enhancements in Taipy 4.0

Enhanced Scenario and Data Management

Taipy 4.0 introduces major usability improvements to scenario and data node handling:

  • Scenario Selector:
    • Multiple selection support.
    • New filtering, sorting, and search functionalities for efficient navigation.
  • Data Node Selector:
    • Multiple selection support.
    • Enhanced filtering, sorting, and search options.
  • Data Node Viewer:
    • Users can now upload and download data from file-based data nodes.
  • Job Selector:
    • Added a detailed panel for better job monitoring.

Powerful New UI Controls in Taipy GUI

Taipy 4.0 introduces three new powerful UI controls:

  • Metric Control: Display key numerical information, ideal for industrial KPIs.
  • Progress Control: A compact way to visualize process completion.
  • Chat Control: Simplifies the creation of chat-based applications.

Enhanced Table Control

The table component now includes:

  • Built-in edit, add, and delete functionalities without requiring extra callbacks.
  • New format_fn[column_name] property for custom Python-based formatting.
  • Boolean values now support checkboxes for faster rendering of large datasets.

Additionally, Taipy now supports custom page styling and allows list-of-values (LoVs) to be generated from enumeration classes.

Core Enhancements in Taipy Core

  • taipy.get_scenarios() and taipy.get_primary_scenarios() now support:
    • Sorting by name, ID, creation date, or tag.
    • Filtering scenarios by time range.
  • Improved job tracking:
    • New timestamp attributes (submitted_at, run_at, finished_at).
    • New duration metrics (execution_duration, pending_duration, blocked_duration).
  • New Event Consumer API:
    • Introducing CoreEventConsumerBase, allowing developers to track and react to CRUD operations on Taipy entities.

Template Enhancements

  • New applications generated from templates now support Git repository initialization for seamless version control from the start.

Conclusion

Taipy 4.0 is a significant step forward in democratizing data-driven application development. Whether you are building complex AI workflows, interactive dashboards, or scenario-based applications, Taipy 4.0 offers a richer, more efficient, and seamless development experience.

Ready to explore Taipy 4.0? Upgrade today and start building smarter AI applications!

📌 Join the conversation:GitHub | Documentation

Rym MichautRym Michaut
Share:
  • Copied!