Skip to content

shfahiim/Password-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation


Password Manager

A simple Python-based password management tool that allows users to store, update, and copy passwords to the clipboard. Passwords are stored using Python’s built-in shelve module, enabling persistent storage between sessions.


📦 Setup

  1. Install Python (if not already installed) and ensure the following modules are available:

    • pyperclip
    • shelve (comes with Python by default)

    You can install pyperclip using:

    pip install pyperclip
  2. Place the script in a folder of your choice, for example:

    C:\Users\YourName\PasswordManager
    
  3. (Optional) Add the script’s directory to the system PATH to run it from anywhere:

    • Press Start and search for: Edit environment variables for your account.
    • Under System variables, find the Path variable and click Edit.
    • Click New, then paste the folder path (e.g., C:\Users\YourName\PasswordManager).
    • Click OK to save.

⚙️ How It Works

You can run the script in two ways:

  • Press Win + R to open the Run dialog and type pm
  • Or, run it from the Command Prompt

🔹 Default Behavior

If no argument or more than one argument is passed:

pm

The program displays a menu with options to:

  • Update a password
  • Copy a password

🔐 Updating a Password

To add or update a password, run:

pm update

You’ll be prompted to enter the account name and password.


📋 Copying a Password

To copy a password to the clipboard, run:

pm accountName

If the account name exists in the stored data, its password will be automatically copied to your clipboard.


⚠️ Warning

Passwords are not encrypted. The stored data is readable by any Python script with access to the same shelve file. Use with caution and avoid storing sensitive credentials without proper encryption.


About

This Python program is a simple password management tool that allows users to store, update, and easily copy passwords to the clipboard. The passwords are stored using Python's "shelve" module, which allows the data to persist between sessions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors