https://github.com/smartlegionlab/smarttextdecorator
Smart text decorator.
https://github.com/smartlegionlab/smarttextdecorator
cli-app pypi-package pypi-packages python-lib python3 smartlegionlab text-decoration
Last synced: 3 months ago
JSON representation
Smart text decorator.
- Host: GitHub
- URL: https://github.com/smartlegionlab/smarttextdecorator
- Owner: smartlegionlab
- License: bsd-3-clause
- Created: 2024-06-30T07:25:56.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-12T23:49:55.000Z (4 months ago)
- Last Synced: 2025-07-14T09:22:50.440Z (3 months ago)
- Topics: cli-app, pypi-package, pypi-packages, python-lib, python3, smartlegionlab, text-decoration
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Smart Text Decorator v0.1.3
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: ___A.A. Suvorov___
***
[](https://pepy.tech/projects/smarttextdecorator)

[](https://pypi.org/project/smarttextdecorator/)
[](https://github.com/smartlegionlab/smarttextdecorator/)
[](https://github.com/smartlegionlab/smarttextdecorator/blob/master/LICENSE)
[](https://pypi.org/project/smarttextdecorator)
[](https://pypi.org/project/smarttextdecorator)
[](https://github.com/smartlegionlab/smarttextdecorator/)
[](https://github.com/smartlegionlab/smarttextdecorator/)
[](https://github.com/smartlegionlab/smarttextdecorator/)***
## What's new:
__smarttextdecorator__ v0.1.3
> WARNING! Not backward compatible with older versions.
- Fix errors.
- Code refactoring.***
## Help:
- `pip install smarttextdecorator`
```python
from smarttextdecorator import SmartPrinterSmartPrinter.print_framed(symbol='-')
SmartPrinter.print_center(text='Smart Legion Lab')```
### Exemple:
```python
from smarttextdecorator import SmartPrinterdef 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, A.A. Suvorov. All rights reserved.')if __name__ == '__main__':
main()```

***
## Disclaimer of liability:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.***
## Copyright:
--------------------------------------------------------
Licensed under the terms of the BSD 3-Clause License
(see LICENSE for details).
Copyright © 2024, A.A. Suvorov
All rights reserved.
--------------------------------------------------------