"There are a couple of LDAP libraries available for Python, but
the most popular is the Python-LDAP module, which (as with the PHP
API) uses the OpenLDAP C library as a base for providing network
access to an LDAP server.
"Like OpenLDAP, the Python-LDAP API is Open Source. It works on
Linux, Windows, Mac OS X, BSD, and probably other UNIX operating
systems as well (platforms that have both Python and OpenLDAP