Dummy lorem ipsum text generator
Project description
Lorem Text
Dummy lorem ipsum text generator
- Free software: MIT license
- Documentation: https://lorem-text.readthedocs.io.
Features
Dummy lorem ipsum text generator for Python.
- Generate dummy senetnce, paragraphs and words.
- Command line interface tool included.
Usage
To install Lorem Text, run this command in your terminal:
pip install lorem-text
To use Lorem Text in a project:
from lorem_text import lorem
For randomly generated sentence of lorem ipsum text where the first word is capitalized, and the sentence ends in either a period or question mark:
lorem.sentence()
Generate a single paragraph:
lorem.paragraph()
Generate multiple paragraphs of lorem ipsum text each paragraph’s consists of 1 to 2 sentences:
paragraph_length = 5 lorem.paragraphs(paragraph_length)
Generate random lorem ipsum words seperated with single space:
words = 10 lorem.words(words)
Command Line Interface
For randomly generated paragraph of lorem ipsum text:
lorem_text
Lorem ipsum sentence:
lorem_text --s
Lorem ipsum words:
lorem_text --words=50
Contributing
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
1.0 (2020-01-06)
- First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size lorem_text-1.5-py2.py3-none-any.whl (7.8 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size lorem_text-1.5.tar.gz (11.3 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for lorem_text-1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1997aa4efe8f6505d3d73056fb8c8d3d8e2847107329469d395388010e531036 |
|
MD5 | 0ee5df85ddadf7c1b0eb6744420f365d |
|
BLAKE2-256 | 2d967eefa7046dd3dd092b756335882285dce1e4f985792292bb0b2a57f71277 |