Skip to main content

PyLockGen

version license

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

Metadata

Release files for pylockgen 1.6.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylockgen 1.6.7
File Size Uploaded Provenance Actions
pylockgen-1.6.7.tar.gz 2.8 kB Without provenance Details for pylockgen-1.6.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pylockgen 1.6.7
File Interpreter ABI Platform Actions
pylockgen-1.6.7-py3-none-any.whl Python 3 none any Details for pylockgen-1.6.7-py3-none-any.whl

Total release size: 7.1 kB

Release files / pylockgen-1.6.7.tar.gz

Download URL pylockgen-1.6.7.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7dfff16de41da5f4b869418af461d91fe188e8764efe86dc6413772fe9f82dae
BLAKE2b-256 checksum
How to use checksums
c47688864195b8e25547cfb151c18ee68767c297cb9dc675d9305866a03b43ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.2

Release files / pylockgen-1.6.7-py3-none-any.whl

Download URL pylockgen-1.6.7-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35736481f3e525231c1b0b5c5c4aec6cc75d70c2a2857139158d84c9700b99c2
BLAKE2b-256 checksum
How to use checksums
da7a55bf803a9f6139ab8fef6a3ad3d664d3dc6f57d4ce5c37254b7153e4ba5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.2

Security for pylockgen 1.6.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page