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.

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 2021 • 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.7.5.tar.gz (29.2 kB view hashes)

Uploaded Source

Built Distribution

capella_console_client-0.7.5-py3-none-any.whl (38.0 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