Mocked-up LDAP connection library
Project description
dataflake.fakeldap
This package offers a mock python-ldap library that can be used for testing code relying on python-ldap without having to configure and populate a real directory server.
Starting with version 3.0 the library will behave just like python-ldap version 3.3 or higher:
distinguished names, relative distinguished names, attribute names and queries are expected to be native un-encoded string values.
attribute values are expected to be bytes values.
If you pass the wrong type of string, the library will raise a TypeError. See https://www.python-ldap.org/en/latest/bytes_mode.html for a short description of this behavior.
Since queries are un-encoded string values and attribute values passed in the query would never match bytes values in the data store, searches will always test against both unencoded and bytes values.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dataflake_fakeldap-4.3.tar.gz.
File metadata
- Download URL: dataflake_fakeldap-4.3.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d513d194485fbf1b6e8632467c5b309f0c4336db27ca73d5e6cc13b674bef52
|
|
| MD5 |
de6e2e8814550275eb772dcce5047d4c
|
|
| BLAKE2b-256 |
d7cfb0062b4470d0770b9b781d0fa30ca9ae713fc5f9d146ada372151364de17
|
File details
Details for the file dataflake_fakeldap-4.3-py3-none-any.whl.
File metadata
- Download URL: dataflake_fakeldap-4.3-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4d6890ad95e4584674a546e218df57be1eb6ad7f42b305420be78474188ed6d
|
|
| MD5 |
aa22e9690e91fc8c7672a64855edf9bc
|
|
| BLAKE2b-256 |
e54632e60baea5c3c84f1c850028a03eaa5c338b8e1e6f491cfa342eddb105e7
|