Skip to main content

Validate user passwords on the go

Project description

password_validator

A password validator package for python apps(web, desktop and cmd).

Requirements Before you continue, ensure you have met the following requirements:

  • You have python3 installed

Getting started

from validator import (
    password_is_common, username_in_password, contains_alphanumeric_and_symbols, confirm_password,
    is_minimum_length,
)
validate = Validator(username, password)

Check if password is common

validator.password_is_common()

Check if password is similar to username

validator.username_in_password()

Check if password is up to the required minimum length

validator.is_minimum_length(length)
where length is the minimum length of your choice

Check if password contains letters, numbers and symbols

validator.contains_alphanumeric_and_symbols()

Check if password and confirm password are the same

validator.confirm_password(password2)
where password2 is the second password

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

Password-validate-1.0.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Password_validate-1.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file Password-validate-1.0.0.tar.gz.

File metadata

  • Download URL: Password-validate-1.0.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.0

File hashes

Hashes for Password-validate-1.0.0.tar.gz
Algorithm Hash digest
SHA256 82e7a8f913e5fa4fdf7deb65514829c35bb0653d3caffebca2a8732cae79be9f
MD5 8146b48970ad59925e8b290b007ba71b
BLAKE2b-256 e568f1cb54efc9ddf315b04d703b792d5cd7372cc968ecfafe74227f701e1999

See more details on using hashes here.

File details

Details for the file Password_validate-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: Password_validate-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.0

File hashes

Hashes for Password_validate-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77ca35f5a4cd9d327f044d778704eb1a7c65cf4e7ec767c4b113b23df9cfafbd
MD5 ab2e286c383f7a32ac58c52e0073c472
BLAKE2b-256 09fa4e712735e92589151ee7a3aaae5c67c2355d946f24a774b81796e0e6be9b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page