dataflake.fakeldap-4.0
توضیحات
Mocked-up LDAP connection library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dataflake.fakeldap-4.0 |
| نام | dataflake.fakeldap |
| نسخه کتابخانه | 4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jens Vagelpohl |
| ایمیل نویسنده | jens@dataflake.org |
| آدرس صفحه اصلی | https://github.com/dataflake/dataflake.fakeldap |
| آدرس اینترنتی | https://pypi.org/project/dataflake.fakeldap/ |
| مجوز | ZPL 2.1 |
.. 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.
Documentation
=============
Full documentation is available at
https://dataflakefakeldap.readthedocs.io/
Bug tracker
===========
A bug tracker is available at
https://github.com/dataflake/dataflake.fakeldap/issues
نیازمندی
| مقدار | نام |
|---|---|
| - | setuptools |
| >=3.3 | python-ldap |
| - | Sphinx |
| - | sphinx-rtd-theme |
| - | pkginfo |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl dataflake.fakeldap-4.0:
pip install dataflake.fakeldap-4.0.whl
نصب پکیج tar.gz dataflake.fakeldap-4.0:
pip install dataflake.fakeldap-4.0.tar.gz