{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/3"}],"enrichment":{"capability":"Kopf is a Python framework for building Kubernetes operators with minimal boilerplate, using decorators to register event handlers that respond to changes in custom and built-in Kubernetes resources.","skillfed_tags":["kubernetes","operators","infrastructure-as-code"],"use_cases":["Build a custom Kubernetes resource operator that automatically provisions or reconciles infrastructure when resources are created or modified.","Implement admission webhooks to validate or mutate custom resources before they are persisted to the cluster.","Run background daemons or periodic timers tied to individual resources, with automatic cleanup when resources are deleted.","Migrate domain logic from imperative scripts into a declarative operator that survives pod restarts and cluster disruptions.","Coordinate multiple Kopf-based operators on the same resource kinds to avoid duplicate processing and manage dev/prod operator switching."],"what_it_does":"Kopf is a framework that simplifies Kubernetes operator development by letting you write domain logic in Python without infrastructure boilerplate. Instead of managing Kubernetes API calls and event loops directly, you decorate Python functions to respond to resource creation, updates, deletion, and other lifecycle events. The framework handles marshalling resource data into function arguments, persisting handler progress across restarts, retrying on failure, and publishing logs as Kubernetes events.\n\nIt supports both synchronous and asynchronous handlers, timers, daemons, admission webhooks, and cross-operator coordination (peering). The framework is production-ready and stable; the maintainer has stated that the core design is complete with no major new functionality planned, though maintenance for new Python and Kubernetes versions continues regularly.","worth_installing":"Yes, if you are building Kubernetes operators in Python. Kopf eliminates boilerplate and provides a stable, actively maintained framework with a permissive license. The low install friction and support for current Python versions (3.10\u20133.14) make it a practical choice for production operators. No known vulnerabilities and 2631 GitHub stars indicate community confidence."},"id":"kopf","links":{"html":"https://skillfed.io/packages/kopf","md":"https://skillfed.io/packages/kopf.md","pypi":"https://pypi.org/project/kopf/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-03","license_spdx":"MIT","license_treatment":"permissive","name":"kopf","python_support":"supports_current","summary":"Kubernetes Operator Pythonic Framework (Kopf)"},"popularity":{"monthly_downloads":1729170,"position":3610,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.44.6"}
