Easy printing titles
Project description
pytitler
Python package that allows you to easily make pretty title for your python program
Developed by Flowseal (c) 2022
How To Use
Installing
pip3 install pytitler
Code example
from pytitler import pytitler
from pytitler.pytitler import TitleFill, TitleColors
banner = pytitler.align_titles("My first calculator!", center_x=True, center_y=True)
pytitler.print_title(banner, (TitleColors.BLURPLE, (255, 255, 255)), TitleFill.HORIZONTAL)
Gradient types
Static: color a text with a static color
Vertical: fade a text vertically
Horizontal: fade a text horizontally
Diagonal: fade a text diagonally
DiagonalBackwards: fade a text diagonally but backwards
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
pytitler-1.0.1.tar.gz
(3.7 kB
view details)
File details
Details for the file pytitler-1.0.1.tar.gz.
File metadata
- Download URL: pytitler-1.0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2235bd5f3a7bb0901ff36196f1770e91326c7da8f2ed794093aa7fa9d26f5e5c
|
|
| MD5 |
29df37ee4f6362e7a8af29203688c2e4
|
|
| BLAKE2b-256 |
dca043a71853a5d80c217eda1d213447bff49f86f7d582fe7b01fa2db69cf24d
|