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.7.tar.gz (387.6 kB view details)

Uploaded Source

Built Distributions

ldap3-2.7.win-amd64.exe (997.6 kB view details)

Uploaded Source

ldap3-2.7-py3.8.egg (835.2 kB view details)

Uploaded Egg

ldap3-2.7-py2.py3-none-any.whl (420.7 kB view details)

Uploaded Python 2Python 3

ldap3-2.7-py2.7.egg (836.3 kB view details)

Uploaded Egg

ldap3-2.7-py2.6.egg (837.3 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: ldap3-2.7.tar.gz
  • Upload date:
  • Size: 387.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for ldap3-2.7.tar.gz
Algorithm Hash digest
SHA256 17f04298b70bf7ecaa5db8a7d8622b5a962ef7fc2b245b2eea705ac1c24338c0
MD5 b821e5d92f6f82df143533174f5263f6
BLAKE2b-256 c2493bf179229a92ae87ff2dca1609c2ad599c497938f90fd5d66d02aa8e977e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.7.win-amd64.exe
  • Upload date:
  • Size: 997.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for ldap3-2.7.win-amd64.exe
Algorithm Hash digest
SHA256 53aaae5bf14f3827c69600ddf4d61b88f49c055bb93060e9702c5bafd206c744
MD5 9bad3e316d8a9ad878218f61a6cdb0c2
BLAKE2b-256 b84fc1a7aefe21cae5b40b82751c31fcbdf42a9bfdad8d12d381417cafee3c49

See more details on using hashes here.

File details

Details for the file ldap3-2.7-py3.8.egg.

File metadata

  • Download URL: ldap3-2.7-py3.8.egg
  • Upload date:
  • Size: 835.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for ldap3-2.7-py3.8.egg
Algorithm Hash digest
SHA256 298769ab0232b3a3efa1e84881096c24526fe37911c83a11285f222fe4975efd
MD5 23fb7efe2dcc16d3fad5145bc8caff30
BLAKE2b-256 5fcacab4454df88cfe570efa23560e1d1f4b4af4339a79aec1ac8d4015d3b291

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 420.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for ldap3-2.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 81df4ac8b6df10fb1f05b17c18d0cb8c4c344d5a03083c382824960ed959cf5b
MD5 73ac5841010ffaa08ab541d1d3d4bb46
BLAKE2b-256 7e22c942210f4ad383ccf9e4b0980a2922f0af7452be811c56d585748b9a5a01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.7-py2.7.egg
  • Upload date:
  • Size: 836.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for ldap3-2.7-py2.7.egg
Algorithm Hash digest
SHA256 4fd2db72d0412cc16ee86be01332095e86e361329c3579b314231eb2e56c7871
MD5 9cf7a8af39c31f0fbcc7a4e5a27a043d
BLAKE2b-256 ade70e18f5f4664b1d36e0725fbcac4d343ce003aab8dca187842b0c3ee9293d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.7-py2.6.egg
  • Upload date:
  • Size: 837.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for ldap3-2.7-py2.6.egg
Algorithm Hash digest
SHA256 52ab557b3c4908db4a90bea16731aa714b1b54e039b54fd4c4b83994c6c48c0c
MD5 06e5f7907520c3db9cfca5a3014388f8
BLAKE2b-256 253b1b16af672b729da67c1a7641a875ef50d7878b726854c85830df19332812

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