Python Implementation of Lorem Ipsum. Test your typesetting!
Project description
loremify
Lorem Ipsum
Below is a paragraph of randomly generated words resembling human language, but which are in fact just random. Because of the superficial appearance of this text, it finds use when testing typesetting. For example in Latex.
Dolore tempore nobis labore nostrum, culpa aliqua ut fuga dolores incididunt
dolor, hic unde amet error iste aliqua quos. Rem iure, perferendis aliqua
amet, magni expedita perferendis ipsum excepturi, rem amet consectetur
placeat id, tempore lorem, rem dolore, dolor. Hic sed quasi consectetur
aliqua dolor autem sed tenetur libero perferendis accusamus tempor, ipsum
repellat laboriosam et magna. Labore eveniet et do libero ratione, voluptate
dolores magna suscipit adipisicing porro ducimus lorem rem esse magna. Amet
nam aliqua repellat sit et quae similique, elit sapiente magna saepe vel do
voluptatem ea dolor repellat assumenda alias. Dolor hic eiusmod, sunt aliqua
eum lorem, voluptate ipsum eos labore ut inventore reprehenderit labore
consequuntur aspernatur amet, labore aliqua, quo sed.
The implementation provided in this package creates a string containing this placeholder text. It can be dropped immediately into your existing framework.
Example:
from loremify import paragraph
lorem = paragraph(300)
lorem
>>> Libero eiusmod magna, velit iusto, veniam fugiat consectetur adipisicing
repudiandae do placeat aliqua, sit? natus illo tempor consectetur ut
laudantium quia, aliqua et do et labore et in error non nostrum elit amet.
totam do aliqua aliquid vero elit sed ratione et dolore dolor, ipsum,
consectetur?
Future Features:
The following ideas are currently under development:
Customizable Word List:
The word lists used to create early versions are somewhat crude, consisting of two text files, one containing common words and the other uncommon words. The random process then applies weights to the common ones.
We are considering different approaches to open up this functionality to direct manipulation. Perhaps a sponsored word might find its way in?
Direct Interaction with Latex:
Presently, loremify just creates a string of text. This could be expanded to include numbers, links, equations, figures and more. Rather than just creating a random paragraph, write an entire, albeit random, scientific article with sources, equations, tables and everything.
Project details
Release history Release notifications | RSS feed
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 loremify-0.0.3.tar.gz
.
File metadata
- Download URL: loremify-0.0.3.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebb1bf4fc8369cb92ab5ce9fa9a5104c740d2f8186fbac577f4f6d4132457dc3 |
|
MD5 | 6101af775ae1d685aa3f01132db54282 |
|
BLAKE2b-256 | c081c30fe12d6f92f5024ccc5f898762a670d2f024025f8c23b32fc1d5f88703 |
File details
Details for the file loremify-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: loremify-0.0.3-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d828916f2044497880aba0e1180c5a642be7859182dbdccfdad9ab024410fdb |
|
MD5 | 2e306f05e319a2478ad2af43ac8831a6 |
|
BLAKE2b-256 | 9af4fd3d0cb3f057da4f2cd649018f65683fa445f6b0c3ef1bde845ab0945bca |