SpendScheme is a microframework for text formatting in Python 3
Project description
Convenient text formatting
This library is currently under development.
About
SpendScheme is a microframework for text formatting in Python 3
An optimized library that simplifies writing code and helps with the tasks provided.
Install SpendScheme
Installing from PyPi:
pip install SpendScheme
Installing from Git:
pip install git+https://github.com/Jupiter404E/SpendScheme
List of possible events
import SpendScheme
formatingText = SpendScheme.Formatting(text = "** Your text **")
Changing the color and type of text in your console:
import SpendScheme
## Color
print (
SpendScheme.Color.red,
"Red! ",
SpendScheme.Color.blue,
"Blue! ",
SpendScheme.Color.green,
"Green! ",
SpendScheme.Color.end
)
## Format type
print (
SpendScheme.Style.italic,
"Italic! "
)
Or you can do something like this:
import SpendScheme
formatingText = SpendScheme.Formatting(text = "** Your text **")
formatingText.lowerTranslit()
print (
formatingText.answer()
)
Making tables:
import SpendScheme
data = [
[
"Product", "Cost"
],
{
"Strawberry": "2$",
"Blueberry": "2,71$",
"Banana": "1,63$",
"Apple": "30¢",
"Limon": "2$",
}
]
tableCreate = SpendScheme.Table()
print (
tableCreate.createTable(data = data)
)
If a feature doesn't work, check if your console supports it.
Do you have any questions?
Сontact me. For help with SpendScheme.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SpendScheme-0.3.tar.gz
(4.4 kB
view hashes)