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[here]](https://console.capellaspace.com/user/register/)
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.
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.7.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58441ae3257aee92ee58285e5a19d230026e630a615371bb2eea8d1080575043 |
|
MD5 | 703f442db3e92dd77d59d1c9a3694d7c |
|
BLAKE2b-256 | 6fbf1c4785fb26c5e503ac8957bfd89276b8881d6a1029835a2ce9b54b4ac931 |
Close
Hashes for capella_console_client-0.7.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd4a4f57bd99abfffe1dbf52e2908c161772d63d6d29f5ef103d32418ae3990a |
|
MD5 | 36248f10f05be31df1635166351972b1 |
|
BLAKE2b-256 | f48ae70c27dbee0f65f92ed1f28ad9ef25d4acd5c1e23960fe1046d9897c5d4f |