Releases: JarryShaw/lorem
v1.3.0.post3
bumped version to 1.3.0.post3
v1.3.0.post2
bumped version to 1.3.0.post2
v1.3.0.post1
bumped version to 1.3.0.post1
python-lorem v1.3.0
- 075c7b3 remove tag on failure
- f168e45 just do release
- 6edb6a8 try dependable workflow
- 18082e7 bugfix in release
- c376c4e bugfix in distro
- 10677ee bugfix in distro
- 33b1fd0 bugfix for docs
- b3f9cc6 bugfix for docs
- 2b48827 bugfix for docs
- 848a64d pool as kwarg
- 7c310bc bugfix for workflow
- 2c2d6b2 revised workflow & distro setup
- f33388b Add usage example to README (#66)
- 8f0bc4c Update sphinx from 5.3.0 to 6.1.3 (#65)
- 1b516c0 Update deploy-pages.yml
python-lorem v1.3.0rc1
- 075c7b3 remove tag on failure
- f168e45 just do release
- 6edb6a8 try dependable workflow
- 18082e7 bugfix in release
- c376c4e bugfix in distro
- 10677ee bugfix in distro
- 33b1fd0 bugfix for docs
- b3f9cc6 bugfix for docs
- 2b48827 bugfix for docs
- 848a64d pool as kwarg
- 7c310bc bugfix for workflow
- 2c2d6b2 revised workflow & distro setup
- f33388b Add usage example to README (#66)
- 8f0bc4c Update sphinx from 5.3.0 to 6.1.3 (#65)
- 1b516c0 Update deploy-pages.yml
python-lorem v1.2.0
python-lorem v1.1.2
- bump version to 0.1.2
- revised docstrings
- integrate Sphinx docs
python-lorem v1.0.0
word
,sentence
,paragraph
will return indefinite iterators- added
set_pool
to customise word pool - updated test cases correspondingly
python-lorem v1.0.0
python-lorem
- Initial Release
In publishing and graphic design, lorem ipsum is a placeholder text commonly
used to demonstrate the visual form of a document or a typeface without
relying on meaningful content.
The lorem
module provides a generic access to generating the lorem ipsum text
from its very original text:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
est laborum.
Usage of the lorem
module is rather simple. Depending on your needs, the
lorem
module provides generation of words, sentences, and
paragraphs.
Get Random Words
The lorem
module provides two different ways for getting random words.
-
word
-- generate a list of random wordsword(count=1, func=None, args=[], kwargs={}) -> Iterable[str]
-
get_word
-- return random wordsget_word(count=1, sep=' ', func=None, args=[], kwargs={}) -> str
Get Random Sentences
The lorem
module provides two different ways for getting random sentences.
-
sentence
-- generate a list of random sentencessentence(count=1, comma=(0, 2), word_range=(4, 8)) -> Iterable[str]
-
get_sentence
-- return random sentencesget_sentence(count=1, comma=(0, 2), word_range=(4, 8), sep=' ') -> Union[str]
Get Random Paragraphs
The lorem
module provides two different ways for getting random paragraphs.
-
paragraph
-- generate a list of random paragraphsparagraph(count=1, comma=(0, 2), word_range=(4, 8), sentence_range=(5, 10)) -> Iterable[str]
-
get_paragraph
-- return random paragraphsget_paragraph(count=1, comma=(0, 2), word_range=(4, 8), sentence_range=(5, 10), sep=os.linesep) -> Union[str]