You cant spell flavortext without vortex
Project description
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.
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
Built Distribution
Hashes for flavortext-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1415aabcac81cb747ac4539d20230ca096f466556196b4e37e20d525a7bb8a31 |
|
MD5 | c52c50e37889ecd7ed0d8610cadb44ee |
|
BLAKE2b-256 | aed8c8dac4fb4a9256dcf3db86951bccb0081e2766ad66ee82da08ed1070b2c1 |