--- id: shiny version: "1.7.0" license: MIT license_treatment: permissive maintenance: active --- # shiny — A web development framework for Python. License: permissive · Maintenance: active · Downloads: 295.7K/mo ## What it is and what it does Shiny for Python is a web framework designed to let Python developers build fast, interactive web applications without needing to write JavaScript or HTML directly. It uses reactive programming—a model where the UI automatically updates when underlying data changes—to simplify the logic of building responsive applications. The framework ships with a CLI tool for scaffolding new projects and a development server with hot-reload support. It sits on top of modern web infrastructure: uvicorn and starlette handle the HTTP server, websockets enable real-time communication, and htmltools manages the UI rendering. The package includes 21 runtime dependencies covering async I/O, data handling (narwhals for dataframe abstraction, orjson for JSON serialization), and interactive components. It supports Python 3.10 through 3.14 and is actively maintained, with deployment options to multiple cloud platforms. Use it for: - Build interactive dashboards and data exploration tools for analysts and stakeholders without learning web development. - Prototype data science applications quickly, then extend them into production-grade systems using modular architecture. - Create real-time monitoring and reporting applications that update automatically as underlying data changes. - Develop internal tools and admin interfaces that integrate with Python data pipelines and databases. - Build educational or scientific applications that visualize complex computations and let users interact with parameters. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Shiny for Python is a web development framework that lets you build interactive web applications in Python, combining reactive programming with a modern web stack to create data-driven UIs without writing JavaScript. Yes. Shiny is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It's well-suited for developers who want to build web applications in Python without learning JavaScript. The 21 runtime dependencies are justified by reliance on proven web libraries (starlette, uvicorn) rather than custom implementations. Choose it if you need reactive, interactive web UIs; if you need a lightweight REST API or static site, a simpler framework may be better. ## Install pip install shiny uv add shiny poetry add shiny ## Installing shiny Before you install: Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release and steady repository activity. The 21 runtime dependencies are well-established web and data libraries (uvicorn, starlette, websockets, narwhals), suggesting a stable, production-ready stack. License in practice: MIT license is permissive, allowing free use, modification, and distribution in both open-source and commercial projects with minimal restrictions. Quickstart: pip install shiny from shiny import App, render, ui app = App( ui.page_fluid( ui.input_slider("n", "N"), ui.output_text("txt") ), None ) @app.server def server(input, output, session): @output @render.text def txt(): return f"n is {input.n()}" app.run() Requires Python 3.10 or later. Verify before relying: - Performance characteristics and scalability limits for large-scale applications. - Specific feature comparison with other Python web frameworks in terms of completeness. - Hosting and deployment requirements beyond the mentioned platforms. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 295.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags python web framework, interactive web apps python, reactive programming framework, data visualization web app, python dashboard builder, web ui python, python web application framework, web-framework, reactive-programming, dashboard [View on SkillFed](https://skillfed.io/packages/shiny) · [View on PyPI](https://pypi.org/project/shiny/)