Registry / devops / rsconnect-python

rsconnect-python

JSON →
library1.29.0pypypiunverified

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.

devopsweb-frameworkdata
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

from rsconnect import RSConnect

Initialize RSConnect client with server URL and API key from environment variable.

from rsconnect.api import RSConnect # Replace with your server URL and API key server = RSConnect( server='https://connect.example.com', api_key=os.environ.get('CONNECT_API_KEY', ''), ) # Get server info info = server.server_info() print(info)
rsconnect --version
Debug
Known footguns
breakingIn version 1.28.0, the `--python` flag behavior changed: it now uses the Python interpreter from the environment, not the one passed to the flag. Use `--python` only to specify a custom Python binary, not to set the environment.
deprecatedThe `rsconnect write-manifest` command is deprecated in favor of `rsconnect manifest`.
gotchaIf your content uses environment variables, they must be defined on the Posit Connect server under the content's 'Vars' tab. The `rsconnect deploy` command does not read local .env files.
gotchaThe `rsconnect deploy` command by default tries to download dependencies (like pip install). If your environment has network restrictions, use `--no-dependencies` or pre-build the environment.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources