An easy app for managing users.
Project description
Userpy
An easy app for managing users.
Installing
pip install userpy
Functions
create - creates a database Register - Check password, hash and insert to the database Login - check login credentials (returns True or Fales) password_hash - hash password check_password - verifys only password (returns True or Fales)
import user_management as um
# creates the database with usernames and hashed passwords
um.create(DataBaseName)
# Registers a user, hashed and inserts to database
um.Register(UserName, Password, Confirm_Password)
# Checks user Authentication credentials
isAuthenticated = um.Login(UserName, Password)
# Returns hashed password
hashed_password = um.password_hash(Password)
# Checks user password
isPasswordValid = um.check_password(Password, Hashed_Password)
created by ofri kirshen
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
userspy-0.0.5b3.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for userspy-0.0.5b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea98b673b2374fb7c9b3f3ed5f2693e35b60199445f2d949aa856c5837760474 |
|
MD5 | 65ab96e6d44a0df32f005e6621a36510 |
|
BLAKE2b-256 | e9ca52fdfc5cf86a41ffb46a039c7f9ccd55f1b6dbb5442437967719a39864fd |