kc-sdk-python 3.1.0__tar.gz → 4.0.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.0.0}/PKG-INFO +2 -1
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.0.0}/README.md +1 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.0.0}/kc_api.py +5 -11
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.0.0/kc_sdk_python.egg-info}/PKG-INFO +2 -1
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.0.0}/pyproject.toml +1 -1
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.0.0}/LICENSE +0 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.0.0}/kc_sdk_python.egg-info/SOURCES.txt +0 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.0.0}/kc_sdk_python.egg-info/dependency_links.txt +0 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.0.0}/kc_sdk_python.egg-info/requires.txt +0 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.0.0}/kc_sdk_python.egg-info/top_level.txt +0 -0
- {kc_sdk_python-3.1.0 → kc_sdk_python-4.0.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.0.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,18 +636,13 @@ 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
|
|
648
647
|
|
|
649
648
|
# IaM / org
|
|
@@ -740,18 +739,13 @@ class KcClient:
|
|
|
740
739
|
self.kubernetes_node_groups = _r("kubernetes-node-group")
|
|
741
740
|
self.kubernetes_users = _r("kubernetes-user")
|
|
742
741
|
self.kubernetes_user_roles = _r("kubernetes-user-role")
|
|
743
|
-
self.postgresqls = _r("postgresql")
|
|
744
742
|
self.postgresql_standalones = _r("postgresql-standalone")
|
|
745
|
-
self.postgresql_node_groups = _r("postgresql-node-group")
|
|
746
743
|
self.postgresql_parameters_sets = _r("postgresql-parameters-set")
|
|
747
|
-
self.etcd = _r("etcd")
|
|
748
|
-
self.etcd_node_group = _r("etcd-node-group")
|
|
749
744
|
self.open_vpns = _r("open-vpn")
|
|
750
745
|
self.open_vpn_users = _r("open-vpn-user")
|
|
751
746
|
self.open_vpn_user_settings = _r("open-vpn-user-settings")
|
|
752
747
|
self.gitlabs = _r("gitlab")
|
|
753
748
|
self.gitlab_runners = _r("gitlab-runner")
|
|
754
|
-
self.grafanas = _r("grafana")
|
|
755
749
|
self.ollamas = _r("ollama")
|
|
756
750
|
|
|
757
751
|
# IaM / org
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kc-sdk-python
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.0.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.0.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
|