{ "info": { "author": "A.J. May", "author_email": "aj7may@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP" ], "description": "# Django Password Strength\r\n\r\nAn extension of the Django password widget including a password strength meter and crack time powered by [zxcvbn](https://github.com/lowe/zxcvbn).\r\n\r\n![Empty Password](http://thegoods.aj7may.com/content/images/2013/Dec/Screen_Shot_2013_12_18_at_9_05_38_AM.png)\r\n\r\n![Weak Password](http://thegoods.aj7may.com/content/images/2013/Dec/Screen_Shot_2013_12_18_at_9_06_05_AM.png)\r\n\r\n![Strong Password](http://thegoods.aj7may.com/content/images/2013/Dec/Screen_Shot_2013_12_18_at_9_06_32_AM.png)\r\n\r\n### Install:\r\n`> pip install django-password-strength`\r\n\r\n### Usage:\r\n\r\n* Add `django_password_strength` to the installed apps of your Django Project\r\n* Instead of using the django `PasswordInput` widget use the `PasswordStrengthInput`\r\n* Be sure to include the form's required media in the template. _ie._ `{{ form.media }}`\r\n* If you bundle your js you can use `django_password_strength/js/zxcvbn.js` or `django_password_strength/js/zxcvbn-async.js` and `django_password_strength/js/password_strength.js` instead\r\n* For easiest integration also include [Twitter Bootstrap](http://getbootstrap.com/)\r\n\r\n### Translations:\r\n\r\nThere are currently no translations already available, but all the text is translatable, you just have to translate it yourself.\r\n\r\nFor the javascript translations be sure to add the javascript translation catalog [provided by django](https://docs.djangoproject.com/en/1.7/topics/i18n/translation/#using-the-javascript-translation-catalog) or use something like [django-statici18n](https://github.com/zyegfryed/django-statici18n) for a static version of the catalog. If you don't want translations you don't have to add the catalog to your page.\r\n\r\n### Example:\r\n\r\n_forms.py_\r\n\r\n from django import forms\r\n from django_password_strength.widgets import PasswordStrengthInput, PasswordConfirmationInput\r\n \r\n class SignupForm(forms.Form):\r\n username = forms.CharField()\r\n passphrase = forms.CharField(\r\n widget=PasswordStrengthInput()\r\n )\r\n confirm_passphrase = forms.CharField(\r\n widget=PasswordConfirmationInput()\r\n )\r\n\r\n### Example using multiple password fields:\r\n\r\n_forms.py_\r\n\r\n from django import forms\r\n from django_password_strength.widgets import PasswordStrengthInput, PasswordConfirmationInput\r\n \r\n class SignupForm(forms.Form):\r\n username = forms.CharField()\r\n passphrase = forms.CharField(\r\n widget=PasswordStrengthInput()\r\n )\r\n confirm_passphrase = forms.CharField(\r\n widget=PasswordConfirmationInput(confirm_with='passphrase')\r\n )\r\n\r\n passphrase2 = forms.CharField(\r\n widget=PasswordStrengthInput()\r\n )\r\n confirm_passphrase2 = forms.CharField(\r\n widget=PasswordConfirmationInput(confirm_with='passphrase2')\r\n )\r\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://thegoods.aj7may.com/django-password-strength", "keywords": "password meter zxcvbn strength security django", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-password-strength", "package_url": "https://pypi.org/project/django-password-strength/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-password-strength/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://thegoods.aj7may.com/django-password-strength" }, "release_url": "https://pypi.org/project/django-password-strength/1.2.1/", "requires_dist": null, "requires_python": null, "summary": "This package contains an extention of the Django password widget including a password strength meter and crack time powered by zxcvbn.", "version": "1.2.1" }, "last_serial": 1650368, "releases": { "1.0.0": [ { "comment_text": "built for Darwin-13.0.0", "digests": { "md5": "a9049325e1a13ab6c74575f8b49aafe9", "sha256": "a50fae8bd1c8b17e17121984b202821ce64ba29f2c1f1dbaf1fe56561d5216cc" }, "downloads": -1, "filename": "django-password-strength-1.0.0.macosx-10.9-intel.tar.gz", "has_sig": false, "md5_digest": "a9049325e1a13ab6c74575f8b49aafe9", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 2576, "upload_time": "2013-12-18T04:17:51", "url": "https://files.pythonhosted.org/packages/15/3c/6ac245cb1dcac50a1c1f193e980bde6b871bc807e08fc0b86fc8fddfc804/django-password-strength-1.0.0.macosx-10.9-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "d39e133f95250232c6841b94a6eb3634", "sha256": "9187a2c26c4014bfc2ef595141a3ffa7ebbffb5c5435c49d79462a4a565bedd4" }, "downloads": -1, "filename": "django-password-strength-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d39e133f95250232c6841b94a6eb3634", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1880, "upload_time": "2013-12-18T04:17:48", "url": "https://files.pythonhosted.org/packages/f5/f0/e6081b6c4ef1ff9b84c86e92cb30cb2526f39cd781983fe9791ae8da8341/django-password-strength-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "8296212d2c28a4279ee68af0c6b69fdc", "sha256": "eec936f8d86ccaca28589a5e40aac4798ab09cc99a059198c8bead3679b3c0e7" }, "downloads": -1, "filename": "django-password-strength-1.0.1.tar.gz", "has_sig": false, "md5_digest": "8296212d2c28a4279ee68af0c6b69fdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1854, "upload_time": "2014-08-14T04:02:08", "url": "https://files.pythonhosted.org/packages/1b/ab/8467fd2aa3068c5c61a2faf35bc889ecd080ecc2e46413b4668f559a4a92/django-password-strength-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "a6320d3b3db026b91c2e6e13c2252b69", "sha256": "6b2b4aea28e116d79c4cd83720393c31fa01a2128afeffe50783b655817136d6" }, "downloads": -1, "filename": "django-password-strength-1.0.2.tar.gz", "has_sig": false, "md5_digest": "a6320d3b3db026b91c2e6e13c2252b69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1871, "upload_time": "2014-08-14T04:06:39", "url": "https://files.pythonhosted.org/packages/0e/c0/186b6ec1cf0df9db24a8f6ba3f2dba2f0749af2efee7e1346fff8cf2766d/django-password-strength-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "4b5316bf9056ab8aa279dc86d5efb721", "sha256": "e04a80d4ba5d9467fa04cd609cfbd9980c05a798b3b6aee2919c77e253211812" }, "downloads": -1, "filename": "django-password-strength-1.1.0.tar.gz", "has_sig": false, "md5_digest": "4b5316bf9056ab8aa279dc86d5efb721", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 334925, "upload_time": "2014-10-01T00:26:43", "url": "https://files.pythonhosted.org/packages/55/e7/8b05a8aa8001f169a3d5dba84fc512d89c751560466a050465097b4decf9/django-password-strength-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "e25db84697d11771521e907575ae6780", "sha256": "719ceb64c1ae5fa14b596b427af5e6e8f8d6d624e8da6191d7037d490caa177a" }, "downloads": -1, "filename": "django-password-strength-1.1.1.tar.gz", "has_sig": false, "md5_digest": "e25db84697d11771521e907575ae6780", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 334908, "upload_time": "2014-10-26T18:50:56", "url": "https://files.pythonhosted.org/packages/f0/19/3db4d7aa7400e49d5eb69308b47062d3930e2b3d0d6b3cc60b3c8630ecc8/django-password-strength-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "ecbf326f4e0b82dc5bea2ca66593e0c5", "sha256": "d820664429f09caf4deb2c5591560ae2c41e96048cb1187be2f03e812e3330ed" }, "downloads": -1, "filename": "django-password-strength-1.2.0.tar.gz", "has_sig": false, "md5_digest": "ecbf326f4e0b82dc5bea2ca66593e0c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 335146, "upload_time": "2015-05-26T13:26:49", "url": "https://files.pythonhosted.org/packages/f1/82/950940024a61fd809ad253a7aa15a54aafd80daea3d6275633de06eb9a31/django-password-strength-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "0c2d0a6fb06de16222dbd9c2ce8ee335", "sha256": "e7275e10247131966b7ee79f73f4a8223c8ade81c25702f1329870fe810ad7c4" }, "downloads": -1, "filename": "django-password-strength-1.2.1.tar.gz", "has_sig": false, "md5_digest": "0c2d0a6fb06de16222dbd9c2ce8ee335", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 335230, "upload_time": "2015-07-26T17:43:53", "url": "https://files.pythonhosted.org/packages/56/be/0441b2d086677685fe4310548823881e97d4865885e08e0a181666a18545/django-password-strength-1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0c2d0a6fb06de16222dbd9c2ce8ee335", "sha256": "e7275e10247131966b7ee79f73f4a8223c8ade81c25702f1329870fe810ad7c4" }, "downloads": -1, "filename": "django-password-strength-1.2.1.tar.gz", "has_sig": false, "md5_digest": "0c2d0a6fb06de16222dbd9c2ce8ee335", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 335230, "upload_time": "2015-07-26T17:43:53", "url": "https://files.pythonhosted.org/packages/56/be/0441b2d086677685fe4310548823881e97d4865885e08e0a181666a18545/django-password-strength-1.2.1.tar.gz" } ] }