A wrapper for the Seismic Datastore API offered by Cognite
Project description
Cognite Seismic Python SDK
An early Python SDK for the Seismic data store API.
Prerequisites
In order to start using the Python SDK, you need
- Python3 (>= 3.6) 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 grpcio numpy protobuf
$ pip install cognite-seismic-sdk
Dev installation
- Run
pipenv install --dev
to install a virtual environment and dependencies. - Install the package using
pip install -e .
. This way, changes to the source code will affect the package.
Examples
See the file examples.py
.
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
Built Distribution
File details
Details for the file cognite-seismic-sdk-0.0.8a0.tar.gz
.
File metadata
- Download URL: cognite-seismic-sdk-0.0.8a0.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d52c3ec607dfd456ea53420560289cabb542728b2f1f6db54033d04d4612589 |
|
MD5 | 6ba2c8444bc982cd6b321691a3470773 |
|
BLAKE2b-256 | c0e896d1eeeb8c44a30ad429e5a042af25088d7782ebde553e6a8cbf4d5cd9d6 |
File details
Details for the file cognite_seismic_sdk-0.0.8a0-py3-none-any.whl
.
File metadata
- Download URL: cognite_seismic_sdk-0.0.8a0-py3-none-any.whl
- Upload date:
- Size: 38.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15fee9209eff0d7094b72199e2f553c3c2e2e2d5ecd247a5436179d99727de75 |
|
MD5 | 35463dcf916b077c356e4559659df1a9 |
|
BLAKE2b-256 | dac3ee02475058cefa46f804bb040d2cf6d932edbd9cc5115a25f8d259f9c851 |