{ "info": { "author": "iStrategyLabs", "author_email": "dev@isl.co", "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_INCLUDE_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", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/istrategylabs/wsgi-basic-auth", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "wsgi-basic-auth-isl", "package_url": "https://pypi.org/project/wsgi-basic-auth-isl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wsgi-basic-auth-isl/", "project_urls": { "Homepage": "https://github.com/istrategylabs/wsgi-basic-auth" }, "release_url": "https://pypi.org/project/wsgi-basic-auth-isl/1.0.4/", "requires_dist": null, "requires_python": null, "summary": "Simple wsgi middleware to provide basic http auth", "version": "1.0.4" }, "last_serial": 2610258, "releases": { "1.0.4": [ { "comment_text": "", "digests": { "md5": "0fc0ae2bfd9afd4d8fccf3a092f90302", "sha256": "6e525f521e2257df00e34316b5503397ce93dca0e453c12cbd7044e55a3a606b" }, "downloads": -1, "filename": "wsgi_basic_auth_isl-1.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0fc0ae2bfd9afd4d8fccf3a092f90302", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 5407, "upload_time": "2017-01-31T21:34:35", "url": "https://files.pythonhosted.org/packages/78/d9/da2ea2ae0bd973904c574188f2c42d894046e1aac9033d54da19bb1699ea/wsgi_basic_auth_isl-1.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1113d2ee353bfcfb98ed83dd77f71d34", "sha256": "40f6e21c5bfc3e4053f3c2be1b556a584e39b4f2d3d22b28601d3910929aea95" }, "downloads": -1, "filename": "wsgi-basic-auth-isl-1.0.4.tar.gz", "has_sig": false, "md5_digest": "1113d2ee353bfcfb98ed83dd77f71d34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3801, "upload_time": "2017-01-31T21:43:34", "url": "https://files.pythonhosted.org/packages/cd/5c/9fa288046660ba099223f864c23f9c142c092e92c614c958868c5f0ae68c/wsgi-basic-auth-isl-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0fc0ae2bfd9afd4d8fccf3a092f90302", "sha256": "6e525f521e2257df00e34316b5503397ce93dca0e453c12cbd7044e55a3a606b" }, "downloads": -1, "filename": "wsgi_basic_auth_isl-1.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0fc0ae2bfd9afd4d8fccf3a092f90302", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 5407, "upload_time": "2017-01-31T21:34:35", "url": "https://files.pythonhosted.org/packages/78/d9/da2ea2ae0bd973904c574188f2c42d894046e1aac9033d54da19bb1699ea/wsgi_basic_auth_isl-1.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1113d2ee353bfcfb98ed83dd77f71d34", "sha256": "40f6e21c5bfc3e4053f3c2be1b556a584e39b4f2d3d22b28601d3910929aea95" }, "downloads": -1, "filename": "wsgi-basic-auth-isl-1.0.4.tar.gz", "has_sig": false, "md5_digest": "1113d2ee353bfcfb98ed83dd77f71d34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3801, "upload_time": "2017-01-31T21:43:34", "url": "https://files.pythonhosted.org/packages/cd/5c/9fa288046660ba099223f864c23f9c142c092e92c614c958868c5f0ae68c/wsgi-basic-auth-isl-1.0.4.tar.gz" } ] }