# Shiny

Reactive web\-application framework with separate R and Python implementations\.

ID: Q1002 · Revision: 1050

Type: software · License: MIT for R and Python framework packages[^shiny-r-license][^shiny-py-license] · Status: active

Website: https://shiny.posit.co/



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\.[^shiny][^shiny-python]

## Reactive analysis

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\.[^shiny-python]

## R and Python implementations

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\.[^shiny-compare]

## Server deployment

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\.[^shiny-host]

## Shinylive

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\.[^shiny-live]

## Licensing

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\.[^shiny-r-license][^shiny-py-license][^shiny-compare]

## Substitution considerations

Shiny for Python can substitute for [Streamlit](/streamlit) 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\.[^shiny-python][^shiny-compare][^st]

## Capabilities and substitutions

### R and Python implementations — supported

Provides separate packages with shared reactive concepts and different source syntax\.[^shiny][^shiny-compare]

Use case: Interactive data applications · Platforms: Web browser · Region: Runtime, dependencies and hosting requirements apply

### Browser\-only Python deployment — limited

Shinylive depends on Pyodide\-compatible packages and exposes shipped code and data to users\.[^shiny-live]

Use case: Interactive data applications · Platforms: Web browser · Region: Runtime, dependencies and hosting requirements apply

### [Substitute for Streamlit](/streamlit) — limited

Shiny for Python is a reactive data\-app alternative; UI/state code and deployment requirements differ\.[^shiny-python][^st]

Use case: Interactive data applications · Platforms: Web browser · Region: Runtime, dependencies and hosting requirements apply

## References

[^shiny-r-license]: [Shiny R package metadata](<https://github.com/rstudio/shiny/blob/main/DESCRIPTION>) — License: MIT \+ file LICENSE (vendor; retrieved 2026-10-07T04:27:21Z)

[^shiny]: [Shiny](<https://shiny.posit.co/>) — R/Python app examples; hosting options (vendor; retrieved 2026-10-07T04:27:21Z)

[^shiny-python]: [Shiny for Python overview](<https://shiny.posit.co/py/docs/overview.html>) — Reactive inputs/outputs; render functions; Express/Core (vendor; retrieved 2026-10-07T04:27:32Z)

[^shiny-compare]: [Shiny R/Python comparison](<https://shiny.posit.co/py/docs/comp-r-shiny.html>) — Shared concepts; syntax differences; Express not in R (vendor; retrieved 2026-10-07T04:27:55Z)

[^shiny-host]: [Shiny hosting](<https://shiny.posit.co/r/deploy.html>) — Own server; Shiny Server; hosted and commercial products (vendor; retrieved 2026-10-07T04:27:55Z)

[^shiny-live]: [Shinylive deployment](<https://shiny.posit.co/py/get-started/shinylive.html>) — WebAssembly; package limitations; code/data visible to browser (vendor; retrieved 2026-10-07T04:27:41Z)

[^shiny-py-license]: [Shiny Python license](<https://github.com/posit-dev/py-shiny/blob/main/LICENSE>) — MIT license (vendor; retrieved 2026-10-07T04:27:55Z)

[^st]: [Streamlit documentation](<https://docs.streamlit.io/>) — Python framework; deployment products (vendor; retrieved 2026-10-07T04:26:50Z)

Source revision: https://substitutefor.net/entities/Q1002?revision=1050
