A lightweight, Python-based CLI tool designed to help you generate strong password and check the strength of your existing ones. This tool focuses on keeping your digital life secure through smart password management and instant strength feedback.
Generates a randomized password based on your preffered number of letters, symbols and numeric values.
Analyzes your existing password and gives it a score based on its character variety.
Runs directly via Python without needing complex packages or pip.
Provides detailed remarks on your password's strength so you know exactly where you stand.
Open your terminal and clone this repository:
git clone https://github.com/rhitamcoder/passy.git
(Alternatively, click the green Code button on Github and select Download ZIP.)
To hide the folder:
mv passy .passy
Then:
cd .passy
To run the tool by simply typing 'passy' from anywhere in your terminal:
sudo ln -s $(pwd)/passy.py /usr/local/bin/passy && chmod +x passy.py
Simply open your terminal and type:
passy
If you didn't do the "Global Command" above, you can run it manually inside the folder using:
python3 passy.py
1. Welcome: The tool greets you and asks what you want to do.
2. Choose your action:
- Enter '1' to generate a new password.
- Enter '2' to check the strength of an existing password.
3. Generate Password: If you choose option 1, the tool will ask how many letters, symbols, and numeric values you want - then instantly generate a shuffled, randomized password for you.
4. Check Strength: If you choose option 2, you will be securely promoted to enter your password (input is hidden). The tool will then break it down and score it out of 1.0 based on character variety.
5. Loop: After each action, the tool asks what you want to do next - with an added '3. Exit' option to leave whenever you're done.
Python 3.x: (Installed by default on almost every Linux system).
Linux/Unix: Works on Arch, Ubuntu, Fedora, Mint and MacOS.
This tool was created to make password security simple and accessible directly fromt the terminal. Instead of relying on online generators or guessing whether your password is strong enough, Passy gives you full control - offline, instantly, and without any bloat.
"A strong password is your first line of defense. Don't leave the door open for anyone."
By using Passy, you are:
1. Staying Secure: Generating truly randomized passwords that are hard to guess or brute-force.
2. Building Awarness: Understanding exactly what makes a password weak or strong.
3. Keeping It Simple: No accounts, no cloud, no complexity - just Python and your terminal.
Feel free to Fork this repo and improve it - add more symbols, extend the strength scoring logic, or build a saved passwords feature. All contributions are welcome!