kc-sdk-python 3.1.0__tar.gz → 4.1.0__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.
- {kc_sdk_python-3.1.0/kc_sdk_python.egg-info → kc_sdk_python-4.1.0}/PKG-INFO +2 -1
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.1.0}/README.md +1 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.1.0}/kc_api.py +7 -11
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.1.0/kc_sdk_python.egg-info}/PKG-INFO +2 -1
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.1.0}/pyproject.toml +1 -1
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.1.0}/LICENSE +0 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.1.0}/kc_sdk_python.egg-info/SOURCES.txt +0 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.1.0}/kc_sdk_python.egg-info/dependency_links.txt +0 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.1.0}/kc_sdk_python.egg-info/requires.txt +0 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.1.0}/kc_sdk_python.egg-info/top_level.txt +0 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.1.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kc-sdk-python
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.1.0
|
|
4
4
|
Summary: Kvindo Cloud Python SDK — typed client for managing Kvindo Cloud infrastructure (VMs, S3, Kubernetes, load balancers, VPCs, PostgreSQL) via the REST API
|
|
5
5
|
Author: Kvindo
|
|
6
6
|
License-Expression: MIT
|
|
@@ -107,6 +107,7 @@ Part of the Kvindo Cloud developer toolchain:
|
|
|
107
107
|
|
|
108
108
|
- **[kc CLI](https://github.com/Kvindo/kc-cli)** — kubectl-style command-line client for Kvindo Cloud.
|
|
109
109
|
- **[terraform-provider-kvindo](https://github.com/Kvindo/terraform-provider-kvindo)** — Terraform provider ([Registry](https://registry.terraform.io/providers/kvindo/kvindo/latest)).
|
|
110
|
+
- **[kc-mcp-server](https://github.com/Kvindo/kc-mcp-server)** — MCP server for Kvindo Cloud ([npm](https://www.npmjs.com/package/kc-mcp-server)), for managing resources from Claude Desktop/Code and other MCP clients.
|
|
110
111
|
- **[Kvindo Cloud console](https://cloud.kvindo.com)** — web UI and API.
|
|
111
112
|
- **[Claude Code skill](.claude/skills/kvindo-python-sdk/SKILL.md)** — lets Claude script Kvindo Cloud with this SDK conversationally.
|
|
112
113
|
|
|
@@ -73,6 +73,7 @@ Part of the Kvindo Cloud developer toolchain:
|
|
|
73
73
|
|
|
74
74
|
- **[kc CLI](https://github.com/Kvindo/kc-cli)** — kubectl-style command-line client for Kvindo Cloud.
|
|
75
75
|
- **[terraform-provider-kvindo](https://github.com/Kvindo/terraform-provider-kvindo)** — Terraform provider ([Registry](https://registry.terraform.io/providers/kvindo/kvindo/latest)).
|
|
76
|
+
- **[kc-mcp-server](https://github.com/Kvindo/kc-mcp-server)** — MCP server for Kvindo Cloud ([npm](https://www.npmjs.com/package/kc-mcp-server)), for managing resources from Claude Desktop/Code and other MCP clients.
|
|
76
77
|
- **[Kvindo Cloud console](https://cloud.kvindo.com)** — web UI and API.
|
|
77
78
|
- **[Claude Code skill](.claude/skills/kvindo-python-sdk/SKILL.md)** — lets Claude script Kvindo Cloud with this SDK conversationally.
|
|
78
79
|
|
|
@@ -145,6 +145,10 @@ class KcApiModificationErrorCode(Enum):
|
|
|
145
145
|
"""deleteProtection=true; clear it before deleting."""
|
|
146
146
|
BadData = "BadData"
|
|
147
147
|
"""Request was malformed."""
|
|
148
|
+
QuotaExceeded = "QuotaExceeded"
|
|
149
|
+
"""The organization's quota for this resource type/parameter would be exceeded, counting
|
|
150
|
+
resources that are submitted but not yet reconciled ("holds"). Not retryable - the caller
|
|
151
|
+
must delete resources or raise the quota. HTTP 409."""
|
|
148
152
|
|
|
149
153
|
|
|
150
154
|
@dataclass
|
|
@@ -287,7 +291,7 @@ class KcResourceGetByLabelsResponse(object):
|
|
|
287
291
|
|
|
288
292
|
# HTTP statuses the API uses to carry a structured (deserializable) body. Anything
|
|
289
293
|
# outside this set is an unexpected transport/server failure and is raised instead.
|
|
290
|
-
_HANDLED_STATUS_CODES = [200, 400, 401, 403, 422]
|
|
294
|
+
_HANDLED_STATUS_CODES = [200, 400, 401, 403, 409, 422]
|
|
291
295
|
|
|
292
296
|
|
|
293
297
|
class KcResourceClient:
|
|
@@ -632,19 +636,15 @@ class KcClient:
|
|
|
632
636
|
kubernetes_node_groups: KcResourceClient
|
|
633
637
|
kubernetes_users: KcResourceClient
|
|
634
638
|
kubernetes_user_roles: KcResourceClient
|
|
635
|
-
postgresqls: KcResourceClient
|
|
636
639
|
postgresql_standalones: KcResourceClient
|
|
637
|
-
postgresql_node_groups: KcResourceClient
|
|
638
640
|
postgresql_parameters_sets: KcResourceClient
|
|
639
|
-
etcd: KcResourceClient
|
|
640
|
-
etcd_node_group: KcResourceClient
|
|
641
641
|
open_vpns: KcResourceClient
|
|
642
642
|
open_vpn_users: KcResourceClient
|
|
643
643
|
open_vpn_user_settings: KcResourceClient
|
|
644
644
|
gitlabs: KcResourceClient
|
|
645
645
|
gitlab_runners: KcResourceClient
|
|
646
|
-
grafanas: KcResourceClient
|
|
647
646
|
ollamas: KcResourceClient
|
|
647
|
+
etcds: KcResourceClient
|
|
648
648
|
|
|
649
649
|
# IaM / org
|
|
650
650
|
folders: KcResourceClient
|
|
@@ -740,19 +740,15 @@ class KcClient:
|
|
|
740
740
|
self.kubernetes_node_groups = _r("kubernetes-node-group")
|
|
741
741
|
self.kubernetes_users = _r("kubernetes-user")
|
|
742
742
|
self.kubernetes_user_roles = _r("kubernetes-user-role")
|
|
743
|
-
self.postgresqls = _r("postgresql")
|
|
744
743
|
self.postgresql_standalones = _r("postgresql-standalone")
|
|
745
|
-
self.postgresql_node_groups = _r("postgresql-node-group")
|
|
746
744
|
self.postgresql_parameters_sets = _r("postgresql-parameters-set")
|
|
747
|
-
self.etcd = _r("etcd")
|
|
748
|
-
self.etcd_node_group = _r("etcd-node-group")
|
|
749
745
|
self.open_vpns = _r("open-vpn")
|
|
750
746
|
self.open_vpn_users = _r("open-vpn-user")
|
|
751
747
|
self.open_vpn_user_settings = _r("open-vpn-user-settings")
|
|
752
748
|
self.gitlabs = _r("gitlab")
|
|
753
749
|
self.gitlab_runners = _r("gitlab-runner")
|
|
754
|
-
self.grafanas = _r("grafana")
|
|
755
750
|
self.ollamas = _r("ollama")
|
|
751
|
+
self.etcds = _r("etcd")
|
|
756
752
|
|
|
757
753
|
# IaM / org
|
|
758
754
|
self.folders = _r("folder")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kc-sdk-python
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.1.0
|
|
4
4
|
Summary: Kvindo Cloud Python SDK — typed client for managing Kvindo Cloud infrastructure (VMs, S3, Kubernetes, load balancers, VPCs, PostgreSQL) via the REST API
|
|
5
5
|
Author: Kvindo
|
|
6
6
|
License-Expression: MIT
|
|
@@ -107,6 +107,7 @@ Part of the Kvindo Cloud developer toolchain:
|
|
|
107
107
|
|
|
108
108
|
- **[kc CLI](https://github.com/Kvindo/kc-cli)** — kubectl-style command-line client for Kvindo Cloud.
|
|
109
109
|
- **[terraform-provider-kvindo](https://github.com/Kvindo/terraform-provider-kvindo)** — Terraform provider ([Registry](https://registry.terraform.io/providers/kvindo/kvindo/latest)).
|
|
110
|
+
- **[kc-mcp-server](https://github.com/Kvindo/kc-mcp-server)** — MCP server for Kvindo Cloud ([npm](https://www.npmjs.com/package/kc-mcp-server)), for managing resources from Claude Desktop/Code and other MCP clients.
|
|
110
111
|
- **[Kvindo Cloud console](https://cloud.kvindo.com)** — web UI and API.
|
|
111
112
|
- **[Claude Code skill](.claude/skills/kvindo-python-sdk/SKILL.md)** — lets Claude script Kvindo Cloud with this SDK conversationally.
|
|
112
113
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "kc-sdk-python"
|
|
7
|
-
version = "
|
|
7
|
+
version = "4.1.0"
|
|
8
8
|
description = "Kvindo Cloud Python SDK — typed client for managing Kvindo Cloud infrastructure (VMs, S3, Kubernetes, load balancers, VPCs, PostgreSQL) via the REST API"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|