Skip to main content

A strictly RFC 4510 conforming LDAP V3 pure Python client library

Project description

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

Changelog

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ldap3-2.6.tar.gz (354.1 kB view details)

Uploaded Source

Built Distributions

ldap3-2.6.win-amd64.exe (970.6 kB view details)

Uploaded Source

ldap3-2.6-py3.7.egg (781.9 kB view details)

Uploaded Egg

ldap3-2.6-py2.py3-none-any.whl (393.7 kB view details)

Uploaded Python 2Python 3

ldap3-2.6-py2.7.egg (782.6 kB view details)

Uploaded Egg

ldap3-2.6-py2.6.egg (783.5 kB view details)

Uploaded Egg

File details

Details for the file ldap3-2.6.tar.gz.

File metadata

  • Download URL: ldap3-2.6.tar.gz
  • Upload date:
  • Size: 354.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ldap3-2.6.tar.gz
Algorithm Hash digest
SHA256 0533eefc18d5ce0532f07fe1ce4e1f27128e1073845a6bf39fef2c828a401bb8
MD5 df80d747d541fb7c8e3950c8ee129c77
BLAKE2b-256 7966d297c6f3c30b69c813c06e8933769c2732c83d35ca584107346d81ab2eee

See more details on using hashes here.

File details

Details for the file ldap3-2.6.win-amd64.exe.

File metadata

  • Download URL: ldap3-2.6.win-amd64.exe
  • Upload date:
  • Size: 970.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ldap3-2.6.win-amd64.exe
Algorithm Hash digest
SHA256 e775a64638569d6bb9c827c02e8e3d34a5e52507eb6e6f66e9d762b205feab7e
MD5 6239b7a846b1e6297c01b9cf88274f4d
BLAKE2b-256 d2f7efb9449b018bbc65fd2ab73ecbf5d48a81d9dc6e402b5ba5e442d99a9fb1

See more details on using hashes here.

File details

Details for the file ldap3-2.6-py3.7.egg.

File metadata

  • Download URL: ldap3-2.6-py3.7.egg
  • Upload date:
  • Size: 781.9 kB
  • Tags: Egg
  • Uploaded using 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

File hashes

Hashes for ldap3-2.6-py3.7.egg
Algorithm Hash digest
SHA256 9f1291c43d5895ce42e4fdf0d19060d746a7ed685010e6917728848ca06597f8
MD5 a7ff2f47a77e9410d6fa2c305ab514cc
BLAKE2b-256 549007715da2e22adacf7552df6a3fdcedc6ae80ace4367fa31ec4b8b5d3e566

See more details on using hashes here.

File details

Details for the file ldap3-2.6-py2.py3-none-any.whl.

File metadata

  • Download URL: ldap3-2.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 393.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for ldap3-2.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a92e380a0265963dc5507580ecd51eb84677e00c3d7800517b6442ef046f6ece
MD5 985fab913976f36955a4748da725ef05
BLAKE2b-256 b53c57f87ba620248f003e36cbc2f7b163d9a865bcfe13a82272b0543f72a09b

See more details on using hashes here.

File details

Details for the file ldap3-2.6-py2.7.egg.

File metadata

  • Download URL: ldap3-2.6-py2.7.egg
  • Upload date:
  • Size: 782.6 kB
  • Tags: Egg
  • Uploaded using 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

File hashes

Hashes for ldap3-2.6-py2.7.egg
Algorithm Hash digest
SHA256 f0c376b61a629b74407952d8de5664ce1a261c6da23079f3e1a81440114470cf
MD5 86a5413e682bbb60a44b25fa49b0ff49
BLAKE2b-256 4f1b2a90c43d2aaac87ae6e6ed27091a7d236626c6031155cfdd4fb73b8edd4b

See more details on using hashes here.

File details

Details for the file ldap3-2.6-py2.6.egg.

File metadata

  • Download URL: ldap3-2.6-py2.6.egg
  • Upload date:
  • Size: 783.5 kB
  • Tags: Egg
  • Uploaded using 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

File hashes

Hashes for ldap3-2.6-py2.6.egg
Algorithm Hash digest
SHA256 96daaa1dc3c5c82bdf625443e03179ad93f783043395ec293f5ce4301513774f
MD5 b54ae600a43e462b3913ddf9cf0e6d51
BLAKE2b-256 75ede1d1de7238ac1797ae25e4dcedac17b30299277f525cdf0b0e57d9179363

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page