GitHub
LinkedIn
Twitter
YouTube
RSS

Python API deployment with RStudio Connect: Flask

This is part one of our three part series Part 1: Python API deployment with RStudio Connect: Flask (this post) Part 2: Python API deployment with RStudio Connect: FastAPI Part 3: Python API deployment with RStudio Connect: Streamlit RStudio recently announced they are changing to Posit. Their publishing platform RStudio Connect (-> Posit Connect) is well known for providing the ability to deploy and share R applications such as Shiny apps and Plumber APIs as well as plots, models and RMarkdown reports.

Recreating a Shiny App with Flask

So RStudio Connect has embraced Python and now runs Flask applications! At Jumping Rivers we make a lot of use of R, shiny, and Python for creating visual tools for our clients. Shiny has a lot of nice features, in particular it is very fast for prototyping web applications. Over our morning meeting we discussed the fact that flask will soon be coming to RStudio products and wondered how easy it would be to recreate one of the simple shiny examples as a flask application.