Skip to content

unknownmeovo/pylockgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyLockGen

version license

PyLockGen is a simple and secure Python module that can:

  • Generate strong passwords
  • Calculate the entropy of a password
  • Check password strength
  • Check passwords to see 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

About

A Python Module for generating passwords

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages