Skip to main content
Latest Version License 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.

Version 2 warning

In version 2 of ldap3 some default values have been changed and the ldap3 namespace has been decluttered, removing redundant constants (look at the changelog for details). Also, the result code constants were moved to ldap3.core.results and the ldap3 custom exceptions were stored in ldap3.core.exceptions. If you experience errors in your existing code you should rearrange the import statements or explicitly set the defaults to their former values.

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.

Home Page

Project home page 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 - 2018 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

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 the Information and Communication technology.

Changelog

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

Release files for ldap3 2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ldap3 2.6
File Size Uploaded
ldap3-2.6.tar.gz 354.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for ldap3 2.6
File
ldap3-2.6.win-amd64.exe Details
ldap3-2.6-py3.7.egg Legacy Egg format - - Details
ldap3-2.6-py2.py3-none-any.whl Python 2, Python 3 none any Details
ldap3-2.6-py2.7.egg Legacy Egg format - - Details
ldap3-2.6-py2.6.egg Legacy Egg format - - Details

Total release size: 4.1 MB

Release files / ldap3-2.6.tar.gz

Download URL ldap3-2.6.tar.gz
Size 354.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0533eefc18d5ce0532f07fe1ce4e1f27128e1073845a6bf39fef2c828a401bb8
BLAKE2b-256 checksum
How to use checksums
7966d297c6f3c30b69c813c06e8933769c2732c83d35ca584107346d81ab2eee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / ldap3-2.6.win-amd64.exe

Download URL ldap3-2.6.win-amd64.exe
Size 970.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e775a64638569d6bb9c827c02e8e3d34a5e52507eb6e6f66e9d762b205feab7e
BLAKE2b-256 checksum
How to use checksums
d2f7efb9449b018bbc65fd2ab73ecbf5d48a81d9dc6e402b5ba5e442d99a9fb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / ldap3-2.6-py3.7.egg

Download URL ldap3-2.6-py3.7.egg
Size 781.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
9f1291c43d5895ce42e4fdf0d19060d746a7ed685010e6917728848ca06597f8
BLAKE2b-256 checksum
How to use checksums
549007715da2e22adacf7552df6a3fdcedc6ae80ace4367fa31ec4b8b5d3e566
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / ldap3-2.6-py2.py3-none-any.whl

Download URL ldap3-2.6-py2.py3-none-any.whl
Size 393.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a92e380a0265963dc5507580ecd51eb84677e00c3d7800517b6442ef046f6ece
BLAKE2b-256 checksum
How to use checksums
b53c57f87ba620248f003e36cbc2f7b163d9a865bcfe13a82272b0543f72a09b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / ldap3-2.6-py2.7.egg

Download URL ldap3-2.6-py2.7.egg
Size 782.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
f0c376b61a629b74407952d8de5664ce1a261c6da23079f3e1a81440114470cf
BLAKE2b-256 checksum
How to use checksums
4f1b2a90c43d2aaac87ae6e6ed27091a7d236626c6031155cfdd4fb73b8edd4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / ldap3-2.6-py2.6.egg

Download URL ldap3-2.6-py2.6.egg
Size 783.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
96daaa1dc3c5c82bdf625443e03179ad93f783043395ec293f5ce4301513774f
BLAKE2b-256 checksum
How to use checksums
75ede1d1de7238ac1797ae25e4dcedac17b30299277f525cdf0b0e57d9179363
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
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