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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17c4e568a3fd0015effca59f82c3d2bb54bd72eaa60ad1407355b8fe7bfa63e7 |
|
MD5 | 884e6717b2ff8379d414cfc531aea6d8 |
|
BLAKE2b-256 | fbdccabc7ff76970a46c2bc2129b5edd9e6922644eb502b8c8b97ec4ca00e8c7 |
Close
Hashes for capella_console_client-0.7.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e040e81b6283ee31701608643dec52e92b177952deb18d2f328fb37d22efa9a |
|
MD5 | 0ea16473f64a47d6f82b101d12f580d4 |
|
BLAKE2b-256 | b6c3e68816e427061c99b29bebefe12533ef9c5287f4dd1aac808eb571cc1fa9 |