Streamlit Part 1: Install and Basics
Code can be found here: [GitHub - jamesbmour/blog\_tutorials:](https://github.com/jamesbmour/blog_tu...)
Introduction to Streamlit - Part 1: Setting Up and Getting Started
📍 Welcome to the first part of my Streamlit tutorial series! 📍
In this video, I’ll walk you through the initial steps of working with Streamlit, a powerful Python library for building custom web apps. We’ll cover everything you need to get started, from installing Streamlit to setting up your first project. Along the way, I’ll show you how to use some of the most basic yet essential functionalities like adding titles, subheaders, and using the versatile st.write() function.
What’s Covered in This Video:
• How to install Streamlit and set up a new project.
• Adding titles and subheaders using st.title() and st.subheader().
• Demonstrating the st.write() function for displaying text, data frames, and Markdown.
• Introduction to the st.markdown() function for more control over your text formatting.
• Streaming data in real-time using st.write_stream().
Key Takeaways:
• By the end of this video, you’ll know how to set up Streamlit and create a basic app with titles, subheaders, and interactive data streaming.
• I’ll also show you some helpful tips for working with Markdown and streaming data in real-time, which can be especially useful for building chatbots or apps that require live updates.
Upcoming Videos:
Stay tuned for more episodes where we’ll dive into more advanced features of Streamlit, including text elements, widgets, and building complete web apps!
🔔 Don’t forget to like, subscribe, and hit the notification bell so you don’t miss out on the next tutorials in this series!
00:00 Introduction and Overview
00:49 Setting Up Streamlit
01:00 Adding Titles and Sub-headers
02:14 Using the Write Function
03:07 Markdown and Data Frames
03:26 Streaming Data in Real-Time
04:22 Implementing the Streaming Function
05:31 Connecting Buttons for Streaming
06:47 Conclusion and Next Steps