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
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.4.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file userspy-0.0.4.tar.gz.
File metadata
- Download URL: userspy-0.0.4.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf9169ebcc177adcd1aa35bc9d20c1558b00ff328781a0536b0e4ff9e05ab3b8
|
|
| MD5 |
245a1edf9d27d2759b1d407e26ab359d
|
|
| BLAKE2b-256 |
0b89477935ac0b99b80525776c22a4f8a0f5f2ed67f097414d75507a821a35a7
|
File details
Details for the file userspy-0.0.4-py3-none-any.whl.
File metadata
- Download URL: userspy-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16544b6e1f30eba309a0d59f5d5c1103d3b6b33f25346a24b3d88869149296ac
|
|
| MD5 |
3d3be1cd8d4f2a441c922935479bb7f9
|
|
| BLAKE2b-256 |
ba8f4d2072f65dcaca2faffc672cb9b495c4c19e9e5c5b7655126f109f3d3f28
|