Skip to main content

Overview

password-lib is a Python library for generating secure passwords, configuring strength requirements, and checking password strength. With customizable length and requirements, it enhances application security. Use password-lib to easily generate strong passwords and ensure password security.

Requirements

  • python 3.9 or higher

Installation

py -m pip install password-lib

Usage

> from password_lib.utils import PasswordUtil

> # Create an instance of the PasswordUtil class
> password_util = PasswordUtil()

> # Configure the password strength requirements
> password_util.configure_strength(min_length=10)
> password = password_util.generate_password()
> is_secure = password_util.is_secure(password)
> password
0GpDjb@4M.RZRQY_HHCq7CzJI
> is_secure
True

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Links

https://github.com/ardf/password_utils

Release files for password-lib 0.0.3

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

Source distribution (sdist)

Source distribution for password-lib 0.0.3
File Size Uploaded
password_lib-0.0.3.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for password-lib 0.0.3
File Interpreter ABI Platform
password_lib-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / password_lib-0.0.3.tar.gz

Download URL password_lib-0.0.3.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bd48c474b9f03b622c9dafb8bbc58b89b3c95f06a6aad0783a43da6e9c7f8d93
BLAKE2b-256 checksum
How to use checksums
bc0b0625bfccbe4d0450a3f18b30af0d2366b6bebcfcac1a35297b51e97fb46b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.4

Release files / password_lib-0.0.3-py3-none-any.whl

Download URL password_lib-0.0.3-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e1274524040f4c1956a2771384ca784070d603353ce22e2a29715d7c9fde4ce
BLAKE2b-256 checksum
How to use checksums
e72fce130ddecdb2026a92de8080146d9fb347e132583cb856aeb4ffc5f06d78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

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