waylay-sdk-core


Namewaylay-sdk-core JSON
Version 0.2.2 PyPI version JSON
download
home_pageNone
SummaryWaylay Python SDK.
upload_time2024-06-03 07:55:32
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseISC License (ISC) Copyright 2024, Waylay Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
keywords waylay sdk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Waylay Python SDK

Python SDK for the Waylay Platform.

This `waylay-sdk-core` package provides a basic SDK client for the [Waylay REST apis](https://docs.waylay.io/#/api/?id=openapi-docs). 

See [Waylay Docs](https://docs.waylay.io/#/api/sdk/python) for documentation.

## Installation

This package requires a python runtime `3.9` or higher.

The basic client can be installed with
```bash
pip install waylay-sdk-core
```

This client provides configuration, authorization and plugin features for the SDK.

It includes a generic http client to make authenticated calls to the services available on your _Waylay_ gateway endpoint.

Support for specific Waylay services or tools is provided by separate extension packages.

See [`waylay-sdk`](https://pypi.org/project/waylay-sdk) to install a client that includes the recommended extensions.

## Basic usage

### Interactive Authentication

When used outside the Waylay platform (e.g. in a _python notebook_) the client requires you to provide
* the gateway endpoint: `api.waylay.io` for Enterprise users,
* an API key-secret pair: see [Waylay Console](console.waylay.io) at _>Settings>Authentication keys_.

```python
from waylay.sdk import WaylayClient

# this will interactively request the gateway and credentials on first usage.
client = WaylayClient.from_profile()

# list the available service packages
client.services

# use the generic api client to see the status page of the 'registry' service.
resp = await client.api_client.request('GET', '/registry/v2')
```

Credentials and endpoints are stored in a local _profile_ file (you can have multiple such profiles).
Other authentication methods are available (JWToken, pass apiKey/Secret directly)


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "waylay-sdk-core",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "waylay, sdk",
    "author": null,
    "author_email": "Waylay <info@waylay.io>",
    "download_url": "https://files.pythonhosted.org/packages/dd/10/1a00654a8299492361de9fbe9aa99056b8a4fb9b5054c7cec2f4c97ad0b1/waylay_sdk_core-0.2.2.tar.gz",
    "platform": null,
    "description": "# Waylay Python SDK\n\nPython SDK for the Waylay Platform.\n\nThis `waylay-sdk-core` package provides a basic SDK client for the [Waylay REST apis](https://docs.waylay.io/#/api/?id=openapi-docs). \n\nSee [Waylay Docs](https://docs.waylay.io/#/api/sdk/python) for documentation.\n\n## Installation\n\nThis package requires a python runtime `3.9` or higher.\n\nThe basic client can be installed with\n```bash\npip install waylay-sdk-core\n```\n\nThis client provides configuration, authorization and plugin features for the SDK.\n\nIt includes a generic http client to make authenticated calls to the services available on your _Waylay_ gateway endpoint.\n\nSupport for specific Waylay services or tools is provided by separate extension packages.\n\nSee [`waylay-sdk`](https://pypi.org/project/waylay-sdk) to install a client that includes the recommended extensions.\n\n## Basic usage\n\n### Interactive Authentication\n\nWhen used outside the Waylay platform (e.g. in a _python notebook_) the client requires you to provide\n* the gateway endpoint: `api.waylay.io` for Enterprise users,\n* an API key-secret pair: see [Waylay Console](console.waylay.io) at _>Settings>Authentication keys_.\n\n```python\nfrom waylay.sdk import WaylayClient\n\n# this will interactively request the gateway and credentials on first usage.\nclient = WaylayClient.from_profile()\n\n# list the available service packages\nclient.services\n\n# use the generic api client to see the status page of the 'registry' service.\nresp = await client.api_client.request('GET', '/registry/v2')\n```\n\nCredentials and endpoints are stored in a local _profile_ file (you can have multiple such profiles).\nOther authentication methods are available (JWToken, pass apiKey/Secret directly)\n\n",
    "bugtrack_url": null,
    "license": "ISC License (ISC) Copyright 2024, Waylay  Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.  THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ",
    "summary": "Waylay Python SDK.",
    "version": "0.2.2",
    "project_urls": {
        "Documentation": "https://docs.waylay.io/#/",
        "Homepage": "https://www.waylay.io/",
        "Repository": "https://github.com/waylayio/waylay-sdk-py.git"
    },
    "split_keywords": [
        "waylay",
        " sdk"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c1c5bc260c9934a1b82f2c599b009b853c76079fecfbd5de2edf9da37a187eef",
                "md5": "18ae5753c8c92dbcc4bca688788cf5f8",
                "sha256": "5292859dedf5e399bc7522c416c904ec2894ad2c8ab3f6a8e9ab68132b41b74f"
            },
            "downloads": -1,
            "filename": "waylay_sdk_core-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "18ae5753c8c92dbcc4bca688788cf5f8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 35295,
            "upload_time": "2024-06-03T07:55:31",
            "upload_time_iso_8601": "2024-06-03T07:55:31.156333Z",
            "url": "https://files.pythonhosted.org/packages/c1/c5/bc260c9934a1b82f2c599b009b853c76079fecfbd5de2edf9da37a187eef/waylay_sdk_core-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dd101a00654a8299492361de9fbe9aa99056b8a4fb9b5054c7cec2f4c97ad0b1",
                "md5": "dc1ad00eb6f7b3b6f97c6036d7329260",
                "sha256": "6274f7ccb358dd17e552d7b009a28991c72ff9594899ce4df7acc9d5f14b330f"
            },
            "downloads": -1,
            "filename": "waylay_sdk_core-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "dc1ad00eb6f7b3b6f97c6036d7329260",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 28680,
            "upload_time": "2024-06-03T07:55:32",
            "upload_time_iso_8601": "2024-06-03T07:55:32.975619Z",
            "url": "https://files.pythonhosted.org/packages/dd/10/1a00654a8299492361de9fbe9aa99056b8a4fb9b5054c7cec2f4c97ad0b1/waylay_sdk_core-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-03 07:55:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "waylayio",
    "github_project": "waylay-sdk-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "waylay-sdk-core"
}
        
Elapsed time: 0.36676s