{ "info": { "author": "Michael van Tellingen", "author_email": "michaelvantellingen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "===============\nWSGI Basic Auth\n===============\n\nReally simple wsgi middleware to provide basic http auth. It is intented to\nwork with environment variables. This makes it simple to use in a docker \ncontext.\n\nStatus\n------\n\n.. image:: https://readthedocs.org/projects/wsgi-basic-auth/badge/?version=latest\n :target: https://readthedocs.org/projects/wsgi-basic-auth/\n\n.. image:: https://travis-ci.org/mvantellingen/wsgi-basic-auth.svg?branch=master\n :target: https://travis-ci.org/mvantellingen/wsgi-basic-auth\n\n.. image:: https://ci.appveyor.com/api/projects/status/im609ng9h29vt89r?svg=true\n :target: https://ci.appveyor.com/project/mvantellingen/wsgi-basic-auth\n\n.. image:: http://codecov.io/github/mvantellingen/wsgi-basic-auth/coverage.svg?branch=master \n :target: http://codecov.io/github/mvantellingen/wsgi-basic-auth?branch=master\n\n.. image:: https://img.shields.io/pypi/v/wsgi-basic-auth.svg\n :target: https://pypi.python.org/pypi/wsgi-basic-auth/\n\n\n\nGetting started\n===============\n\nUsing this module is really simple. In Django for example edit the wsgi.py\nfile and add the following to the end of the file.\n\n.. code-block:: python\n\n from wsgi_basic_auth import BasicAuth \n application = BasicAuth(application) \n\nNow run docker with the env variable WSGI_AUTH_CREDENTIALS=foo:bar and you have\nto authenticate with username foo and password bar. Multiple credentials are\nseparated with a | (pipe) character.\n\nTo exclude specific paths for healthchecks (e.g. the Amazon ELB healthchecks)\nspecify the environment variable WSGI_AUTH_EXCLUDE_PATHS=/api/healthchecks.\nHere multiple paths can be separated with the ; char.\n\nTo include only specific paths specify the environment variable\nWSGI_AUTH_EXCLUDE_PATHS. Here multiple paths can be separated with the ; char.\n\nYou can use both include and exclude paths together for example:\nWSGI_AUTH_PATHS=/foo\nWSGI_AUTH_EXCLUDE_PATHS=/foo/bar\nThis will force Basic Auth on all paths under /foo except /foo/bar\n\n\nInstallation \n============\n\nYou can install the latest version using pip::\n\n pip install wsgi-basic-auth\n\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mvantellingen/wsgi-basic-auth", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wsgi-basic-auth", "package_url": "https://pypi.org/project/wsgi-basic-auth/", "platform": "", "project_url": "https://pypi.org/project/wsgi-basic-auth/", "project_urls": { "Homepage": "https://github.com/mvantellingen/wsgi-basic-auth" }, "release_url": "https://pypi.org/project/wsgi-basic-auth/1.1.0/", "requires_dist": [ "webob (>=1.0.0)", "sphinx (>=1.4.0); extra == 'docs'", "WebTest (==2.0.23); extra == 'test'", "flake8 (==3.0.3); extra == 'test'", "flake8-blind-except (==0.1.1); extra == 'test'", "flake8-debugger (==1.4.0); extra == 'test'", "isort (==4.2.5); extra == 'test'", "pytest (>=2.8.3); extra == 'test'", "pytest-cov (>=2.2.0); extra == 'test'" ], "requires_python": "", "summary": "Simple wsgi middleware to provide basic http auth", "version": "1.1.0" }, "last_serial": 2659090, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "73fa094f14da0301c15abccbf4060000", "sha256": "f391e2c7a3cabaaa93fe862e26eae3be20b74efe3a5162f1fc4a20c3ada1c07e" }, "downloads": -1, "filename": "wsgi-basic-auth-0.0.2.tar.gz", "has_sig": false, "md5_digest": "73fa094f14da0301c15abccbf4060000", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1198, "upload_time": "2015-11-18T21:32:28", "url": "https://files.pythonhosted.org/packages/05/4b/4d6a40552463fcaa9531c533e4418840d59450e08f8519ebe04b60a095c1/wsgi-basic-auth-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "f78871c73b01eb02363b1e20b6140e69", "sha256": "702eb722727b4b0789c671a1249b2428898f69448b68aa7ac22604964bf92a11" }, "downloads": -1, "filename": "wsgi-basic-auth-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f78871c73b01eb02363b1e20b6140e69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2233, "upload_time": "2015-11-18T22:11:31", "url": "https://files.pythonhosted.org/packages/82/5b/cc783426eea52808c576be74a430d428144376c19989db1da1a1e5549417/wsgi-basic-auth-0.0.3.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "7552646fae39c6ed63c78e0a97a49008", "sha256": "044e4b8dace5de02a5a1422ca8c253c5d7190005e2da374305bb0316882a9d3d" }, "downloads": -1, "filename": "wsgi_basic_auth-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7552646fae39c6ed63c78e0a97a49008", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4068, "upload_time": "2016-08-10T14:53:40", "url": "https://files.pythonhosted.org/packages/41/2f/d572c2ca9a0e67ad08ab92bf03fb1053850ca7466b674126c69693eb6089/wsgi_basic_auth-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "82b206554f1d48bd99b0a1297e345b06", "sha256": "f1340d0a82d33ddbe56808cc391a8b486459b36a728574f30bb549d487cdf61c" }, "downloads": -1, "filename": "wsgi-basic-auth-0.1.0.tar.gz", "has_sig": false, "md5_digest": "82b206554f1d48bd99b0a1297e345b06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2327, "upload_time": "2016-08-10T14:50:10", "url": "https://files.pythonhosted.org/packages/0f/71/1e0ca2f09356849f4fed8bf2041329441064bd8536b464e7c03bc6f325fd/wsgi-basic-auth-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "b12626920c9624fdeec8a2d76ac4c107", "sha256": "b368cf715aae209081df8edd1c802a2adf5c9992eba18394c83c41c3522e535d" }, "downloads": -1, "filename": "wsgi_basic_auth-1.0.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "b12626920c9624fdeec8a2d76ac4c107", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5257, "upload_time": "2016-08-10T19:39:16", "url": "https://files.pythonhosted.org/packages/38/72/0256f431e8feabe7d0885254047a8ed821bf29d4a3668e18e771efdbe2dc/wsgi_basic_auth-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9eca460fc109924adb2bb2304957a20b", "sha256": "c498aec75ee63fd2b42d1c86f6ad504bb89089b095695966fce644abe7f21bc1" }, "downloads": -1, "filename": "wsgi-basic-auth-1.0.0.tar.gz", "has_sig": true, "md5_digest": "9eca460fc109924adb2bb2304957a20b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3297, "upload_time": "2016-08-10T19:39:19", "url": "https://files.pythonhosted.org/packages/a6/b0/23703bf866eca1353b2a852cc43e67b94859ecf3d0ec890a03c543f261bd/wsgi-basic-auth-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "64009918ad04fed82b62250c03d6b80f", "sha256": "4c15f6a2ad86db0302b4e13aea347775810a098347a3cc30bf31ef1d4f97b8ff" }, "downloads": -1, "filename": "wsgi_basic_auth-1.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "64009918ad04fed82b62250c03d6b80f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5258, "upload_time": "2016-08-10T19:42:17", "url": "https://files.pythonhosted.org/packages/53/72/890ad7444411d1a0daab8aa06fb7a889b55ffa719cf87df8a5809287985c/wsgi_basic_auth-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "418161bf99d98f3d7110554666b88d58", "sha256": "66eb8c7911365b9fe30f295a8bddd3f3a598b9e6d3d8b40842fa7ad238a1d97f" }, "downloads": -1, "filename": "wsgi-basic-auth-1.0.1.tar.gz", "has_sig": true, "md5_digest": "418161bf99d98f3d7110554666b88d58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3296, "upload_time": "2016-08-10T19:42:21", "url": "https://files.pythonhosted.org/packages/5d/8a/048303d8f82994a2c68a2406bea0d960febb2406be23c6763805a7d81128/wsgi-basic-auth-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f36c357a154ee8d7d6df1915e8af8d39", "sha256": "e0ce8e7e49da60ef5fe4bbb1b44bac0fc39b6eeaf3037b5c93a3772eb24d58ce" }, "downloads": -1, "filename": "wsgi_basic_auth-1.0.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "f36c357a154ee8d7d6df1915e8af8d39", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5257, "upload_time": "2016-08-10T19:43:01", "url": "https://files.pythonhosted.org/packages/4f/76/f82c8096664ac9f7be95077218a3c5fd43223745564d4ed265cce22447bd/wsgi_basic_auth-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9ef96ffedcda573feb476ae88c9e183d", "sha256": "df0db3a8a674ed39a556ac5e6d8ca2223bc84779afee6388773edf39c3ee3c63" }, "downloads": -1, "filename": "wsgi-basic-auth-1.0.2.tar.gz", "has_sig": true, "md5_digest": "9ef96ffedcda573feb476ae88c9e183d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3308, "upload_time": "2016-08-10T19:43:04", "url": "https://files.pythonhosted.org/packages/cd/f5/1f01f9b1fdb9162215cd7af299564eeb4989a56aecf163f7015307c156b8/wsgi-basic-auth-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "268b2d93e5e41a3964710489839b281f", "sha256": "e0c5beef8a51dfec2afad3aa4b19c0570b8b55b5d7c2fcdffdf25a7205202702" }, "downloads": -1, "filename": "wsgi_basic_auth-1.0.3-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "268b2d93e5e41a3964710489839b281f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5284, "upload_time": "2016-08-10T19:44:02", "url": "https://files.pythonhosted.org/packages/91/87/dbd7a5c6c9cb37dfe35911f1b1e336616b233283a4405699e83d568d4342/wsgi_basic_auth-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "52a7a45a34935fc4ba9429bb9d4045bb", "sha256": "aabceb60351c88a881c36cbe91d0148e6feaf88885628779d8c04cc8aa123bbd" }, "downloads": -1, "filename": "wsgi-basic-auth-1.0.3.tar.gz", "has_sig": true, "md5_digest": "52a7a45a34935fc4ba9429bb9d4045bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3365, "upload_time": "2016-08-10T19:44:05", "url": "https://files.pythonhosted.org/packages/1d/6a/c1273b2981e9938c99568ba41efcac696400a2f55875e0c79087bf7c654c/wsgi-basic-auth-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "58b2a1529481b8faa301f0c2dea3c7aa", "sha256": "a8af46b2b2bf2027b6e85d1eea99f68393a706dc8b30b0d7bb501b22a437333c" }, "downloads": -1, "filename": "wsgi_basic_auth-1.0.4-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "58b2a1529481b8faa301f0c2dea3c7aa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5275, "upload_time": "2016-08-10T19:45:18", "url": "https://files.pythonhosted.org/packages/66/b5/021786bdbfbe1d6fae4680643a643392797e5661da1c8b39d9b97c469a63/wsgi_basic_auth-1.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aec291fd45a4b486807815b921c8d8d8", "sha256": "e59665acbb5519e1d3dbce1e35edad035370b44ee476222d57b77dc5c09ab5a1" }, "downloads": -1, "filename": "wsgi-basic-auth-1.0.4.tar.gz", "has_sig": true, "md5_digest": "aec291fd45a4b486807815b921c8d8d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3327, "upload_time": "2016-08-10T19:45:20", "url": "https://files.pythonhosted.org/packages/1c/7b/bbdc691d087b103004cebfca9b67596ab2165dc514c182ce308ac69f1d6d/wsgi-basic-auth-1.0.4.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "e6f8d6c05df2dc53e54b8d3f913f6628", "sha256": "956e61eaca26c5834bbce0097be5d4aaf19a86df3bc873988764ebf0f8422b66" }, "downloads": -1, "filename": "wsgi_basic_auth-1.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "e6f8d6c05df2dc53e54b8d3f913f6628", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5802, "upload_time": "2017-02-21T22:14:11", "url": "https://files.pythonhosted.org/packages/9c/c1/3a40f56e65149d83207af141271ed970d60496afc837f3f09987d2e1b6bb/wsgi_basic_auth-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "164c285ee278ab47f14ed8f810b66368", "sha256": "4afe7bafc2c8dae4d4232adca06d3cd49c833565378a3133a53d788cda5c37b3" }, "downloads": -1, "filename": "wsgi-basic-auth-1.1.0.tar.gz", "has_sig": true, "md5_digest": "164c285ee278ab47f14ed8f810b66368", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4556, "upload_time": "2017-02-21T22:14:12", "url": "https://files.pythonhosted.org/packages/ca/00/37a566ad4d4f1860527e7b3a65368b9c59ac2111660d0d91d4380734246f/wsgi-basic-auth-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e6f8d6c05df2dc53e54b8d3f913f6628", "sha256": "956e61eaca26c5834bbce0097be5d4aaf19a86df3bc873988764ebf0f8422b66" }, "downloads": -1, "filename": "wsgi_basic_auth-1.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "e6f8d6c05df2dc53e54b8d3f913f6628", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5802, "upload_time": "2017-02-21T22:14:11", "url": "https://files.pythonhosted.org/packages/9c/c1/3a40f56e65149d83207af141271ed970d60496afc837f3f09987d2e1b6bb/wsgi_basic_auth-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "164c285ee278ab47f14ed8f810b66368", "sha256": "4afe7bafc2c8dae4d4232adca06d3cd49c833565378a3133a53d788cda5c37b3" }, "downloads": -1, "filename": "wsgi-basic-auth-1.1.0.tar.gz", "has_sig": true, "md5_digest": "164c285ee278ab47f14ed8f810b66368", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4556, "upload_time": "2017-02-21T22:14:12", "url": "https://files.pythonhosted.org/packages/ca/00/37a566ad4d4f1860527e7b3a65368b9c59ac2111660d0d91d4380734246f/wsgi-basic-auth-1.1.0.tar.gz" } ] }