Let text fit the screen
Project description
perfect-banner
Your python project might have a cool looking ascii art banner. But did you thought, that some users may have a terminal open which has a character width that is smaller than the one of the art.
Perhaps you want create multiple banners with different sizes so users with a smaller terminal can take a look at your wonderful
____
| _ \
| |_) | __ _ _ __ _ __ ___ _ __
| _ < / _` | '_ \| '_ \ / _ \ '__|
| |_) | (_| | | | | | | | __/ |
|____/ \__,_|_| |_|_| |_|\___|_|
Installation
pip install perfect-banner
Example Usage
import banner
import art
def get_banners():
for font in art.FONT_NAMES:
yield art.text2art("python", font)
choice = banner.choose(*get_banners())
print(choice)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for perfect_banner-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09632ba26f36c3d9c965a91c7263b6394e3df5fd5c2eb69143cf452e9eda4376 |
|
MD5 | fee0bf20cba808626bb3d9f343604619 |
|
BLAKE2b-256 | d01d7df78a0c28b6161441f84c613513cdd45db0677ff2fffcc214251dfda15c |