Skip to main content
Unit test status Coverage Status Documentation Status PyPI Python versions

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)

Source distribution for dataflake.fakeldap 4.3
File Size Uploaded
dataflake_fakeldap-4.3.tar.gz 24.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dataflake.fakeldap 4.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

4.3 This release

2 release files

4.2

2 release files

4.1

2 release files

4.0

2 release files

3.0

2 release files

2.3

2 release files

2.2

2 release files

2.1

2 release files

2.0

2 release files

1.3

2 release files

1.2

2 release files

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page