A python library for advanced text management
Project description
Text Advanced
- A library for advanced text management
- see the docs
Some Examples:
from text_advanced.printing import prints
from text_advanced import Color
prints("Yo guys what's up!", color=Color.Red())
from text_advanced import Color
# All colors of text_advanced
Color.Red()
Color.Black()
Color.Green()
Color.Yellow()
Color.Blue()
Color.White()
Color.Default()
CHANGELOG
Module Added
text_advanced.format
Classes Added:
class FormatStr(TypedDict):
[
{
'color': Color.Red(),
'value': 'Yo guys'
},
{
'style': Style.Bold(),
'value': 'wassup'
}
]
TerminalStrFormat(dicts: list[FormatStr])print_formatted()print_values()get_formatted() -> strget_values() -> str
TerminalDictFormat()print_formatted()print_values()get_formatted() -> strget_values() -> str
- One Example:
from text_advanced.format import TerminalStrFormat
formt = TerminalStrFormat(
"[bold]Yo[/bold] [red]wassup![/red]"
)
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
text_advanced-0.1.4.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file text_advanced-0.1.4.tar.gz.
File metadata
- Download URL: text_advanced-0.1.4.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a00cf277c6f79749637c87648167c4beac10ef1c37c109d76c0b8ec81432856
|
|
| MD5 |
fd45c315136775587c8361f013646847
|
|
| BLAKE2b-256 |
0650f4fc5bcd5d8732aa24b1da1c11d07c5d2559f6d8988abb304543ff06f973
|
File details
Details for the file text_advanced-0.1.4-py3-none-any.whl.
File metadata
- Download URL: text_advanced-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa545344a5604cc689af8e2b217a38f941d613ac533a4a92a6e52d19e7c693eb
|
|
| MD5 |
6e1394cf7f92a88eefe5bf33d3459fde
|
|
| BLAKE2b-256 |
35b8cb5cef94db1846ae64c7c586a3d6edb767e49e7c166a760a04b454449ec6
|