papass
papass generates passphrases following the diceware approach as proposed by Arnold G. Reinhold.
Quickstart
Assuming you have a wordlist file wordlist.txt (where to get
one) you
can run the following command to generate a random list of four words:
$ papass pp -l 4 -w wordlist.txt
Passphrase: grimy street acetone overcast
Entropy: 51.6993
By default this uses the system's most secure random number generator. To use physical
dice add -r dice. The number of dice rolls can become very high so for convenience you
can enter the rolls in groups as in the following example:
$ papass pp -l 4 -w wordlist.txt -r dice
Roll 20 dice: 5 1 3 5 1
Roll remaining 15 dice: 4 6 4 6 2
Roll remaining 10 dice: 5 6 2 3 6
Roll remaining 5 dice: 6 5 2 2 4
Passphrase: renegade reapprove static uphold
Entropy: 51.6993
Passwords can be created too (can also be used with -r dice):
$ papass pw -l 20 -p letters,digits
Password: rXJndFnML2j3YqVo2WgF
Entropy: 119.084
See papass.readthedocs.io for the full documentation.
Development
Create a virtual environment (e.g. via python -m venv .myvenv or
mamba/micromamba). Install (development) dependencies and
papass in editable mode:
$ pip install -r requirements.txt -e .
Run tests and type checking via
$ pytest
$ mypy
Formatting and linting is done via ruff.
$ ruff format
$ ruff check --fix
To build the docs install e.g. make and do
$ pip install -r docs/requirements.txt
$ make -C docs/ html
Metadata
Release files for papass 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| papass-0.1.0.tar.gz | 29.3 kB | Without provenance | Details for papass-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| papass-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for papass-0.1.0-py3-none-any.whl |
Total release size: 48.5 kB
Release files / papass-0.1.0.tar.gz
| Download URL | papass-0.1.0.tar.gz |
|---|---|
| Size | 29.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8824e93e12e47de951b7a0ef2db789cce1f93bfdda43e24ed4b3f88f8d39ae96
|
|
BLAKE2b-256 checksum How to use checksums |
b78a261c7842f24e8ef9a11c0bd840be8e7559c057cbc40066bb6a264d62a700
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Release files / papass-0.1.0-py3-none-any.whl
| Download URL | papass-0.1.0-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5671b6377e464c3c7784a69af73ee49ac5362ed179c1b24bbb75b4230b12ce90
|
|
BLAKE2b-256 checksum How to use checksums |
e4f5ab417abc7457341e052253edfaf71fa2777ab3f48598e73761fc78d93dd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Security for papass 0.1.0
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.