A cross-platform library for decorating strings and displaying them beautifully in the console. Generates and displays lines to the full width of the console with the specified text and a placeholder character. Generates and displays a line with the specified text, decorated at the top and bottom with filler characters along the length of the line. Use for beautiful design of console applications.
Project description
Smart Text Decorator v1.0.0
Smart text decorator. A library for decorating strings and displaying them beautifully in the console.
- Generates and displays lines to the full width of the console with the specified text and a placeholder character.
- Generates and displays a line with the specified text, decorated at the top and bottom with filler characters along the length of the line.
Use for beautiful design of console applications.
Author and developer: Alexander Suvorov
⚠️ Disclaimer
By using this software, you agree to the full disclaimer terms.
Summary: Software provided "AS IS" without warranty. You assume all risks.
Full legal disclaimer: See DISCLAIMER.md
Help
pip install smarttextdecorator
from smarttextdecorator import SmartPrinter
SmartPrinter.print_framed(symbol='-')
SmartPrinter.print_center(text='Smart Legion Lab')
Example
from smarttextdecorator import SmartPrinter
def main():
SmartPrinter.show_head(text='Smart Legion Lab')
print()
SmartPrinter.print_framed(text='Hello World!!!')
print()
SmartPrinter.show_footer(url='https://github.com/smartlegionlab/', copyright_='Copyright © 2024, Alexander Suvorov. All rights reserved.')
if __name__ == '__main__':
main()
License
Copyright (©) 2026, Alexander Suvorov
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 smarttextdecorator-1.0.0.tar.gz.
File metadata
- Download URL: smarttextdecorator-1.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1e26ae4c6800eee79bde484dff5edce75ce042d1a01312bf0d2aa7f6bc9d5b6
|
|
| MD5 |
5d1112b251f2dd45aacdb26a86ad3578
|
|
| BLAKE2b-256 |
d3a27ce877952f802546ac088f23da97349b22741526ca0c92f1b300959aeb2d
|
File details
Details for the file smarttextdecorator-1.0.0-py3-none-any.whl.
File metadata
- Download URL: smarttextdecorator-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10e36011ee6f57359d907771159c9e9fb87a2a3f252556f4e1145e7de35a76b6
|
|
| MD5 |
e59d951f506384318ef460189a15bd01
|
|
| BLAKE2b-256 |
30b41b37d04723a05e96966af28f6e054fcec1dee0ceff44af6a1d535e69b6be
|