Socket
Socket
Sign inDemoInstall

lorem-text

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lorem-text

Dummy lorem ipsum text generator


Maintainers
1

========== Lorem Text

.. image:: https://travis-ci.org/TheAbhijeet/lorem_text.svg?branch=master :target: https://travis-ci.org/TheAbhijeet/lorem_text

.. image:: https://readthedocs.org/projects/lorem-text/badge/?version=latest :target: https://lorem-text.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage

======= History

1.0 (2020-01-06)

  • First release on PyPI.

2.1 (2021-10-16)

  • Second release on PyPI.

Keywords

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc