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 2 to 4 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.
2.1 (2021-10-16)
Second 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.
Source Distribution
Built Distribution
File details
Details for the file lorem_text-2.1.tar.gz
.
File metadata
- Download URL: lorem_text-2.1.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b984b5570295084012f5a9385672bab3470965c943b73d8d71a6efcd7a62b5c3 |
|
MD5 | 586e602da0e11c76e7f3d4a84a490f57 |
|
BLAKE2b-256 | bccb845cec9407543b651e1d6313ffdd80c631a5aa4fc42dcc50dbf2d7170278 |
File details
Details for the file lorem_text-2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: lorem_text-2.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b512779addd08dcc221460ce428f7911b198f66c5763410f3de6d788eb62ceb3 |
|
MD5 | eb2ab19797adb665a4a69dcdfacfbd8d |
|
BLAKE2b-256 | 73346f1379fbce673d1d83245884763c5ec114363933330bf5fec275a8903ca5 |