Skip to main content

Client library for Cognite Data Fusion (CDF)

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

1.8.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cognite-sdk-core-1.8.1.tar.gz (94.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cognite_sdk_core-1.8.1-py3-none-any.whl (131.2 kB view details)

Uploaded Python 3

File details

Details for the file cognite-sdk-core-1.8.1.tar.gz.

File metadata

  • Download URL: cognite-sdk-core-1.8.1.tar.gz
  • Upload date:
  • Size: 94.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7

File hashes

Hashes for cognite-sdk-core-1.8.1.tar.gz
Algorithm Hash digest
SHA256 b1c847b7f5c3c3010ec573456108984d74766e508bfff8e0e0765a6075a1a86e
MD5 c333cd1fd0c31e6e4b83f2d6097399b9
BLAKE2b-256 54cb7c67ac1f0c25400a8797408f014e59c4ab49f6ead78cbc5c7d581c8c7fe1

See more details on using hashes here.

File details

Details for the file cognite_sdk_core-1.8.1-py3-none-any.whl.

File metadata

  • Download URL: cognite_sdk_core-1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 131.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7

File hashes

Hashes for cognite_sdk_core-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 13088d6eb1dc55a239372d04e90cd17bd9c278f4d678a2edd42edfe21805850a
MD5 486006eb22c58cf1ca25955d1d201d7a
BLAKE2b-256 016f27f2dd81c6c6eb8f1c1bcf6db00a42f0a94e78b37a0090c49fa88328526e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page