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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 165a38f5329d8faffc9866539c1224167dbde2ddc8a7f32d226a0c827dcee11d |
|
MD5 | 85d92b209165e9f0cad623612f92741d |
|
BLAKE2b-256 | 46f337b41fc27f03eb125f35bac27be06575fc776f86d3cf620e7fe1413545d1 |
Close
Hashes for capella_console_client-0.7.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82b198745571e63df2a6a6a74b1f75faefcc3d4957f8ad889c7994775cc606e9 |
|
MD5 | 7b1efcaff8afd943d79b321e7c5de164 |
|
BLAKE2b-256 | 70539ee10e7c3e4a25e3e1437b1907935a4f3fa5f9168201f0b7370389cb2d76 |