Skip to main content

Gibberish: a pseudo-word generator

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.

Usage

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()
'zept'
>>> gib.generate_word(start_vowel=True)
'ientz'
>>> gib.generate_word(end_vowel=True)
'twae'
>>> gib.generate_words(3)
['sqiounn', 'nuil', 'hydrieucks']

It also works as a console script:

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

Installation

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

~$ python setup.py install

Updates

  • (2017.5.11)
    • Analyze the components from CMUdict (nltk.corpus.cmudict) entries.

    • Use secrets module if Python version 3.6 or later.

Contributions

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

Metadata

Release files for gibberish 0.4.0

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

Source distribution (sdist)

Source distribution for gibberish 0.4.0
File Size Uploaded Provenance Actions
gibberish-0.4.0.tar.gz 9.6 kB Without provenance Details for gibberish-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gibberish 0.4.0
File Interpreter ABI Platform Actions
gibberish-0.4.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for gibberish-0.4.0-py2.py3-none-any.whl

Total release size: 23.2 kB

Release files / gibberish-0.4.0.tar.gz

Download URL gibberish-0.4.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c572998f16833527f3e4c1a7586fa0cd65327c27fbfef97d99cafb1f9146fef8
BLAKE2b-256 checksum
How to use checksums
6cdcc85f4f717c42aa8a89073537db2cfa5d462db3fe1d8c5aff1622b58ad02a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / gibberish-0.4.0-py2.py3-none-any.whl

Download URL gibberish-0.4.0-py2.py3-none-any.whl
Size 13.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f3404e56549937f759d3ed02b642ac19efee7019ee967242f2f3ad4c3832eb58
BLAKE2b-256 checksum
How to use checksums
8b05308d21a317b51a044a49e952a199a7ce571da0b01ea0c65fe9e13489cc06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for gibberish 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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