skip to navigation
skip to content

ldapdict 1.4

Python package for connecting to LDAP, returning results as dictionary like classes. Results are cached.

Downloads ↓

Contains two main modules ,which work together:
  ldapdict and ldapcache

--> ldapdict:

This module ldapdict.py defines classes which wraps an LDAP object in a python dictionary.

The following classes are defined:
    GenericLdapDict      : Readonly class for OpenLDAP Directory, should work with most Directories
    GenericLdapDictWrite : Read / write class for OpenLDAP Directory, should work with most Directories
    ADSLdapDict          : Readonly class for Active Directory
    ADSLdapDictWrite     : Read / write class for Active Directory

For adapting to other Directories like eDirectory the Generic* classes can be easily subclassed.
See ADSLdapDict for example.


--> ldapcache:

Module with shared caching object used by GenericLdapdict objects
caches connection data and GenericLdapdict objects:
    LdapCache,
    LdapCacheWrite,
    ADSLdapCache,
    ADSLdapCacheWrite


Both module are tested with OpenLDAP and ADS.

Documentation and examples can be found in the modules.
 
File Type Py Version Uploaded on Size # downloads
ldapdict-1.4.zip (md5) Source 2008-08-12 15KB 621