Questions tagged [taipy]
Taipy is an open-source Python library that aims to simplify front-end and back-end development for data-driven applications. Every question related to it can have this tag.
taipy
97
questions
1
vote
1
answer
35
views
Not a valid function in Taipy
I have this code block:
from taipy.gui import Gui, notify
import taipy.gui.builder as tgb
import pandas as pd
import os
def read_data(filepath_or_url):
try:
if os.path.isfile(...
0
votes
0
answers
16
views
Python console in Taipy
I've been trying to create a section in my Taipy application in which I print the content of the underlying Python console, to have a read-only application log that stays up-to-date in real time.
So ...
1
vote
1
answer
41
views
Changing Taipy selector lov at runtime?
I am trying to change the List of Values of a Taipy selector at runtime, but I keep failing. My lov is defined as the keys of a dictionary in my application, called shapes. I define my selector like ...
0
votes
1
answer
48
views
Taipy selector causes an error, how can I get around this?
When trying to construct a list from a selector, I use the following code:
tgb.selector(value="{countries}", lov="{all_countries}", multiple=True,dropdown=True)
where 'countries' ...
1
vote
1
answer
56
views
Taipy toggle works with markdown syntax but not python
Trying to implement a toggle control on my page. Seems to work when using markdown but not when using python.
Using taipy-gui 3.1.2
This works as expected
from taipy.gui import Gui
def on_toggle(...
0
votes
1
answer
29
views
Dynamically change min/max values of slider
In my application, I need to use a slider but I will not know what the bounds of the slider should be until after the user opens a file.
The documentation for slider doesn't list min and max ...
0
votes
1
answer
23
views
Long Running Callbacks TAIPY
In case of longrunningcallbacks. i had implemented the below code.
def start_analytics(project_id,instance_id):
missing_signals = []
signal_dict = get_all_timeseriesdata(project_id,instance_id)...
0
votes
0
answers
27
views
update plot on changing values
I am trying to update a fig when selecting values in GUI. When i change the value the start_analytics def is initiated whihc generates the plotly fig. but it does not update the plot in web page.
def ...
0
votes
0
answers
91
views
Pyinstaller and Taipy
Have anyone successfully made executable file using taipy module and pyinstaller.
I made a new virtual environment, and pip install numpy, and pandas first. Then I pip install taipy.
My program is as ...
0
votes
1
answer
48
views
Taipy page control (button.)
Is there a way I can use the same button to connect and disconnect?
For this, I should be able to change button properties dynamically.
Connect -> Connected -> Disconnect.
these could be the ...
1
vote
0
answers
123
views
Why a Taipy app is very slow after deployment?
I have made, as an amateur, an application that uses Taipy. The application works normally through the python interpreter on localhost.
I have followed the instructions to use as application server ...
0
votes
1
answer
273
views
Can't install taipy : ERROR : Could not build wheels for taipy-templates, which is required to install pyproject.toml-based projects
I try to install taipy by creating new environment and using pip install on the step below in command prompt:
conda create -n taipy_env python=3.11
conda activate taipy_env
pip install taipy
but I ...
0
votes
1
answer
148
views
issue with custom plots in taipy
I see its possible to add a custom plot in Taipy.
import plotly.graph_objects as go
import numpy as np
# Function to create rotation matrix
def create_rotation_matrix(A, B, C):
Rz = np.array([[np....
0
votes
1
answer
86
views
reset page elements to empty when changing page in Taipy
Currently to reset the page variables and elements I use,
def refresh_project_part(state):
state.name = None
state.description = None
state.p_name = None
state.p_description = None
...
0
votes
1
answer
56
views
parallel execution of multiple methods - on_navigate taipy
is it possible for parallel execution of methods in the on_navigate? I tried ThreadPoolExecutor but showed an error Working outside of the application context.
def on_navigate(state: State, page_name: ...