waylay-sdk-registry


Namewaylay-sdk-registry JSON
Version 2.12.4.20240423 PyPI version JSON
download
home_pageNone
SummaryWaylay Function Registry
upload_time2024-04-23 16:16:45
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 function registry
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Waylay Registry Service
V2 API to build and deploy Waylay functions (plugs, webscripts, BYOML models).

This Python package is automatically generated based on the 
Waylay Registry OpenAPI specification (API version: 2.12.4)
For more information, please visit [the openapi specification](https://docs.waylay.io/openapi/public/redocly/registry.html).

It consists of a plugin for the waylay-sdk-core package, and contains the Registry api methods.
Note that the typed model classes for all path params, query params, body params and responses for each of the api methods are contained in a separate package called waylay-sdk-registry-types.

## Requirements.
This package requires Python 3.9+.

## Installation
Typically this package is installed when installing the [waylay-sdk-core](https://pypi.org/project/waylay-sdk/) package to enable the service's functionality.
When the service api methods are required, waylay-sdk-registry is included in:
- ```pip install waylay-sdk-core[registry]``` to install `waylay-sdk-core` along with only this service, or
- ```pip install waylay-sdk-core[services]``` to install `waylay-sdk-core` along with all services.
When the typed models are required, both waylay-sdk-registry and waylay-sdk-registry-types are included in:
- ```pip install waylay-sdk-core[registry,registry-types]``` to install `waylay-sdk-core` along with only this service including the typed models, or
- ```pip install waylay-sdk-core[services,services-types]``` to install `waylay-sdk-core` along with all services along with the typed models.

## Usage

```python
from pprint import pprint

# Import the waylay-client from the waylay-sdk-core package
from waylay.sdk.client import WaylayClient
from waylay.sdk.api.api_exceptions import ApiError

# Intialize a waylay client instance
waylay_client = WaylayClient.from_profile()

# Note that the typed model classes for responses/parameters/... are only available when `waylay-sdk-registry-types` is installed
from waylay.services.registry.models.function_type import FunctionType
from waylay.services.registry.models.job_state_result import JobStateResult
from waylay.services.registry.models.job_type_schema import JobTypeSchema
from waylay.services.registry.models.jobs_response import JobsResponse
try:
    # List Jobs
    # calls `GET /registry/v2/jobs/`
    api_response = await waylay_client.registry.jobs.list(
        # query parameters:
        query = {
        },
    )
    print("The response of registry.jobs.list:\n")
    pprint(api_response)
except ApiError as e:
    print("Exception when calling registry.jobs.list: %s\n" % e)
```


For more information, please visit the [Waylay API documentation](https://docs.waylay.io/#/api/?id=software-development-kits).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "waylay-sdk-registry",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Waylay Function Registry",
    "author": null,
    "author_email": "Waylay <info@waylay.io>",
    "download_url": "https://files.pythonhosted.org/packages/7c/3b/179e9fb77f54ac146fadbb3e3dbbb06ae7c39abcf6c7e6adddf7ad04afb9/waylay_sdk_registry-2.12.4.20240423.tar.gz",
    "platform": null,
    "description": "# Waylay Registry Service\nV2 API to build and deploy Waylay functions (plugs, webscripts, BYOML models).\n\nThis Python package is automatically generated based on the \nWaylay Registry OpenAPI specification (API version: 2.12.4)\nFor more information, please visit [the openapi specification](https://docs.waylay.io/openapi/public/redocly/registry.html).\n\nIt consists of a plugin for the waylay-sdk-core package, and contains the Registry api methods.\nNote that the typed model classes for all path params, query params, body params and responses for each of the api methods are contained in a separate package called waylay-sdk-registry-types.\n\n## Requirements.\nThis package requires Python 3.9+.\n\n## Installation\nTypically this package is installed when installing the [waylay-sdk-core](https://pypi.org/project/waylay-sdk/) package to enable the service's functionality.\nWhen the service api methods are required, waylay-sdk-registry is included in:\n- ```pip install waylay-sdk-core[registry]``` to install `waylay-sdk-core` along with only this service, or\n- ```pip install waylay-sdk-core[services]``` to install `waylay-sdk-core` along with all services.\nWhen the typed models are required, both waylay-sdk-registry and waylay-sdk-registry-types are included in:\n- ```pip install waylay-sdk-core[registry,registry-types]``` to install `waylay-sdk-core` along with only this service including the typed models, or\n- ```pip install waylay-sdk-core[services,services-types]``` to install `waylay-sdk-core` along with all services along with the typed models.\n\n## Usage\n\n```python\nfrom pprint import pprint\n\n# Import the waylay-client from the waylay-sdk-core package\nfrom waylay.sdk.client import WaylayClient\nfrom waylay.sdk.api.api_exceptions import ApiError\n\n# Intialize a waylay client instance\nwaylay_client = WaylayClient.from_profile()\n\n# Note that the typed model classes for responses/parameters/... are only available when `waylay-sdk-registry-types` is installed\nfrom waylay.services.registry.models.function_type import FunctionType\nfrom waylay.services.registry.models.job_state_result import JobStateResult\nfrom waylay.services.registry.models.job_type_schema import JobTypeSchema\nfrom waylay.services.registry.models.jobs_response import JobsResponse\ntry:\n    # List Jobs\n    # calls `GET /registry/v2/jobs/`\n    api_response = await waylay_client.registry.jobs.list(\n        # query parameters:\n        query = {\n        },\n    )\n    print(\"The response of registry.jobs.list:\\n\")\n    pprint(api_response)\nexcept ApiError as e:\n    print(\"Exception when calling registry.jobs.list: %s\\n\" % e)\n```\n\n\nFor more information, please visit the [Waylay API documentation](https://docs.waylay.io/#/api/?id=software-development-kits).\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 Function Registry",
    "version": "2.12.4.20240423",
    "project_urls": {
        "Documentation": "https://docs.waylay.io/#/api/?id=software-development-kits",
        "Homepage": "https://www.waylay.io/",
        "Openapi Specification": "https://docs.waylay.io/openapi/public/redocly/registry.html",
        "Repository": "https://github.com/waylayio/waylay-sdk-registry-py.git"
    },
    "split_keywords": [
        "waylay",
        "function",
        "registry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a7b34e74ba1e853d30f45230dcfde721e240581cc8c7f0865d4c4dd70aa26db9",
                "md5": "da56f7ca778fac7c266787fe9c2cf9b5",
                "sha256": "f9507d9f7898da7ebff76a3c3214a28d980ef93cd34ee0d109fed4667e13bc05"
            },
            "downloads": -1,
            "filename": "waylay_sdk_registry-2.12.4.20240423-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "da56f7ca778fac7c266787fe9c2cf9b5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 49576,
            "upload_time": "2024-04-23T16:16:43",
            "upload_time_iso_8601": "2024-04-23T16:16:43.977975Z",
            "url": "https://files.pythonhosted.org/packages/a7/b3/4e74ba1e853d30f45230dcfde721e240581cc8c7f0865d4c4dd70aa26db9/waylay_sdk_registry-2.12.4.20240423-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7c3b179e9fb77f54ac146fadbb3e3dbbb06ae7c39abcf6c7e6adddf7ad04afb9",
                "md5": "14428e2d8ea5dc26b7a13a911d4a7348",
                "sha256": "5d799e8ad94abfd40fa3cfc227c0624309839a68d6f6909ccaf703efb0d9a0f5"
            },
            "downloads": -1,
            "filename": "waylay_sdk_registry-2.12.4.20240423.tar.gz",
            "has_sig": false,
            "md5_digest": "14428e2d8ea5dc26b7a13a911d4a7348",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 39662,
            "upload_time": "2024-04-23T16:16:45",
            "upload_time_iso_8601": "2024-04-23T16:16:45.839905Z",
            "url": "https://files.pythonhosted.org/packages/7c/3b/179e9fb77f54ac146fadbb3e3dbbb06ae7c39abcf6c7e6adddf7ad04afb9/waylay_sdk_registry-2.12.4.20240423.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-23 16:16:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "waylayio",
    "github_project": "waylay-sdk-registry-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "waylay-sdk-registry"
}
        
Elapsed time: 0.25125s