Skip to main content

A pseudo-word generator

Project description

The gibberish module let’s you generate random, pronounceable pseudo-words. It started life as an answer on StackOverflow about password generators , but it’s also a fun way to coin words or just spark some lexical creativity.


gibberish creates pseudo-words which consist of one consonant-vowel-consonant syllable that sounds like it could be English. Sometimes it spits out real words; most of the time not:

>>> from gibberish import Gibberish
>>> gib = Gibberish()
>>> gib.generate_word()
>>> gib.generate_word(start_vowel=True)
>>> gib.generate_word(end_vowel=True)
>>> gib.generate_words(3)
['sqiounn', 'nuil', 'hydrieucks']

It also works as a console script:

~$ gibberish 6
strit druf doct vel dosk flomp
~$ gibberish
~$ gibberish 1 -l large
~$ gibberish 2 -l medium
voskot koontan


To install the gibberish module and console script globally, clone this repository and run:

~$ python install


  • (2017.5.11)
    • Analyze the components from CMUdict (nltk.corpus.cmudict) entries.
    • Use secrets module if Python version 3.6 or later.


Please help edit entry the gibberish/database/components.yaml as which of the characters is an initial consonant, final consonants, or vowels is opinionated.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gibberish, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size gibberish-0.4.0-py2.py3-none-any.whl (13.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size gibberish-0.4.0.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page