A step-by-step guide with practical examples and code for using the Cognite Python SDK.
https://cognite-docs.readthedocs-hosted.com/projects/cognite-sdk-python/en/latest/
- Python 3.11+
- Poetry (recommended) or pip
git clone https://github.com/cognitedata/using-cognite-python-sdk.git
cd using-cognite-python-sdkWe recommend using Poetry to manage your Python virtual environment:
poetry installThis installs the dependencies defined in pyproject.toml and creates a virtual environment in the project folder.
Open the repo in your IDE (e.g., VS Code) and start exploring the Jupyter notebooks.
Note: You may need to select the Poetry virtual environment as your kernel.
If you prefer not to use Poetry, you can install the SDK directly with pip:
pip install "cognite-sdk[pandas]"