django-pwny

Have I Been Pwned? password validator


Keywords
django-pwny
License
Apache-2.0
Install
pip install django-pwny==0.2.0

Documentation

django-pwny

https://travis-ci.com/PsypherPunk/django-pwny.png?branch=master

Have I Been Pwned? password validator. Inspired by a blog post on the subject.

Quickstart

Install django-pwny:

pip install django-pwny

Add it to your AUTH_PASSWORD_VALIDATORS:

AUTH_PASSWORD_VALIDATORS = [
    ...
    "pwny.validation.HaveIBeenPwnedValidator",
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install Django requirements/test.txt
(myenv) $ tox

Credits

Tools used in rendering this package: