capella-console-client


Namecapella-console-client JSON
Version 0.7.4 PyPI version JSON
download
home_pagehttps://github.com/capellaspace/console-client
SummaryPython SDK for api.capellaspace.com (search, order, download)
upload_time2021-08-03 17:20:16
maintainer
docs_urlNone
authorThomas Beyer
requires_python>=3.6.2,<4.0.0
licenseMIT
keywords capellaspace earth observation capella console
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # 🛰️ 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 (search, order, download)


## Installation

```bash
pip install capella-console-client
```

## Requirements

* python >= 3.6
* `capella-console-client` requires an active account on [console.capellaspace.com](https://console.capellaspace.com/). Sign up for an account[here]](https://console.capellaspace.com/user/register/)


## 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).

## 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 2021 • Capella Space •

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/capellaspace/console-client",
    "name": "capella-console-client",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6.2,<4.0.0",
    "maintainer_email": "",
    "keywords": "CapellaSpace,earth observation,Capella Console",
    "author": "Thomas Beyer",
    "author_email": "thomas.beyer@capellaspace.com",
    "download_url": "https://files.pythonhosted.org/packages/3a/34/46b1b2a5fbf068d5c6d9d1d355b6daa7ff96ff545804ed8ef9f2a700dfc7/capella-console-client-0.7.4.tar.gz",
    "platform": "",
    "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 (search, order, download)\n\n\n## Installation\n\n```bash\npip install capella-console-client\n```\n\n## Requirements\n\n* python >= 3.6\n* `capella-console-client` requires an active account on [console.capellaspace.com](https://console.capellaspace.com/). Sign up for an account[here]](https://console.capellaspace.com/user/register/)\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## 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 2021 \u2022 Capella Space \u2022\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python SDK for api.capellaspace.com (search, order, download)",
    "version": "0.7.4",
    "split_keywords": [
        "capellaspace",
        "earth observation",
        "capella console"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "ef1b295755f645383a3fb91395ad5395",
                "sha256": "ffef6fe64f7a70d541be0bdf53ee93578f83aefde31f7d5034afa6d6ee36ddc6"
            },
            "downloads": -1,
            "filename": "capella_console_client-0.7.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ef1b295755f645383a3fb91395ad5395",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6.2,<4.0.0",
            "size": 19966,
            "upload_time": "2021-08-03T17:20:17",
            "upload_time_iso_8601": "2021-08-03T17:20:17.378177Z",
            "url": "https://files.pythonhosted.org/packages/7d/ea/7bacd82e7b233741d713c7867c0bca7891aec2d8e111d8a1f91338545815/capella_console_client-0.7.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "c37c9f6a503fd6c4f7684cad57ea3175",
                "sha256": "d5d6317579eae99d4efc416ed718dcaeb51276aff1166640ae15bb8cb23a38b0"
            },
            "downloads": -1,
            "filename": "capella-console-client-0.7.4.tar.gz",
            "has_sig": false,
            "md5_digest": "c37c9f6a503fd6c4f7684cad57ea3175",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6.2,<4.0.0",
            "size": 17783,
            "upload_time": "2021-08-03T17:20:16",
            "upload_time_iso_8601": "2021-08-03T17:20:16.063852Z",
            "url": "https://files.pythonhosted.org/packages/3a/34/46b1b2a5fbf068d5c6d9d1d355b6daa7ff96ff545804ed8ef9f2a700dfc7/capella-console-client-0.7.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-08-03 17:20:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "capellaspace",
    "github_project": "console-client",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "capella-console-client"
}
        
Elapsed time: 0.25406s