Skip to main content

A strictly RFC 4510 conforming LDAP V3 pure Python client library. The same codebase works with Python 2, Python 3, PyPy and PyPy3

Project description

Latest Version License

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 done on the client to not clutter and hog the server with unneeded elaboration. ldap3 includes a fully functional Abstraction Layer that lets you interact with the DIT 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, 2014, 2015, 2016 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 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.1.0.tar.gz (312.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ldap3-2.1.0.win-amd64.exe (940.9 kB view details)

Uploaded Source

ldap3-2.1.0-py3.5.egg (723.1 kB view details)

Uploaded Egg

ldap3-2.1.0-py2.7.egg (716.6 kB view details)

Uploaded Egg

ldap3-2.1.0-py2.6.egg (717.2 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: ldap3-2.1.0.tar.gz
  • Upload date:
  • Size: 312.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ldap3-2.1.0.tar.gz
Algorithm Hash digest
SHA256 8a9b0331d9405884ac273106ded1a7d9ad5ba3e309c4bad25bae7dc5774cc809
MD5 848276f5479eec54ddf4ba45938fd9e4
BLAKE2b-256 4453b458da2329ad57fa0044717cace2fa901ea6999bc141e6d65245f77e4eb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.1.0.win-amd64.exe
  • Upload date:
  • Size: 940.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ldap3-2.1.0.win-amd64.exe
Algorithm Hash digest
SHA256 767e57d3c4520858600d107fa63a4fd89fbb469429712617e1a4d6e39856a0a3
MD5 ae83398608b1c0b9fd652d1259e15b14
BLAKE2b-256 3de25f0fa53343fb392a8edc52fa34582d1e24935eaac160e8c4f2e986be1426

See more details on using hashes here.

File details

Details for the file ldap3-2.1.0-py3.5.egg.

File metadata

  • Download URL: ldap3-2.1.0-py3.5.egg
  • Upload date:
  • Size: 723.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ldap3-2.1.0-py3.5.egg
Algorithm Hash digest
SHA256 d9cfce68843bb2de2cdacc9e3d32910121acde1635633e85823c03901ef8c24a
MD5 980c453cbb4463012b9e521d9b4db11c
BLAKE2b-256 708af7404436c5b318ff47a99b143c107f26697635a707ed20d44c9a9ff306d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.1.0-py2.7.egg
  • Upload date:
  • Size: 716.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ldap3-2.1.0-py2.7.egg
Algorithm Hash digest
SHA256 c3dc42e2a17769ed7b233af6f9e79ccbdc0f94ec0cacc566fc9f63c71ac0a00c
MD5 264f8c587c3e872020f00dd85295d2fb
BLAKE2b-256 cf023001034f1b3c52ce91fe45d0743fa1e549e15bd280fc3a99d6bd46311c4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.1.0-py2.6.egg
  • Upload date:
  • Size: 717.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ldap3-2.1.0-py2.6.egg
Algorithm Hash digest
SHA256 79f5a821244bdf75fb70acc46b576e6ebfc4bee4ac62da220efb4609959b6d2a
MD5 7e78c58f0d2601f8e2132c87bfaa1963
BLAKE2b-256 32cd0a87aac20116da1eebd9d5747130833ca4059bafad7273d5d3a9766ef513

See more details on using hashes here.

Supported by

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