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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc5552f68fef6ba7802d451b38c12071cb71adfa25548a8417e85f67020d22a5 |
|
MD5 | 96b99a97f6b428bdbf4f3ea8febefb8b |
|
BLAKE2b-256 | b9226b7cfc251dca3e2bcc200254893bfa3bd6ea2ed92bb101b6911c2ec21e77 |
Close
Hashes for capella_console_client-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba50440a672be73babeac2261b20b531a371e44e1c967d14321e4f0508886d3f |
|
MD5 | da18ce51ce6c10cbbd6b190251ce7c59 |
|
BLAKE2b-256 | dd5161d96fedec7ab513d8a588333364645a1b124362edde47e6df2a8ddd005d |