Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Web App Development Made Simple with Streamlit

You're reading from   Web App Development Made Simple with Streamlit A web developer's guide to effortless web app development, deployment, and scalability

Arrow left icon
Product type Paperback
Published in Feb 2024
Publisher Packt
ISBN-13 9781835086315
Length 350 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Rosario Moscato Rosario Moscato
Author Profile Icon Rosario Moscato
Rosario Moscato
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Part 1: Getting Started with Streamlit FREE CHAPTER
2. Chapter 1: Getting to Know Streamlit – A Brief Overview 3. Chapter 2: Setting Up the Python Coding Environment 4. Chapter 3: Exploring Streamlit’s Features and Functionality 5. Part 2: Building a Basic Web App for Essential Streamlit Skills
6. Chapter 4: Streamlit Essentials – Configuring the Environment, Managing Packages, and More 7. Chapter 5: Organizing and Displaying Content with Columns, Expanders, and NLP Techniques 8. Chapter 6: Implementing NLP Techniques for Text Analysis and Processing in Streamlit 9. Chapter 7: Sharing and Deploying Your Apps on the Cloud Using Streamlit Share 10. Part 3: Developing Advanced Skills with a Covid-19 Detection Tool
11. Chapter 8: Advanced Environment Setup and Package Management for Building an AI-Powered Web App 12. Chapter 9: Optimizing Streamlit Web App UX with Customization and UI Features 13. Chapter 10: Utilizing Pretrained Models to Create Specialized and Personalized Web Applications 14. Chapter 11: Deploying and Managing Complex Libraries on Streamlit Share 15. Part 4: Advanced Techniques for Secure and Customizable Web Applications
16. Chapter 12: Smart File Uploading – Advanced Techniques for Professional Web Applications 17. Chapter 13: Creating a Secure Login and Signup Process for Web Applications 18. Chapter 14: Customizing Pages, Personalizing Themes, and Implementing Multi-Pages 19. Chapter 15: Enhancing Web Apps with Forms, Session State, and Customizable Subdomains 20. Chapter 16: Takeaways and Conclusion 21. Index 22. Other Books You May Enjoy

IDE selection

Having a good IDE is very important for coding in Python. It provides many useful features that help you write code faster and with fewer errors, and keeps your code clean and well organized. For example, the autocomplete feature saves a lot of time by suggesting code completions as you type. This reduces typing errors. Syntax highlighting makes the code easier to read by coloring different elements. Powerful debugging tools in the IDE make debugging easier and faster. Refactoring features help keep the code organized and readable. Linting checks your code for stylistic issues, improving the quality.

On the market, there are several excellent tools such as PyCharm and VSCode, but these tools are usually heavy and a little bit expensive. For the sake of our coding sessions, we can use a quite light application that, at least at the beginning, can be installed and used at no cost: Sublime Text.

Sublime Text has many nice features that you can explore by yourself, including programming language recognition and syntax highlighting. You can install it directly from its home page (https://www.sublimetext.com/) by carefully following the instructions:

Figure 2.8: Sublime Text home page

Figure 2.8: Sublime Text home page

Now, from your working directory in Terminator, just type subl . and Sublime Text will open up. Please select Python in the extension list in the bottom-right corner:

Figure 2.9: Python syntax selection in Sublime Text

Figure 2.9: Python syntax selection in Sublime Text

Considering that Python is available and Sublime Text is installed, we could start coding with Streamlit immediately, but this is not the best option. In Python, every time we start a new project, we tend to install some specific new packages and libraries, and if we install this new stuff every time into the same basic environment, sooner or later, our environment will be a total mess. A very clean way to avoid this potential mess is the usage of virtual environments, so let’s see what they are.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image