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.2.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.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kpass_gen-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1558303e4199d49f19ea34ab7e13912451cb4b330400c0041a3b34163e0024ee
MD5 bb03316cc3f25e3c85df0698bd368524
BLAKE2b-256 a22476a03a73d00cf472bb6d8e0193d4290fd4c911050646f9dd5db1797decc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kpass_gen-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c2c09d5a147dff40736724e21ca8e9519584aec11ac7db4ce84ad7f255649ae0
MD5 21d658292fb847b1b439f06996e49f47
BLAKE2b-256 082bce5652645875d2a179a308f7ee25586a17347dba2d50405d2180994a4c01

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