python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. Mainly, it wraps the OpenLDAP 2.3+ libs for that purpose. Additionally, the package contains modules for other LDAP-related stuff (such as processing LDIF, LDAPURLs, and LDAPv3 schema).
| Tags | Software Development Libraries Python Modules Networking LDAP Database API |
|---|---|
| Licenses | Python |
| Operating Systems | OS Independent |
| Implementation | Python |
Recent releases


Release Notes: Mainly fixes/improvements to ReconnectLDAPObject.


Release Notes: Support for more LDAPv3 extended controls was added. Some bugfixes, especially for a memory leak and a false lock release.


Release Notes: OpenLDAP 2.4.11 or later is now required to build the modules. Support for extracting LDAPv3 extended controls in LDAP_RES_SEARCH_ENTRY responses was added along with generic support for LDAPv3 extended operations. A new class API was provided in ldap.controls, with new control classes. Some require pyasn1 and pyasn1_modules. A new ldap.logger helper module was included. There were also some fixes and code cleanups.


Release Notes: Fixes were made to the schema parser.


Release Notes: Various fixes were made for 64-bit systems. It now handles out-of-range error codes returned by libldap.
A boilerplate code generator for Android providing runtime dependency injection along with simplified threading and event models.