Skip to main content

A text banner for use in terminal applications.

Example

import terminal_banner
banner_text = "This is my banner text.\n\nThis is a second line of text."
my_banner = terminal_banner.Banner(banner_text)
print(my_banner)

Output:

******************************************...****
* This is my banner text.                       *
*                                               *
* This is a second line of text.                *
******************************************...****

Installation

To install the python package with pip:

pip install terminal_banner

For source:

git clone https://github.com/martincyoung/terminal_banner

License

MIT License

Copyright (c) 2017 Martin Craig Young

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Release files for terminal-banner 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for terminal-banner 0.2.0
File Size Uploaded
terminal_banner-0.2.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for terminal-banner 0.2.0
File Interpreter ABI Platform
terminal_banner-0.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 8.0 kB

Release files / terminal_banner-0.2.0.tar.gz

Download URL terminal_banner-0.2.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5e3ed470b45066f557cb8cccf2423bbdf0e01c90d696134c9564c2021e47e612
BLAKE2b-256 checksum
How to use checksums
0e0f850288372a9578d2883c33d79161320ad370443be3a25452a15bc4a6f127
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / terminal_banner-0.2.0-py2.py3-none-any.whl

Download URL terminal_banner-0.2.0-py2.py3-none-any.whl
Size 5.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e718b8ffb82a6adbf60620683be36e936c014403acabc539a80318dc9718c684
BLAKE2b-256 checksum
How to use checksums
dc85d8d7c194a05e3c3f4ff8cb11d7161682a6b0d6173a2f37b190b5888e57ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page