$npx skillfedfor your agent

k5test

A library for testing Python applications in self-contained Kerberos 5 environments

With conditionsPyPI SecurityReleased Mar 2024164.5K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — k5test-0.10.4-py2.py3-none-any.whl
v0.10.4 · released 2024-03-20 · Python >=3.6

Yes, if you are testing Kerberos or GSSAPI-dependent Python applications. The library eliminates manual Kerberos setup boilerplate and provides clean test isolation. However, note that maintenance is dormant (last release 877 days ago); if you need active support or compatibility with very recent Kerberos versions, evaluate whether the package still meets your requirements. For stable, long-term Kerberos testing needs, it remains a solid choice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires MIT Kerberos 5 (krb5) or Heimdal to be installed on the system; k5test does not bundle Kerberos itself.
  • Low install friction with no runtime dependencies.
  • Maintenance is dormant—last release was 877 days ago, though the repository remains active with a recent commit on 2024-11-11.

License · maintenance · safety

permissive license (permissive) — Dual-licensed under ISC and MIT, both permissive licenses. You can use, modify, and distribute the package freely with minimal restrictions.

last release 2024-03-20 (877 days) · last repo commit 2024-11-11 · 9 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 164,543 downloads/mo, #10,544 on PyPI

Verify before relying

pip install k5test

from k5test import KerberosTestCase

class MyKerberosTest(KerberosTestCase):
    def test_kerberos_operation(self):
        # Kerberos 5 environment is automatically set up
        pass
  • Whether the dormant maintenance status (877 days since last release) affects compatibility with recent Kerberos versions or Python 3.10+.
  • Specific version requirements or known incompatibilities with particular krb5 or Heimdal releases.
  • Whether optional dependencies like python-gssapi are required for core functionality or only for decorator features.
Same gist for agents: .md · .json

What it is and what it does

k5test is a testing library that automates the setup and teardown of isolated Kerberos 5 environments for Python unit tests. Instead of manually configuring Kerberos realms or relying on system-wide Kerberos configuration, developers inherit from KerberosTestCase and get a self-contained test realm automatically provisioned before each test and cleaned up afterwards. This isolation is valuable for testing Kerberos-dependent applications without affecting production or shared Kerberos infrastructure.

The library also provides decorators to conditionally skip tests based on Kerberos version, GSSAPI extension availability, or installed plugins. It supports both MIT krb5 and Heimdal implementations and has been maintained since 2015, with support for Python 3.6 through 3.11. No runtime dependencies are required for basic use, though optional integration with python-gssapi enables extension-aware test skipping.

Use it for

  • Test Kerberos authentication flows in isolation without modifying system Kerberos configuration.
  • Run GSSAPI-dependent unit tests with automatic environment setup and teardown per test case.
  • Skip tests conditionally when krb5 version is below a required minimum or when specific GSSAPI extensions are unavailable.
  • Validate Kerberos realm configuration and credential handling in a sandboxed environment.
  • Test applications that depend on Kerberos plugins without requiring those plugins in the test environment.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are testing Kerberos or GSSAPI-dependent Python applications.

The library eliminates manual Kerberos setup boilerplate and provides clean test isolation. However, note that maintenance is dormant (last release 877 days ago); if you need active support or compatibility with very recent Kerberos versions, evaluate whether the package still meets your requirements. For stable, long-term Kerberos testing needs, it remains a solid choice.

Install

k5test on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance is dormant—last release was 877 days ago, though the repository remains active with a recent commit on 2024-11-11. Suitable for projects with stable Kerberos testing needs but not for active feature development.

Requires MIT Kerberos 5 (krb5) or Heimdal to be installed on the system; k5test does not bundle Kerberos itself.

License in practice

Dual-licensed under ISC and MIT, both permissive licenses. You can use, modify, and distribute the package freely with minimal restrictions.

Quickstart

pip install k5test

from k5test import KerberosTestCase

class MyKerberosTest(KerberosTestCase):
    def test_kerberos_operation(self):
        # Kerberos 5 environment is automatically set up
        pass

Verify before relying

  • Whether the dormant maintenance status (877 days since last release) affects compatibility with recent Kerberos versions or Python 3.10+.
  • Specific version requirements or known incompatibilities with particular krb5 or Heimdal releases.
  • Whether optional dependencies like python-gssapi are required for core functionality or only for decorator features.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 877 days since the last release
Last repo commit
First released
Downloads164,543 / month, #10,544 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: ISC License (ISCL)License :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Security

Evidence: k5test-0.10.4-py2.py3-none-any.whl

Tags

Capabilities
kerberos 5 testingkrb5 test environmentgssapi unit testingkerberos realm setupisolated kerberos testingkrb5 test harnesskerberos security testing
Topics
kerberosgssapitest-harness
PyPI keywords
gssapisecurity

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “kerberos 5 testing”

  • k5testk5test sets up isolated Kerberos 5 test environments and provides…
  • impacketImpacket provides low-level Python classes for constructing and…
  • python-kadmin-rsPython bindings for Kerberos administration (kadm5), enabling remote…

Give your agent the search over MCP, or paste the wish link into any chat.

More Security packages

SecretStorage With conditions
PyPI · Python Modules · released Nov 2025

Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.

BSD-3-Clausepure Python · 3.10+aging
226.9Mdownloads / mo
msal Worth it
PyPI · Security · released May 2026

MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.

MITpure Python · 3.9+
223.0Mdownloads / mo
joserfc Worth it
PyPI · Security · released Jul 2026

joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.

BSD-3-Clausepure Python · 3.10+
155.5Mdownloads / mo
Authlib Worth it
PyPI · Security · released May 2026

Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.

BSD-3-Clausepure Python · 3.10+
155.1Mdownloads / mo
argon2-cffi-bindings With conditions
PyPI · Python Modules · released Jul 2025

Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.

MITcompiled wheel · 3.9+
74.2Mdownloads / mo
adal Skip
PyPI · Security · released Apr 2021

ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.

Install only if maintaining existing code that already depends on it, and plan a migration.

MITpure Pythonabandoned
44.5Mdownloads / mo

See also krb5 · python-kadmin-rs · kerberos · pykerberos · requests-gssapi · gssapi · requests-kerberos · winkerberos · pyspnego · requests-credssp