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.

Source Distribution

datapunt-accounts-1.0.1.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file datapunt-accounts-1.0.1.tar.gz.

File metadata

  • Download URL: datapunt-accounts-1.0.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for datapunt-accounts-1.0.1.tar.gz
Algorithm Hash digest
SHA256 22db4f1465d090e906df8f690e52ee7bd162f5c29c6c4cfcb1adf813a015b7f4
MD5 5f6a2b005abcbb36f826156b590afa99
BLAKE2b-256 3dc74222a362330c279e7d158bf9948f9f7777fa9de827144745e607b790f9db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page