Name | waylay-sdk-registry JSON |
Version |
2.17.1.20241025
JSON |
| download |
home_page | None |
Summary | Waylay Function Registry |
upload_time | 2024-12-16 09:43:54 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
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. |
keywords |
waylay
function
registry
|
VCS |
|
bugtrack_url |
|
requirements |
pydantic
typing-extensions
waylay-sdk-core
|
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.17.1)
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
Normally this package is installed together with support for other services using the [waylay-sdk](https://pypi.org/project/waylay-sdk/) umbrella package:
* `pip install waylay-sdk` will install `waylay-sdk-registry` together with the SDK api packages for other services.
* `pip install waylay-sdk[types-registry]` will additionally install the types package `waylay-sdk-registry-types`.
* `pip install waylay-sdk[types]` will install the types packages for this and all other services.
Alternatively, you can install support for this _registry_ service only, installing or extending an existing [waylay-sdk-core](https://pypi.org/project/waylay-sdk-core/):
- `pip install waylay-sdk-registry` to only install api support for _registry_.
- `pip install waylay-sdk-registry[types]` to additionally install type support for _registry_.
## 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.root_page_response import RootPageResponse
try:
# Get Service Status
# calls `GET /registry/v2/`
api_response = await waylay_client.registry.about.get(
)
print("The response of registry.about.get:\n")
pprint(api_response)
except ApiError as e:
print("Exception when calling registry.about.get: %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/ad/94/0f7603e9464e4a2319d07920ba4a4bb5f8a2cdf037cbf533b179cb59ef22/waylay_sdk_registry-2.17.1.20241025.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.17.1)\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\n\nNormally this package is installed together with support for other services using the [waylay-sdk](https://pypi.org/project/waylay-sdk/) umbrella package:\n* `pip install waylay-sdk` will install `waylay-sdk-registry` together with the SDK api packages for other services.\n* `pip install waylay-sdk[types-registry]` will additionally install the types package `waylay-sdk-registry-types`.\n* `pip install waylay-sdk[types]` will install the types packages for this and all other services.\n\nAlternatively, you can install support for this _registry_ service only, installing or extending an existing [waylay-sdk-core](https://pypi.org/project/waylay-sdk-core/):\n\n- `pip install waylay-sdk-registry` to only install api support for _registry_.\n- `pip install waylay-sdk-registry[types]` to additionally install type support for _registry_.\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.root_page_response import RootPageResponse\ntry:\n # Get Service Status\n # calls `GET /registry/v2/`\n api_response = await waylay_client.registry.about.get(\n )\n print(\"The response of registry.about.get:\\n\")\n pprint(api_response)\nexcept ApiError as e:\n print(\"Exception when calling registry.about.get: %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.17.1.20241025",
"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": "ba9c2ebb03c18eb3ad02669c753a1dd119a53bb89524ef6912c7ba629293cf7e",
"md5": "c7906eb746ed6203669ced521137cc5b",
"sha256": "2c92ad35da7dd58c391535372bb7f4adbae5264f4f0a4c33d3d37d0b4c5024f9"
},
"downloads": -1,
"filename": "waylay_sdk_registry-2.17.1.20241025-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c7906eb746ed6203669ced521137cc5b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 79083,
"upload_time": "2024-12-16T09:43:53",
"upload_time_iso_8601": "2024-12-16T09:43:53.527039Z",
"url": "https://files.pythonhosted.org/packages/ba/9c/2ebb03c18eb3ad02669c753a1dd119a53bb89524ef6912c7ba629293cf7e/waylay_sdk_registry-2.17.1.20241025-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ad940f7603e9464e4a2319d07920ba4a4bb5f8a2cdf037cbf533b179cb59ef22",
"md5": "db4df9c3c77037935fd6b68f7cf53593",
"sha256": "31f868178f624dd637ef4606d66abfb72493369310a9edce6edf4586a0a13441"
},
"downloads": -1,
"filename": "waylay_sdk_registry-2.17.1.20241025.tar.gz",
"has_sig": false,
"md5_digest": "db4df9c3c77037935fd6b68f7cf53593",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 65785,
"upload_time": "2024-12-16T09:43:54",
"upload_time_iso_8601": "2024-12-16T09:43:54.967725Z",
"url": "https://files.pythonhosted.org/packages/ad/94/0f7603e9464e4a2319d07920ba4a4bb5f8a2cdf037cbf533b179cb59ef22/waylay_sdk_registry-2.17.1.20241025.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-16 09:43:54",
"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": [
{
"name": "pydantic",
"specs": [
[
"~=",
"2.6"
]
]
},
{
"name": "typing-extensions",
"specs": [
[
"~=",
"4.9"
]
]
},
{
"name": "waylay-sdk-core",
"specs": [
[
"~=",
"0.3.2"
]
]
}
],
"lcname": "waylay-sdk-registry"
}