Skip to main content
Cognite logo

Cognite Python SDK

build codecov Documentation Status PyPI version tox Code style: black

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).

Documentation

Prerequisites

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.

Installation

To install this package:

$ pip install cognite-sdk

To install this package without the pandas and NumPy support:

$ pip install cognite-sdk-core

Examples

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

Changelog

Wondering about upcoming or previous changes to the SDK? Take a look at the CHANGELOG.

Contributing

Want to contribute? Check out CONTRIBUTING.

Release files for anders-sdk-jupyterlite 2.34.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anders-sdk-jupyterlite 2.34.0
File Size Uploaded
anders-sdk-jupyterlite-2.34.0.tar.gz 122.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anders-sdk-jupyterlite 2.34.0
File Interpreter ABI Platform
anders_sdk_jupyterlite-2.34.0-py3-none-any.whl Python 3 none any Details

Total release size: 286.5 kB

Release files / anders-sdk-jupyterlite-2.34.0.tar.gz

Download URL anders-sdk-jupyterlite-2.34.0.tar.gz
Size 122.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e8258917d78ba56df31e586cdae2e132f3280016057a106e52a41c57a10e1c8b
BLAKE2b-256 checksum
How to use checksums
dbd9765b33a7b6a6919f1b287a13f4aac4a16455e007990575505e4269e49562
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

Release files / anders_sdk_jupyterlite-2.34.0-py3-none-any.whl

Download URL anders_sdk_jupyterlite-2.34.0-py3-none-any.whl
Size 164.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d07f65923911f64cc24a9456907df5f91aabe6b7eb3e94c33fb4317b03a5265d
BLAKE2b-256 checksum
How to use checksums
74c913ff0395621a53efe3fdafc089aa6a5a88f5d16744e31966d37ce97f0fec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

Release history Release notifications | RSS feed

This release

2.34.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page