Python SDK for api.capellaspace.com (search, order, download)
Project description
🛰️ capella-console-client 🐐
Python SDK for api.capellaspace.com (search, order, download)
Installation
pip install capella-console-client
Requirements
- python >= 3.6
capella-console-client
requires an active account on console.capellaspace.com. Sign up for an account at https://www.capellaspace.com/community/.
Usage
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 2021 • Capella Space •
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
Close
Hashes for capella-console-client-0.8.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35c3fa1a00c3cc3798a532892e4bad55f8490f8e0de25bc432e26ba19982e125 |
|
MD5 | 225e43eca29bc85d90d196c5a4487c13 |
|
BLAKE2b-256 | ec19f694f7366e8baf76e7200df87475d074c3edae88fcbb31c0f1229a5ebcba |
Close
Hashes for capella_console_client-0.8.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d5416f2c68febad4ae903c9b57433d3b074debc4200411e4aca6e0af4df78a9 |
|
MD5 | a758d9453b4fdbf7c6aa99fa5f81c737 |
|
BLAKE2b-256 | 53b2aa6974f802e8c84f19d3ba9ede68a9de90530ad1056803d378a569f43da3 |