Skip to content

Commit 47116b2

Browse files
Generate git
1 parent 1410ac9 commit 47116b2

18 files changed

+4755
-0
lines changed

services/git/README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# stackit.git
2+
Manage STACKIT Git instances.
3+
4+
For more information, please visit [https://docs.stackit.cloud/stackit/en/git-261161358.html](https://docs.stackit.cloud/stackit/en/git-261161358.html)
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-git
14+
```
15+
16+
Then import the package:
17+
```python
18+
import stackit.git
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/git/poetry.lock

+1,820
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/git/pyproject.toml

+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
[project]
2+
name = "stackit-git"
3+
4+
[tool.poetry]
5+
name = "stackit-git"
6+
version = "v0.0.1a"
7+
authors = [
8+
"STACKIT Developer Tools <[email protected]>",
9+
]
10+
description = "STACKIT Git 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+
# Exclude generated code
99+
extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ]
+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
STACKIT Git API
7+
8+
Manage STACKIT Git instances.
9+
10+
The version of the OpenAPI document: 1beta.0.3
11+
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.git.api.default_api import DefaultApi
22+
from stackit.git.api_client import ApiClient
23+
24+
# import ApiClient
25+
from stackit.git.api_response import ApiResponse
26+
from stackit.git.configuration import HostConfiguration
27+
from stackit.git.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.git.models.create_instance_payload import CreateInstancePayload
38+
from stackit.git.models.instance import Instance
39+
from stackit.git.models.internal_server_error_response import (
40+
InternalServerErrorResponse,
41+
)
42+
from stackit.git.models.list_instances import ListInstances
43+
from stackit.git.models.unauthorized_response import UnauthorizedResponse
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.git.api.default_api import DefaultApi

0 commit comments

Comments
 (0)