Streamlit is an open-source,free framework using which you can build data webapps in a less amount of time.And you ask me whats so special about it !? Well, it is the fact that you can develop the webapps without any frontend knowledge !!! Sounds cool ! right ?
It has a very user-friendly interface using which you can turn your data scripts into cool apps within minutes . It is all written in python and you just have type these magical words to install streamlit .
pip install streamlit
or if pip isn't working then you can try this
conda install -c conda-forge streamlit
Thats it ! You have installed streamlit. Since this post is dedicated to streamlit deploy, I am gonna restrict myself here and soon, I will make a post on streamlit for beginners.
Now that you have built an app, You can run it only on your local host. Imagine, you are sitting for interviews and you have mentioned about your project in the resume. It will be really cool to attach a working link of your project which can be run anywhere and at anytime without depending on your local host ! Wondering how you can do that !?
We have many free and paid deployment platforms like heroku, where deployment is very easy. You also have github IO where you can deploy your static webpages.
Streamlit sharing is one such platform where you can make your webapps sharable. It is a perfect choice if your project is hosted public in github.
I will list out the steps you need to follow in order to deploy your app.
First, you have to request an invite from the streamlit sharing over here.
I got my invite acceptance after 5 days and hopefully it will be the case for everyone.Check your mail(spam folder too) and once you are accepted, You are ready to deploy.
Now, push your projects into your github repository(You need to be familiar with github !) and dont forget to add requirements.txt file same as you do for heroku.Make sure your repository is public.
4.Visit the streamlit share link here:click
Now you can see the sigin page.
- After you sign-in, You can see like this
Try this out with the sample app to get the taste of streamlit by following these steps:
We have come to the end.I guess this article went too long and it is really a big one for my first article here !
If you find any mistake or discrepancies do comment it and I'll rectify it straightaway. I am a learner and newbie for both technical articles as well as software world. So drop in a heart if you found this useful . Happy Reading !