We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb9fa5 commit a7d9bbbCopy full SHA for a7d9bbb
README.md
@@ -1,2 +1,12 @@
1
# python-slapd
2
-Control a slapd process in a pythonic way
+Controls your OpenLDAP process in a pythonic way. Install with `pip install slapd`.
3
+
4
5
+```python
6
+>>> import slapd
7
+>>> process = slapd.Slapd()
8
+>>> process.start()
9
+>>> process.ldapwhoami().stdout.decode("utf-8")
10
+'dn:cn=manager,dc=slapd-test,dc=python-ldap,dc=org\n'
11
+>>> process.stop()
12
+```
0 commit comments