Loading video player...
Streamlit 1.53 saw the release of experimental Starlette support replacing Tornado. But it came with an even bigger surprise: contrary to Tornado, you have full access to the Starlette backend in the Streamlit framework. You are free to serve custom endpoints, MCP objects and FastAPI apps directly from the Streamlit server. In this video I share all the new use cases unlocked by this 00:00 Intro 00:19 Setup Starlette backend 02:07 Add Custom Endpoints in Streamlit 03:42 Streamlit is a Starlette App now 04:39 Serve static assets with Streamlit 06:23 Optimize Streamlit SEO 07:30 Mount FastAPI in Streamlit 09:00 Configure Starlette websockets 11:58 Mount FastMCP in Streamlit 13:52 Secure Streamlit 15:18 Send Cookies to Streamlit 16:55 Whitelist IPs to App 18:37 React to Startup / Shutdown events 20:40 Handle background events 22:17 Use error HTML pages 23:55 Install Streamlit 1.53 --- š£ļø Stay up to date with the Data Web App Ecosystem - š Follow my socials ā” https://andfanilo.com - š§ Get my latest updates in your inbox ā” https://andfanilo.com/newsletter - š° Buy me a coffee to stay awake while editing ā” https://www.buymeacoffee.com/andfanilo š Links - Code: https://github.com/andfanilo/streamlit-starlette-demo/tree/main/apps š§ My tools (Affiliate links to support me) - š Streamlit Official Book - https://amzn.to/3QuRPwl - š· Main Camera - https://amzn.to/3QvTosB - š· Main Lens - https://amzn.to/3svYCwq - šļø Microphone - https://amzn.to/47l5ewA - šµ Music & Sound Effects - https://www.epidemicsound.com/referral/a2p22s --- šŖ¶ It's been a long time since I last had fun with After Effects...something Remotion Agent Skills won't commoditize for me (I hope) ā ļø Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. Thank you for supporting my channel so I can continue providing you with free content! #streamlit #python #datascience #dataapps