Metadata-Version: 2.1
Name: django-pwny
Version: 0.2.17
Summary: Have I Been Pwned? password validator
License: Apache-2.0
Author: PsypherPunk
Author-email: psypherpunk@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: django (>=5.0.7,<6.0.0)
Description-Content-Type: text/markdown

# `django-pwny`

*Have I Been Pwned?* password validator. Inspired by a
[blog post](https://www.thedatashed.co.uk/2019/02/07/django-pwny/) on
the subject.

## Quickstart

Install django-pwny:

```sh
pip install django-pwny
```

Add it to your `AUTH_PASSWORD_VALIDATORS`:

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

## Features

- TODO

## Running Tests

Does the code actually work?

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

## Credits

Tools used in rendering this package:

- [Cookiecutter](https://github.com/audreyr/cookiecutter)
- [cookiecutter-djangopackage](https://github.com/pydanny/cookiecutter-djangopackage)

