Skip to main content

Python SDK for api.capellaspace.com (search, order, download)

Project description

🛰️ capella-console-client 🐐

Version License CI Coverage Supported Python Versions Documentation

Python SDK for api.capellaspace.com (search, order, download)

Installation

pip install capella-console-client

Requirements

Usage

Quickstart

from capella_console_client import CapellaConsoleClient

# you will be prompted for console user (user@email.com)/ password before authenticating
client = CapellaConsoleClient(
    verbose=True
)

# search for 2 open-data products
stac_items = client.search(
    instrument_mode="spotlight",
    product_type__in=["SLC", "GEO"],
    collections=["capella-open-data"],
    limit=2
)

# order
order_id = client.submit_order(items=stac_items, omit_search=True)

# download
product_paths = client.download_products(
    order_id=order_id, 
    local_dir='/tmp',
    show_progress=True
)

Documentation

The documentation for capella-console-client can be found here.

🧙‍ capella-console-wizard 🧙‍♂️

starting with capella-console-client>=0.8.0 the SDK ships with an interactive wizard-like CLI: capella-console-wizard

Installation

pip install capella-console-client[wizard]

Usage

capella-console-wizard --help

see

Support

Please open an issue with enough information for us to reproduce your problem. A minimal, reproducible example would be very helpful.

Contributing

Contributions are very much welcomed and appreciated. See how to contribute for more information.

License

• Licensed under the MIT License • Copyright 2022 • Capella Space •

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

capella_console_client-0.10.0.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

capella_console_client-0.10.0-py3-none-any.whl (44.3 kB view details)

Uploaded Python 3

File details

Details for the file capella_console_client-0.10.0.tar.gz.

File metadata

  • Download URL: capella_console_client-0.10.0.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Darwin/19.6.0

File hashes

Hashes for capella_console_client-0.10.0.tar.gz
Algorithm Hash digest
SHA256 525551e578a6d598d91f13341b3e7d32e04b94c255306975b44825555def4c92
MD5 463df45fe0f00b33054d3ea5906b9903
BLAKE2b-256 c4aad4bf03a7e6a32a5d621824f4ba24a2f79c1a4bfa139898a24308c79ccfd2

See more details on using hashes here.

File details

Details for the file capella_console_client-0.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for capella_console_client-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 581a4624363c239fb2505b51a6052dd6c8f3cdd774b193d64cf48f69c3459888
MD5 a575a5199848bb8f76ef326463358f1a
BLAKE2b-256 f62905070f9ad5b71e4c8b65db7094b2c5435998e0860e615a177a52c32d4f55

See more details on using hashes here.

Supported by

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