Metadata-Version: 2.1
Name: pw
Version: 0.14.1
Summary: Search in GPG-encrypted password file.
Home-page: https://github.com/catch22/pw
License: MIT
Author: Michael Walter
Author-email: michael.walter@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: click (>=8.1.7,<9.0.0)
Requires-Dist: colorama (>=0.4.6,<0.5.0)
Requires-Dist: pyperclip (>=1.8.2,<2.0.0)
Description-Content-Type: text/markdown

# pw [![Build Status](https://github.com/catch22/pw/actions/workflows/ci.yml/badge.svg)](https://github.com/catch22/pw/actions/workflows/ci.yml) [![Latest Version](https://img.shields.io/pypi/v/pw.svg)](https://pypi.python.org/pypi/pw/) [![Supported Python Versions](https://img.shields.io/pypi/pyversions/pw.svg)](https://pypi.python.org/pypi/pw/)


`pw` is a Python tool to search in a GPG-encrypted password database.

```
Usage: pw [OPTIONS] [USER@][KEY] [USER]

  Search for USER and KEY in GPG-encrypted password file.

Options:
  -C, --copy       Display account information, but copy password to clipboard (default mode).
  -E, --echo       Display account information as well as password in plaintext (alternative mode).
  -R, --raw        Only display password in plaintext (alternative mode).
  -S, --strict     Fail unless precisely a single result has been found.
  -U, --user       Copy or display username instead of password.
  -f, --file PATH  Path to password file.
  --edit           Launch editor to edit password database and exit.
  --gen            Generate a random password and exit.
  --version        Show the version and exit.
  --help           Show this message and exit.
```


## Installation

To install `pw`, simply run:

```bash
$ pip install pw
```

