FlavorTexts-0.1.0
توضیحات
A pure-python recreation of Zack Freedman's FlavorText Arduino IDE Library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | FlavorTexts-0.1.0 |
| نام | FlavorTexts |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | A-c0rN |
| ایمیل نویسنده | acrn@gwes-eas.network |
| آدرس صفحه اصلی | https://github.com/A-c0rN/FlavorTexts |
| آدرس اینترنتی | https://pypi.org/project/FlavorTexts/ |
| مجوز | ODbL-1.0 |
    
You can't spell FlavorText without Vortex.
## Features
> - [x] Fast generation
> - [x] Buffered print library
> - [x] Clearscreen funtion
> - [x] Absolute Insanity
> - [x] 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:
[Install Python](https://www.python.org/downloads/)
In CMD:
```
python -m pip install FlavorTexts
```
## Usage
To confuse yourself:
```python
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...
نیازمندی
| مقدار | نام |
|---|---|
| - | FlavorTexts |
نحوه نصب
نصب پکیج whl FlavorTexts-0.1.0:
pip install FlavorTexts-0.1.0.whl
نصب پکیج tar.gz FlavorTexts-0.1.0:
pip install FlavorTexts-0.1.0.tar.gz