Skip to main content

A simple password generator

Project description

parole

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

Get a password with default characteristics via:

parole

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

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

parole-0.0.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parole-0.0.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file parole-0.0.3.tar.gz.

File metadata

  • Download URL: parole-0.0.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using 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.56.0 CPython/3.8.6

File hashes

Hashes for parole-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e5c02854a96f8fb252b66dc4e5879243a87d6bbc75c306ebf945cc77b25b0dcc
MD5 5fa5c82dd32d19b9017f09b1e05fef32
BLAKE2b-256 8d225cc96671a6ccfd51693dd61c0663c4b9c77f4b6ce5d66a45d5bc33812d67

See more details on using hashes here.

File details

Details for the file parole-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: parole-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using 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.56.0 CPython/3.8.6

File hashes

Hashes for parole-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ca2b11bdfd8f2633fd34ca2403b0fb19707a417da463daaa5c52db03532d9f24
MD5 da446bec56a7c573832fc274759df384
BLAKE2b-256 892e941a6a77e8bfebbc27ac16c17a1f4ae3d343a4b99a574b31f9faf834f4b4

See more details on using hashes here.

Supported by

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