Free Modular Project Structure for Databricks Apps with Streamlit

protmaks
Databricks MVP
The official Databricks Apps quickstart puts everything into a single app.py. Fine for a demo — painful once the app grows past ~500 lines.
Problems with the single-file pattern:
  • Merge conflicts on every PR
  • UI, logic, and SDK calls coupled → no unit tests
  • Unreadable diffs in code review
  • AI assistants (Cursor, Claude) re-parse the whole file every prompt → high token cost

schema1.jpg

 
 
Full article (detailed walkthrough): full article
GitHub template: GitHub Repo