Certification Exams of IT Configuring our environment IT Exams Local versus the cloud Streamlit features and widgets

App skeleton building – Streamlit Essentials – Configuring the Environment, Managing Packages, and More

App skeleton building First of all, we need a main function – a function that contains all the business logic of our app and the frontend too. This is the power of Streamlit – building the frontend directly inside Python code. There’s no need for different programming languages, files, and so on; everything is in […]

Certification Exams of IT Examples of Streamlit’s capabilities Installing and launching Streamlit IT Exams Local versus the cloud

Building the menu and adding decorations 2 – Streamlit Essentials – Configuring the Environment, Managing Packages, and More

set_page_config accepts a certain number of arguments, as follows: You can experiment with different configurations and easily find information on how to use each instruction in Streamlit’s Documentation section, which includes input arguments and output results. The following screenshot explains the set_page_config() instruction. As you can see, there are several different configurations that we didn’t […]

Certification Exams of IT Examples of Streamlit’s capabilities Installing and launching Streamlit IT Exams Streamlit features and widgets

Building the menu and adding decorations – Streamlit Essentials – Configuring the Environment, Managing Packages, and More

Building the menu and adding decorations NLP Web App might be a good title for our application, but to be honest, it’s just some black text on a white background, so it’s not very appealing at the moment. One of the greatest features of Streamlit is that we can use HTML very easily. So, let’s […]

Certification Exams of IT Installing and launching Streamlit IT Exams Local versus the cloud Streamlit features and widgets

Organizing and arranging content in a web app – Organizing and Displaying Content with Columns, Expanders, and NLP Techniques

Organizing and arranging content in a web app In Chapter 4, we built the foundations of our first web application and wrote some Python code that, once executed, gives us the following result: Figure 5.1: Chapter 5 starting point We completed the About section, made some decorations in terms of colors, and added an icon […]

Certification Exams of IT Configuring our environment Examples of Streamlit’s capabilities Installing and launching Streamlit IT Exams Local versus the cloud

Adding the Text Analysis part – Organizing and Displaying Content with Columns, Expanders, and NLP Techniques

Adding the Text Analysis part In this part, we will use textblob, a Python library for processing textual data. It provides a simple API for diving into common NLP tasks such as part-of-speech tagging, sentiment analysis, classification, and more. For more details, visit pypi.org (the famous Python Package Index). As usual, we need to install […]

Certification Exams of IT Examples of Streamlit’s capabilities Installing and launching Streamlit IT Exams Local versus the cloud Streamlit features and widgets

Hiding and showing parts depending on importance – Organizing and Displaying Content with Columns, Expanders, and NLP Techniques

Hiding and showing parts depending on importance From a very broad point of view, an application is just a way to visualize, transform, and save information. Not always showing all the available information at the same time is a winning idea. For example, having all the information on a unique screen could make our app […]

Certification Exams of IT Configuring our environment Examples of Streamlit’s capabilities Installing and launching Streamlit IT Exams Local versus the cloud Streamlit features and widgets

Adding the two basic functions – Organizing and Displaying Content with Columns, Expanders, and NLP Techniques

Adding the two basic functions Let’s start with the first basic function: Basic Info. Expanding Basic Info, we get Text Stats. In Chapter 4, among others, we imported the neattext package, which is very useful for our statistics as it has a function named word_stats. If you haven’t already imported it, it’s time to do […]

Certification Exams of IT Configuring our environment IT Exams

Adding a wordcloud – Organizing and Displaying Content with Columns, Expanders, and NLP Techniques

Adding a wordcloud Since the Basic Functions layer is now unbalanced, let’s add a beautiful wordcloud on the right, just to make everything much more symmetric. Please double-check that you already imported the Wordcloud library, as suggested in Chapter 4. This time, we can add another expander into the second column and write a few […]

Back To Top