0:00
hello guys welcome back to the channel
0:02
here so today we are going to start the
0:04
tutorial about stream lit in Python so
0:07
in this tutorial we learn about the
0:08
stream L okay we try to learn how to
0:10
build any website by using streamlit and
0:13
we will learn about this component how
0:15
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 stream lead itself like
0:24
for this one is the first one of the
0:26
project that we create okay it's kind of
0:28
a portfolio by using stream so this way
0:30
you can have more practical by using
0:32
stream Le itself and a part of this
0:34
project okay we are going to use to
0:36
create another one which is task
0:38
management portal so working with this
0:40
task management portal is very good way
0:42
also so that you can get better by using
0:45
stream l so to be more familiar with it
0:47
like this two this manager port
0:50
management portal is very good okay so
0:52
it's very useful so we try to put in PR
0:54
everything that we learn about the
0:56
stream lad so as you can see there is a
0:58
kind of uh a okay which shows which task
1:01
is completed and painting so you have
1:03
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 stream L and apart of this okay we
1:14
are going to create also a professional
1:16
consultation form which is this one like
1:18
a simple form okay where you can like
1:20
schedule some appointment okay when you
1:22
schedule an appointment it it will show
1:25
here itself okay for example for if I
1:27
enter my name like okay and and here
1:30
email okay let's say something like at
1:35
gmail I think I wrote it wrong okay at
1:39
gmail.com and for number okay let's say
1:41
one blah blah any random number date so
1:43
I can click here and choose any date for
1:45
and for and description let's say blah
1:47
blah blah blah then I just click it
1:49
schedule so boom it will schedule the
1:51
task the thing okay oh I forget so it's
1:54
not showing because actually the right
1:57
now the one that is running is the task
1:58
management portal so and just it's just
2:00
about for me to come here okay come on
2:05
guy so let me go CD dot dot go back and
2:09
CD again uh form formio okay CD then
2:15
let's run that up so that we can see the
2:18
form up boom perfect okay so this is it
2:22
one this is the one that personal sched
2:24
okay so let's try to do the thing again
2:26
okay so let's say name okay let's say
2:34
gmail.com and if we come forone number
2:36
let's say 1 2 three okay just Rand the
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 schedu uh
2:49
appointment which is this one dra blah
2:50
blah blah and description will be here
2:52
so even here we can come here and choose
2:55
like if you want to delete any
2:56
appointment that we made so we can come
2:58
here click here and boom we can delete
3:00
the appointments Boom the appointment
3:02
will disappear okay so those three apps
3:05
will be enough for us to get more
3:07
familiar with stream Le okay so before
3:10
we start first let's understand what is
3:11
stream L okay see uh before you
3:15
understand the reason why we need to
3:17
learn is like okay the field of data
3:19
science and analytics is rapidly growing
3:21
so everyone knows that and one of the
3:23
most important steps in the data science
3:25
pipeline right now is model deployment
3:28
so and in Python as we know okay the
3:30
Frameworks like flask and jungle are
3:32
commonly used for this purpose but
3:34
however this one okay this option often
3:37
require like extra knowledge like
3:40
technology like HML CSS and JavaScript
3:42
okay which can be sometime harder for
3:45
data scientist and machine learning
3:47
Engineers okay who prefers to focus more
3:49
on working with data and models than
3:51
working on front end technology so to
3:54
address this issue okay that's how
3:57
stream lead came on okay so stream is a
4:00
free and open source framework designed
4:02
to enable the quick and easy creation of
4:05
impressive we web application okay for
4:08
data scientist and machine learning so
4:11
it was developed especially for people
4:13
okay who are engineering and for those
4:15
also work on data science Fields who
4:18
often lack of experience for interesting
4:20
in web development so with swim lo you
4:23
can build really really beautiful and
4:25
functional application by just using
4:27
some few lines of python callede so this
4:31
practically okay s pratically it elim
4:34
eliminate the need for weeks of study
4:37
okay like time that you'll expend like
4:39
just studing those FR technology okay
4:43
and uh these things okay uh extremely
4:47
practically allow okay it allows
4:49
developers to focus more on what really
4:52
matter which is the data and the model
4:54
so why you should learn streamly see
4:58
streamly it's easy to use okay so you
5:01
don't need any knowledge like HML SSS or
5:04
or even JavaScript so extremely you can
5:06
rapidly develop web applications and it
5:10
kindly you can integrate it with most of
5:12
python libraries easily we by using
5:15
stream l so that's why in this project
5:18
in this tutorial okay we we are going to
5:20
focus to understand very well streamly
5:22
how we can use it okay or we can take
5:25
provate of it so that's why this those
5:28
three projects okay will be working for
5:31
you 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
then we'll create this one this
5:39
consultation form okay so how we can use
5:43
stream list see this is the website of
5:44
stream okay so this is like you can have
5:47
a lot of information from here okay you
5:48
can see some things that was built by
5:51
using stream Le 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:00
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 list to install
6:08
stream list VAR is as we can see okay
6:10
just enter peep install stream list so
6:12
let's start like this with this one so
6:14
for that let's come here in our uh test
6:18
editor so you can choose any test editor
6:20
that you wish to use okay so now let's
6:22
start the tutorial okay so I'm just
6:24
going to come CD back so let me clear
6:30
so the first thing that you will need to
6:32
do is to install streamly in your
6:34
environment so here to install streamly
6:37
very okay you just enter this command P
6:39
install stream L then hit enter it will
6:41
install stream l in your application
6:43
okay but as since I have stream L
6:46
install on my computer I'm not going to
6:48
install it anymore because my internet
6:50
right now is very slow okay so I don't
6:52
want it to take long time just for
6:54
installation okay now let's suppose now
6:56
you have stream L installed on your
6:58
machine okay so after that you need to
7:00
create any script okay I just create one
7:03
script like main. P okay you can give
7:05
any name that you wish so in order to
7:09
lit for you to check if your app is
7:12
really working or not it's very e okay
7:14
just do something like that
7:17
import import stream lit
7:20
stream import stream L as s okay let's
7:27
then then the next thing that that you
7:29
need to do is just to run this this uh
7:32
script okay so for you to run this
7:33
script you need to do something like
7:35
this okay come in your terminal and do
7:38
something like this okay so in order to
7:40
run any stream L application in Python
7:42
you need to do something like this okay
7:43
you need to call stream okay stream lit
7:47
run then after this you need to give the
7:50
name of the script that you are uh
7:52
running this stream list so for us we
7:54
are using this main doy so that's why
7:56
I'm going to call it main do PI but
7:58
never forget okay you need to be in the
8:00
same director which where the script is
8:02
okay so that's why you have stream L run
8:04
main.py okay I am inside of this folder
8:07
called python stream L then I just need
8:12
enter and as you can see it open here
8:14
okay this is the stream L that we are
8:16
going to work on so let me close this
8:18
guys since we don't need them anymore
8:20
now let's focus on here okay so in this
8:23
tutorial we are going to stop here so in
8:24
the next tutorial we are going to try to
8:28
understand properly how we can create
8:29
components in Python streamlink my name
8:32
is please subscribe to the channel give
8:34
a like to the video if you like the
8:35
video and see you in the next video bye