No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

166 líneas
5.3 KiB

  1. Metadata-Version: 2.1
  2. Name: ldap3
  3. Version: 2.9.1
  4. Summary: A strictly RFC 4510 conforming LDAP V3 pure Python client library
  5. Home-page: https://github.com/cannatag/ldap3
  6. Author: Giovanni Cannata
  7. Author-email: cannatag@gmail.com
  8. License: LGPL v3
  9. Keywords: python3 python2 ldap
  10. Platform: UNKNOWN
  11. Classifier: Development Status :: 5 - Production/Stable
  12. Classifier: Intended Audience :: Developers
  13. Classifier: Intended Audience :: System Administrators
  14. Classifier: Operating System :: MacOS :: MacOS X
  15. Classifier: Operating System :: Microsoft :: Windows
  16. Classifier: Operating System :: POSIX :: Linux
  17. Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
  18. Classifier: Programming Language :: Python
  19. Classifier: Programming Language :: Python :: 2
  20. Classifier: Programming Language :: Python :: 3
  21. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  22. Classifier: Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP
  23. Requires-Dist: pyasn1 (>=0.4.6)
  24. LDAP3
  25. =====
  26. .. image:: https://img.shields.io/pypi/v/ldap3.svg
  27. :target: https://pypi.python.org/pypi/ldap3/
  28. :alt: Latest Version
  29. .. image:: https://img.shields.io/pypi/l/ldap3.svg
  30. :target: https://pypi.python.org/pypi/ldap3/
  31. :alt: License
  32. .. image:: https://img.shields.io/travis/cannatag/ldap3/master.svg
  33. :target: https://travis-ci.org/cannatag/ldap3
  34. :alt: TRAVIS-CI build status for master branch
  35. 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.
  36. A more pythonic LDAP
  37. --------------------
  38. LDAP operations look clumsy and hard-to-use because they reflect the old-age idea that time-consuming operations should be performed client-side
  39. to not hog the server with heavy elaborations. To alleviate this ldap3 includes a fully functional **Abstraction Layer** that lets you
  40. 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.
  41. Thread safe strategies
  42. ----------------------
  43. In multithreaded programs you must use on of **SAFE_SYNC** (synchronous connection strategy), **SAFE_RESTARTABLE** (restartable syncronous connection strategy) or **ASYNC** (asynchronous connection strategy).
  44. Each LDAP operation with SAFE_SYNC or SAFE_RESTARTABLE strategies returns a tuple of four elements: status, result, response and request.
  45. * status: states if the operation was successful
  46. * result: the LDAP result of the operation
  47. * response: the response of a LDAP Search Operation
  48. * request: the original request of the operation
  49. The SafeSync strategy can be used with the Abstract Layer, but the Abstract Layer currently is NOT thread safe.
  50. For example, to use *SAFE_SYNC*::
  51. from ldap3 import Server, Connection, SAFE_SYNC
  52. server = Server('my_server')
  53. conn = Connection(server, 'my_user', 'my_password', client_strategy=SAFE_SYNC, auto_bind=True)
  54. status, result, response, _ = conn.search('o=test', '(objectclass=*)') # usually you don't need the original request (4th element of the returned tuple)
  55. With *ASYNC* you must request the response with the *get_response()* method.
  56. Home Page
  57. ---------
  58. The home page of the ldap3 project is https://github.com/cannatag/ldap3
  59. Documentation
  60. -------------
  61. Documentation is available at http://ldap3.readthedocs.io
  62. License
  63. -------
  64. The ldap3 project is open source software released under the **LGPL v3 license**.
  65. Copyright 2013 - 2020 Giovanni Cannata
  66. PEP8 Compliance
  67. ---------------
  68. ldap3 is PEP8 compliant, except for line length.
  69. Download
  70. --------
  71. Package download is available at https://pypi.python.org/pypi/ldap3.
  72. Install
  73. -------
  74. Install with **pip install ldap3**
  75. Git repository
  76. --------------
  77. You can download the latest source at https://github.com/cannatag/ldap3
  78. Continuous integration
  79. ----------------------
  80. Continuous integration for testing is at https://travis-ci.org/cannatag/ldap3
  81. Support & Development
  82. ---------------------
  83. You can submit support tickets on https://github.com/cannatag/ldap3/issues/new
  84. You can submit pull request on the **dev** branch at https://github.com/cannatag/ldap3/tree/dev
  85. Thanks to
  86. ---------
  87. * **Ilya Etingof**, the author of the *pyasn1* package for his excellent work and support.
  88. * **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.
  89. * **JetBrains** for donating to this project the Open Source license of *PyCharm Professional*.
  90. * **GitHub** for providing the *free source repository space and the tools* I use to develop this project.
  91. * The **FreeIPA** team for letting me use their demo LDAP server in the ldap3 tutorial.
  92. Contact me
  93. ----------
  94. 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
  95. Donate
  96. ------
  97. If you want to keep this project up and running you can send me an Amazon gift card. I will use it to improve my skills in Information and Communication technologies.
  98. Changelog
  99. ---------
  100. Updated changelog at https://ldap3.readthedocs.io/changelog.html