A web development framework for Python.
Project description
Shiny for Python
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. If you're new to the framework we recommend these resources:
-
How Shiny is different from Dash and Streamlit.
-
How reactive programming can help you build better applications.
-
How to use modules to efficiently develop large applications.
-
Hosting applications for free on shinyapps.io, Hugging Face, or Shinylive.
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.
Getting started
To get started with shiny follow the installation instructions or just install it from pip.
pip install shiny
To install the latest development version:
# First install htmltools, then shiny
pip install git+https://github.com/posit-dev/py-htmltools.git#egg=htmltools
pip install git+https://github.com/posit-dev/py-shiny.git#egg=shiny
You can create and run your first application with shiny create
, the CLI will ask you which template you would like to use. You can either run the app with the Shiny extension, or call shiny run app.py --reload --launch-browser
.
Development
- Shinylive built from the
main
branch: https://posit-dev.github.io/py-shiny/shinylive/py/examples/ - API documentation for the
main
branch:
If you want to do development on Shiny for Python:
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:
pre-commit install
# To disable:
# pre-commit uninstall
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file shiny-1.2.0.tar.gz
.
File metadata
- Download URL: shiny-1.2.0.tar.gz
- Upload date:
- Size: 5.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2df5c87f22d1e3bc05f2678429a5502d09e316e8666cc30182c4ab8213c5dce9 |
|
MD5 | 0ff3941906a97058e9ceda617903ab4a |
|
BLAKE2b-256 | a48cb6d728e689b521dacbc1abeeda017a9562dd1af1ef5528156be494ea7d94 |
File details
Details for the file shiny-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: shiny-1.2.0-py3-none-any.whl
- Upload date:
- Size: 4.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca6bb27bd04bb79423d6d940ff81c57ed14f638df6ab36d88e397442e7ae5924 |
|
MD5 | d1d8d1311e19540ce68b0377ef732d47 |
|
BLAKE2b-256 | 4254a9ccb1efc98a94e12fdec2e73fa0b79de2989c81bbdff45d4aaa608a5167 |