🛠️ 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/...'))