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

>>> import generate
>>> generate.generate_username(include_numbers)
>>> generate.generate_passphrase(num_words, separator, capitalize, include_numbers)

cli

$ generate --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
$ generate username -h
usage: generate.py username [-h] [-C] [-i]

options:
  -h, --help            show this help message and exit
  -C, --copy            Copy passphrase to clipboard
  -i, --include-numbers
                        Include numbers in passphrase
generate username
Fancy-Zebra
$ generate password -h
usage: generate.py passphrase [-h] [-C] [-i] [-n NUM_WORDS] [-c] [-s SEPARATOR | -xs]

options:
  -h, --help            show this help message and exit
  -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
$ generate 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

Metadata

Release files for bk-generator 1.0.21

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.21
File Size Uploaded
bk_generator-1.0.21.tar.gz 48.6 kB Details

Built distribution (wheel)

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

Total release size: 97.8 kB

Release files / bk_generator-1.0.21.tar.gz

Download URL bk_generator-1.0.21.tar.gz
Size 48.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3955d70d0ee95d19e4369b961c9aa8f43fac03537ee5166309a91acf2c1f6078
BLAKE2b-256 checksum
How to use checksums
5a82d80a6f98ae8e6a68acf633f5a9b6d2535b47c61c3fe46be1261b1c32df9b
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.21-py3-none-any.whl

Download URL bk_generator-1.0.21-py3-none-any.whl
Size 49.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a7126952feedf094f269e88dbfcf68a9e77be4c3db108e87f4963f128e1552d
BLAKE2b-256 checksum
How to use checksums
fda16ca064d58a531e0f776c968ec26c7adbc83bdbdd5238cf146daa9eb85d31
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

This release

1.0.21 This release

2 release files

1.0.1

2 release files

1.0.0

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