Skip to content

trentmurray/ipsum-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ipsum-gen

Just a simple class to generate some lorem ipsum text.

Supports a number of paragraphs and a total word count. It then divides the two and generates paragraphs with an equal number of words (except for the last, which may have the remainder of words from the modulus of word count & paragraphs.

Absolutely no support for more paragraphs than words. The results get weird and I'm not going to bother fixing.

Usage

ipsum = IpsumGenerator(paragraph_count=9, word_count=1200)
text_test = ipsum.generate_paragraphs()
print(text_test)

About

A very simple Ipsum text generator for Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages