Datapunt accounts
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file datapunt-accounts-1.0.0rc1.tar.gz
.
File metadata
- Download URL: datapunt-accounts-1.0.0rc1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14f7f71ed7d881fc0b2408d0f12909bd6b74092f446c7cc189cbb9c26ef18d7 |
|
MD5 | ed8a95da70d2cb03d12b92c7b9f34052 |
|
BLAKE2b-256 | 4369eb1bc31b80fa79230a7cc524b120cbea08377bc2b90c4016325231d964b1 |