module documentation

Utility functions for generating "lorem ipsum" Latin text.
Constant COMMON​_P Undocumented
Constant COMMON​_WORDS Undocumented
Constant WORDS Undocumented
Function paragraph Return a randomly generated paragraph of lorem ipsum text.
Function paragraphs Return a list of paragraphs as returned by paragraph().
Function sentence Return a randomly generated sentence of lorem ipsum text.
Function words Return a string of count lorem ipsum words separated by a single space.
COMMON_P: str =

Undocumented

Value
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
 incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nost
rud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis a
ute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
 nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa q
ui officia deserunt mollit anim id est laborum.'
COMMON_WORDS: tuple[str, ...] =

Undocumented

Value
('lorem',
 'ipsum',
 'dolor',
 'sit',
 'amet',
 'consectetur',
 'adipisicing',
...
WORDS: tuple[str, ...] =

Undocumented

Value
('exercitationem',
 'perferendis',
 'perspiciatis',
 'laborum',
 'eveniet',
 'sunt',
 'iure',
...
def paragraph():

Return a randomly generated paragraph of lorem ipsum text.

The paragraph consists of between 1 and 4 sentences, inclusive.

def paragraphs(count, common=True):

Return a list of paragraphs as returned by paragraph().

If common is True, then the first paragraph will be the standard 'lorem ipsum' paragraph. Otherwise, the first paragraph will be random Latin text. Either way, subsequent paragraphs will be random Latin text.

def sentence():

Return a randomly generated sentence of lorem ipsum text.

The first word is capitalized, and the sentence ends in either a period or question mark. Commas are added at random.

def words(count, common=True):

Return a string of count lorem ipsum words separated by a single space.

If common is True, then the first 19 words will be the standard 'lorem ipsum' words. Otherwise, all words will be selected randomly.