Hi all,
Is there a way to check as an enduser if python content is enabled in posit Connect without trying to deploy a python shiny or streamlit app and wait to see if it will fail or not?
As an admin I am aware that from Posit Connect in the Admin tab, Metrics, Usage scorecard I can find python_shiny and python_streamlit but I believe those get true only after you deploy the relevant content.
I would like to check if python content is enabled (in the config file) without having access on the actual config file.
Python – Posit Connect Documentation Version 2025.05.0
Thank you,
Georgios
Using the command-line interface will tell you the versions of Python installed on the server, which for versions of Connect >= 2023.12.0 should indicate whether you can run any type of Python content: details - rsconnect-python
❯ rsconnect details --server https://pub.demo.posit.team -k $CONNECT_API_KEY
Validating server... [OK]
Posit Connect URL: https://pub.demo.posit.team
Gathering details... [OK]
Posit Connect version: 2025.04.0
Installed versions of Python:
3.10.13
3.10.14
3.11.3
3.11.9
3.12.3
3.12.3
3.12.3
3.12.3
3.12.3
3.12.3
3.12.3
3.12.4
APIs: allowed
You can also get this information from the API:
https://docs.posit.co/connect/api/#get-/v1/server_settings/python
If you're running a version of Connect older than that, it's a good time to upgrade.
1 Like
Great. Thank you very much for the provided solution.