Client library for Cognite Data Fusion (CDF)
Cognite Python SDK
This is the Cognite Python SDK for developers and data scientists working with Cognite Data Fusion (CDF). The package is tightly integrated with pandas, and helps you work easily and efficiently with data in Cognite Data Fusion (CDF).
In order to start using the Python SDK, you need
- Python3 (>= 3.5) and pip
- An API key. Never include the API key directly in the code or upload the key to github. Instead, set the API key as an environment variable. See the usage example for how to authenticate with the API key.
This is how you set the API key as an environment variable on Mac OS and Linux:
$ export COGNITE_API_KEY=<your API key>
On Windows, you can follows these instructions to set the API key as an environment variable.
To install this package:
$ pip install cognite-sdk
To install this package without the pandas and NumPy support:
$ pip install cognite-sdk-core
For a collection of scripts and Jupyter Notebooks that explain how to perform various tasks in Cognite Data Fusion (CDF) using Python, see the GitHub repository here
Wondering about upcoming or previous changes to the SDK? Take a look at the CHANGELOG.
Want to contribute? Check out CONTRIBUTING.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size cognite_sdk-1.3.1-py3-none-any.whl (107.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size cognite-sdk-1.3.1.tar.gz (77.4 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for cognite_sdk-1.3.1-py3-none-any.whl