Lorem ipsum generator.
In publishing and graphic design, lorem ipsum is a placeholder text commonly
used to demonstrate the visual form of a document or a typeface without
relying on meaningful content.
The `lorem` module provides a generic access to generating the lorem ipsum text
from its very original text:
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
> tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
> veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
> commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit
> esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
> cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
> est laborum.
Usage of the `lorem` module is rather simple. Depending on your needs, the
`lorem` module provides generation of **word**s, **sentence**s, and
**paragraph**s.
Get Random Words
----------------
The `lorem` module provides two different ways for getting random words.
1. `word` -- generate a list of random words
```python
word(count=1, func=None, args=[], kwargs={}) -> Iterable[str]
```
2. `get_word` -- return random words
```python
get_word(count=1, sep=' ', func=None, args=[], kwargs={}) -> str
```
Get Random Sentences
--------------------
The `lorem` module provides two different ways for getting random sentences.
1. `sentence` -- generate a list of random sentences
```python
sentence(count=1, comma=(0, 2), word_range=(4, 8)) -> Iterable[str]
```
2. `get_sentence` -- return random sentences
```python
get_sentence(count=1, comma=(0, 2), word_range=(4, 8), sep=' ') -> Union[str]
```
Get Random Paragraphs
---------------------
The `lorem` module provides two different ways for getting random paragraphs.
1. `paragraph` -- generate a list of random paragraphs
```python
paragraph(count=1, comma=(0, 2), word_range=(4, 8), sentence_range=(5, 10)) -> Iterable[str]
```
2. `get_paragraph` -- return random paragraphs
```python
get_paragraph(count=1, comma=(0, 2), word_range=(4, 8), sentence_range=(5, 10), sep=os.linesep) -> Union[str]
```
Raw data
{
"_id": null,
"home_page": null,
"name": "python-lorem",
"maintainer": "Jarry Shaw",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": null,
"keywords": "lorem, loremipsum",
"author": null,
"author_email": "Jarry Shaw <jarryshaw@icloud.com>",
"download_url": "https://files.pythonhosted.org/packages/a5/ff/da026761ffdd68f5c9415ff54c4adaefaa409c422b41d18ed8fa6a59bff5/python_lorem-1.3.0.post3.tar.gz",
"platform": null,
"description": "Lorem ipsum generator.\n\nIn publishing and graphic design, lorem ipsum is a placeholder text commonly\nused to demonstrate the visual form of a document or a typeface without\nrelying on meaningful content.\n\nThe `lorem` module provides a generic access to generating the lorem ipsum text\nfrom its very original text:\n\n> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod\n> tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim\n> veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea\n> commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit\n> esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat\n> cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id\n> est laborum.\n\nUsage of the `lorem` module is rather simple. Depending on your needs, the\n`lorem` module provides generation of **word**s, **sentence**s, and\n**paragraph**s.\n\nGet Random Words\n----------------\n\nThe `lorem` module provides two different ways for getting random words.\n\n1. `word` -- generate a list of random words\n\n ```python\n word(count=1, func=None, args=[], kwargs={}) -> Iterable[str]\n ```\n\n2. `get_word` -- return random words\n\n ```python\n get_word(count=1, sep=' ', func=None, args=[], kwargs={}) -> str\n ```\n\nGet Random Sentences\n--------------------\n\nThe `lorem` module provides two different ways for getting random sentences.\n\n1. `sentence` -- generate a list of random sentences\n\n ```python\n sentence(count=1, comma=(0, 2), word_range=(4, 8)) -> Iterable[str]\n ```\n\n2. `get_sentence` -- return random sentences\n\n ```python\n get_sentence(count=1, comma=(0, 2), word_range=(4, 8), sep=' ') -> Union[str]\n ```\n\nGet Random Paragraphs\n---------------------\n\nThe `lorem` module provides two different ways for getting random paragraphs.\n\n1. `paragraph` -- generate a list of random paragraphs\n\n ```python\n paragraph(count=1, comma=(0, 2), word_range=(4, 8), sentence_range=(5, 10)) -> Iterable[str]\n ```\n\n2. `get_paragraph` -- return random paragraphs\n\n ```python\n get_paragraph(count=1, comma=(0, 2), word_range=(4, 8), sentence_range=(5, 10), sep=os.linesep) -> Union[str]\n ```\n\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License",
"summary": "Lorem ipsum generator.",
"version": "1.3.0.post3",
"project_urls": {
"changelog": "https://github.com/JarryShaw/lorem/releases",
"documentation": "https://jarryshaw.github.io/lorem/",
"homepage": "https://jarryshaw.github.io/lorem/",
"repository": "https://github.com/JarryShaw/lorem"
},
"split_keywords": [
"lorem",
" loremipsum"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f71aab005d62e61fde44486fbe36e844469bd69f4d278bfd6cfe15f151067253",
"md5": "da90d77ec60c7cb890619afbb8cafc71",
"sha256": "e88a460eebf2d7e7a58f2d65c4c300a57762f9a74d5637764b9c44a01c8825db"
},
"downloads": -1,
"filename": "python_lorem-1.3.0.post3-cp310-none-any.whl",
"has_sig": false,
"md5_digest": "da90d77ec60c7cb890619afbb8cafc71",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.5",
"size": 9111,
"upload_time": "2024-06-26T03:28:49",
"upload_time_iso_8601": "2024-06-26T03:28:49.945263Z",
"url": "https://files.pythonhosted.org/packages/f7/1a/ab005d62e61fde44486fbe36e844469bd69f4d278bfd6cfe15f151067253/python_lorem-1.3.0.post3-cp310-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7417fbfcf6c240a7e269380eda259c01c62ac367f5c7c2a34e07cad05a51ef16",
"md5": "29b7d58963d75a5dd52fbcf0945d9207",
"sha256": "c6bf3b89374ab7d231cec4b7855dc86fb7877bb52019394b97a34e71c597e639"
},
"downloads": -1,
"filename": "python_lorem-1.3.0.post3-cp311-none-any.whl",
"has_sig": false,
"md5_digest": "29b7d58963d75a5dd52fbcf0945d9207",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.5",
"size": 9111,
"upload_time": "2024-06-26T03:28:51",
"upload_time_iso_8601": "2024-06-26T03:28:51.893466Z",
"url": "https://files.pythonhosted.org/packages/74/17/fbfcf6c240a7e269380eda259c01c62ac367f5c7c2a34e07cad05a51ef16/python_lorem-1.3.0.post3-cp311-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b410e1533d7aa598cdf73772929ea7e1ef3d62af2260c88b616862b2b2dac974",
"md5": "74e8d2abd114c1a88e259fbb85a8e8e8",
"sha256": "6df337cc3c5fe2869f328df669164ce3633cf5347d6a7b92c86a96ac4295b30d"
},
"downloads": -1,
"filename": "python_lorem-1.3.0.post3-cp312-none-any.whl",
"has_sig": false,
"md5_digest": "74e8d2abd114c1a88e259fbb85a8e8e8",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.5",
"size": 9111,
"upload_time": "2024-06-26T03:28:55",
"upload_time_iso_8601": "2024-06-26T03:28:55.192359Z",
"url": "https://files.pythonhosted.org/packages/b4/10/e1533d7aa598cdf73772929ea7e1ef3d62af2260c88b616862b2b2dac974/python_lorem-1.3.0.post3-cp312-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0fa078c7dbd9e85318e7f5831c1fdc567e2d9187e0c832e0bbf49ee6c1f250d0",
"md5": "507a698c1aff0095b62a9b8dccd961c6",
"sha256": "ad77fd80be2fe5cb75d4178e2a7b70f50bb0894744a341cf52f1dabe30f7e2dd"
},
"downloads": -1,
"filename": "python_lorem-1.3.0.post3-cp38-none-any.whl",
"has_sig": false,
"md5_digest": "507a698c1aff0095b62a9b8dccd961c6",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.5",
"size": 9111,
"upload_time": "2024-06-26T03:28:55",
"upload_time_iso_8601": "2024-06-26T03:28:55.054919Z",
"url": "https://files.pythonhosted.org/packages/0f/a0/78c7dbd9e85318e7f5831c1fdc567e2d9187e0c832e0bbf49ee6c1f250d0/python_lorem-1.3.0.post3-cp38-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "68a8a9cb88ffda1671a4107c0e611cade55d91ba44a636f3b09dc1139059acb6",
"md5": "cc8e7cc8848f0d928fa7d4612ff29d27",
"sha256": "56aad2ba13254c1ed0c7ef9a55bbd3f748c5c9e15444c270d3ab73e35c789aab"
},
"downloads": -1,
"filename": "python_lorem-1.3.0.post3-cp39-none-any.whl",
"has_sig": false,
"md5_digest": "cc8e7cc8848f0d928fa7d4612ff29d27",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.5",
"size": 9111,
"upload_time": "2024-06-26T03:29:02",
"upload_time_iso_8601": "2024-06-26T03:29:02.603662Z",
"url": "https://files.pythonhosted.org/packages/68/a8/a9cb88ffda1671a4107c0e611cade55d91ba44a636f3b09dc1139059acb6/python_lorem-1.3.0.post3-cp39-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6c905cd010634bbb29c955cb8b47e7606e902231d462d6aeed9c925284fa44b7",
"md5": "31223c1ec2417a815057c3409d7cac37",
"sha256": "540010ab12cefc40b2c2bb390b2b65f50efe1097d93ab335228cfb11165f0c8d"
},
"downloads": -1,
"filename": "python_lorem-1.3.0.post3-pp310-none-any.whl",
"has_sig": false,
"md5_digest": "31223c1ec2417a815057c3409d7cac37",
"packagetype": "bdist_wheel",
"python_version": "pp310",
"requires_python": ">=3.5",
"size": 9111,
"upload_time": "2024-06-26T03:29:04",
"upload_time_iso_8601": "2024-06-26T03:29:04.921682Z",
"url": "https://files.pythonhosted.org/packages/6c/90/5cd010634bbb29c955cb8b47e7606e902231d462d6aeed9c925284fa44b7/python_lorem-1.3.0.post3-pp310-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fbccbf1add9655915d0317886070f192298d71697f525e3c78cb65904ab09d0e",
"md5": "88ae11a447e7baf14a961a1fc343f243",
"sha256": "1b075c670a18df137109c9d23e8f769aaa5c1b889aef4f95dd712f5f8476872d"
},
"downloads": -1,
"filename": "python_lorem-1.3.0.post3-pp38-none-any.whl",
"has_sig": false,
"md5_digest": "88ae11a447e7baf14a961a1fc343f243",
"packagetype": "bdist_wheel",
"python_version": "pp38",
"requires_python": ">=3.5",
"size": 9111,
"upload_time": "2024-06-26T03:29:02",
"upload_time_iso_8601": "2024-06-26T03:29:02.896743Z",
"url": "https://files.pythonhosted.org/packages/fb/cc/bf1add9655915d0317886070f192298d71697f525e3c78cb65904ab09d0e/python_lorem-1.3.0.post3-pp38-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7998666d4efefe1a64cf63b8448a10752ad236f61827726428afbe18aa35b59f",
"md5": "667b85f718b442ec67e698f8323fc0c3",
"sha256": "97b3f62c8d8b94ea444c06397b8f59205151751327f6413ed380451b0e743867"
},
"downloads": -1,
"filename": "python_lorem-1.3.0.post3-pp39-none-any.whl",
"has_sig": false,
"md5_digest": "667b85f718b442ec67e698f8323fc0c3",
"packagetype": "bdist_wheel",
"python_version": "pp39",
"requires_python": ">=3.5",
"size": 9111,
"upload_time": "2024-06-26T03:29:04",
"upload_time_iso_8601": "2024-06-26T03:29:04.977920Z",
"url": "https://files.pythonhosted.org/packages/79/98/666d4efefe1a64cf63b8448a10752ad236f61827726428afbe18aa35b59f/python_lorem-1.3.0.post3-pp39-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a5ffda026761ffdd68f5c9415ff54c4adaefaa409c422b41d18ed8fa6a59bff5",
"md5": "84d4e607d5efee00254d904fde6fee68",
"sha256": "570d532a179783e024864b2799651f748a3e26ded7ee6d694b67f429f7bca6fd"
},
"downloads": -1,
"filename": "python_lorem-1.3.0.post3.tar.gz",
"has_sig": false,
"md5_digest": "84d4e607d5efee00254d904fde6fee68",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 11664,
"upload_time": "2024-06-26T03:28:57",
"upload_time_iso_8601": "2024-06-26T03:28:57.137662Z",
"url": "https://files.pythonhosted.org/packages/a5/ff/da026761ffdd68f5c9415ff54c4adaefaa409c422b41d18ed8fa6a59bff5/python_lorem-1.3.0.post3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-26 03:28:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "JarryShaw",
"github_project": "lorem",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "python-lorem"
}