{"categories":[{"label":"Security","url":"https://skillfed.io/packages/category/security"}],"enrichment":{"capability":"Wraps the Kerberos 5 C API to provide Python functions for low-level Kerberos operations, with functions matching the KRB5 API specification.","skillfed_tags":["kerberos","authentication","c-bindings"],"use_cases":["Build low-level Kerberos authentication systems where direct KRB5 API control is needed","Integrate Kerberos credential and ticket management into Python applications","Pass KRB5 structures to other libraries (like python-gssapi) via the addr property","Develop Kerberos-aware network services that require fine-grained context and credential handling"],"what_it_does":"krb5 is a direct Python wrapper around the Kerberos 5 C API, exposing low-level functions for Kerberos operations. It strips the `krb5_` prefix from standard KRB5 functions\u2014for example, `krb5_init_context()` becomes `krb5.init_context()`\u2014and raises `Krb5Error` exceptions with formatted error messages and codes. The library returns Python classes for KRB5 structures, which are automatically freed when dereferenced; some expose an `addr` property to pass raw pointers to other libraries like python-gssapi.\n\nThe package requires either MIT Kerberos (minimum 1.17) or Heimdal with development headers and a C compiler to build from source; macOS users can install pre-built wheels without compilation. Not all functions are available on every KRB5 implementation, so callers must check availability at runtime. The library supports Python 3.9+ and includes beta-level support for Python free-threading (PEP 779). The description explicitly recommends using python-gssapi for simpler Kerberos authentication workflows.","worth_installing":"Yes, if you need direct Kerberos 5 API access and have the required system dependencies (Kerberos implementation + C compiler). No, if you want simpler Kerberos authentication\u2014use python-gssapi instead. The package is stable (MIT license, no known vulnerabilities, active repository) but aging (262 days since last release) and marked Beta. Install friction is medium due to compiled dependencies."},"id":"krb5","links":{"html":"https://skillfed.io/packages/krb5","md":"https://skillfed.io/packages/krb5.md","pypi":"https://pypi.org/project/krb5/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-25","license_spdx":null,"license_treatment":"permissive","name":"krb5","python_support":"supports_current","summary":"Kerberos API bindings for Python"},"popularity":{"monthly_downloads":4788678,"position":2230,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.9.0"}
