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.5.tar.gz (4.1 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.5-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kpass_gen-0.1.5.tar.gz
  • Upload date:
  • Size: 4.1 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.5.tar.gz
Algorithm Hash digest
SHA256 589f9f1eacfe188810c528a7c430af1cc9b23a66c0ecee36f624e7d3285f0310
MD5 977babc88107b459b55bfb38a863e110
BLAKE2b-256 d71c24d1ef631ad65f367b2b7772202e408247113eeb78aa347a7befe4b6bbce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kpass_gen-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ff84ae75fc6056b8546f40d9441ccdff8eb85457c68736d40d9c84c97aa261ea
MD5 2cb1f4d0a08c5da2d332b59c2e425d01
BLAKE2b-256 2fd350e47e57b50ac60b2992ada93fae8ec6589f04576672554c70c48c9fd364

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