Skip to main content

Generate names similar to Benedict Cumberbatch.

Project description

Generates names similar to “Benedict Cumberbatch”

The module benedict provides three functions: first, last, and full. All three have an optional parameter “clean” which defaults true. clean=False is passed, some of the results may not be child/boss friendly (though most of them still will be, as in the use below).

Usage

>>> import cumberbatch
>>> cumberbatch.first()
'Boilerdang'
>>> cumberbatch.last()
'Cabbagepatch'
>>> cumberbatch.full()
'Bombadil Coggleswort'
>>> cumberbatch.full(clean=False)
'Barister Colonist'

or from the command-line:

$ python -m cumberbatch --first
Bandydoo
$ python -m cumberbatch --last
Snickersbar
$ python -m cumberbatch
Bumbleshack Cottagecheese
$ python -m cumberbatch --nsfw
Blenderdick Countryside

Contributing

Feel free to fork me and create a pull request at https://github.com/brandones/cumberbatch

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

cumberbatch-0.5.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file cumberbatch-0.5.tar.gz.

File metadata

  • Download URL: cumberbatch-0.5.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cumberbatch-0.5.tar.gz
Algorithm Hash digest
SHA256 c0215de00d01fb0d9860da5dc3d5b5fea794d8580813a3f7e759c33ccca67166
MD5 0404910234f475b6f28001af095e95c5
BLAKE2b-256 2840bdcdfa7c4d38f1479319a2035ffbb72f18c9952fb3c854203903c300c433

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page