You can't spell FlavorText without Vortex.
Features
- Fast generation
- Buffered print library
- Clearscreen funtion
- Absolute Insanity
- Patreon Specific flag included!
Installation
This package should be installable through Pip.
On a Debian Based Linux OS:
sudo apt update
sudo apt install python3 python3-pip
pip3 install FlavorTexts
On Windows:
In CMD:
python -m pip install FlavorTexts
Usage
To confuse yourself:
from FlavorTexts import FlavorTexts
from FlavorTexts import BufferedText
from time import sleep
try:
## Define a FlavorText Generator
generator= FlavorTexts(patreon=False)
while True:
## Generate a random True/False
constructive = bool(generator._random(1))
## Generate a random text string with a random Constructive/Destructive flag.
textList = generator.generateText(constructive=constructive)
## Write the random text to the buffered text manager, and print a newline
BufferedText.bufferedWrite(textList)
print()
## Sleep for 1/2 second
sleep(0.5)
## Exit smoothly on a CTRL+C
except KeyboardInterrupt:
exit(0)
I am so sorry...
Release files for FlavorTexts 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 | |
|---|---|---|---|
| FlavorTexts-0.1.0.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| FlavorTexts-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 26.6 kB
Release files / FlavorTexts-0.1.0.tar.gz
| Download URL | FlavorTexts-0.1.0.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
172cb15ca6cfcfa178d6455276855efb90d23a6a376a6395fb7f23a898e59daa
|
|
BLAKE2b-256 checksum How to use checksums |
40520a2ae1d0c81626f12537cd4c190e486d37006bdf02fa9eb9265928f50495
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.9.7
|
Release files / FlavorTexts-0.1.0-py2.py3-none-any.whl
| Download URL | FlavorTexts-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5c9247c539bb50a3ff35dfe424e1046999fcd8a9383869b8ad476f80df2fc6eb
|
|
BLAKE2b-256 checksum How to use checksums |
e4578ec3c8f657960a992edba1479d3774cc8c5f14cafddf9243a3d372dbc15d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.9.7
|