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
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 passwordtools-yt-0.0.1.tar.gz.
File metadata
- Download URL: passwordtools-yt-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5395a6a244b5cec8358be9ab63d123ee3200ab034186a1209dad510ecc98d237
|
|
| MD5 |
6ea6dc2eaaddc513bffa0a1a296a7b82
|
|
| BLAKE2b-256 |
9099082d3b98fe9c38a0cf3643d480e069c10436767ceb97dd822a61c2ef46ff
|
File details
Details for the file passwordtools_yt-0.0.1-py3-none-any.whl.
File metadata
- Download URL: passwordtools_yt-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b45fc0ef331e794ac24e0a2b4c1dc3292976a7f326ffe76a1d931edcf79f4859
|
|
| MD5 |
d19975255ed3d1ab1c4ea07b57a58f6a
|
|
| BLAKE2b-256 |
3415be7dc2ae9efe02e3071164b14dca22bd460cc0b745bde63591e37d0e050e
|