Python SDK for api.capellaspace.com (task, search, order, download)
Project description
🛰️ capella-console-client 🐐
Python SDK for api.capellaspace.com (task, search, order, download)
Installation
pip install capella-console-client
Requirements
- python >= 3.8, <4.0
capella-console-client
requires an active account on console.capellaspace.com. Sign up for an account at https://www.capellaspace.com/community/.
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.
🧙 capella-console-wizard 🧙♂️
starting with capella-console-client>=0.8.0
the SDK ships with an interactive wizard-like CLI: capella-console-wizard
Installation
pip install capella-console-client[wizard]
Usage
capella-console-wizard --help
see
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 2024 • 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
File details
Details for the file capella_console_client-0.13.2.tar.gz
.
File metadata
- Download URL: capella_console_client-0.13.2.tar.gz
- Upload date:
- Size: 39.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.1 CPython/3.11.0 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78ad3203d958b7d6c1a65f6ef024620b3990403d0b14d8d1582eaf039321c7de |
|
MD5 | 5fe53d3015a6d74eee183314a8a2e111 |
|
BLAKE2b-256 | f9e5ce1a73c69ba300a638bfcdc219d9e5ee6de61968ce7ac14a5de2b52fc70f |
File details
Details for the file capella_console_client-0.13.2-py3-none-any.whl
.
File metadata
- Download URL: capella_console_client-0.13.2-py3-none-any.whl
- Upload date:
- Size: 51.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.1 CPython/3.11.0 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52ae266806600822c6c59953119b6a77b37d2852c0494b83a027c3158ecc8953 |
|
MD5 | e3e262f042c164bd94fc84127c680153 |
|
BLAKE2b-256 | e57e165b23816c68b181859b3799e20b4285c2fabbd7d8daadf33260875ae0e2 |