FAQ

Frequently Asked Questions

Find out what other users wonder about!

General topics

Why is Taipy open-source ?

Taipy is open-source and will always be.

We want to share this incredible package with the most people. Taipy is a way to boost the productivity of every Python developer and Data scientist. We want to maintain and work with a great community to improve this wonderful Open Source product.

This is why the Open Source version of Taipy is free and contains all the features necessary to create a complete application.

Taipy Hosting can help you deploy your application in a very simple and fast way. For more information, go here.

If you are from a company, you should definitely check out the Enterprise version that adds on top of Taipy: authorization, authentication, LDAP, easy integration of Airflow, and great support to help you deploy your solution.

What is the difference between Taipy Core and Taipy GUI?

Taipy is made up of two distinct components: Taipy GUI and Taipy Core. Although independent, these two components work together seamlessly.

Taipy GUI enables users to create a Graphical User Interface with ease. By using simple Markdown language, users can create interactive pages that incorporate graphical elements.

Taipy Core allows you to build, create, and manage complete data flows, including pipelines that can call upon your own code. Taipy intelligently schedules tasks, caches repetitive operations, and parallelizes tasks to optimize performance and streamline management of pipelines and scenarios.

The primary aim of Taipy Core is to translate standard Python code and enhance pipeline and scenario performance and management.

Finally, Taipy Rest is the third component of Taipy, which provides users with a means of accessing their scenarios, pipelines, and data accessors through a Rest API.

Do I need to know web design?

You don’t need any prior knowledge of HTML, JavaScript, or CSS to use Taipy. Our goal is to make it possible for everyone to create complex web applications with ease.

By simply having a basic understanding of Python, you should be able to follow the Getting Started guide and learn how to use Taipy quickly and effectively.

How can Taipy make my application faster?

Taipy Core boasts intelligent scheduling that automatically parallelizes all tasks. You can create your own pipelines, tasks, and scenarios that can execute simultaneously when feasible.

Taipy also includes a cache system that enables it to skip repetitive tasks when the same pipeline runs multiple times, thus avoiding unnecessary reprocessing.

Additionally, Taipy GUI is fast and efficient. Depending on your application, it can launch multiple functions asynchronously to enhance its speed and fluidity.

Compatibility

Why doesn’t Taipy work the same in Notebooks?

Notebooks operate differently from Python scripts. When you execute the GUI (Gui(…).run()), the server will remain in memory due to how Notebooks function.

To address this issue, specific functions for the Gui have been developed. Additionally, you can restart your kernel to terminate the server that has been created.

Can I deploy a Taipy application on Windows Server?

Yes, Taipy is fully compatible with Windows Server for production. We currently do not provide any documentation on this subject because Microsoft recommends deploying Python applications on Linux. Click here to access the documentation.
Absolutely! Taipy is fully compatible with Windows Server for production purposes. Although we do not offer any documentation on this subject, it’s important to note that Microsoft recommends deploying Python applications on Linux. You can click here to access the documentation.

Taipy Core

How can I trigger scenarios automatically?

While Taipy does not offer automatic creation and execution of scenarios, you can still create your own pipelines and schedule them to run at specific times using a CRON or by coding them yourself.

What is the best way to organize the code for a full application?

The best way to organize your code is in a manner that works best for you. However, we recommend structuring your code in the following manner:

Frontend folder (optional)
Backend folder (optional)
main.py
main.css (optional)

Taipy GUI

Can I change the content of my page on the fly?

Taipy offers partials, which are small blocks of content that can be modified and reloaded on the fly/dynamically.

Why am I seeing the page of a previous code ?

It appears that your server is still running in the background, which is why you are seeing your previous page. To avoid this, make sure to kill your program after you have finished using it.

I am not seeing my tables updating properly when I make changes to their structure. What should I do?

When you make changes to the structure of your data, such as modifying the columns, Taipy needs to reload the table or chart. To ensure that the changes are properly reflected, you can put your code in a partial and change its content dynamically as needed.

Why aren't my variables updating the Graphical User Interface?

To apply a change in the GUI, it’s best to use the syntax state.var = XXXX. Other functions like append/pop can sometimes cause problems.

Why am I having this warning "This is a development server. Do not use it in a production deployment." when running a Taipy GUI application?

Server starting on http://127.0.0.1:5000
Serving Flask app 'Taipy' (lazy loading)
Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Debug mode: on
Server starting http://127.0.0.1:5000

Taipy uses a development server provided by Flask by default to make it easy to run the GUI when you’re developing your app. However, when it comes to deploying the application on a production environment, you should refer to the documentation to use a production server instead.

To run Taipy in a production environment, you should set the ‘debug’ configuration option to False, or force it to False in the call to Gui.run(). This will ensure that your application runs smoothly and efficiently in a production environment.

I have this error “ConnectionError: Port 5000 is already opened on 127.0.0.1. You have another server application running on the same port.”. What should I do?
If you see the error message “ConnectionError: Port 5000 is already opened on 127.0.0.1. You have another server application running on the same port.”, it means that another application or Taipy is already using that port. To resolve this, you can either find and disable the application that’s using that port, or you can change the port that Taipy is using by specifying a different port number in the Gui.run() method, like this:


Gui(…).run(port=xxxx).