Skip to main content

Dummy lorem ipsum text generator

Project description

Lorem Text

https://img.shields.io/pypi/dm/lorem_text https://img.shields.io/pypi/pyversions/lorem_text

Dummy lorem ipsum text generator

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.

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

lorem_text-3.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

lorem_text-3.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file lorem_text-3.0.tar.gz.

File metadata

  • Download URL: lorem_text-3.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.9 Windows/10

File hashes

Hashes for lorem_text-3.0.tar.gz
Algorithm Hash digest
SHA256 03013aabdbc33e7280d92c20ba041b9d8f21187e0164a9323fd173be6825c865
MD5 0b716efbd63fa3c6cbe5fe9159afa7bb
BLAKE2b-256 314a0d8a3633a51e4c0ed1e9cd20accf6b485584054db323ee0448fabc14dfe0

See more details on using hashes here.

File details

Details for the file lorem_text-3.0-py3-none-any.whl.

File metadata

  • Download URL: lorem_text-3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.9 Windows/10

File hashes

Hashes for lorem_text-3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c7e3e4a64db5a9574e465cfae429d4c8606657f89c02b39eefa88f933d314e2
MD5 de964b4c6648ffa88be461f98b17dc4c
BLAKE2b-256 fff4d2b9b52921fbd8c1cc767f818b5dbecb5c572686168896ac8a9aa4fb43f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page