A simple password manager
Project description
Simple Password Manager
Overview
Simple Password Manager is a lightweight and secure Python package for managing passwords. It allows users to store, retrieve, and manage their passwords securely using encryption with a single master password. It supports two types of storage: local storage and cloud storage. The package provides a command-line interface (CLI) for easy management of passwords.
Features
- Encryption: All passwords are encrypted using a master password.
- Secure Storage: Passwords are stored in a secure format locally or in the cloud.
- Command-Line Interface: Easy to use CLI for managing passwords.
- Custom Password Generation: Generate secure passwords on the fly.
- Log and Backup System: Keeps track of changes and allows for easy backup.
Installation
Install the package using pip:
pip install simple-password-manager
Usage
Command-Line Interface (CLI)
The Simple Password Manager can be used directly from the command line with the following commands:
-
Start in Online or Offline Mode:
- For online use, where your passwords are stored securely in the cloud:
spm mode -o
- For offline use, where your passwords are stored locally:
spm mode -f
- For online use, where your passwords are stored securely in the cloud:
-
Create an Account:
- Once the mode is selected, sign up by creating an account:
spm signup <username>
- Once the mode is selected, sign up by creating an account:
-
Manage Your Passwords:
- After creating an account, you can begin managing your passwords with the following commands:
- Add a new password:
spm add <service> <username>
- Retrieve a password:
spm get <service>
- Update an existing password:
spm update <service>
- Delete a password:
spm delete <service>
- Add a new password:
- After creating an account, you can begin managing your passwords with the following commands:
Python Integration
You can also use Simple Password Manager directly in your Python code:
from simplepasswordmanager import Manager, OfflineManager, OnlineManager
# Initialize the manager
manager = Manager(master_password="your_master_password")
# Example usage:
manager.add_password("gmail", "your_email@gmail.com", "your_password")
password = manager.get_password("gmail")
print(f"Retrieved password: {password}")
Notes
- If you have your own solution to store your passwords on the cloud, you can modify where the package stores your passwords online by updating the settings in setting.py.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple-password-manager-0.0.3.tar.gz.
File metadata
- Download URL: simple-password-manager-0.0.3.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8c7d01859d80c02ade281c5cb007e3e476994592d534c8be2e453285f74e64a
|
|
| MD5 |
436a0ffcd8c43bd72d0bd5334a2336db
|
|
| BLAKE2b-256 |
7efaf03f6e523c45086950bde2728a02b600f9fa73c3ce0c79480d0661065f94
|
File details
Details for the file simple_password_manager-0.0.3-py3-none-any.whl.
File metadata
- Download URL: simple_password_manager-0.0.3-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24d0972482c72cd2b01d0647bbd107e76af63519a5c67c0b74d299ab93d8954e
|
|
| MD5 |
ed142dfc16d8e3363813c779a88528af
|
|
| BLAKE2b-256 |
1652434071731895336b7e11f9a9a9ec4e72ba401d274e1c2ab367d753247f59
|