Skip to content

Commit 2afb11c

Browse files
Generate modelexperiments
1 parent 4196a96 commit 2afb11c

33 files changed

Lines changed: 8049 additions & 0 deletions
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# stackit.modelexperiments
2+
This API provides endpoints for the STACKIT AI Model Experiments api
3+
4+
For more information, please visit [https://developers.stackit.schwarz](https://developers.stackit.schwarz)
5+
6+
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.
7+
8+
9+
## Installation & Usage
10+
### pip install
11+
12+
```sh
13+
pip install stackit-modelexperiments
14+
```
15+
16+
Then import the package:
17+
```python
18+
import stackit.modelexperiments
19+
```
20+
21+
## Getting Started
22+
23+
[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.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
b0375be3ec18c50d4d17d44c9302e34d1c4bc42d
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
[project]
2+
name = "stackit-modelexperiments"
3+
version = "v0.0.1a"
4+
description = "STACKIT AI Model Experiments API"
5+
authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
6+
requires-python = ">=3.9,<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.9",
13+
"Programming Language :: Python :: 3.10",
14+
"Programming Language :: Python :: 3.11",
15+
"Programming Language :: Python :: 3.12",
16+
"Programming Language :: Python :: 3.13",
17+
"Programming Language :: Python :: 3.14",
18+
]
19+
dependencies = [
20+
"stackit-core>=0.0.1a",
21+
"requests>=2.32.3",
22+
"pydantic>=2.9.2",
23+
"python-dateutil>=2.9.0.post0",
24+
]
25+
26+
[project.urls]
27+
Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
28+
Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
29+
30+
[dependency-groups]
31+
dev = [
32+
"black>=24.8.0",
33+
"pytest>=8.3.3",
34+
"flake8>=5.0.3 ; python_full_version < '3.12'",
35+
"flake8>=6.0.1 ; python_full_version >= '3.12'",
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+
47+
[tool.uv]
48+
default-groups = "all"
49+
50+
[tool.uv.sources]
51+
stackit-core = { path = "../../core" }
52+
53+
[tool.hatch.build.targets.sdist]
54+
include = ["src/stackit"]
55+
56+
[tool.hatch.build.targets.wheel]
57+
include = ["src/stackit"]
58+
59+
[tool.hatch.build.targets.wheel-sources]
60+
"src/stackit" = "stackit"
61+
62+
[build-system]
63+
requires = ["hatchling"]
64+
build-backend = "hatchling.build"
65+
66+
[tool.pytest.ini_options]
67+
pythonpath = [
68+
"src"
69+
]
70+
testpaths = [
71+
"tests"
72+
]
73+
74+
[tool.black]
75+
line-length = 120
76+
exclude = """
77+
/(
78+
.eggs
79+
| .git
80+
| .hg
81+
| .mypy_cache
82+
| .nox
83+
| .pants.d
84+
| .tox
85+
| .venv
86+
| _build
87+
| buck-out
88+
| build
89+
| dist
90+
| node_modules
91+
| venv
92+
)/
93+
"""
94+
95+
[tool.isort]
96+
profile = 'black'
97+
98+
[tool.flake8]
99+
exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
100+
statistics = true
101+
show-source = false
102+
max-line-length = 120
103+
# E203,W503 and E704 are incompatible with the formatter black
104+
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
105+
ignore = ["E203", "W503", "E704", "W291"]
106+
inline-quotes = '"'
107+
docstring-quotes = '"""'
108+
multiline-quotes = '"""'
109+
ban-relative-imports = true
110+
# Exclude generated code
111+
extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ]
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
STACKIT AI Model Experiments API
7+
8+
This API provides endpoints for the STACKIT AI Model Experiments api
9+
10+
The version of the OpenAPI document: 1.0.0
11+
Contact: stackit-model-experiments@stackit.cloud
12+
Generated by OpenAPI Generator (https://openapi-generator.tech)
13+
14+
Do not edit the class manually.
15+
""" # noqa: E501
16+
17+
18+
__version__ = "1.0.0"
19+
20+
# Define package exports
21+
__all__ = [
22+
"DefaultApi",
23+
"ApiResponse",
24+
"ApiClient",
25+
"HostConfiguration",
26+
"OpenApiException",
27+
"ApiTypeError",
28+
"ApiValueError",
29+
"ApiKeyError",
30+
"ApiAttributeError",
31+
"ApiException",
32+
"CreateInstancePayload",
33+
"CreateInstanceResponse",
34+
"CreateInstanceTokenPayload",
35+
"CreateTokenResponse",
36+
"DeleteInstanceResponse",
37+
"DeleteTokenResponse",
38+
"ErrorResponse",
39+
"GetInstanceResponse",
40+
"GetTokenResponse",
41+
"Instance",
42+
"ListInstanceResponse",
43+
"ListTokenResponse",
44+
"PartialUpdateInstancePayload",
45+
"PartialUpdateInstanceResponse",
46+
"PartialUpdateInstanceTokenPayload",
47+
"PartialUpdateTokenResponse",
48+
"Token",
49+
"TokenMetadata",
50+
"TokenState",
51+
]
52+
53+
# import apis into sdk package
54+
from stackit.modelexperiments.api.default_api import DefaultApi as DefaultApi
55+
from stackit.modelexperiments.api_client import ApiClient as ApiClient
56+
57+
# import ApiClient
58+
from stackit.modelexperiments.api_response import ApiResponse as ApiResponse
59+
from stackit.modelexperiments.configuration import (
60+
HostConfiguration as HostConfiguration,
61+
)
62+
from stackit.modelexperiments.exceptions import ApiAttributeError as ApiAttributeError
63+
from stackit.modelexperiments.exceptions import ApiException as ApiException
64+
from stackit.modelexperiments.exceptions import ApiKeyError as ApiKeyError
65+
from stackit.modelexperiments.exceptions import ApiTypeError as ApiTypeError
66+
from stackit.modelexperiments.exceptions import ApiValueError as ApiValueError
67+
from stackit.modelexperiments.exceptions import OpenApiException as OpenApiException
68+
69+
# import models into sdk package
70+
from stackit.modelexperiments.models.create_instance_payload import (
71+
CreateInstancePayload as CreateInstancePayload,
72+
)
73+
from stackit.modelexperiments.models.create_instance_response import (
74+
CreateInstanceResponse as CreateInstanceResponse,
75+
)
76+
from stackit.modelexperiments.models.create_instance_token_payload import (
77+
CreateInstanceTokenPayload as CreateInstanceTokenPayload,
78+
)
79+
from stackit.modelexperiments.models.create_token_response import (
80+
CreateTokenResponse as CreateTokenResponse,
81+
)
82+
from stackit.modelexperiments.models.delete_instance_response import (
83+
DeleteInstanceResponse as DeleteInstanceResponse,
84+
)
85+
from stackit.modelexperiments.models.delete_token_response import (
86+
DeleteTokenResponse as DeleteTokenResponse,
87+
)
88+
from stackit.modelexperiments.models.error_response import (
89+
ErrorResponse as ErrorResponse,
90+
)
91+
from stackit.modelexperiments.models.get_instance_response import (
92+
GetInstanceResponse as GetInstanceResponse,
93+
)
94+
from stackit.modelexperiments.models.get_token_response import (
95+
GetTokenResponse as GetTokenResponse,
96+
)
97+
from stackit.modelexperiments.models.instance import Instance as Instance
98+
from stackit.modelexperiments.models.list_instance_response import (
99+
ListInstanceResponse as ListInstanceResponse,
100+
)
101+
from stackit.modelexperiments.models.list_token_response import (
102+
ListTokenResponse as ListTokenResponse,
103+
)
104+
from stackit.modelexperiments.models.partial_update_instance_payload import (
105+
PartialUpdateInstancePayload as PartialUpdateInstancePayload,
106+
)
107+
from stackit.modelexperiments.models.partial_update_instance_response import (
108+
PartialUpdateInstanceResponse as PartialUpdateInstanceResponse,
109+
)
110+
from stackit.modelexperiments.models.partial_update_instance_token_payload import (
111+
PartialUpdateInstanceTokenPayload as PartialUpdateInstanceTokenPayload,
112+
)
113+
from stackit.modelexperiments.models.partial_update_token_response import (
114+
PartialUpdateTokenResponse as PartialUpdateTokenResponse,
115+
)
116+
from stackit.modelexperiments.models.token import Token as Token
117+
from stackit.modelexperiments.models.token_metadata import (
118+
TokenMetadata as TokenMetadata,
119+
)
120+
from stackit.modelexperiments.models.token_state import TokenState as TokenState
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.modelexperiments.api.default_api import DefaultApi

0 commit comments

Comments
 (0)