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 details)
File details
Details for the file SpendScheme-0.3.tar.gz
.
File metadata
- Download URL: SpendScheme-0.3.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 744f669d0e92e6fa3a29bfe58d1b044dbf030e5ae82918a1dd337e7aa08c9574 |
|
MD5 | ea73a6213f40edb6d4341b0b36a526a6 |
|
BLAKE2b-256 | c15cc1b7b9d60655fcda8abb4e0b40ff06310dd2061e3792dbadc70e29f9ae45 |