Skip to main content

Generator for random text that looks like Latin.

Project description

Python Lorem Package

https://img.shields.io/pypi/v/lorem.svg https://img.shields.io/travis/sfischer13/python-lorem.svg

Summary

Generator for random text that looks like Latin.

Simple Example

import lorem

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

Complex Example

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.

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-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

lorem-0.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file lorem-0.1.1.tar.gz.

File metadata

  • Download URL: lorem-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lorem-0.1.1.tar.gz
Algorithm Hash digest
SHA256 785f4109a241fc2891e59705e85d065f6e6d3ed6ad91750a8cb54d4f3e59d934
MD5 e3f0064a94c13e19780eb724affdb426
BLAKE2b-256 3aae6a5d8faaec3bc847ae1999e760f76c7238cefd99452e040e4aea5f723738

See more details on using hashes here.

File details

Details for the file lorem-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lorem-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9c2914b5a772022417c398bd74b7bbd712e73ff029ba82720855e458f13ae42
MD5 98ac9ba015747135d331d12dd3751d82
BLAKE2b-256 907e963834e2a400cefdf72af1e10a106c9e849cb4c149cc7b394cb1492effec

See more details on using hashes here.

Supported by

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