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
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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parole-0.0.8.tar.gz.
File metadata
- Download URL: parole-0.0.8.tar.gz
- Upload date:
- Size: 3.7 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.2 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1866960fd831824d881eee89962d1df6400b27a16a06aa25ae1fe1b357538636
|
|
| MD5 |
284454d31c7a2422dc274f296b2210a5
|
|
| BLAKE2b-256 |
2c572b487f4c7c01ce7aa3a4a3220b18d505724ac5e921493fce26db5c4e0a45
|
File details
Details for the file parole-0.0.8-py3-none-any.whl.
File metadata
- Download URL: parole-0.0.8-py3-none-any.whl
- Upload date:
- Size: 4.6 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.2 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b80d6c663f5489877b0867122b563c33f615d412ddbca1b584c114db81cc2205
|
|
| MD5 |
fa888c4bf2e829470ea4acf158dad469
|
|
| BLAKE2b-256 |
67724d9fcde1f3d953d33e6a6e1326c27d7c10b27d139954a9509c11c0fce6d1
|