Skip to main content

A very easy generator of passwords

Project description

gpassw - генератор паролей!

gpassw - очень простой в использовании генератор паролей для Вашех потребностей.

Минимальный пример использования

from os import system
try: 
    from colorama import Style, Fore, init
    init()
except:
    system("pip install colorama")
    from colorama import Style, Fore, init
    init()
try: 
    from gpassw.functions import Password
except:
    system("pip install gpassw")
    from gpassw.functions import Password

name = input("Напиши своё имя: ")
print(f"Привет, {name}! Сейчас подберём для тебя оптимальный пароль...")
password = Password.get(10) #Генерация пароля из букв
print(f"Мы подобрали тебе пароль - {password}
Окей?")
answer = input("Да/Нет: ")
if answer == "Да" or answer == "да":
    print("Теперь напиши пароль, который мы тебе подобрали для входа в аккаунт.")
else:
    raise SystemExit(1)
hello_password = input("Пароль: ")
while hello_password != password:
    print(Fore.RED + "Пароль неверный." + Style.RESET_ALL)
    hello_password = input("Пароль: ")
print("Вы успешно вошли!")

Как установить?

Всего лишь требуеться просто прописать команду в консоли: pip install gpassw

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

gpassw-0.1.12.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

gpassw-0.1.12-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file gpassw-0.1.12.tar.gz.

File metadata

  • Download URL: gpassw-0.1.12.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gpassw-0.1.12.tar.gz
Algorithm Hash digest
SHA256 d3cbf1ff74e2b7a0d2ca03a0f800a1d6d8fd5ad6f72df17bfea1b6c15bd1626f
MD5 9f193e313cdf15bb81195b83edf88a2f
BLAKE2b-256 ae07de8c21a262d0c7d615cbba3a34860669f9710d0a0c8417d2de6ef0952d3c

See more details on using hashes here.

File details

Details for the file gpassw-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: gpassw-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gpassw-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 d2abd2ef78bf726d5a7e669bdfcba06025ae4b55bd0ddc7ff856947f588251f2
MD5 45e03232db993aae1dd3557d07481b44
BLAKE2b-256 3e3a7dc7aa4b63497b858fab6b1d820d95a6e548740810a2a04f92c1efb6525b

See more details on using hashes here.

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