{ "info": { "author": "Jeff Stafford", "author_email": "jeff.stafford@queensu.ca", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", "Operating System :: POSIX :: Linux", "Operating System :: Unix", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP" ], "description": "ezldap\n---------------------------------------------\n[![Build Status](https://travis-ci.org/jstaf/ezldap.svg?branch=master)](https://travis-ci.org/jstaf/ezldap)\n[![Coverage Status](https://coveralls.io/repos/github/jstaf/ezldap/badge.svg?branch=master)](https://coveralls.io/github/jstaf/ezldap?branch=master)\n[![PyPI version](https://badge.fury.io/py/ezldap.svg)](https://badge.fury.io/py/ezldap)\n\nAn object-oriented Python LDAP API and set of bundled scripts to make\ncommon LDAP tasks easier.\n\nAlthough several very comprehensive LDAP API's currently exist (notably\n`python-ldap` and `ldap3`), neither are particularly easy to use and\ngenerally focus more on the specifics of communicating via LDAP rather than\nexposing an easy to use high-level API. This package is designed to do that.\nThe target audience of this package is system administrators and support\nstaff who are on a timeline and just need to add a user or write a quick\nscript in a portable manner.\n\nSo how is `ezldap` different? It is a wrapper around the `ldap3`\nAPI that gives access to easily perform a number of high-level tasks\nlike searching an LDAP directory, adding a user and sending them an\nemail, or resetting someone's password securely. This process is\nstreamlined by a configuration script that autodetects as many LDAP\nconfiguration values as possible and automates future connections to the\ndirectory server. Additionally, additions to an LDAP directory are performed\nusing a set of configurable LDIF templates, making it very quick to\ncustomize the behavior of certain actions (like adding a group). Finally,\nfor most tasks, a command-line interface is provided, for users who just\nwant to get started doing stuff.\n\n**Python example:**\n\n```python\nimport ezldap\n\nwith ezldap.auto_bind() as con:\n con.add_user('username', 'groupname', 'password')\n```\n\n**Command-line example:**\n\n```bash\n# a password will be automatically generated\nezldap add_user username groupname\n```\n\n## Installation\n\nYou'll need a copy of Python 3.4+.\nNo other dependencies are necessary,\nthough `pandas` is useful for some use cases.\n\n```bash\npip3 install --user git+https://github.com/jstaf/ezldap.git\nezldap config\n```\n\nConfigure your LDAP connection details with `ezldap config` before using the package.\nYou do not need to run this script as root.\nThe connection details/LDIF templates/etc. for `ezldap` are stored in `~/.ezldap`.\nThough you can store your bind password here for convenience,\nI do not recommend doing so, as it will be stored in cleartext.\nYou may wish to configure the LDIF templates under `~/.ezldap`\nas well if you intend to use this package's add object functionality.\n\n## Running tests\n\nTo run the tests, run the following after installation.\nYou will need to have [Docker](https://www.docker.com/community-edition) installed -\nit is used to spawn a test LDAP server to run tests against.\n\n```\npip3 install pytest pytest-cov pytest-docker docker-compose\npytest\n```\n\n## Using this package\n\nFor command-line documentation and usage info,\nrefer to the `ezldap` command's built-in documentation\n(`ezldap -h` and `ezldap command -h`).\nKeep in mind this package is under active development and may not be appropriate for all use cases.\nFunctionality is constantly being added, and the API should not yet be considered stable.\n\nFor further information, check out the [documentation](https://ezldap.readthedocs.io)!", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jstaf/ezldap", "keywords": "", "license": "BSD3", "maintainer": "", "maintainer_email": "", "name": "ezldap", "package_url": "https://pypi.org/project/ezldap/", "platform": "", "project_url": "https://pypi.org/project/ezldap/", "project_urls": { "Homepage": "https://github.com/jstaf/ezldap" }, "release_url": "https://pypi.org/project/ezldap/0.6.4/", "requires_dist": null, "requires_python": "", "summary": "Scripts and Python bindings for easy LDAP operations.", "version": "0.6.4" }, "last_serial": 4166709, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "64e37f43f5dfc234c7aa6b7a9c037c62", "sha256": "3ffa6deb0ec0d3f2872fac5cdaca375c5ba036ea071430088672367aa4f8c937" }, "downloads": -1, "filename": "ezldap-0.3.tar.gz", "has_sig": false, "md5_digest": "64e37f43f5dfc234c7aa6b7a9c037c62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10235, "upload_time": "2018-04-16T03:04:37", "url": "https://files.pythonhosted.org/packages/a1/94/e3ba747f4d7881e7652800b8b996399fa18be81b399f7fe275f0e4964bdc/ezldap-0.3.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "e04e12d7946836869804c35141cdeaf4", "sha256": "5f705e475afcafe197e17bc0fb1923a8f413df0d63089057679670c3b9e439fc" }, "downloads": -1, "filename": "ezldap-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "e04e12d7946836869804c35141cdeaf4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19408, "upload_time": "2018-05-29T03:29:32", "url": "https://files.pythonhosted.org/packages/ed/6b/ab8c559a1215c0e17e9a6e46f3523b4a84f3cb6b98109ceb6cd27cf26df1/ezldap-0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bfae5035889ade4a25181d230341a1f3", "sha256": "dbe9bbcf57cefabde8965838b4d967921c816d86ba66e98d1600c50c56fc5cc3" }, "downloads": -1, "filename": "ezldap-0.6.tar.gz", "has_sig": false, "md5_digest": "bfae5035889ade4a25181d230341a1f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20001, "upload_time": "2018-05-29T03:29:34", "url": "https://files.pythonhosted.org/packages/5e/b2/c93b3b7c9f7109de6295d772049263a26ae3db787b7de38319cd76255e42/ezldap-0.6.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "76ed5cada5a5445a62419603b70e8143", "sha256": "608ab6bfeb9b0dccdbd9129c243d9c15c88015230271eb729b195f990c195a15" }, "downloads": -1, "filename": "ezldap-0.6.1-py3-none-any.whl", "has_sig": false, "md5_digest": "76ed5cada5a5445a62419603b70e8143", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20125, "upload_time": "2018-06-10T00:42:06", "url": "https://files.pythonhosted.org/packages/7f/1b/974315c71687284325664254eb51a661f97dc1dbe1de990eb8fe5f632031/ezldap-0.6.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5adfa0a7e35d3cd811c74431e17f0591", "sha256": "31ed8868fbd1233be79737d033e3d2fcc51ddf4db98fb566d2582781ca24a796" }, "downloads": -1, "filename": "ezldap-0.6.1.tar.gz", "has_sig": false, "md5_digest": "5adfa0a7e35d3cd811c74431e17f0591", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20615, "upload_time": "2018-06-10T00:42:08", "url": "https://files.pythonhosted.org/packages/58/8d/734deb85f58187673cff6f73f782aa0e6b9fb308c6060649f6de95a9fda2/ezldap-0.6.1.tar.gz" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "b8bfb150d21cd77f81fb0e0c9c5bc704", "sha256": "b5978641c89812b2a2138614ef68b939544f52311fe3edad9a1bee1279638058" }, "downloads": -1, "filename": "ezldap-0.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b8bfb150d21cd77f81fb0e0c9c5bc704", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20341, "upload_time": "2018-08-09T17:56:09", "url": "https://files.pythonhosted.org/packages/77/b0/8b76c8dda820fa8ce188205bac6dcb2d8b3dde211d7ab74e7d6fae49dab0/ezldap-0.6.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "225d12dee4cba573fd64edbdc41b1e6e", "sha256": "99f369c88ef1e2ccfdb1048d00012f1abd3b841a86168afa8cd8c53bfbbac295" }, "downloads": -1, "filename": "ezldap-0.6.2.tar.gz", "has_sig": false, "md5_digest": "225d12dee4cba573fd64edbdc41b1e6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17795, "upload_time": "2018-08-09T17:56:11", "url": "https://files.pythonhosted.org/packages/2f/b5/05e183cff661cbc10faaea5437d16f27692485259797d9db36d8af8d200b/ezldap-0.6.2.tar.gz" } ], "0.6.3": [ { "comment_text": "", "digests": { "md5": "138b7bbe6de2e5921fef5d36491605c8", "sha256": "fbb9f6b7af79cd50fe2708db1afac9764aba8c5c291a9c3b7adc61c984091192" }, "downloads": -1, "filename": "ezldap-0.6.3-py3-none-any.whl", "has_sig": false, "md5_digest": "138b7bbe6de2e5921fef5d36491605c8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20320, "upload_time": "2018-08-09T18:07:00", "url": "https://files.pythonhosted.org/packages/26/2d/10e83ecf5c6ba9ab0836976262eff2d114fa10014096b430f5c41b28f382/ezldap-0.6.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8fc3bb9447e96af61ff288ce495c586", "sha256": "7396b57be932611350206e1dbc8ac07d271656e6c712155f684b2ac981e7f2a7" }, "downloads": -1, "filename": "ezldap-0.6.3.tar.gz", "has_sig": false, "md5_digest": "b8fc3bb9447e96af61ff288ce495c586", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17798, "upload_time": "2018-08-09T18:07:01", "url": "https://files.pythonhosted.org/packages/24/be/05f1f7d21a4af98e487474ae517dbd3e544be6bcbed4f8b037c2e7044151/ezldap-0.6.3.tar.gz" } ], "0.6.4": [ { "comment_text": "", "digests": { "md5": "70b48caea00cd938afb6f6f5b0e44812", "sha256": "14a113ef021b9257bd2ae7487415ca39efd2376ab1adbcdb0cd7fa001f460f4e" }, "downloads": -1, "filename": "ezldap-0.6.4.tar.gz", "has_sig": false, "md5_digest": "70b48caea00cd938afb6f6f5b0e44812", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17803, "upload_time": "2018-08-13T19:55:34", "url": "https://files.pythonhosted.org/packages/34/7d/d5f24aac5c9d898fb171d1b28a79d554c885134c9d7820a7bc47aa6125b7/ezldap-0.6.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "70b48caea00cd938afb6f6f5b0e44812", "sha256": "14a113ef021b9257bd2ae7487415ca39efd2376ab1adbcdb0cd7fa001f460f4e" }, "downloads": -1, "filename": "ezldap-0.6.4.tar.gz", "has_sig": false, "md5_digest": "70b48caea00cd938afb6f6f5b0e44812", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17803, "upload_time": "2018-08-13T19:55:34", "url": "https://files.pythonhosted.org/packages/34/7d/d5f24aac5c9d898fb171d1b28a79d554c885134c9d7820a7bc47aa6125b7/ezldap-0.6.4.tar.gz" } ] }