MyPassMaker is a simple and secure password generator that can create both random passwords and memorable passphrases.
- Generate random passwords with customizable length and character sets
- Generate memorable passphrases using a wordlist
- Password safety evaluation
- Command-line interface with various options
- Save generated passwords to files (TXT, JSON, CSV)
Install the package via pip:
pip install mypassmakerpython -m mypassmaker [options]Options for random password generation:
--lengthor-len: Password length (default: 8)--upper_caseor-u: Include uppercase letters--lower_caseor-l: Include lowercase letters--special_charor-s: Include special characters--digitsor-d: Include digits--countor-c: Number of passwords to generate (default: 1)--outputor-o: Save passwords to a file--formator-f: Output format (txt, json, csv) (default: txt)
Example:
# Generate and display passwords
python -m mypassmaker --length 12 --upper_case --lower_case --special_char --digits
# Generate and save passwords to a file
python -m mypassmaker --length 16 --count 5 --output passwords.txt
python -m mypassmaker --length 16 --count 5 --output passwords.json --format json
python -m mypassmaker --length 16 --count 5 --output passwords.csv --format csvpython -m mypassmaker --passphrase [options]Options for passphrase generation:
--wordsor-w: Number of words in passphrase (default: 4)--separatoror-sep: Character to separate words (default: '-')--countor-c: Number of passphrases to generate (default: 1)--outputor-o: Save passphrases to a file--formator-f: Output format (txt, json, csv) (default: txt)
Example:
# Generate and display passphrases
python -m mypassmaker --passphrase --words 4 --separator "-"
# Generate and save passphrases to a file
python -m mypassmaker --passphrase --words 4 --count 5 --output passphrases.txtThis will generate passphrases like "correct-horse-battery-staple" using words from the built-in wordlist.
The tool includes a safety evaluation feature that checks:
- Password length (>= 8)
- Presence in common password lists
- Use of special characters
- Mix of uppercase and lowercase letters
- Inclusion of numbers
MIT License
We appreciate your interest in contributing to MyPassMaker! Here's how you can help:
- Fork the repository.
- Make your changes or add new features.
- Write tests to ensure your changes work as expected.
- Submit a Pull Request (PR) with a description of your changes.
We'll review your PR and merge it if it aligns with the project goals.
We'd love to hear from you! Whether you have feedback, suggestions, or questions, feel free to reach out:
- Email: [email protected]
- Website: www.edrisranjbar.ir
- LinkedIn: Edris Ranjbar
- GitHub: MyPassMaker Repository
Stay connected and help us make MyPassMaker even better!