How to Package a Multi-Page Streamlit App into an Executable with Protected Code and Data

Hi everyone,

I’ve created a multi-page Streamlit app. I want to package everything into a single executable file to share with my clients. My goal is to avoid using the Streamlit Cloud or any external server. Additionally, I want to ensure the source code of the Streamlit frontend and the raw CSV files remain protected and inaccessible to the client.

Does anyone have suggestions on how to achieve this? For example, is there a way to bundle the app and its dependencies into a standalone executable while keeping the code and data secure?

Thanks in advance for your help!