Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
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).
In order to start using the Python SDK, you need
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.
To install this package:
$ pip install cognite-sdk
To install this package without the pandas and NumPy support:
$ pip install cognite-sdk-core
To install with pandas, geopandas and shapely support (equivalent to installing cognite-sdk
).
However, this gives you the option to only have pandas (and NumPy) support without geopandas.
$ pip install cognite-sdk-core[pandas, geo]
On Windows, it is recommended to install geopandas
and its dependencies using conda
package manager, see geopandas installation page.
The following commands create a new environment, install geopandas
and cognite-sdk
.
conda create -n geo_env
conda activate geo_env
conda install --channel conda-forge geopandas
pip install cognite-sdk
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
Wondering about upcoming or previous changes to the SDK? Take a look at the CHANGELOG.
Want to contribute? Check out CONTRIBUTING.
FAQs
Client library for Cognite Data Fusion (CDF)
We found that cognite-sdk-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.