ArmedGuy / Ldapper

Model Interface for python-ldap3 in Python 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ldapper

Model Interface for ldap3 pyhon module

Example Usage

from ldapper import LdapperInterface as Ldapper
conn = Connection(...)

User = Ldapper.define("ou=People,dc=example,dc=com", "uid=%s")

user = User.using(conn).get("user1")

activeUsers = User.using(conn).find(active='TRUE')

About

Model Interface for python-ldap3 in Python 3


Languages

Language:Python 100.0%