Deploy Programmatically with rsconnect-python
Deploy Python content to Connect Cloud from any terminal using the rsconnect-python CLI.
You can now deploy Python content to Connect Cloud by using the rsconnect-python command-line interface, version 1.31.0 or higher.
Benefits of this new deployment workflow include:
- Terminal Support: Deploy Shiny, Streamlit, Dash, Bokeh, Jupyter notebook, Quarto, and static HTML content to Connect Cloud from any terminal, on any machine.
- Easy Authentication: Authenticate with a quick handshake between your terminal and Connect Cloud, or use a service account credential for CI/CD pipelines that run unattended.
- Programmatic Control: Script your entire publishing workflow, and capture the deployed URL with
--quietto pass along to the next step. - Error guidance: Get meaningful deployment status checks, logs, and error messages right in your terminal for faster troubleshooting.
If you are migrating from shinyapps.io, rsconnect content migrate-to-connect-cloud points a project’s local deployment record at its migrated content, so your next deploy updates that content instead of creating a second copy.
More information is available in the User Guide.