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.

Indices and tables