Skip to main content

Simple password generator

Project description

ENG:

create() - the function itself

length -> length

counts -> number of passwords

chars -> sets whether the password contains letters

nums -> whether the password contains numbers

symbols -> whether the password contains symbols

lowerSimbol -> sets whether the character “_” in the text with expanded space

lowerSymbolDistance -> sets the spacing of the “_” character in the text

upperLetters -> sets whether the password will contain uppercase letters

lowerLetters -> sets whether the password will contain lowercase letters

returnList -> will return the passwords as a list

If you don’t enter any arguments, the function will return 1 password, 8 characters long.

Example:

password = create(chars=false, length=16, counts=5)

print(password)

Conclusion:

5418074420043687

4983825832454167

4180923973205412

0552142655641343

7774606619186375

RU:

create() - сама функция

length -> длина пароля

counts -> количество паролей

chars -> задает будут ли в пароле буквы

nums -> задает будут ли в пароле цифры

symbols -> задает будут ли в пароле символы

lowerSimbol -> задает будет ли символ “_” в тексте с определенным промежутком

lowerSymbolDistance -> задает промежуток расставления символа “_” в тексте

upperLetters -> задает будут ли в пароле буквы верхнего регистра

lowerLetters -> задает будут ли в пароле буквы нижнего регистра

returnList -> вернет пароли в виде списка

Если вы не введете аргументы, то функция вернет 1 пароль длиною 8 символов.

Пример:

password = create(chars=False, length=16, counts=5)

print(password)

Вывод:

5418074420043687

4983825832454167

4180923973205412

0552142655641343

7774606619186375

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

passwordPy-1.1.tar.gz (3.4 kB view hashes)

Uploaded Source

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