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.
Release files for lorem-text 3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lorem_text-3.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lorem_text-3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / lorem_text-3.0.tar.gz
| Download URL | lorem_text-3.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03013aabdbc33e7280d92c20ba041b9d8f21187e0164a9323fd173be6825c865
|
|
BLAKE2b-256 checksum How to use checksums |
314a0d8a3633a51e4c0ed1e9cd20accf6b485584054db323ee0448fabc14dfe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.9 Windows/10
|
Release files / lorem_text-3.0-py3-none-any.whl
| Download URL | lorem_text-3.0-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c7e3e4a64db5a9574e465cfae429d4c8606657f89c02b39eefa88f933d314e2
|
|
BLAKE2b-256 checksum How to use checksums |
fff4d2b9b52921fbd8c1cc767f818b5dbecb5c572686168896ac8a9aa4fb43f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.9 Windows/10
|