Name | waylay-sdk-storage JSON |
Version |
0.4.1.20240423
JSON |
| download |
home_page | None |
Summary | Waylay Storage |
upload_time | 2024-04-23 16:14:53 |
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
storage
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Waylay Storage Service
Manage storage buckets and subscriptions.
This Python package is automatically generated based on the
Waylay Storage OpenAPI specification (API version: 0.4.1)
For more information, please visit [the openapi specification](https://docs.waylay.io/openapi/public/redocly/storage.html).
It consists of a plugin for the waylay-sdk-core package, and contains the Storage 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-storage-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-storage is included in:
- ```pip install waylay-sdk-core[storage]``` 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-storage and waylay-sdk-storage-types are included in:
- ```pip install waylay-sdk-core[storage,storage-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-storage-types` is installed
try:
# Version
# calls `GET /storage/v1/`
api_response = await waylay_client.storage.about.version(
)
print("The response of storage.about.version:\n")
pprint(api_response)
except ApiError as e:
print("Exception when calling storage.about.version: %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-storage",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "Waylay Storage",
"author": null,
"author_email": "Waylay <info@waylay.io>",
"download_url": "https://files.pythonhosted.org/packages/ae/87/357777836120084176f404e4bcc3c4d5d18246c1a5fc6ffac9cdc7093298/waylay_sdk_storage-0.4.1.20240423.tar.gz",
"platform": null,
"description": "# Waylay Storage Service\n\nManage storage buckets and subscriptions.\n\n\nThis Python package is automatically generated based on the \nWaylay Storage OpenAPI specification (API version: 0.4.1)\nFor more information, please visit [the openapi specification](https://docs.waylay.io/openapi/public/redocly/storage.html).\n\nIt consists of a plugin for the waylay-sdk-core package, and contains the Storage 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-storage-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-storage is included in:\n- ```pip install waylay-sdk-core[storage]``` 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-storage and waylay-sdk-storage-types are included in:\n- ```pip install waylay-sdk-core[storage,storage-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-storage-types` is installed\ntry:\n # Version\n # calls `GET /storage/v1/`\n api_response = await waylay_client.storage.about.version(\n )\n print(\"The response of storage.about.version:\\n\")\n pprint(api_response)\nexcept ApiError as e:\n print(\"Exception when calling storage.about.version: %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 Storage",
"version": "0.4.1.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/storage.html",
"Repository": "https://github.com/waylayio/waylay-sdk-storage-py.git"
},
"split_keywords": [
"waylay",
"storage"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1890b34df6333098e3661e83e2f8dc6bf3ffc177f2d2485d9a00b0c3b1b6e825",
"md5": "5e3fd2d88fd87bd9e5da821e6c3fb0b0",
"sha256": "b7c43ad8afab9eeb9ef05a23a8f83aaad23ebd3a7cc60e6b79ae1777afdc4dad"
},
"downloads": -1,
"filename": "waylay_sdk_storage-0.4.1.20240423-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5e3fd2d88fd87bd9e5da821e6c3fb0b0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 16478,
"upload_time": "2024-04-23T16:14:51",
"upload_time_iso_8601": "2024-04-23T16:14:51.372179Z",
"url": "https://files.pythonhosted.org/packages/18/90/b34df6333098e3661e83e2f8dc6bf3ffc177f2d2485d9a00b0c3b1b6e825/waylay_sdk_storage-0.4.1.20240423-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ae87357777836120084176f404e4bcc3c4d5d18246c1a5fc6ffac9cdc7093298",
"md5": "8d3edb8b28a0a8d0d0fd03450e25953e",
"sha256": "4f2de3bcba0cdc60954c6246d8bb47d5821de21c1017ca0e48a19c16e4f76126"
},
"downloads": -1,
"filename": "waylay_sdk_storage-0.4.1.20240423.tar.gz",
"has_sig": false,
"md5_digest": "8d3edb8b28a0a8d0d0fd03450e25953e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 11329,
"upload_time": "2024-04-23T16:14:53",
"upload_time_iso_8601": "2024-04-23T16:14:53.543123Z",
"url": "https://files.pythonhosted.org/packages/ae/87/357777836120084176f404e4bcc3c4d5d18246c1a5fc6ffac9cdc7093298/waylay_sdk_storage-0.4.1.20240423.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-23 16:14:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "waylayio",
"github_project": "waylay-sdk-storage-py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "waylay-sdk-storage"
}