Giter Site home page Giter Site logo

slubru62 / using-cognite-python-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cognitedata/using-cognite-python-sdk

0.0 0.0 0.0 14.23 MB

Code and materials for course on "Using Cognite Python SDK"

License: Apache License 2.0

Python 1.30% Jupyter Notebook 98.70%

using-cognite-python-sdk's Introduction

Using Cognite Python SDK

A step by step guide with practical examples and code for using Cognite Python SDK. https://cognite-docs.readthedocs-hosted.com/projects/cognite-sdk-python/en/latest/

Getting Started:

  1. First clone the repository using git
git clone https://github.com/cognitedata/using-cognite-python-sdk.git
  1. Install the required packages by opening up the terminal on your machine and running the following command
pip install "cognite-sdk[pandas]"

For more advanced users, you can also use poetry to manage your Python virtual environment. If you would like to use this tool, please follow the steps detailed in the next section.

Additional notes for developers:

  1. (Advanced) Make sure that you have a recent version of poetry installed. Also change the following setting in poetry
poetry config virtualenvs.in-project true

Open the repo in an IDE (e.g. VS code) and run the following command in the terminal/command line after navigating to the repo folder, this installs the dependencies defined in the pyproject.toml file.

poetry install

Now you're ready to run the code in jupyter notebooks. (Note: You might need to change the "kernel" to use the virtual environment that was created by poetry.)

  1. Add new libraries if needed
poetry add pandas numpy

using-cognite-python-sdk's People

Contributors

kristianvangsnes avatar haakonvt avatar sofiehaug-cognite avatar keepfloyding avatar stigharaldgustavsen avatar dependabot[bot] avatar gaetan-h avatar choukha avatar madinacognite avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.