$npx skillfedfor your agent

Authentication/Directory packages

20 packages

Packages

ldap3 Worth it
PyPI · Authentication/Directory · released Jul 2021

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.

LGPL-3.0-onlypure Python
18.9Mdownloads / mo
python3-openid With conditions
PyPI · Authentication/Directory · released Jun 2020

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…

Apache-2.0pure Pythondormant
8.3Mdownloads / mo
ndg-httpsclient With conditions
PyPI · Authentication/Directory · released Jul 2018

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.

BSD-3-Clausepure Python
6.5Mdownloads / mo
python-ldap With conditions
PyPI · Authentication/Directory · released May 2026

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.

permissive licensebuilds from source · 3.6+
4.4Mdownloads / mo
winkerberos With conditions
PyPI · Authentication/Directory · released Dec 2025

Provides native Kerberos client authentication on Windows by wrapping Microsoft's SSPI, with an API compatible with pykerberos for GSSAPI-based authentication flows.

Apache-2.0compiled wheel · 3.10+
4.3Mdownloads / mo
django-two-factor-auth Worth it
PyPI · Authentication/Directory · released Sep 2025

Adds complete two-factor authentication to Django projects, supporting authentication via one-time passwords, SMS, call, token generator apps, and hardware tokens like YubiKey.

MITpure Python · 3.9+
3.1Mdownloads / mo
kerberos Skip
PyPI · Authentication/Directory · released Jan 2021

Provides a high-level Python wrapper for Kerberos (GSSAPI) authentication operations, enabling client and server Kerberos authentication based on RFC 4559.

Apache-2.0compiled wheelabandoned1 known vulnerabilities
2.6Mdownloads / mo
python-pam With conditions
PyPI · Authentication/Directory · released Mar 2022

Python wrapper for Linux PAM (Pluggable Authentication Modules) that authenticates users against system credentials using ctypes bindings.

MITpure Python
2.3Mdownloads / mo
pykerberos Skip
PyPI · Authentication/Directory · released Mar 2022

Provides a Python wrapper for Kerberos (GSSAPI) authentication, enabling client and server authentication based on RFC 4559 with support for channel bindings.

Apache-2.0builds from sourceabandoned
2.0Mdownloads / mo
ldaptor With conditions
PyPI · Authentication/Directory · released Feb 2021

Ldaptor is a pure-Python LDAP client library built on Twisted that handles LDAP protocol operations, filter parsing, and directory queries without compiled dependencies.

MITpure Python
1.9Mdownloads / mo
django-auth-ldap With conditions
PyPI · Authentication/Directory · released Dec 2025

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.

BSD-3-Clausepure Python · 3.10+
693.3Kdownloads / mo
pyrad Worth it
PyPI · Authentication/Directory · released Feb 2026

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.

permissive licensepure Python · 3.8+
535.4Kdownloads / mo
django-encrypted-model-fields Skip
PyPI · Authentication/Directory · released Feb 2022

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.

MITpure Pythonabandoned
523.8Kdownloads / mo
pamela With conditions
PyPI · Authentication/Directory · released Aug 2024

Pamela provides a Python interface to the Linux/Unix PAM (Pluggable Authentication Modules) system, enabling authentication, session management, and credential handling through ctypes bindings.

MITpure Pythondormant
380.7Kdownloads / mo
python-openid Skip
PyPI · Authentication/Directory · released Jul 2010

Implements OpenID authentication for Python applications, providing both consumer and server libraries to enable single sign-on and decentralized identity verification.

Apache-2.0builds from sourceabandoned
329.9Kdownloads / mo
python-kadmin-rs With conditions
PyPI · Authentication/Directory · released Aug 2026

Python bindings for Kerberos administration (kadm5), enabling remote and local management of Kerberos realms through MIT Kerberos or Heimdal.

MITcompiled wheel
182.3Kdownloads / mo
python3-ldap Skip
PyPI · Authentication/Directory · released May 2015

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.

LGPL-3.0-onlypure Python
160.0Kdownloads / mo
AuthEncoding With conditions
PyPI · Authentication/Directory · released Feb 2025

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.

license unclearpure Python · 3.9+aging
136.5Kdownloads / mo
python-freeipa With conditions
PyPI · Authentication/Directory · released Sep 2025

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…

MITpure Python · 3.10+aging
116.2Kdownloads / mo
conjur-client Skip
PyPI · Authentication/Directory · released Nov 2020

Python SDK and CLI tool for interacting with Conjur OSS secrets management appliance, providing methods to get, set, and manage variables and policies.

MITpure Python · 3.5+abandoned
81.5Kdownloads / mo