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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5d6317579eae99d4efc416ed718dcaeb51276aff1166640ae15bb8cb23a38b0 |
|
MD5 | c37c9f6a503fd6c4f7684cad57ea3175 |
|
BLAKE2b-256 | 3a3446b1b2a5fbf068d5c6d9d1d355b6daa7ff96ff545804ed8ef9f2a700dfc7 |
Close
Hashes for capella_console_client-0.7.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffef6fe64f7a70d541be0bdf53ee93578f83aefde31f7d5034afa6d6ee36ddc6 |
|
MD5 | ef1b295755f645383a3fb91395ad5395 |
|
BLAKE2b-256 | 7dea7bacd82e7b233741d713c7867c0bca7891aec2d8e111d8a1f91338545815 |