rsconnect-python
May 22, 2025 ยท View on GitHub
The Posit Connect command-line interface.
Installation
uv
uv tool install rsconnect-python
pipx
pipx install rsconnect-python
into your project
python -m pip install rsconnect-python
Usage
Get an API key from your Posit Connect server with at least publisher privileges:
Store your credentials:
rsconnect add --server https://connect.example.com --api-key <YOUR-CONNECT-API-KEY> --name production
Deploy your application:
rsconnect deploy shiny app.py --title "my shiny app"
Read more about publisher and admin capabilities on the docs site.