Skip to main content

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).

Metadata

Release files for passpy 1.0.2

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

Source distribution (sdist)

Source distribution for passpy 1.0.2
File Size Uploaded Provenance Actions
passpy-1.0.2.tar.gz 28.9 kB Without provenance Details for passpy-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for passpy 1.0.2
File Interpreter ABI Platform Actions
passpy-1.0.2-py3-none-any.whl Python 3 none any Details for passpy-1.0.2-py3-none-any.whl

Total release size: 62.7 kB

Release files / passpy-1.0.2.tar.gz

Download URL passpy-1.0.2.tar.gz
Size 28.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fe758c2022213034be2dbf0fab4a1e41fd0f9aeb0582da2f936cd105162027a9
BLAKE2b-256 checksum
How to use checksums
aafa2a4c61c4984f04a2356847439a6a653bac91171c4789b2a639f8808cdf2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.3 CPython/3.8.1 Linux/5.5.4-arch1-1

Release files / passpy-1.0.2-py3-none-any.whl

Download URL passpy-1.0.2-py3-none-any.whl
Size 33.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c28958cb50c8a9a4bc28a7be2ed1819ce1d4e22f77f5dfdde1a1b28882d8c956
BLAKE2b-256 checksum
How to use checksums
18204bdcf4acde70dd29d7bb1959664632c2cb8e57fe9a79b507e2da77c984be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.3 CPython/3.8.1 Linux/5.5.4-arch1-1

Security for passpy 1.0.2

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