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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 689baa55f1b581130e349d8a440ef1be2198bdf27665acb2e4397fc508bd2a33 |
|
MD5 | 02b246312ebd61dbb782011ccc3a6146 |
|
BLAKE2b-256 | 0296c0f3d70769351276fa09ee4c0588f6c4ff862ccb210d3d11c233cd3d12c8 |
Close
Hashes for capella_console_client-0.7.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64179934154f9929a9bc9bc0a6a5505c4e6716a04b2231b56a8bbd5b5cb2e44e |
|
MD5 | dd6484a5f440019e31ebde30a6f42add |
|
BLAKE2b-256 | f81021c412fc280f3442db8f67a57e96bb6052a8cab6a1f5c80896d71da31f57 |