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.
Metadata
Release files for dataflake.fakeldap 4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dataflake_fakeldap-4.3.tar.gz | 24.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dataflake_fakeldap-4.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.4 kB
Release files / dataflake_fakeldap-4.3.tar.gz
| Download URL | dataflake_fakeldap-4.3.tar.gz |
|---|---|
| Size | 24.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d513d194485fbf1b6e8632467c5b309f0c4336db27ca73d5e6cc13b674bef52
|
|
BLAKE2b-256 checksum How to use checksums |
d7cfb0062b4470d0770b9b781d0fa30ca9ae713fc5f9d146ada372151364de17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / dataflake_fakeldap-4.3-py3-none-any.whl
| Download URL | dataflake_fakeldap-4.3-py3-none-any.whl |
|---|---|
| Size | 26.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4d6890ad95e4584674a546e218df57be1eb6ad7f42b305420be78474188ed6d
|
|
BLAKE2b-256 checksum How to use checksums |
e54632e60baea5c3c84f1c850028a03eaa5c338b8e1e6f491cfa342eddb105e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|