π·πΊ Π ΡΡΡΠΊΠ°Ρ Π²Π΅ΡΡΠΈΡ
π οΈ A versatile Python package offering a set of utilities to enhance productivity and automate tasks. From creating large text displays to integrating with GPT for natural language processing, Sppq simplifies various operations through a simple Python interface.
pip install sppq
pip install git+https://github.com/Sppqq/sppq.git@main
To update to the latest version:
pip install -U git+https://github.com/Sppqq/sppq.git@main
- Download the package
- Unzip the package
- Open the package folder in the console
- Install using pip with the .whl file:
pip install dist/sppq-**VERSION**-py3-none-any.whl
βΉοΈ Replace
**VERSION**
with the actual version number of Sppq you downloaded.
After installing the Sppq package, you can import it into your Python code to access its functions:
from sppq import *
Sppq provides the following powerful functions:
bigtext(text)
: β¨ Uses ASCII text for outputcl()
: π§Ή Clears the consoleprintt(text, speed)
: β¨οΈ Slow printing to console
retell(url)
: π Summarizes or retells content from a given URLask_gpt(prompt)
: π€ Interacts with GPT for responses
percent(one, two)
: π― Calculates percentage between numberspbar()
: π Initializes a progress barpbarupdate(pb)
: π Updates the progress barcolor2rgb('color')
: π¨ Converts color to RGB
send_webhook(...)
: π‘ Sends messages through Discord webhooksend_webhook( webhook_url, # Discord webhook URL description, # Message description embed, # Embed content file, # File attachment title, # Message title color, # Embed color author_name, # Author name author_url, # Author URL author_icon_url, # Author icon footer_text, # Footer text footer_icon_url, # Footer icon thumbnail_url, # Thumbnail username, # Bot username avatar_url, # Bot avatar content # Message content )
Here are some examples to get you started with Sppq:
from sppq import *
print(bigtext('Hello world!'))
from sppq import *
printt('Hello world!')
from sppq import *
print(ask_gpt('How are you?'))
from sppq import *
import time
pb = pbar(100)
for i in range(100):
pbarupdate(pb)
time.sleep(1)
from sppq import *
printt(color2rgb('red'))
from sppq import *
printt(text=send_webhook('https://discord.com/api/webhooks/...'))