Multi-Page Routing in Shiny for Python with Starlette

📰 Dev.to · India Owens

Learn to implement multi-page routing in Shiny for Python using Starlette to create robust and scalable web applications

intermediate Published 16 Mar 2026
Action Steps
  1. Install Starlette using pip to enable multi-page routing
  2. Create a new Shiny app and define routes using Starlette's routing API
  3. Configure route handlers to render different pages in the app
  4. Test the routing by navigating between pages in the app
  5. Apply security best practices to protect routes and user data
Who Needs to Know This

Backend developers and data scientists working with Shiny for Python can benefit from this tutorial to improve their application's routing and navigation

Key Insight

💡 Starlette provides a flexible and efficient way to handle multi-page routing in Shiny for Python apps

Share This
🚀 Improve your Shiny for Python apps with multi-page routing using Starlette! 💻

Key Takeaways

Learn to implement multi-page routing in Shiny for Python using Starlette to create robust and scalable web applications

Full Article

The problem with existing routing examples This is Part 2 of the Shiny for Python: The...
Read full article → ← Back to Reads