$ pip install datapunt-user
In order to use this library you need to have access to a Postgress database.
import dpuser users = dpuser.AuthzMap(**psycopgconf) users.add('myuser@example.com', 'secretpassword') users.set('myuser@example.com', 'newsecretpassword') users.verify_password('myuser@example.com', 'secretpassword') users.remove('myuser@example.com')
Activate your virtualenv, install the egg in editable mode, and start coding:
$ source env/bin/activate $ pip install -e .
Testing:
make test