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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kpass_gen-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 fe5107d36fa58f1c51fd65f470686dae1094c8fa2d7c8f0f0295556376407451
MD5 58e354459df1d7462e28c1a3d012f032
BLAKE2b-256 3cd7c57a9008aee0787b13be790799f263f5dcf892ebcfe6bd94c844e4b29f0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kpass_gen-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2b094fdeeea4d315a431a352b251cf6e136ddd9f6153fbbfc3b050b248044947
MD5 743e2c256a590951f54385e3126d6764
BLAKE2b-256 c2c0c6ebe7d99222d9d26a771d13673136661f3d5f94b85cb01a5691612903a8

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