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

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-2.38.5.tar.gz (272.8 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-2.38.5-py3-none-any.whl (181.8 kB view details)

Uploaded Python 3

File details

Details for the file cognite-sdk-2.38.5.tar.gz.

File metadata

  • Download URL: cognite-sdk-2.38.5.tar.gz
  • Upload date:
  • Size: 272.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for cognite-sdk-2.38.5.tar.gz
Algorithm Hash digest
SHA256 d598202c2a844238801a89002f7bcdf874736ae44ad6b2bfe0a04a26b76f3faf
MD5 085b98355599e01d9d7e1d78abd95690
BLAKE2b-256 1845767279129fcb4823f0a6f4767df27725a60bde0eb5ab2bd4373859307d17

See more details on using hashes here.

File details

Details for the file cognite_sdk-2.38.5-py3-none-any.whl.

File metadata

  • Download URL: cognite_sdk-2.38.5-py3-none-any.whl
  • Upload date:
  • Size: 181.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for cognite_sdk-2.38.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f5de23e8031c0de652bf503f6b57c1494eb8e38046faed0120b1c9f4b68b80c1
MD5 a9e85cff6d893eced3d1ed586126ae79
BLAKE2b-256 7b8ae90aa7ca6b85adab45bf179d07a63b9b165be65d0aa7a134f6b00207d7bf

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