# 🛰️ capella-console-client 🐐
[![Version](https://img.shields.io/pypi/v/capella-console-client.svg)](https://pypi.org/project/capella-console-client/)
[![License](https://img.shields.io/pypi/l/capella-console-client.svg)](#)
[![CI](https://github.com/capellaspace/console-client/workflows/CI/badge.svg)](#)
[![Coverage](https://coveralls.io/repos/github/capellaspace/console-client/badge.svg?branch=main)](https://coveralls.io/github/capellaspace/console-client)
[![Supported Python Versions](https://img.shields.io/pypi/pyversions/capella-console-client.svg)](https://pypi.org/project/capella-console-client/)
[![Documentation](https://readthedocs.org/projects/capella-console-client/badge/?version=main)](https://capella-console-client.readthedocs.io)
Python SDK for api.capellaspace.com (task, search, order, download)
## Installation
```bash
pip install capella-console-client
```
## Requirements
* python >= 3.8, <4.0
* `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
![Quickstart](docs/images/quickstart.gif)
```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 2024 • Capella Space •
Raw data
{
"_id": null,
"home_page": "https://github.com/capellaspace/console-client",
"name": "capella-console-client",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": "Capella Space, Earth Observation, Capella Console, Synthetic Aperture Radar, SAR",
"author": "Thomas Beyer",
"author_email": "thomas.beyer@capellaspace.com",
"download_url": "https://files.pythonhosted.org/packages/fb/e4/f02049b829ec26684fc7ed005392776ac725a39a7f5853f0f0f0383ba82e/capella_console_client-0.13.3.tar.gz",
"platform": null,
"description": "# \ud83d\udef0\ufe0f capella-console-client \ud83d\udc10\n\n[![Version](https://img.shields.io/pypi/v/capella-console-client.svg)](https://pypi.org/project/capella-console-client/)\n[![License](https://img.shields.io/pypi/l/capella-console-client.svg)](#)\n[![CI](https://github.com/capellaspace/console-client/workflows/CI/badge.svg)](#)\n[![Coverage](https://coveralls.io/repos/github/capellaspace/console-client/badge.svg?branch=main)](https://coveralls.io/github/capellaspace/console-client)\n[![Supported Python Versions](https://img.shields.io/pypi/pyversions/capella-console-client.svg)](https://pypi.org/project/capella-console-client/)\n[![Documentation](https://readthedocs.org/projects/capella-console-client/badge/?version=main)](https://capella-console-client.readthedocs.io)\n\nPython SDK for api.capellaspace.com (task, search, order, download)\n\n\n## Installation\n\n```bash\npip install capella-console-client\n```\n\n## Requirements\n\n* python >= 3.8, <4.0\n* `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/).\n\n\n## Usage\n\n![Quickstart](docs/images/quickstart.gif)\n\n```python\nfrom capella_console_client import CapellaConsoleClient\n\n# you will be prompted for console user (user@email.com)/ password before authenticating\nclient = CapellaConsoleClient(\n verbose=True\n)\n\n# search for 2 open-data products\nstac_items = client.search(\n instrument_mode=\"spotlight\",\n product_type__in=[\"SLC\", \"GEO\"],\n collections=[\"capella-open-data\"],\n limit=2\n)\n\n# order\norder_id = client.submit_order(items=stac_items, omit_search=True)\n\n# download\nproduct_paths = client.download_products(\n order_id=order_id,\n local_dir='/tmp',\n show_progress=True\n)\n```\n\n\n## Documentation\n\nThe documentation for `capella-console-client` can be found [here](https://capella-console-client.readthedocs.io).\n\n## \ud83e\uddd9\u200d capella-console-wizard \ud83e\uddd9\u200d\u2642\ufe0f\nstarting with `capella-console-client>=0.8.0` the SDK ships with an interactive wizard-like CLI: `capella-console-wizard`\n\n### Installation\n```\npip install capella-console-client[wizard]\n```\n\n### Usage\n```\ncapella-console-wizard --help\n```\n\nsee\n\n\n## Support\n\nPlease [open an issue](https://github.com/capellaspace/console-client/issues/new)\nwith enough information for us to reproduce your problem.\nA [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example)\nwould be very helpful.\n\n## Contributing\n\nContributions are very much welcomed and appreciated. See [how to contribute](https://capella-console-client.readthedocs.io/en/main/pages/contributors.html) for more information.\n\n\n## License\n\u2022 Licensed under the [MIT License](https://github.com/capellaspace/console-client/blob/master/LICENSE) \u2022 Copyright 2024 \u2022 Capella Space \u2022\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python SDK for api.capellaspace.com (task, search, order, download)",
"version": "0.13.3",
"project_urls": {
"Documentation": "https://capella-console-client.readthedocs.io/",
"Homepage": "https://github.com/capellaspace/console-client",
"Repository": "https://github.com/capellaspace/console-client"
},
"split_keywords": [
"capella space",
" earth observation",
" capella console",
" synthetic aperture radar",
" sar"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0f47563d17a3f0c7ffda777618197e5c4c9f82388374e5de00dbe84f11f20ec6",
"md5": "87d0ef63f28312b8c5720993a72e00db",
"sha256": "edfd830e08272cacda7d3034c80507d61454111ba537081e4cbe07acb651390f"
},
"downloads": -1,
"filename": "capella_console_client-0.13.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "87d0ef63f28312b8c5720993a72e00db",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 51796,
"upload_time": "2024-11-14T21:45:20",
"upload_time_iso_8601": "2024-11-14T21:45:20.341178Z",
"url": "https://files.pythonhosted.org/packages/0f/47/563d17a3f0c7ffda777618197e5c4c9f82388374e5de00dbe84f11f20ec6/capella_console_client-0.13.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fbe4f02049b829ec26684fc7ed005392776ac725a39a7f5853f0f0f0383ba82e",
"md5": "60990141a334b73ab3f8708200c48e32",
"sha256": "33066f472d00056aa323898ee59efe480784176a904f7453d8b942277075de07"
},
"downloads": -1,
"filename": "capella_console_client-0.13.3.tar.gz",
"has_sig": false,
"md5_digest": "60990141a334b73ab3f8708200c48e32",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 39653,
"upload_time": "2024-11-14T21:45:22",
"upload_time_iso_8601": "2024-11-14T21:45:22.208115Z",
"url": "https://files.pythonhosted.org/packages/fb/e4/f02049b829ec26684fc7ed005392776ac725a39a7f5853f0f0f0383ba82e/capella_console_client-0.13.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 21:45:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "capellaspace",
"github_project": "console-client",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "capella-console-client"
}