Secure password generator and strength checker
Project description
PyLockGen
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c678bc3419a85f5345a624737c05bdf29d155914c67d13c3de280251106cab21
|
|
| MD5 |
05ce7f89e02ce46f0aecf8a7c37ec0fb
|
|
| BLAKE2b-256 |
589dbf85f9611024980d22f1d07f7a76d3c83a1c1610dace3bc7613d3531ff9b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ded458842fb4557debc33760c58bb91ada4535783b297f770b90e460f81be04
|
|
| MD5 |
e24c8a60b704c34005e97413859d4bc6
|
|
| BLAKE2b-256 |
d766b85e07feb2bb57954e7281a1e73144bdcc489c1eb8a3551fc66e928e9e7d
|