Skip to main content

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

Project description

🛰️ capella-console-client 🐐

Version License CI Coverage Supported Python Versions Documentation

Python SDK for api.capellaspace.com (task, 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 2024 • 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.13.0.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

capella_console_client-0.13.0-py3-none-any.whl (51.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: capella_console_client-0.13.0.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.11.0 Darwin/22.6.0

File hashes

Hashes for capella_console_client-0.13.0.tar.gz
Algorithm Hash digest
SHA256 049df520a122d3d01822cf48272544ed99aacfa006fd319400175c7fe6f811d1
MD5 957da3211d829f3fc67e0c02196a8a3a
BLAKE2b-256 7b986b34d9a65ae3689387784773ecdada942cfe2029beab144dc22596364a59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capella_console_client-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1690612758f90e8359d197a9bc880885a0d67660c67ac9331c76832febeb41e1
MD5 a2bb7e4a1e181ef9431df34b46f6baa6
BLAKE2b-256 6dc512bd72d231bbbbf5ef7478502a643717756c4f23a2fc16761e4c7b2e1354

See more details on using hashes here.

Supported by

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