stackit-dns 0.0.1a0__tar.gz

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.
Files changed (42) hide show
  1. stackit_dns-0.0.1a0/PKG-INFO +20 -0
  2. stackit_dns-0.0.1a0/pyproject.toml +105 -0
  3. stackit_dns-0.0.1a0/src/stackit/dns/__init__.py +68 -0
  4. stackit_dns-0.0.1a0/src/stackit/dns/api/__init__.py +4 -0
  5. stackit_dns-0.0.1a0/src/stackit/dns/api/default_api.py +7927 -0
  6. stackit_dns-0.0.1a0/src/stackit/dns/api_client.py +627 -0
  7. stackit_dns-0.0.1a0/src/stackit/dns/api_response.py +23 -0
  8. stackit_dns-0.0.1a0/src/stackit/dns/configuration.py +111 -0
  9. stackit_dns-0.0.1a0/src/stackit/dns/exceptions.py +199 -0
  10. stackit_dns-0.0.1a0/src/stackit/dns/models/__init__.py +49 -0
  11. stackit_dns-0.0.1a0/src/stackit/dns/models/clone_zone_payload.py +103 -0
  12. stackit_dns-0.0.1a0/src/stackit/dns/models/create_label_payload.py +83 -0
  13. stackit_dns-0.0.1a0/src/stackit/dns/models/create_label_response.py +93 -0
  14. stackit_dns-0.0.1a0/src/stackit/dns/models/create_record_set_payload.py +146 -0
  15. stackit_dns-0.0.1a0/src/stackit/dns/models/create_zone_payload.py +163 -0
  16. stackit_dns-0.0.1a0/src/stackit/dns/models/delete_label_response.py +93 -0
  17. stackit_dns-0.0.1a0/src/stackit/dns/models/error_message.py +83 -0
  18. stackit_dns-0.0.1a0/src/stackit/dns/models/export_record_sets_payload.py +105 -0
  19. stackit_dns-0.0.1a0/src/stackit/dns/models/import_record_sets_payload.py +99 -0
  20. stackit_dns-0.0.1a0/src/stackit/dns/models/import_record_sets_response.py +93 -0
  21. stackit_dns-0.0.1a0/src/stackit/dns/models/import_summary.py +115 -0
  22. stackit_dns-0.0.1a0/src/stackit/dns/models/label.py +83 -0
  23. stackit_dns-0.0.1a0/src/stackit/dns/models/list_labels_response.py +99 -0
  24. stackit_dns-0.0.1a0/src/stackit/dns/models/list_record_sets_response.py +105 -0
  25. stackit_dns-0.0.1a0/src/stackit/dns/models/list_zones_response.py +103 -0
  26. stackit_dns-0.0.1a0/src/stackit/dns/models/message.py +82 -0
  27. stackit_dns-0.0.1a0/src/stackit/dns/models/move_code_response.py +86 -0
  28. stackit_dns-0.0.1a0/src/stackit/dns/models/move_zone_payload.py +87 -0
  29. stackit_dns-0.0.1a0/src/stackit/dns/models/partial_update_record_payload.py +108 -0
  30. stackit_dns-0.0.1a0/src/stackit/dns/models/partial_update_record_set_payload.py +111 -0
  31. stackit_dns-0.0.1a0/src/stackit/dns/models/partial_update_zone_payload.py +135 -0
  32. stackit_dns-0.0.1a0/src/stackit/dns/models/record.py +85 -0
  33. stackit_dns-0.0.1a0/src/stackit/dns/models/record_data_exchange.py +94 -0
  34. stackit_dns-0.0.1a0/src/stackit/dns/models/record_payload.py +84 -0
  35. stackit_dns-0.0.1a0/src/stackit/dns/models/record_set.py +176 -0
  36. stackit_dns-0.0.1a0/src/stackit/dns/models/record_set_response.py +93 -0
  37. stackit_dns-0.0.1a0/src/stackit/dns/models/validate_move_code_payload.py +84 -0
  38. stackit_dns-0.0.1a0/src/stackit/dns/models/zone.py +241 -0
  39. stackit_dns-0.0.1a0/src/stackit/dns/models/zone_data_exchange.py +99 -0
  40. stackit_dns-0.0.1a0/src/stackit/dns/models/zone_response.py +93 -0
  41. stackit_dns-0.0.1a0/src/stackit/dns/py.typed +0 -0
  42. stackit_dns-0.0.1a0/src/stackit/dns/rest.py +149 -0
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.1
2
+ Name: stackit-dns
3
+ Version: 0.0.1a0
4
+ Summary: STACKIT DNS API
5
+ Author: stackit-dns
6
+ Author-email: stackit-dns@mail.schwarz
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,<3.0.0)
18
+ Requires-Dist: python-dateutil (>=2.9.0.post0,<3.0.0)
19
+ Requires-Dist: requests (>=2.32.3,<3.0.0)
20
+ Requires-Dist: stackit-core (>=0.0.1a,<0.0.2)
@@ -0,0 +1,105 @@
1
+ [tool.poetry]
2
+ name = "stackit-dns"
3
+ version = "0.0.1a"
4
+ authors = [
5
+ "stackit-dns <stackit-dns@mail.schwarz>",
6
+ ]
7
+ description = "STACKIT DNS API"
8
+ #readme = "README.md"
9
+ #license = "NoLicense"
10
+ classifiers = [
11
+ "Programming Language :: Python :: 3",
12
+ "License :: OSI Approved :: Apache Software License",
13
+ "Operating System :: OS Independent",
14
+ ]
15
+ packages = [
16
+ { include = "stackit", from="src" }
17
+ ]
18
+
19
+ [tool.poetry.dependencies]
20
+ python = ">=3.8,<4.0"
21
+ stackit-core = "^0.0.1a"
22
+ requests = "^2.32.3"
23
+ pydantic = "^2.9.2"
24
+ python-dateutil = "^2.9.0.post0"
25
+
26
+ [tool.poetry.group.dev.dependencies]
27
+ black = ">=24.8.0"
28
+ pytest = ">=8.3.3"
29
+ flake8 = [
30
+ { version= ">=5.0.3", python="<3.12"},
31
+ { version= ">=6.0.1", python=">=3.12"}
32
+ ]
33
+ flake8-black = ">=0.3.6"
34
+ flake8-pyproject = ">=1.2.3"
35
+ autoimport = ">=1.6.1"
36
+ flake8-eol = ">=0.0.8"
37
+ flake8-eradicate = ">=1.5.0"
38
+ flake8-bandit = ">=4.1.1"
39
+ flake8-bugbear = ">=23.1.14"
40
+ flake8-quotes = ">=3.4.0"
41
+ isort = ">=5.13.2"
42
+
43
+ [project.urls]
44
+ Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
45
+ Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
46
+
47
+ [build-system]
48
+ requires = ["setuptools", "poetry-core"]
49
+ build-backend = "poetry.core.masonry.api"
50
+
51
+ [tool.pytest.ini_options]
52
+ pythonpath = [
53
+ "src"
54
+ ]
55
+ testpaths = [
56
+ "tests"
57
+ ]
58
+
59
+ [tool.black]
60
+ line-length = 120
61
+ exclude = """
62
+ /(
63
+ .eggs
64
+ | .git
65
+ | .hg
66
+ | .mypy_cache
67
+ | .nox
68
+ | .pants.d
69
+ | .tox
70
+ | .venv
71
+ | _build
72
+ | buck-out
73
+ | build
74
+ | dist
75
+ | node_modules
76
+ | venv
77
+ )/
78
+ """
79
+
80
+ [tool.isort]
81
+ profile = 'black'
82
+
83
+ [tool.flake8]
84
+ exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
85
+ statistics = true
86
+ show-source = false
87
+ max-line-length = 120
88
+ # E203,W503 and E704 are incompatible with the formatter black
89
+ # W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
90
+ ignore = ["E203", "W503", "E704", "W291"]
91
+ inline-quotes = '"'
92
+ docstring-quotes = '"""'
93
+ multiline-quotes = '"""'
94
+ ban-relative-imports = true
95
+ per-file-ignores = """
96
+ # asserts are fine in tests, tests shouldn't be build optimized
97
+ ./tests/*: S101,
98
+ # F841: some variables get generated but may not be used, depending on the api-spec
99
+ # E501: long descriptions/string values might lead to lines that are too long
100
+ ./src/stackit/*/models/*: F841,E501
101
+ # F841: some variables get generated but may not be used, depending on the api-spec
102
+ # E501: long descriptions/string values might lead to lines that are too long
103
+ # B028: stacklevel for deprecation warning is irrelevant
104
+ ./src/stackit/*/api/default_api.py: F841,B028,E501
105
+ """
@@ -0,0 +1,68 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ STACKIT DNS API
7
+
8
+ This api provides dns
9
+
10
+ The version of the OpenAPI document: 1.0
11
+ Contact: stackit-dns@mail.schwarz
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.dns.api.default_api import DefaultApi
22
+ from stackit.dns.api_client import ApiClient
23
+
24
+ # import ApiClient
25
+ from stackit.dns.api_response import ApiResponse
26
+ from stackit.dns.configuration import HostConfiguration
27
+ from stackit.dns.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.dns.models.clone_zone_payload import CloneZonePayload
38
+ from stackit.dns.models.create_label_payload import CreateLabelPayload
39
+ from stackit.dns.models.create_label_response import CreateLabelResponse
40
+ from stackit.dns.models.create_record_set_payload import CreateRecordSetPayload
41
+ from stackit.dns.models.create_zone_payload import CreateZonePayload
42
+ from stackit.dns.models.delete_label_response import DeleteLabelResponse
43
+ from stackit.dns.models.error_message import ErrorMessage
44
+ from stackit.dns.models.export_record_sets_payload import ExportRecordSetsPayload
45
+ from stackit.dns.models.import_record_sets_payload import ImportRecordSetsPayload
46
+ from stackit.dns.models.import_record_sets_response import ImportRecordSetsResponse
47
+ from stackit.dns.models.import_summary import ImportSummary
48
+ from stackit.dns.models.label import Label
49
+ from stackit.dns.models.list_labels_response import ListLabelsResponse
50
+ from stackit.dns.models.list_record_sets_response import ListRecordSetsResponse
51
+ from stackit.dns.models.list_zones_response import ListZonesResponse
52
+ from stackit.dns.models.message import Message
53
+ from stackit.dns.models.move_code_response import MoveCodeResponse
54
+ from stackit.dns.models.move_zone_payload import MoveZonePayload
55
+ from stackit.dns.models.partial_update_record_payload import PartialUpdateRecordPayload
56
+ from stackit.dns.models.partial_update_record_set_payload import (
57
+ PartialUpdateRecordSetPayload,
58
+ )
59
+ from stackit.dns.models.partial_update_zone_payload import PartialUpdateZonePayload
60
+ from stackit.dns.models.record import Record
61
+ from stackit.dns.models.record_data_exchange import RecordDataExchange
62
+ from stackit.dns.models.record_payload import RecordPayload
63
+ from stackit.dns.models.record_set import RecordSet
64
+ from stackit.dns.models.record_set_response import RecordSetResponse
65
+ from stackit.dns.models.validate_move_code_payload import ValidateMoveCodePayload
66
+ from stackit.dns.models.zone import Zone
67
+ from stackit.dns.models.zone_data_exchange import ZoneDataExchange
68
+ from stackit.dns.models.zone_response import ZoneResponse
@@ -0,0 +1,4 @@
1
+ # flake8: noqa
2
+
3
+ # import apis into api package
4
+ from stackit.dns.api.default_api import DefaultApi