Skip to main content

A software development kit for developing projects on TerraScope

Project description

TerraScope SDK

Description

The TerraScope Platform is a collection of tools to analyze sensor data over space and time. The TerraScope SDK (software development kit) is a Python package that simplifies users' interaction with the TerraScope Platform API.

Installation

Readme: Installation

Usage

TerraScope SDK is designed to simplify access to all the terrascope-api calls that are available. Ensure that you have the correct terrascope-api package installed.

Each API uses a client object which requires the following env variables to be set:

TERRASCOPE_HOST=terrascope-api1.orbitalinsight.com
TERRASCOPE_TOKEN=<TerraScope API Token>
TERRASCOPE_TIMEOUT=<Int timeout in seconds> defaults to 60 seconds

You will always want to ensure that you have the correct terrascope-sdk version installed. The latest can be found here: https://pypi.org/project/terrascope-sdk/

To manually build a local version of the terrascope-sdk (for example, if you are making changes and want to test):

  1. Update the version specified in the pyproject.toml file, e.g. version = "1.0.6-test"
  2. Execute from the top-level terrascope_sdk folder: python3 -m build
  3. cd dist/
  4. pip3 install terrascope_sdk-1.0.6-test-py3-none-any.whl (this file name may be different based on the version specified)

Authors and acknowledgment

Orbital Insight

License

LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terrascope-sdk-1.0.15.tar.gz (43.5 kB view hashes)

Uploaded Source

Built Distribution

terrascope_sdk-1.0.15-py3-none-any.whl (57.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page