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.4.tar.gz
(4.9 kB
view details)
File details
Details for the file SpendScheme-0.4.tar.gz
.
File metadata
- Download URL: SpendScheme-0.4.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f3dd749d37758947fe7192c819b3ebe3e7b094268c4c0c7ef9047f8e285d8c |
|
MD5 | 573e0849c8e8bf6d8b4de177cf59491e |
|
BLAKE2b-256 | 5940da173b3190e0bdaecb1b41027dd0c30606927d052889092586d13dc14125 |