Skip to main content

Datapunt accounts

Project description

https://img.shields.io/badge/python-3.6-blue.svg https://img.shields.io/badge/license-MPLv2.0-blue.svg

Install

$ pip install datapunt-user

In order to use this library you need to have access to a Postgress database.

Usage

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')

Contribute

Activate your virtualenv, install the egg in editable mode, and start coding:

$ source env/bin/activate
$ pip install -e .

Testing:

make test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for datapunt-accounts, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size datapunt-accounts-1.0.1.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page