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.5.2.tar.gz (352.9 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.5.2.win-amd64.exe (968.3 kB view details)

Uploaded Source

ldap3-2.5.2-py3.7.egg (781.0 kB view details)

Uploaded Egg

ldap3-2.5.2-py2.py3-none-any.whl (393.4 kB view details)

Uploaded Python 2Python 3

ldap3-2.5.2-py2.7.egg (781.7 kB view details)

Uploaded Egg

ldap3-2.5.2-py2.6.egg (782.5 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: ldap3-2.5.2.tar.gz
  • Upload date:
  • Size: 352.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for ldap3-2.5.2.tar.gz
Algorithm Hash digest
SHA256 3f67c83185b1f0df8fdf6b52fa42c55bc9e9b7120c8b7fec60f0d6003c536d18
MD5 5cb64e4f33c5cd408107ac5efa738ec9
BLAKE2b-256 c9411c982033eb0355e0aa7da3a070d7869ca4705181012c10737a20b283913d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.5.2.win-amd64.exe
  • Upload date:
  • Size: 968.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for ldap3-2.5.2.win-amd64.exe
Algorithm Hash digest
SHA256 6b4139184ef0d160415f94e5cfaa039e5b725ba6986cff49139d35c37d230f00
MD5 d57471da417bd0316d45c8d6403a91e3
BLAKE2b-256 ee75f443460958d831446a6c4634418505c49ff9f5c729186b9b2e2b28aa18b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.5.2-py3.7.egg
  • Upload date:
  • Size: 781.0 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for ldap3-2.5.2-py3.7.egg
Algorithm Hash digest
SHA256 0b70034b0a535b36d1103b37c121f7efa718bb88d0ed9023f121b24b834a9584
MD5 c60fcddcee775b09c56e6ae2f183df91
BLAKE2b-256 b0279ecb104537dcbbbd43379290c7a45f2ad46d75165e08e685c3130c1bd924

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.5.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 393.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for ldap3-2.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dd9be8ea27773c4ffc18ede0b95c3ca1eb12513a184590b9f8ae423db3f71eb9
MD5 826c4a4f93d77ae1b50dadd97ca7d553
BLAKE2b-256 549355d4de43abf3af1b60befa648811538b49701237e5cbda456608384b25ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.5.2-py2.7.egg
  • Upload date:
  • Size: 781.7 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for ldap3-2.5.2-py2.7.egg
Algorithm Hash digest
SHA256 a8cf20c3b51032399cd74a42a0d31dbf0a8bc450598f0972e167ad992a43c9f2
MD5 67e4c9d7c5e10a403927386a324d9bca
BLAKE2b-256 1e33678ce9d53dd63732b62bc0e336ea334b13e1eda5448dcbb1690e38be7505

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldap3-2.5.2-py2.6.egg
  • Upload date:
  • Size: 782.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for ldap3-2.5.2-py2.6.egg
Algorithm Hash digest
SHA256 7a88f3cc2584031e97a2e19f906abb8f655aca80b838d454b1d3c9e103a36c4b
MD5 3f8d4247c95695351584b9a67dbf80d0
BLAKE2b-256 e438c4c8a2ef96d83a1763a68057e2e5f7300f65188f1fd82fc51e73c7edd407

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