ldap3


Nameldap3 JSON
Version 2.9.1 PyPI version JSON
download
home_pagehttps://github.com/cannatag/ldap3
SummaryA strictly RFC 4510 conforming LDAP V3 pure Python client library
upload_time2021-07-18 06:34:21
maintainer
docs_urlNone
authorGiovanni Cannata
requires_python
licenseLGPL v3
keywords python3 python2 ldap
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            LDAP3
=====

.. image:: https://img.shields.io/pypi/v/ldap3.svg
    :target: https://pypi.python.org/pypi/ldap3/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/l/ldap3.svg
    :target: https://pypi.python.org/pypi/ldap3/
    :alt: License

.. image:: https://img.shields.io/travis/cannatag/ldap3/master.svg
    :target: https://travis-ci.org/cannatag/ldap3
    :alt: TRAVIS-CI build status for master branch


ldap3 is a strictly RFC 4510 conforming **LDAP V3 pure Python client** library. The same codebase runs in Python 2, Python 3, PyPy and PyPy3.


A more pythonic LDAP
--------------------

LDAP operations look clumsy and hard-to-use because they reflect the old-age idea that time-consuming operations should be performed client-side
to not hog the server with heavy elaborations. To alleviate this ldap3 includes a fully functional **Abstraction Layer** that lets you
interact with the LDAP server in a modern and *pythonic* way. With the Abstraction Layer you don't need to directly issue any LDAP operation at all.


Thread safe strategies
----------------------

In multithreaded programs you must use on of **SAFE_SYNC** (synchronous connection strategy), **SAFE_RESTARTABLE** (restartable syncronous connection strategy) or **ASYNC** (asynchronous connection strategy).
   Each LDAP operation with SAFE_SYNC or SAFE_RESTARTABLE strategies returns a tuple of four elements: status, result, response and request.

   * status: states if the operation was successful

   * result: the LDAP result of the operation

   * response: the response of a LDAP Search Operation

   * request: the original request of the operation

   The SafeSync strategy can be used with the Abstract Layer, but the Abstract Layer currently is NOT thread safe.
   For example, to use *SAFE_SYNC*::

      from ldap3 import Server, Connection, SAFE_SYNC
      server = Server('my_server')
      conn = Connection(server, 'my_user', 'my_password', client_strategy=SAFE_SYNC, auto_bind=True)
      status, result, response, _ = conn.search('o=test', '(objectclass=*)')  # usually you don't need the original request (4th element of the returned tuple)


  With *ASYNC* you must request the response with the *get_response()* method.

Home Page
---------

The home page of the ldap3 project is https://github.com/cannatag/ldap3


Documentation
-------------

Documentation is available at http://ldap3.readthedocs.io


License
-------

The ldap3 project is open source software released under the **LGPL v3 license**.
Copyright 2013 - 2020 Giovanni Cannata


PEP8 Compliance
---------------

ldap3 is PEP8 compliant, except for line length.


Download
--------

Package download is available at https://pypi.python.org/pypi/ldap3.


Install
-------

Install with **pip install ldap3**


Git repository
--------------

You can download the latest source at https://github.com/cannatag/ldap3


Continuous integration
----------------------

Continuous integration for testing is at https://travis-ci.org/cannatag/ldap3


Support & Development
---------------------

You can submit support tickets on https://github.com/cannatag/ldap3/issues/new
You can submit pull request on the **dev** branch at https://github.com/cannatag/ldap3/tree/dev


Thanks to
---------

* **Ilya Etingof**, the author of the *pyasn1* package for his excellent work and support.

* **Mark Lutz** for his *Learning Python* and *Programming Python* excellent books series and **John Goerzen** and **Brandon Rhodes** for their book *Foundations of Python Network Programming*. These books are wonderful tools for learning Python and this project owes a lot to them.

* **JetBrains** for donating to this project the Open Source license of *PyCharm Professional*.

* **GitHub** for providing the *free source repository space and the tools* I use to develop this project.

* The **FreeIPA** team for letting me use their demo LDAP server in the ldap3 tutorial.


Contact me
----------

For information and suggestions you can contact me at cannatag@gmail.com. You can also open a support ticket on https://github.com/cannatag/ldap3/issues/new


Donate
------

If you want to keep this project up and running you can send me an Amazon gift card. I will use it to improve my skills in Information and Communication technologies.


Changelog
---------

Updated changelog at https://ldap3.readthedocs.io/changelog.html




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cannatag/ldap3",
    "name": "ldap3",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python3 python2 ldap",
    "author": "Giovanni Cannata",
    "author_email": "cannatag@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/43/ac/96bd5464e3edbc61595d0d69989f5d9969ae411866427b2500a8e5b812c0/ldap3-2.9.1.tar.gz",
    "platform": "",
    "description": "LDAP3\n=====\n\n.. image:: https://img.shields.io/pypi/v/ldap3.svg\n    :target: https://pypi.python.org/pypi/ldap3/\n    :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/l/ldap3.svg\n    :target: https://pypi.python.org/pypi/ldap3/\n    :alt: License\n\n.. image:: https://img.shields.io/travis/cannatag/ldap3/master.svg\n    :target: https://travis-ci.org/cannatag/ldap3\n    :alt: TRAVIS-CI build status for master branch\n\n\nldap3 is a strictly RFC 4510 conforming **LDAP V3 pure Python client** library. The same codebase runs in Python 2, Python 3, PyPy and PyPy3.\n\n\nA more pythonic LDAP\n--------------------\n\nLDAP operations look clumsy and hard-to-use because they reflect the old-age idea that time-consuming operations should be performed client-side\nto not hog the server with heavy elaborations. To alleviate this ldap3 includes a fully functional **Abstraction Layer** that lets you\ninteract with the LDAP server in a modern and *pythonic* way. With the Abstraction Layer you don't need to directly issue any LDAP operation at all.\n\n\nThread safe strategies\n----------------------\n\nIn multithreaded programs you must use on of **SAFE_SYNC** (synchronous connection strategy), **SAFE_RESTARTABLE** (restartable syncronous connection strategy) or **ASYNC** (asynchronous connection strategy).\n   Each LDAP operation with SAFE_SYNC or SAFE_RESTARTABLE strategies returns a tuple of four elements: status, result, response and request.\n\n   * status: states if the operation was successful\n\n   * result: the LDAP result of the operation\n\n   * response: the response of a LDAP Search Operation\n\n   * request: the original request of the operation\n\n   The SafeSync strategy can be used with the Abstract Layer, but the Abstract Layer currently is NOT thread safe.\n   For example, to use *SAFE_SYNC*::\n\n      from ldap3 import Server, Connection, SAFE_SYNC\n      server = Server('my_server')\n      conn = Connection(server, 'my_user', 'my_password', client_strategy=SAFE_SYNC, auto_bind=True)\n      status, result, response, _ = conn.search('o=test', '(objectclass=*)')  # usually you don't need the original request (4th element of the returned tuple)\n\n\n  With *ASYNC* you must request the response with the *get_response()* method.\n\nHome Page\n---------\n\nThe home page of the ldap3 project is https://github.com/cannatag/ldap3\n\n\nDocumentation\n-------------\n\nDocumentation is available at http://ldap3.readthedocs.io\n\n\nLicense\n-------\n\nThe ldap3 project is open source software released under the **LGPL v3 license**.\nCopyright 2013 - 2020 Giovanni Cannata\n\n\nPEP8 Compliance\n---------------\n\nldap3 is PEP8 compliant, except for line length.\n\n\nDownload\n--------\n\nPackage download is available at https://pypi.python.org/pypi/ldap3.\n\n\nInstall\n-------\n\nInstall with **pip install ldap3**\n\n\nGit repository\n--------------\n\nYou can download the latest source at https://github.com/cannatag/ldap3\n\n\nContinuous integration\n----------------------\n\nContinuous integration for testing is at https://travis-ci.org/cannatag/ldap3\n\n\nSupport & Development\n---------------------\n\nYou can submit support tickets on https://github.com/cannatag/ldap3/issues/new\nYou can submit pull request on the **dev** branch at https://github.com/cannatag/ldap3/tree/dev\n\n\nThanks to\n---------\n\n* **Ilya Etingof**, the author of the *pyasn1* package for his excellent work and support.\n\n* **Mark Lutz** for his *Learning Python* and *Programming Python* excellent books series and **John Goerzen** and **Brandon Rhodes** for their book *Foundations of Python Network Programming*. These books are wonderful tools for learning Python and this project owes a lot to them.\n\n* **JetBrains** for donating to this project the Open Source license of *PyCharm Professional*.\n\n* **GitHub** for providing the *free source repository space and the tools* I use to develop this project.\n\n* The **FreeIPA** team for letting me use their demo LDAP server in the ldap3 tutorial.\n\n\nContact me\n----------\n\nFor information and suggestions you can contact me at cannatag@gmail.com. You can also open a support ticket on https://github.com/cannatag/ldap3/issues/new\n\n\nDonate\n------\n\nIf you want to keep this project up and running you can send me an Amazon gift card. I will use it to improve my skills in Information and Communication technologies.\n\n\nChangelog\n---------\n\nUpdated changelog at https://ldap3.readthedocs.io/changelog.html\n\n\n\n",
    "bugtrack_url": null,
    "license": "LGPL v3",
    "summary": "A strictly RFC 4510 conforming LDAP V3 pure Python client library",
    "version": "2.9.1",
    "split_keywords": [
        "python3",
        "python2",
        "ldap"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "32fcf2cfa1c5a89f60bd3e1ec315b8d1",
                "sha256": "5ab7febc00689181375de40c396dcad4f2659cd260fc5e94c508b6d77c17e9d5"
            },
            "downloads": -1,
            "filename": "ldap3-2.9.1-py2.6.egg",
            "has_sig": false,
            "md5_digest": "32fcf2cfa1c5a89f60bd3e1ec315b8d1",
            "packagetype": "bdist_egg",
            "python_version": "2.6",
            "requires_python": null,
            "size": 857983,
            "upload_time": "2021-07-18T06:34:15",
            "upload_time_iso_8601": "2021-07-18T06:34:15.772560Z",
            "url": "https://files.pythonhosted.org/packages/4a/5f/76dd3f942e1a73406cbb56efe0b7c4a49511f99e1476e7610f50feb657c0/ldap3-2.9.1-py2.6.egg",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "3005e64cdadc351eb976912b72c3bda1",
                "sha256": "2bc966556fc4d4fa9f445a1c31dc484ee81d44a51ab0e2d0fd05b62cac75daa6"
            },
            "downloads": -1,
            "filename": "ldap3-2.9.1-py2.7.egg",
            "has_sig": false,
            "md5_digest": "3005e64cdadc351eb976912b72c3bda1",
            "packagetype": "bdist_egg",
            "python_version": "2.7",
            "requires_python": null,
            "size": 858184,
            "upload_time": "2021-07-18T06:34:17",
            "upload_time_iso_8601": "2021-07-18T06:34:17.917832Z",
            "url": "https://files.pythonhosted.org/packages/16/db/517b2cdd8e2eb19a41a24ce436ff3ac6986bb5687d82b5af10cfc01c4317/ldap3-2.9.1-py2.7.egg",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "b2446baeb06b7bc4289be44c7831ee9b",
                "sha256": "5869596fc4948797020d3f03b7939da938778a0f9e2009f7a072ccf92b8e8d70"
            },
            "downloads": -1,
            "filename": "ldap3-2.9.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b2446baeb06b7bc4289be44c7831ee9b",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 432192,
            "upload_time": "2021-07-18T06:34:12",
            "upload_time_iso_8601": "2021-07-18T06:34:12.905786Z",
            "url": "https://files.pythonhosted.org/packages/4e/f6/71d6ec9f18da0b2201287ce9db6afb1a1f637dedb3f0703409558981c723/ldap3-2.9.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "15bc26c7e93741dae8e44ee325a8c4ef",
                "sha256": "5630d1383e09ba94839e253e013f1aa1a2cf7a547628ba1265cb7b9a844b5687"
            },
            "downloads": -1,
            "filename": "ldap3-2.9.1-py3.9.egg",
            "has_sig": false,
            "md5_digest": "15bc26c7e93741dae8e44ee325a8c4ef",
            "packagetype": "bdist_egg",
            "python_version": "3.9",
            "requires_python": null,
            "size": 856811,
            "upload_time": "2021-07-18T06:34:20",
            "upload_time_iso_8601": "2021-07-18T06:34:20.253685Z",
            "url": "https://files.pythonhosted.org/packages/e1/7f/9bc8ea8dcaa502168a8972d1c80d0ef6c50b2397de454bb9d452220e54cf/ldap3-2.9.1-py3.9.egg",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "12bbef3ec3dac315a9768eb0c2e4b4ee",
                "sha256": "f3e7fc4718e3f09dda568b57100095e0ce58633bcabbed8667ce3f8fbaa4229f"
            },
            "downloads": -1,
            "filename": "ldap3-2.9.1.tar.gz",
            "has_sig": false,
            "md5_digest": "12bbef3ec3dac315a9768eb0c2e4b4ee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 398830,
            "upload_time": "2021-07-18T06:34:21",
            "upload_time_iso_8601": "2021-07-18T06:34:21.786987Z",
            "url": "https://files.pythonhosted.org/packages/43/ac/96bd5464e3edbc61595d0d69989f5d9969ae411866427b2500a8e5b812c0/ldap3-2.9.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-07-18 06:34:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "cannatag",
    "github_project": "ldap3",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "ldap3"
}
        
Elapsed time: 0.01583s