Skip to content

psrc/shiny-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shiny for Python

  • pip install shiny

  • There is core vs express versions of Shiny Python. Express has limited capabilities

  • Use breakpoint() to debug

  • The difference

Deploy

  • pip install rsconnect-python

  • Set up machine with shinyapps credentials:

    • Login to PSRC's shinyapps.io account.
    • Navigate to Account > Tokens.
    • Select a token and click 'Show'.
    • Select 'With Python'
    • Show all tokens and secret then 'Copy to clipboard'
    • Paste and run in terminal
  • To deploy: rsconnect deploy shiny C:/Users/CLam/github/shiny-py --name psrcwa --title test-shiny-py1

  • URL: https://psrcwa.shinyapps.io/test-shiny-py1/

About

A reprex of how to set up Shiny for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published