:space_invader: About
This code generates random text based on a string of Lorem Ipsum. It uses the random module to randomly select words from the string to build sentences and paragraphs. The generate_word function selects a single word from the string; generate_sentence builds a sentence by randomly selecting a number of words and adding a period at the end of the sentence. It may also insert commas based on the length of the sentence. generate_paragraph creates a paragraph by randomly selecting a number of sentences; generate_text creates a block of text by randomly selecting a number of paragraphs. The printed statements in the code test each of these functions to ensure that they work properly.
:runner: Usage
The code can be run in the terminal using the following command:
python lorem_generator.py
:raising_hand: Contribution
All contributions are welcome! Please open an issue or submit a pull request.
Metadata
Release files for lorem-aoponto 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lorem_aoponto-0.1.0.tar.gz | 2.1 kB | Without provenance | Details for lorem_aoponto-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lorem_aoponto-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for lorem_aoponto-0.1.0-py3-none-any.whl |
Total release size: 5.1 kB
Release files / lorem_aoponto-0.1.0.tar.gz
| Download URL | lorem_aoponto-0.1.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e81ce278f0d7344a1d9430bb70bc7a41565a17f60b61f35a3757bdb961d25eca
|
|
BLAKE2b-256 checksum How to use checksums |
6a4aa98b425b4a7cef32ac80926bcd253b7316131822bb91db71596f24e88214
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Windows/10
|
Release files / lorem_aoponto-0.1.0-py3-none-any.whl
| Download URL | lorem_aoponto-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f59bf4f55b76e52336279d5565eef99d58b0f37a0fc311ee617df7c86a6bd4b7
|
|
BLAKE2b-256 checksum How to use checksums |
f0471d5d7660d570e91c045df8a9d8e1d9edb2bd064532c5d250cf9342860375
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Windows/10
|
Security for lorem-aoponto 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.