{"schemaVersion":"1.0","record":{"label":"Shiny","description":"Reactive web-application framework with separate R and Python implementations.","aliases":["R Shiny","Shiny for R","Shiny for Python"],"kind":"software","website":"https://shiny.posit.co/","overview":"Shiny is a framework for interactive data applications, available through separate R and Python packages. It connects user-interface inputs with reactive calculations and rendered outputs. Developers can present analyses through a browser while choosing between conventional server hosting and qualified browser-execution options for compatible applications.","license":"MIT for R and Python framework packages","lifecycle":"active","example":false,"features":[{"name":"R and Python implementations","status":"supported","detail":"Provides separate packages with shared reactive concepts and different source syntax.","useCase":"Interactive data applications","platforms":["Web browser"],"region":"Runtime, dependencies and hosting requirements apply","evidence":[{"url":"https://shiny.posit.co/","locator":"R/Python app examples; hosting options","retrievedAt":"2026-10-07T04:27:21Z","kind":"vendor"},{"url":"https://shiny.posit.co/py/docs/comp-r-shiny.html","locator":"Shared concepts; syntax differences; Express not in R","retrievedAt":"2026-10-07T04:27:55Z","kind":"vendor"}]},{"name":"Browser-only Python deployment","status":"limited","detail":"Shinylive depends on Pyodide-compatible packages and exposes shipped code and data to users.","useCase":"Interactive data applications","platforms":["Web browser"],"region":"Runtime, dependencies and hosting requirements apply","evidence":[{"url":"https://shiny.posit.co/py/get-started/shinylive.html","locator":"WebAssembly; package limitations; code/data visible to browser","retrievedAt":"2026-10-07T04:27:41Z","kind":"vendor"}]}],"alternatives":[],"slug":"shiny","draftAlternatives":[{"targetSlug":"streamlit","status":"limited","detail":"Shiny for Python is a reactive data-app alternative; UI/state code and deployment requirements differ.","useCase":"Interactive data applications","platforms":["Web browser"],"region":"Runtime, dependencies and hosting requirements apply","evidence":[{"url":"https://shiny.posit.co/py/docs/overview.html","locator":"Reactive inputs/outputs; render functions; Express/Core","retrievedAt":"2026-10-07T04:27:32Z","kind":"vendor"},{"url":"https://docs.streamlit.io/","locator":"Python framework; deployment products","retrievedAt":"2026-10-07T04:26:50Z","kind":"vendor"}]}],"evidence":[{"url":"https://shiny.posit.co/","locator":"R/Python app examples; hosting options","retrievedAt":"2026-10-07T04:27:21Z","kind":"vendor"},{"url":"https://shiny.posit.co/py/docs/overview.html","locator":"Reactive inputs/outputs; render functions; Express/Core","retrievedAt":"2026-10-07T04:27:32Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/rstudio/shiny/blob/main/DESCRIPTION","locator":"License: MIT + file LICENSE","retrievedAt":"2026-10-07T04:27:21Z","id":"shiny-r-license","title":"Shiny R package metadata","kind":"vendor"},{"url":"https://shiny.posit.co/","locator":"R/Python app examples; hosting options","retrievedAt":"2026-10-07T04:27:21Z","id":"shiny","title":"Shiny","kind":"vendor"},{"url":"https://shiny.posit.co/py/docs/overview.html","locator":"Reactive inputs/outputs; render functions; Express/Core","retrievedAt":"2026-10-07T04:27:32Z","id":"shiny-python","title":"Shiny for Python overview","kind":"vendor"},{"url":"https://shiny.posit.co/py/docs/comp-r-shiny.html","locator":"Shared concepts; syntax differences; Express not in R","retrievedAt":"2026-10-07T04:27:55Z","id":"shiny-compare","title":"Shiny R/Python comparison","kind":"vendor"},{"url":"https://shiny.posit.co/r/deploy.html","locator":"Own server; Shiny Server; hosted and commercial products","retrievedAt":"2026-10-07T04:27:55Z","id":"shiny-host","title":"Shiny hosting","kind":"vendor"},{"url":"https://shiny.posit.co/py/get-started/shinylive.html","locator":"WebAssembly; package limitations; code/data visible to browser","retrievedAt":"2026-10-07T04:27:41Z","id":"shiny-live","title":"Shinylive deployment","kind":"vendor"},{"url":"https://github.com/posit-dev/py-shiny/blob/main/LICENSE","locator":"MIT license","retrievedAt":"2026-10-07T04:27:55Z","id":"shiny-py-license","title":"Shiny Python license","kind":"vendor"},{"url":"https://docs.streamlit.io/","locator":"Python framework; deployment products","retrievedAt":"2026-10-07T04:26:50Z","id":"st","title":"Streamlit documentation","kind":"vendor"}],"overviewCitations":["shiny","shiny-python"],"licenseCitations":["shiny-r-license","shiny-py-license"],"sections":[{"id":"reactivity","heading":"Reactive analysis","paragraphs":[{"id":"reactivity-detail","content":[{"text":"In Shiny for Python, output-rendering functions read input values reactively, and changes update the affected output. Components provide controls, plots and tables, with extensions supporting further widget types. This separates the definition of an analytical result from the events that invalidate it, rather than requiring every interaction to be managed as a full script rerun."}],"citations":["shiny-python"]}]},{"id":"languages","heading":"R and Python implementations","paragraphs":[{"id":"languages-detail","content":[{"text":"The R and Python packages share major concepts and JavaScript code, including reactivity, rendering and modules. Their application source is nevertheless different: Python uses decorators and different naming and input-access conventions. Python also offers Shiny Express, which is not available in R. A switch of language therefore requires porting code and dependencies, not merely changing a launch command."}],"citations":["shiny-compare"]}]},{"id":"hosting","heading":"Server deployment","paragraphs":[{"id":"hosting-detail","content":[{"text":"The R deployment guide lists self-managed Shiny Server, commercial Posit Connect and hosted services including shinyapps.io and Connect Cloud. The hosted offerings have free and paid options. These choices concern publishing and operating the app; the existence of an open-source framework does not include unlimited compute or every enterprise access-management feature."}],"citations":["shiny-host"]}]},{"id":"browser","heading":"Shinylive","paragraphs":[{"id":"browser-detail","content":[{"text":"For Python applications, Shinylive moves Python and Shiny into the browser using WebAssembly and Pyodide, allowing static web hosting. Not all Python packages are available, and browser networking restrictions apply. Code and data sent with the app are visible to its users, so this model cannot keep bundled secrets confidential. It also shifts computation to the recipient's device."}],"citations":["shiny-live"]}]},{"id":"license","heading":"Licensing","paragraphs":[{"id":"license-detail","content":[{"text":"The R package metadata and Python repository identify MIT licensing. This covers the framework implementations, while separately chosen packages, datasets and hosting products retain their own requirements. An application handoff should identify its language and runtime dependencies rather than assume that the Shiny name specifies one interchangeable software environment."}],"citations":["shiny-r-license","shiny-py-license","shiny-compare"]}]},{"id":"substitution","heading":"Substitution considerations","paragraphs":[{"id":"substitution-detail","content":[{"text":"Shiny for Python can substitute for "},{"text":"Streamlit","targetSlug":"streamlit"},{"text":" for interactive analytical apps when dependency-based reactive updates suit the workflow. Shiny for R serves similar application-building needs within the R ecosystem, but entails a language change from Python. Porting should address the UI, reactive state and deployment model as well as the underlying analysis."}],"citations":["shiny-python","shiny-compare","st"]}]}]},"id":"Q1002","revision":1050,"updatedAt":"2026-10-13T18:43:23Z","sourceUrl":"https://substitutefor.net/entities/Q1002?revision=1050"}}