A simple yet effective Password Manager built with Python using the tkinter
library. This application helps users generate strong, random passwords and securely save them to a local file.
- Password Generator: Generates strong passwords with a mix of letters, symbols, and numbers.
- Data Validation: Ensures that all fields are filled and that the email contains an '@' before saving.
- Secure Data Storage: Saves passwords along with the associated website and email/username to a text file.
- Python 3.x installed on your machine.
tkinter
(comes pre-installed with Python).
-
Clone the repository:
git clone https://github.com/praharaj-ashutosh/password-manager.git cd password-manager
-
Ensure you have the following folder structure:
/password-manager ├── images/ │ └── logo.png # Place your application logo here ├── main.py # The main script file └── README.md # This file
-
Run the script:
python main.py
- Enter the website name.
- Enter your email/username (pre-filled with a default email).
- Click Generate Password to create a random password or enter your own.
- Click Add to save the website, email, and password to
data.txt
.
{
"example.com": {
"email": "[email protected]",
"password": "strongpassword123!"
}
}
- Search Password: Searches given password from the data
- Password Generator: Creates random passwords with 10 letters, 5 symbols, and 5 numbers.
- Save Data: Validates input fields and appends the data to
data.txt
in a user-friendly format. - UI: Built with
tkinter
, featuring labels, entry fields, and buttons for user interaction.
tkinter
(built into Python)random
(built-in module)
Feel free to fork this repository, make changes, and submit a pull request. Suggestions and contributions are welcome!
This project is licensed under the MIT License. See the LICENSE
file for details.