Skip to main content

A web development framework for Python.

Project description

Shiny for Python

Release Build status Supported Python versions License

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:

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 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, 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

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shiny-0.7.1.tar.gz (3.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shiny-0.7.1-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file shiny-0.7.1.tar.gz.

File metadata

  • Download URL: shiny-0.7.1.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for shiny-0.7.1.tar.gz
Algorithm Hash digest
SHA256 25f6402f8639375d9d300fa4533cceaab0ee08eb2cd3ecc4cae5d12a89bc5624
MD5 79d7cc630ef19273191153f88f3ecb61
BLAKE2b-256 91f972dcf69c14c70a25c427d90d36642d98fb70ecc0e09baa565000ae2f7bbc

See more details on using hashes here.

File details

Details for the file shiny-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: shiny-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for shiny-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6fc29c2dd5acec25efc0543542df7b0ea9591565acb628d51329261fb6744663
MD5 56b7227a3fc73a307a69018cf36649fc
BLAKE2b-256 1c3ec1b1a2e45b9568f32d90ba9f9c8320d90f5c32676f8ec096627eb34adc6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page