How can I use variables/dataframe generated in streamlit app to be used by Quarto in generating html report in streamlit ? #11577
Unanswered
johnsnow09
asked this question in
Q&A
Replies: 1 comment 10 replies
-
To be sure I understood what you want to do: I'm afraid, you need to develop this yourself and it is unlikely you'll find anything about this specifically, but you might find things online about the key principle to execute OS command from the app (likely via process = subprocess.Popen(["quarto", "..."], ...) |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I have a python streamlit webapp link running and I want to add a feature to it to allow users to download
html
reports from it. The downloadablehtml
should be able to usevariables, dataframe, plotly charts
created in streamlit using .py files running in the vm. Is it possible to use Quarto for this and how can I use those variables from streamlit to Quarto. Will there be any thing extra I need to do to use those variables, dataframe by name.For example if there is pandas dataframe
st.session_state.data_final
(st represents streamlit, session_state is to pass variables between pages in session and data_final is the dataframe name) will this be directly loaded/read/utilized within Quarto by mentioning its namest.session_state.data_final
?Is there any blog or demo or document available related to this ?
Beta Was this translation helpful? Give feedback.
All reactions