Skip to main content

friendly-sniffle

Quickly and securely generate a username or a password from EFF Dicewords list.

Installation

$ pip install bk_generator

Usage

python

>>> from bk_generator import generate_username, generate_password
>>> generate_username()
'Fancy-Zebra'
>>> generate_password()
'rejoice-jigsaw-exact'

cli

$ bk_generator --help
usage: generate.py [-h] {passphrase,username} ...

Generate a username or passphrase.

options:
  -h, --help            show this help message and exit

commands:
  valid commands

  {passphrase,username}
                        command to run
$ bk_generator username -h
usage: generate.py username [-h] [-w WORDLIST] [-C] [-i]

options:
  -h, --help            show this help message and exit
  -w WORDLIST, --wordlist WORDLIST
                        Wordlist to use (default: eff_large_wordlist.txt)
  -C, --copy            Copy passphrase to clipboard
  -i, --include-numbers
                        Include numbers in passphrase
bk_generator username
Fancy-Zebra
$ bk_generator password -h
usage: generate.py passphrase [-h] [-w WORDLIST] [-C] [-i] [-n NUM_WORDS] [-c] [-s SEPARATOR | -xs]

options:
  -h, --help            show this help message and exit
  -w WORDLIST, --wordlist WORDLIST
                        Wordlist to use (default: eff_large_wordlist.txt)
  -C, --copy            Copy passphrase to clipboard
  -i, --include-numbers
                        Include numbers in passphrase
  -n NUM_WORDS, --num-words NUM_WORDS
                        Number of words in passphrase (default: 3)
  -c, --capitalize      Capitalize the first letter of each word

Separator options:
  -s SEPARATOR, --separator SEPARATOR
                        Separator between words (default: -)
  -xs, --no-separator   Do not use a separator between words
$ bk_generator password -C -i
Rejoice-Jigsaw-Exact14

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to https://unlicense.org

Release files for bk-generator 1.0.0

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

Source distribution (sdist)

Source distribution for bk-generator 1.0.0
File Size Uploaded
bk_generator-1.0.0.tar.gz 48.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bk-generator 1.0.0
File Interpreter ABI Platform
bk_generator-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 97.6 kB

Release files / bk_generator-1.0.0.tar.gz

Download URL bk_generator-1.0.0.tar.gz
Size 48.3 kB
Tags Source
SHA-256 checksum
How to use checksums
21ac11cb61c9efaaaea07fcb8540fbf7c6a408c21f1c74c7dd216cd52f769021
BLAKE2b-256 checksum
How to use checksums
72787882662358facf72293ac9b7a9878247fd8630aa09c5a9dad044b7676054
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / bk_generator-1.0.0-py3-none-any.whl

Download URL bk_generator-1.0.0-py3-none-any.whl
Size 49.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97ef9a7e2ee22aa892d7cd84ff6dd13c73fb4a7710766c375dd8489009a32379
BLAKE2b-256 checksum
How to use checksums
7c59a754d2b39283691970b39fa01bdcfeedee1b98d35b426a37cff9e17a317f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

1.0.21

2 release files

1.0.1

2 release files

This release

1.0.0 This release

2 release files

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