An easy app for managing users.
Project description
Userspy
An easy app for managing users.
Installing
pip install userspy
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 userspy
# creates the database with usernames and hashed passwords
userspy.create(DataBaseName)
# Registers a user, hashed and inserts to database
userspy.Register(UserName, Password, Confirm_Password)
# Checks user Authentication credentials
isAuthenticated = userspy.Login(UserName, Password)
# Returns hashed password
hashed_password = userspy.password_hash(Password)
# Checks user password`
isPasswordValid = userspy.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.5b4.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for userspy-0.0.5b4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94f0ce9402b997d4ba0362d158838e6e31adfa95d74733c34ee86370dc3b76d1 |
|
MD5 | 604120090e0e84b8bf37a9e946f044e8 |
|
BLAKE2b-256 | 912719aac0c5503a1be4cc59cedd38418e020758206403a2c0dc1af85749b9e9 |