Skip to main content

parole

pypi_versionbuild-status

Very simply CLI password generator. This has probably been done a trillion times already. However, here's the one I occasionally use.

What it does

Generates a password by invoking parole and copies it to the clipboard (if supported on your system).

Installation

Install via pypi:

pip install parole --upgrade

Simply install from Github itself via:

pip install "git+ssh://git@github.com/merschformann/parole.git" --upgrade

Usage

Generate and copy a password with default characteristics via:

parole

Generate, copy and display a password (make sure you're the only reader):

parole -s

Display help:

parole --help

Get a password of specific length and alphabet via:

parole --alphabet "a!" --uppercase --digits --length 10

Resulting alphabet of this example is aABCDEFGHIJKLMNOPQERSTUVWXYZ1234567890!. This is the result of combining the explicitly given symbols 'a' & '!', all uppercase latin letters [A-Z] and all digits [0-9].

Copy to clipboard

The generator uses pyperclip for copying the password to the clipboard. The authors of pyperclip did great work of supporting multiple platforms. However, if you run into problems, please consult the docs of the package: https://pypi.org/project/pyperclip/

On Linux a package to support terminal copy to clipboard is needed. I usually install xsel, e.g.:

sudo apt install xsel

Why?

I use it for quickly generating a password while on the terminal (potentially using a custom alphabet). Furthermore, for myself it was a similar effort as googling a reliable and somewhat cryptographically secure solution. I am no expert on the latter, but I trust the authors of the secrets module (see https://docs.python.org/3/library/secrets.html#module-secrets).

Metadata

Release files for parole 0.1.1

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

Source distribution (sdist)

Source distribution for parole 0.1.1
File Size Uploaded Provenance Actions
parole-0.1.1.tar.gz 3.8 kB Without provenance Details for parole-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 8.6 kB

Release files / parole-0.1.1.tar.gz

Download URL parole-0.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d2b46c541d44aa61be2dfc64e32c29c0cfbb6c54464fa7eed4d6d57ade639b71
BLAKE2b-256 checksum
How to use checksums
52ecbbb77df941e2294a946d79ae4c5d0ce2c71a3b054956d211282e2b941799
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

Release files / parole-0.1.1-py3-none-any.whl

Download URL parole-0.1.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bef6fd4cec029f7bcfc74e294f2bb9d0e48c4cb729fc01a06f650eb6a406f80
BLAKE2b-256 checksum
How to use checksums
2395da760287c9950565a82d80ce297d720aa4fef48cd5348928eb567bf60821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

Security for parole 0.1.1

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