Last updated:
0 purchases
lorem 0.1.1
Python Lorem Package
Summary
Generator for random text that looks like Latin.
Simple Example
import lorem
s = lorem.sentence() # 'Eius dolorem dolorem labore neque.'
p = lorem.paragraph()
t = lorem.text()
Complex Example
from lorem.text import TextLorem
# separate words by '-'
# sentence length should be between 2 and 3
# choose words from A, B, C and D
lorem = TextLorem(wsep='-', srange=(2,3), words="A B C D".split())
s1 = lorem.sentence() # 'C-B.'
s2 = lorem.sentence() # 'C-A-C.'
History
0.1.1 (2016-06-18)
Update documentation
0.1.0 (2016-06-17)
Minimum viable product
0.0.1 (2016-06-14)
First release on PyPI.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.