Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

passwordtools-yt-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

passwordtools_yt-0.0.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page