{ "info": { "author": "Boris Feld", "author_email": "lothiraldan@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.7", "Topic :: Security :: Cryptography", "Topic :: Software Development :: Testing" ], "description": "##########################\ndjango-plainpasswordhasher\n##########################\n\nDummy (plain text) password hashing for Django... for use in tests!\n\n\n***************\nSpeed up tests!\n***************\n\nCryptography is greedy. When you run tests, you usually do not care about\npassword security, but you care about performances. Using dummy password\nhashing speeds up tests!\n\nInstall ``django-plainpasswordhasher`` with your favorite installer.\nHere is an example using pip:\n\n.. code:: sh\n\n pip install django-plainpasswordhasher\n\nThen configure your test settings:\n\n.. code:: python\n\n PASSWORD_HASHERS = ('django_plainpasswordhasher.PlainPasswordHasher', )\n\n\n**************************************\nExcept explicit password hashing tests\n**************************************\n\nIn most cases, using a dummy password hasher will do the job.\nBut you may write some tests that require real password hashing. In such a\ncase, let's override settings!\n\n.. code:: python\n\n from django.conf import global_settings # Django default settings...\n # You may use your project's\n # default settings instead.\n from django.test import TestCase\n from django.test.utils import override_settings\n\n @override_settings(PASSWORD_HASHERS=global_settings.PASSWORD_HASHERS)\n class CryptographyTestCase(TestCase):\n\t\"\"\"Tests that require real cryptography.\"\"\"\n\n\n*********\nResources\n*********\n\n* PyPI page: https://pypi.python.org/pypi/django-plainpasswordhasher\n* Code repository: https://github.com/novapost/django-plainpasswordhasher\n* Bugtracker: https://github.com/novapost/django-plainpasswordhasher/issues\n* Continuous integration: https://travis-ci.org/novapost/django-plainpasswordhasher\n\n\n**********\nReferences\n**********\n\n* `Original blog post\n `_\n\n* `Django 1.5 documentation about getting faster tests\n `_ \n\n* `Discussion about password hashers & testing in Django issues\n `_", "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/novapost/django-plainpasswordhasher", "keywords": "", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-plainpasswordhasher", "package_url": "https://pypi.org/project/django-plainpasswordhasher/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-plainpasswordhasher/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/novapost/django-plainpasswordhasher" }, "release_url": "https://pypi.org/project/django-plainpasswordhasher/0.3/", "requires_dist": null, "requires_python": null, "summary": "Dummy (plain text) password hashing for Django.", "version": "0.3" }, "last_serial": 893822, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "4c57c2c2f94d424364b1f4c04adffaa4", "sha256": "f602295720c65d7fd9d877a97f2460411ffd981764d293501634801cc22fcdb3" }, "downloads": -1, "filename": "django-plainpasswordhasher-0.2.zip", "has_sig": false, "md5_digest": "4c57c2c2f94d424364b1f4c04adffaa4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10701, "upload_time": "2013-10-11T16:30:07", "url": "https://files.pythonhosted.org/packages/43/64/6770732dabb5b12ee9efc78229501865e241aad255e4604ee1fe3caa054f/django-plainpasswordhasher-0.2.zip" } ], "0.2.dev0": [], "0.3": [ { "comment_text": "", "digests": { "md5": "9b359a7912906bd4928fdfbe11ef210d", "sha256": "e5cd99074b735da6ecbcd71711404e5e953d4c6579fbc34732a094a9de6167e4" }, "downloads": -1, "filename": "django-plainpasswordhasher-0.3.zip", "has_sig": false, "md5_digest": "9b359a7912906bd4928fdfbe11ef210d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10754, "upload_time": "2013-10-14T07:22:21", "url": "https://files.pythonhosted.org/packages/2b/b0/7bc9cae1e570144e907fa9e72e2dbe4ea9c9f7fb11d878e8a63ab86e33b8/django-plainpasswordhasher-0.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9b359a7912906bd4928fdfbe11ef210d", "sha256": "e5cd99074b735da6ecbcd71711404e5e953d4c6579fbc34732a094a9de6167e4" }, "downloads": -1, "filename": "django-plainpasswordhasher-0.3.zip", "has_sig": false, "md5_digest": "9b359a7912906bd4928fdfbe11ef210d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10754, "upload_time": "2013-10-14T07:22:21", "url": "https://files.pythonhosted.org/packages/2b/b0/7bc9cae1e570144e907fa9e72e2dbe4ea9c9f7fb11d878e8a63ab86e33b8/django-plainpasswordhasher-0.3.zip" } ] }