Installation
CGC SDK installs as every pip package, actually it's the same process as CGC CLI.
You can install it inside of a previously created jupyter notebook and use it without the need to pass api keys.
It operates in your local network. So basically, it's just a helper to create a connection string for your namespace resources.
pip install
To install, open new terminal or notebook
Terminal
pip install cgcsdk
Notebook
You can run this in any cell of your notebook. Run it as bash command with ! in front of the command.
!pip install cgcsdk
If you enjoy live code more than documentation, you can find the installation process and example usage in our GitlabRepo
Import
After the installation is done, you can simply import it to your notebook by
import cgc.sdk as cgc