.. image:: https://github.com/dataflake/dataflake.fakeldap/actions/workflows/tests.yml/badge.svg
:target: https://github.com/dataflake/dataflake.fakeldap/actions/workflows/tests.yml
:alt: Unit test status
.. image:: https://coveralls.io/repos/github/dataflake/dataflake.fakeldap/badge.svg?branch=master
:target: https://coveralls.io/github/dataflake/dataflake.fakeldap?branch=master
:alt: Coverage Status
.. image:: https://readthedocs.org/projects/dataflakefakeldap/badge/?version=latest
:target: https://dataflakefakeldap.readthedocs.io
:alt: Documentation Status
.. image:: https://img.shields.io/pypi/v/dataflake.fakeldap.svg
:target: https://pypi.python.org/pypi/dataflake.fakeldap
:alt: PyPI
.. image:: https://img.shields.io/pypi/pyversions/dataflake.fakeldap.svg
:target: https://pypi.python.org/pypi/dataflake.fakeldap
:alt: 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/dataflake/dataflake.fakeldap",
"name": "dataflake.fakeldap",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "ldap ldapv3",
"author": "Jens Vagelpohl",
"author_email": "jens@dataflake.org",
"download_url": "https://files.pythonhosted.org/packages/5f/76/5b1704bf3bce1b9459587b03fe13d2e64a378b1aa94ff9370758b45cddf6/dataflake.fakeldap-4.2.tar.gz",
"platform": null,
"description": ".. image:: https://github.com/dataflake/dataflake.fakeldap/actions/workflows/tests.yml/badge.svg\n :target: https://github.com/dataflake/dataflake.fakeldap/actions/workflows/tests.yml\n :alt: Unit test status\n\n.. image:: https://coveralls.io/repos/github/dataflake/dataflake.fakeldap/badge.svg?branch=master\n :target: https://coveralls.io/github/dataflake/dataflake.fakeldap?branch=master\n :alt: Coverage Status\n\n.. image:: https://readthedocs.org/projects/dataflakefakeldap/badge/?version=latest\n :target: https://dataflakefakeldap.readthedocs.io\n :alt: Documentation Status\n\n.. image:: https://img.shields.io/pypi/v/dataflake.fakeldap.svg\n :target: https://pypi.python.org/pypi/dataflake.fakeldap\n :alt: PyPI\n\n.. image:: https://img.shields.io/pypi/pyversions/dataflake.fakeldap.svg\n :target: https://pypi.python.org/pypi/dataflake.fakeldap\n :alt: Python versions\n\n\n====================\n dataflake.fakeldap\n====================\n\nThis package offers a mock ``python-ldap`` library that can be used \nfor testing code relying on ``python-ldap`` without having to configure \nand populate a real directory server.\n\nStarting with version 3.0 the library will behave just like ``python-ldap``\nversion 3.3 or higher:\n\n- distinguished names, relative distinguished names, attribute names and\n queries are expected to be native un-encoded string values.\n\n- attribute values are expected to be bytes values.\n\nIf you pass the wrong type of string, the library will raise a ``TypeError``.\nSee https://www.python-ldap.org/en/latest/bytes_mode.html for a short\ndescription of this behavior.\n\nSince queries are un-encoded string values and attribute values passed in the\nquery would never match bytes values in the data store, searches will always\ntest against both unencoded and bytes values.\n",
"bugtrack_url": null,
"license": "ZPL 2.1",
"summary": "Mocked-up LDAP connection library",
"version": "4.2",
"project_urls": {
"Documentation": "https://dataflakefakeldap.readthedocs.io/",
"Homepage": "https://github.com/dataflake/dataflake.fakeldap",
"Issue Tracker": "https://github.com/dataflake/dataflake.fakeldap/issues",
"Sources": "https://github.com/dataflake/dataflake.fakeldap"
},
"split_keywords": [
"ldap",
"ldapv3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0c1c7d3af5d0e03175b5f98db85962d16443a34a6d4d2449649487bf752a00a7",
"md5": "02839efa9d0f4b1713f3348c71c0394b",
"sha256": "13c0cd6a48d80a0c73800d77bc05541ddb4767cfa146e0c34f3ec203825c4fcf"
},
"downloads": -1,
"filename": "dataflake.fakeldap-4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "02839efa9d0f4b1713f3348c71c0394b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 26563,
"upload_time": "2024-03-14T08:16:56",
"upload_time_iso_8601": "2024-03-14T08:16:56.112589Z",
"url": "https://files.pythonhosted.org/packages/0c/1c/7d3af5d0e03175b5f98db85962d16443a34a6d4d2449649487bf752a00a7/dataflake.fakeldap-4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5f765b1704bf3bce1b9459587b03fe13d2e64a378b1aa94ff9370758b45cddf6",
"md5": "126151b9c2b1a122aabf5c3fcce7737a",
"sha256": "80df5da7779f01492c604babc0b534649a7b24fe9f2bd4a67d10b0d3a5f61dc4"
},
"downloads": -1,
"filename": "dataflake.fakeldap-4.2.tar.gz",
"has_sig": false,
"md5_digest": "126151b9c2b1a122aabf5c3fcce7737a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 24950,
"upload_time": "2024-03-14T08:16:58",
"upload_time_iso_8601": "2024-03-14T08:16:58.006531Z",
"url": "https://files.pythonhosted.org/packages/5f/76/5b1704bf3bce1b9459587b03fe13d2e64a378b1aa94ff9370758b45cddf6/dataflake.fakeldap-4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-14 08:16:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dataflake",
"github_project": "dataflake.fakeldap",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "dataflake.fakeldap"
}