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.easy(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.5.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gpassw-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 85f0ac0515c396af7ab97bf3656fa2974f4643f0cbd5762b5909bfad20ae0435
MD5 eae2c02e13455c6981f5b89af38db5cc
BLAKE2b-256 c7238996f9a42d76eca63129c0a8ab702ecd206cb3e59e2e0efd37f16f703584

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gpassw-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0c03ae500aa61cbd277bf595b720df451bdd1d3c1f787d6460691d64a77e2063
MD5 ea05dbd63d178032bd73205d9c687da0
BLAKE2b-256 4d2c63a65fa65ac54eef3c17ba9c00069130050c96bc24b616a23fd2a8178e7a

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