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, 2014, 2015, 2016, 2017 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.2.4.tar.gz (332.4 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.2.4.win-amd64.exe (954.8 kB view details)

Uploaded Source

ldap3-2.2.4-py3.6.egg (748.3 kB view details)

Uploaded Egg

ldap3-2.2.4-py2.py3-none-any.whl (366.5 kB view details)

Uploaded Python 2Python 3

ldap3-2.2.4-py2.7.egg (748.4 kB view details)

Uploaded Egg

ldap3-2.2.4-py2.6.egg (749.4 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for ldap3-2.2.4.tar.gz
Algorithm Hash digest
SHA256 40c4d670e8e0f046ba2e29e3d9592b810c22094dcce83240a1c1695fb3602604
MD5 d4d9489cdd08184423737d167378e9ce
BLAKE2b-256 be48a581507db8ffee8fe0021a8ce13c80ff35ea0511f1fd964b054d92cc7674

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ldap3-2.2.4.win-amd64.exe
Algorithm Hash digest
SHA256 5f813364cb359ceab1373c0d41d3acc2e55c5325c696978068c22e04d970b497
MD5 ad1b80cdb228308ef430675228e1ddb7
BLAKE2b-256 d98e1aa061cc8bebdc5ebe6ea2a1e13bec7fa96f0dfda317bb3b17fc47172b81

See more details on using hashes here.

File details

Details for the file ldap3-2.2.4-py3.6.egg.

File metadata

  • Download URL: ldap3-2.2.4-py3.6.egg
  • Upload date:
  • Size: 748.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ldap3-2.2.4-py3.6.egg
Algorithm Hash digest
SHA256 e8bdabe2dfbcce38f18c101af7ff8f620900a3c0510ee1643d99981f021dd71c
MD5 515e6a548a9d1d8a1499ecd54e461e51
BLAKE2b-256 3024bd81b4ea60f47d3109699b390cf2a9b3f0360db68987d87e7e6489e7e118

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ldap3-2.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f949876bbb54a0a5eb8f15b359d055141782774c89629495bfe842558745804c
MD5 136548d45d04de9932ba5f005b107dcd
BLAKE2b-256 4224191c7ee4775a5fcc35fd28deac8380cb82eab20afc5b5cb70cba215e6100

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ldap3-2.2.4-py2.7.egg
Algorithm Hash digest
SHA256 d9cddd2da1499d04d3ab68012a606c1671dea1efbbab8bae88d7d08c9f087ca8
MD5 7fb2fe91ad15dd5233d080e8fbb977a4
BLAKE2b-256 01034affc089be1d922c6a749a0865cc63c04a2b90302a4b5d294ef24c579e38

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ldap3-2.2.4-py2.6.egg
Algorithm Hash digest
SHA256 5d3c7ef110f7cc6bb15cec1748fa6564e3506ede9743cd732e74911fd540923a
MD5 62ec356e29d5484e0ef68cae6f65a1c0
BLAKE2b-256 3d2fc0391a436bffb0a537e564415e46293a17d8083ee0be521290dd91c328d1

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