Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

userspy-0.0.4-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

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