🛰️ capella-console-client 🐐
Python SDK for api.capellaspace.com (search, order, download)
Installation
pip install capella-console-client
Requirements
- python >= 3.6
capella-console-clientrequires 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 2021 • Capella Space •
Metadata
Release files for capella-console-client 0.8.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| capella-console-client-0.8.3.tar.gz | 33.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| capella_console_client-0.8.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.8 kB
Release files / capella-console-client-0.8.3.tar.gz
| Download URL | capella-console-client-0.8.3.tar.gz |
|---|---|
| Size | 33.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdd266925194c2b2825b55d41ecfef70302e5eae6da7bd57a62629753f47fe6c
|
|
BLAKE2b-256 checksum How to use checksums |
db60ffb9a09e939a6e22bd6621af6102f042f29adc9bb60141c29da22d269ba1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.2 Darwin/19.6.0
|
Release files / capella_console_client-0.8.3-py3-none-any.whl
| Download URL | capella_console_client-0.8.3-py3-none-any.whl |
|---|---|
| Size | 43.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f29a227cc69388cedac9600109874b73d85ea2a4cbe9fed10388541f6fed95e1
|
|
BLAKE2b-256 checksum How to use checksums |
13c6d6d4cb48d681dbe32f4fcfc6a450482a4a014c25a029c17a25cd0bcbec0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.2 Darwin/19.6.0
|