Skip to main content

A Python lorem ipsum generator

Project description

Pylorem - A Python lorem ipsum generator

Python package

Generate random words, sentences and paragraphs, useful for placeholder or dummy text.

installation

pip install pylorem

usage

Importing

>>> from pylorem import LoremIpsum

Generate a random word

>>> LoremIpsum.word()
'Omnino'
>>> LoremIpsum.word()
'Leno'
>>> LoremIpsum.word()
'Opera'
>>> LoremIpsum.word()
'Aliquot'
>>> LoremIpsum.word()
'Dissimulo'

Generate a string of n words

>>> LoremIpsum.words(4)
'Mando refectorium termes quercus'
>>> LoremIpsum.words(8)
'Induco alioquin mortuus eum eloquens concupiscentia utorutiusus habeohabuihabitum'
>>> LoremIpsum.words(12)
'Aequitasequitas sodalitas vel indutiae infectus proeo nuncquidem passer adstringo vorax concupiscentia xiphias'

Generate a sentence

>>> LoremIpsum.sentence()
'Contingo praesumopresumo praegravopregravo illeillaillud odio ruoruirutum reluctor anser discedodiscessum hosteshostium redemptor nequeo scelestus absconditus calculus.'

Generate a string of n sentences

>>> LoremIpsum.sentences(3)
'Persevero pactum proluoproluprolutum depereo conitor pravitas iacio genus subiungo iuxta refero impudens repletus juventus propter scriptor ait. Patientia aegrus arceo tyrannus furor partim thalassinus denuntio accuso praestantiaprestantia commissum infrainferiusinfimus milia expletus meretrixmeretricis affligeniensis,haffligeniensis consido culpo stillicidium tenax ait notarius bellus. Claudeo subsequor iucunditas creptio improvidus infectus pestifere vulturvolturvulturiusvolturius textortextrix moneo iusiuris sacculus lascivio obstinatus alteralteraalterum compositus.'

Generate a paragraph

>>> LoremIpsum.paragraph()
'Suffragium decimus sui lesciense,monasteryof superfluo dissimulo peragro quapropter ultra arbitroarbitror occidooccidioccasum promulgatio desparatus in pollicitus elementum. praeponoprepono comiter expugno inveteratus superbia efficio nimis lacero habeohabuihabitum pupula speculum hortusortus templovium repens labo deorsum erepo labellum. infindoinfidiinfissum utorutiusus exigo interrogatio te queritor requiro labrusca infligoinflixiinflictum adulatio aro obstinatus iudico etsi saturo altus humilis adfero malepeiuspessime proprie sic quare iumentum ponspontis. prenda apparatus relinquo satura munusmuneris ego textus teres curtus pretium incito cupiditas sufficio canto illudoillusiillusum sano didicerat. canonicus plector legatarius expletio dito falsus cicuta quanti exigo provisor cras inquis cunae immunda commodo labefacto importo largior comminor praevenio,prevenio coepipresincipio nisi infit pestifere. intendo exesto pluitpluvit comprobo verbum salvus infrainferiusinfimus illis amiculum infeliciter furtim perniciosus impendium aliquando iusiurandumiurisiurandietc pluma hoienses priores,um adficio brevis censura. quem utorutiusus everto evito gravis repletus patefacio civis timidus novem prorsus umquam vel prosperitas cunae comprovincialis princeps nisi temeritas doleo.'

Generate n paragraphs

>>> LoremIpsum.paragraphs(3)
'Quadruplator quiesquietis viriliter stipes aliquando angustus facilis penus,us proluoproluprolutum excuso asporto nuntio vomica lacrimo furtificus coniecto obsequium. Navisnavis neco lacto impleo reliquum mendosus admiror despecto castellandum creta servio absconditus pulex pictoratus epulo summissusfromsummitto defigo. Civitas infirmo siquidem cerno arguo non lamnialamminalamna eloquens proloquor ergo cruentus tardus pertingo cibus facunditas centum niveus gandavum effectus resumoresumpsi,resumptum postea.\n\nCurtus extremus tubineus ferrum ingravesco provectus nescio aliialii claudoclausus praequam/prequam expelloexpuliexpulsum moleste concupisco aestivusestivus praetereopretereo obvius quaesoqueso quasso illa ritus infinitus puteus. Pessimus postulo spolium ageragri praecedoprecedo turpis nihilum amissio/amissus arcus quamplures adduco temptatio perfero assentator umquam cena corbeiam carmen corturiacum. Asper instituo erogo reliquum seditio supersum fugio unus pius proximus navisnavis perimoperemiperemptum anser sto,steti,statum hos. Siquidem si vulgivagus obligatus iocoiocor suadeo cruxcrucis arguo membrana subvenio puto antepono leno exsto perniciosus ianua textilis sanctimonia insolita statua quamplures succurro dulcedo. Morior pevela promutuus factum furtumtheft,robbery/furta ploro vultus incorruptus reddo acidus exitiabilisexitialisexitosus frugalitas angulus perduco precipio bardus necdumnequedum purgo devoveo specus ademptio articulus. Stabulaus talus praesto horum pecco medicus cunae phitonicum querulus sacrificum spes compater iratus voro queribundus asvesniis solsolis creatura.\n\nAtqui inflectoinflexiinflectum insania mitesco oro horum infitialis filius pulchritudopulchritudinis rememdium queribundus recordatio muto anser canto exturbo licet efficio opportunus priorprius digrediordigredidigressus thymum devito. Profero matermatris illarum promulgatio volosibivelle persisto illud lenimentus matera,mairia populus eatenus sub pulchellus repens persolvo contingo blesense impleo jugiter exerceo inferus creber utilis exponoexposuiexpositum. Luctus contego nonnullus nivellensem miror innotesco nequam peto illaturos longe prevenire repetitio mandatum supero cunctus subito quatenus/quatinus. Commoneo inveteratus perspicuus iudicium ruoruirutum comperte medius prenda reus argumentum de expers defigo demonstro subjunctive arbitroarbitror depulso sanctusrodoenus reperio iucunditas acquiro frater super.'

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

pylorem-1.2.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

pylorem-1.2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file pylorem-1.2.tar.gz.

File metadata

  • Download URL: pylorem-1.2.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

File hashes

Hashes for pylorem-1.2.tar.gz
Algorithm Hash digest
SHA256 a2a3fff749d2e1874379102ed8961eefac1d726f2cd1704da388fa6a0aeb93e7
MD5 6fe2090d2aafa18b85d32ec1c7f0d1c5
BLAKE2b-256 384664698707b710ceccc6b0f54fe69b88bf0c555c641cbf51fdb0ee8ca2c5a6

See more details on using hashes here.

File details

Details for the file pylorem-1.2-py3-none-any.whl.

File metadata

  • Download URL: pylorem-1.2-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

File hashes

Hashes for pylorem-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 021a90e1a20fb7a1d4aa8f4c244d51b0348f8fee74b35f756b7871a68da40d66
MD5 ba6f350dff6fdf2f8820baf11f94fb5b
BLAKE2b-256 674d90f5631847467a1d39e96271534379de8221ff79bcaa85203242524c9b23

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