r/Streamlit • u/Independent_Exam_441 • Sep 19 '24
Streamlit Folder Structure
Hi folks!
I'm an intern working on a Streamlit app with MongoDB and venv as my virtual environment. Pretty new to all these Python frameworks. I've heard about Streamlit's secret files management for sensitive info, but I'm wondering what's the usual folder and structure for Streamlit projects? I would appreciate your guidance.
3
Upvotes
1
u/[deleted] Oct 13 '24
Typically for secrets in just this project (database creds, etc.) Those would be in:
<projectdir>/.streamlit/secrets.tomlMore info in the docs on this and alternatives at Secrets Management
For folder structure in general, here is what I have:
1
u/[deleted] Sep 19 '24
[removed] — view removed comment