Skip to main content

Benerator Cumberpy is a name generator written in Python that generates word pairs similar to “Benedict Cumberbatch”. There already exist generators like this. However, they create new words, such as “Boobiedook Cumberfinkle”.

Benerator Cumberpy will create pairs of existing English words that fullfil certain criteria. Examples could include “Benefits Coordination” or “Benevolent Cucumber”. There are over 480 million possible combinations.

The script works both in Python 2 and 3.

Install and run Benerator Cumberpy

Make sure you have Python installed, and (optionally) create a virtualenv.

To install Benerator Cumberpy, run pip install benerator-cumberpy

To run Benedict Cumberpy in terminal, run:

Available commands

Command

Description

benerate

Print only a name-surname pair.

hello-ben

Print a sentence like “Hello there, my name is Bronzelike Certificate.”.

For added hilarity, pipe the output of hello-ben through cowsay (Win: cowsay for Windows, Linux: apt install cowsay or whatever else your distro uses, OSX: if you have HomeBrew installed – brew install cowsay).

Example:

$ hello-ben | cowsay -f stegosaurus
 ____________________________________
/ Hello there, my name is Beetleweed \
\ Correctioner.                      /
 ------------------------------------
\                             .       .
 \                           / `.   .' "
  \                  .---.  <    > <    >  .---.
   \                 |    \  \ - ~ ~ - /  /    |
         _____          ..-~             ~-..-~
        |     |   \~~~\.'                    `./~~~/
       ---------   \__/                        \__/
      .'  O    \     /               /       \  "
     (_____,    `._.'               |         }  \/~~~/
      `----.          /       }     |        /    \__/
            `-.      |       /      |       /      `. ,~~|
                ~-.__|      /_ - ~ ^|      /- _      `..-'
                     |     /        |     /     ~-.     `-. _  _  _
                     |_____|        |_____|         ~ - . _ _ _ _ _>

You can also use Benerator Cumberpy in your Python script.

For example:

# your_script.py
from benerator_cumberpy import benerate_name
from benerator_cumberpy import hello

benerate_name()
hello()
$ python your_script.py

Bestselling Corridors
Hello there, my name is Belial Cobalt.

Where do the words come from?

I found a list of English words to use – this one. Then I made two lists – first_names.txt and last_names.txt based on the following criteria:

First name (end result: 16692 words):

  • starts with “B”

  • is at least 6 letters long

  • is not Benedict

Last name (end result: 28786 words):

  • starts with “C” or “K”

  • is at least 6 letters long

  • does not start with “ch”

  • is not Cumberbatch, though it wasn’t in the dataset anyway

Metadata

Release files for benerator-cumberpy 0.2.3

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

Source distribution (sdist)

Source distribution for benerator-cumberpy 0.2.3
File Size Uploaded
benerator_cumberpy-0.2.3.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for benerator-cumberpy 0.2.3
File Interpreter ABI Platform
benerator_cumberpy-0.2.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 143.3 kB

Release files / benerator_cumberpy-0.2.3.tar.gz

Download URL benerator_cumberpy-0.2.3.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
30b70d46c9af4c5288a7664108ab1934ce33da411b0af2e210af38996bb97af3
BLAKE2b-256 checksum
How to use checksums
6b75d23975908a6d1d73d617480ca9e700bf6ce3500a6401323a27ed2f52bcd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.6

Release files / benerator_cumberpy-0.2.3-py2.py3-none-any.whl

Download URL benerator_cumberpy-0.2.3-py2.py3-none-any.whl
Size 139.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
377bf7629ec36a43ab9374afff94cfabcc9fa660dc6d066bb4cdb5516675dd1e
BLAKE2b-256 checksum
How to use checksums
efa57629f1ca8dfe7af8d3e65e7fedc4441a8545805ebb39de394826fdc2b41b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.0

1 release file

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