Skip to content

Commit 65a0aa9

Browse files
Generate registry
1 parent 43947ef commit 65a0aa9

32 files changed

Lines changed: 6355 additions & 0 deletions

services/registry/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# stackit.registry
2+
STACKIT Container Registry management API.
3+
4+
For more information, please visit [https://docs.stackit.cloud/products/developer-platform/container-registry/](https://docs.stackit.cloud/products/developer-platform/container-registry/)
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-registry
14+
```
15+
16+
Then import the package:
17+
```python
18+
import stackit.registry
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.

services/registry/oas_commit

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

services/registry/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-registry"
3+
version = "v0.0.1a"
4+
description = "STACKIT Container Registry 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: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
STACKIT Container Registry API
7+
8+
STACKIT Container Registry management API.
9+
10+
The version of the OpenAPI document: 1.0.0
11+
Contact: devex_development@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+
"Artifactory",
32+
"ArtifactoryList",
33+
"BadRequestErrorResponse",
34+
"ConflictErrorResponse",
35+
"CreateArtifactoryPayload",
36+
"CreateProxyRequest",
37+
"Credentials",
38+
"ForbiddenErrorResponse",
39+
"GenericErrorResponse",
40+
"InternalServerErrorResponse",
41+
"NotFoundErrorResponse",
42+
"PatchArtifactoryPayload",
43+
"Proxy",
44+
"RedactedCredentials",
45+
"ReplicationAdapter",
46+
"ReplicationAdapterList",
47+
"UnauthorizedErrorResponse",
48+
"UpdateProxyRequest",
49+
]
50+
51+
# import apis into sdk package
52+
from stackit.registry.api.default_api import DefaultApi as DefaultApi
53+
from stackit.registry.api_client import ApiClient as ApiClient
54+
55+
# import ApiClient
56+
from stackit.registry.api_response import ApiResponse as ApiResponse
57+
from stackit.registry.configuration import HostConfiguration as HostConfiguration
58+
from stackit.registry.exceptions import ApiAttributeError as ApiAttributeError
59+
from stackit.registry.exceptions import ApiException as ApiException
60+
from stackit.registry.exceptions import ApiKeyError as ApiKeyError
61+
from stackit.registry.exceptions import ApiTypeError as ApiTypeError
62+
from stackit.registry.exceptions import ApiValueError as ApiValueError
63+
from stackit.registry.exceptions import OpenApiException as OpenApiException
64+
65+
# import models into sdk package
66+
from stackit.registry.models.artifactory import Artifactory as Artifactory
67+
from stackit.registry.models.artifactory_list import ArtifactoryList as ArtifactoryList
68+
from stackit.registry.models.bad_request_error_response import (
69+
BadRequestErrorResponse as BadRequestErrorResponse,
70+
)
71+
from stackit.registry.models.conflict_error_response import (
72+
ConflictErrorResponse as ConflictErrorResponse,
73+
)
74+
from stackit.registry.models.create_artifactory_payload import (
75+
CreateArtifactoryPayload as CreateArtifactoryPayload,
76+
)
77+
from stackit.registry.models.create_proxy_request import (
78+
CreateProxyRequest as CreateProxyRequest,
79+
)
80+
from stackit.registry.models.credentials import Credentials as Credentials
81+
from stackit.registry.models.forbidden_error_response import (
82+
ForbiddenErrorResponse as ForbiddenErrorResponse,
83+
)
84+
from stackit.registry.models.generic_error_response import (
85+
GenericErrorResponse as GenericErrorResponse,
86+
)
87+
from stackit.registry.models.internal_server_error_response import (
88+
InternalServerErrorResponse as InternalServerErrorResponse,
89+
)
90+
from stackit.registry.models.not_found_error_response import (
91+
NotFoundErrorResponse as NotFoundErrorResponse,
92+
)
93+
from stackit.registry.models.patch_artifactory_payload import (
94+
PatchArtifactoryPayload as PatchArtifactoryPayload,
95+
)
96+
from stackit.registry.models.proxy import Proxy as Proxy
97+
from stackit.registry.models.redacted_credentials import (
98+
RedactedCredentials as RedactedCredentials,
99+
)
100+
from stackit.registry.models.replication_adapter import (
101+
ReplicationAdapter as ReplicationAdapter,
102+
)
103+
from stackit.registry.models.replication_adapter_list import (
104+
ReplicationAdapterList as ReplicationAdapterList,
105+
)
106+
from stackit.registry.models.unauthorized_error_response import (
107+
UnauthorizedErrorResponse as UnauthorizedErrorResponse,
108+
)
109+
from stackit.registry.models.update_proxy_request import (
110+
UpdateProxyRequest as UpdateProxyRequest,
111+
)
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.registry.api.default_api import DefaultApi

0 commit comments

Comments
 (0)