Streamlit is an open-source Python library that makes it easy to build beautiful custom web-apps for machine learning and data science.
To use it, just pip install streamlit, then import it, write a couple lines of code, and run your script with streamlit run [filename]. Streamlit watches for changes on each save and updates the app live while you’re coding. Code runs from top to bottom, always from a clean state, and with no need for callbacks. It’s a simple and powerful app model that lets you build rich UIs incredibly quickly. To learn more about how Streamlit works, see Main concepts.
You may also want to check out this four-part video recorded at our PyData talk on December 2019. In it we describe the motivation behind Streamlit, then go over how to install and create apps with it.
- Make sure that you have Python 3.6 or greater installed.
- Install Streamlit using PIP:
- pip install streamlit
- Read data
- Show the data
- Show the table with n number of records
- Show the number of rows and columns
- Show the columns
- Show the data types
- Plot the data using streamlit inbuild methods