The Posit Connect command-line interface (CLI) for deploying Python content (Dash, Streamlit, Flask, Jupyter Notebooks) to RStudio Connect / Posit Connect servers. Current version: 1.29.0. Released on a quarterly cadence.
pip install rsconnect-pythonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize RSConnect client with server URL and API key from environment variable.
Ensure your environment uses the correct Python interpreter. If necessary, set the `CONNECT_PYTHON` environment variable instead of relying on the flag.
Replace `rsconnect write-manifest` with `rsconnect manifest` in your workflows.
Set required environment variables in the Posit Connect dashboard after deployment, or use the `rsconnect environment` command to set them programmatically.
Use `rsconnect deploy --no-dependencies` to skip dependency resolution, or use `rsconnect write-manifest` and manually upload the bundle.