A simple Python utility to display banners in the terminal
Project description
Simple Terminal Banner
** Simple Terminal Banner **************
* *
* Hello, World! *
* *
****************************************
Display a simple terminal banner.
Features
- Banner Title
- Themes
- Padding
- Margin
- Configurable border symbols
- Configurable background symbols
Example
from simple_terminal_banner import Banner
banner = Banner("Hello, World!")
banner.display()
Produces:
****************************************
* *
* Hello, World! *
* *
****************************************
Titles
banner.title = "Banner Example"
Produces:
** Banner Example **********************
* *
* Hello, World! *
* *
****************************************
Padding
Title Padding
banner.title_padding = 4
Produces:
** Banner Example ****************
* *
* Hello, World! *
* *
****************************************
Content Padding
banner.padding_top = 4
Produces:
** Banner Example ****************
* *
* *
* *
* *
* Hello, World! *
* *
****************************************
Configurable Symbols
Border Symbols
banner.border_symbol = "="
Produces:
== Banner Example ================
= =
= =
= =
= =
= Hello, World! =
= =
========================================
Background Symbols
banner.background_symbol = "."
Produces:
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
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