The importance of turning an idea into a prototype – the changing scenario in computing methods Computing has advanced dramatically over the past few decades. Earlier systems relied on programs that were installed and run on individual personal computers. Users would purchase software licenses, install the programs themselves, and then access those applications from their […]
The importance of a full Python web framework – Getting to Know Streamlit – A Brief Overview
The importance of a full Python web framework Building and publishing web applications on the cloud today relies on several key frameworks, languages, and techniques. Some of the most important are as follows: As we can see, there are many tools and techniques we can use to build, deploy, scale, and integrate web applications professionally […]
Setting up the OS 2 – Setting Up the Python Coding Environment
As we can see, Python 3 is already installed in Ubuntu, and when we type python3, we can enter Python and start coding. In Figure 2.3, we just printed a nice Hello Streamlit! message and then quit. If you encounter an error while typing python3, it is possible that your system has Python available as […]
Setting up the OS – Setting Up the Python Coding Environment
Setting up the OS It’s extremely important to have a very well-working environment. The OS is the place where everything is supposed to run. Even if the first choice we are asked to make is in regard to the OS to be used, we can say that from this point of view, we are lucky, […]
IDE selection – Setting Up the Python Coding Environment
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 […]
What is a virtual environment? 2 – Setting Up the Python Coding Environment
All the reasons mentioned in the preceding list are enough to make pipenv our choice for the management and creation of virtual environments. Now, we’ll proceed with the pipenv installation and with the description of its main commands. We can install pipenv together with pipenv-pipes by just typing the following command:sudo python3 –m pip install […]
What is a virtual environment? – Setting Up the Python Coding Environment
What is a virtual environment? Virtual environments are useful tools in Python development that allow you to isolate package installations related to a specific project from the main system’s Python installation. This means you can have separate environments with different package dependencies for different projects. Creating a virtual environment is easy using the venv module […]
Date, time, and more – Exploring Streamlit’s Features and Functionality
Date, time, and more Another very useful element that we can manage out of the box in Streamlit is date and time – that is, dates, hours, and so on. For example, to print today’s date on the screen, we just have to write the following:import datetimetoday = st.date_input(“Today is”,datetime.datetime.now()) Here, the first line simply […]
Configuring our environment – Streamlit Essentials – Configuring the Environment, Managing Packages, and More
Configuring our environment We are finally here and building our first web application from scratch! From scratch means working from the beginning, even before an empty Python file. The approach is easy – we start by sitting and coding together. Let’s start by creating our virtual environment, which is dedicated exclusively to this new app […]
Installing and importing packages – Streamlit Essentials – Configuring the Environment, Managing Packages, and More
Installing and importing packages To make our web application work properly, we need the following Python packages: We can install all these packages in our virtual environment (so we must already be inside the virtual environment) by typing the following unique instruction:pipenv install streamlit textblob spacy neattext matplotlib wordcloud Please note that this operation can […]