papass is a simple library to generate passphrases.
Project description
papass
This is a work in progress
papass generates passphrases following the diceware approach as proposed by Arnold G. Reinhold.
Quickstart
Assuming you have a wordlist file wordlist.txt you can run the following command to
generate a random list of four words:
$ papass -c 4 -w wordlist.txt
Phrase: 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. See papass.readthedocs.io for the
full documentation.
Development
Create a virtual environment (e.g. via python -m venv or
mamba/micromamba). Install (development) dependencies and
papass in editable mode:
$ pip install -r requirements.txt -e .
Run unit tests via
$ pytest
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
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
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 papass-0.0.4.tar.gz.
File metadata
- Download URL: papass-0.0.4.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cbe80b8454925173d8e6fe49fa2651918890d8225584a0720576602783e62f2
|
|
| MD5 |
f43e95b8e2b18eaa5a8fe6cb0a12c4ce
|
|
| BLAKE2b-256 |
b0087ec086c35c02e0ad61bed0ef8a4f3a77f4c908f83479c98db44e6026b817
|
File details
Details for the file papass-0.0.4-py3-none-any.whl.
File metadata
- Download URL: papass-0.0.4-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e647b0f73f00c1b07467722d47626fa61003701664458a16bf31759b5a8907df
|
|
| MD5 |
7849dde90499b16ab0ada560b1902522
|
|
| BLAKE2b-256 |
7eaa5a662600775282c471c342f2a1064d34486d1914515b7a79509b8bcccaf0
|