flavortext.py
I shamelessly yoinked this from ZachFreedman's Singularitron project, and rewrote it in Python.
sue me.
I tried to put this on PyPI but it was super weird about it, so nevermind.
How to use:
import the module:
from flavortext import flavortext
flavoricious can take 6 arguments:
yourConstrVerbs: A list, verbs that are constructive such as 'Building' or 'Assembling'.
yourDestrVerbs: A list, verbs that are destructive such as 'Destroying' or 'Breaking'.
Note for both of these args: Make sure to remove any sort of ending like 'ing' from the words you provide.
yourNouns: A list of... nouns. Seems pretty obvious, actually.
length: An int, how many phrases should be generated. Defaults to 25.
delay: A float, the delay between phrases being printed in seconds. Defaults to 0.05.
Release files for flavortext 1.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 | |
|---|---|---|---|
| flavortext-1.1.0.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flavortext-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / flavortext-1.1.0.tar.gz
| Download URL | flavortext-1.1.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e346bdeea247b3de6f1df7225fb8fbad97da537be00cf729618784c25b6d6bcc
|
|
BLAKE2b-256 checksum How to use checksums |
ce5f9c24ad7c4946d1bf9e0be1add42ea6c8ff689d06e7007590606a89c17aec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / flavortext-1.1.0-py3-none-any.whl
| Download URL | flavortext-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1415aabcac81cb747ac4539d20230ca096f466556196b4e37e20d525a7bb8a31
|
|
BLAKE2b-256 checksum How to use checksums |
aed8c8dac4fb4a9256dcf3db86951bccb0081e2766ad66ee82da08ed1070b2c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|