Skip to main content

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

flavortext-1.1.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

flavortext-1.1.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

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