Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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

Release files for datapunt-accounts 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datapunt-accounts 1.0.1
File Size Uploaded
datapunt-accounts-1.0.1.tar.gz 4.9 kB Details

Release files / datapunt-accounts-1.0.1.tar.gz

Download URL datapunt-accounts-1.0.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
22db4f1465d090e906df8f690e52ee7bd162f5c29c6c4cfcb1adf813a015b7f4
BLAKE2b-256 checksum
How to use checksums
3dc74222a362330c279e7d158bf9948f9f7777fa9de827144745e607b790f9db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page