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-gen

🚀 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.4.tar.gz (4.2 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.4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kpass_gen-0.1.4.tar.gz
Algorithm Hash digest
SHA256 eb8a64494ec1445a3fe356f71ca818f76d544cfcf6ae599f2e0f1a0f84127b25
MD5 535b00f38514a333e463a4634fe6b36f
BLAKE2b-256 1e5272f9094c9ff3ea7ce0701c840f5cc90f2029838dd9b150356280605c5840

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for kpass_gen-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1dc68f77a30e653ca7b5c97ae5edd0cd52510f9d08a62b8908de2e73a2c1c426
MD5 abcd943d5ec78b97333d1d07755185b1
BLAKE2b-256 853e59255472cf1ada6ad383fbc44733b37faa8e87b8fe296fd1351c10d321a8

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