{ "info": { "author": "Timothy Crosley", "author_email": "timothy.crosley@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "hug\\_authentication\\_ldap\n=========================\n\n|PyPI version| |Build Status| |Coverage Status| |License| |Join the chat\nat https://gitter.im/timothycrosley/hug|\n\nEasy to use LDAP based authentication support for hug:\n\n.. code:: py\n\n import hug\n import hug_authentication_ldap\n\n\n authentication = hug_authentication_ldap.basic('myldap.server.net', 'uid={user_name},ou=people')\n\n\n @hug.get(requires=authentication)\n def say_hello(hug_user):\n return 'Hello {}!'.format(hug_user.name)\n\nOr, for general reusable LDAP password verification within hug:\n\n.. code:: py\n\n import hug\n import hug_authentication_ldap\n\n\n ldap_check = hug_authentication_ldap.verify('myldap.server.net', 'uid={user_name},ou=people')\n\n\n @hug.get()\n def check(user_name, password):\n if ldap_check(user_name, password):\n return True\n\n return False\n\nInstalling hug\\_authentication\\_ldap\n====================================\n\nInstalling hug\\_authentication\\_ldap is as simple as:\n\n.. code:: bash\n\n pip3 install hug_authentication_ldap --upgrade\n\nIdeally, within a virtual environment.\n\nWhat is hug\\_authentication\\_ldap?\n==================================\n\nAn extension for hug that provides LDAP based authentication support\n\n--------------\n\nThanks and I hope you find hug\\_authentication\\_ldap helpful!\n\n~Timothy Crosley\n\n.. |PyPI version| image:: https://badge.fury.io/py/hug_authentication_ldap.svg\n :target: http://badge.fury.io/py/hug_authentication_ldap\n.. |Build Status| image:: https://travis-ci.org/timothycrosley/hug_authentication_ldap.svg?branch=master\n :target: https://travis-ci.org/timothycrosley/hug_authentication_ldap\n.. |Coverage Status| image:: https://coveralls.io/repos/timothycrosley/hug_authentication_ldap/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/timothycrosley/hug_authentication_ldap?branch=master\n.. |License| image:: https://img.shields.io/github/license/mashape/apistatus.svg\n :target: https://pypi.python.org/pypi/hug_authentication_ldap/\n.. |Join the chat at https://gitter.im/timothycrosley/hug| image:: https://badges.gitter.im/Join%20Chat.svg\n :target: https://gitter.im/timothycrosley/hug?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/timothycrosley/hug_authentication_ldap", "keywords": "Python,Python3", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "hug_authentication_ldap", "package_url": "https://pypi.org/project/hug_authentication_ldap/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hug_authentication_ldap/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/timothycrosley/hug_authentication_ldap" }, "release_url": "https://pypi.org/project/hug_authentication_ldap/1.0.3/", "requires_dist": null, "requires_python": null, "summary": "LDAP based authentication support for hug", "version": "1.0.3" }, "last_serial": 2057157, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ec997e1c05524efb2431b4b0d3a84301", "sha256": "9451be2b67781339a2bd9763f574adf1ea558d8ec9fdd5feab6d9cb1e1bad445" }, "downloads": -1, "filename": "hug_authentication_ldap-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ec997e1c05524efb2431b4b0d3a84301", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3370, "upload_time": "2016-04-11T05:12:58", "url": "https://files.pythonhosted.org/packages/ab/c0/34ff9900848d092ae6dc20ec46b661dc4aaeca7646be45d5f7d1092daea1/hug_authentication_ldap-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "5a307e1a5b8aefc187672cb0f515f6ba", "sha256": "e78eef9462fc197143d6c0c7aabc5904efe6bff6cc0fb3dd202a0a88a033da32" }, "downloads": -1, "filename": "hug_authentication_ldap-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5a307e1a5b8aefc187672cb0f515f6ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3364, "upload_time": "2016-04-11T05:33:43", "url": "https://files.pythonhosted.org/packages/d3/a2/d1f19e290ffc9f687e0a4224bcef8ea0a683cbe9939561cadebded45ca0f/hug_authentication_ldap-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ba6857af903a239b080a2925f26d7b5c", "sha256": "19d1d74664173b3e9ba81a0ab7148fefe2ac6844ef009a3e48299d95d7f21972" }, "downloads": -1, "filename": "hug_authentication_ldap-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ba6857af903a239b080a2925f26d7b5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3955, "upload_time": "2016-04-11T05:35:35", "url": "https://files.pythonhosted.org/packages/73/97/d88bcd64c7f98c223eb11a1d491f045722add3d8101866d50addd0eabaa9/hug_authentication_ldap-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "20620185b4434c9514febc42682e981b", "sha256": "4bd96cc3b06580689f3c437d5c2a219c2fb51a1716213fb554f0fbdd9096baa7" }, "downloads": -1, "filename": "hug_authentication_ldap-1.0.3.tar.gz", "has_sig": false, "md5_digest": "20620185b4434c9514febc42682e981b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4050, "upload_time": "2016-04-11T06:08:08", "url": "https://files.pythonhosted.org/packages/8e/0f/0d140b6fa7a198490c2c98521e0e818c2f300ccbca1cff1230251b85b510/hug_authentication_ldap-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "20620185b4434c9514febc42682e981b", "sha256": "4bd96cc3b06580689f3c437d5c2a219c2fb51a1716213fb554f0fbdd9096baa7" }, "downloads": -1, "filename": "hug_authentication_ldap-1.0.3.tar.gz", "has_sig": false, "md5_digest": "20620185b4434c9514febc42682e981b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4050, "upload_time": "2016-04-11T06:08:08", "url": "https://files.pythonhosted.org/packages/8e/0f/0d140b6fa7a198490c2c98521e0e818c2f300ccbca1cff1230251b85b510/hug_authentication_ldap-1.0.3.tar.gz" } ] }