Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

userspy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

userspy

An easy app for managing users.

  • 0.0.4
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc