python3-ldap
project renamed ldap3 - please install the ldap3 package instead of python3-ldap
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-ldapuv
uv add python3-ldappoetry
poetry add python3-ldapInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
ldap3ldap3 is a pure Python LDAP V3 client library…
copyleft · top 5,000 on PyPI
python-ldapProvides an object-oriented Python API to…
permissive · top 5,000 on PyPI
types-ldap3Provides type stubs for the ldap3 package,…
permissive · top 15,000 on PyPI
msldapmsldap is a Python library for querying and…
permissive · top 15,000 on PyPI
django-auth-ldapProvides a Django authentication backend that…
permissive · top 15,000 on PyPI
ldaptorLdaptor is a pure-Python LDAP client library…
permissive · top 5,000 on PyPI
python-active-directoryAn Active Directory client library for Python…
permissive · top 15,000 on PyPI
ldapdomaindumpCollects and exports Active Directory…
permissive · top 15,000 on PyPI
gssapiPython-GSSAPI wraps the GSSAPI C libraries to…
permissive · top 5,000 on PyPI