Skip to content

Commit 6127981

Browse files
Generate identity
1 parent ce39f62 commit 6127981

29 files changed

Lines changed: 6898 additions & 0 deletions

‎services/identity/README.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# stackit.identity
2+
API endpoints of Identity on STACKIT.
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-identity
13+
```
14+
15+
Then import the package:
16+
```python
17+
import stackit.identity
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.

‎services/identity/oas_commit‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
f397f344453b661fd5cdd5643921e85013d16e42

‎services/identity/pyproject.toml‎

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
[project]
2+
name = "stackit-identity"
3+
version = "v0.0.1a"
4+
description = "STACKIT Identity API"
5+
authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
6+
requires-python = ">=3.10,<4.0"
7+
readme = "README.md"
8+
classifiers = [
9+
"Programming Language :: Python :: 3",
10+
"License :: OSI Approved :: Apache Software License",
11+
"Operating System :: OS Independent",
12+
"Programming Language :: Python :: 3.10",
13+
"Programming Language :: Python :: 3.11",
14+
"Programming Language :: Python :: 3.12",
15+
"Programming Language :: Python :: 3.13",
16+
"Programming Language :: Python :: 3.14",
17+
]
18+
dependencies = [
19+
"stackit-core>=0.0.1a",
20+
"requests>=2.33.0",
21+
"pydantic>=2.9.2",
22+
"python-dateutil>=2.9.0.post0",
23+
]
24+
25+
[project.urls]
26+
Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
27+
Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
28+
29+
[dependency-groups]
30+
dev = [
31+
"black>=26.3.1",
32+
"pytest>=9.1.1",
33+
"flake8>=5.0.3 ; python_full_version < '3.12'",
34+
"flake8>=6.0.1 ; python_full_version >= '3.12'",
35+
"flake8-black>=0.3.6",
36+
"flake8-pyproject>=1.2.3",
37+
"autoimport>=1.6.1",
38+
"flake8-eol>=0.0.8",
39+
"flake8-eradicate>=1.5.0",
40+
"flake8-bandit>=4.1.1",
41+
"flake8-bugbear>=23.1.14",
42+
"flake8-quotes>=3.4.0",
43+
"isort>=5.13.2",
44+
]
45+
46+
[tool.uv]
47+
default-groups = "all"
48+
49+
[tool.uv.sources]
50+
stackit-core = { path = "../../core" }
51+
52+
[tool.hatch.build.targets.sdist]
53+
include = ["src/stackit"]
54+
55+
[tool.hatch.build.targets.wheel]
56+
include = ["src/stackit"]
57+
58+
[tool.hatch.build.targets.wheel.sources]
59+
"src/stackit" = "stackit"
60+
61+
[build-system]
62+
requires = ["hatchling"]
63+
build-backend = "hatchling.build"
64+
65+
[tool.pytest.ini_options]
66+
pythonpath = [
67+
"src"
68+
]
69+
testpaths = [
70+
"tests"
71+
]
72+
73+
[tool.black]
74+
line-length = 120
75+
exclude = """
76+
/(
77+
.eggs
78+
| .git
79+
| .hg
80+
| .mypy_cache
81+
| .nox
82+
| .pants.d
83+
| .tox
84+
| .venv
85+
| _build
86+
| buck-out
87+
| build
88+
| dist
89+
| node_modules
90+
| venv
91+
)/
92+
"""
93+
94+
[tool.isort]
95+
profile = 'black'
96+
97+
[tool.flake8]
98+
exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
99+
statistics = true
100+
show-source = false
101+
max-line-length = 120
102+
# E203,W503 and E704 are incompatible with the formatter black
103+
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
104+
ignore = ["E203", "W503", "E704", "W291"]
105+
inline-quotes = '"'
106+
docstring-quotes = '"""'
107+
multiline-quotes = '"""'
108+
ban-relative-imports = true
109+
# Exclude generated code
110+
extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ]
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
STACKIT Identity API
7+
8+
API endpoints of Identity on STACKIT.
9+
10+
The version of the OpenAPI document: 1.0
11+
Contact: info@stackit.cloud
12+
Generated by OpenAPI Generator (https://openapi-generator.tech)
13+
14+
Do not edit the class manually.
15+
""" # noqa: E501
16+
17+
__version__ = "1.0.0"
18+
19+
# Define package exports
20+
__all__ = [
21+
"DefaultApi",
22+
"ApiResponse",
23+
"ApiClient",
24+
"HostConfiguration",
25+
"OpenApiException",
26+
"ApiTypeError",
27+
"ApiValueError",
28+
"ApiKeyError",
29+
"ApiAttributeError",
30+
"ApiException",
31+
"CreateGroupPayload",
32+
"CreateGroupResponse",
33+
"GetGroupResponse",
34+
"GetUserResponse",
35+
"ListGroupResponse",
36+
"ListUserResponse",
37+
"MemberResponse",
38+
"MemberType",
39+
"MembersResponse",
40+
"Origin",
41+
"StandardError",
42+
"UpdateGroupMembersPayload",
43+
"UpdateGroupPayload",
44+
"UpdateGroupResponse",
45+
"UpdateMemberRequest",
46+
]
47+
48+
# import apis into sdk package
49+
from stackit.identity.api.default_api import DefaultApi as DefaultApi
50+
from stackit.identity.api_client import ApiClient as ApiClient
51+
52+
# import ApiClient
53+
from stackit.identity.api_response import ApiResponse as ApiResponse
54+
from stackit.identity.configuration import HostConfiguration as HostConfiguration
55+
from stackit.identity.exceptions import ApiAttributeError as ApiAttributeError
56+
from stackit.identity.exceptions import ApiException as ApiException
57+
from stackit.identity.exceptions import ApiKeyError as ApiKeyError
58+
from stackit.identity.exceptions import ApiTypeError as ApiTypeError
59+
from stackit.identity.exceptions import ApiValueError as ApiValueError
60+
from stackit.identity.exceptions import OpenApiException as OpenApiException
61+
62+
# import models into sdk package
63+
from stackit.identity.models.create_group_payload import (
64+
CreateGroupPayload as CreateGroupPayload,
65+
)
66+
from stackit.identity.models.create_group_response import (
67+
CreateGroupResponse as CreateGroupResponse,
68+
)
69+
from stackit.identity.models.get_group_response import (
70+
GetGroupResponse as GetGroupResponse,
71+
)
72+
from stackit.identity.models.get_user_response import GetUserResponse as GetUserResponse
73+
from stackit.identity.models.list_group_response import (
74+
ListGroupResponse as ListGroupResponse,
75+
)
76+
from stackit.identity.models.list_user_response import (
77+
ListUserResponse as ListUserResponse,
78+
)
79+
from stackit.identity.models.member_response import MemberResponse as MemberResponse
80+
from stackit.identity.models.member_type import MemberType as MemberType
81+
from stackit.identity.models.members_response import MembersResponse as MembersResponse
82+
from stackit.identity.models.origin import Origin as Origin
83+
from stackit.identity.models.standard_error import StandardError as StandardError
84+
from stackit.identity.models.update_group_members_payload import (
85+
UpdateGroupMembersPayload as UpdateGroupMembersPayload,
86+
)
87+
from stackit.identity.models.update_group_payload import (
88+
UpdateGroupPayload as UpdateGroupPayload,
89+
)
90+
from stackit.identity.models.update_group_response import (
91+
UpdateGroupResponse as UpdateGroupResponse,
92+
)
93+
from stackit.identity.models.update_member_request import (
94+
UpdateMemberRequest as UpdateMemberRequest,
95+
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# flake8: noqa
2+
3+
# import apis into api package
4+
from stackit.identity.api.default_api import DefaultApi

0 commit comments

Comments
 (0)