python-ldap¶
What is python-ldap?¶
python-ldap provides an object-oriented API to access LDAP directory servers from Python programs.
For LDAP operations the module wraps OpenLDAP’s client library, libldap.
Additionally, the package contains modules for other LDAP-related stuff:
- LDIF parsing and generation
- LDAP URLs
- LDAPv3 subschema
Get it!¶
Installation instructions are available for several platforms.
Source code can be obtained using Git:
git clone https://github.com/python-ldap/python-ldap
Mailing list¶
Discussion about the use and future of python-ldap occurs in
the python-ldap@python.org
mailing list.
You can subscribe or unsubscribe to this list or browse the list archive.
Documentation¶
The documentation for python-ldap 3.x is hosted at Read the Docs.
You can switch between versions of the library, or download PDF or HTML versions for offline use, using the sidebar on the right.
Documentation for some older versions is available for download at the GitHub release page.
Contents¶
- Installing python-ldap
- Bytes/text management
- python-ldap Reference Documentation
ldap
LDAP library interface moduleldap.asyncsearch
Stream-processing of large search resultsldap.controls
High-level access to LDAPv3 extended controlsldap.dn
LDAP Distinguished Name handlingldap.extop
High-level access to LDAPv3 extended operationsldap.filter
LDAP filter handlingldap.modlist
Generate modify listsldap.resiter
Generator for stream-processing of large search resultsldap.schema
Handling LDAPv3 schemaldap.syncrepl
Implementation of a syncrepl consumerldap.sasl
SASL Authentication Methodsldif
LDIF parser and generatorldapurl
LDAP URL handlingslapdtest
Spawning test instances of OpenLDAP’s slapd server
- Third-party documentation
- Contributing to python-ldap
- python-ldap FAQ