capella-console-client-0.9.1
توضیحات
Python SDK for api.capellaspace.com (search, order, download)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | capella-console-client-0.9.1 |
| نام | capella-console-client |
| نسخه کتابخانه | 0.9.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Thomas Beyer |
| ایمیل نویسنده | thomas.beyer@capellaspace.com |
| آدرس صفحه اصلی | https://github.com/capellaspace/console-client |
| آدرس اینترنتی | https://pypi.org/project/capella-console-client/ |
| مجوز | MIT |
# 🛰️ capella-console-client 🐐
[](https://pypi.org/project/capella-console-client/)
[](#)
[](#)
[](https://coveralls.io/github/capellaspace/console-client)
[](https://pypi.org/project/capella-console-client/)
[](https://capella-console-client.readthedocs.io)
Python SDK for api.capellaspace.com (search, order, download)
## Installation
```bash
pip install capella-console-client
```
## Requirements
* python >= 3.7
* `capella-console-client` requires an active account on [console.capellaspace.com](https://console.capellaspace.com/). Sign up for an account at [https://www.capellaspace.com/community/](https://www.capellaspace.com/community/).
## Usage

```python
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](https://capella-console-client.readthedocs.io).
## 🧙 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](https://github.com/capellaspace/console-client/issues/new)
with enough information for us to reproduce your problem.
A [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example)
would be very helpful.
## Contributing
Contributions are very much welcomed and appreciated. See [how to contribute](https://capella-console-client.readthedocs.io/en/main/pages/contributors.html) for more information.
## License
• Licensed under the [MIT License](https://github.com/capellaspace/console-client/blob/master/LICENSE) • Copyright 2022 • Capella Space •
نیازمندی
| مقدار | نام |
|---|---|
| >=2.8.2,<3.0.0 | python-dateutil |
| >=0.23.0,<0.24.0 | httpx |
| >=1.3.3,<2.0.0 | retrying |
| >=12.5.1,<13.0.0 | rich |
| >=0.6.1,<0.7.0) | typer |
| >=1.10.0,<2.0.0) | questionary |
| >=0.8.10,<0.9.0) | tabulate |
| >=5.1.1,<6.0.0) | Sphinx |
| >=1.0.0,<2.0.0) | sphinx-rtd-theme |
| >=2021.3.14,<2022.0.0) | sphinx-autobuild |
| >=0.5.0,<0.6.0) | sphinx-copybutton |
| >=1.19.2,<2.0.0) | sphinx-autodoc-typehints |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl capella-console-client-0.9.1:
pip install capella-console-client-0.9.1.whl
نصب پکیج tar.gz capella-console-client-0.9.1:
pip install capella-console-client-0.9.1.tar.gz