I found out I can write scripts that render a streamlit web page, then use the same script with streamlit commands to do some script batch work, i.e. return value to the real script that then sends an alert or similar.
I would want still see the output of streamlit commands in the terminal. As a simple workaround, I did:
And this works pretty well and redirects the outputs to the terminla seamlessly. However, there may be ready-to-use projects that render streamlit in the terminal. Is there already something known?