A package for creating passwords and testing password strength
Project description
passwordtools.
This Python package provides functions for generating and testing passwords. The password generator can create passwords of different lengths and complexity, and the password strength tester can assess the security of a password. The password generator uses a random number generator to generate random passwords. The Password Strength Checker uses a variety of factors to assess password security, including password length, and password complexity. This package is an invaluable tool for anyone who needs to create or test passwords.
Features.
- Generates random passwords of a specified length.
- Includes letters (both uppercase and lowercase), digits, and punctuation.
- used to generate strong passwords.
- Checking the strength of passwords.
Installation.
To install passwordtools, use the following command:
pip install passwordtool-yt
To build from source follow these steps:
execute the command, git clone https://github.com/Yair-T/passwordtools.git
.
Go to the project and execute the command py -m build
.
Documentation.
To use a package, first import it:
from passwordtools import PasswordTool
After that, to generate the password we will execute the generate()
command:
password: str = PasswordTool.generate()
print(password)
To check the strength of the password, execute the command below:
print(PasswordTool.is_strong(password))
The full code:
from passwordtools import PasswordTool
password: str = PasswordTool.generate()
print(password)
print(PasswordTool.is_strong(password))
License
passwordtools is licensed under the MIT License. This project is licensed under the MIT License. - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for passwordtools_yt-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b45fc0ef331e794ac24e0a2b4c1dc3292976a7f326ffe76a1d931edcf79f4859 |
|
MD5 | d19975255ed3d1ab1c4ea07b57a58f6a |
|
BLAKE2b-256 | 3415be7dc2ae9efe02e3071164b14dca22bd460cc0b745bde63591e37d0e050e |