Password manager in python with source code

Password manager in python with source code


Password manager is a python Tkinter based project. Password manager is useful for managing the password that can be saved and retrieved. It is easy to use and implement.

Tkinter is a python GUI library that is mostly useful for creating graphics. In this project, we are creating a password manager app. This project is based on managing the password. The program will display a GUI interface where different items are placed. Such as image, button, entry, label, etc.

The user must enter the website name, email, and password. The password can be automatically generated. When the add button is clicked your information will be saved on a txt file. If you open the txt file you can see your information. If you click the search button, you will see the recently saved information in a popup. See the output below.

password manager

Building the password manager project

Python programming is used in building this project. We must import tkinter library, tkmessagebox, json, pyperclip, random, etc libraries. We are using json format to save the information. As the interface is created, the functionality is written separately. The functions are called in button using the command. When the button is clicked the function works.

Further, we are using try-except function for exception handling. Also the project has a search function also. After your information is saved you can search the specific item. First enter the website name and click search button. The program searches the password for that website. The json reads the data from the saved file and displays it in a popup.  

How to use this project?

  • Download the project and extract the folder.
  • Open the project folder in editor or IDE. (pycharm, anaconda)  
  • Execute the project.
  • Manage your password.
  • Enjoy and share

Click the download button below to get the source code for this password manager project.