Skip to main content

PyLipsum

PyLipsum is a convenient Python library for generating Lorem Ipsum text. It provides a simple interface for retrieving random text, which is often used as placeholder in web page development and layout design. With PyLipsum you can easily and quickly generate text of various types and sizes, which makes this tool indispensable for developers and designers.

Main features

  • Generation flexibility: You can generate words, paragraphs, bytes or lists depending on your needs.
  • Custom Quantity: Specify the number of words, paragraphs, bytes, or list items to generate.
  • Intuitive interface: Easy to use thanks to a concise and clear API.

Installation

You can install the library using pip:

pip install pylipsum

Examples of using

from pylipsum import LipsumAPI

# Create an instance of the LipsumAPI class
lipsum = LipsumAPI()

# Generate 5 words
print(lipsum.generate(5, 'words'))

# Generate 2 paragraphs
print(lipsum.generate(2, 'paragraphs'))

# Generate 50 bytes
print(lipsum.generate(50, 'bytes'))

# List generation
print(lipsum.generate(3, 'lists'))

PyLipsum makes the process of generating Lorem Ipsum text fast and easy, while providing flexibility and customization to suit your needs.

License

This library is distributed under Apache 2.0.


Metadata

Release files for pylipsum 1.0.1.post20240613

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylipsum 1.0.1.post20240613
File Size Uploaded
pylipsum-1.0.1.post20240613.tar.gz 2.4 kB Details

Release files / pylipsum-1.0.1.post20240613.tar.gz

Download URL pylipsum-1.0.1.post20240613.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4a572fb41ae57dd242a2ddf075e8a48b765252732703693b543c3caa99cada5d
BLAKE2b-256 checksum
How to use checksums
8be3e7f8db0ea4e75e81ae6659bd401e417bfcec70466da63ff9b07646c00571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.0.1.post20240613 This release

1 release file

0.0a0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page