Cognite Python Documentation
Here you can find documentation and examples for anything Python related on top of Cognite Data Fusion.
You may also want to take a look at the documentation for the the API
A collection of simple examples to get you started with CDF.
A collection of Jupyter notebooks showing how to use the model hosting environment.
In order to start using these examples, you need to set up the following
Here are instructions for installing Python on your system:
Set Environment Variables
An API key in the COGNITE_API_KEY environment variable.
You can set the environment variable on macOs or Linux like this
$ export COGNITE_API_KEY=<YOUR-API-KEY>
On Windows, you can follows these instructions.
You need to install the dependencies required to run through the examples. You can do this using pip (requirements.txt) or pipenv.
$ pip install -r requirements.txt
$ pipenv shell $ pipenv sync --dev