Skip to main content

A simple package to score password strength.

Project description

pwdscore

A Python package to score password strength based on various criteria (length, uppercase letters, lowercase letters, digits, and special characters).

Installation

pip install pwdscore

Usage

from pwdscore import score, check

# Get a numeric score from 0 to 100
print(score("Password123!"))  # Output: 87 (or similar depending on rules)

# Get a string rating (Weak, Medium, Strong)
print(check("Password123!"))  # Output: Strong

Development

To build the package:

python -m build

To run tests:

pytest

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

pwdscore-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

pwdscore-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file pwdscore-0.1.0.tar.gz.

File metadata

  • Download URL: pwdscore-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for pwdscore-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7a55552feaf8b3c7e71468a1d62a142b92c77d0d2c41d800c10766458b342026
MD5 d1949dac058755229e65ae4cc9249f19
BLAKE2b-256 904e5110af9d0309161b1808c4c5718e5c85883d022b3e249d7af2e06fadd15c

See more details on using hashes here.

File details

Details for the file pwdscore-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pwdscore-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for pwdscore-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bcde5d9950c7d8d7d4644bd31ff565be0ccd3b49c75857441c9892e8e21ce4b2
MD5 b7c48d83d8a31628908272b550ea0e5c
BLAKE2b-256 98a72e74a39555836a8cb845b4ac086df6cb709d6db33c5c8ff1a977bfd598a9

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