Skip to content

brandones/cumberbatch

Repository files navigation

cumberbatch

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

About

Generates English names for tests, fixtures, etc.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages