Controls a slapd process in a pythonic way
Project description
python-slapd
Controls your OpenLDAP process in a pythonic way. Install with pip install slapd
.
pip install slapd
>>> import slapd
>>> process = slapd.Slapd()
>>> process.start()
>>> process.ldapwhoami().stdout.decode("utf-8")
'dn:cn=manager,dc=slapd-test,dc=python-ldap,dc=org\n'
>>> process.stop()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
slapd-0.1.tar.gz
(19.3 kB
view hashes)
Built Distribution
slapd-0.1-py3-none-any.whl
(21.6 kB
view hashes)