Packages
ldap3 is a pure Python LDAP V3 client library that implements RFC 4510, providing both low-level LDAP operations and a high-level abstraction layer for directory queries and authentication.
Install it if you need to authenticate against or query LDAP directories.
Implements OpenID authentication protocol support for Python 3 servers and clients, allowing applications to delegate user authentication to OpenID providers.
However, be aware that active development stopped in 2020; if you require ongoing security patches or feature development, consider whether OpenID remains the right…
Provides enhanced HTTPS support for Python's httplib and urllib2 (or http.client and urllib in Python 3) by wrapping PyOpenSSL to enable full SSL peer verification using certificate validation.
Provides an object-oriented Python API to connect to and query LDAP directory servers, wrapping OpenLDAP client libraries and offering utilities for LDIF processing, LDAP URLs, and schema handling.
Provides native Kerberos client authentication on Windows by wrapping Microsoft's SSPI, with an API compatible with pykerberos for GSSAPI-based authentication flows.
Adds complete two-factor authentication to Django projects, supporting authentication via one-time passwords, SMS, call, token generator apps, and hardware tokens like YubiKey.
Provides a high-level Python wrapper for Kerberos (GSSAPI) authentication operations, enabling client and server Kerberos authentication based on RFC 4559.
Python wrapper for Linux PAM (Pluggable Authentication Modules) that authenticates users against system credentials using ctypes bindings.
Provides a Python wrapper for Kerberos (GSSAPI) authentication, enabling client and server authentication based on RFC 4559 with support for channel bindings.
Ldaptor is a pure-Python LDAP client library built on Twisted that handles LDAP protocol operations, filter parsing, and directory queries without compiled dependencies.
Provides a Django authentication backend that validates user credentials against an LDAP directory service, supporting user search, group membership, and permission mapping.
Install only if your deployment uses LDAP or Active Directory; it adds no value for applications with local-only authentication.
pyrad implements RADIUS client and server functionality per RFC2865, handling packet construction, transmission, and response decoding for authentication, authorization, and accounting workflows.
Install it if you need to speak RADIUS protocol—either as a client authenticating against an existing RADIUS server or as a server component in a custom AAA system.
Wraps Django model fields with transparent encryption using the cryptography library, storing encrypted data in the database while allowing normal field access in Python code.
Pamela provides a Python interface to the Linux/Unix PAM (Pluggable Authentication Modules) system, enabling authentication, session management, and credential handling through ctypes bindings.
Implements OpenID authentication for Python applications, providing both consumer and server libraries to enable single sign-on and decentralized identity verification.
Python bindings for Kerberos administration (kadm5), enabling remote and local management of Kerberos realms through MIT Kerberos or Heimdal.
This package is a redirect to ldap3—a pure Python LDAP V3 client library that implements RFC 4511 and works across Python 2, Python 3, PyPy, and PyPy3.
AuthEncoding provides a framework for creating, validating, and managing LDAP-style password hashes in Python, supporting multiple hashing schemes including bcrypt when installed as an optional extra.
However, maintenance is aging (534 days since last release), so verify that security patches are still responsive if this is critical to your authentication pipeline.
python-freeipa is a lightweight client library for interacting with FreeIPA directory and authentication services over HTTP.
However, verify that the package's API coverage matches your FreeIPA version and use case, and be aware that aging maintenance means you may need to maintain patches…
Python SDK and CLI tool for interacting with Conjur OSS secrets management appliance, providing methods to get, set, and manage variables and policies.