stackit-stackitmarketplace 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stackit_stackitmarketplace-0.1.0/PKG-INFO +44 -0
- stackit_stackitmarketplace-0.1.0/README.md +22 -0
- stackit_stackitmarketplace-0.1.0/pyproject.toml +108 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/__init__.py +84 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/api/__init__.py +4 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/api/default_api.py +1719 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/api_client.py +627 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/api_response.py +23 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/configuration.py +138 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/exceptions.py +199 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/__init__.py +65 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/catalog_pricing_option_highlight.py +84 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/catalog_product_detail.py +246 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/catalog_product_details_vendor.py +96 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/catalog_product_highlight.py +94 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/catalog_product_overview.py +132 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/catalog_product_overview_vendor.py +86 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/catalog_product_pricing_option.py +146 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/catalog_product_support_resource.py +89 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/catalog_product_vendor_terms.py +86 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/current_subscription_state_response.py +103 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/error_response.py +95 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/list_catalog_products_response.py +109 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/list_vendor_subscriptions_response.py +107 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/requested_subscription_state_response.py +103 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/resolve_customer_payload.py +82 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/subscription_cancel_response.py +109 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/subscription_product.py +130 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/models/vendor_subscription.py +115 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/py.typed +0 -0
- stackit_stackitmarketplace-0.1.0/src/stackit/stackitmarketplace/rest.py +149 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: stackit-stackitmarketplace
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: STACKIT Marketplace API
|
|
5
|
+
Author: STACKIT Developer Tools
|
|
6
|
+
Author-email: developer-tools@stackit.cloud
|
|
7
|
+
Requires-Python: >=3.8,<4.0
|
|
8
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Requires-Dist: pydantic (>=2.9.2)
|
|
18
|
+
Requires-Dist: python-dateutil (>=2.9.0.post0)
|
|
19
|
+
Requires-Dist: requests (>=2.32.3)
|
|
20
|
+
Requires-Dist: stackit-core (>=0.0.1a)
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
# stackit.stackitmarketplace
|
|
24
|
+
API to manage STACKIT Marketplace.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## Installation & Usage
|
|
31
|
+
### pip install
|
|
32
|
+
|
|
33
|
+
```sh
|
|
34
|
+
pip install stackit-stackitmarketplace
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Then import the package:
|
|
38
|
+
```python
|
|
39
|
+
import stackit.stackitmarketplace
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Getting Started
|
|
43
|
+
|
|
44
|
+
[Examples](https://github.com/stackitcloud/stackit-sdk-python/tree/main/examples) for the usage of the package can be found in the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# stackit.stackitmarketplace
|
|
2
|
+
API to manage STACKIT Marketplace.
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Installation & Usage
|
|
9
|
+
### pip install
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
pip install stackit-stackitmarketplace
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Then import the package:
|
|
16
|
+
```python
|
|
17
|
+
import stackit.stackitmarketplace
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Getting Started
|
|
21
|
+
|
|
22
|
+
[Examples](https://github.com/stackitcloud/stackit-sdk-python/tree/main/examples) for the usage of the package can be found in the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "stackit-stackitmarketplace"
|
|
3
|
+
|
|
4
|
+
[tool.poetry]
|
|
5
|
+
name = "stackit-stackitmarketplace"
|
|
6
|
+
version = "v0.1.0"
|
|
7
|
+
authors = [
|
|
8
|
+
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
|
|
9
|
+
]
|
|
10
|
+
description = "STACKIT Marketplace API"
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
#license = "NoLicense"
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"License :: OSI Approved :: Apache Software License",
|
|
16
|
+
"Operating System :: OS Independent",
|
|
17
|
+
]
|
|
18
|
+
packages = [
|
|
19
|
+
{ include = "stackit", from="src" }
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[tool.poetry.dependencies]
|
|
23
|
+
python = ">=3.8,<4.0"
|
|
24
|
+
stackit-core = ">=0.0.1a"
|
|
25
|
+
requests = ">=2.32.3"
|
|
26
|
+
pydantic = ">=2.9.2"
|
|
27
|
+
python-dateutil = ">=2.9.0.post0"
|
|
28
|
+
|
|
29
|
+
[tool.poetry.group.dev.dependencies]
|
|
30
|
+
black = ">=24.8.0"
|
|
31
|
+
pytest = ">=8.3.3"
|
|
32
|
+
flake8 = [
|
|
33
|
+
{ version= ">=5.0.3", python="<3.12"},
|
|
34
|
+
{ version= ">=6.0.1", python=">=3.12"}
|
|
35
|
+
]
|
|
36
|
+
flake8-black = ">=0.3.6"
|
|
37
|
+
flake8-pyproject = ">=1.2.3"
|
|
38
|
+
autoimport = ">=1.6.1"
|
|
39
|
+
flake8-eol = ">=0.0.8"
|
|
40
|
+
flake8-eradicate = ">=1.5.0"
|
|
41
|
+
flake8-bandit = ">=4.1.1"
|
|
42
|
+
flake8-bugbear = ">=23.1.14"
|
|
43
|
+
flake8-quotes = ">=3.4.0"
|
|
44
|
+
isort = ">=5.13.2"
|
|
45
|
+
|
|
46
|
+
[project.urls]
|
|
47
|
+
Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
|
|
48
|
+
Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
|
|
49
|
+
|
|
50
|
+
[build-system]
|
|
51
|
+
requires = ["setuptools", "poetry-core"]
|
|
52
|
+
build-backend = "poetry.core.masonry.api"
|
|
53
|
+
|
|
54
|
+
[tool.pytest.ini_options]
|
|
55
|
+
pythonpath = [
|
|
56
|
+
"src"
|
|
57
|
+
]
|
|
58
|
+
testpaths = [
|
|
59
|
+
"tests"
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
[tool.black]
|
|
63
|
+
line-length = 120
|
|
64
|
+
exclude = """
|
|
65
|
+
/(
|
|
66
|
+
.eggs
|
|
67
|
+
| .git
|
|
68
|
+
| .hg
|
|
69
|
+
| .mypy_cache
|
|
70
|
+
| .nox
|
|
71
|
+
| .pants.d
|
|
72
|
+
| .tox
|
|
73
|
+
| .venv
|
|
74
|
+
| _build
|
|
75
|
+
| buck-out
|
|
76
|
+
| build
|
|
77
|
+
| dist
|
|
78
|
+
| node_modules
|
|
79
|
+
| venv
|
|
80
|
+
)/
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
[tool.isort]
|
|
84
|
+
profile = 'black'
|
|
85
|
+
|
|
86
|
+
[tool.flake8]
|
|
87
|
+
exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
|
|
88
|
+
statistics = true
|
|
89
|
+
show-source = false
|
|
90
|
+
max-line-length = 120
|
|
91
|
+
# E203,W503 and E704 are incompatible with the formatter black
|
|
92
|
+
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
|
|
93
|
+
ignore = ["E203", "W503", "E704", "W291"]
|
|
94
|
+
inline-quotes = '"'
|
|
95
|
+
docstring-quotes = '"""'
|
|
96
|
+
multiline-quotes = '"""'
|
|
97
|
+
ban-relative-imports = true
|
|
98
|
+
per-file-ignores = """
|
|
99
|
+
# asserts are fine in tests, tests shouldn't be build optimized
|
|
100
|
+
./tests/*: S101,
|
|
101
|
+
# F841: some variables get generated but may not be used, depending on the api-spec
|
|
102
|
+
# E501: long descriptions/string values might lead to lines that are too long
|
|
103
|
+
./src/stackit/*/models/*: F841,E501
|
|
104
|
+
# F841: some variables get generated but may not be used, depending on the api-spec
|
|
105
|
+
# E501: long descriptions/string values might lead to lines that are too long
|
|
106
|
+
# B028: stacklevel for deprecation warning is irrelevant
|
|
107
|
+
./src/stackit/*/api/default_api.py: F841,B028,E501
|
|
108
|
+
"""
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
STACKIT Marketplace API
|
|
7
|
+
|
|
8
|
+
API to manage STACKIT Marketplace.
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 1
|
|
11
|
+
Contact: marketplace@stackit.de
|
|
12
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
13
|
+
|
|
14
|
+
Do not edit the class manually.
|
|
15
|
+
""" # noqa: E501 docstring might be too long
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
__version__ = "1.0.0"
|
|
19
|
+
|
|
20
|
+
# import apis into sdk package
|
|
21
|
+
from stackit.stackitmarketplace.api.default_api import DefaultApi
|
|
22
|
+
from stackit.stackitmarketplace.api_client import ApiClient
|
|
23
|
+
|
|
24
|
+
# import ApiClient
|
|
25
|
+
from stackit.stackitmarketplace.api_response import ApiResponse
|
|
26
|
+
from stackit.stackitmarketplace.configuration import HostConfiguration
|
|
27
|
+
from stackit.stackitmarketplace.exceptions import (
|
|
28
|
+
ApiAttributeError,
|
|
29
|
+
ApiException,
|
|
30
|
+
ApiKeyError,
|
|
31
|
+
ApiTypeError,
|
|
32
|
+
ApiValueError,
|
|
33
|
+
OpenApiException,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
# import models into sdk package
|
|
37
|
+
from stackit.stackitmarketplace.models.catalog_pricing_option_highlight import (
|
|
38
|
+
CatalogPricingOptionHighlight,
|
|
39
|
+
)
|
|
40
|
+
from stackit.stackitmarketplace.models.catalog_product_detail import (
|
|
41
|
+
CatalogProductDetail,
|
|
42
|
+
)
|
|
43
|
+
from stackit.stackitmarketplace.models.catalog_product_details_vendor import (
|
|
44
|
+
CatalogProductDetailsVendor,
|
|
45
|
+
)
|
|
46
|
+
from stackit.stackitmarketplace.models.catalog_product_highlight import (
|
|
47
|
+
CatalogProductHighlight,
|
|
48
|
+
)
|
|
49
|
+
from stackit.stackitmarketplace.models.catalog_product_overview import (
|
|
50
|
+
CatalogProductOverview,
|
|
51
|
+
)
|
|
52
|
+
from stackit.stackitmarketplace.models.catalog_product_overview_vendor import (
|
|
53
|
+
CatalogProductOverviewVendor,
|
|
54
|
+
)
|
|
55
|
+
from stackit.stackitmarketplace.models.catalog_product_pricing_option import (
|
|
56
|
+
CatalogProductPricingOption,
|
|
57
|
+
)
|
|
58
|
+
from stackit.stackitmarketplace.models.catalog_product_support_resource import (
|
|
59
|
+
CatalogProductSupportResource,
|
|
60
|
+
)
|
|
61
|
+
from stackit.stackitmarketplace.models.catalog_product_vendor_terms import (
|
|
62
|
+
CatalogProductVendorTerms,
|
|
63
|
+
)
|
|
64
|
+
from stackit.stackitmarketplace.models.current_subscription_state_response import (
|
|
65
|
+
CurrentSubscriptionStateResponse,
|
|
66
|
+
)
|
|
67
|
+
from stackit.stackitmarketplace.models.error_response import ErrorResponse
|
|
68
|
+
from stackit.stackitmarketplace.models.list_catalog_products_response import (
|
|
69
|
+
ListCatalogProductsResponse,
|
|
70
|
+
)
|
|
71
|
+
from stackit.stackitmarketplace.models.list_vendor_subscriptions_response import (
|
|
72
|
+
ListVendorSubscriptionsResponse,
|
|
73
|
+
)
|
|
74
|
+
from stackit.stackitmarketplace.models.requested_subscription_state_response import (
|
|
75
|
+
RequestedSubscriptionStateResponse,
|
|
76
|
+
)
|
|
77
|
+
from stackit.stackitmarketplace.models.resolve_customer_payload import (
|
|
78
|
+
ResolveCustomerPayload,
|
|
79
|
+
)
|
|
80
|
+
from stackit.stackitmarketplace.models.subscription_cancel_response import (
|
|
81
|
+
SubscriptionCancelResponse,
|
|
82
|
+
)
|
|
83
|
+
from stackit.stackitmarketplace.models.subscription_product import SubscriptionProduct
|
|
84
|
+
from stackit.stackitmarketplace.models.vendor_subscription import VendorSubscription
|