Skip to content

Commit a7d9bbb

Browse files
committed
Readme
1 parent 6fb9fa5 commit a7d9bbb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
# python-slapd
2-
Control a slapd process in a pythonic way
2+
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

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy