Skip to main content

a command-line password manager

Project description

A cli password manager in python. Inspired by password-store[1] by Jason A. Donenfeld.



-?, -h, --help  Show this message and exit.

add      Create a new record
alias    Create a symlink named ALIAS
copy     Copy a KEY value to the system clipboard
delete   Delete KEY from a record
drop     Delete an entire record from the disk
get      Retrieve a KEY value from a record
list     List the keys in a record
qrcode   Display a KEY value as a qrcode
qrcodei  Display a KEY value as a qrcode in a png
select   Decrypt a record and print it raw
type     Type a KEY value at the cursor position
update   Update a record's KEY with VALUE


The following non-standard dependencies are required for basic functionality:

pip3 install python-gnupg dulwich appdirs click

There are optional dependencies for some extra features:

To display passwords as QRcodes in the terminal,

pip3 install pyqrcode

To display passwords as QRcodes as images,

pip3 install pyqrcode Pillow pypng

To copy the password to the clipboard,

pip3 install pyperclip

And to type the password at the current cursor position.

pip3 install pyautogui


Like password-store, pwstore uses GPG encryption to store data securely. For now, you must set your recipient key in the environment:

export PWSTORE_KEY='0xA96895ACB7F4970C'


Create a new record

pwstore add

Create an alias

pwstore alias github

Add a password

pwstore github update password "$(apg -n1)"

Add some metadata

pwstore github update login_url ""
pwstore github update username rpdelaney

Why use pw?

In most cases, you should use password-store. Overall, it is much more mature and feature-rich.

The main difference is that pwstore stores data in a json format, enabling you to store additional metadata such as username, login page URL, etc:

pwstore update username rpdelaney

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pwstore-0.1.tar.gz (6.7 kB view hashes)

Uploaded source

Built Distribution

pwstore-0.1-py3-none-any.whl (18.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page