Skip to main content

Simple Password Manager

PyPI version License: MIT

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:

  1. 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
      
  2. Create an Account:

    • Once the mode is selected, sign up by creating an account:
      spm signup <username>
      
  3. 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>
        

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.

Metadata

Release files for simple-password-manager 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-password-manager 0.0.4
File Size Uploaded Provenance Actions
simple-password-manager-0.0.4.tar.gz 10.0 kB Without provenance Details for simple-password-manager-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simple-password-manager 0.0.4
File Interpreter ABI Platform Actions
simple_password_manager-0.0.4-py3-none-any.whl Python 3 none any Details for simple_password_manager-0.0.4-py3-none-any.whl

Total release size: 22.6 kB

Release files / simple-password-manager-0.0.4.tar.gz

Download URL simple-password-manager-0.0.4.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
73c6725382cd1ae68a15db8a51b71f26d70c5a875497c0223fe0aad0164ea8a2
BLAKE2b-256 checksum
How to use checksums
74640c8f125dcc5c01ee6cf70cb0adee8514806db2065dc84599b73670856620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / simple_password_manager-0.0.4-py3-none-any.whl

Download URL simple_password_manager-0.0.4-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c94faca7522dfde759f667b65a1f3d25afd2dc46c1066a4f314af55ea15580d
BLAKE2b-256 checksum
How to use checksums
23d1b7c0dbb570cbb53d628b8f531c3f95d667808ef7fb1202634330756378e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for simple-password-manager 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page