From 83f5a3f448373a73f2fb89d251a5e6edda16711e Mon Sep 17 00:00:00 2001 From: Xelnor Date: Tue, 21 Jul 2015 22:57:51 +0200 Subject: [PATCH] Update README with project goals. --- README | 35 ++++++++++++++++++++++++++++++----- README.rst | 1 + 2 files changed, 31 insertions(+), 5 deletions(-) create mode 120000 README.rst diff --git a/README b/README index 981f264..d95f710 100644 --- a/README +++ b/README @@ -1,3 +1,25 @@ +====== +pyldap +====== + +pyldap is a fork of the excellent ``python-ldap`` Python project. + +The goals of this fork are the following: + +* Bring Python 3 support to ``python-ldap`` while keeping a PY2-compatible codebase +* Improve tooling and code quality +* Keep backwards compatibility whenever possible + +----------------------- +Backwards compatibility +----------------------- + +Users should be able to replace ``python-ldap`` with ``pyldap`` with minimal impact on their code. +According to this, releases of ``pyldap`` will stick to the numbering of the upstream ``python-ldap`` releases they are based on. + +However, some compatibility toggles will be added to bring cleaner APIs for PY3 code. + + --------------------------------------- python-ldap: LDAP client API for Python --------------------------------------- @@ -22,12 +44,15 @@ For module documentation, see: http://www.python-ldap.org/ Quick usage example: + +.. code-block:: python + import ldap l = ldap.initialize("ldap://my_ldap_server.my_domain") l.simple_bind_s("","") l.search_s("o=My Organisation, c=AU", ldap.SCOPE_SUBTREE, "objectclass=*") -See directory Demo/ of source distribution package for more +See directory ``Demo/`` of source distribution package for more example code. Author(s) contact and documentation: @@ -50,13 +75,13 @@ Acknowledgements: on support for OpenLDAP 2.0.x features. Thanks to Michael Stroeder for the - modules ldif, ldapurl, ldap/schema/*.py, ldap/*.py and ldap/controls/*.py. + modules ``ldif``, ``ldapurl``, ``ldap/schema/*.py``, ``ldap/*.py`` and ``ldap/controls/*.py``. Thanks to Hans Aschauer for the C wrapper schema and SASL support. Thanks to Mauro Cicognini for the - WIN32/MSVC6 bits, and the pre-built WIN32 ldap.pyd. + WIN32/MSVC6 bits, and the pre-built WIN32 ``ldap.pyd``. Thanks to Waldemar Osuch for contributing the new-style docs based on reStructuredText. @@ -65,7 +90,7 @@ Acknowledgements: easy_install support. Thanks to James Andrewartha for - significant contribution to Doc/*.tex. + significant contribution to ``Doc/*.tex``. Thanks to Rich Megginson for extending support for LDAPv3 controls and adding support for LDAPv3 extended @@ -99,4 +124,4 @@ Acknowledgements: Thanks! We may have missed someone: please mail us if we have omitted your name. -$Id: README,v 1.25 2011/10/26 18:43:21 stroeder Exp $ +.. $Id: README,v 1.25 2011/10/26 18:43:21 stroeder Exp $ diff --git a/README.rst b/README.rst new file mode 120000 index 0000000..100b938 --- /dev/null +++ b/README.rst @@ -0,0 +1 @@ +README \ No newline at end of file