use lorem

Dependencies: random

Lorem Ipsum generator based upon @sfischer13/python-lorem.

:lorem.words ( → a )

The variable lorem.words is a list of words that will randomly be chosen between to generate lorem ipsum.

:lorem.numwords ( → a )

Controls the number of words per sentence in lorem.sentence.

:lorem.numsentences ( → a )

Controls the number of sentences per paragraph in lorem.paragraph.

:lorem.numparagraphs ( → a )

Controls the number of paragraphs in lorem.

lorem.sentence ( → s )

Creates a random sentence of lorem ipsum.

The number of words in the sentence is controlled by the variable :lorem.numwords.

lorem.paragraph ( → s )

Creates a random paragraph of lorem ipsum.

The number of sentences in the paragraph is controlled by the variable :lorem.numsentences.

lorem ( → s )

Creates a few random pargraphs of lorem ipsum.

The number of paragraphs is controlled by the variable :lorem.numparagraphs.


back to index

docs@04547c7