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
- Check passwords that if they are in the breached list
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.7.tar.gz
(2.8 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.7.tar.gz.
File metadata
- Download URL: pylockgen-1.6.7.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dfff16de41da5f4b869418af461d91fe188e8764efe86dc6413772fe9f82dae
|
|
| MD5 |
4a48cae3ca2866854724cca54e7a2d8b
|
|
| BLAKE2b-256 |
c47688864195b8e25547cfb151c18ee68767c297cb9dc675d9305866a03b43ef
|
File details
Details for the file pylockgen-1.6.7-py3-none-any.whl.
File metadata
- Download URL: pylockgen-1.6.7-py3-none-any.whl
- Upload date:
- Size: 4.2 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 |
35736481f3e525231c1b0b5c5c4aec6cc75d70c2a2857139158d84c9700b99c2
|
|
| MD5 |
2a3b425c4f3e2662122cf1646f4f01fb
|
|
| BLAKE2b-256 |
da7a55bf803a9f6139ab8fef6a3ad3d664d3dc6f57d4ce5c37254b7153e4ba5f
|