Shiny (web framework)
≈ 2 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Shiny is a web framework for developing web applications (apps), originally in R and since 2022 also available in Python. It is free and open source. It was announced by Joe Cheng, CTO of Posit, formerly RStudio, in 2012. One of the uses of Shiny has been in fast prototyping. In 2022, a separate implementation of Shiny for Python was announced. It is not meant to be a replacement, whereby both implementations will be developed concurrently and may never have all the features of each other. There is also Shinylive that allows running Shiny on the client (i.e., program code does not run on the server, reducing server load to just serving the code itself).
Shiny is a web framework for developing web applications (apps), originally in R and since 2022 also available in Python. It is free and open source. It was announced by Joe Cheng, CTO of Posit, formerly RStudio, in 2012. One of the uses of Shiny has been in fast prototyping. In 2022, a separate implementation of Shiny for Python was announced. It is not meant to be a replacement, whereby both implementations will be developed concurrently and may never have all the features of each other. There is also Shinylive that allows running Shiny on the client (i.e., program code does not run on the server, reducing server load to just serving the code itself).
Examples
This is an example of a basic application in R where: library(shiny) ui And the equivalent application written in python: from shiny import App, reactive, render, ui app_ui = ui.page_fluid( ui.input_text("name", "What is your name?"), ui.output_text("greeting"), ) def server(input, output, session): @render.text def greeting(): return f"Hello {input.name()}" app = App(app_ui, server) And shiny express for python: from shiny.express import input, render, ui ui.input_text("name", "What is your name?") @render.text def greeting(): return f"Hello {input.name()}" Joe Cheng | Keynote: The Past and Future of Shiny | RStudio (2022) (58:07)
Text derived from https://en.wikipedia.org/w/index.php?oldid=1355558503 under CC BY-SA 4.0; modifications have been made.