Skip to main content

Secure password generator and strength checker

Project description

PyLockGen

version license

PyLockGen is a simple and secure Python module that can:

  • Generate strong passwords
  • Calculate entropy of a password
  • Check password strength

Installation

pip install pylockgen

Usage

import pylockgen

# Generate a secure password
password = pylockgen.generate()
print(f"Generated: {password}")

# Check entropy
print("Entropy:", pylockgen.entropy(password))

# Get strength 
print("Strength:", pylockgen.strength(password))

# Check if the password is breached
print("Boolean:", pylockgen.isbreached(password)) # Returns a boolean

print(check_breach(password)) # Returns a string

License

This project is licensed under the MIT License. MIT © 2025 Hadi Raza

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

pylockgen-1.6.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

pylockgen-1.6.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pylockgen-1.6.0.tar.gz.

File metadata

  • Download URL: pylockgen-1.6.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.2

File hashes

Hashes for pylockgen-1.6.0.tar.gz
Algorithm Hash digest
SHA256 c678bc3419a85f5345a624737c05bdf29d155914c67d13c3de280251106cab21
MD5 05ce7f89e02ce46f0aecf8a7c37ec0fb
BLAKE2b-256 589dbf85f9611024980d22f1d07f7a76d3c83a1c1610dace3bc7613d3531ff9b

See more details on using hashes here.

File details

Details for the file pylockgen-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: pylockgen-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.2

File hashes

Hashes for pylockgen-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ded458842fb4557debc33760c58bb91ada4535783b297f770b90e460f81be04
MD5 e24c8a60b704c34005e97413859d4bc6
BLAKE2b-256 d766b85e07feb2bb57954e7281a1e73144bdcc489c1eb8a3551fc66e928e9e7d

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