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 details)

Uploaded Source

File details

Details for the file passwordPy-1.1.tar.gz.

File metadata

  • Download URL: passwordPy-1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for passwordPy-1.1.tar.gz
Algorithm Hash digest
SHA256 d8ac6b9cd072cf23ed431adb9a70723afb6b9bc64d87b995e44a499ab4752aa8
MD5 13427a93927a0c2eb7595e5dafe51714
BLAKE2b-256 4627befb1fcebba89770d64e7cc644ab6f073591bf87f0630581558f2fe115cd

See more details on using hashes here.

Supported by

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