Skip to main content

ZX2C4's pass compatible Python library and cli

Project description

passpy -- ZX2C4's pass compatible library and cli

passpy has been written to be a platform independent library and cli that is compatible with ZX2C4's pass.

passpy saves your passwords in gpg encrypted files and optionally uses git as a revision tool. All files are stored inside the directory given by the PASSWORD_STORE_DIR environment variable (~/.password-store if not set) and can be organised into folders. You can also just copy the whole store to have your passwords available where ever you like.

Documentation

The latest documentation is available at readthedocs.

Installation

PyPI

Just do

$ [sudo] pip install passpy

Arch Linux

The package python-passpy is available in the AUR for you to install however you like.

Manually

Either clone the git repository using

$ git clone https://github.com/bfrascher/passpy.git

or download the source from the releases tab and extract it. Afterwards change into the new folder and do

$ [sudo] python setup.py install

Dependencies

passpy depends on Python 3.3 or later (it has mostly been tested using Python 3.5). The program makes use of git and gpg2 as well as either xclip or xsel on Linux.

The following Python packages will be installed alongside passpy:

If you are on Windows and want colourised output on the command line, you will additionally need to install colorama.

Changelog

1.0.2

  • Now also read the default password store location from PASSWORD_STORE_DIR for the cli.
  • Show a better error message when the password store does not exist.
  • Always use the path parameter of Store.init_store relative to Store.store_dir.

1.0.1

  • Fix documentation.

1.0.0

  • Read the default password store location from the PASSWORD_STORE_DIR environment variable, just like pass does (contributed by Jonathan Waldrep).

Project details


Download files

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

Source Distribution

passpy-1.0.2.tar.gz (28.9 kB view hashes)

Uploaded Source

Built Distribution

passpy-1.0.2-py3-none-any.whl (33.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page