Build and Deploy a Multi-Page Web Application Using Python (Streamlit)

  Рет қаралды 53,843

Coding Is Fun

Coding Is Fun

Күн бұрын

Пікірлер: 123
@CodingIsFun
@CodingIsFun 6 ай бұрын
*Here's the link to the final website:* multipage-webapp.streamlit.app/ I hope you enjoyed the video and the project. All the links mentioned in the video can be found in the description box. Cheers, Sven ✌
@Harazi868
@Harazi868 6 ай бұрын
How to upload on internet please
@CodingIsFun
@CodingIsFun 6 ай бұрын
@@Harazi868 Have you watched the video? 😅
@ici6308
@ici6308 6 ай бұрын
I even didin't look at all the video yet, but i give you already a five star *****. You are a great guy.
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thanks for the support! I appreciate it! Cheers, Sven ✌️
@sitrakaforler8696
@sitrakaforler8696 6 ай бұрын
The best streamlit youtuber !!!!! BRAVO
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thanks, mate! Appreciate it! -Sven
@mdld1293
@mdld1293 6 ай бұрын
I just finished a web app today and was looking for a video on how to upload it. Thanks! Your channel is one of the best for Python!
@CodingIsFun
@CodingIsFun 6 ай бұрын
I'm glad to hear it was helpful. Just curious, what kind of app did you create? Cheers, Sven ✌️
@mdld1293
@mdld1293 6 ай бұрын
@@CodingIsFun We often have to figure out the volumes for stock solution dilutions in our lab. The math is really easy but gets really tedious when you have a bunch of solutions to mix. So, I made an app that automates all that. Just enter the data for your solutions, and it spits out a SOP in PDF format. I think our techs and students are going to love how much easier it makes things!
@CodingIsFun
@CodingIsFun 6 ай бұрын
@@mdld1293 Thanks for sharing. Sounds like an interesting project 👍
@VijayVerma-dq2bu
@VijayVerma-dq2bu 2 ай бұрын
...Without a single line of html/css/js code.. this is awesome.😊
@CodingIsFun
@CodingIsFun 2 ай бұрын
Yeees 😍
@martin-xq7te
@martin-xq7te 26 күн бұрын
Great simple-to-follow video. Thank you
@CodingIsFun
@CodingIsFun 26 күн бұрын
Glad you liked it! Thanks for watching! -Sven ✌🏼
@MatsSjoberg-z3n
@MatsSjoberg-z3n 3 ай бұрын
Exactly was I looked for to create a multiple Streamlit page! Thanks for an excellent video!!
@CodingIsFun
@CodingIsFun 3 ай бұрын
Glad it was helpful! Happy coding! Cheers, Sven ✌️
@EduardoAndreePS
@EduardoAndreePS 5 ай бұрын
Great video, just what I was looking for!
@CodingIsFun
@CodingIsFun 5 ай бұрын
Great to hear! Cheers, Sven ✌️
@hrmanager6883
@hrmanager6883 6 ай бұрын
Great addition Sven , helping others to grow by learning these skills, great contribution , have great success ahead
@CodingIsFun
@CodingIsFun 6 ай бұрын
Appreciate your kind words. Cheers for the support! -Sven ✌️
@funese102
@funese102 6 ай бұрын
Bro is cooking the best streamlit tutorial again 🎉🎉🎉
@CodingIsFun
@CodingIsFun 6 ай бұрын
Cheers mate✌️
@funese102
@funese102 6 ай бұрын
@@CodingIsFun By the way Sven, please make more contents relating to Machine Learning & Taipy 😁. All the best to you!
@rodrigobogado653
@rodrigobogado653 3 ай бұрын
creo que ya comente, pero este brother es un capo! estuve haciendo unas paginas para lo que es un comite de etica y esto me re ayudo: simple, sencillo y copado!
@CodingIsFun
@CodingIsFun 3 ай бұрын
Thanks for the kind words! Cheers, Sven ✌
@z.r.777
@z.r.777 6 ай бұрын
Thank you. So timely.
@CodingIsFun
@CodingIsFun 6 ай бұрын
Glad it was helpful! Cheers, Sven ✌️
@Namrata_benke
@Namrata_benke 6 ай бұрын
Thankyou so much , it's really useful🙂🙏 love from India..😊
@CodingIsFun
@CodingIsFun 6 ай бұрын
Glad you liked it. Love to India. Cheers, Sven ✌️
@hrmanager6883
@hrmanager6883 6 ай бұрын
Great job again, best wishes and have great success ahead
@CodingIsFun
@CodingIsFun 6 ай бұрын
Again, appreciate the support and well wishes. All the best to you as well! -Sven 😊
@nukku1
@nukku1 4 ай бұрын
Excellent explanation.
@CodingIsFun
@CodingIsFun 4 ай бұрын
Thank you! :)
@patriciohernandezballester2485
@patriciohernandezballester2485 6 ай бұрын
"Hi Sven! 😃 I just watched your new tutorial and, as always, it's incredibly useful and well explained. Thank you for sharing your knowledge with us! 🌟👍"
@CodingIsFun
@CodingIsFun 6 ай бұрын
Hi Patricio, thanks for tuning in again and taking the time to leave a comment. I'm glad to hear you liked this video too. Cheers, Sven ✌️
@williamsagbanagba-p7p
@williamsagbanagba-p7p 6 ай бұрын
Best python-streamlit coders
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thank you! ❤️ -Sven
@chandrasekars8904
@chandrasekars8904 6 ай бұрын
This is really an excellent channel on Python like "techie talkee"
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thank you! -Sven ✌️
@cookiee_86
@cookiee_86 6 ай бұрын
Thank you Sven for another amazing tutorial💫! looking handsome as usual 😉
@CodingIsFun
@CodingIsFun 6 ай бұрын
Aw, you're making me blush. Thanks for watching and for your comment. Cheers, Sven ✌️
@_NickTech
@_NickTech 6 ай бұрын
Hi! Thank you for such high-quality content! 😍 Regarding checking an email for correctness, using regular expressions is a flawed approach because: 1. There are numerous formats all over the world 2. The address might not exist 3. There may be a typo The best way is to send a verification link to the email. I understand that it's off-topic, but worth mentioning, I guess. BTW, the Win + Dot command to see emojis is handy, thanks! 😊
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thank you for watching, and I'm glad you liked it! Regarding the email: That's an absolutely valid point. Initially, I considered integrating an email validation API as well, but I wanted to keep the video concise. However, if you're interested in the code, you can check out this form I created for another app: github.com/Sven-Bo/streamlit_contest/blob/main/streamlit_app.py#L17 Basically, I first validate the email and using a dedicated API also has the advantage of filtering out temporary email addresses. Cheers, Sven ✌️
@_NickTech
@_NickTech 6 ай бұрын
@@CodingIsFun Wow, that's cool! thank you!!
@sanrui
@sanrui 6 ай бұрын
great tutorial is easy to understand for me even just beginer in python like, thanks for the video
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thanks for the positive feedback! Appreciate you taking the time to leave a comment. Cheers, Sven ✌️
@11Argy
@11Argy 6 ай бұрын
Thanks sir ✌️😉
@CodingIsFun
@CodingIsFun 6 ай бұрын
My pleasure! Appreciate you taking the time to watch and leave a comment. -Sven ✌️
@umeshsuwal85
@umeshsuwal85 6 ай бұрын
Great Video
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thank you! -Sven ✌️
@mansoormoideen6733
@mansoormoideen6733 6 ай бұрын
Hi Sven, I'm learning from you. You made it so easy. Thanks a lot. Can you make a video regarding how to use pabbly.
@CodingIsFun
@CodingIsFun 6 ай бұрын
Happy to hear that you like my teaching style. Your request on the Pabbly Connect video is well noted. Cheers, Sven ✌️
@darrenlefcoe
@darrenlefcoe 6 ай бұрын
great video. well done.
@CodingIsFun
@CodingIsFun 6 ай бұрын
Glad you liked it. Thanks for watching and taking the time to leave a comment! -Sven ✌️
@stefanschouteden5196
@stefanschouteden5196 5 ай бұрын
Very cool video! Thank you! Btw. I am also trying to apply the streamlit-authenticator module and have noticed that your video (2 yrs ago) about this implemention is a bit outdated, as that module has changed quite a bit. It would be nice if you could add the latest streamlit-authenticator implementation for perhaps an updated video to control the number of users that can access the site. That would be cool. I am a clear favourate of your youtube channel! Keep up the good work. Much appreciated! Greetings from South Africa!
@CodingIsFun
@CodingIsFun 5 ай бұрын
Thanks for watching and your video suggestion! Greetings to South Africa! Cheers, Sven ✌️
@charleshopper4638
@charleshopper4638 6 ай бұрын
Is streamlit responsive and how do you handle mobile apps with it? Excellent tutorial. Looking forward to many more.
@CodingIsFun
@CodingIsFun 6 ай бұрын
Yes, Streamlit is mobile responsive. You can check out the live website on your mobile phone. Cheers, Sven ✌️
@Bedwarsblockmango0
@Bedwarsblockmango0 6 ай бұрын
Way of your explaining everyone can understand easily, My request: Can you create tutorials based on user login,user can access web pages (based on permission)
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thank you for watching. I'm glad to hear you like my explanation style. Regarding your request: I'm still waiting for native authentication support from Streamlit. Currently, there are some workarounds and third-party packages available, but I prefer to wait for official Streamlit support for authentication. Cheers, Sven ✌️
@Bedwarsblockmango0
@Bedwarsblockmango0 6 ай бұрын
@@CodingIsFun Thanks for reply,
@CharanTeja_27
@CharanTeja_27 2 ай бұрын
Great work on your videos! I'm currently developing a multipage web application using Streamlit, featuring sections like Home, Account, and Tasks. However, I'm facing challenges with maintaining session state. After logging in, the app should automatically display the Tasks page, which contains various functionalities. Despite my efforts, the session state isn't working as expected, and I often need to double-click to see the Tasks content. Additionally, the sidebar color doesn't update correctly when switching pages. Could you please create a video explaining how to manage session state effectively in multipage applications? Your insights would be incredibly helpful for me and others dealing with similar issues. Thank you!
@CodingIsFun
@CodingIsFun 2 ай бұрын
Thanks for watching. The session state functions the same way as it does on a single page. Kindly have a look at the docs: docs.streamlit.io/develop/api-reference/caching-and-state/st.session_state I hope it helps! Happy debugging! Cheers, Sven ✌️
@imbhasz94
@imbhasz94 6 ай бұрын
Hi! I really loved your video and tutorial of streamlit you made. Can you give full tutorial of simple website which can crud and have login page for my projects? Thanksss
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thanks for watching and your video suggestion! Cheers, Sven ✌️
@apgamer7709
@apgamer7709 3 ай бұрын
You are just awesome
@CodingIsFun
@CodingIsFun 3 ай бұрын
Thanks, mate! -Sven ✌️
@loginet1
@loginet1 6 ай бұрын
Very nice!
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thank you! Cheers, Sven ✌️
@abdielgoni5690
@abdielgoni5690 6 ай бұрын
Realy cool 🙌
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thanks!
@_R.F_
@_R.F_ 4 ай бұрын
Hi, I was just wondering if you could place the access to pages outside of a sidebar?
@CodingIsFun
@CodingIsFun 4 ай бұрын
Thanks for watching. Yes, that's possible. Happy coding! -Sven ✌️
@sundayabiodun8819
@sundayabiodun8819 6 ай бұрын
How did you use an icon as a call action button? I mean the contact me button you used that opened the contact form
@CodingIsFun
@CodingIsFun 6 ай бұрын
As explained in the video 4:12 min. Cheers, Sven ✌️
@limjuroy7078
@limjuroy7078 5 ай бұрын
Interesting!!!
@CodingIsFun
@CodingIsFun 5 ай бұрын
Thanks!
@arnabneogi4237
@arnabneogi4237 3 ай бұрын
any idea if i want to deploy it in my own docker swarm and try to make it enterprise ready?
@CodingIsFun
@CodingIsFun 3 ай бұрын
Have a look here: docs.streamlit.io/deploy/tutorials/docker Happy Deployment! 🎉 -Sven
@py_skii
@py_skii 6 ай бұрын
I have learn streamlit from your video...its is really helpful...Jai hind... respect from India 🤍
@CodingIsFun
@CodingIsFun 6 ай бұрын
Glad to hear that! Thanks for watching and taking the time to leave a comment. Love to India ❤️ Cheers, Sven ✌️
@r.e.434
@r.e.434 6 ай бұрын
can this be deployed also to a vps like digitalocean?
@CodingIsFun
@CodingIsFun 6 ай бұрын
Yes, that should be possible. Here's one example: www.bitdoze.com/streamlit-deploy-vps-cloudflare/ Happy Deployment! -Sven
@gagansingh3481
@gagansingh3481 4 ай бұрын
Do have course on streamlit
@CodingIsFun
@CodingIsFun 4 ай бұрын
No, I don't have any Streamlit course (yet) ;)
@gagansingh3481
@gagansingh3481 4 ай бұрын
@@CodingIsFun kindly make it sir ... from basics to advance it's really helpful to showcase data of excel and for Machine learning models
@maliktanveerdhool
@maliktanveerdhool 5 ай бұрын
Great how to hide top GitHub area and bottom hosted streamlit area?
@CodingIsFun
@CodingIsFun 5 ай бұрын
Thanks for watching. To remove that, you could deploy your app to another web server, e.g. Render or Heroku. Cheers, Sven ✌️
@spthepero2282
@spthepero2282 4 ай бұрын
Ayo blud, I need help. My Multipage app is really showing up other pages, I am using the same navigation setup as you, but the other pages are not really being shown, it only shows the web page that is set to default. I have tried many things, also did the same as you and created the views folder but still those other 2 pages besides my default one keep loading forever.
@CodingIsFun
@CodingIsFun 4 ай бұрын
Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help. -Sven ✌️
@spthepero2282
@spthepero2282 4 ай бұрын
@@CodingIsFun wut? Ok thanks
@SYLLOGI20
@SYLLOGI20 Ай бұрын
why my why my streamlit doesn't have st.page attribute note i have installed the latest version of streamlit
@CodingIsFun
@CodingIsFun Ай бұрын
😲
@SugarRayRobi
@SugarRayRobi Ай бұрын
Download either an older or newer version of streamlit check if it works
@codemedio6418
@codemedio6418 2 ай бұрын
can you create website for tutorial with streamlit?
@CodingIsFun
@CodingIsFun 2 ай бұрын
Sorry, but I'm not sure what you mean. Cheers, Sven ✌️
@codemedio6418
@codemedio6418 2 ай бұрын
@@CodingIsFun build education web like a udemy with streamlit
@CodingIsFun
@CodingIsFun 2 ай бұрын
@@codemedio6418 Nope, that is not a good idea. Rather use Django for that
@danielc.s.8399
@danielc.s.8399 5 ай бұрын
One question, How can I import libraries like matplotlib and sklearn from github to deploy in streamlit?
@CodingIsFun
@CodingIsFun 5 ай бұрын
Thanks for watching. You can import third-party packages, just like I have shown and explained in the video. Cheers, Sven ✌️
@kuvikina
@kuvikina 6 ай бұрын
Can you do this with shiny for python
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thanks for watching. In Shiny for Python you could also include a navigation panel: shiny.posit.co/py/templates/basic-navigation/ Happy Coding! Cheers, Sven ✌️
@Tech-speaker
@Tech-speaker 6 ай бұрын
Can I add a custom domain to my streamlit webapp?
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thank you for watching. In Streamlit Cloud, you can specify a custom subdomain but not change the top-level domain. If you deploy your app on Heroku or Render, you can set up a custom domain. Here are the tutorials for deployment: ▶ Heroku (no free plan): kzbin.info/www/bejne/pHuro4asjt2toKcsi=5N5QWkUwftgFSsUM ▶ Render (free plan available): kzbin.info/www/bejne/aoSyZHaLjLWMnJIsi=HFFruTkzTevHHBsO And here are the instructions for setting up a custom domain: ▶ Heroku: kzbin.info/www/bejne/kIGaeKOugtGrhassi=fNWEbw3xc7xtvtm3 ▶ Render: docs.render.com/custom-domains I hope this helps! Cheers, Sven ✌️
@Tech-speaker
@Tech-speaker 6 ай бұрын
@@CodingIsFun Thanks a lot, Sven. Appreciate your work. Keep going. Hope to see more useful streamlit webapp and data viz videos from you.
@Jriad
@Jriad 5 ай бұрын
i keep getting AttributeError: module 'streamlit' has no attribute 'Page' any idea why?
@CodingIsFun
@CodingIsFun 5 ай бұрын
Are you using the latest Streamlit version as explained in the video (1:27 min)? pip install streamlit --upgrade Cheers, Sven ✌️
@Jriad
@Jriad 5 ай бұрын
​@@CodingIsFun it seems the problem with the installation i used another PC and it worked thanks and sorry for the disturbance
@neetiwason2065
@neetiwason2065 6 ай бұрын
Can we build a sidebar like the one on the Streamlit documentation webpage (docs.streamlit.io/)? For instance, imagine having sections like "About Me" or "Section 1" with clickable subsections. Clicking on any section or subsection should take me to the corresponding page. How can we achieve this?
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thanks for watching. Currently, that does not seem to be supported natively in Streamlit. Cheers, Sven ✌️
@amusaber6648
@amusaber6648 6 ай бұрын
Thanks Very Useful. 👏 I have an unrelated question, but I guess you know the Answer, How to build Executable (.exe) file from Python for all Versions of Windows (Seven,8,10,11) i used PyInstaller in windows 10 ,but the Executable file compiled by PyInstaller does not work on Windows 7 I apologize for the unrelated topic .
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thanks for watching. I have never tried to run compiled Python scripts on older Windows versions. Hence, I cannot help you here. You might need to do some Google searching. Happy debugging! Cheers, Sven ✌️
@gagansingh3481
@gagansingh3481 6 ай бұрын
How do i build a web site like you sir ... Any udemy course you can recommend I am a non coder
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thanks for watching. You might want to check out my Streamlit Playlist here: kzbin.info/aero/PL7QI8ORyVSCaejt2LICRQtOTwmPiwKO2n Also, for learning Python, you can check out my favorite resources here: pythonandvba.com/resources I hope it helps! Happy learning & coding! Cheers, Sven ✌️
@gagansingh3481
@gagansingh3481 6 ай бұрын
​@@CodingIsFun -Thank you sir
@gabrielditomaso2972
@gabrielditomaso2972 5 ай бұрын
my code was exatcly the same and this happening import streamlit as st import pandas as pd import numpy as np import matplotlib as mpl import plotly.graph_objects as go import plotly.subplots as sp import plotly.express as px #import CRUD # ------ CONFIGURAÇÃO DAS PAGINAS ------ pag_intro= st.Page(page="views/intro.py",title="Intro",default=True,) pag_config= st.Page(page="views/config.py",title="Configuração",) pag_dashboard= st.Page(page="views/dashboard.py", title="Dashboard",) # ------ Configuração de navegação ------ pg= st.navigation(pages=[pag_intro,pag_config,pag_dashboard]) # ------ Iniciar de navegação ------ pg.run() THE ERROR --------------------------------------------------------------------------------- > & C:/Users/ditom/AppData/Local/Programs/Python/Python312/python.exe "d:/Projetos pessoais/SISTEMA MES/Software.py" Traceback (most recent call last): File "d:\Projetos pessoais\SISTEMA MES\Software.py", line 20, in pg= st.navigation(pages=[pag_intro,pag_config,pag_dashboard]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ditom\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamlit untime\metrics_util.py", line 408, in wrapped_func result = non_optional_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ditom\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamlit\commands avigation.py", line 178, in navigation if page._default: ^^^^^^^^^^^^^ AttributeError: 'StreamlitPage' object has no attribute '_default'
@CodingIsFun
@CodingIsFun 5 ай бұрын
Which Streamlit version are you using?
@gabrielditomaso2972
@gabrielditomaso2972 5 ай бұрын
@@CodingIsFun the 1.37
@gabrielditomaso2972
@gabrielditomaso2972 5 ай бұрын
@@CodingIsFun My visual code is saying the code is wrog but when I tried to run on streamlit was working normaly. I tried this later and I don't know whys thats happening
5 Things I Wish I Knew Before Learning Streamlit
21:34
Fanilo Andrianasolo
Рет қаралды 39 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
AI Is Not Designed for You
8:29
No Boilerplate
Рет қаралды 336 М.
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 244 М.
FastHTML is the newest way to build web apps with Python
2:46
Matt Palmer
Рет қаралды 7 М.
host ALL your AI locally
24:20
NetworkChuck
Рет қаралды 1,5 МЛН
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 112 М.
Streamlit Elements You Should Know About in 2023
14:31
Mısra Turp
Рет қаралды 112 М.
Your Most Requested Streamlit Features FINALLY Out!
8:29
Fanilo Andrianasolo
Рет қаралды 17 М.
Web Scraping Made EASY With Power Automate Desktop - For FREE & ZERO Coding
13:11