Skip to main content

Secure password validation, strength analysis, generation, and breach checking library

Project description

SecurePassLib 🔒

A professional Python library for secure password management:
✅ Password validation
✅ Password strength analysis
✅ Breach checking (HaveIBeenPwned API)
✅ Secure password generation
✅ CLI tool support

Built with security standards and flexibility in mind.


✨ Features

  • Password Validation

    • Customizable password policies (min length, digits, specials, etc.)
    • Predefined validation errors for easy integration.
  • Password Strength Analysis

    • Entropy calculation (bits) based on character pool size.
    • Text-based strength scoring (Very Weak → Very Strong).
    • Smart password improvement suggestions.
  • Password Generation

    • Random secure password generator.
    • Template-based password generation (customizable patterns like LL-DD-SS).
    • Word-based, human-friendly password formats.
  • Password Breach Checking

    • Safe checking using k-Anonymity model against HaveIBeenPwned API.
    • No full password is ever sent to external servers.
  • CLI Tools

    • Generate, validate, analyze, breach-check passwords directly from terminal.

📦 Installation

pip install securepasslib

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

securepasslib-1.0.3.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

securepasslib-1.0.3-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file securepasslib-1.0.3.tar.gz.

File metadata

  • Download URL: securepasslib-1.0.3.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for securepasslib-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4771aa997726be1b60769b082f92109f0dc7a39c2c6a44c2b8615f8e6435abeb
MD5 8a8d9617dcbb0f802e67608179a772da
BLAKE2b-256 d4df9493e1c04e2da3dce3097efa6ea864d0eb23a4d70c24c4952ccc62cdeed4

See more details on using hashes here.

File details

Details for the file securepasslib-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: securepasslib-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for securepasslib-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 12091065c2d27e25c6f77bfe6cf90c1694cc1b0d965fcba12ecbec77f4c05806
MD5 1f8f71e8ad2c6ea21f80047e6ddde896
BLAKE2b-256 dc401b9158b48a523a9ebd8934c77298732e2290fa45020bf8612a1e3db2d94c

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