You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

lorem

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lorem

Generator for random text that looks like Latin.

0.1.1
pipPyPI
Maintainers
1

==================== Python Lorem Package

.. image:: https://img.shields.io/pypi/v/lorem.svg :target: https://pypi.python.org/pypi/lorem

.. image:: https://img.shields.io/travis/sfischer13/python-lorem.svg :target: https://travis-ci.org/sfischer13/python-lorem

Summary

Generator for random text that looks like Latin.

Simple Example

.. code:: python

import lorem

s = lorem.sentence()  # 'Eius dolorem dolorem labore neque.'
p = lorem.paragraph()
t = lorem.text()

Complex Example

.. code:: python

from lorem.text import TextLorem

# separate words by '-'
# sentence length should be between 2 and 3
# choose words from A, B, C and D
lorem = TextLorem(wsep='-', srange=(2,3), words="A B C D".split())

s1 = lorem.sentence()  # 'C-B.'
s2 = lorem.sentence()  # 'C-A-C.'

======= History

0.1.1 (2016-06-18)

  • Update documentation

0.1.0 (2016-06-17)

  • Minimum viable product

0.0.1 (2016-06-14)

  • First release on PyPI.

Keywords

lorem ipsum random text placeholder

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts