Skip to main content

rsconnect-python

The command-line interface for Posit Connect and Posit Connect Cloud.

Installation

rsconnect-python requires Python 3.11 or later to run.

uv

uv tool install rsconnect-python

pipx

pipx install rsconnect-python

into your project

Your project's Python must be version 3.11 or later.

python -m pip install rsconnect-python

Usage with Posit Connect

Log in to your Posit Connect server:

rsconnect login https://connect.example.com

Deploy your application:

rsconnect deploy shiny app.py --title "my shiny app"

Browser login requires Posit Connect 2026.02.0 or later. In remote containers, or other sessions where the browser cannot reach the CLI's local callback, use --use-device-code with Connect 2026.06.0 or later.

For older servers, or automation that cannot use identity tokens, get an API key and store it with rsconnect add. See the authentication guide for identity token requirements and other login options.

Read more about publisher and admin capabilities on the docs site.

Usage with Posit Connect Cloud

Store your credentials, logging in to Posit Connect Cloud through your browser:

rsconnect add --connect-cloud --account <YOUR-ACCOUNT-NAME> --name cloud

Deploy your application:

rsconnect deploy shiny app.py --name cloud --title "my shiny app"

For non-interactive use such as CI, pass client credentials with --client-id and --client-secret, or the CONNECT_CLOUD_CLIENT_ID and CONNECT_CLOUD_CLIENT_SECRET environment variables.

Contributing

Contributing docs

Metadata

Release files for rsconnect 1.34.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rsconnect 1.34.1
File Size Uploaded Provenance Actions
rsconnect-1.34.1.tar.gz 231.3 kB With provenance Details for rsconnect-1.34.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rsconnect 1.34.1
File Interpreter ABI Platform Actions
rsconnect-1.34.1-py3-none-any.whl Python 3 none any Details for rsconnect-1.34.1-py3-none-any.whl

Total release size: 484.1 kB

Release files / rsconnect-1.34.1.tar.gz

Download URL rsconnect-1.34.1.tar.gz
Size 231.3 kB
Tags Source
SHA-256 checksum
How to use checksums
245f6b51fbda5f52c0d7f054f8bc58703d871b667e7cb1bffc9c43484b1afade
BLAKE2b-256 checksum
How to use checksums
c05bfbf750a42181904563e31fd3698c737dc5c615209aea17a2a0098b3858d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / rsconnect-1.34.1-py3-none-any.whl

Download URL rsconnect-1.34.1-py3-none-any.whl
Size 252.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a53f69b3d5afe44aa96179cf9db4e42042f2a70c814bba97eed4c96f1349eb44
BLAKE2b-256 checksum
How to use checksums
102d9ac1e8c65b8a15a7055c7cf7d6a447339b0c45f238ef8a5257483978310e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for rsconnect 1.34.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rsconnect-1.34.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page