# py-shiny **Repository Path**: ZoroLuo/py-shiny ## Basic Information - **Project Name**: py-shiny - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-10 - **Last Updated**: 2023-12-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Shiny for Python ================ [![Release](https://img.shields.io/github/v/release/rstudio/py-shiny)](https://img.shields.io/github/v/release/rstudio/py-shiny) [![Build status](https://img.shields.io/github/actions/workflow/status/rstudio/py-shiny/pytest.yaml?branch=main)](https://img.shields.io/github/actions/workflow/status/rstudio/py-shiny/pytest.yaml?branch=main) [![Supported Python versions](https://img.shields.io/pypi/pyversions/deptry)](https://pypi.org/project/deptry/) [![License](https://img.shields.io/github/license/rstudio/py-shiny)](https://img.shields.io/github/license/rstudio/py-shiny) Shiny for Python is the best way to build fast, beautiful web applications in Python. You can build quickly with Shiny and create simple interactive visualizations and prototype applications in an afternoon. But unlike other frameworks targeted at data scientists, Shiny does not limit your app's growth. Shiny remains extensible enough to power large, mission-critical applications. To learn more about Shiny see the [Shiny for Python website](https://shiny.posit.co/py/). If you're new to the framework we recommend these resources: - How [Shiny is different](https://posit.co/blog/why-shiny-for-python/) from Dash and Streamlit. - How [reactive programming](https://shiny.posit.co/py/docs/reactive-programming.html) can help you build better applications. - How to [use modules](https://shiny.posit.co/py/docs/workflow-modules.html) to efficiently develop large applications. - Hosting applications for free on [shinyapps.io](https://shiny.posit.co/py/docs/deploy.html#deploy-to-shinyapps.io-cloud-hosting), [Hugging Face](https://shiny.posit.co/blog/posts/shiny-on-hugging-face/), or [Shinylive](https://shiny.posit.co/py/docs/shinylive.html). ## Join the conversation If you have questions about Shiny for Python, or want to help us decide what to work on next, [join us on Discord](https://discord.gg/yMGCamUMnS). ## Getting started To get started with shiny follow the [installation instructions](https://shiny.posit.co/py/docs/install.html) or just install it from pip. ``` sh pip install shiny ``` To install the latest development version: ``` sh # First install htmltools, then shiny pip install https://github.com/posit-dev/py-htmltools/tarball/main pip install https://github.com/posit-dev/py-shiny/tarball/main ``` You can create and run your first application with: ``` shiny create . shiny run app.py --reload ``` ## Development API documentation for the `main` branch of Shiny: https://posit-dev.github.io/py-shiny/api/ If you want to do development on Shiny for Python: ``` sh pip install -e ".[dev,test]" ``` Additionally, you can install pre-commit hooks which will automatically reformat and lint the code when you make a commit: ``` sh pre-commit install # To disable: # pre-commit uninstall ```