This project provides a Python package that makes it easy to interact with the Rubrik CDM API.
The SDK has been tested against Python 2.7.6 and Python 3.6.4.
Install from pip:
pip install rubrik_cdm
Install from source:
$ git clone https://github.com/rubrik-devops/rubrik-sdk-for-python
$ cd rubrik-sdk-for-python
$ python setup.py install
By default, the Rubrik SDK will attempt to read the the Rubrik Cluster credentials from the following environment variables:
rubrik_cdm_node_ip
rubrik_cdm_username
rubrik_cdm_password
import rubrik_cdm
rubrik = rubrik_cdm.Connect()