Streamlit is a free and open-source framework designed to enable you to quickly and easily create amazing web applications for data science and machine learning. It is designed specifically for data engineers and data scientists, who often have no experience or interest in web development.
Streamlit with Python: What is it and How to Install it? Complete Guide for Beginners!
Article: https://www.usandopy.com/en/artigo/introduction-to-streamlit-in-python/
š Donate and help us create more amazing content!
š Every contribution makes a difference!
ā Buy me a coffee: https://buymeacoffee.com/usandopython
ā”ļø Connect with me on:
Instagram: https://www.instagram.com/pybeginners/
Twitter: https://x.com/joaofuti_
LinkedIn Newsletter: https://www.linkedin.com/newsletters/pybeginners-7267881715929415681/
Website: https://www.usandopy.com/en
Thread: https://www.threads.net/@pybeginners
Show More Show Less View Video Transcript
0:00
hello guys welcome back to the channel
0:02
Sean here so today we are going to start
0:04
the tutorial about streaml in python so
0:07
in this tutorial we'll learn about the
0:08
streamllet okay we'll try to learn how
0:10
to build any website by using streaml
0:13
and we will learn about this component
0:15
how we can create them so this will be a
0:17
very practical tutorial okay so apart of
0:19
this we will be creating some project
0:21
also by using streaml itself like uh for
0:24
this one is the first one of the project
0:26
that we will create okay it's kind of a
0:28
portfolio by using streaml so this way
0:30
you can have more practical by using
0:32
streaml itself and apart of this project
0:35
okay we are going to use to create
0:37
another one which is task management
0:38
portal so working with this task
0:40
management portal is very good way also
0:43
so that you can get better by using
0:45
stream little so to be more familiar
0:47
with it like this this uh manage port
0:50
management portal is very good okay so
0:52
it's very useful so we try to put in
0:56
pract so as you can see there is a kind
0:58
of uh a graph okay which shows which
1:01
task is completed and painting so you
1:03
have option here to choose if a task is
1:06
painting or not so it's very simple uh
1:09
app so that you can get more familiar
1:12
with streamlit and apart of this okay we
1:14
are going to create also a professional
1:16
consultation form which is this one is
1:18
like a simple form okay where you can
1:20
like schedule some appointment okay when
1:22
you schedule an appointment it will show
1:25
here itself okay for if I enter my name
1:28
like okay and here email okay let's say
1:31
something
1:33
likegmail.com
1:35
atgmail I think I wrote It's wrong okay
1:37
atg
1:39
gmail.com and the phone number okay
1:41
let's say one blah blah any random
1:42
number date so I can click here and
1:44
choose any date for and describation so
1:47
let's say blah blah blah blah then I
1:49
just click here and schedule so boom it
1:51
will schedule the task the thing okay oh
1:54
I forget so it's not showing because
1:56
actually the right now the one that is
1:58
running is the task management portal so
2:00
I'm just just about for me to come in
2:02
okay come on and close this guy
2:06
so let me go cd dot dot go back and cd
2:10
again uh form formulario okay cd then
2:15
let's run that app so that we can see
2:17
the form up boom perfect okay so this is
2:22
it this is the one that professional
2:23
schedule okay so let's try to do the
2:26
thing again okay so let's say name okay
2:28
let's say email uh let's
2:34
saygmail.com and If we come phone number
2:36
let's say 1 2 3 okay just a random
2:37
number here we can choose any day and
2:40
description let's give any kind of
2:41
description so if I click on schedule
2:45
boom is going to schedule here so that
2:47
you can see okay the schedule uh
2:49
appointment which is this one blah blah
2:51
blah description will be here so even
2:53
here we can come here and choose like if
2:55
you want to delete any appointment that
2:57
we made so we can come here click here
2:59
and boom we can delete appointments boom
3:01
the appointment will disappear okay so
3:04
those three apps will be enough for us
3:06
to get more familiar with streaml okay
3:09
so before we start first let's
3:11
understand what is streaml okay see uh
3:14
before you understand the reason why we
3:16
need to learn strip is like okay the
3:18
field of data science and analytics is
3:20
rapidly growing so everyone knows that
3:23
and one of the most important steps in
3:25
the data science pipeline right now is
3:27
model deployment so and in Python as we
3:30
know okay the frameworks like flask and
3:32
jungle are commonly used for this
3:33
purpose but however this one okay this
3:36
option often require uh like extra
3:38
knowledge like uh technology like HTML
3:41
CSS and JavaScript okay which can be
3:43
sometime harder for data scientists and
3:46
machine learning engineers okay who
3:48
prefers to focus more on working with
3:50
data and models than working on front-
3:52
end technology so to address this issue
3:55
okay that's how Streamlit came on okay
3:59
so Streaml is a free and open-source
4:01
framework designed to enable the quick
4:03
and easy creation of impressive web uh
4:06
web application for data scientist and
4:09
machine learning so it was developed
4:12
especially for people okay who are
4:14
engineering and for those also work on
4:16
data science fields who often lack of
4:19
experience for interesting in web
4:21
development so with swim okay you can
4:23
build really really beautiful and
4:25
functional application by just using
4:27
some few lines of python code so this
4:31
practically okay swim practically it
4:33
will elimate eliminate the need for
4:36
weeks of study okay like time that you
4:39
will expend like just studying those
4:40
frontend technology okay and uh these
4:45
things okay uh and streamly practically
4:48
allow okay it allows developers to focus
4:51
more on what really matter which is the
4:53
data and the models so why you should
4:56
learn streamly see streamly it's easy to
5:00
use okay so you don't need any knowledge
5:02
like HTML CSS or or even JavaScript so
5:05
with Streamlab you can rapidly develop
5:08
web applications and it kindly you can
5:11
integrate it with most of Python
5:13
libraries easily we by using streaml so
5:17
that's why in this project in this
5:19
tutorial okay we we are going to focus
5:21
to understand very well streamly how we
5:23
can use it okay how we can take a profit
5:25
of it so that's why this those three
5:28
projects okay will be working for you
5:31
okay will be good for you so we will
5:33
create a portfolio project and we will
5:35
create a task management portal and in
5:38
the end we will create this one this
5:40
consultation form okay so how we can use
5:43
streamly see this is the website of
5:44
stream so this is the like you can have
5:47
a lot of information from here okay you
5:49
can see some things that was built by
5:52
using streaml and you can also follow
5:54
the documentation okay but sometime we
5:56
know that the documentation sometimes is
5:57
very difficult to understand so that's
5:59
why we are trying to resume it in very
6:01
easy way so that you can understand how
6:02
to use streamly okay so the first step
6:04
that we can do is to install streamly
6:07
how to install stream to install stream
6:08
is very as we can see okay just enter
6:10
pip install stream list so let's start
6:13
like this with this one so for that
6:15
let's come here in our uh test editor so
6:18
you can choose any test editor that you
6:20
wish to use okay so now let's start the
6:23
tutorial okay so I'm just going to come
6:25
here cd the back so let me clear this
6:28
okay
6:29
clear so the first thing that you will
6:32
need to do is to install streamly in
6:33
your environment so here to install this
6:36
streaml is very easy okay you just enter
6:38
this command pep install streaml then
6:40
hit enter it will install streaml in
6:42
your application okay but as uh since I
6:45
have streaml installed on my computer
6:48
I'm not going to install it anymore
6:50
because my internet right now is very
6:52
slow okay so I don't want it to take
6:53
long time just for installation okay now
6:55
let's suppose now you have swim lit
6:57
installed on your machine okay so after
7:00
that you need to create any script okay
7:02
i just create one script like main.py
7:04
okay you can give any name that you wish
7:06
so in order to start with
7:09
streaml for you to check if your app is
7:12
really working or not is very easy okay
7:14
just do something like that
7:17
import import streaml
7:20
stream importing streaml as est okay
7:24
let's import stream it as est save
7:27
then then the next thing that you need
7:29
to do is just to run this this uh script
7:32
okay so for you to run this script you
7:34
need to do something like this okay come
7:35
in your terminal and do something like
7:38
this okay so in order to run any streaml
7:41
application in Python you need to do
7:43
something like this okay you need to
7:44
call stream okay streaml run then after
7:49
this you need to give the name of the
7:51
script that you are uh running this
7:52
stream list so for us we are using this
7:55
main.py so that's why I'm going to call
7:57
it main.py but never forget okay you
7:59
need to be in the same directory which
8:01
where the script is okay so that's why I
8:03
have streaml run main.py okay I am
8:06
inside of this folder called Python
8:08
streaml then I just need to give
8:11
enter and as you can see it open here
8:14
okay this is the streaml that we are
8:16
going to work on so let me close this
8:18
guy since we don't need them anymore now
8:21
let's focus on here okay so in this
8:23
tutorial we are going to stop here so in
8:25
the next tutorial we are going to try to
8:28
understand properly how we can create
8:29
components in Python streamly my name is
8:32
Jang please subscribe to the channel
8:34
give a like to the video if you like the
8:35
video and see you in the next video bye
#Web Design & Development
#General Reference
#Computer Science
#How-To, DIY & Expert Content

