Member-only story

Structuring Your Dash App

Choosing the right structure makes it easier to develop and deploy your Dash app

Edward Krueger
Towards Data Science
8 min readSep 28, 2021

--

By Edward Krueger and Erin Oefelein

Introducing Dash

Put simply, Dash is a Python package that allows for the creation of “dashboards” in pure Python without using HTML, CSS or JavaScript. Since it’s programmable, it’s far more powerful than other dashboarding options.

In recent years there has been a major push towards making Python scripts into web applications. To some extent, even Jupyter Notebooks push Python in this direction. However, new tools, including Dash and Streamlit, make it easier to distribute Python by allowing users to write web applications as scripts.

Why Do Structure and Tooling Matter?

You’ve completed your project and created an app to showcase your results. Now, you’d like to share your project insights by deploying your Dash app. This article will walk you through how to structure your app into a form that is easy to deploy!

If this tooling seems like a lot, it is. However, you don’t need to write it all out if you don’t want to. Not only have we provided the code in the following repo, but we’ve also made it a template. So, you can just hit the button…

--

--

Towards Data Science
Towards Data Science

Published in Towards Data Science

Your home for data science and AI. The world’s leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals.

Edward Krueger
Edward Krueger

Written by Edward Krueger

Data Scientist, Software Developer and Educator

No responses yet