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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83f048ce1f951c8ab80e4eaad9f113511b262d1568079b069e851ebd951f7c24 |
|
MD5 | 89da335742a0299bbf850a3aa6e5a169 |
|
BLAKE2b-256 | 52ffcdd560cab59c3730f568b3207b08924dbce5926fdf429bcca632946825d4 |
Close
Hashes for capella_console_client-0.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a66d2f54a98ce20b88d115941baceebd7453a64e15e4aca19f90f41e2cd21b9 |
|
MD5 | 1ed9f3d1ef7b67fd31bba04e2a73e408 |
|
BLAKE2b-256 | 5facef75ef3666be6ef4e093381e1ff976e14b0e86a97ae01148cdbbd9b2d61d |