{ "info": { "author": "Ben Lopatin", "author_email": "ben@benlopatin.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "==================\nDjango Simple Auth\n==================\n\n:Info: Super simple password protection for limiting public access to pages and\n assets\n:Version: 0.2.1\n:Author: Ben Lopatin (http://benlopatin.com)\n\nDjango Simple Auth is a *secondary* authentication system for protecting any\nURLs served by your application from public access. It does not replace your\nauthentication system. Rather its purpose is to provide very simple\na simple password for non-public information like shared photo galleries.\n\nInstalling\n==========\n\nFirst add the application to your Python path. The easiest way is to use\n`pip`::\n\n pip install django-simple-auth\n\nAs of version 0.2.0 this is only tested against Django 1.11+ and is probably compatible\nwith Django 1.10 but this has not been tested.\n\nConfiguring\n-----------\n\nMake sure you have `django.contrib.auth` installed, and add the `simple_auth`\napplication to your `INSTALLED_APPS` list::\n\n INSTALLED_APPS = [\n ...\n 'django.contrib.auth',\n 'simple_auth',\n ]\n\nNext add `simple_auth.urls` to your project URLs.::\n\n ...\n url(r'^protect/', include('simple_auth.urls')),\n\nIf you want to enable default rule-based limits on your site, install the\n`SimpleAuthMiddleware`::\n\n MIDDLEWARE = [\n ...\n 'simple_auth.middleware.SimpleAuthMiddleware',\n ]\n\nBy default this will require a password for all URLs except for URLs prefaced\nwith `/admin/`. These URLs can be overridden using protect and ignore\nsettings.::\n\n SIMPLE_AUTH_IGNORE = [\n r'^admin/,\n r'^$',\n ]\n\n SIMPLE_AUTH_PROTECT = [\n r'^forums/'\n r^blog/',\n r^secret_page.html$',\n ]\n\nIf a URL is listed in both the ignore and protect lists the default will be to\nprotect the URL and simple_auth will emit a warning.\n\nUsage overview\n==============\n\nThere are two ways to protect pages and assets: view decorators and middleware.\n\nThese methods will always allow authenticated users to access the URL.\n\nMiddleware\n----------\n\nTo enable the middleware install the middleware class as described in the\ninstallation section.\n\nIndividual views\n----------------\n\nNote: not implemented yet.\n\nFor function views::\n\n from simple_auth import simple_auth_required\n\n @simple_auth_required\n def myview(request):\n ...\n\nFor class-based views::\n\n from simple_auth import SimpleAuthMixin\n\n class MyView(SimpleAuthMixin, DetailView):\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/bennylope/django-simple-auth", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-simple-auth", "package_url": "https://pypi.org/project/django-simple-auth/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-simple-auth/", "project_urls": { "Homepage": "https://github.com/bennylope/django-simple-auth" }, "release_url": "https://pypi.org/project/django-simple-auth/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Simple password-only protection", "version": "0.2.1" }, "last_serial": 2933169, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "25bdf88ba026dee774d2899d1161b10d", "sha256": "febc65a52232065776688424191f221324331657fd8751690cca96cd01f1ada2" }, "downloads": -1, "filename": "django_simple_auth-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "25bdf88ba026dee774d2899d1161b10d", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 6539, "upload_time": "2015-12-20T03:28:10", "url": "https://files.pythonhosted.org/packages/72/a0/893eebe6da3a8e0d868fca225e4d28827f452904a81b9643116f5e9a6675/django_simple_auth-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "20119d876538a7e5c035559a03a9677b", "sha256": "e077630b9cbdf3f9fd26f925129f6673abe9d69f09d370eb09b126debe3cde95" }, "downloads": -1, "filename": "django-simple-auth-0.1.0.tar.gz", "has_sig": false, "md5_digest": "20119d876538a7e5c035559a03a9677b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3472, "upload_time": "2015-12-20T03:28:01", "url": "https://files.pythonhosted.org/packages/79/83/4503eca7d95f8f8ede2021729273cad73d0bcb51747e7cf6ef6e493070a5/django-simple-auth-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b8a3c603255a9e0d3e10551b05d2931b", "sha256": "eecda9e60e3124ddb60a2011b906abb533f6a4122a28c2bcf2d8f80e5be7ee97" }, "downloads": -1, "filename": "django_simple_auth-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b8a3c603255a9e0d3e10551b05d2931b", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 6928, "upload_time": "2015-12-21T05:02:29", "url": "https://files.pythonhosted.org/packages/ec/e0/ec37ff607a8a1839c5abb608f8dcb610d2fe99844b7e7277fe5911e116d7/django_simple_auth-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2216a65732d6fdeb68d861eaa0c1e099", "sha256": "8472208ae7a6f40c01c6b312b489aad466eb57c6be8e23e0d73d07a3b40b4a03" }, "downloads": -1, "filename": "django-simple-auth-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2216a65732d6fdeb68d861eaa0c1e099", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4562, "upload_time": "2015-12-21T05:02:21", "url": "https://files.pythonhosted.org/packages/98/3e/819103b9135f14fa7bb6b9530f1c584597f4d19cebadce90b9f71178fc66/django-simple-auth-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9d19f6fc32b575ac0e8183f130d4ece2", "sha256": "4fd92c67db24bd8cae71618469f5924c8f1efd8370e20a34769fa8877fbfc433" }, "downloads": -1, "filename": "django_simple_auth-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9d19f6fc32b575ac0e8183f130d4ece2", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7594, "upload_time": "2015-12-23T16:33:05", "url": "https://files.pythonhosted.org/packages/7f/e0/b436d633145878311986a55559f7fa8971721a04b1983a6ae0ca838b7bbd/django_simple_auth-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94db95b652076c5a56dc7610b800459b", "sha256": "736b5c11aa4299c2e33e42472ccc36d2776f64e081edbc40c507cd4e5c2c42d6" }, "downloads": -1, "filename": "django-simple-auth-0.1.2.tar.gz", "has_sig": false, "md5_digest": "94db95b652076c5a56dc7610b800459b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4974, "upload_time": "2015-12-23T16:32:58", "url": "https://files.pythonhosted.org/packages/00/b7/68c607db1c75f18bb02b3ae50c55bd57c5fcbe2d577fb678b3a7045f925e/django-simple-auth-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "9efe3a2a04ef2e357c09498cf655caba", "sha256": "328f2c59dc34abad971b2e0b0a4ffacc711735026c391c38711c31c4c7bafde2" }, "downloads": -1, "filename": "django_simple_auth-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9efe3a2a04ef2e357c09498cf655caba", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 7605, "upload_time": "2015-12-23T16:55:18", "url": "https://files.pythonhosted.org/packages/5f/cc/bc4593c6eca8ea44d77869b5c96fe41ee9d2f1d54d4c6bfd2149ab125a7c/django_simple_auth-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "69079a08daae2ab745c31fd1ea118191", "sha256": "2530535ed8ff03bd12668529f3471a5d64d986ec0fbd931ddace84f3d0831153" }, "downloads": -1, "filename": "django-simple-auth-0.1.3.tar.gz", "has_sig": false, "md5_digest": "69079a08daae2ab745c31fd1ea118191", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4999, "upload_time": "2015-12-23T16:55:12", "url": "https://files.pythonhosted.org/packages/3e/7e/4899b60f79d4a5086adc55533fb63f355d8cb7999385741927c7f9e5bf78/django-simple-auth-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "c9170a95cc1c6976e0a79ea057d231a5", "sha256": "af723db111da736eaa8e7e6204b107cd872f1d88bc5e9af190513546851acc2f" }, "downloads": -1, "filename": "django_simple_auth-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c9170a95cc1c6976e0a79ea057d231a5", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8330, "upload_time": "2016-01-07T20:20:47", "url": "https://files.pythonhosted.org/packages/fc/9b/10533136f762c842d9412f28311ac48ee2116d4610b9093d226b75657bfa/django_simple_auth-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "48c23cc56c25bc37a1ba0714bdf70d5a", "sha256": "601c57ba583c8393af4c7850e8bd09dda02fbe500084ba0e37b48a0be15762d0" }, "downloads": -1, "filename": "django-simple-auth-0.1.4.tar.gz", "has_sig": false, "md5_digest": "48c23cc56c25bc37a1ba0714bdf70d5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5309, "upload_time": "2016-01-07T20:20:22", "url": "https://files.pythonhosted.org/packages/ab/96/4d0501398a1c5c0985b251975ed4503177a273d3f67dd4b0069ec63460dc/django-simple-auth-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "0cfeb52c36320ee0897d9dfde4fb628c", "sha256": "6546c5c43e271bccc0a5c8e8d9c1802e0d53835827cf8ecd17f61af24a48fe11" }, "downloads": -1, "filename": "django_simple_auth-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0cfeb52c36320ee0897d9dfde4fb628c", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8354, "upload_time": "2016-01-07T20:29:43", "url": "https://files.pythonhosted.org/packages/07/9b/08398e9ca484a3c3fd1d8d152896601ff82353800a358b2bf0a5073bdb43/django_simple_auth-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d6816894db8fc50a3e5770ec576174c1", "sha256": "9d223d4d100c3a81107191e6f4d21ebe8b5dedd4711801d37cf326f40fa5c945" }, "downloads": -1, "filename": "django-simple-auth-0.1.5.tar.gz", "has_sig": false, "md5_digest": "d6816894db8fc50a3e5770ec576174c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5322, "upload_time": "2016-01-07T20:29:35", "url": "https://files.pythonhosted.org/packages/07/98/5bebfb020e4c2a68d1ba7eec991960a69e0ddf8336ddf1cc38fe2264f209/django-simple-auth-0.1.5.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e67c61053fcdca4f534abbf2f1af7464", "sha256": "b71f6a45bc20abf7fdb13a99d2268b3e4ffcea4b91ad099a4ad86664235ee3ef" }, "downloads": -1, "filename": "django_simple_auth-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e67c61053fcdca4f534abbf2f1af7464", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8527, "upload_time": "2017-06-07T19:01:56", "url": "https://files.pythonhosted.org/packages/33/e3/03622c8f49e16f3470f1c13e8b0640876fe7b2364b5a11ad16fa056d4771/django_simple_auth-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5f24ebc875ee2fbeb1f00762f0356e2", "sha256": "d42df755018c6fd49de1d2c41ec8ee68299aed142697ce4ff7f829d2be629789" }, "downloads": -1, "filename": "django-simple-auth-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d5f24ebc875ee2fbeb1f00762f0356e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5486, "upload_time": "2017-06-07T19:01:57", "url": "https://files.pythonhosted.org/packages/09/6c/03b99b8da12cf647e3e8cc088c33a5b0ba38848e2d10910b8ab89349c83e/django-simple-auth-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "701989eb977f57ea3bf00e72e37a64f2", "sha256": "9f5730bed80bb7a7526466ff502814fae1b6e5f76fb59678d86155c30560581c" }, "downloads": -1, "filename": "django_simple_auth-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "701989eb977f57ea3bf00e72e37a64f2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8540, "upload_time": "2017-06-07T19:11:36", "url": "https://files.pythonhosted.org/packages/b0/90/a554ee22ce4f005b32edbb524181e29528ad5ab3271b7406e83cf3039ecd/django_simple_auth-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e4adf92a99e8dc5b7fb7ceb55825323", "sha256": "c7540e293cc542ac1f6d4c8b35c75bb042a3517ca67a0c0137ca65dd908054e0" }, "downloads": -1, "filename": "django-simple-auth-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6e4adf92a99e8dc5b7fb7ceb55825323", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5500, "upload_time": "2017-06-07T19:11:37", "url": "https://files.pythonhosted.org/packages/70/59/aa1afae1fb067fabeae5da1505398b549af69fc07dda30df9910d4811226/django-simple-auth-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "701989eb977f57ea3bf00e72e37a64f2", "sha256": "9f5730bed80bb7a7526466ff502814fae1b6e5f76fb59678d86155c30560581c" }, "downloads": -1, "filename": "django_simple_auth-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "701989eb977f57ea3bf00e72e37a64f2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8540, "upload_time": "2017-06-07T19:11:36", "url": "https://files.pythonhosted.org/packages/b0/90/a554ee22ce4f005b32edbb524181e29528ad5ab3271b7406e83cf3039ecd/django_simple_auth-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e4adf92a99e8dc5b7fb7ceb55825323", "sha256": "c7540e293cc542ac1f6d4c8b35c75bb042a3517ca67a0c0137ca65dd908054e0" }, "downloads": -1, "filename": "django-simple-auth-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6e4adf92a99e8dc5b7fb7ceb55825323", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5500, "upload_time": "2017-06-07T19:11:37", "url": "https://files.pythonhosted.org/packages/70/59/aa1afae1fb067fabeae5da1505398b549af69fc07dda30df9910d4811226/django-simple-auth-0.2.1.tar.gz" } ] }