No description, website, or topics provided.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cognite Add v06 DTO to docs and make minor improvements (#170) Dec 11, 2018
docs Add v06 DTO to docs and make minor improvements (#170) Dec 11, 2018
examples Update TrainAndPredict.ipynb Dec 11, 2018
tests Add support for `before` in get_latest and enable getting ts name by … Dec 5, 2018
.coveragerc 0.4.28 Add unit tests, coverage, and fix minor issues. (#30) Mar 28, 2018
.gitignore Add a simple example using model hosting (#146) Nov 11, 2018
.pre-commit-config.yaml Fix typehint-remover and enforce black (#162) Nov 27, 2018
.pylintrc Enable setting limit for get_datapoints and get_datapoints_frame. Als… Jul 19, 2018
CONTRIBUTING.md Add support for api v0.5, add support for Events api, and fix issues … Apr 23, 2018
Jenkinsfile Fix typehint-remover and enforce black (#162) Nov 27, 2018
LICENSE Update Readme, Add CONTRIBUTING.md and Apache 2.0 license. (#41) Apr 11, 2018
MANIFEST.in Fix sdk to include package data (#115) Sep 18, 2018
Pipfile Assets search (#167) Nov 29, 2018
Pipfile.lock Bump requests from 2.20.1 to 2.21.0 (#169) Dec 11, 2018
README.md #102: Support end="now" in get_datapoints() Sep 13, 2018
codecov.yml 0.4.29 Fix bugs in timeseries and raw modules (#32) Apr 4, 2018
cognite_logo.png Update Readme, Add CONTRIBUTING.md and Apache 2.0 license. (#41) Apr 11, 2018
readthedocs.yml Update models client and fix issues in data transfer service (#138) Nov 1, 2018
setup.py Fix typehint-remover and enforce black (#162) Nov 27, 2018
type_hint_remover.py Fix typehint-remover and enforce black (#162) Nov 27, 2018

README.md

Cognite logo

Cognite Python SDK

build codecov Documentation Status

Python SDK to ensure excellent user experience for developers and data scientists working with the Cognite Data Platform.

Prerequisites

In order to start using the Python SDK, you need

  • Python3 (>= 3.3) 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

$ pip install cognite-sdk

Learn more

See the examples folder for samples using the SDK.

Check out the documentation below, including the public API guide.

If you work at Cognite, you can find examples of code use in the repository ML-examples.

Contributing

Want to contribute? Check out CONTRIBUTING.

Documentation

License

Apache 2.0