Skip to main content

Hi! I made this package to help us with password generators. If you need more details about the implementation, see the readme.txt file on this repository: https://github.com/arthur-asilva/PasswordGeneratorTools.

Project description

PasswordGeneratorTools

This package was made to help you with simple daily tasks like generating password suggestions. To use, you need to install the package from pip install password-generator-tools==0.1.0 or clone these files.

Import

Use the below code to import the package into your project after installation:

from PasswordGeneratorTools import PasswordGeneratorTools

Usage

The package generates full options password from your information length or you can do it with single choices like this:

  • Alphabet characters;
  • Digits;
  • Special characters;
  • Custom the options above;
  • Full generation.

So, start with call this object like this:

password = PasswordGeneratorTools()

After, call your single methods like this:

''' this is to define your password length ''' password_length = 8

''' this is to generate your password length previously defined by you, this method just use alphabet ASCII characters ''' alphabet_password = password.Alphabet(password_length)

''' this is to generate your password length previously defined by you, this method just use digits (0 to 9) ''' digit_password = password.Digit(password_length)

''' this is to generate your password length previously defined by you, this method just use special characters like !@#$%^&*() ''' special_password = password.Special(password_length)

''' this is to generate your password length previously defined by you, this method use all options above ''' full_character_password = password.CharactersGenerator(password_length)

You can simplify use a dict with the following keys: 'alphabet', 'digits' or 'special'. Each key will have your attribute length, like this:

params = { 'alphabet': 3, 'digits': 3, 'special' 2 }

If you need, just use what you want, see below.

params = { 'alphabet': 4, 'digits': 4 }

##In this case, your password just will have alphabet and digits characters. I hope help you!

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

password_generator_tools-0.2-py3-none-any.whl (4.1 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