skillfed

python3-ldap

project renamed ldap3 - please install the ldap3 package instead of python3-ldap

python3-ldap v0.9.8.4 160.0K downloads/30d#10,680 on PyPI937
Copyleft license LGPL v3 Active released

What it is and what it does

python3-ldap is a deprecated redirect package pointing users to the renamed library. According to the description, the project was formerly named python3-ldap and has been renamed to avoid confusion with the python-ldap library. The underlying library is a pure Python LDAP V3 client implementing RFC 4511, providing connectivity to LDAP directories such as Active Directory, OpenLDAP, and eDirectory. It works across Python 2, Python 3, PyPy, and PyPy3.

The package has no runtime dependencies and offers low install friction. This redirect exists only for backward compatibility; the description explicitly states that users should install the renamed package instead. The codebase is actively maintained with recent commits and community engagement.

Use it for:

  • Authenticate users against an LDAP directory server in a web application or service.
  • Search and retrieve user or group information from an LDAP directory for provisioning or reporting.
  • Implement single sign-on by validating credentials against a corporate directory server.
  • Perform bulk directory operations such as user creation, modification, or deletion.
  • Query directory servers for organizational structure and metadata.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

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.

No. This package is a redirect and will not function on its own. The description explicitly states the project has been renamed and users should install the renamed package instead. This redirect exists only for backward compatibility with very old code; any new project should use the renamed package from the start. The underlying library is actively maintained with no known vulnerabilities, but python3-ldap itself is not the correct package to use.

Install

python3-ldap on PyPI

pip

pip install python3-ldap

uv

uv add python3-ldap

poetry

poetry add python3-ldap

Installing python3-ldap

Before you install

Low install friction with no runtime dependencies. The repository shows recent commits (2026-04-18) and 937 stars, though the PyPI release itself dates to 2015-05-28. This is a redirect package; users should install the renamed package instead for ongoing updates.

License in practice

Licensed under LGPL v3 (copyleft). Any derivative work or modification must be released under the same license terms. Proprietary projects using this library must comply with copyleft obligations or obtain an alternative license.

Quickstart

# This package redirects; install the renamed package instead:
# pip install python3-ldap

from python3_ldap import Server, Connection

server = Server('ldap.example.com')
conn = Connection(server, user='cn=admin,dc=example,dc=com', password='secret')
conn.bind()

This is a redirect package. The actual library has been renamed; python3-ldap will not function on its own.

Verify before relying

  • Whether python3-ldap still installs or if PyPI has fully deprecated the redirect.
  • Current test coverage and whether the codebase remains actively tested against modern LDAP servers.
  • Which authentication methods (SASL, NTLMv2, Kerberos) are supported in the current version.

Package facts

License LGPL v3 (copyleft)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 4,096 days since the last release
Last repo commit
First released
Downloads 160,011/month — #10,680 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: python3_ldap-0.9.8.4-py2.py3-none-any.whl

Keywords: python3, python2, ldap

Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Operating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Systems Administration :: Authentication/Directory :: LDAP

Tags

ldap client library pythondirectory authentication ldapactive directory pythonldap search operationsldap v3 pure pythonrfc 4511 ldap
ldap-clientdirectory-authdeprecated-redirect

More Python Modules packages