See the Shiny for Python website.
To install the latest release from PyPI:
pip install shiny
To install the latest development version from this repository:
pip install https://github.com/rstudio/py-shiny/tarball/main
More detailed installation instructions, including the use of conda
, are also available.
If you want to do development on Shiny for Python:
pip install -e ".[dev,docs,test]"
Additionally, you can install pre-commit hooks which will automatically reformat and lint the code when you make a commit:
pre-commit install
# To disable:
# pre-commit uninstall