summaryrefslogtreecommitdiff
path: root/PKG-INFO
diff options
context:
space:
mode:
Diffstat (limited to 'PKG-INFO')
-rw-r--r--PKG-INFO45
1 files changed, 30 insertions, 15 deletions
diff --git a/PKG-INFO b/PKG-INFO
index 6cabfde..2f587de 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: ldap3
-Version: 2.7
+Version: 2.8.1
Summary: A strictly RFC 4510 conforming LDAP V3 pure Python client library
Home-page: https://github.com/cannatag/ldap3
Author: Giovanni Cannata
@@ -25,15 +25,6 @@ Description: LDAP3
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
--------------------
@@ -42,10 +33,34 @@ Description: LDAP3
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.
+ Version 2.8 note
+ -----------------
+
+ Version 2.8 of ldap3 introduced **SafeSync**, a new connection strategy that can be used in multithreaded programs. In previous version only the ASYNC strategy was thread safe.
+ Each LDAP operation with the SafeSync strategy returns a tuple of four elements: status, result, response and request.
+
+ * status: states if the operation was successful
+
+ * result: the LDAP result of the operation
+
+ * response: the response of a LDAP Search Operation
+
+ * request: the original request of the operation
+
+ The SafeSync strategy can be used with the Abstract Layer, but the Abstract Layer currently is NOT thread safe.
+ The SafeSync import name is *SAFE_SYNC*::
+
+ from ldap3 import Server, Connection, SAFE_SYNC
+ server = Server('my_server')
+ conn = Connection(s, 'my_user', 'my_password', strategy=SAFE_SYNC, auto_bind=True)
+ status, result, response, _ = conn.search('o=test', '(objectclass=*)') # usually you don't need the original request (4th element of the return tuple)
+
+
+
Home Page
---------
- Project home page is https://github.com/cannatag/ldap3
+ The home page of the ldap3 project is https://github.com/cannatag/ldap3
Documentation
@@ -58,7 +73,7 @@ Description: LDAP3
-------
The ldap3 project is open source software released under the **LGPL v3 license**.
- Copyright 2013 - 2018 Giovanni Cannata
+ Copyright 2013 - 2020 Giovanni Cannata
PEP8 Compliance
@@ -91,8 +106,8 @@ Description: LDAP3
Continuous integration for testing is at https://travis-ci.org/cannatag/ldap3
- Support
- -------
+ Support & Development
+ ---------------------
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
@@ -121,7 +136,7 @@ Description: LDAP3
Donate
------
- 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 the Information and Communication technology.
+ 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.
Changelog