Python SDK for api.capellaspace.com (task, search, order, download)
Project description
🛰️ capella-console-client 🐐
Python SDK for api.capellaspace.com (task, search, order, download)
Installation
pip install capella-console-client
Requirements
- python >= 3.8
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 2024 • 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.12.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bb8e04bac8f635c1b53625443a5ae200b194ff61709da0d1c28c92b12ae6b2f |
|
MD5 | 3171f23691238a08647014fdb5c02bd1 |
|
BLAKE2b-256 | 541dfa9dfbc835f0ae65667371cdbbda1ddf025ba6c8ab137fb0dfdf8c291495 |
Close
Hashes for capella_console_client-0.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed011055c3eb41e8a3845182110026864d402707e4d6c4e656980891717fa9e0 |
|
MD5 | 7886b0fee0fe9139be705f2050822b95 |
|
BLAKE2b-256 | a37d2abe424a43abec2d283eb3caa7213da6f62722406c488ad82c1c4800f3c1 |