Creating Data Apps in Pure Python
Creating Data Apps in Pure Python
Python
Nithish Raghunandanan
@nithishr
7th February 2021
FOSDEM’ 21
About Me
● Data Engineering ⚙
● Like to Prototype 🛠
● Build in
● Organize PyData Munich
● Love to Travel ✈
● Find me @nithishr
Wild West of Javascript
● Lots of Frameworks /
Libraries
● Paradox of Choice
Streamlit
● Turn Data Scripts into Web
Apps
● Interactive
● No Frontend Experience
Required
● Easy to Deploy
Streamlit
Compatibility with Major Frameworks / Libraries
Streamlit Use Cases
● Visualizing Data
Interface for Machine Learning
Normal Workflow
Streamlit Workflow
● Build Model
● Build Model
● Light Wrapper in Flask /
● Integrate Streamlit
FastAPI
Components for UI
● Frontend in HTML / JS / CSS
Interface for Machine Learning
Image Classification
Demo: https://youtu.be/1y1o4XoFIuA
Visualizing Data
● Notebooks
● Presentations
● Scripts
● Code
● Reports in Tableau
● Web Apps?
Jupyter Notebooks
● Great for Experimentation
Demo: https://youtu.be/ZFIviSlB4ZA
Alternatives
● Interactive ● No built in
● Customizable Authentication
● Deployment is easy ● Early stages of
● Active Community Streamlit Sharing
● Showcase Solutions
Javascript
References
● Code:
○ Machine Learning UI
https://github.com/nithishr/streamlit-ml-demo
○ Travel Data Visualization
https://github.com/nithishr/streamlit-data-viz-demo
● Examples:
○ Streamlit Gallery
Nithish Raghunandanan
[email protected]
blog.nithishr.com
@nithishr