stackit-serviceenablement 0.0.1a0__py3-none-any.whl

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.
@@ -0,0 +1,98 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ STACKIT Service Enablement API
5
+
6
+ STACKIT Service Enablement API
7
+
8
+ The version of the OpenAPI document: 1.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501 docstring might be too long
13
+
14
+ from __future__ import annotations
15
+
16
+ import json
17
+ import pprint
18
+ from typing import Any, ClassVar, Dict, List, Optional, Set
19
+
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
+ from typing_extensions import Self
22
+
23
+ from stackit.serviceenablement.models.service_status import ServiceStatus
24
+
25
+
26
+ class ListServiceStatus200Response(BaseModel):
27
+ """
28
+ ListServiceStatus200Response
29
+ """
30
+
31
+ items: Optional[List[ServiceStatus]] = None
32
+ next_cursor: Optional[StrictStr] = Field(default=None, alias="nextCursor")
33
+ __properties: ClassVar[List[str]] = ["items", "nextCursor"]
34
+
35
+ model_config = ConfigDict(
36
+ populate_by_name=True,
37
+ validate_assignment=True,
38
+ protected_namespaces=(),
39
+ )
40
+
41
+ def to_str(self) -> str:
42
+ """Returns the string representation of the model using alias"""
43
+ return pprint.pformat(self.model_dump(by_alias=True))
44
+
45
+ def to_json(self) -> str:
46
+ """Returns the JSON representation of the model using alias"""
47
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
48
+ return json.dumps(self.to_dict())
49
+
50
+ @classmethod
51
+ def from_json(cls, json_str: str) -> Optional[Self]:
52
+ """Create an instance of ListServiceStatus200Response from a JSON string"""
53
+ return cls.from_dict(json.loads(json_str))
54
+
55
+ def to_dict(self) -> Dict[str, Any]:
56
+ """Return the dictionary representation of the model using alias.
57
+
58
+ This has the following differences from calling pydantic's
59
+ `self.model_dump(by_alias=True)`:
60
+
61
+ * `None` is only added to the output dict for nullable fields that
62
+ were set at model initialization. Other fields with value `None`
63
+ are ignored.
64
+ """
65
+ excluded_fields: Set[str] = set([])
66
+
67
+ _dict = self.model_dump(
68
+ by_alias=True,
69
+ exclude=excluded_fields,
70
+ exclude_none=True,
71
+ )
72
+ # override the default output from pydantic by calling `to_dict()` of each item in items (list)
73
+ _items = []
74
+ if self.items:
75
+ for _item in self.items:
76
+ if _item:
77
+ _items.append(_item.to_dict())
78
+ _dict["items"] = _items
79
+ return _dict
80
+
81
+ @classmethod
82
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
83
+ """Create an instance of ListServiceStatus200Response from a dict"""
84
+ if obj is None:
85
+ return None
86
+
87
+ if not isinstance(obj, dict):
88
+ return cls.model_validate(obj)
89
+
90
+ _obj = cls.model_validate(
91
+ {
92
+ "items": (
93
+ [ServiceStatus.from_dict(_item) for _item in obj["items"]] if obj.get("items") is not None else None
94
+ ),
95
+ "nextCursor": obj.get("nextCursor"),
96
+ }
97
+ )
98
+ return _obj
@@ -0,0 +1,104 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ STACKIT Service Enablement API
5
+
6
+ STACKIT Service Enablement API
7
+
8
+ The version of the OpenAPI document: 1.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501 docstring might be too long
13
+
14
+ from __future__ import annotations
15
+
16
+ import json
17
+ import pprint
18
+ from typing import Any, ClassVar, Dict, List, Optional, Set
19
+
20
+ from pydantic import BaseModel, ConfigDict
21
+ from typing_extensions import Self
22
+
23
+ from stackit.serviceenablement.models.parameters_general import ParametersGeneral
24
+
25
+
26
+ class Parameters(BaseModel):
27
+ """
28
+ service parameters
29
+ """
30
+
31
+ general: Optional[ParametersGeneral] = None
32
+ additional_properties: Dict[str, Any] = {}
33
+ __properties: ClassVar[List[str]] = ["general"]
34
+
35
+ model_config = ConfigDict(
36
+ populate_by_name=True,
37
+ validate_assignment=True,
38
+ protected_namespaces=(),
39
+ )
40
+
41
+ def to_str(self) -> str:
42
+ """Returns the string representation of the model using alias"""
43
+ return pprint.pformat(self.model_dump(by_alias=True))
44
+
45
+ def to_json(self) -> str:
46
+ """Returns the JSON representation of the model using alias"""
47
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
48
+ return json.dumps(self.to_dict())
49
+
50
+ @classmethod
51
+ def from_json(cls, json_str: str) -> Optional[Self]:
52
+ """Create an instance of Parameters from a JSON string"""
53
+ return cls.from_dict(json.loads(json_str))
54
+
55
+ def to_dict(self) -> Dict[str, Any]:
56
+ """Return the dictionary representation of the model using alias.
57
+
58
+ This has the following differences from calling pydantic's
59
+ `self.model_dump(by_alias=True)`:
60
+
61
+ * `None` is only added to the output dict for nullable fields that
62
+ were set at model initialization. Other fields with value `None`
63
+ are ignored.
64
+ * Fields in `self.additional_properties` are added to the output dict.
65
+ """
66
+ excluded_fields: Set[str] = set(
67
+ [
68
+ "additional_properties",
69
+ ]
70
+ )
71
+
72
+ _dict = self.model_dump(
73
+ by_alias=True,
74
+ exclude=excluded_fields,
75
+ exclude_none=True,
76
+ )
77
+ # override the default output from pydantic by calling `to_dict()` of general
78
+ if self.general:
79
+ _dict["general"] = self.general.to_dict()
80
+ # puts key-value pairs in additional_properties in the top level
81
+ if self.additional_properties is not None:
82
+ for _key, _value in self.additional_properties.items():
83
+ _dict[_key] = _value
84
+
85
+ return _dict
86
+
87
+ @classmethod
88
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
89
+ """Create an instance of Parameters from a dict"""
90
+ if obj is None:
91
+ return None
92
+
93
+ if not isinstance(obj, dict):
94
+ return cls.model_validate(obj)
95
+
96
+ _obj = cls.model_validate(
97
+ {"general": ParametersGeneral.from_dict(obj["general"]) if obj.get("general") is not None else None}
98
+ )
99
+ # store additional fields in additional_properties
100
+ for _key in obj.keys():
101
+ if _key not in cls.__properties:
102
+ _obj.additional_properties[_key] = obj.get(_key)
103
+
104
+ return _obj
@@ -0,0 +1,99 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ STACKIT Service Enablement API
5
+
6
+ STACKIT Service Enablement API
7
+
8
+ The version of the OpenAPI document: 1.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501 docstring might be too long
13
+
14
+ from __future__ import annotations
15
+
16
+ import json
17
+ import pprint
18
+ from typing import Any, ClassVar, Dict, List, Optional, Set
19
+
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
21
+ from typing_extensions import Self
22
+
23
+
24
+ class ParametersGeneral(BaseModel):
25
+ """
26
+ ParametersGeneral
27
+ """
28
+
29
+ organization_id: Optional[StrictStr] = Field(default=None, alias="organizationId")
30
+ project_name: Optional[StrictStr] = Field(default=None, alias="projectName")
31
+ project_scope: Optional[StrictStr] = Field(default="PUBLIC", alias="projectScope")
32
+ __properties: ClassVar[List[str]] = ["organizationId", "projectName", "projectScope"]
33
+
34
+ @field_validator("project_scope")
35
+ def project_scope_validate_enum(cls, value):
36
+ """Validates the enum"""
37
+ if value is None:
38
+ return value
39
+
40
+ if value not in set(["SCHWARZ", "PUBLIC"]):
41
+ raise ValueError("must be one of enum values ('SCHWARZ', 'PUBLIC')")
42
+ return value
43
+
44
+ model_config = ConfigDict(
45
+ populate_by_name=True,
46
+ validate_assignment=True,
47
+ protected_namespaces=(),
48
+ )
49
+
50
+ def to_str(self) -> str:
51
+ """Returns the string representation of the model using alias"""
52
+ return pprint.pformat(self.model_dump(by_alias=True))
53
+
54
+ def to_json(self) -> str:
55
+ """Returns the JSON representation of the model using alias"""
56
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
57
+ return json.dumps(self.to_dict())
58
+
59
+ @classmethod
60
+ def from_json(cls, json_str: str) -> Optional[Self]:
61
+ """Create an instance of ParametersGeneral from a JSON string"""
62
+ return cls.from_dict(json.loads(json_str))
63
+
64
+ def to_dict(self) -> Dict[str, Any]:
65
+ """Return the dictionary representation of the model using alias.
66
+
67
+ This has the following differences from calling pydantic's
68
+ `self.model_dump(by_alias=True)`:
69
+
70
+ * `None` is only added to the output dict for nullable fields that
71
+ were set at model initialization. Other fields with value `None`
72
+ are ignored.
73
+ """
74
+ excluded_fields: Set[str] = set([])
75
+
76
+ _dict = self.model_dump(
77
+ by_alias=True,
78
+ exclude=excluded_fields,
79
+ exclude_none=True,
80
+ )
81
+ return _dict
82
+
83
+ @classmethod
84
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
85
+ """Create an instance of ParametersGeneral from a dict"""
86
+ if obj is None:
87
+ return None
88
+
89
+ if not isinstance(obj, dict):
90
+ return cls.model_validate(obj)
91
+
92
+ _obj = cls.model_validate(
93
+ {
94
+ "organizationId": obj.get("organizationId"),
95
+ "projectName": obj.get("projectName"),
96
+ "projectScope": obj.get("projectScope") if obj.get("projectScope") is not None else "PUBLIC",
97
+ }
98
+ )
99
+ return _obj
@@ -0,0 +1,179 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ STACKIT Service Enablement API
5
+
6
+ STACKIT Service Enablement API
7
+
8
+ The version of the OpenAPI document: 1.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501 docstring might be too long
13
+
14
+ from __future__ import annotations
15
+
16
+ import json
17
+ import pprint
18
+ import re
19
+ from typing import Any, ClassVar, Dict, List, Optional, Set
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
22
+ from typing_extensions import Annotated, Self
23
+
24
+ from stackit.serviceenablement.models.action_error import ActionError
25
+ from stackit.serviceenablement.models.dependencies import Dependencies
26
+ from stackit.serviceenablement.models.parameters import Parameters
27
+
28
+
29
+ class ServiceStatus(BaseModel):
30
+ """
31
+ ServiceStatus
32
+ """
33
+
34
+ dependencies: Optional[Dependencies] = None
35
+ enablement: Optional[StrictStr] = "REQUEST"
36
+ error: Optional[ActionError] = None
37
+ labels: Optional[Dict[str, StrictStr]] = None
38
+ lifecycle: Optional[StrictStr] = "FLEX"
39
+ parameters: Optional[Parameters] = None
40
+ scope: Optional[StrictStr] = "PUBLIC"
41
+ service_id: Optional[Annotated[str, Field(min_length=10, strict=True, max_length=255)]] = Field(
42
+ default=None, description="the id of the service", alias="serviceId"
43
+ )
44
+ state: Optional[StrictStr] = Field(default="ENABLED", description="the state of a service within a project")
45
+ __properties: ClassVar[List[str]] = [
46
+ "dependencies",
47
+ "enablement",
48
+ "error",
49
+ "labels",
50
+ "lifecycle",
51
+ "parameters",
52
+ "scope",
53
+ "serviceId",
54
+ "state",
55
+ ]
56
+
57
+ @field_validator("enablement")
58
+ def enablement_validate_enum(cls, value):
59
+ """Validates the enum"""
60
+ if value is None:
61
+ return value
62
+
63
+ if value not in set(["REQUEST", "AUTO"]):
64
+ raise ValueError("must be one of enum values ('REQUEST', 'AUTO')")
65
+ return value
66
+
67
+ @field_validator("lifecycle")
68
+ def lifecycle_validate_enum(cls, value):
69
+ """Validates the enum"""
70
+ if value is None:
71
+ return value
72
+
73
+ if value not in set(["FLEX", "PROJECT"]):
74
+ raise ValueError("must be one of enum values ('FLEX', 'PROJECT')")
75
+ return value
76
+
77
+ @field_validator("scope")
78
+ def scope_validate_enum(cls, value):
79
+ """Validates the enum"""
80
+ if value is None:
81
+ return value
82
+
83
+ if value not in set(["PRIVATE", "PUBLIC"]):
84
+ raise ValueError("must be one of enum values ('PRIVATE', 'PUBLIC')")
85
+ return value
86
+
87
+ @field_validator("service_id")
88
+ def service_id_validate_regular_expression(cls, value):
89
+ """Validates the regular expression"""
90
+ if value is None:
91
+ return value
92
+
93
+ if not re.match(r"^[a-zA-Z0-9][a-zA-Z0-9._-]{1,254}$", value):
94
+ raise ValueError(r"must validate the regular expression /^[a-zA-Z0-9][a-zA-Z0-9._-]{1,254}$/")
95
+ return value
96
+
97
+ @field_validator("state")
98
+ def state_validate_enum(cls, value):
99
+ """Validates the enum"""
100
+ if value is None:
101
+ return value
102
+
103
+ if value not in set(["ENABLED", "ENABLING", "DISABLED", "DISABLING"]):
104
+ raise ValueError("must be one of enum values ('ENABLED', 'ENABLING', 'DISABLED', 'DISABLING')")
105
+ return value
106
+
107
+ model_config = ConfigDict(
108
+ populate_by_name=True,
109
+ validate_assignment=True,
110
+ protected_namespaces=(),
111
+ )
112
+
113
+ def to_str(self) -> str:
114
+ """Returns the string representation of the model using alias"""
115
+ return pprint.pformat(self.model_dump(by_alias=True))
116
+
117
+ def to_json(self) -> str:
118
+ """Returns the JSON representation of the model using alias"""
119
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
120
+ return json.dumps(self.to_dict())
121
+
122
+ @classmethod
123
+ def from_json(cls, json_str: str) -> Optional[Self]:
124
+ """Create an instance of ServiceStatus from a JSON string"""
125
+ return cls.from_dict(json.loads(json_str))
126
+
127
+ def to_dict(self) -> Dict[str, Any]:
128
+ """Return the dictionary representation of the model using alias.
129
+
130
+ This has the following differences from calling pydantic's
131
+ `self.model_dump(by_alias=True)`:
132
+
133
+ * `None` is only added to the output dict for nullable fields that
134
+ were set at model initialization. Other fields with value `None`
135
+ are ignored.
136
+ """
137
+ excluded_fields: Set[str] = set([])
138
+
139
+ _dict = self.model_dump(
140
+ by_alias=True,
141
+ exclude=excluded_fields,
142
+ exclude_none=True,
143
+ )
144
+ # override the default output from pydantic by calling `to_dict()` of dependencies
145
+ if self.dependencies:
146
+ _dict["dependencies"] = self.dependencies.to_dict()
147
+ # override the default output from pydantic by calling `to_dict()` of error
148
+ if self.error:
149
+ _dict["error"] = self.error.to_dict()
150
+ # override the default output from pydantic by calling `to_dict()` of parameters
151
+ if self.parameters:
152
+ _dict["parameters"] = self.parameters.to_dict()
153
+ return _dict
154
+
155
+ @classmethod
156
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
157
+ """Create an instance of ServiceStatus from a dict"""
158
+ if obj is None:
159
+ return None
160
+
161
+ if not isinstance(obj, dict):
162
+ return cls.model_validate(obj)
163
+
164
+ _obj = cls.model_validate(
165
+ {
166
+ "dependencies": (
167
+ Dependencies.from_dict(obj["dependencies"]) if obj.get("dependencies") is not None else None
168
+ ),
169
+ "enablement": obj.get("enablement") if obj.get("enablement") is not None else "REQUEST",
170
+ "error": ActionError.from_dict(obj["error"]) if obj.get("error") is not None else None,
171
+ "labels": obj.get("labels"),
172
+ "lifecycle": obj.get("lifecycle") if obj.get("lifecycle") is not None else "FLEX",
173
+ "parameters": Parameters.from_dict(obj["parameters"]) if obj.get("parameters") is not None else None,
174
+ "scope": obj.get("scope") if obj.get("scope") is not None else "PUBLIC",
175
+ "serviceId": obj.get("serviceId"),
176
+ "state": obj.get("state") if obj.get("state") is not None else "ENABLED",
177
+ }
178
+ )
179
+ return _obj
File without changes
@@ -0,0 +1,148 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ STACKIT Service Enablement API
5
+
6
+ STACKIT Service Enablement API
7
+
8
+ The version of the OpenAPI document: 1.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501 docstring might be too long
13
+
14
+ import io
15
+ import json
16
+ import re
17
+
18
+ import requests
19
+ from stackit.core.authorization import Authorization
20
+ from stackit.core.configuration import Configuration
21
+
22
+ from stackit.serviceenablement.exceptions import ApiException, ApiValueError
23
+
24
+
25
+ RESTResponseType = requests.Response
26
+
27
+
28
+ class RESTResponse(io.IOBase):
29
+
30
+ def __init__(self, resp) -> None:
31
+ self.response = resp
32
+ self.status = resp.status_code
33
+ self.reason = resp.reason
34
+ self.data = None
35
+
36
+ def read(self):
37
+ if self.data is None:
38
+ self.data = self.response.content
39
+ return self.data
40
+
41
+ def getheaders(self):
42
+ """Returns a dictionary of the response headers."""
43
+ return self.response.headers
44
+
45
+ def getheader(self, name, default=None):
46
+ """Returns a given response header."""
47
+ return self.response.headers.get(name, default)
48
+
49
+
50
+ class RESTClientObject:
51
+ def __init__(self, config: Configuration) -> None:
52
+ self.session = config.custom_http_session if config.custom_http_session else requests.Session()
53
+ authorization = Authorization(config)
54
+ self.session.auth = authorization.auth_method
55
+
56
+ def request(self, method, url, headers=None, body=None, post_params=None, _request_timeout=None):
57
+ """Perform requests.
58
+
59
+ :param method: http request method
60
+ :param url: http request url
61
+ :param headers: http request headers
62
+ :param body: request json body, for `application/json`
63
+ :param post_params: request post parameters,
64
+ `application/x-www-form-urlencoded`
65
+ and `multipart/form-data`
66
+ :param _request_timeout: timeout setting for this request. If one
67
+ number provided, it will be total request
68
+ timeout. It can also be a pair (tuple) of
69
+ (connection, read) timeouts.
70
+ """
71
+ method = method.upper()
72
+ if method not in ["GET", "HEAD", "DELETE", "POST", "PUT", "PATCH", "OPTIONS"]:
73
+ raise ValueError("Method %s not allowed", method)
74
+
75
+ if post_params and body:
76
+ raise ApiValueError("body parameter cannot be used with post_params parameter.")
77
+
78
+ post_params = post_params or {}
79
+ headers = headers or {}
80
+
81
+ try:
82
+ # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
83
+ if method in ["POST", "PUT", "PATCH", "OPTIONS", "DELETE"]:
84
+
85
+ # no content type provided or payload is json
86
+ content_type = headers.get("Content-Type")
87
+ if not content_type or re.search("json", content_type, re.IGNORECASE):
88
+ request_body = None
89
+ if body is not None:
90
+ request_body = json.dumps(body)
91
+ r = self.session.request(
92
+ method,
93
+ url,
94
+ data=request_body,
95
+ headers=headers,
96
+ )
97
+ elif content_type == "application/x-www-form-urlencoded":
98
+ r = self.session.request(
99
+ method,
100
+ url,
101
+ params=post_params,
102
+ headers=headers,
103
+ )
104
+ elif content_type == "multipart/form-data":
105
+ # must del headers['Content-Type'], or the correct
106
+ # Content-Type which generated by urllib3 will be
107
+ # overwritten.
108
+ del headers["Content-Type"]
109
+ # Ensures that dict objects are serialized
110
+ post_params = [(a, json.dumps(b)) if isinstance(b, dict) else (a, b) for a, b in post_params]
111
+ r = self.session.request(
112
+ method,
113
+ url,
114
+ files=post_params,
115
+ headers=headers,
116
+ )
117
+ # Pass a `string` parameter directly in the body to support
118
+ # other content types than JSON when `body` argument is
119
+ # provided in serialized form.
120
+ elif isinstance(body, str) or isinstance(body, bytes):
121
+ r = self.session.request(
122
+ method,
123
+ url,
124
+ data=body,
125
+ headers=headers,
126
+ )
127
+ elif headers["Content-Type"] == "text/plain" and isinstance(body, bool):
128
+ request_body = "true" if body else "false"
129
+ r = self.session.request(method, url, data=request_body, headers=headers)
130
+ else:
131
+ # Cannot generate the request from given parameters
132
+ msg = """Cannot prepare a request message for provided
133
+ arguments. Please check that your arguments match
134
+ declared content type."""
135
+ raise ApiException(status=0, reason=msg)
136
+ # For `GET`, `HEAD`
137
+ else:
138
+ r = self.session.request(
139
+ method,
140
+ url,
141
+ params={},
142
+ headers=headers,
143
+ )
144
+ except requests.exceptions.SSLError as e:
145
+ msg = "\n".join([type(e).__name__, str(e)])
146
+ raise ApiException(status=0, reason=msg)
147
+
148
+ return RESTResponse(r)
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.1
2
+ Name: stackit-serviceenablement
3
+ Version: 0.0.1a0
4
+ Summary: STACKIT Service Enablement 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.serviceenablement
24
+ STACKIT Service Enablement API
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-serviceenablement
35
+ ```
36
+
37
+ Then import the package:
38
+ ```python
39
+ import stackit.serviceenablement
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.