Skip to main content

kpass is a simple password generator based on full name, age, and birthdate.

Project description

kpass

kpass is a Python library that generates hundreds (or thousands) of password combinations based on a person's full name, age, and date of birth.

It also includes leet-style substitutions (e.g., A → 4, S → $, E → 3), and automatically saves the generated passwords to a .txt file with progress bars using the rich library.


📦 Installation

pip install kpass

🚀 Example usage

from kpass import generator

# Generate passwords based on personal data
generator(
    name="Jhonny Silverhand",
    age="34",
    birth_date="16/11/1988"
)

This will create a folder called passwords_generator containing a file named pass_generated.txt with valid password combinations between 6 and 18 characters.


🔧 Available functions

generator(name: str, age: str, birth_date: str) -> bool

Generates and saves passwords automatically.

aplly_ciphers(text: str) -> str

Applies leet-style substitutions to the given text (e.g., A → 4, S → $, etc.).

save_to_txt(passwords: list[str], file_name: str = "pass_generated.txt")

Saves a list of passwords to a .txt file with a progress bar.


✅ Requirements

Python 3.6 or higher

rich


📄 License

This project is licensed under the MIT License.

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

kpass_gen-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kpass_gen-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file kpass_gen-0.1.1.tar.gz.

File metadata

  • Download URL: kpass_gen-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for kpass_gen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1d47731208af096057fe850a5702d61f3506cdb8f22c9e9db863f0546093318c
MD5 0e76cb4e7b17255a9ad69af10513d047
BLAKE2b-256 2903cbfabb1e28b35513a2699a3c94b37100ca3cb181a6978d070a3fe038d102

See more details on using hashes here.

File details

Details for the file kpass_gen-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kpass_gen-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for kpass_gen-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ff2da0c03e4bd4ad91b789a15ddad645e04e9015bdf8e1e73a9d47da6501e82
MD5 2dacfafd4448ca458d8827c7b9e4ba09
BLAKE2b-256 ec74798afcfb76768054c6cc7f929fe108456c2a1be24888ff11b8f79fc16dcd

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