User Tools

Site Tools


scripting:python_sdk

This is an old revision of the document!


virtualenv vent_ocisdk
source vent_ocisdk/bin/activate
cd vent_ocisdk/
pip install oci
./bin/python  # this is to start the python interpreter inside the virtual   environment


https://github.com/oracle/oci-python-sdk/blob/master/examples/json_response_example.py

>>> config = oci.config.from_file("/home/jsantosa/.oci/config")
>>> identity_client = oci.identity.IdentityClient(config)



>>> help(oci)

related info: python pip virtenv wheels: https://realpython.com/python-wheels/

scripting/python_sdk.1625342146.txt.gz · Last modified: (external edit)