Posit SDK for Python
This package provides a Pythonic interface for developers to work against the public APIs of Posit's professional products.
Installation
pip install posit-sdk
Usage
Establish server information and credentials using the following environment variables or when initializing a client. Then checkout the Posit Connect Cookbook to get started.
Option 1 (Preferred)
export CONNECT_API_KEY="my-secret-api-key"
export CONNECT_SERVER="https://example.com/"
from posit.connect import Client
client = Client()
Option 2
export CONNECT_API_KEY="my-secret-api-key"
from posit.connect import Client
Client("https://example.com")
Option 3
from posit.connect import Client
Client("https://example.com", "my-secret-api-key")
Contributing
We welcome contributions to the Posit SDK for Python! If you would like to contribute, see the CONTRIBUTING guide for instructions.
Issues
If you encounter any issues or have any questions, please open an issue. We appreciate your feedback.
License
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as you see fit.
Code of Conduct
We expect all contributors to adhere to the project's Code of Conduct and create a positive and inclusive community.
Metadata
Release files for posit-sdk 0.17.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| posit_sdk-0.17.0.tar.gz | 151.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| posit_sdk-0.17.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 248.9 kB
Release files / posit_sdk-0.17.0.tar.gz
| Download URL | posit_sdk-0.17.0.tar.gz |
|---|---|
| Size | 151.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1bae2dd30c409d80e80a1305722aee048cad058acc07f1f659101c243a8baf6d
|
|
BLAKE2b-256 checksum How to use checksums |
26342ae0e8291c53595e76b5c704f5e7f579b5c4f543ba1b3377715d436dfa2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 17, 2026.
Transparency logRelease files / posit_sdk-0.17.0-py3-none-any.whl
| Download URL | posit_sdk-0.17.0-py3-none-any.whl |
|---|---|
| Size | 97.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b81548aedac1edbc2082f1adadbbbdaa07bbeed4bd894916176ad81e8903e38b
|
|
BLAKE2b-256 checksum How to use checksums |
3169100f404d9aac213f1dca9a45abe11baef40bf4654d18846dfed5caa7981c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 17, 2026.
Transparency log