No project description provided
Project description
Django Kubernetes Backend
A Django model backend that overlays Kubernetes (K8s) resources and Custom Resource Definitions (CRDs), providing an ORM-like interface for interacting with Kubernetes resources. This project aims to integrate Django's model patterns with Kubernetes' API, allowing developers to manage Kubernetes resources using familiar Django model syntax.
Features
-
Kubernetes Integration:
- Supports both namespace-scoped and cluster-wide Kubernetes resources.
- Configurable authentication using kubeconfig (from environment, specific file, or in-cluster service account token).
-
Model Design:
- Uses a metaclass (
KubernetesModelBase) to define models for Kubernetes resources, mimicking Django's model patterns. - Adds a
KubernetesMetainner class for specifying resource configuration (e.g.resource_type,api_version,kind,namespace,cluster_scoped).
- Uses a metaclass (
-
Dynamic Field Generation:
- Automatically discovers and generates Django model fields based on the Kubernetes OpenAPI schema.
- Maps Kubernetes schema types (e.g.
string,integer,array) to Django field types (e.g.CharField,IntegerField,JSONField
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_kubernetes_backend-0.1.0.tar.gz.
File metadata
- Download URL: django_kubernetes_backend-0.1.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62805c4246c1abb211d94d507bc2d6758cd3d87c6cf40d274290c5dfb7081d02
|
|
| MD5 |
d113d00bac0e7fb2494c60392bb3c456
|
|
| BLAKE2b-256 |
ae842b8957f2b1bcf8cb1cf63f84db77ffa9655ef4706962d286a0b80cf60e89
|
File details
Details for the file django_kubernetes_backend-0.1.0-py3-none-any.whl.
File metadata
- Download URL: django_kubernetes_backend-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74c6c56bb547223276e72a071f875e1d5b251a8bd1c208aba35c5ee2ca011f13
|
|
| MD5 |
70ce4144894222908998cf77694fa1c8
|
|
| BLAKE2b-256 |
a770dfa56461390dc7875818ebf15c97b4a73510b07b02e2846d557a42e7cc46
|